Screen capture method and related device

By detecting multi-touch operations and determining the location of touch points, directly capturing the target window content in a multi-window environment, the problem of cumbersome screenshot process in the existing technology is solved, and fast and flexible screenshot operations are achieved.

JP7670446B2Active Publication Date: 2025-04-30HUAWEI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2023191427
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-09-06
Filing Date
2023-11-09
Publication Date
2025-04-30
Estimated Expiration
2040-09-02

Smart Images

  • Figure 0007670446000001
    Figure 0007670446000001
  • Figure 0007670446000002
    Figure 0007670446000002
  • Figure 0007670446000003
    Figure 0007670446000003
Patent Text Reader

Abstract

To provide a screen taking-in method and a device.SOLUTION: A screen taking-in method comprises steps of: determining a first touch control operation where a plurality of touch control points moves within a first screen including N split screens a distance that is greater than or equal to a first preset distance threshold; determining whether all of start positions of the plurality of touch control points when moving through the first touch control operation are located within a target split screen that is any one of the N split screens of the first screen; and taking-in, when all of the start positions of the plurality of touch control points upon moving are located within the target split screen within the first screen, target split screen display content as a screenshot.SELECTED DRAWING: Figure 5A
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] [CROSS-REFERENCE TO RELATED APPLICATIONS] This application claims priority to Chinese Patent Application No. 201910846710.9, entitled "Screen Capture Method and Related Device," filed with the State Intellectual Property Administration of China on September 6, 2019, the contents of which are incorporated herein by reference in their entirety.

[0002] [Technical field] This application relates to the field of electronic device technology, and in particular to screen capture methods and related devices. [Background technology]

[0003] As the network environment becomes more and more mature, user equipment provides more and more diversified functions. The screen capture function of electronic devices is used more and more frequently in daily life. During screen capture, a user can take a screenshot of the display content on the entire screen of a terminal by performing an operation such as touch control using a finger knuckle or by pressing a combination of keys. Meanwhile, as the usage scenario of using multiple windows and multiple tasks on an electronic device becomes more frequent in a user's daily life, the capture and sharing of the screen content of a single window among the multiple windows and all the screen contents among the multiple windows also gradually becomes a very frequent task in daily life. However, most of the existing screen capture operations are operations of taking a screenshot of the entire display of a terminal device. In the case of multiple split screen windows of an existing display, or two display windows of a dual screen or foldable screen device, when capturing one window individually, the user must first capture the entire display, then manually remove the information displayed on the other screen in the screen capture picture by using picture editing software, and finally obtain a screenshot of one screen. This process is tedious and complicated, which reduces the efficiency of screen capture. In addition, the need to use picture editing software also reduces the flexibility of screen capture.

[0004] Therefore, how to enable users to capture windows more conveniently when multiple windows exist has become a problem that needs to be urgently solved. Summary of the Invention

[0005] In view of the above problems, this application is proposed to provide a screen capture method and related device to overcome or at least partially solve the above problems.

[0006] According to a first aspect, an embodiment of the present application provides a screen capture method, the screen capture method comprising: determining a first touch control operation, the first touch control operation being a movement operation, in which a plurality of touch control points move in a first screen a distance equal to or greater than a first preset distance threshold, the first screen including N split screens, N being a positive integer greater than 1; determining whether all of the start positions of the plurality of touch control points during the movement by the first touch control operation are located within a target split screen in the first screen, the target split screen being any one of the N split screens; and capturing a currently displayed content of the target split screen as a first screenshot when all of the starting positions of the plurality of touch control points during the movement are located within the target split screen in the first screen.

[0007] By using the method provided by the first aspect, in this embodiment of the application, a first touch control operation may be determined from a plurality of received touch control operations, and it may be determined whether all of the starting positions of the plurality of touch control points during the movement by the first touch control operation are located in the target split screen in the first screen. If located in the target split screen, the current display content of the target split screen is captured as a first screenshot. Therefore, the method can directly capture a screenshot of a single screen from a plurality of windows after determining that all of the starting positions of the plurality of touch control points are in the same screen. This can achieve the purpose of flexibly and quickly capturing screenshots of the target split screen area, so that the user can capture screenshots in a relatively short time. In addition, there is no need to locate the screen capture picture in picture editing software and manually remove the display information of other split screens in the screen capture picture, thereby simplifying the screenshot taking operation for the user.

[0008] In one possible implementation, the first screenshot is a thumbnail, and if all of the starting positions of the multiple touch control points during the movement are located in the target split screen in the first screen, the method further includes the steps of capturing the currently displayed content of the N split screens in the first screen as a corresponding screenshot, and generating a second screenshot, the second screenshot including the screenshots corresponding to the N split screens, the screenshots being arranged in the second screenshot such that the corresponding split screens are distributed in the first screen, and each of the screenshots corresponding to the N split screens is a thumbnail enabled to receive a touch control operation. In this embodiment of the application, the electronic device first determines whether all of the starting positions of the multiple touch control points during the movement by the first touch control operation are located in the target split screen in the first screen. When located in the target split screen, not only need to capture the current display content of the target split screen as the first screenshot, but also need to capture the current display content of the N split screens in the first screen as the corresponding screenshot, and then generate the second screenshot. It should be noted that each of the screenshots corresponding to the N split screens in the second screenshot may independently receive the touch control operation. In other words, the screenshots included in the second screenshot and corresponding to the N split screens exist independently of each other and are not connected to each other. In addition, the distribution manner of the screenshots corresponding to those N split screens is the same as the distribution manner of the corresponding split screens in the first screen. For example, the first screen includes a first split screen and a second split screen.After receiving a user's first touch control operation on the first split screen, take a screenshot of the first split screen to obtain a corresponding first screenshot. Then, take a screenshot of the first split screen and a screenshot of the second split screen separately, and generate a corresponding second screenshot. Both the first screenshot and the second screenshot are thumbnails and float above the first screen. In summary, after taking a screenshot of the target split screen, take screenshots of all the split screens to prevent the electronic device from misjudging the user's operation intention and misjudging the target split screen caused by the user's misoperation, thereby improving the accuracy of screenshot taking and the user experience when screenshot taking.

[0009] In one possible implementation, the first screenshot is a thumbnail, and the method further includes the steps of receiving a screen capture operation performed by using a knuckle or a screen capture operation performed by pressing a key combination, capturing all currently displayed contents of the split screens in the first screen as a corresponding screenshot based on an indication of the screen capture operation performed by using a knuckle or an indication of the screen capture operation performed by pressing a key combination, and generating a second screenshot, the second screenshot including screenshots corresponding to the N split screens, the screenshots being arranged in the second screenshot such that the corresponding split screens are distributed in the first screen, and each of the screenshots corresponding to the N split screens is a thumbnail enabled to receive a touch control operation. In this embodiment of the application, the second screenshot generated in this embodiment of the application includes thumbnails of screenshots corresponding to the split screens. The thumbnails of the screenshots corresponding to the multiple split screens are independent of each other, and the thumbnails corresponding to each of the split screens can receive a touch control operation independently to facilitate sharing and editing for users. In addition, it is not necessary for users to install picture editing software to edit and crop the entire screenshot individually to obtain a single split-screen screenshot, which can greatly improve the user experience in taking screenshots and simplify the operation process of taking screenshots.

[0010] In one possible implementation, the method further includes receiving a second touch control operation, the second touch control operation being an operation of tapping a target screen capture thumbnail in the first screenshot or the second screenshot, the target screen capture thumbnail being at least one of the screen capture thumbnails corresponding to the N split screens in the first screenshot or the second screenshot, and saving the target screen capture thumbnail in the gallery based on the second touch control operation, and deleting all screenshots except the target screen capture thumbnail in the first screenshot or the second screenshot. In this embodiment of the application, the second touch control operation may be used to select a target screen capture thumbnail in the first screenshot or the second screenshot to determine a target screen capture thumbnail that the user expects to keep among the multiple screenshots. In addition, when tapping the target screen capture thumbnail in the first screenshot or the second screenshot, all screenshots except the target screen capture thumbnail may be deleted. It should be noted that the target screen capture thumbnail may be a screenshot corresponding to multiple split screens. The second operation may be implemented to prevent the electronic device from misjudging the user's first operation. Alternatively, when receiving an indication of a screen capture operation performed by using a knuckle and an indication of a screen capture operation performed by pressing a key combination, and a single split screen needs to be captured, there is no need to perform secondary editing by picture editing software, thereby simplifying the screenshot taking operation for the user.

[0011] In one possible implementation, the method further includes receiving a drag operation on the target screen capture thumbnail, the drag operation being an operation of moving the target screen capture thumbnail by using at least one touch control point, and controlling the target screen capture thumbnail to be shared with or inserted into a split screen area where an end position of the drag operation movement is located based on the drag operation. In this embodiment of the application, sharing of a target split screen of an application included in any one of the N split screens in the first screen may be directly implemented by performing a drag operation on the target screen capture thumbnail. The target screen capture thumbnail may be controlled to be shared with or inserted into a split screen area where an end position of the drag operation movement is located based on the drag operation. In the prior art, in order to share a target screen capture thumbnail in a split screen included in the first screen, in addition to the operation for sharing, an operation for selecting a target application needs to be performed. Compared with the conventional technology, the method of performing dragging directly to the target application simplifies the process of sharing the target screen capture thumbnail and improves the user experience in the operation.

[0012] In one possible implementation, the method further includes splicing all of the screen captures in the second screenshot into one picture, and saving the picture and the first screenshot in the gallery, if the second touch control operation is not received within a first time period after receiving any one of the first touch control operation, the instruction of the screen capture operation performed by using a finger knuckle, or the instruction of the screen capture operation performed by pressing a key combination. Therefore, in this embodiment of the application, if another operation of taking a screenshot based on a screenshot capture instruction generated by a user is not received again within a certain time period after receiving the screenshot capture instruction, the captured screenshot may be directly saved, thereby allowing the user to reuse the screenshot in the future without needing to take a screenshot again, and avoiding resource waste. The screenshot capture instruction may include any of the operations of the first touch control operation, the instruction of the screen capture operation performed by using a finger knuckle, or the instruction of the screen capture operation performed by pressing a key combination.

[0013] In one possible implementation, the method further includes capturing the current display content of the first screen as a third screenshot, and saving the third screenshot in the gallery, if all of the start positions of the touch control points during the movement are not located in the target split screen in the first screen. In this embodiment of the application, the electronic device first determines whether all of the start positions of the touch control points during the movement by the first touch control operation are located in the target split screen in the first screen. If they are not located in the target split screen, specifically, if the start positions of the touch control points during the movement by the first touch control operation are located in the area of ​​at least two split screens, capture all of the current display content of the split screen in the first screen as a third screenshot. Therefore, in this embodiment of the application, when a user needs to capture the display content of the entire screen, the user only needs to position the start positions of the touch control points during the movement in multiple areas of at least two split screens, and can take a screenshot of the first screen. This avoids the problem of cumbersome screen capture operations and relatively long screen capture times for the user, thereby improving the user experience during screen capture.

[0014] In one possible implementation, the method further includes: performing a long screen capture of a split screen area of ​​the target split screen when the touch control points move a distance length equal to or greater than a second preset distance threshold during the movement on the target split screen, the second preset distance threshold being greater than the first preset distance threshold, and a ratio between the second preset distance threshold and a height of the target split screen being greater than a preset ratio threshold; performing a long screen capture of a split screen area of ​​the target split screen when the first touch control operation is received again on the target split screen within a second time period after receiving the first touch control operation; performing a long screen capture of a split screen area of ​​the target split screen when the first touch control operation includes four touch control points. In this embodiment of the application, the electronic device is capable of performing a long screen capture of a target split screen on a first screen. The target split screen may be any one of N split screens. It should be understood that multiple different operation methods are available for triggering the operation of performing long screen capture, and the results of performing the operation of performing long screen capture are also different. Multiple trigger modes are available for performing long screen capture, which avoids the problems of cumbersome screen capture operation and relatively long screen capture time for users, thereby improving the user experience during screen capture.

[0015] According to a second aspect, one embodiment of the present application provides an electronic device, the electronic device including one or more processors, a memory, and one or more keys; The memory, the display, and the one or more keys are coupled to the one or more processors, the memory configured to store computer program code, the computer program code including computer instructions, and the one or more processors execute the computer instructions to: an operation of determining a first touch control operation, the first touch control operation being a movement operation in which a plurality of touch control points move within a first screen a distance equal to or greater than a first preset distance threshold, the first screen including N split screens, N being a positive integer greater than 1; an operation of determining whether all of the start positions of the plurality of touch control points during the movement by the first touch control operation are located within a target split screen in the first screen, the target split screen being any one of the N split screens; and and capturing a currently displayed content of the target split screen as a first screenshot when all of the starting positions of the multiple touch control points during the movement are located within the target split screen in the first screen.

[0016] In one possible implementation, the first screenshot is a thumbnail, and the processor is further configured to capture current display content of the N split screens in the first screen as a corresponding screenshot when all of the starting positions of the multiple touch control points during the movement are located within the target split screen in the first screen, and generate a second screenshot, the second screenshot including the screenshots corresponding to the N split screens, the screenshots being arranged in the second screenshot such that the corresponding split screens are distributed within the first screen, and each of the screenshots corresponding to the N split screens is a thumbnail enabled to receive a touch control operation.

[0017] In one possible implementation, the first screenshot is a thumbnail, and the processor is further configured to receive a screen capture operation performed by using a knuckle or by pressing a key combination, and based on an indication of the screen capture operation performed by using a knuckle or by pressing a key combination, capture currently displayed content of all split screens in the first screen as corresponding screenshots, and generate a second screenshot, the second screenshot including screenshots corresponding to the N split screens, the screenshots being arranged in the second screenshot such that the corresponding split screens are distributed among the first screen, and each of the screenshots corresponding to the N split screens is a thumbnail enabled to receive a touch control operation.

[0018] In one possible implementation, the processor is further configured to receive a second touch control operation, the second touch control operation being an operation of tapping a target screen capture thumbnail in the first screenshot or the second screenshot, the target screen capture thumbnail being at least one of the screen capture thumbnails corresponding to the N split screens in the first screenshot or the second screenshot, and to save the target screen capture thumbnail in the gallery based on the second touch control operation, and to delete all of the screenshots in the first screenshot or the second screenshot except for the target screen capture thumbnail.

[0019] In one possible implementation, the processor is further configured to receive a drag operation on the target screen capture thumbnail, the drag operation being an operation of moving the target screen capture thumbnail by using at least one touch control point, and based on the drag operation, control the target screen capture thumbnail so that it is shared with or inserted into a split screen area in which an end position of the drag operation movement is located.

[0020] In one possible implementation, the processor is further configured to, if the processor does not receive the second touch-control operation within a first time period after receiving any one of the first touch-control operation, the indication of the screen capture operation performed by using a finger knuckle, or the indication of the screen capture operation performed by pressing a key combination, splice all of the screen captures in the second screenshot into one picture and save the picture and the first screenshot in the gallery.

[0021] In one possible implementation, the processor is further configured to capture a currently displayed content of the first screen as a third screenshot and save the third screenshot in the gallery if all of the starting positions of the multiple touch control points during the movement are not located within the target split screen in the first screen.

[0022] In one possible implementation, the processor is further configured to perform a long screen capture of a split screen area of ​​the target split screen if the touch control points move a distance length equal to or greater than a second preset distance threshold during their movement on the target split screen, the second preset distance threshold being greater than the first preset distance threshold and a ratio between the second preset distance threshold and a height of the target split screen being greater than a preset ratio threshold, or the processor is configured to perform a long screen capture of a split screen area of ​​the target split screen if the processor receives the first touch control operation on the target split screen again within a second time period after receiving the first touch control operation, or is configured to perform a long screen capture of a split screen area of ​​the target split screen if the first touch control operation includes four touch control points.

[0023] According to a third aspect, an embodiment of the present application provides a computer storage medium including computer instructions that, when executed by an electronic device, enable the electronic device to perform a screen capture method according to any one of the first aspect of the embodiments of the present application or the implementations of the first aspect.

[0024] According to a fourth aspect, an embodiment of the present application provides a computer program product, which, when executed by an electronic device, enables the electronic device to perform a screen capture method according to any one of the first aspect of the embodiments of the present application or the implementations of the first aspect.

[0025] It can be understood that the electronic device provided by the second aspect, the computer storage medium provided by the third aspect, and the computer program product provided by the fourth aspect may all be configured to execute the screen capture method provided by the first aspect. For their achievable beneficial effects, they should refer to the beneficial effects of the screen capture method provided by the first aspect. Details are not repeated in this specification. [Brief description of the drawings]

[0026] In order to more clearly describe the technical solutions in those embodiments or background art of this application, the following description will describe a number of accompanying drawings required in those embodiments or background art of this application.

[0027] [Figure 1A] 1 is a schematic diagram of a configuration of an electronic device 100 according to an embodiment of the present application. [Figure 1B] FIG. 1 is a block diagram of a software configuration of an electronic device 100 according to an embodiment of the present application. [Figure 2A] 1 is a schematic diagram of a user interface having multiple windows according to an embodiment of the present application; [Figure 2B] 2 is a schematic diagram of a user's operation identified as a first touch control operation according to one embodiment of the present application; FIG. [Figure 2C]FIG. 2 is a schematic diagram of determining a comparison relationship between a travel distance and a first preset distance threshold according to an embodiment of the present application; [Figure 2D] 1 illustrates a user interface for capturing display content of a target split screen as a picture by using a first touch-control operation according to an embodiment of the present application. [Figure 2E] 1 illustrates another user interface for capturing display content of a target split screen as a picture by using a first touch-control operation according to an embodiment of the present application. [Figure 2F] 1 illustrates a group of user interfaces for viewing, saving, and sharing screen capture thumbnails according to one embodiment of the present application. [Figure 2G] 1 illustrates a group of user interfaces for viewing, saving, and sharing screen capture thumbnails according to one embodiment of the present application. [Figure 2H] 1 illustrates a group of user interfaces for viewing, saving, and sharing screen capture thumbnails according to one embodiment of the present application. [Figure 2I] 13 illustrates another grouping of user interfaces for viewing and saving screen capture thumbnails according to one embodiment of the present application. [Figure 2J] 13 illustrates another grouping of user interfaces for viewing and saving screen capture thumbnails according to one embodiment of the present application. [Figure 2K] 13 illustrates another grouping of user interfaces for viewing and saving screen capture thumbnails according to one embodiment of the present application. [Figure 3A] FIG. 2 is a schematic diagram of another user interface having multiple windows according to an embodiment of the present application. [Figure 3B]11 is a schematic diagram of another user's operation identified as a first touch control operation according to one embodiment of the present application; FIG. [Figure 3C] According to one embodiment of the present application, a first touch-control operation is used to capture the display content of the first screen as a picture and present the group of shared user interfaces. [Figure 3D] According to one embodiment of the present application, a first touch-control operation is used to capture the display content of the first screen as a picture and present the group of shared user interfaces. [Figure 3E(1)] 13 illustrates another group of a user interface for capturing the display content of the first screen as a picture by using a first touch-control operation according to one embodiment of the present application. [Figure 3E(2)] 13 illustrates another group of a user interface for capturing the display content of the first screen as a picture by using a first touch-control operation according to one embodiment of the present application. [Figure 4A] 1 is a schematic diagram of yet another user interface having multiple windows according to an embodiment of the present application; [Figure 4B] 2 is a schematic diagram of a group of user interfaces for performing long screen capture according to one embodiment of the present application; [Figure 4C] 2 is a schematic diagram of a group of user interfaces for performing long screen capture according to one embodiment of the present application; [Figure 4D] FIG. 11 is a schematic diagram of another group of user interfaces for performing long screen capture according to an embodiment of the present application. [Figure 4E] FIG. 11 is a schematic diagram of another group of user interfaces for performing long screen capture according to an embodiment of the present application. [Figure 4F] 1 is a schematic diagram of a user interface having multiple windows according to an embodiment of the present application; [Figure 4G] 1 is a schematic diagram of a user interface having multiple windows according to an embodiment of the present application; [Figure 5A] 1 is a schematic flowchart of a screen capture method according to an embodiment of the present application. [Figure 5B] 4 is a schematic flowchart of another screen capture method according to an embodiment of the present application. [Figure 5C] 1 is a schematic diagram of an operation of performing a long screen capture based on an electronic device 100 according to an embodiment of the present application. [Figure 5D] 5D(1) to 5D(3) are schematic diagrams of a group of user interfaces for taking a screenshot of a single screen and sharing it with a current split screen according to one embodiment of the present application. [Figure 5D(4)] 1 is a schematic flowchart of operations performed on a user interface when taking a screenshot of a single screen and sharing it with a current split screen according to an embodiment of the present application; [Figure 5E] 5E(1) to 5E(3) are schematic diagrams of a group of user interfaces for taking a screenshot of the entire screen and sharing it with the current split screen according to one embodiment of the present application. [Figure 5F] 5F(1) to 5F(4) are schematic diagrams of another group of user interfaces for taking a screenshot of a single screen and sharing it with a current split screen according to one embodiment of the present application. [Figure 5G]5G(1) to 5G(4) are schematic diagrams of yet another group of user interfaces for taking a screenshot of a single screen and sharing it with a current split screen according to an embodiment of the present application. [Figure 5H] 5H(1) to 5H(4) are schematic diagrams of another group of user interfaces for taking a screenshot of the entire screen and sharing it with the current split screen according to an embodiment of the present application. [Figure 5H(5)] 1 is a schematic flowchart of operations performed on a user interface to take a screenshot of the entire screen and share it with the current split screen according to one embodiment of the present application; [Figure 5I(1)] FIG. 2 is a schematic diagram of a group of user interfaces for taking a screenshot of a single screen and sharing it with applications contained in the current interface in a practical application according to one embodiment of the present application; [Figure 5I(2)] FIG. 2 is a schematic diagram of a group of user interfaces for taking a screenshot of a single screen and sharing it with applications contained in the current interface in a practical application according to one embodiment of the present application; DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0028] The following description refers to a number of accompanying drawings in which a number of embodiments of this application are described.

[0029] In the specification, claims, and accompanying drawings of this application, words such as "first," "second," and "third" are intended to distinguish between different objects, but not to describe a particular order. In addition, words such as "comprising," "including," "having," and any variation thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but may, in the alternative, further include other steps or units not listed, or may, in the alternative, further include other steps or units inherent to such process, method, system, product, or device.

[0030] An "embodiment" referred to in this application means that a particular feature, configuration, or characteristic described with reference to that embodiment may be included in at least one embodiment of this application. A phrase appearing in multiple different locations in the specification does not necessarily refer to the same embodiment, or to separate or alternative embodiments excluding other embodiments. A person skilled in the art will understand, both explicitly and implicitly, that an embodiment described in this application can be combined with other embodiments.

[0031] As used herein, terms such as "component," "module," and "system" are used to represent computer-related entities, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component may be, but is not limited to, a process executed by a processor, a processor, an object, an executable file, a thread of execution, a program, and / or a computer. As illustrated in the figure, both a computing device and an application executed by the computing device may be a component. One or more components may reside within a process and / or thread of execution, and a component may be located on one computer and / or distributed among two or more computers. Additionally, these components may be executed using various computer readable media that store various data structures. For example, components may communicate by using local and / or remote processes, for example, according to signals having one or more data packets (e.g., data from two components interacting with other components in a local system, a distributed system, and / or two components accessing a network such as the Internet that interact with other systems by using signals).

[0032] In the specification, claims, and accompanying drawings of this application, a terminal "user interface (UI)" is a medium interface for an application or an operating system to interact or exchange information with a user. The UI converts information from an internal format to a format acceptable to the user. The user interface of an application is source code written in a certain computer language, such as Java and extensible markup language (XML). The source code of the interface is parsed and then rendered in the terminal device, and finally presented as user-perceivable content, for example, pictures, text, or controls such as buttons. Controls, also called widgets, are the basic elements of a user interface. Typical controls include toolbars, menu bars, text boxes, buttons, scrollbars, pictures, and text. The attributes and contents of controls for an interface are defined by labels or nodes. For example, in the case of XML, the controls contained in the interface are: <textview> 、 <imgview>, and <videoview>A web page is defined by using nodes such as . A node corresponds to a control or attribute for an interface, which is parsed, rendered, and then presented as content that can be viewed by the user. In addition, the interface of many applications, e.g., hybrid applications, usually also includes a web page. A web page may also be called a page and understood as a special control embedded in the interface of an application. A web page is a source code written in a specific computer language, e.g., hyper text markup language (GTML), cascading style sheets (CSS), JavaScript (JS), etc. The source code of a web page may be loaded by a browser or a web page display component with similar functionality to the browser, and displayed as content that can be perceived by the user. The specific content that a web page contains is also defined by a label or node in the source code of the web page. For example, in the case of GTML, 、 、 <video>, and <canvas>is used to define elements and attributes of a Web page.

[0033] A common presentation format for user interfaces is the Graphical User Interface ( graphical A GUI is a user interface that is related to computer operation and that is displayed in a graphical manner. A GUI may be interface elements such as icons, windows, or controls that appear on the display of an electronic device. Controls may include visual interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, or widgets.

[0034] First, some of the terms in this application will be explained to facilitate understanding by those skilled in the art.

[0035] (1) Window: A window is the most important part of a user interface. A window is a rectangular area on the screen corresponding to an application, which includes the framework and the customer area. A window is a visual interface between the user and the application that creates the window. Every time the user starts to run an application, the application creates and displays a window. When the user manipulates the objects in the window, the program responds accordingly. The user terminates the execution of a program by closing the window and selects the corresponding application by selecting the corresponding application window.

[0036] (2) A touch sensor is a device that captures and records a physical touch or hugging of a device and / or object. A touch sensor enables a device or object to detect a touch from a user or operator, usually a human. Touch sensors are also called touch detectors.

[0037] Next, an exemplary electronic device provided by the following embodiments of this application will be described.

[0038] 1A is a schematic diagram of a configuration of an electronic device 100 according to an embodiment of the present application. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headset interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, an optical proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, and a bone conduction sensor 180M, among others.

[0039] It can be understood that the configurations described in this embodiment of the application do not constitute any particular limitations on the electronic device 100. In some of the other embodiments of the application, the electronic device 100 may include more or fewer components than those shown in the figures, may combine components, may divide components, or may have a different component arrangement. The components shown may be implemented by hardware, software, or a combination of software and hardware.

[0040] The processor 110 may include one or more processing units. For example, the processor 110 may be an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a Controller, Video Codec The various processing units may include a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. The different processing units may be separate components or may be integrated into one or more processors.

[0041] The controller may be the neural network center and command center of the electronic device 100. The controller may generate operation control signals based on the instruction operation codes and sequence signals to control the fetching and execution of instructions.

[0042] The processor 110 may further include a memory configured to store instructions and data. In some of the embodiments, the memory in the processor 110 may be a cache. The memory may store instructions or data that the processor 110 has just used or is using cyclically. When the processor 110 needs to use instructions or data again, the processor 110 may directly retrieve the instructions or data from the memory. This avoids repeated accesses and reduces the waiting time of the processor 110, thereby improving system efficiency.

[0043] In some of the embodiments, the processor 110 may include one or more interfaces, which may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0044] It can be understood that the interface connection relationships between the modules described in this embodiment of the application are intended for illustrative purposes only and do not constitute any limitations on the configuration of the electronic device 100. In some of the other embodiments of the application, the electronic device 100 may alternatively use an interface connection mode different from the interface connection mode in the above embodiment, or may combine multiple interface connection modes.

[0045] The charging management module 140 is configured to receive a charging input from a charger. The charger may be a wireless charger or a wired charger. In some of the wired charging embodiments, the charging management module 140 may receive the charging input from the wired charger using the USB interface 130. In some of the wireless charger embodiments, the charging management module 140 may receive the wireless charging input from a wireless charging coil of the electronic device 100. The charging management module 140 may further provide power to the electronic device using the power management module 141 while charging the battery 142.

[0046] The power management module 141 is configured to connect to the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140 to provide power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may further be configured to monitor parameters such as battery capacity, number of battery circles, and battery health status (such as leakage or impedance). In some of the other embodiments, the power management module 141 may alternatively be located in the processor 110. In some of the other embodiments, the power management module 141 and the charging management module 140 may alternatively be located in the same device.

[0047] The wireless communication function of the electronic device 100 may be implemented by using an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, a modem processor, a baseband processor, and the like.

[0048] Antenna 1 and Antenna 2 are configured to transmit and receive electromagnetic signals. Each antenna in electronic device 100 may be configured to handle one or more communication frequency bands. Different antennas may be multiplexed to improve antenna utilization. For example, Antenna 1 may be multiplexed as a diversity antenna in a wireless local area network. In some of the other embodiments, the antennas may be used in combination with tuning switches.

[0049] The mobile communication module 150 can provide wireless communication solutions including 2G, 3G, 4G, or 5G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 150 may receive electromagnetic waves by the antenna 1, perform filtering, amplification, and other processing on the received electromagnetic waves, and forward the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 may further amplify the signal modulated by the modem processor, convert the amplified signal into electromagnetic waves by using the antenna 1, and radiate the electromagnetic waves via the antenna 1. In some of the embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some of the embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.

[0050] The modem processor may include a modulator and a demodulator. In some embodiments, the modem processor may be a separate device. In some other embodiments, the modem processor may be separate from the processor 110 and located in the same device as the mobile communication module 150 or other functional modules.

[0051] The wireless communication module 160 may provide a wireless communication solution including, for example, wireless local area networks (WLAN) (e.g., wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC) technology, and infrared (IR) technology, etc., and applied to the electronic device 100. The wireless communication module 160 may be one or more devices integrated with at least one communication processing module. The wireless communication module 160 receives electromagnetic waves through the antenna 2, performs frequency modulation and filtering processing on the electromagnetic wave signal, and then transmits the processed signal to the processor 110. The wireless communication module 160 may further receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification processing on the signal to be transmitted, convert the processed signal to be transmitted into electromagnetic waves by using the antenna 2, and then radiate the electromagnetic waves by the antenna 2.

[0052] In some of the embodiments, in the electronic device 100, the antenna 1 is coupled to the mobile communication module 150 and the antenna 2 is coupled to the wireless communication module 160, so that the electronic device 100 can communicate with networks and other devices by using wireless communication technologies that may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, IR, and / or other technologies. The GNSS may include a global positioning system (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and / or satellite based augmentation systems (SBAS).

[0053] The electronic device 100 implements display functionality by using a GPU, a display 194, and an application processor. The GPU is a microprocessor for image processing and is connected to the display 194 and the application processor. The GPU is configured to perform arithmetic and geometric calculations, and is configured to perform graphics rendering. The processor 110 may include one or more GPUs and execute program instructions to generate or modify display information.

[0054] The display screen 194 is configured to display images, videos, and the like. The display screen 194 includes a display panel. The display panel may be any of a variety of display devices, including liquid crystal display (LCD), organic light-emitting diode (OLED), active-matrix organic light-emitting diode (AMOLED), flexible light-emitting diode (FLD), and the like. flexible In some embodiments, electronic device 100 may include one or N displays 194, where N is a positive integer greater than 1.

[0055] The electronic device 100 may implement the photography function by using an ISP, a camera 193, a video codec, a GPU, a display 194, an application processor, and the like.

[0056] The ISP is configured to process data fed back by the camera 193. For example, during photography, after opening the shutter, light is sent to the camera's photosensitive elements, which convert the light signal into an electrical signal, and the camera's photosensitive elements then forward the electrical signal to the ISP for processing to convert the electrical signal into an image visible to the naked eye. The ISP may further perform algorithm-based optimization on the image with respect to noise, brightness, and skin color. The ISP may further optimize parameters such as exposure and color temperature for the photography scenario. In some of the embodiments, the ISP may be located in the camera 193.

[0057] The camera 193 is configured to capture still images or video. It uses a lens to generate an optical image of an object and projects the optical image onto a photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) based phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transmitted to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal, such as a standard RGB or YUV format. In some of the embodiments, the electronic device 100 may include one or N cameras 193, where N is a positive integer greater than 1.

[0058] The digital signal processor is configured to process digital signals. The digital signal processor can process not only digital image signals, but also other digital signals. For example, when the electronic device 100 selects a frequency, the digital signal processor is configured to perform a Fourier transform or the like on the energy of the frequency.

[0059] A video codec is configured to compress or decompress digital video. Electronic device 100 may support one or more types of video codecs. In this manner, electronic device 100 may be able to play or record video in multiple encoding formats, such as, for example, moving picture experts group (MPEG)-1, MPEG-2, MPEG-3, and MPEG-4.

[0060] The NPU is a neural-network (NN) computing processor, which can rapidly process input information and perform continuous self-learning by using a biological neural network structure, such as using the mode of communication between multiple neurons in the human brain. The NPU can be used to implement applications such as intelligent perception of the electronic device 100, such as image recognition, face recognition, voice recognition, and text understanding.

[0061] The external memory interface 120 may be configured to connect to an external memory card, such as, for example, a microSD card, to expand the storage capabilities of the electronic device 100. The external memory card communicates with the processor 110 using the external memory interface 120 to implement data storage functionality, for example, storing music, video, and other files in the external memory card.

[0062] The internal memory 121 may be configured to store computer-executable programs, which include instructions. The processor 110 executes the instructions stored in the internal memory 121 to perform various functional applications and data processing of the electronic device 101. The internal memory 121 may include a program storage area and a data storage area. The program storage area may store an operating system and applications required for at least one function (e.g., audio playback function or image playback function). The data storage area may store data (e.g., audio data and address book) generated during use of the electronic device 101. In addition, the internal memory 121 may include a high-speed random access memory and may further include a non-volatile memory, such as at least one magnetic disk storage device, at least one flash memory device, and at least one universal flash storage (UFS).

[0063] The electronic device 100 may implement audio functions, such as playing or recording music, by using an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, a headset interface 170D, an application processor, and the like.

[0064] Audio module 170 is configured to convert digital audio information to an analog audio signal output, and to convert an analog audio input to a digital audio signal. Audio module 170 may also be configured to encode and decode audio signals. In some embodiments, audio module 170 may be located within processor 110, or some of the functional modules of audio module 170 may be located within processor 110.

[0065] Speaker 170A, also referred to as a "loudspeaker," is configured to convert electrical audio signals into voice signals. Electronic device 100 may be used to listen to music or to answer hands-free calls by using speaker 170A.

[0066] Receiver 170B, also referred to as an "earpiece," is configured to convert electrical audio signals into speech signals. When receiving call or voice information at electronic device 100, the speech can be heard by placing receiver 170B close to a human ear.

[0067] The microphone 170C is also referred to as a "microphone" or a "mic" and is configured to convert a voice signal into an electrical signal. When making a call or transmitting voice information, a user can place the microphone 170C near his / her mouth and speak to input a voice signal into the microphone 170C. The electronic device 100 may include at least one microphone 170C. In some of the other embodiments, the electronic device 100 may include two microphones 170C, which may further implement a noise reduction function in addition to collecting voice signals. In some of the other embodiments, the electronic device 100 may alternatively include three microphones 170C, four microphones 170C, or more microphones 170C, which may perform collection and noise reduction of voice signals, and may further identify the source of the voice and implement a directional recording function.

[0068] Headset interface 170D is configured to connect to a wired headset, and may be USB interface 130, or may be a standard 3.5 mm open mobile terminal platform (OMTP) interface, a standard cellular telecommunications industry association of the USA (CTIA) interface, or the like.

[0069] The pressure sensor 180A is configured to detect a pressure signal and can convert the pressure signal into an electrical signal. In some of the embodiments, the pressure sensor 180A may be disposed on the display 194. It may be any type of pressure sensor, such as a resistive pressure sensor, an inductive pressure sensor, or a capacitive pressure sensor. The capacitive pressure sensor may include at least two parallel plates including a conductive material. When a force is applied to the pressure sensor 180A, a capacitance between the electrodes changes. The electronic device 100 determines the pressure intensity based on the change in capacitance. When performing a touch control operation on the display 194, the electronic device 100 detects the intensity of the touch control operation by using the pressure sensor 180A. The electronic device 100 may also calculate a touch position based on a signal detected by the pressure sensor 180A. In some of the embodiments, touch control operations applied to the same touch position but having different touch control operation intensities may correspond to different operation instructions. For example, an instruction to view an SMS message is executed when a touch control operation is performed on an icon of an SMS message application with a strength of the touch control operation being less than a first pressure threshold, and an instruction to create an SMS message is executed when a touch control operation is performed on an icon of the SMS message application with a strength of the touch control operation being equal to or greater than the first pressure threshold.

[0070] The gyroscope sensor 180B may be configured to determine the motion attitude of the electronic device 100.

[0071] The air pressure sensor 180C is configured to measure atmospheric pressure.

[0072] The magnetic sensor 180D includes a Hall effect sensor.

[0073] The acceleration sensor 180E can detect the magnitude of acceleration of the electronic device 100 in each direction (usually along three axes). When the electronic device 100 is in a stationary state, the acceleration sensor 180E can detect the magnitude and direction of gravity. The acceleration sensor 180E may further be configured to identify the orientation of the electronic device, and is applied to landscape / portrait mode switching, pedometer, etc.

[0074] The distance sensor 180F is configured to measure distance.

[0075] The optical proximity sensor 180G may include a light detector such as a light emitting diode (LED) and a photodiode.

[0076] Ambient light sensor 180L is configured to sense the brightness of ambient light.

[0077] Fingerprint sensor 180H is configured to collect a fingerprint. Using the collected fingerprint characteristics, electronic device 100 may implement fingerprint unlocking by using the fingerprint, access application locks by using the fingerprint, take pictures by using the fingerprint, answer calls by using the fingerprint, etc.

[0078] The temperature sensor 180J is configured to perform temperature detection. In some of the embodiments, the electronic device 100 detects the temperature and executes the temperature handling policy by using the temperature sensor 180J.

[0079] The touch sensor 180K is also referred to as a "touch panel." The touch sensor 180K may be disposed on the display 194, and the touch sensor 180K and the display 194 form a touch screen, also referred to as a "touch control screen." The touch sensor 180K is configured to detect a touch control operation performed on or near the touch sensor 180K. The touch sensor may forward the detected touch control operation to an application processor to determine a touch event type. The display 194 may be used to provide a visual output associated with the touch control operation. In some of the other embodiments, the touch sensor 180K may alternatively be disposed on a surface of the electronic device 100 at a different location than the display 194.

[0080] The bone conduction sensor 180M may acquire a vibration signal. In some of the embodiments, the bone conduction sensor 180M may acquire a vibration signal of a vibrating bone of a vocal cord part of a human body. The bone conduction sensor 180M may also be in contact with a pulse of a human body to receive a blood pressure fluctuation signal. In some of the embodiments, the bone conduction sensor 180M may alternatively be provided in a headset to form a bone conduction headset. The audio module 170 may acquire an audio signal by parsing the vibration signal of the vibrating bone of the vocal cord part acquired by the bone conduction sensor 180M to implement an audio function. The application processor may acquire heart rate information by parsing the blood pressure fluctuation signal acquired by the bone conduction sensor 180M to implement a heart rate detection function.

[0081] The keys 190 include a power on / off key, a volume key, etc. The keys 190 may be mechanical keys or touch keys. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings or function controls of the electronic device 100.

[0082] The motor 191 may generate a vibration alert. The motor 191 may be configured to generate an incoming call vibration alert and provide touch vibration feedback. For example, touch control operations performed for different applications (such as taking a photo and playing audio) may correspond to different vibration feedback effects. The motor 191 may also provide different vibration feedback effects accordingly in response to touch control operations performed for different areas of the display 194. Different application scenarios (such as time reminders, receiving information, alarms, and games) may also correspond to different vibration feedback effects. It is also possible to customize the touch vibration feedback effects.

[0083] Indicator 192 may be an indicator light and may be configured to indicate changes in charging and battery level, and may also be configured to indicate messages, missed calls, notifications, and the like.

[0084] The SIM card interface 195 is configured to connect to a SIM card. The SIM card may be inserted into or pulled out of the SIM card interface 195 and in contact with the electronic device 100 or may be separated from the electronic device 100. The electronic device 100 may support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 may support a nano-SIM card, a micro-SIM card, a SIM card, etc. Multiple cards may be inserted into the same SIM card interface 195 at the same time. The multiple cards may be the same type of card or may be different types of cards. The SIM card interface 195 may also be compatible with multiple different types of SIM cards. The SIM card interface 195 may also be compatible with an external memory card. The electronic device 100 interacts with a network by using a SIM card to implement calls, data communications, etc. In some of the embodiments, the electronic device 100 uses an eSIM card, i.e., an embedded SIM card, which may be embedded in the electronic device 100 and cannot be separated from the electronic device 100.

[0085] The software system of the electronic device 100 may use a hierarchical architecture, an event-driven architecture, a microkernel architecture, a microservices architecture, or a cloud architecture. In this embodiment of the application, the Android system in the case of a hierarchical architecture is used as an example to illustratively describe the software configuration of the electronic device 100. Figure 1B is a block diagram of the software configuration of the electronic device 100 according to an embodiment of the application.

[0086] It can be understood that the block diagram of the software configuration described in this embodiment of the present application does not constitute any particular limitation on the block diagram of the software configuration of the electronic device 100.

[0087] In a layered architecture, the software is divided into layers, each with a clear role and a clear division of operations. The layers communicate with each other using software interfaces. In some of the embodiments, the Android system is divided into four layers from top to bottom: application layer, application framework layer, Android runtime and system libraries, and kernel layer.

[0088] The application layer may include a set of application packages.

[0089] As shown in FIG. 1B, the application package may include applications such as camera, gallery, calendar, phone, maps, navigation, WLAN, Bluetooth, music, video, and SMS messaging.

[0090] The application framework layer provides the application programming Interface ( Application programming It provides a programming framework and a set of predefined functions.

[0091] As shown in FIG. 1B, 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.

[0092] A window manager is configured to manage window programs. A window manager can get the size of the display, determine if a status bar is present, lock the screen, capture the screen, etc.

[0093] Content providers are configured to store and retrieve data and make the data accessible to application programs. Data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0094] The view system includes visual controls, such as, for example, a control for displaying text and a control for displaying a picture. The view system may be configured to build applications. A display interface may include one or more views. For example, a display interface that includes an SMS message notification icon may include a view that displays text and a view that displays a picture.

[0095] The telephony manager is configured to provide communication functionality for the electronic device 100, such as, for example, call state management (including ringing, disconnecting, etc.).

[0096] The resource manager provides applications with various resources, such as localized strings, icons, pictures, layout files, and video files.

[0097] The notification manager allows applications to display notification information in the status bar and may be configured to deliver notification type messages that disappear automatically after a short stay without requiring user interaction. For example, the notification manager may be configured to notify the completion of a download, provide message reminders, etc. The notification manager may display notifications in the top status bar of the system in the form of graphs or scrollbar text, such as notifications about applications running in the background, and may also display notifications on the screen in the form of dialog boxes. For example, displaying text information in the status bar, providing an alert tone, vibrating the electronic device, flashing indicators, etc.

[0098] The Android runtime includes the kernel library and the virtual machine, and is responsible for scheduling and managing the Android system.

[0099] The kernel library contains two parts: on the one hand, the performance functions that need to be called by the Java language, and on the other hand, the Android kernel library.

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

[0101] The system library may include multiple functional modules, such as a surface manager, media libraries, a 3D graphics processing library (e.g., OpenGL ES), and a 2D graphics engine (e.g., SGL).

[0102] The surface manager manages the display subsystem and is configured to blend 2D and 3D layers for multiple applications.

[0103] The media library supports the playback and recording of multiple common formats of audio and video, as well as still image files, etc. The media library can support multiple audio and video encoding formats, such as MPEG-4, G.264, MP3, AAC, AMR, JPG, and PNG.

[0104] The 3D graphics processing library is configured to implement 3D graphics drawing, image rendering and compositing, layer processing, and the like.

[0105] The 2D graphics engine is a drawing engine for 2D drawing.

[0106] The kernel layer is a layer between the hardware and the software, and includes at least a display driver, a camera driver, an audio driver, and a sensor driver.

[0107] The software system shown in Figure 1B is concerned with presenting applications that use sharing functionality (e.g., gallery and file manager), an instant sharing module that provides sharing functionality, and a print service and print spooler that provide printing functionality. The application framework layer provides the print framework, WLAN services, and Bluetooth services. The kernel and layers below provide WLAN and Bluetooth functionality and basic communication protocols.

[0108] The following description describes the software and hardware workflow of the electronic device 100 with reference to capture and filming scenarios.

[0109] When the touch sensor 180K receives a touch operation, it sends a corresponding hardware interrupt to the kernel layer. The kernel layer processes the touch operation and converts it into an original input event (including information such as touch coordinates and a timestamp of the touch operation). The original input event is stored in the kernel layer. The application framework layer obtains the original input event from the kernel layer and identifies a control corresponding to the input event. For example, the touch operation becomes a touch operation, and the control corresponding to the touch operation becomes a control of an icon of a camera application. The camera application calls an interface of the application framework layer to launch the camera application, and further calls the kernel layer to launch a camera driver and capture a still image or a video by using the 3D camera module 193.

[0110] The following description describes some of the application scenarios in the embodiments of this application and the user interface (UI) embodiments in the application scenarios. It should be noted that the first screen mentioned in the embodiments of this application may be understood as the user interface of the electronic device in the embodiments of this application.

[0111] Scenario 1: Application scenario capturing a single split screen (all start positions of multiple touch control points during movement are located within the target split screen in the first screen)

[0112] 2A is a schematic diagram of a user interface having multiple windows according to an embodiment of the present application. The user interface includes a WeChat window 201, a Didi Dache window 201, and a news push window 203. The user interface may further include, but is not limited to, more or fewer other windows. The other applications may be instant messaging software such as QQ or MSN, entertainment and video software such as iQIYI, Tencent Video, and Youku, and auxiliary tool applications such as calculators, calendars, and settings, which are attached to the system of the electronic device.

[0113] 2A, user interface 20 may include a window display area 201, a window display area 202, a window display area 203, a window size control 205, and a status bar 206. The electronic device used by the local user is electronic device 100.

[0114] The window display areas 201-203 are used to display content of multiple different applications in the electronic device and are capable of receiving and responding to a user's touch control operations in the window display areas 201-203.

[0115] The window size control 206 is used to adjust the proportions of the windows in the user interface. The electronic device 100 can detect a touch control operation performed on the window size control 206 (e.g., a drag operation on the window size control 206). In response to the operation, the electronic device 100 can move the position of the window size control 206 to adjust the size of the current windows 202 and 203.

[0116] The status bar 207 may include a carrier indicator (e.g., the carrier name "China Mobile"), one or more signal strength indicators for a wireless fidelity (Wi-Fi) signal, one or more signal strength indicators for a mobile communication signal (which may also be referred to as a cellular signal), a time indicator, and a battery status indicator, etc.

[0117] In this scenario, the first screen of the electronic device used by the user is divided into three split screen regions: the window display region 201 is used to display the main interface of WeChat, the window display region 202 is used to display the interface of Didi Chuxing, and the window display region 203 is used to display the news push interface. Assume that the user needs to share only Didi Chuxing with his / her WeChat contacts, except for WeChat and the news push interface. In the case of the prior art, it is necessary to take a screenshot of all the displayed content of the first screen at that time, and then place the screenshot in a picture editor to crop the unnecessary parts, and finally keep only the picture of Didi Chuxing interface. This operation may make the screenshot operation cumbersome for the user, and the picture editing time is relatively long, resulting in a poor user experience when taking screenshots.

[0118] Based on the above application scenarios, the following description describes some of the UI embodiments implemented by electronic device 100.

[0119] When a screenshot of the display content of the window display area 202 (i.e., the Didi Chuxing window) needs to be taken and shared with the window display area 201 (i.e., the WeChat window), the electronic device 100 receives a touch control operation, and determines a first touch control operation, and then determines a target split screen based on the starting positions of the multiple touch control points included in the first touch control operation, and finally takes a screenshot of the target split screen and shares the screenshot.

[0120] Detailed description is provided from several aspects below.

[0121] (1) How to determine the screen capture operation

[0122] FIG. 2B is a schematic diagram of a user's operation identified as a first touch control operation according to one embodiment of the present application.

[0123] 2B, the electronic device 100 can detect a user's touch control operation by using the touch sensor 180K (e.g., the touch sensor 180K identifies a movement operation performed by the user on a plurality of touch control points in the window display region 202). In response to the touch control operation, the electronic device 100 can identify a movement trajectory of the movement operation.

[0124] In a specific implementation, when the touch sensor 180K detects the user's touch control operation, the duration of the touch control operation, the movement trajectory, the number of touch control points (such as three touch control points or four touch control points), and the positional relationship of the start and end positions of the multiple touch control points to the split screen are changed, and a corresponding signal (including the value of the pressure generated by the movement operation on the electronic device) is generated. The signals generated by the multiple different touch control operations may be captured by the sensor of the electronic device 100 (such as a touch sensor, an acceleration sensor, an impact sensor, a vibration sensor, an acoustic sensor, a displacement sensor, or a velocity sensor). Figure 2C is a schematic diagram of determining a comparison relationship between the movement distance and a first preset distance threshold according to an embodiment of this application. As shown in Figure 2C, the touch sensor 180K detects the movement distance of the user's touch control operation and determines whether the movement distance is greater than the first preset distance threshold. If the movement distance is greater than a first preset distance threshold, the electronic device 100 may determine that the touch control operation is a first touch control operation. Thus, the electronic device 100 may determine a plurality of specific touch control operations used by the user based on the captured signal, and then determine whether the user's touch control operation detected by the touch sensor 180K is a first touch control operation (i.e., a movement operation in which the plurality of touch control points move a distance equal to or greater than the first preset distance threshold in the window display area 202). When determining that the user's touch control operation detected by the touch sensor 180K is a first touch control operation, the electronic device 100 then determines whether all of the starting positions of the plurality of touch control points included in the first touch control operation are located within the window display area 202, and if so, captures the currently displayed content of the window display area 202 as a first screenshot.In this case, the electronic device 100 may indicate that the user's touch control operation detected by the touch sensor 180K is a first touch control operation by marking and / or vibration to the user interface (e.g., by illuminating the movement path of the touch control operation, thickening a border, or adding a shadow).

[0125] It should be noted that the second preset distance threshold shown in Fig. 2C is used to determine whether to perform a long screen capture of the target split screen. The second preset distance threshold is greater than the first preset distance threshold, and the ratio of the second preset distance threshold to the height of the target split screen is greater than the preset ratio threshold. The height of the target split screen may be understood as the length of the side of the target split screen along the moving direction of the multiple touch control points during the movement of the target split screen.

[0126] In a specific implementation, there may be other ways to identify the user's operation as the first touch control operation by using the touch sensor 180K, without being limited to the above listed ways. For example, the electronic device 100 may alternatively identify the user's operation on the first screen by using an infrared sensor, etc., although not limited in this embodiment of the application.

[0127] (2) How to capture screen content

[0128] FIG. 2D illustrates a user interface for capturing the display content of the target split screen as a picture by using a first touch control operation according to one embodiment of the present application. In this embodiment of the present application, the electronic device 100 further includes a picture switching control 204. The picture switching control 204 is used to display a screenshot of the user interface or a portion of the user interface being captured during screen capture, and may be used to share the picture by tapping. The electronic device 100 may further include a picture switching control 204 (e.g., 204 Picture switching control (e.g. dragging the 204 In response to the touch control operation, electronic device 100 may control the picture to be shared with or inserted into a window in which the end position of the movement of the drag operation is located.

[0129] As shown in Fig. 2D, in response to a user's operation performed on the touch sensor 180K in the embodiment corresponding to Fig. 2B, the electronic device 100 may identify whether the user's operation is a movement operation in which the touch control points move a distance equal to or greater than a first preset distance threshold in the user interface, and determine the starting positions of the touch control points of the user's movement detected by the touch sensor 180K to determine whether the user's operation is intended to capture the current display content of the target split screen or the current display content of the entire user interface. Then, when all of the starting positions of the touch control points of the movement detected by the touch sensor 180K are located in the window display area 202, the current display content of the window display area 202 is captured as a first screenshot based on the user's operation detected by the touch sensor 180K.

[0130] In one possible implementation, FIG. 2E shows another user interface according to one embodiment of the present application, in which the display content of the target split screen is captured as a picture by using a first touch control operation.

[0131] As shown in Fig. 2E, in response to the gesture action performed on the touch sensor 180K in the embodiment corresponding to Fig. 2B, the electronic device 100 may identify whether the user's operation is a movement operation in which the touch control points move in the user interface by a distance equal to or greater than a first preset distance threshold, and determine the starting positions of the touch control points during the movement by the user's touch control operation detected by the touch sensor 180K to determine whether the user's operation is intended to capture the current display content of the target split screen or the current display content of the entire user interface. Then, when all of the starting positions of the touch control points during the movement detected by the touch sensor 180K are located within the window display area 202, not only the current display content of the window display area 202 is captured as a first screenshot based on the user's operation detected by the touch sensor 180K, but also all of the split screens in the user interface are required to be captured based on the user's operation detected by the touch sensor 180K, and a second screenshot is generated. In other words, the currently displayed contents of the N split screens in the first screen are captured as corresponding screenshots to generate a second screenshot, the second screenshot including a plurality of screenshots corresponding to the N split screens, the plurality of screenshots being arranged in the second screenshot such that the corresponding split screens are distributed in the first screen, and each of the plurality of screenshots corresponding to the N split screens is a thumbnail enabled to receive a touch control operation.It can be understood that when detecting that all of the starting positions of the multiple touch control points during the movement are located in the window display area 202, not only needs to capture the current display content of Didi Chuxing in the window display area 202, but also needs to separately capture the current display content of WeChat in the window display area 201, the current display content of Didi Chuxing in the window display area 202, and the current display content of News Push in the window display area 203. It should be noted that in the case of the second screenshot, the thumbnail corresponding to the current display content of WeChat in the window display area 201, the thumbnail corresponding to the current display content of Didi Chuxing in the window display area 202, and the thumbnail corresponding to the current display content of News Push in the window display area 203 are not associated with each other, and each of these thumbnails can receive a touch control operation from the user. Therefore, after taking a screenshot of the current display content of Didi Chuxing in the window display area 202, all the screenshots of the split screen are taken. This can prevent the electronic device from misjudging the user's operation intention or misjudging the target split screen caused by the user's incorrect operation, thereby improving the accuracy of screenshot taking and the user experience in screenshot taking.

[0132] (3) How to save and share screenshots

[0133] 2F-2H show a group of user interfaces for viewing, saving, and sharing screen capture thumbnails according to one embodiment of the present application.

[0134] As shown in FIG. 2F and FIG. 2G, after acquiring the first screenshot and the second screenshot, the electronic device 100 receives a user's operation performed on the touch sensor 180K. The electronic device 100 may identify whether the user's operation is a second touch control operation. For example, the second touch control operation is an operation of tapping a target screen capture thumbnail in the first screenshot or the second screenshot. The target screen capture thumbnail is at least one of the screen capture thumbnails corresponding to the N split screens in the first screenshot or the second screenshot. For example, the target screen capture thumbnail is a thumbnail corresponding to the currently displayed content of DiDi ChuXing in the window display area 202. The electronic device 100 saves the target screen capture thumbnail in the gallery based on the second touch control operation, and deletes all of the screenshots except the target screen capture thumbnail in the first screenshot or the second screenshot. As shown in FIG. 2H, a drag operation is received on the thumbnail corresponding to the currently displayed content of DiDi ChuXing in the window display area 202. The drag operation is an operation of moving a thumbnail corresponding to the current display content of Didi Chuxing in the window display area 202 by using a touch control point. The thumbnail corresponding to the current display content of Didi Chuxing in the window display area 202 is controlled to be shared with or inserted into the WeChat application in the window display area 201 based on the drag operation.

[0135] In one possible implementation, FIGS. 2I-2K show another grouping of user interfaces for viewing and saving screen capture thumbnails according to one embodiment of the present application.

[0136] As shown in FIG. 2I and FIG. 2J, after acquiring the first screenshot and the second screenshot, the electronic device 100 receives a user operation performed on the touch sensor 180K. The electronic device 100 may identify whether the user operation is a second touch control operation. For example, the second touch control operation is an operation of tapping a target screen capture thumbnail in the first screenshot or the second screenshot, and there are multiple target screen capture thumbnails. In this case, the electronic device 100 may control the multiple screenshots to splice the multiple screenshots into one screenshot based on the second touch control operation. When a graph obtained by splicing the multiple screenshots has an irregular shape, the electronic device can automatically fill in the missing parts, so that the spliced ​​screenshot has a regular geometric shape. As shown in Fig. 2K, a drag operation on the spliced ​​target screen capture thumbnail is received, and the spliced ​​target screen capture thumbnail is generated from a thumbnail corresponding to a currently displayed content of Didi Chuxing in the window display area 202 and a thumbnail corresponding to a currently displayed content of WeChat in the window display area 201. The drag operation is an operation of moving the target screen capture thumbnail by using a touch control point. The target screen capture thumbnail is controlled to be shared with or inserted into the WeChat application in the window display area 201 based on the drag operation.

[0137] In this embodiment of the application, the electronic device may further determine a first touch control operation among the multiple touch control operations received by the touch sensor 180K, and determine whether all of the starting positions of the multiple touch control points during the movement by the first touch control operation are located in the target split screen in the first screen. If located in the target split screen, the current display content of the target split screen is captured as a first screenshot. Therefore, in this way, after determining that all of the starting positions of the multiple touch control points are located in the same screen, it is possible to directly capture a screenshot of a single screen from multiple windows. This can achieve the purpose of flexible and quick capture of screenshots of the target split screen area, so that the user can capture screenshots in a relatively short time. In addition, there is no need to first capture the entire display, and then place the obtained screenshot of the entire screen in the picture editing software to manually remove the display information of other screens in the screen capture picture, thereby simplifying the screenshot taking operation for the user.

[0138] Scenario 2: Application scenario of taking screenshots of the whole screen (all the starting positions of multiple touch control points during movement are not located within the target split screen in the first screen)

[0139] 3A is a schematic diagram of another user interface having multiple windows according to an embodiment of the present application. The user interface includes a QQ window 301, a Didi Chuxing window 302, and a news push window 303. The user interface may further include more or less other windows, but is not limited thereto. The other applications may be instant messaging software, such as WeChat or MSN, entertainment and video software, such as iQiyi, Tencent Video, and Youku, and auxiliary tool applications that come with the system of the electronic device, such as calculators, calendars, and settings.

[0140] 3A, user interface 30 may include a window display area 301, a window display area 302, a window display area 303, a window size control 305, and a status bar 306. The electronic device used by the local user is electronic device 100.

[0141] The window display areas 301-303 are used to display content of multiple different applications within the electronic device (or electronic device 100) and are capable of receiving and responding to user touch control operations in the window display areas 301-303.

[0142] The window size control 305 is used to adjust the proportions of the windows in the user interface. The electronic device 100 may detect a touch control operation performed on the window size control 306 (e.g., a drag operation on the window size control 306). In response to the operation, the electronic device 100 may adjust the size of the current windows 302 and 303.

[0143] The status bar 306 may include a carrier indicator (e.g., the carrier name "China Mobile"), one or more signal strength indicators for a wireless fidelity (Wi-Fi) signal, one or more signal strength indicators for a mobile communication signal (which may also be referred to as a cellular signal), a time indicator, and a battery status indicator, etc.

[0144] In this scenario, the first screen of the electronic device used by the user is divided into three split screen regions, namely, the window display region 301 is used to display the main interface of QQ, the window display region 302 is used to display the Didi Chuxing interface, and the window display region 303 is used to display the news push interface. In addition to the screen capture performed by pressing a key combination or controlled by using a finger knuckle in the existing technology, when the user needs to share the entire screen including both the QQ interface and the news push interface with the QQ contacts, this can also be implemented by using the first touch control operation. The starting positions of the multiple touch control points during the movement by the first touch control operation are located in multiple split screen windows, for example, located in both the QQ window and the Didi Chuxing window.

[0145] Based on the above application scenarios, the following description describes some of the UI embodiments implemented by electronic device 100.

[0146] When a screenshot of a display content in the user interface 30 (i.e., the QQ window, the Didi Chuxing window, and the news push window) needs to be shared with the window display area 201 (i.e., the QQ window), the electronic device 100 can receive a touch control operation, determine a first touch control operation, and then determine to capture the user interface 30 based on the starting positions of the multiple touch control points included in the first touch control operation to obtain a third screenshot, and finally save the third screenshot, and share the third screenshot.

[0147] A detailed description is provided from several aspects below.

[0148] (1) How to determine the screen capture operation

[0149] FIG. 3B is a schematic diagram of another user's operation identified as a first touch control operation according to one embodiment of this application. The electronic device 100 shown in FIG. 3B further includes a picture switching control 304. The picture switching control 304 is used to display a captured picture of the electronic device 100 during screen capture, and may also be used to share a picture by tapping. The electronic device 100 can detect a touch control operation performed on the picture switching control 307 (e.g., a drag operation on the picture switching control 307). In response to the operation, the electronic device 100 can control the picture to be shared with or inserted into a window in which the end position of the movement of the drag operation is located.

[0150] 3B, the electronic device 100 can detect a user's touch control operation by using the touch sensor 180K (e.g., the touch sensor 180K identifies a movement operation performed by the user on a plurality of touch control points in the window display region 202). In response to the touch control operation, the electronic device 100 can identify a movement trajectory of the movement operation.

[0151] In a specific implementation, when the touch sensor 180K detects the user's touch control operation, the duration of the touch control operation, the trajectory of the movement, the number of touch control points (such as three touch control points or four touch control points), and the positional relationship of the start and end positions of the multiple touch control points to the split screen are changed, and a corresponding signal (including the value of the pressure generated by the movement operation on the electronic device) is generated. The signals generated by the multiple different touch control operations may be captured by a sensor of the electronic device 100 (such as a touch sensor, an acceleration sensor, an impact sensor, a vibration sensor, an acoustic sensor, a displacement sensor, or a velocity sensor). The touch sensor 180K detects the movement distance of the user's touch control operation and determines whether the movement distance is greater than a first preset distance threshold. If the movement distance is greater than the first preset distance threshold, the electronic device 100 may determine that the touch control operation is a first touch control operation. Therefore, the electronic device 100 determines the specific touch control operations used by the user based on the captured signal, and then determines whether the user's touch control operation detected by the touch sensor 180K is a first touch control operation (i.e., a movement operation in which the touch control points move a distance equal to or greater than a first preset distance threshold in the window display area 202). When determining that the user's touch control operation detected by the touch sensor 180K is the first touch control operation, the electronic device 100 then determines whether all of the starting positions of the touch control points included in the first touch control operation are located within the window display area 202, and if so, captures the currently displayed content of the window display area 202 as a first screenshot. In this case, the electronic device 100 may indicate that the user's touch control operation detected by the touch sensor 180K is a first touch control operation by marking and / or vibration to the user interface (e.g., by illuminating the movement path of the touch control operation, thickening a border, or adding a shadow).

[0152] In a specific implementation, there may be other ways to identify the user's operation as the first touch control operation by using the touch sensor 180K, without being limited to the above listed ways. For example, the electronic device 100 may alternatively identify the user's operation on the first screen by using an infrared sensor, etc., although not limited in this embodiment of the application.

[0153] (2) How to determine which screen content is to be captured

[0154] 3C and 3D show a group of user interfaces capturing display content of a first screen as a picture and sharing the display content by using a first touch control operation according to one embodiment of this application.

[0155] As shown in Fig. 3C, the electronic device 100 may respond to a user's operation performed on the touch sensor 180K in an embodiment corresponding to Fig. 2B. The electronic device 100 may identify whether the user's operation is a movement operation in which the touch control points move in the user interface by a distance equal to or greater than a first preset distance threshold, and determine the starting positions of the touch control points of the user's movement detected by the touch sensor 180K to determine whether the user's operation is intended to capture the current display content of the target split screen or the current display content of the entire user interface. Then, when all of the starting positions of the touch control points of the movement detected by the touch sensor 180K are not located within the window display area 202, i.e., when the starting positions of the movement trajectories corresponding to the touch control points are located within the split screens, the current display content of the user interface 20 is accordingly captured as a third screenshot based on the user's operation detected by the touch sensor 180K. 3D shows a user interface for viewing, saving and sharing screen capture thumbnails according to an embodiment of this application. For the manner of saving and sharing the third screenshot, please refer to the relevant descriptions in the above embodiments and the following method embodiments. Details will not be described repeatedly in this specification.

[0156] In one possible implementation, FIG. 3E(1) and FIG. 3E(2) show another group of user interfaces according to one embodiment of this application, in which the display content of the first screen is captured as a picture by using a first touch control operation. When a user performs a multi-window operation by using a large-screen device, if the start position of the first touch control operation detected by the touch sensor 180K, i.e., the operation of sliding down with three fingers, spans multiple windows, the electronic device 100 captures the content of multiple windows. For example, as shown in FIG. 3E(1), if the start position spans application A and application B, the electronic device 100 may take a screenshot of all the current display content of the split screen in the first screen, i.e., take a screenshot of application A and application B. FIG. 3E(2) shows the captured third screenshot, which is a screenshot of the entire screen.

[0157] In this embodiment of the application, the electronic device first determines whether all the starting positions of the multiple touch control points during the movement by the first touch control operation are located in the target split screen in the first screen. If they are not located in the target split screen, specifically, if the starting positions of the multiple touch control points during the movement by the first touch control operation are located in the area of ​​at least two split screens, capture all the current display contents of the split screens in the first screen as the third screenshot. Therefore, when a user needs to capture the display contents of the entire screen, the user only needs to place the starting positions of the multiple touch control points during the movement in the area of ​​at least two split screens, and can take a screenshot of the first screen. This avoids the problem of cumbersome screen capture operation and relatively long screen capture time for the user, thereby improving the user experience during screen capture.

[0158] Scenario 3: Long screen capture application scenario

[0159] 4A is a schematic diagram of yet another user interface having multiple windows according to an embodiment of the present application. The user interface includes a WeChat window 401, a Didi Chuxing window 402, and a news push window 403. The user interface may further include more or less other windows, but is not limited thereto. The other applications may be instant messaging software, such as QQ or MSN, entertainment and video software, such as iQiyi, Tencent Video, and Youku, and auxiliary tool applications that come with the system of the electronic device, such as calculators, calendars, and settings.

[0160] 4A, user interface 40 may include a window display area 401, a window display area 402, a window display area 403, a window size control 404, and a status bar 405. The electronic device used by the local user is electronic device 100.

[0161] The window display areas 401-403 are used to display content of multiple different applications within the electronic device (or electronic device 100) and are capable of receiving and responding to user touch control operations in the window display areas 401-403.

[0162] The status bar 405 may include a carrier indicator (e.g., the carrier name "China Mobile"), one or more signal strength indicators for wireless fidelity (Wi-Fi) signals, one or more signal strength indicators for mobile communication signals (which may also be referred to as cellular signals), a time indicator, and a battery status indicator.

[0163] In this scenario, the first screen of the electronic device used by the user is divided into three split screen areas: window display area 401 is used to display the WeChat main interface, window display area 402 is used to display the Didi Chuxing interface, and window display area 403 is used to display the news push interface. If a user needs to share a long screen capture of the Didi Chuxing interface displayed in window display area 402 with a WeChat contact, but the long screen capture does not include the WeChat interface and the news push interface, the following three operation modes can be implemented:

[0164] Based on the above application scenarios, the following description describes some of the UI embodiments for performing long screen capture implemented by electronic device 100.

[0165] When the window display area 401 (i.e., WeChat window) and the long screenshot of the window display area 402 (i.e., Didi Chuxing window) need to be shared, the electronic device 100 may first determine the type of user's operation that triggers the operation of performing a long screen capture. When the multiple touch control points move a distance length equal to or greater than a second preset distance threshold during the movement in the target split screen, the long screen capture of the split screen area of ​​the target split screen is performed, where the second preset distance threshold is greater than the first preset distance threshold, and the ratio between the second preset distance threshold and the height of the target split screen is greater than the preset ratio threshold. Alternatively, when the first touch control operation for the target split screen is received again within a second time period after receiving the first touch control operation, the long screen capture of the split screen area of ​​the target split screen is performed. Alternatively, when the first touch control operation includes four touch control points, the long screen capture of the split screen area of ​​the target split screen is performed. Do .

[0166] (1) When the multiple touch control points of the first touch control operation move a distance length equal to or greater than a second preset distance threshold during movement within the target split screen, the electronic device performs a long screen capture of the target split screen.

[0167] 4B and 4C are schematic diagrams of a group of user interfaces for performing long screen capture according to one embodiment of the present application. 100 The display 100 further includes a window size control 404. The window size control 404 is used to adjust the proportions of the windows in the user interface. The electronic device 100 can detect a touch control operation performed on the window size control 406 (e.g., a drag operation on the window size control 406). In response to the operation, the electronic device 100 can adjust the size of the current windows 401 and 402.

[0168] When the touch control points move a distance length equal to or greater than the second preset distance threshold during movement in the target split screen, the electronic device performs a long screen capture of the target split screen. In addition to the current display content of the target split screen, the scope of the screenshot of the long screen capture may further include the display content of the next page of the target split screen, and the display content of the next page is directly proportional to the portion of the moving distance of the touch control points that exceeds the second preset threshold during movement in the target split screen. It should be noted that the second preset distance threshold is greater than the first preset distance threshold, and the ratio between the second preset distance threshold and the height of the target split screen is greater than the preset ratio threshold. The height of the target split screen may be understood as the side length of the target split screen along the moving direction of the touch control points in the target split screen. For the manner of saving and sharing the third screenshot, reference should be made to the relevant descriptions in the above embodiments and the following method embodiments. Details will not be described repeatedly in this specification.

[0169] (4) performing a long screen capture when the electronic device again receives a first touch control operation on the target split screen within a second time period after receiving the first touch operation;

[0170] 4D and 4E are schematic diagrams of another group of user interfaces for performing long screen capture according to an embodiment of the present application.

[0171] After the electronic device 100 detects the first touch control operation by using the touch sensor 180K, when the electronic device 100 detects the first touch control operation on the target split screen again by using the touch sensor 180K in the second time period, the electronic device 100 performs a long screen capture of the target split screen. In addition to the current display content of the target split screen, the scope of the screenshot of the long screen capture may further include the content of the long screen capture, which changes according to the number of first touch control operations consecutively received in the second time period. For example, add the display content of the next page of the target split screen to the current display content every time another first touch control operation is received in the second time period. It can be understood that the long screen capture includes more display content of the target split screen when a larger number of first touch control operations are received in the second time period until all of the display content of the target split screen is captured. For the manner of saving and sharing the third screenshot, reference should be made to the relevant descriptions in the above embodiments and the following method embodiments. Details are not repeated in this specification.

[0172] (3) When the first touch control operation includes four touch control points, the electronic device performs a long screen capture of the target split screen.

[0173] 4F and 4G are schematic diagrams of a user interface having multiple windows according to an embodiment of the present application.

[0174] When the electronic device 100 detects that the first touch control operation includes four touch control points by using the touch sensor 180K, the electronic device 100 performs a long screen capture of the target split screen. In addition to the current display content of the target split screen, the range of the screenshot of the long screen capture may further include the display content of the next page of the target split screen, where the display content of the next page is directly proportional to the time that the four touch control points stay at the end position of the move operation after the move operation is performed, and in the move operation, the four touch control points move a distance of more than a first preset distance threshold in the first screen. Alternatively, in addition to the current display content of the target split screen, the range of the screenshot of the long screen capture may further include the display content of the next page of the target split screen, where the display content of the next page is directly proportional to the multiple pressure values ​​corresponding to the four touch control points at the end position of the move operation after the move operation is performed, and in the move operation, the four touch control points move a distance of more than a first preset distance threshold in the first screen. For example, when a user slides down with four fingers, the longer the four fingers stay at the end position, the more the finally obtained long screenshot corresponds to the display content. In another example, when a user slides down with four fingers, the more the pressure value corresponding to the end position increases, the more the finally obtained long screenshot corresponds to the display content. For the manner of saving and sharing the third screenshot, please refer to the relevant descriptions in the above embodiments and the following method embodiments. Details will not be described repeatedly in this specification.

[0175] It should be noted that the electronic device in this application may be a touch-controlled smart terminal capable of displaying multiple windows within a display area, such as a smart terminal having a display, such as a smart terminal, an in-vehicle smart terminal, a smart TV, or a wearable device, etc. The electronic device may alternatively be a touch-controlled dual-screen terminal, such as a foldable screen terminal, a touch-controlled computer, a tablet, a touch-controlled TV, or a full-screen mobile phone.

[0176] It can be seen that in this embodiment of the present application, the command to perform long screen capture can be triggered based on multiple different operation modes to perform long screen capture of the target split screen.In this way, the long screen capture is performed in various touch control modes.This avoids the problem of cumbersome screen capture operation and relatively long screen capture time for users, thereby improving the user experience during screen capture.

[0177] It can be understood that the above three application scenarios are only some of the exemplary implementations of the embodiments of this application, the application scenarios of the embodiments of this application include but are not limited to the above application scenarios.

[0178] Based on the five scenarios provided by Fig. 2A to Fig. 4G and the embodiments of UI in those scenarios, the following description describes a screen capture method provided by an embodiment of this application. The method may be applied to the electronic device described in Fig. 1A. Fig. 5A is a schematic flowchart of a screen capture method according to an embodiment of this application. Fig. 5B is a schematic flowchart of another screen capture method according to an embodiment of this application. The following description is provided by using an electronic device as an execution entity. The method may include the following steps S501 to S503 as shown in Fig. 5A, and may further include steps S504 to S508 as shown in Fig. 5B.

[0179] Step S501. Determine a first touch control operation.

[0180] Specifically, the electronic device determines a first touch control operation, the first touch control operation being a movement operation, in which a plurality of touch control points move in the first screen by a distance equal to or greater than a first preset distance threshold, the first screen including N split screens, N being a positive integer greater than 1. It can be understood that the electronic device may receive a plurality of touch control operations, and determine a first touch control operation from the plurality of touch control operations, i.e., a movement operation in which a plurality of touch control points move in the first screen by a distance equal to or greater than a first preset distance threshold. The plurality of touch control points are at least two or more touch control points, and the first preset distance threshold needs to reach a preset ratio to the shortest side of the smallest split screen among the N split screens included in the first screen. It can be understood that the first preset threshold may increase the possibility of erroneously triggering an operation if it is too small. In addition, each of the N split screen windows included in the first screen may vary in size. Therefore, the first preset distance threshold needs to reach a preset ratio to the shortest side of the smallest split screen among the N split screens included in the first screen. Otherwise, it is impossible to trigger the screen capture operation, i.e., the first touch control operation. For example, the first preset distance threshold is 1 / 3 of the shortest side of the smallest split screen.

[0181] Step S502: Determine whether all of the starting positions of the multiple touch control points during the movement in the first touch control operation are located within the target split screen in the first screen.

[0182] Specifically, the electronic device determines whether all of the starting positions of the multiple touch control points during the movement in the received first touch control operation are located in the target split screen in the first screen, and the target split screen is any one of the N split screens. It should be noted that the multiple touch control points in the first touch control operation may be generated by the user's touch control by using a finger, or may be generated by the user's operation by using an external touch control tool. The touch control tool includes, but is not limited to, a stylus or a touch control glove, etc. In addition, it should be noted that the number of touch control points may be two or more. Optionally, during the movement, the multiple touch control points may move simultaneously.

[0183] In one possible implementation, a long screen capture of the split screen area of ​​the target split screen is performed when the touch control points move a distance length equal to or greater than a second preset distance threshold during the movement in the target split screen, the second preset distance threshold is greater than the first preset distance threshold, and the ratio between the second preset distance threshold and the height of the target split screen is greater than the preset ratio threshold. Alternatively, a long screen capture of the split screen area of ​​the target split screen is performed when a first touch control operation is received again on the target split screen within a second time period after receiving the first touch control operation. Alternatively, a long screen capture of the split screen area of ​​the target split screen is performed when the first touch control operation includes four touch control points. For example, in this embodiment of the present application, the user is also allowed to perform a long screen capture of a single window. When a user performs a screen capture operation by using a screen capture gesture of sliding down with three fingers, in this embodiment of the application, the number of consecutive gestures of the user of sliding down with three fingers is determined to determine whether the user intends to perform a long screen capture. Alternatively, the end position of the user's screen capture gesture (sliding down with three fingers), i.e., the position where the three fingers leave the screen, is determined to determine whether the user needs to perform a long screen capture. Alternatively, the operation of performing a long screen capture operation may also be triggered when the user slides down with four fingers.

[0184] It can be understood that the electronic device performs a long screen capture of the target split screen when the touch control points move a distance length equal to or greater than the second preset distance threshold during movement in the target split screen. In addition to the current display content of the target split screen, the range of the screenshot of the long screen capture may further include the display content of the next page of the target split screen, and the display content of the next page is directly proportional to the portion of the moving distance of the touch control points that exceeds the second preset threshold during movement in the target split screen. FIG. 5C is a schematic diagram of the operation of performing a long screen capture based on the electronic device 100 according to an embodiment of this application. It should be noted that the second preset distance threshold is greater than the first preset distance threshold, and the ratio of the second preset distance threshold to the height of the target split screen is greater than the preset ratio threshold. The height of the target split screen may be understood as the length of the side of the target split screen along the moving direction of the touch control points during movement in the target split screen. For example, when the start positions of multiple touch control points during movement in the target split screen are at the top of the target split screen and the end positions are at the bottom of the target split screen, a long screen capture of the target split screen is performed.

[0185] It can further be understood that after receiving the first touch control operation, when the electronic device receives again a first touch control operation on the target split screen in the second time period, the electronic device performs a long screen capture of the target split screen. In addition to the current display content of the target split screen, the range of the screenshot of the long screen capture may further include a content of the long screen capture that changes according to the number of first touch control operations successively received in the second time period. For example, the display content of the next page of the target split screen is added to the current display content every time another first touch control operation is received in the second time period. It can be understood that the long screen capture includes more display content of the target split screen when receiving a larger number of first touch control operations in the second time period until capturing all of the display content of the target split screen.

[0186] It can further be understood that when the first touch control operation includes four touch control points, the electronic device performs a long screen capture of the target split screen. In addition to the current display content of the target split screen, the range of the screenshot of the long screen capture may further include the display content of the next page of the target split screen, where the display content of the next page is directly proportional to the time that the four touch control points remain at the end position of the move operation after a move operation is performed, in which the four touch control points move a distance of more than a first preset distance threshold in the first screen. Alternatively, in addition to the current display content of the target split screen, the range of the screenshot of the long screen capture may further include the display content of the next page of the target split screen, where the display content of the next page is directly proportional to the multiple pressure values ​​corresponding to the four touch control points at the end position of the move operation after a move operation is performed, in which the four touch control points move a distance of more than a first preset distance threshold in the first screen. For example, when a user slides down with four fingers, the longer the four fingers stay at the end position, the longer the final screenshot corresponds to more display content. In another example, when a user slides down with four fingers, the longer the final screenshot corresponds to more display content, as the pressure value corresponding to the end position increases.

[0187] Step S503: When all of the start positions of the multiple touch control points during the movement are located within the target split screen in the first screen, capture the current display content of the target split screen as a first screenshot.

[0188] Specifically, when the electronic device determines that all of the starting positions of the touch control points during the movement by the first touch control operation are located in the target split screen in the first screen, the electronic device captures the currently displayed content of the target split screen as the first screenshot. FIG. 5D(1) to FIG. 5D(4) are schematic diagrams of a group of user interfaces taking a screenshot of a single screen and sharing the screenshot with the current split screen according to an embodiment of this application. FIG. 5D(1) illustrates a sliding operation (i.e., a first touch control operation) by three fingers down in a target window (i.e., application B). FIG. 5D(2) illustrates capturing only the current interface of the target window to obtain the first screenshot when three fingers slide down in the target window. The first screenshot may receive a touch control operation (e.g., a drag operation). The first screenshot may also be a thumbnail of the screenshot. FIG. 5D(3) illustrates the first screenshot being shared with application C after receiving a drag operation. FIG. 5D(4) shows a flowchart of the above three figures. Specifically, for example, when a user performs a multi-window operation on a foldable screen device, if the user performs a screen capture operation by using a screen capture gesture of sliding down with three fingers, the application determines the user's intention in advance by determining the starting position of the user's screen capture gesture (sliding down with three fingers). If the starting position of the operation of sliding down with three fingers belongs to the top of a single window, the application performs a screen capture operation on the window. In this way, a screenshot of a single screen is obtained based on whether all the starting positions of multiple touch control points are located in the same screen.This enables a user to flexibly and quickly capture screenshots of a target split-screen area in a multi-window task, so that the user can capture screenshots in a relatively short time and does not need to perform secondary editing through picture editing software, thereby simplifying the screenshot taking operation for the user.

[0189] Optionally, when the electronic device determines that all of the starting positions of the touch control points during the movement are not located in the target split screen in the first screen, the electronic device captures the current display content of the first screen as a third screenshot and saves the third screenshot in the gallery. FIG. 5E(1) to FIG. 5E(3) are schematic diagrams of a group of user interfaces for taking a screenshot of the entire screen and sharing the screenshot with the current split screen according to an embodiment of this application. FIG. 5E(1) shows that a user performs a sliding down operation (i.e., a first touch control operation) with three fingers in at least two windows (i.e., application A and application B). FIG. 5E(2) shows that when the three fingers slide down in the at least two windows, the display content of the current display interface of the first screen is captured to obtain a third screenshot. FIG. 5E(3) shows that a screenshot thumbnail corresponding to application C receives a drag operation and is shared with application A. The end position of the drag operation is the split screen in which application A is located.

[0190] Step S504: If all of the starting positions of the multiple touch control points during the movement are located within the target split screen in the first screen, capture the current display content of the N split screens in the first screen as the corresponding screenshot, and generate a second screenshot.

[0191] Specifically, when the electronic device determines that all of the starting positions of the multiple touch control points during the movement are located in the target split screen in the first screen, the method is such that the second screenshot generated by the electronic device includes screenshots corresponding to N split screens, which are arranged in the second screenshot such that the corresponding split screens are distributed in the first screen, and each of the screenshots corresponding to the N split screens is a thumbnail enabled to receive a touch control operation. It can be understood that when the electronic device determines that all of the starting positions of the multiple touch control points during the movement by the first touch control operation are located in the target split screen in the first screen, the method not only captures the current display content of the target split screen as the first screenshot, but also captures the current display content of the N split screens in the first screen as the corresponding screenshot, and generates a second screenshot. The second screenshot includes screenshots corresponding to N split screens, which are arranged in the second screenshot such that the corresponding split screens are distributed in the first screen, and each of the screenshots corresponding to the N split screens is a thumbnail enabled to receive a touch control operation. Figure 5F(1) to Figure 5F(4) are schematic diagrams of another group of user interfaces for taking a screenshot of a single screen and sharing the screenshot with a current split screen according to one embodiment of this application. Figure 5F(1) shows a sliding operation (i.e., a first touch control operation) by three fingers down in a target window (i.e., application B). Figure 5F(2) shows that when three fingers slide down in the target window, all display contents of the split screen in the current display interface of the first screen are captured to obtain a second screenshot.The second screenshot includes a screenshot thumbnail corresponding to application A, a screenshot thumbnail corresponding to application B, and a screenshot thumbnail corresponding to application C. Each of the three screenshot thumbnails may independently receive a touch control operation (e.g., a drag operation). FIG. 5F(3) shows that the screenshot thumbnail corresponding to application C receives a drag operation. FIG. 5F(4) shows that the screenshot thumbnail corresponding to application C is shared with application B after receiving a drag operation. It should be noted that the first screenshot and the second screenshot float above the first screen, and the first screenshot does not intersect with the second screenshot.

[0192] Optionally, receive a screen capture operation performed by using a knuckle or a screen capture operation performed by pressing a key combination, and capture all currently displayed contents of the split screen in the first screen as a corresponding screenshot based on an indication of the screen capture operation performed by using a knuckle or an indication of the screen capture operation performed by pressing a key combination, and generate a second screenshot. The second screenshot includes screenshots corresponding to N split screens, the screenshots are arranged in the second screenshot such that the corresponding split screens are distributed in the first screen, and each of the screenshots corresponding to the N split screens is a thumbnail enabled to receive a touch control operation. Figures 5G(1) to 5G(4) are schematic diagrams of yet another group of user interfaces for taking a screenshot of a single screen and sharing the screenshot with a current split screen according to an embodiment of this application. Figure 5G(1) illustrates that the electronic device receives a screen capture operation performed by using a knuckle or a screen capture operation performed by pressing a key combination. FIG. 5G(2) shows that after the electronic device receives a screen capture operation performed by using a knuckle or pressing a key combination, it captures all display content of the split screen in the current display interface of the first screen to obtain a second screenshot. The second screenshot includes a screenshot thumbnail corresponding to application A, a screenshot thumbnail corresponding to application B, and a screenshot thumbnail corresponding to application C. Each of the three screenshot thumbnails may independently receive a touch control operation (e.g., a drag operation). FIG. 5G(3) shows that the screenshot thumbnail corresponding to application C receives a drag operation.FIG. 5G(4) shows that the screenshot thumbnail corresponding to application C is shared with application B after receiving a drag operation.

[0193] Step S505. Receive a second touch control operation.

[0194] Specifically, the second touch control operation is an operation of tapping a target screen capture thumbnail in the first screenshot or the second screenshot, and the target screen capture thumbnail is at least one of the screen capture thumbnails corresponding to the N split screens in the first screenshot or the second screenshot. The target screen capture thumbnail included in the second touch control operation may be a plurality of screen capture thumbnails corresponding to the N split screens in the first screenshot or the second screenshot. Thus, based on the second touch control operation, the plurality of screenshots can be spliced ​​into one screenshot. When a graph obtained by splicing the plurality of screenshots together has an irregular shape, the electronic device may automatically fill in the missing parts, so that the spliced ​​graph has a regular geometric shape.

[0195] Step S506. According to the second touch control operation, save the target screen capture thumbnail in the gallery, and delete all the screenshots except the target screen capture thumbnail in the first screenshot or the second screenshot.

[0196] Optionally, if a second touch control operation is not received within a first time period after receiving any one of a first touch control operation, an instruction of a screen capture operation performed by using a finger knuckle, or an instruction of a screen capture operation performed by pressing a key combination, splice all of the screen captures in the second screenshot into one picture and save the picture and the first screenshot in the gallery. Figures 5H(1) to 5H(5) are schematic diagrams of another group of user interfaces for taking a screenshot of the entire screen and sharing the screenshot with a current split screen according to an embodiment of this application. Figure 5H(1) shows that the electronic device receives a screen capture operation performed by using a finger knuckle or a screen capture operation performed by pressing a key combination. Figure 5H(2) shows that the electronic device splices all of the screen captures in the second screenshot into one screenshot because a second touch control operation is not received within a first time period after receiving a screen capture operation performed by using a finger knuckle or a screen capture operation performed by pressing a key combination. The screenshots include a screenshot thumbnail corresponding to application A, a screenshot thumbnail corresponding to application B, and a screenshot thumbnail corresponding to application C. FIG. 5H(3) shows that the thumbnails of the spliced ​​screenshots receive a drag operation. FIG. 5H(4) shows that the thumbnails of the spliced ​​screenshots are shared with application C after receiving a drag operation. FIG. 5H(5) shows the method flowchart of the above four figures.Specifically, when a user performs a multi-window operation on a foldable screen device, if the user captures the screen by using a knuckle or by pressing a key combination, the existing screen capture solution takes screen captures of all the windows in the current screen. In this application, all thumbnails of the windows obtained after the screen capture operation are presented as a picture mosaic in the corner of the screen, and the user can select a screen capture later as needed. If the user does not make a selection within a certain time, the thumbnails of the screen captures of multiple windows are spliced ​​into a whole thumbnail. In this way, all of the screenshots are spliced ​​into one picture and saved in the gallery.

[0197] Step S507: A drag operation on the target screen capture thumbnail is received.

[0198] Specifically, the drag operation is an operation of moving the target screen capture thumbnail by using at least one touch control point. When a user performs a multi-window operation by using a foldable screen device and wants to insert a screenshot of application B into application C, the user only needs to start from the top of the window in application B and slide down with three fingers to take a screen capture of the interface of application B. When dragging the screen capture thumbnail of application B and then dropping the thumbnail into the window of application C, the screenshot can be inserted into application C to complete the content sharing, such as the operation shown in FIG. 5D(2), the operation shown in FIG. 5E(2), the operation shown in FIG. 5F(3), the operation shown in FIG. 5G(3), and the operation shown in FIG. 5H(3), etc.

[0199] Step S508: Based on the drag operation, control the target screen capture thumbnail to be shared with or inserted into the split screen region where the end position of the movement of the drag operation is located.

[0200] Specifically, the electronic device may control the target screen capture thumbnail based on the drag operation so that the target screen capture thumbnail is shared with or inserted into the split screen area where the end position of the movement of the drag operation is located, such as in the cases shown in FIG. 5D(3), FIG. 5E(3), FIG. 5F(4), FIG. 5G(4), and FIG. 5H(4). FIG. 5I(1) and FIG. 5I(2) are schematic diagrams of a group of user interfaces for taking a screenshot of a single screen and sharing the screenshot with an application included in the current interface in an actual application according to one embodiment of this application. FIG. 5I(1) shows an operation of sliding down with three fingers in the split screen where the gallery is located. FIG. 5I(2) shows that after sliding down with three fingers in the split screen where the gallery is located, the display content of the gallery is captured, a first screenshot is obtained, the first screenshot is dragged, and the screenshot is shared with the split screen where the phone contact is located, and the screenshot is inserted into the phone contact.

[0201] In this embodiment of the application, the electronic device may determine a first touch control operation from the multiple received touch control operations, and determine whether all of the starting positions of the multiple touch control points during the movement by the first touch control operation are located in the target split screen in the first screen. If located in the target split screen, the electronic device captures the current display content of the target split screen as the first screenshot, and captures the current display content of the first screen to generate a second screenshot. Otherwise, the electronic device captures the current display content of the first screen as the third screenshot. Therefore, in this way, after determining that all of the starting positions of the multiple touch control points are in the same screen, it is possible to directly capture a screenshot of a single screen from multiple windows. This can achieve the purpose of flexibly and quickly capturing screenshots of the target split screen area, so that the user can capture screenshots in a relatively short time. In addition, there is no need to first capture the entire display, place the obtained screenshot of the entire screen in a picture editing software, and manually remove the display information of other screens in the screen capture picture, thereby simplifying the screenshot taking operation for the user.

[0202] In the above embodiments, the description of each embodiment has its own focus. For parts not described in detail in the embodiments, reference may be made to related descriptions in other embodiments.

[0203] It should be noted that for simplicity of description, the above method embodiments are expressed as a series of operations. However, according to this application, some of the steps can be performed in other orders or simultaneously, so those skilled in the art should understand that this application is not limited to the order of operations described. In addition, those skilled in the art should also understand that all of the embodiments described in the specification are exemplary embodiments, and the associated operations and modules are not necessarily essential to this application.

[0204] It should be understood that the devices disclosed in some of the embodiments provided by this application may be implemented in other ways. For example, the embodiment of the device described is only one example. For example, the division of units is only a logical division of functions, and other division methods may be used in actual implementation. For example, multiple units or components may be combined or integrated into other systems, or some of the features may be ignored or not implemented. In addition, the mutual coupling, direct coupling, or communication connection shown or described may be implemented by using some of the interfaces. Indirect coupling or communication connection between multiple devices or multiple units may be implemented by electrical form or other form.

[0205] The units described as separate parts may or may not be physically separated, and the parts shown as units may or may not be multiple physical units, may be located in one place, or may be distributed across multiple network units. According to actual requirements, some or all of the units can be selected to achieve the objectives of the solutions of the embodiments.

[0206] In addition, the functional units in the embodiments of this application may be integrated into one processing unit, or each of the units may exist physically alone, or two or more units may be integrated into one unit. The integrated unit may be implemented in the form of hardware or a software functional unit.

[0207] When an integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, the integrated unit may be stored in a computer-readable storage medium. Based on such understanding, the technical solutions of this application may be essentially or in part contributing to the prior art, or all or a part of the technical solutions may be implemented in the form of a software product. The computer software product is stored in a storage medium and includes some instructions, which instruct a computer device (which may be a personal computer, a server, or a network device, and may be a processor in the computer device in particular) to execute all or a part of the steps of the methods described in the embodiments of this application. The storage medium may include various media, such as a USB flash drive, a removable hard disk, a magnetic disk, an optical disk, a read-only memory (abbreviated as ROM), or a random access memory (abbreviated as RAM), capable of storing program code.

[0208] In summary, the above embodiments are only intended to describe the technical solutions of this application, and are not intended to limit this application. Although this application has been described in detail with reference to the above embodiments, those skilled in the art should understand that, without departing from the spirit and scope of the technical solutions of the embodiments of this application, they may further modify the technical solutions described in the above embodiments, or make equivalent substitutions for some of the technical features thereof.< / canvas> < / video> < / videoview> < / imgview> < / textview>

Claims

1. A screen capture method comprising the steps of: determining a first touch control operation, the first touch control operation being a movement operation, in which a plurality of touch control points move in a first screen a distance equal to or greater than a first preset distance threshold, the first screen including N split screens, N being a positive integer greater than 1; determining whether all of the start positions of the plurality of touch control points during the movement by the first touch control operation are located within a target split screen in the first screen, the target split screen being any one of the N split screens; capturing a currently displayed content of the target split screen as a first screenshot when all of the starting positions of the plurality of touch control points during the movement are located within the target split screen in the first screen; capturing a currently displayed content of the first screen as a third screenshot when all of the starting positions of the plurality of touch control points during the movement are not located within the target split-screen in the first screen. method.

2. When the first screenshot is a thumbnail and all of the start positions of the touch control points during the movement are located within the target split screen in the first screen, the method includes: capturing the currently displayed contents of the N split screens in the first screen as corresponding screenshots; 2. The method of claim 1, further comprising: generating a second screenshot, the second screenshot including the screenshots corresponding to the N split screens, the screenshots being arranged in the second screenshot such that the corresponding split screens are distributed among the first screen, and each of the screenshots corresponding to the N split screens is a thumbnail enabled to receive a touch control operation.

3. the first screenshot being a thumbnail, and the method further comprising: receiving a screen capture operation performed by using a knuckle or by pressing a combination of keys; based on an indication of the screen capture operation performed by using a knuckle or an indication of the screen capture operation performed by pressing a key combination, capturing all currently displayed contents of the split screen in the first screen as a corresponding screenshot; 2. The method of claim 1, further comprising: generating a second screenshot, the second screenshot including screenshots corresponding to the N split screens, the screenshots being arranged in the second screenshot such that the corresponding split screens are distributed among the first screen, and each of the screenshots corresponding to the N split screens is a thumbnail enabled to receive touch control operations.

4. The method comprises: receiving a second touch control operation, the second touch control operation being an operation of tapping a target screen capture thumbnail in the first screenshot or the second screenshot, the target screen capture thumbnail being at least one of the screen capture thumbnails corresponding to the N split screens in the first screenshot or the second screenshot; 4. The method of claim 3, further comprising: saving the target screen capture thumbnail in a gallery based on the second touch-control operation; and deleting all screenshots except the target screen capture thumbnail in the first screenshot or the second screenshot.

5. The method comprises: receiving a drag operation on the target screen capture thumbnail, the drag operation being an operation of moving the target screen capture thumbnail by using at least one touch control point; 5. The method of claim 4, further comprising: based on the drag operation, controlling the target screen capture thumbnail to be shared with or inserted into a split screen region in which an end position of the drag operation movement is located.

6. The method comprises:

5. The method of claim 4, further comprising: if the second touch-control operation is not received within a first time period after receiving any one of the first touch-control operation, the indication of the screen capture operation performed by using a knuckle, or the indication of the screen capture operation performed by pressing a key combination, splicing all of the screen captures in the second screenshot into one picture and saving the picture and the first screenshot in the gallery.

7. The method comprises: performing a long screen capture of a split screen area of ​​the target split screen when the touch control points move a distance length equal to or greater than a second preset distance threshold during movement on the target split screen, the second preset distance threshold being greater than the first preset distance threshold, and a ratio between the second preset distance threshold and a height of the target split screen being greater than a preset ratio threshold; or performing a long screen capture of a split-screen area of ​​the target split screen when the first touch control operation is received again on the target split screen within a second time period after receiving the first touch control operation; or The method of claim 1 , further comprising: performing a long screen capture of a split-screen area of ​​the target split screen when the first touch-control operation includes four touch control points.

8. An electronic device including one or more processors, a memory, a display, and one or more keys, The memory, the display, and the one or more keys are coupled to the one or more processors, the memory configured to store computer program code, the computer program code including computer instructions, and the one or more processors execute the computer instructions to: an operation of determining a first touch control operation, the first touch control operation being a movement operation in which a plurality of touch control points move within a first screen a distance equal to or greater than a first preset distance threshold, the first screen including N split screens, N being a positive integer greater than 1; an operation of determining whether all of the start positions of the plurality of touch control points during the movement by the first touch control operation are located within a target split screen in the first screen, the target split screen being any one of the N split screens; and capturing a currently displayed content of the target split screen as a first screenshot when all of the starting positions of the plurality of touch control points during the movement are located within the target split screen in the first screen; and capturing a currently displayed content of the first screen as a third screenshot if all of the starting positions of the plurality of touch control points during the movement are not located within the target split-screen in the first screen. Electronic devices.

9. the first screenshot is a thumbnail, and the processor further comprises: When all of the start positions of the plurality of touch control points during the movement are located within the target split screen in the first screen, capture the current display content of the N split screens in the first screen as a corresponding screenshot; and 9. The electronic device of claim 8, further comprising: generating a second screenshot, the second screenshot including the screenshots corresponding to the N split screens, the screenshots being arranged in the second screenshot such that the corresponding split screens are distributed among the first screen, and each of the screenshots corresponding to the N split screens is a thumbnail enabled to receive a touch control operation.

10. the first screenshot is a thumbnail, and the processor further comprises: receiving a screen capture operation performed by using a knuckle or by pressing a combination of keys; Based on an indication of the screen capture operation performed by using a knuckle or by pressing a key combination, capture all currently displayed content of the split screen in the first screen as a corresponding screenshot; and 9. The electronic device of claim 8, configured to generate a second screenshot, the second screenshot including screenshots corresponding to the N split screens, the screenshots being arranged in the second screenshot such that the corresponding split screens are distributed among the first screen, and each of the screenshots corresponding to the N split screens is a thumbnail enabled to receive a touch control operation.

11. The processor further comprises: receiving a second touch control operation, the second touch control operation being an operation of tapping a target screen capture thumbnail in the first screenshot or the second screenshot, the target screen capture thumbnail being at least one of the screen capture thumbnails corresponding to the N split screens in the first screenshot or the second screenshot; and 11. The electronic device of claim 10, configured to, based on the second touch-control operation, save the target screen capture thumbnail in a gallery and delete all screenshots except the target screen capture thumbnail in the first screenshot or the second screenshot.

12. The processor further comprises: receiving a drag operation on the target screen capture thumbnail, the drag operation being an operation of moving the target screen capture thumbnail by using at least one touch control point; and 12. The electronic device of claim 11, configured to control the target screen capture thumbnail to be shared with or inserted into a split screen region in which an end position of a movement of the drag operation is located based on the drag operation.

13. The processor further comprises:

12. The electronic device of claim 11, configured to splice all of the screen captures in the second screenshot into one picture and save the picture and the first screenshot in the gallery if the second touch-control operation is not received within a first time period after receiving any one of the first touch-control operation, the indication of the screen capture operation performed by using a knuckle, or the indication of the screen capture operation performed by pressing a key combination.

14. The processor further comprises: configured to perform a long screen capture of a split screen area of ​​the target split screen when the touch control points move a distance length equal to or greater than a second preset distance threshold during movement on the target split screen, the second preset distance threshold being greater than the first preset distance threshold, and a ratio between the second preset distance threshold and a height of the target split screen being greater than a preset ratio threshold; or performing a long screen capture of a split screen area of ​​the target split screen when the first touch control operation is received again on the target split screen within a second time period after receiving the first touch control operation; or 10. The electronic device of claim 8, configured to: perform a long screen capture of a split-screen area of ​​the target split screen if the first touch control operation includes four touch control points.

15. 8. A computer storage medium having stored thereon a computer program which, when executed by a processor, implements the method of any one of claims 1 to 7.

16. A computer program comprising instructions enabling the computer to carry out the method according to any one of claims 1 to 7, when the computer program is executed by a computer.

Citation Information

Patent Citations

  • A screen shooting method and a terminal device

    CN109388304A

  • Long screen capture method and device, terminal and storage medium

    CN109976655A

  • Information processor, information processing method and information processing program

    JP2012058856A

  • Method and device for generating captured image for display windows

    JP2013175189A

  • Mobile terminal and control method thereof

    US20140313143A1