WO2023207145A1 - Procédé et appareil de capture d'écran, dispositif électronique et support lisible par ordinateur - Google Patents
Procédé et appareil de capture d'écran, dispositif électronique et support lisible par ordinateur Download PDFInfo
- Publication number
- WO2023207145A1 WO2023207145A1 PCT/CN2022/140029 CN2022140029W WO2023207145A1 WO 2023207145 A1 WO2023207145 A1 WO 2023207145A1 CN 2022140029 W CN2022140029 W CN 2022140029W WO 2023207145 A1 WO2023207145 A1 WO 2023207145A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- screenshot
- area
- display area
- image
- target display
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 75
- 238000012545 processing Methods 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 9
- 238000003825 pressing Methods 0.000 claims description 7
- 238000001514 detection method Methods 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 34
- 230000006870 function Effects 0.000 description 15
- 238000012790 confirmation Methods 0.000 description 12
- 238000007667 floating Methods 0.000 description 7
- 230000009471 action Effects 0.000 description 6
- 238000005452 bending Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 230000007547 defect Effects 0.000 description 3
- 238000011161 development Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 230000009977 dual effect Effects 0.000 description 2
- 238000003780 insertion Methods 0.000 description 2
- 230000037431 insertion Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 230000008685 targeting Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
- G06F3/04883—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Definitions
- the present application relates to the technical field of mobile terminals, and more specifically, to a screen capture method, device, electronic equipment and computer-readable medium.
- This application proposes a screenshot method, device, electronic equipment and computer-readable medium to improve the above defects.
- embodiments of the present application provide a method for taking screenshots, which is applied to an electronic device.
- the method includes: detecting a specified touch operation gesture when the electronic device is in a target display state, wherein the target display state In this state, the display interface of the electronic device includes multiple display areas; determining one or more target display areas selected from the multiple display areas according to the designated touch operation gesture; and Display content and perform a screenshot operation.
- embodiments of the present application also provide a screen capture device, which is applied to electronic equipment.
- the device includes: a detection unit, a determination unit and a screen capture unit.
- a detection unit configured to detect a specified touch operation gesture when the electronic device is in a target display state, wherein the display interface of the electronic device in the target display state includes multiple display areas.
- a determining unit configured to determine one or more target display areas selected from the plurality of display areas according to the specified touch operation gesture.
- a screenshot unit is used to perform a screenshot operation on the display content in the target display area.
- embodiments of the present application further provide an electronic device, including: one or more processors; a memory; and one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, the one or more application programs are configured to execute the above method.
- embodiments of the present application further provide a computer-readable medium.
- the readable storage medium stores program code executable by a processor.
- the processor executes the above method.
- embodiments of the present application also provide a computer program product, including a computer program/instruction, which implements the above method when executed by a processor.
- Figure 1 shows a schematic diagram of multiple display areas of a single-screen terminal provided by an embodiment of the present application
- Figure 2 shows a schematic diagram of multiple display areas of a single-screen terminal provided by another embodiment of the present application
- Figure 3 shows a schematic diagram of a folding screen terminal provided in an embodiment of the present application
- Figure 4 shows an expanded schematic diagram of a folding screen terminal provided by an embodiment of the present application
- Figure 5 shows a schematic diagram of multiple display areas of a folding screen terminal provided by an embodiment of the present application
- Figure 6 shows a schematic diagram of multiple display areas of a folding screen terminal provided by another embodiment of the present application.
- Figure 7 shows a method flow chart of a screenshot method provided by an embodiment of the present application.
- Figure 8 shows a method flow chart of a screenshot method provided by another embodiment of the present application.
- Figure 9 shows a schematic diagram of a touch operation gesture provided by an embodiment of the present application.
- Figure 10 shows a schematic diagram of a touch operation gesture provided by another embodiment of the present application.
- Figure 11 shows a schematic diagram of a touch operation gesture provided by yet another embodiment of the present application.
- Figure 12 shows a schematic diagram of the sliding end position of a touch operation gesture provided by an embodiment of the present application
- Figure 13 shows a schematic diagram of a screenshot provided by an embodiment of the present application.
- Figure 14 shows a schematic diagram of a screenshot editing interface provided by an embodiment of the present application.
- Figure 15 shows a schematic diagram of the sliding end position of a touch operation gesture provided by another embodiment of the present application.
- Figure 16 shows a schematic diagram of a screenshot frame provided by an embodiment of the present application.
- Figure 17 shows a schematic diagram of a preset control provided by an embodiment of the present application.
- Figure 18 shows a schematic diagram of preset operations for preset controls provided by an embodiment of the present application.
- Figure 19 shows a schematic diagram of a first specified operation for a preset control provided by another embodiment of the present application.
- Figure 20 shows a schematic diagram of operations for preset controls and screenshot boxes provided by another embodiment of the present application.
- Figure 21 shows a schematic diagram of a second designated operation for a preset control provided by another embodiment of the present application.
- Figure 22 shows a method flow chart of a screenshot method provided by yet another embodiment of the present application.
- Figure 23 shows a schematic diagram of a screenshot provided by another embodiment of the present application.
- Figure 24 shows a schematic diagram of a user's drag operation on a thumbnail provided by an embodiment of the present application
- Figure 25 shows a schematic diagram of displaying content in a designated display area after a user drags a thumbnail according to an embodiment of the present application
- Figure 26 shows a schematic diagram of a user's drag operation on a thumbnail provided by another embodiment of the present application.
- Figure 27 shows a schematic diagram of displaying content in a designated display area after a user drags a thumbnail according to another embodiment of the present application
- Figure 28 shows a module block diagram of a screenshot device provided by an embodiment of the present application.
- Figure 29 shows a module block diagram of an electronic device provided by an embodiment of the present application.
- Figure 30 shows a module block diagram of a computer-readable medium provided by an embodiment of the present application.
- Figure 31 shows a module block diagram of a computer product provided by an embodiment of the present application.
- Electronic devices are usually provided with a screen, which may be a touch screen, for displaying content and receiving touch operation gestures input by a user.
- a screen which may be a touch screen
- electronic devices can be divided into single-sided screen terminals, double-sided screen terminals and folding screen terminals.
- the screen of the folding screen terminal can be a flexible display screen, and the screen form can be switched from unfolding to folding through hardware structures such as hinges.
- an electronic device with a foldable screen can be in a folded state or an unfolded state. When in the expanded state, the folding screen can have multiple display areas and display content through multiple display areas. At this time, the size of the entire touch screen is larger.
- the screen of the terminal can display one content through the entire display area of the screen, or display different content in different display areas on the screen.
- the terminal can be divided into single-area display mode and multi-area display mode.
- Display mode in single-area display mode, the entire screen is used as a display area for displaying an interface, while in multi-area display mode, the entire screen is divided into multiple display areas, and each display area displays the area independently.
- each display area can be set as an independent operation area. When the display area receives a touch operation, it is determined that the touch operation is used to operate the area on which the touch operation operates.
- the following shows multiple display areas for different types of terminals. It should be noted that the interface diagram shown in this application is only shown as an example and is not limited to the type of terminal shown. It corresponds to any type of terminal, whether it is folded or folded. screen, single-sided screen, double-sided screen or other types of screens, as long as the terminal has a touch screen and the touch screen can be divided into multiple display areas to independently display content, it is applicable to the methods and devices mentioned in the embodiments of this application .
- the electronic device 10 shown in Figure 1 is a single-screen terminal.
- the electronic device 10 is in a split-screen mode.
- the electronic device is divided into multiple display areas, wherein the Multiple refers to at least two, and the multiple display areas do not overlap each other.
- the electronic device 10 displays two interfaces, namely the first interface 11 and the second interface 12.
- the two interfaces correspond to two interfaces. Different display areas, the two display areas of the first interface 11 and the second interface 12 do not overlap each other, and the first interface 11 and the second interface 12 each independently display the content that needs to be displayed.
- the first interface 11 and the second interface 12 can be The first interface 11 and the second interface 12 correspond to interfaces of different application programs.
- the first interface 11 is a video playback interface of a certain video application program
- the second interface 12 is an interface of a social application program.
- it can be
- the first interface 11 and the second interface 12 are both in the active state, or one of the interfaces is in the active state.
- the first interface 11 is playing a video
- the first interface 11 is in the active state
- the second interface 12 is in the active state. On hold.
- the screen of the electronic device 10 shown in FIG. 1 also includes multiple display areas.
- the multiple display areas do not overlap with each other. At least two display areas in each display area overlap with each other.
- area For the overlapping display areas, area. From the operation gestures obtained in the overlapping area, it can be determined that the operation gesture is used to operate the interface in the topmost area in the overlapping area.
- the multiple display areas include the third area 13 and The fourth area 14, where the interface displayed in the third area 13 is a video playback interface, the interface displayed in the fourth area 14 is a chat interface, and the fourth area 14 overlaps with the third area 13, then when the user inputs an operation
- the gesture acts on the fourth area 14
- the operating gesture will be determined by the system as a gesture acting on the chat interface displayed in the fourth area 14 .
- the fourth area 14 can be a floating window. Specifically, the floating window can be dragged, that is, the fourth area 14 can be changed to another display position.
- the electronic device in order to allow users to experience a larger operating area and display area when split-screen, can be a folding screen mobile phone, so that when the electronic device is unfolded, the entire screen display
- the display area is larger than that of a single or dual screen, and in the multi-display area mode, the maximum area that can be used by each window display area of the folding screen is also larger than that of a single or dual screen. big.
- the electronic device 20 is a folding screen terminal, which may include a foldable case assembly 110, a flexible display screen 120, and electronic components (not shown in the figure).
- the electronic components are disposed in the foldable case assembly 110.
- the flexible display screen 120 is laid on the foldable housing assembly 110 .
- the foldable case assembly 110 is used to carry the flexible display screen 120 and protect electronic components at the same time.
- Electronic components may include, but are not limited to, a central processing unit, a memory, a camera, a receiver, a fingerprint module, etc. Specific electronic components may not be limited in the embodiments of this application.
- the foldable housing assembly 110 includes a first housing 111 , a second housing 112 and a rotating shaft mechanism 113 .
- the first housing 111 and the second housing 112 are respectively connected to both sides of the rotating shaft mechanism 113 .
- the second housing 112 can be folded or unfolded relative to the first housing 111 through the rotating shaft mechanism 113, so that the foldable housing assembly 110 drives the flexible display screen 120 to fold or unfold, and the foldable housing assembly 110 and the flexible display screen 120 are overlapped.
- the electronic device 100 has a relatively large volume, which is convenient for displaying information.
- the flexible display screen 120 includes a first display part 121 connected to the first housing 111 , a second display part 122 connected to the second housing 112 , and a first display part 121 connected to the second housing 112 . and the bent display portion 123 of the second display portion 122 .
- the first display part 121, the second display part 122 pair and the bent display part 123 can form multiple display areas (for example, form two display areas, form three display areas, form four display areas... form N display areas).
- the first display part 121 and the second display part 122 are folded or unfolded relative to the first housing 111 and the second housing 112 respectively.
- the bending display part 123 is bent or flattened as the first display part 121 and the second display part 122 are folded or unfolded.
- the first display part 121 , the second display part 122 and the bending display part 123 may be an integrated structure, so that the flexible display screen 120 is a one-piece flexible display screen; or, in some other embodiments, , the bending display part 123 is a bendable flexible part, and the first display part 121 and the second display part 122 may be non-flexible parts.
- the first display part 121 and the second display part 122 are connected through the bending display part 123 Fold or unfold relative to each other.
- the first display part 121 and the second display part 122 are separated from each other, so that the electronic device 100 presents an outward-folding screen structure.
- the user can also observe the display content of the flexible display screen 120 when it is folded, which improves the convenience of using the electronic device 100 .
- the first housing 111 and the second housing 112 are overlapped, the first display part 121 and the second display part 122 are close to each other, so that the electronic device 100 presents an inward-folding screen structure. , so that the flexible display screen 120 is protected from scratch damage.
- the above-mentioned naming of the first display part 121 , the second display part 122 and the bending display part 123 is only provided for the convenience of description and does not serve as a structural limitation of the flexible display screen 120 .
- the first display part 121, the second display part 122 and the bending display part 123 may not have obvious boundaries, or the flexible display screen 120 may appear in other divided structures, for example, the flexible display screen 120 includes the first display part 121 And a second display part 122 connected to the first display part 121.
- the first display part 121 and the second display part 122 can rotate relatively to fold or unfold.
- Figure 5 shows a schematic diagram of the multi-display area mode of the folding screen terminal.
- the electronic device 20 is in the split-screen mode, and the screen is divided into a first display area 21 and a second display area. twenty two.
- the first display area 21 and the second display area 22 respectively display the interfaces of different application programs, so that the user can use different applications or different interfaces in two different display areas, as shown in Figure 5
- the displayed display area is similar to the display area shown in Figure 1.
- Each display area does not overlap with each other, and each display area is adjacent to each other.
- Each display area constitutes the entire display area of the screen.
- FIG 6 relative to Figure 5, in the multi-display area mode of the electronic device 20, multiple floating windows are displayed on the screen.
- the multiple floating windows include a first window 23, a second window 24 and the fifth window 25 and the sixth interface 26.
- the first window 23, the second window 24 and the fifth window 25 do not overlap each other.
- the first window 23, the second window 24 and the fifth window 25 are all overlapped with the sixth interface 24.
- the interfaces 26 overlap, that is, the first window 23 , the second window 24 and the fifth window 25 are all suspended above the sixth interface 26 .
- the display screen of the electronic device can display the interface that the user needs to operate or display the content that the user is interested in.
- the electronic device In order to record the displayed content of the page, the electronic device usually takes a screenshot, that is, the content displayed on the screen of the electronic device is saved as a picture. Way.
- multi-display area mode if you want to take a screenshot of a certain area, a common approach is to first take a full-screen screenshot, and the screenshot preview option will appear. Click the preview image to enter the screenshot cropping interface. In this interface, you can freely crop the image and cut out the display content corresponding to the required display area from the full-screen image. It can be seen that this method requires taking a full screenshot and then cropping it, which is too complicated.
- Another way is to take a full-screen screenshot first, and the screenshot preview option will appear. Click the crop function to enter the screenshot cropping interface. Click the split-screen screenshot to quickly crop to the split-screen interface. Compared with the previous method, this method can quickly cut the display content of a split-screen interface. However, you still need to take a full screenshot first. Cutting, the operation is still too complicated.
- embodiments of the present application provide a method for taking screenshots, which can simply and quickly complete taking a screenshot of the display area to be taken by using a gesture on the display area to be taken.
- Figure 7 shows a screenshot method provided by an embodiment of the present application, applied to the above-mentioned electronic device, and the method may include: S701 to S703.
- the electronic device is in a target display state, and the display interface of the screen of the electronic device includes multiple display areas.
- the target display state may be the above-mentioned multi-display area mode, for example, the aforementioned split-screen mode or at least one floating window mode.
- the screen of the electronic device is divided into multiple Display area, each display area can independently display the content that needs to be displayed.
- the target display state may be the first display area 21 and the second display area 22 in the split-screen mode shown in FIG. 5.
- the present application It is not limited to the split-screen mode shown in FIG. 5 , but is only used to illustrate the technical solution of the present application through an example.
- the electronic device can detect the operating gestures acting on the screen. For example, it can detect whether the screen is touched through the onTouchEvent class function of the operating system, thereby detecting the specified touch operating gesture.
- the specified touch The operation gesture may be a touch operation gesture belonging to a specified gesture.
- the specified gesture can be set according to the user's usage needs, and can be a specified sliding trajectory, a specified sliding direction, a specified pressing force, a specified touch duration, a specified touch method (for example, click , double-click, sliding), a specified number of touch points or a specified number of sliding trajectories, etc. Specifically, there is no limit here.
- this gesture can be distinguished from other gestures. This gesture is used as a dedicated gesture for taking screenshots of a certain display area, avoiding confusion with other gestures, and also preventing the user from accidentally touching the screen.
- S702 Determine one or more target display areas selected from the plurality of display areas according to the specified touch operation gesture.
- the implementation of selecting one or more target display areas from the plurality of display areas according to the specified touch operation gesture may be to determine the operation area of the specified touch operation gesture on the screen, All display areas that intersect with the operation area are regarded as target areas.
- the number of target display areas may be one or multiple, and the plurality is at least two, which is not limited here.
- the action position of the specified touch operation gesture For example, you can use event.getX() and event.getY() under the onTouchEvent class of the operating system.
- the function obtains the horizontal and vertical coordinates of the touch position of the specified touch operation gesture, and then determines the action position of the specified touch operation gesture, that is, the operation area of the specified touch operation gesture on the screen.
- first display area 21 and the second display area 22 shown in Figure 5 assume that the corresponding position area of the first display area 21 on the screen is the first position area, and the corresponding position area of the second display area 22 on the screen is is the second location area.
- the location area to which the action position belongs determines whether the action position belongs to the first location area or the second location area, so that the location area corresponding to the touch location of the specified touch operation gesture can be determined.
- Display area that is, the target display area.
- the user inputs a specified touch operation gesture in the first display area 21 in FIG. 5 , thereby determining the target display area to be the first display area 21 .
- S703 Perform a screenshot operation on the display content in the target display area.
- the screenshot operation may be a regional screenshot, a full screenshot, or a scrolling screenshot.
- taking a full screenshot of the target display area means taking a screenshot of all the content currently displayed in the target display area and saving it as an image, rather than taking a screenshot of the entire display content of the screen of the electronic device.
- the screen of the electronic device when the electronic device is in the target display state, the screen of the electronic device includes multiple display areas, and then, when the electronic device detects a specified touch operation gesture, it displays the screen from the multiple display areas.
- the area determines that the specified touch operation gesture corresponds to the target display area, and performs a screenshot operation on the target display area. Therefore, when targeting multiple display areas, the user can input the specified touch operation gesture to trigger the electronic device to start from multiple display areas. Determine the target display area within a display area and take a screenshot of it. The operation is simple and the user experience is high.
- Figure 8 shows a screenshot method provided by another embodiment of the present application, which is applied to the above-mentioned electronic device.
- the method may include: S801 to S810.
- S802 If the specified touch operation gesture is detected, determine one or more target display areas selected from the multiple display areas according to the specified touch operation gesture.
- the electronic device is in a target display state, and the screen of the electronic device includes multiple display areas.
- the multiple display areas may include floating windows or split-screen windows, as shown in Figures 1 and 2 As shown in , 5 and 6, the multiple display areas are not limited to the type of window, and the target display area is not limited to the type of window. It should be noted that even if the target display area is located between a certain floating window However, the target display area still has and displays an area where touch operations can be detected.
- determining the target display area corresponding to the specified touch operation gesture may be that all touch points of the specified touch operation gesture are located in the target display area, or it may be that the starting point and end point of the touch operation gesture are located in the target display area.
- the specified touch operation gesture can be completed with the help of other display areas of the screen. For example, the specified touch operation gesture is to slide out of the specified trajectory. Therefore, the display area outside the target display area of the screen can be used to complete the specified touch operation gesture. After the sliding of the specified trajectory is completed, the starting point and the end point of the specified trajectory are located in the target display area, so that the sliding of the specified trajectory can be completed and the sliding gesture can be corresponding to the target display area.
- a preset proportion of touch points among all touch points of the specified touch operation gesture is located in the target display area, it is determined that the specified touch operation gesture corresponds to the target display area. Specifically, determine The total number of all touch points of the specified touch operation gesture is used as the first number to determine the second number of touch points acting on each display area, based on the first number and the second number corresponding to each display area. Quantity, determine the specified proportion of each display area, for example, use the ratio of the second quantity to the first quantity as the specified ratio, and use the display area with the specified ratio as the preset ratio as the target display area. Among them, the preset proportion can be set according to actual usage requirements, for example, it can be 80%.
- each touch point corresponding to the specified touch operation gesture is detected according to the preset sampling interval, a total of 10 touch points are collected. , among which, if at least 8 touch points are located in the target display area, it can be determined that the specified touch operation gesture corresponds to the target display area.
- the specified touch operation gesture may be a specified sliding trajectory, a specified sliding direction, a specified pressing force, a specified touch duration, a specified touch method (for example, single click, double click, slide). method), a specified number of touch points or a specified number of sliding trajectories, etc.
- this gesture can be distinguished from other gestures, so that this gesture can be used as a special gesture for taking screenshots of a certain display area. It avoids confusion with other gestures and prevents users from accidentally touching the gesture.
- the specified touch operation gesture After detecting the specified touch operation gesture and determining the target display area corresponding to the specified touch operation gesture, it is determined whether the specified touch operation gesture belongs to the specified gesture. If it belongs to the specified gesture, Only under the target display area are qualified to perform a screenshot operation on the target display area, where the specified gesture can be a gesture that satisfies the specified condition, and the specified condition can be a condition determined based on the target display area. For example, the specified condition represents the specified touch operation.
- the gesture's action position is within a preset area within the target display area.
- the designated touch operation gesture may be a double-click operation, and the designated gesture may be a continuous double-click operation in a first designated area of the target display area.
- the first designated area may be the target display area.
- the corner area can be a preset range area based on a corner point of the target display area.
- the corner area can be a lower left corner area, that is, a preset range area based on a corner point of the lower left corner of the target display area.
- the electronic device detects the user's continuous double-clicks in the corner area, and determines that the detected touch operation gesture belongs to the specified gesture.
- the designated touch operation gesture may be a long press operation.
- the designated gesture may be a designated long press operation in the second designated area of the target display area.
- the continuous pressing duration of the designated long press operation is longer than the third designated area.
- a reference duration, wherein the second designated area can be the same as the first designated area, or can be set in the same manner as the first designated area, which will not be described again here.
- the second designated area is the lower left corner area of the target display area.
- the electronic device detects that the user has long pressed in the lower left corner of the target display area, and the long press duration is longer than the first reference duration. , determine that the detected touch operation gesture belongs to the specified gesture.
- the designated touch operation gesture may be a sliding gesture, then the designated gesture is an operating gesture that specifies the sliding direction. Specifically, as shown in Figure 8, it is determined that the designated touch operation gesture Operate the target display area corresponding to the gesture and execute S803.
- the sliding direction may be a sliding trajectory fitted based on the position information of each touch point during the sliding process.
- the sliding direction may be determined based on the sliding trajectory. It may also be It is to obtain the starting position and end position of the touch operation gesture, and use the direction in which the starting position points to the end position as the sliding direction. If the sliding direction is the same as the specified direction, it is determined that the specified touch operation gesture belongs to the specified gesture.
- the designated direction can be set according to actual usage requirements. For example, it can be from the bottom to the top of the screen, or from the left to the right side of the screen.
- the designated direction It may be a direction from the first designated area of the target display area toward the second designated area of the target display area.
- the first designated area may be a corner area
- the second designated area may be a central area.
- the specified direction may be the direction indicated by the dotted arrow in Figure 11. Therefore, if the sliding direction is from the corner area of the target display area toward the center area of the target display area, it is determined that the specified touch Operation gestures are designated gestures.
- the central area of the target display area may be the area where the center point of the target display area is located.
- the starting point of the sliding gesture is located in the corner area of the target display area, and the sliding direction of the sliding gesture is from the corner area of the target display area toward the center area of the target display area, then even if the sliding gesture If the end position is not in the center area of the target display area, but the sliding direction of the sliding gesture is still from the corner area of the target display area toward the center area of the target display area, then the sliding gesture can be determined to be a designated gesture, so that the user can It is not necessary to input a sliding gesture that is too long. As long as the sliding direction satisfies the specified direction (that is, from the corner area of the target display area toward the center area of the target display area), it can be determined that the user has input the specified gesture, thereby simplifying the user process. operation.
- the sliding direction of the sliding gesture meets the specified direction, it can also be determined whether the sliding end position of the sliding gesture is located in the center area. If the sliding direction is from the corner area of the target display area to If the central area of the target display area and the sliding end position of the specified touch operation gesture is located in the central area, it is determined that the specified touch operation gesture belongs to the specified gesture. Based on this, false triggering can be avoided because the user needs to perform a sliding gesture to slide from the corner area to the center area, which can effectively prevent the user's accidental touch gesture on the screen from being misjudged as a designated gesture.
- the specified gesture may include multiple preset gestures, that is, the above-mentioned multiple gestures, for example, a continuous double-click operation in the first specified area of the target display area, a continuous double-click operation in the second specified area of the target display area, The specified long press operation and the sliding operation in the specified direction within the target display area. Then, if the specified touch operation gesture matches at least one preset gesture among the plurality of preset gestures, it is determined that the specified touch operation gesture belongs to the specified gesture.
- the designated gesture can also be other operating gestures, which are not limited here.
- the electronic device can perform a screenshot operation on the display content in the target display area, and the screenshot operation includes part of Screen capture, full screen capture, scrolling screen capture, etc.
- the screenshot image can be directly displayed, and the user can operate the image, for example, save, edit, or share the image.
- a designated interface for the screenshot image can also be directly displayed.
- the designated interface can be a screenshot editing interface, a sending interface, or other interface that can perform specified operations on the screenshot image.
- the execution of the above two different operations can be distinguished by specifying the dwell time of the touch operation gesture at the sliding end position. Specifically, if the specified touch operation gesture belongs to the specified gesture, all monitoring operations are performed. The specified touch operation gesture is described above, and the sliding end position of the specified touch operation gesture is determined. Obtain the duration that the specified touch operation gesture stays at the sliding end position.
- S806 Determine whether the stay duration is less than the preset duration.
- a screenshot operation is directly performed. If the stay time is not less than the preset time, a full screen capture operation is performed on all the displayed content in the target display area to obtain the image to be processed. Then, based on A screenshot image is obtained from the editing operation of the image to be processed.
- the way to obtain the editing operation for the image to be processed may be to display a screenshot editing interface on the display interface of the screen, and the user can input the screenshot editing operation in the screenshot editing interface, or the user may input the screenshot editing operation based on other Screen capture operation of command input, for example, screen capture command input through voice.
- the trigger conditions of the two can also be interchanged, and there is no limitation here.
- the dwell time can be no less than the default duration, triggers the display of the screenshot editing interface, that is to say, the user can maintain the touch operation at the end of the slide for a certain period of time while maintaining the touch state.
- S807 Perform a screenshot operation on the display content in the target display area to obtain a screenshot image.
- the electronic device When the stay time is less than the preset time, the electronic device directly executes S807, that is, performs a screenshot operation on the display content in the target display area to obtain a screenshot image.
- S807 performs a screenshot operation on the display content in the target display area to obtain a screenshot image.
- Figure 12 it can be seen from Figure 11 and Figure 15 that when the user inputs a sliding gesture, when the sliding gesture reaches the center area of the target display area, the sliding end position 1201 is located at the center of the target display area. area, and ends the touch operation.
- the electronic device directly performs a screenshot operation on the display content in the target display area.
- the screenshot operation can be a full screenshot, a regional screenshot, or a scrolling screenshot. Specifically, it can Set according to actual usage requirements.
- different screenshot operations can be performed through the sliding trajectory of the sliding gesture.
- the sliding trajectory of the input sliding gesture may be different, for example, it may be a straight line, Also start the curve.
- different sliding trajectories can be defined to correspond to different screenshot operations. For example, if the sliding trajectory is a straight line, the corresponding screenshot operation is to take a full screenshot of the target display area, that is, to take a full screenshot of the target display area. Take a screenshot. If the sliding trajectory is semi-elliptical, the corresponding screenshot operation is a long screenshot.
- the electronic device After the electronic device determines that the specified touch operation gesture belongs to the specified gesture or determines that the dwell time is less than the preset duration, it enters the long screenshot interface. Based on the user Perform a long screenshot operation on the page selected on the scrolling screenshot interface. Furthermore, if the sliding trajectory is a wavy line, the corresponding screenshot operation is a regional screenshot.
- the electronic device can display a selection box on the display interface of the target display area, and the user operates the selection box to select the area to be screenshot, and enters the confirmation to capture the screenshot. After the instruction, the electronic device performs a regional screenshot operation based on the content selected by the marquee.
- the aforementioned screenshot operation or the screenshot operation based on the sliding trajectory can be performed when the specified touch operation gesture belongs to the specified gesture, or can be performed when it is determined that the dwell time is less than the preset time period. This is not limited.
- the screenshot image corresponding to the screenshot operation can be displayed in the target display area. As shown in Figure 13, for example, assuming that the dwell time is less than the preset time, the electronic device performs a full screen capture operation on all the displayed content in the target display area to obtain a screen capture image, and the thumbnail 1301 of the screen capture image is Displayed in the target display area, for example, the thumbnail 1301 of the screenshot image is displayed in the lower right corner area of the target display area.
- the screenshot is taken as a full screen capture operation, and the obtained screenshot image includes all the display content in the target display area. If the user operates the thumbnail 1301 of the screenshot image at this time, for example, clicks or double-clicks, the screenshot editing interface of the screenshot image can be displayed in the target display area, as shown in Figure 14, the screenshot can be displayed in the screenshot editing interface Edit control, the user operates the screenshot editing button to edit the screenshot image, obtains the edited screenshot image and saves it.
- S808 Perform a full screen capture operation on all display content in the target display area to obtain the image to be processed.
- S809 Display a screenshot editing interface in the target display area, and the image to be processed is displayed in the screenshot editing interface.
- S810 Obtain the screenshot editing operation input by the user based on the screenshot editing interface for the image to be processed to obtain the screenshot image.
- the screenshot editing interface can be displayed directly, or the screenshot editing interface can be displayed after the preset control is displayed.
- the screenshot editing interface may be the interface shown in Figure 14 or other interfaces.
- a full screen capture operation is performed on all displayed content in the target display area, and the screen capture image obtained by the full screen capture operation is named to be processed.
- image and then display a screenshot editing interface in the target display area, and the image to be processed is displayed in the screenshot editing interface.
- the image to be processed and at least one screenshot are displayed in the screenshot editing interface.
- the screenshot editing control may include a screenshot box 1602. The user can modify the size of the image to be processed through the screenshot box. That is to say, the user can select the area to be cropped through the screenshot box on the image to be processed, and perform a cropping operation to obtain The image of the area to be cropped.
- a preset control can also be displayed in the target display area, so that the user can perform a clipping operation or other operations based on the preset control. Therefore, when it is determined that the stay duration is greater than or equal to the preset duration, the screenshot editing interface can be directly displayed in the target display area, and the preset screenshot editing interface can be displayed in at least one display area outside the target display area among the multiple display areas.
- Set control 1601. Specifically, at least one display area other than the target display area among the plurality of display areas may be named a third display area.
- the third display area may be one or multiple. In this embodiment of the present application, considering the size of the screen and the convenience of user operations, there may be one third display area, and the third display area is adjacent to the target display area, that is, the third display area is adjacent to the target display area. .
- whether to display the screenshot editing interface in the target display area may also be determined based on the user's selection based on the preset control. Specifically, as shown in FIG. 17 , after the user inputs a sliding gesture from the corner area of the target display area to the center area of the target display area, after sliding to the center area of the target display area and staying, the user keeps staying at the sliding stay position. The duration is greater than or equal to the preset duration, and then the preset control is displayed in at least one display area outside the target display area among the plurality of display areas.
- the dwell time is greater than or equal to the preset
- the preset control 1601 is displayed in the third display area.
- the screenshot editing interface is not yet displayed in the target display area.
- a screenshot editing interface is displayed in the target display area.
- the preset operation can be a single click, double click, etc. For example, it could be a click action.
- the screenshot editing interface can be directly displayed in the target display area, and the preset control can be displayed in at least one display area other than the target display area in the multiple display areas, or the preset control can be displayed first in the target display area.
- a preset control is displayed in at least one display area outside the target display area among the plurality of display areas, and then, after a preset operation acting on the preset control is detected, a screenshot editing interface is displayed in the target display area. Therefore, no matter which method is adopted, the interface shown in Figure 16 will be displayed, that is, when the screenshot editing interface is displayed in the target display area, the preset controls are displayed in the other display area.
- the preset control can be displayed at any position in the third display area.
- the preset control 1601 is displayed at the bottom of the third display area. Specifically, It may be displayed in the right corner area of the third display area.
- the user can control the target display area to display the screenshot editing interface through the preset control in order to edit the image obtained by the screenshot operation. Specifically, when the first specified touch operation input by the user based on the preset control is detected, The screenshot editing interface displays a screenshot auxiliary tool, and obtains the screenshot area determined by the user based on the screenshot auxiliary tool displayed on the screenshot editing interface on the image to be processed, so as to obtain a screenshot image corresponding to the screenshot area.
- the first designated touch operation may be a single click, double click or long press operation. It should be noted that after the aforementioned preset operation based on the user input for the preset control, the screenshot editing interface is displayed in the target display area.
- the first specified touch operation may be different from the preset operation.
- the preset operation may be a click
- the first specified touch operation may be a long press operation.
- the first specified touch operation may be a long press operation.
- a specified touch operation is a long press operation in which the pressing operation is longer than the specified duration.
- the screenshot auxiliary tool can be displayed on the screenshot editing interface, and the screenshot auxiliary tool can be in Provide the user with a function that guides the screenshot operation, for example, it can be an operation instruction or an operation prompt message, etc.
- the screenshot auxiliary tool can be a screenshot auxiliary line.
- the screenshot auxiliary line divides the screenshot frame into first area and the second area, as shown in Figure 19, the screenshot auxiliary line 1603 can be located in the center area of the target display area.
- the screenshot auxiliary line 1603 can be parallel to the bottom edge or the top edge of the electronic device, and the screenshot auxiliary line 1603 can be located in the center area of the target display area. Line 1603 passes through the center point of the target display area.
- This screenshot auxiliary line 1603 can divide the screenshot frame 1602 into two areas, namely the first area 1901 and the second area 1902, that is, the two areas filled with diagonal lines in the figure. area, the user can adjust the size of the first area 1901 and the second area 1902 by operating at least one of the four edges of the screenshot frame 1602. Specifically, an adjustment operation based on the first area input by the user is obtained, the adjustment operation is used to adjust the area of the first area; and the first area and the second area are adjusted based on the adjustment operation.
- the first area 1901 and the second area 1902 jointly determine the selected area on the image to be processed for the screenshot operation, so that when performing the screenshot operation, the screenshot area jointly determined by the first area 1901 and the second area 1902 can be The image inside is used as a screenshot image.
- the screenshot auxiliary line 1603 can be used as an indicator line for screenshots, so that the user can determine the size difference between the first area 1901 and the second area 1902 through the screenshot auxiliary line 1603 .
- the user can also use the screenshot auxiliary line 1603 as the center line of the entire screenshot frame, and then symmetrical cropping can be achieved. That is to say, after the first area 1901 is adjusted, the adjusted first area The area of 1901 is the same as the area of the adjusted second area 1902.
- the specific implementation method is that the two edges parallel to the screenshot auxiliary line among the multiple edges of the screenshot frame can be named the first edge and the second edge.
- the screenshot frame may be a rectangular frame, the edge of the rectangular frame close to the bottom of the screen is the first edge, the edge of the rectangular frame close to the top of the screen is the second edge, and the first edge and the second edge are The edges are all parallel to the screenshot auxiliary lines, and when the user moves the first edge, the second edge also moves, and the movement distance of the first edge and the second edge is the same. That is to say, the first edge is moved by a distance of X pixels, and the second edge is also moved by X pixels toward the screenshot auxiliary line.
- the user When the user needs to adjust the screenshot area, the user operates the first designated edge of the designated screenshot frame to move toward the screenshot auxiliary line.
- the first designated edge can be one of the first edge and the second edge.
- the second designated edge is the other one of the first edge and the second edge other than the first designated edge.
- the first specified edge is the first edge
- the second specified edge is the second edge.
- the electronic device can detect the current position of the first designated side line, and can detect that the user touches and presses the first designated side line, and drags the first designated side line to move toward the position of the screenshot auxiliary line, and the electronic device detects the first designated side line.
- the moving distance of the first designated sideline can be collected in real time.
- the second designated sideline is controlled to move toward the screenshot auxiliary line by the moving distance based on the real-time monitored movement distance. The user can see that as the The first designated edge is dragged toward the position of the screenshot auxiliary line, and the second designated edge also automatically moves toward the position of the screenshot auxiliary line, and the moving distances of the first designated edge and the second designated edge are the same.
- the area between the first edge and the screenshot auxiliary line is recorded as the adjusted first area
- the area between the second edge and the screenshot auxiliary line is recorded as the adjusted first area.
- the area is recorded as the adjusted second area, and the areas of the adjusted first area and the second area are the same.
- preset controls can be used to achieve symmetrical tailoring. Specifically, when the preset controls are continuously touched, the first area and the first area are adjusted based on the adjustment operation. Second area. Specifically, when the electronic device detects that the first or second side of the screenshot frame is touched, it detects that the preset control is touched. If so, it detects that the first or second side of the screenshot frame is touched. While the second edge is being dragged, the preset control is continuously touched to perform a symmetrical clipping operation. For the specific implementation of the symmetrical clipping operation, reference can be made to the foregoing description.
- the first side line is dragged toward the screenshot auxiliary line
- the second side line also moves toward the screenshot auxiliary line, and both are at the same distance from the screenshot auxiliary line.
- the distance between the first side line and the screenshot auxiliary line is The distance between them is named the first distance D1
- the distance between the second edge line and the screenshot auxiliary line is named the second distance D2.
- the first distance D1 and the second distance D2 are the same, and in the process of the change of the first distance D1 , the second distance D2 also changes, and the changes of the two are consistent.
- the user can use the edited image as the screenshot image by operating the electronic device.
- the screenshot editing operation is completed through the above-mentioned screenshot box, or the screenshot editing operation is completed using the screenshot box and the screenshot auxiliary line at the same time, or the screenshot editing operation is completed based on the screenshot editing interface shown in Figure 14, all can be done by the user on the electronic device.
- the specified confirmation operation uses the image after the screenshot is edited as the screenshot image.
- the designated confirmation operation may be a confirmation instruction input to the electronic device. After detecting the confirmation instruction, the electronic device uses the image after editing the screenshot as the screenshot image.
- the electronic device when the electronic device detects a voice command, if the voice command includes the specified keyword and the specified keyword corresponds to the specified confirmation operation, it is determined that the confirmation instruction is obtained.
- a confirmation control is displayed in the target display area, and when the electronic device detects that the confirmation control is triggered, it determines that the confirmation instruction is obtained.
- the preset control can also be used to input a confirmation instruction.
- the aforementioned acquisition of the screenshot area determined by the user on the image to be processed based on the screenshot auxiliary tool displayed on the screenshot editing interface the implementation method of obtaining the screenshot image corresponding to the screenshot area is: obtaining the screenshot area determined by the user on the image to be processed based on the screenshot auxiliary tool displayed on the screenshot editing interface; when it is detected that the user based on the screenshot
- the image corresponding to the screenshot area on the image to be processed is used as the screenshot image.
- the method of determining the screenshot area may refer to the foregoing description.
- the electronic device detects whether the second specified touch operation is input to the preset control. If so, it determines that a confirmation instruction is obtained, and The image corresponding to the screenshot area on the image to be processed is used as the screenshot image.
- the second designated touch operation may be a single click, double click, or long press. However, in order to distinguish it from the aforementioned preset operation and the first designated touch operation, the second designated touch operation may be the same as the preset operation. It is different from the first specified touch operation.
- the preset operation is a click operation
- the first specified touch operation is a long press operation
- the second specified touch operation may be a double-click operation.
- the electronic device uses the image corresponding to the screenshot area on the image to be processed as the screenshot image.
- the screenshot operation and the operation of directly starting the screenshot editing interface can be directly performed based on the length of stay at the sliding end position of the specified touch operation gesture, and the preset controls can be used to assist the user in taking screenshots operate.
- Figure 22 shows a screenshot method provided by another embodiment of the present application, applied to the above-mentioned electronic device, and the method may include: S2201 to S2206.
- S2202 If the specified touch operation gesture is detected, determine one or more target display areas selected from the multiple display areas according to the specified touch operation gesture.
- S2203 Perform a screenshot operation on the display content in the target display area.
- S2204 Obtain the screenshot image corresponding to the screenshot operation.
- S2205 Display the thumbnail of the screenshot image in the target display area.
- the thumbnail can be displayed at a designated position in the target display area.
- the designated position can be any position in the target display area. Specifically, it can be displayed in the target display area in the manner shown in Figure 13.
- the thumbnail appears in the lower right corner.
- a thumbnail of the screenshot image can be displayed in the target display area. Different from the method shown in Figure 13, the thumbnail in Figure 23 is a screenshot image obtained by the aforementioned screenshot editing operation.
- the plurality of display areas are a first display area and a second display area, and the electronic device is in a split-screen mode
- the target display area is the first display area
- the user is in the corner of the target display area extending from the lower left corner.
- the area slides toward the center area, and after the center area ends sliding and stays for a certain period of time, the preset controls are displayed in the second display area.
- the user completes the clipping of the screenshot image by operating the preset controls, and obtains the screenshot image after the clipping operation. or an uncropped screenshot image, and then display a thumbnail of the screenshot image in the target display area.
- the designated display area can be a display area outside the target display area among multiple display areas on the screen. , in the embodiment of the present application, the designated display area can be the same display area as the aforementioned area for displaying the default control.
- the designated display area can be the second display area, electronically
- the device can detect that the touch point of the user's touch gesture is located at the display position of the thumbnail in the target display area, and detects that the user slides to within the display position range of the specified display area based on the touch gesture. It can be determined that the thumbnail is dragged to the specified display area, and then the specified operation is performed.
- the specified operation is related to the interface displayed in the specified display area and is used to perform preset processing on the screenshot image. That is to say, the specified operation is executed by an application corresponding to the interface of the specified display area. , specifically, related to the function of the interface currently displayed by the application in the designated display area.
- the application is a photo album application
- the interface displayed in the designated display area is a photo album list interface.
- the function of this interface is to display images stored in the electronic device.
- the screenshot image can be saved and displayed in the interface.
- the screenshot image is displayed in the album list interface in the designated display area, and is saved in the storage space corresponding to the album application.
- the interface displayed in the designated display area may also be a document editing interface.
- the electronic device detects that the thumbnail is dragged into the designated display area, it determines the insertion of the thumbnail in the document editing interface. position, and then display the thumbnail at the insertion position, and adjust the content arrangement in the document editing interface.
- the designated display area displays a chat interface, and when it is detected that the thumbnail is dragged into the chat interface, the screenshot image is sent to the user of the chat partner of the chat interface. terminal.
- the designated display area is the right display area in the figure
- the target display area is the left display area of the screen shown in the figure
- the application program corresponding to the chat interface is a chat application
- the chat interface Used to display the chat content of the first user and the second user of the electronic device, where the first user is the user account currently logged in to the application installed in the electronic device, and the second user is the user account corresponding to the chat of the chat interface
- the interface can display the content sent by the first user to the second user, the content sent by the second user to the first user, and the content editing area.
- the first user can input content in the content editing area and send it to the chat partner (ie, the second user).
- the chat application When it is detected that the thumbnail is dragged into the chat interface, the chat application is controlled to send a screenshot corresponding to the thumbnail to the second user, and at the same time, the display content is updated in the chat interface, as shown in Figure 27, the first After the user sends a screenshot image, the screenshot image is displayed in the chat content display area of the chat interface.
- the screenshot image As an implementation manner, as long as it is detected that a thumbnail is dragged into the chat interface, the screenshot image is sent to the user terminal of the chat partner of the chat interface.
- the screenshot image obtained after performing a screenshot operation on the display content of one of the display areas can be dragged to other display areas, and the screenshot image is executed.
- the operation corresponding to the display area for example, dragging the screenshot image into the chat interface and sending the screenshot image to the user terminal of the chat partner of the chat interface can realize the quick and convenient sharing operation of the screenshot image.
- FIG. 28 shows a structural block diagram of a screen capture device 2800 provided by an embodiment of the present application.
- the device may include: a detection unit 2801 , a determination unit 2802 and a screen capture unit 2803 .
- the detection unit 2801 is configured to detect a specified touch operation gesture when the electronic device is in a target display state, where the screen of the electronic device includes multiple display areas.
- the determining unit 2802 is configured to determine one or more target display areas selected from the plurality of display areas according to the specified touch operation gesture.
- Screen capture unit 2803 is used to perform a screen capture operation on the display content in the target display area.
- the specified touch operation gesture is a sliding gesture
- the screenshot unit 2803 is also used to obtain the dwell time of the specified touch operation gesture at the sliding end position; if the dwell time is less than the preset duration, the screen capture unit 2803 Perform a screenshot operation on the display content in the target display area to obtain a screenshot image.
- the screenshot unit 2803 is also configured to perform a full screen capture operation on all display content in the target display area to obtain the image to be processed if the stay duration is greater than or equal to the preset duration; display the image in the target display area.
- a screenshot editing interface in which the image to be processed is displayed; and a screenshot editing operation input by the user based on the screenshot editing interface for the image to be processed is obtained to obtain a screenshot image.
- the screenshot unit 2803 is also configured to display a preset control in at least one display area outside the target display area among the plurality of display areas; when a first designation input by the user based on the preset control is detected, During touch operation, display a screenshot auxiliary tool on the screenshot editing interface; obtain the screenshot area determined by the user on the image to be processed based on the screenshot auxiliary tool displayed on the screenshot editing interface to obtain the screenshot area Corresponding screenshot image.
- the first specified touch operation is a long press operation in which the pressing operation is longer than a specified duration.
- a screenshot frame is displayed in the screenshot editing interface, and the screenshot frame is displayed on the image to be processed.
- the screenshot auxiliary tool includes a screenshot auxiliary line, and the screenshot auxiliary line divides the screenshot frame into the first.
- a region and a second region the screenshot unit 2803 is also used to obtain an adjustment operation based on the first region input by the user, the adjustment operation is used to adjust the area of the first region; adjust the adjustment operation based on the adjustment operation.
- the area area of the first area and the second area; the adjusted first area and the adjusted second area are collectively used as the screenshot area; the screenshot area on the image to be processed is The corresponding image is used as the screenshot image.
- the screenshot unit 2803 is also configured to adjust the area areas of the first region and the second region based on the adjustment operation when the preset control is continuously touched.
- the screenshot unit 2803 is also used to obtain the screenshot area determined by the user on the image to be processed based on the screenshot auxiliary tool displayed on the screenshot editing interface; when it is detected that the user inputs the first screenshot based on the preset control. 2.
- the image corresponding to the screenshot area on the image to be processed is used as the screenshot image.
- the second specified touch operation is a double-click operation.
- the screen capture device 2800 further includes a judgment unit for obtaining the sliding direction of the designated touch operation gesture; if the sliding direction is from the first designated area of the target display area toward the third area of the target display area, If the second designated area is specified, a screenshot operation is performed on the display content in the target display area.
- the judgment unit is also configured to determine if the sliding direction is from the first designated area of the target display area toward the second designated area of the target display area and the sliding end position of the designated touch operation gesture is located at the If the target display area is the second designated area, a screenshot operation is performed on the display content in the target display area.
- the screenshot device 2800 further includes a sharing unit for obtaining the screenshot image corresponding to the screenshot operation; displaying a thumbnail of the screenshot image in the target display area; when it is detected that the thumbnail is dragged to a specified When displaying an area, perform a designated operation.
- the designated display area is a display area other than the target display area among the multiple display areas.
- the designated operation is related to the interface displayed in the designated display area and is used to display the specified display area. Perform preset processing on the above screenshot image.
- the sharing unit is also configured to send the screenshot image to the user terminal of the chat partner of the chat interface when detecting that the thumbnail is dragged into the chat interface.
- the coupling between modules may be electrical, mechanical or other forms of coupling.
- each functional module in each embodiment of the present application can be integrated into one processing module, or each module can exist physically alone, or two or more modules can be integrated into one module.
- the above integrated modules can be implemented in the form of hardware or software function modules.
- FIG. 29 shows a structural block diagram of an electronic device provided by an embodiment of the present application.
- the electronic device 2900 may be a smart phone, a tablet computer, an e-book, or other electronic device capable of running applications.
- the electronic device 2900 in this application can be the terminal shown in the aforementioned Figures 29 to 5.
- the electronic device 2900 can include one or more of the following components: a processor 2910, a memory 2920, a screen 2930 and one or more Multiple application programs, wherein one or more application programs may be stored in the memory 2920 and configured to be executed by one or more processors 2910, one or more programs are configured to perform as described in the foregoing method embodiments method.
- Processor 2910 may include one or more processing cores.
- the processor 2910 uses various interfaces and lines to connect various parts of the entire electronic device 2900, and executes by running or executing instructions, programs, code sets or instruction sets stored in the memory 2920, and calling data stored in the memory 2920.
- the processor 2910 can use at least one of digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA).
- the processor 2910 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processor (Graphics Processing Unit, GPU), a modem, etc.
- CPU Central Processing Unit
- GPU Graphics Processing Unit
- modem etc.
- the CPU mainly handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the display content; and the modem is used to handle wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 2910 and may be implemented solely through a communication chip.
- the memory 2920 may include random access memory (RAM) or read-only memory (Read-Only Memory). Memory 2920 may be used to store instructions, programs, codes, sets of codes, or sets of instructions.
- the memory 2920 may include a program storage area and a data storage area, where the program storage area may store instructions for implementing an operating system and instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.) , instructions for implementing each of the following method embodiments, etc.
- the storage data area can also store data created during use of the electronic device 2900 (such as phone book, audio and video data, chat record data), etc.
- Figure 30 shows a structural block diagram of a computer-readable storage medium provided by an embodiment of the present application.
- Program code is stored in the computer-readable medium 3000, and the program code can be called by the processor to execute the method described in the above method embodiment.
- Computer-readable storage medium 3000 may be electronic memory such as flash memory, EEPROM (electrically erasable programmable read-only memory), EPROM, hard disk, or ROM.
- the computer-readable storage medium 3000 includes non-transitory computer-readable storage medium.
- the computer-readable storage medium 3000 has storage space for the program code 3010 that performs any method steps in the above-mentioned methods. These program codes can be read from or written into one or more computer program products.
- Program code 3010 may, for example, be compressed in a suitable form.
- FIG. 31 shows a structural block diagram of a computer-readable product 3100 provided by an embodiment of the present application.
- the computer program product includes a computer program/instruction 3110, which is characterized in that the computer program/instruction implements the above method when executed by a processor.
- the screen of the electronic device includes multiple display areas. Then, when the electronic device detects an operation gesture, it determines the display area corresponding to the operation gesture as the target display area, and When it is determined that the operation gesture belongs to the specified gesture, a screenshot operation is performed on the target display area. Therefore, when targeting multiple display areas, the user can enter the specified gesture in the display area to be screenshotted to capture the display area. Achieve quick screenshot operation, simple operation and high user experience.
- Split-screen screenshots have become a new screenshot mode independent of full-screen screenshots, which reduces the operation time for users to use split-screen pictures independently and improves the user's operation experience.
- the proposal of symmetrical cropping adds a new image processing method to cropping screenshots under split screen, simplifying the cropping steps and improving the efficiency of image editing. As a quick way to share screenshots in split-screen mode, it provides users with more immersive possibilities in multi-tasking scenarios.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
- Position Input By Displaying (AREA)
Abstract
La présente demande, qui relève du domaine technique des terminaux mobiles, divulgue un procédé et un appareil de capture d'écran, un dispositif électronique et un support lisible par ordinateur. Le procédé comprend : lorsqu'un dispositif électronique est dans un état d'affichage cible, la détection d'un geste d'opération tactile désigné, une interface d'affichage du dispositif électronique dans l'état d'affichage cible comprenant une pluralité de zones d'affichage ; la détermination d'une ou de plusieurs zones d'affichage cibles sélectionnées parmi la pluralité de zones d'affichage selon le geste d'opération tactile désigné ; et l'exécution d'une capture d'écran sur un contenu affiché dans la zone d'affichage cible. Par conséquent, pour la pluralité de zones d'affichage, un utilisateur peut déclencher, au moyen d'un mode d'entrée du geste d'opération tactile désigné, le dispositif électronique pour qu'il détermine la zone d'affichage cible parmi la pluralité de zones d'affichage et pour qu'il réalise l'opération de capture d'écran sur la zone d'affichage cible, ce qui permet d'obtenir une opération simple et une convivialité d'utilisation relativement grande.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210434949.7 | 2022-04-24 | ||
CN202210434949.7A CN114779976A (zh) | 2022-04-24 | 2022-04-24 | 截屏方法、装置、电子设备及计算机可读介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023207145A1 true WO2023207145A1 (fr) | 2023-11-02 |
Family
ID=82433947
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/140029 WO2023207145A1 (fr) | 2022-04-24 | 2022-12-19 | Procédé et appareil de capture d'écran, dispositif électronique et support lisible par ordinateur |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN114779976A (fr) |
WO (1) | WO2023207145A1 (fr) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114779976A (zh) * | 2022-04-24 | 2022-07-22 | Oppo广东移动通信有限公司 | 截屏方法、装置、电子设备及计算机可读介质 |
CN115933954A (zh) * | 2022-07-25 | 2023-04-07 | Oppo广东移动通信有限公司 | 截屏方法、装置、电子设备以及存储介质 |
CN115268816A (zh) * | 2022-08-17 | 2022-11-01 | 维沃移动通信有限公司 | 分屏控制方法、装置、电子设备和可读存储介质 |
CN117666877A (zh) * | 2022-08-26 | 2024-03-08 | Oppo广东移动通信有限公司 | 截屏方法、装置、存储介质以及终端 |
WO2024087191A1 (fr) * | 2022-10-28 | 2024-05-02 | 深圳传音控股股份有限公司 | Procédé de capture d'écran à fenêtres multiples, terminal intelligent et support de stockage |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150277571A1 (en) * | 2014-03-31 | 2015-10-01 | Kobo Incorporated | User interface to capture a partial screen display responsive to a user gesture |
CN108174022A (zh) * | 2017-12-12 | 2018-06-15 | 上海爱优威软件开发有限公司 | 一种截图快速发送方法及终端设备 |
US20190147026A1 (en) * | 2017-05-16 | 2019-05-16 | Apple Inc. | Device, Method, and Graphical User Interface for Editing Screenshot Images |
CN110737386A (zh) * | 2019-09-06 | 2020-01-31 | 华为技术有限公司 | 一种屏幕截取方法及相关设备 |
CN111641750A (zh) * | 2020-05-19 | 2020-09-08 | Oppo广东移动通信有限公司 | 截屏方法、终端及非易失性计算机可读存储介质 |
CN114779976A (zh) * | 2022-04-24 | 2022-07-22 | Oppo广东移动通信有限公司 | 截屏方法、装置、电子设备及计算机可读介质 |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107896279A (zh) * | 2017-11-16 | 2018-04-10 | 维沃移动通信有限公司 | 一种移动终端的截屏处理方法、装置及移动终端 |
CN113126862B (zh) * | 2021-03-15 | 2022-06-10 | 维沃移动通信有限公司 | 截屏方法、装置、电子设备以及可读存储介质 |
-
2022
- 2022-04-24 CN CN202210434949.7A patent/CN114779976A/zh active Pending
- 2022-12-19 WO PCT/CN2022/140029 patent/WO2023207145A1/fr unknown
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150277571A1 (en) * | 2014-03-31 | 2015-10-01 | Kobo Incorporated | User interface to capture a partial screen display responsive to a user gesture |
US20190147026A1 (en) * | 2017-05-16 | 2019-05-16 | Apple Inc. | Device, Method, and Graphical User Interface for Editing Screenshot Images |
CN108174022A (zh) * | 2017-12-12 | 2018-06-15 | 上海爱优威软件开发有限公司 | 一种截图快速发送方法及终端设备 |
CN110737386A (zh) * | 2019-09-06 | 2020-01-31 | 华为技术有限公司 | 一种屏幕截取方法及相关设备 |
CN111641750A (zh) * | 2020-05-19 | 2020-09-08 | Oppo广东移动通信有限公司 | 截屏方法、终端及非易失性计算机可读存储介质 |
CN114779976A (zh) * | 2022-04-24 | 2022-07-22 | Oppo广东移动通信有限公司 | 截屏方法、装置、电子设备及计算机可读介质 |
Also Published As
Publication number | Publication date |
---|---|
CN114779976A (zh) | 2022-07-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2023207145A1 (fr) | Procédé et appareil de capture d'écran, dispositif électronique et support lisible par ordinateur | |
US10466951B2 (en) | Gallery video player | |
US10564813B2 (en) | User terminal apparatus and management method of home network thereof | |
JP5705863B2 (ja) | マルチタッチスクリーンからのジェスチャ入力を一つのジェスチャ入力に結合する方法、システム及びコンピュータ可読記憶媒体 | |
US11604580B2 (en) | Configuration of application execution spaces and sub-spaces for sharing data on a mobile touch screen device | |
WO2019237662A1 (fr) | Procédé, dispositif et équipement de commande d'interface d'affichage virtuel et support d'informations | |
WO2022048633A1 (fr) | Procédé et appareil d'affichage et dispositif électronique | |
US20150100914A1 (en) | Gestures for multiple window operation | |
WO2021136136A1 (fr) | Procédé de capture d'écran et dispositif électronique | |
CN104238949A (zh) | 一种分屏显示方法和装置 | |
WO2019015582A1 (fr) | Procédé de notification d'informations et terminal mobile | |
WO2023061280A1 (fr) | Procédé et appareil d'affichage de programme d'application, et dispositif électronique | |
WO2016157330A1 (fr) | Dispositif, programme, et procédé de commande de surveillance mobile | |
US20180152622A1 (en) | Mobile terminal-based photographing method and mobile terminal | |
WO2021203815A1 (fr) | Procédé et appareil d'opération de page, ainsi que terminal et support de stockage | |
WO2021179803A1 (fr) | Procédé et appareil de partage de contenu, dispositif électronique et support de stockage | |
WO2022166893A1 (fr) | Procédé et appareil d'affichage d'informations, dispositif électronique et support de stockage | |
WO2023284639A1 (fr) | Procédé et appareil de commande d'affichage | |
WO2022227988A1 (fr) | Procédé, appareil et système de migration inter-dispositif de tâches et support de stockage | |
US20130127745A1 (en) | Method for Multiple Touch Control Virtual Objects and System thereof | |
WO2022068721A1 (fr) | Procédé et appareil de capture d'écran et dispositif électronique | |
WO2024139477A1 (fr) | Procédé et appareil d'interaction, dispositif électronique et support de stockage | |
WO2024046203A1 (fr) | Procédé et appareil d'affichage de contenu | |
WO2024021813A1 (fr) | Procédé et appareil de capture d'écran, dispositif électronique et support de stockage associés | |
WO2020206655A1 (fr) | Procédé d'interaction, dispositif électronique flexible et support de stockage lisible par ordinateur |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22939954 Country of ref document: EP Kind code of ref document: A1 |