CN115328367A - Screen capturing method and device, electronic equipment and storage medium - Google Patents

Screen capturing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115328367A
CN115328367A CN202211138526.7A CN202211138526A CN115328367A CN 115328367 A CN115328367 A CN 115328367A CN 202211138526 A CN202211138526 A CN 202211138526A CN 115328367 A CN115328367 A CN 115328367A
Authority
CN
China
Prior art keywords
images
image
area
input
screen capture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211138526.7A
Other languages
Chinese (zh)
Inventor
蓝锦涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202211138526.7A priority Critical patent/CN115328367A/en
Publication of CN115328367A publication Critical patent/CN115328367A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction 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/0488Interaction 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

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The application discloses a screen capture method, a screen capture device, electronic equipment and a storage medium, and belongs to the technical field of image processing. The method comprises the following steps: receiving screen capture input of a user on the first area; and responding to screen capture input, performing screen capture operation on an interface in the first area to obtain N first images, and displaying M first images in the second area, wherein N is a positive integer, and M is less than or equal to the integer of N.

Description

Screen capturing method and device, electronic equipment and storage medium
Technical Field
The application belongs to the technical field of image processing, and particularly relates to a screen capturing method and device, electronic equipment and a storage medium.
Background
At present, when a user captures a long screenshot through electronic equipment, the user can trigger the electronic equipment to start a long screenshot function, so that page content in a display screen is displayed in an upward scrolling manner and a screenshot operation is performed, and then, the electronic equipment splices a plurality of screenshot images obtained by screenshot of the continuously displayed page content into a long screenshot.
However, after the electronic device is in the screen capture mode, all page contents continuously and rollably displayed in the display screen are directly spliced into a long screen capture, when the length of the long screen capture exceeds a preset length, the electronic device may delete the contents required by the user, and the user needs to trigger the electronic device to capture the long screen capture again, so that the efficiency and flexibility of the screen capture of the electronic device are poor.
Disclosure of Invention
The embodiment of the application aims to provide a screen capturing method, a screen capturing device, electronic equipment and a storage medium, and can solve the problem of poor screen capturing flexibility of the electronic equipment.
In a first aspect, an embodiment of the present application provides a screen capture method, where the screen capture method includes: receiving screen capture input of a user on the first area; and responding to screen capture input, performing screen capture operation on the interface in the first area to obtain N first images, and displaying M first images in the second area, wherein N is a positive integer, and M is an integer smaller than or equal to N.
In a second aspect, an embodiment of the present application provides a screen capture device, including: the device comprises a receiving module and a processing module. And the receiving module is used for receiving screen capture input of a user to the first area. And the processing module is used for responding to screen capture input, performing screen capture operation on the interface in the first area to obtain N first images, and displaying M first images in the second area, wherein N is a positive integer, and M is less than or equal to the integer of N.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, stored on a storage medium, for execution by at least one processor to implement the method according to the first aspect.
In this embodiment of the application, the electronic device may receive a screen capture input of a user on the first region, so as to perform a screen capture operation on an interface in the first region to obtain N first images, and display the M first images in the second screen region. In the scheme, the electronic equipment can display the M first images in the N first images intercepted in the first area in the second area, so that a user can view the M first images intercepted by the electronic equipment in the first area in the second area in real time, the intercepted images can be viewed without the need of the user after the long screenshot is generated, the M first images are displayed in the second area by the electronic equipment, the user can directly process the M first images conveniently, the long screenshot is not required to be processed again by the electronic equipment after the long screenshot is generated, and therefore the screen-capturing efficiency of the electronic equipment is improved, and meanwhile the screen-capturing flexibility of the electronic equipment is also improved.
Drawings
Fig. 1 is a flowchart of a screen capture method provided in an embodiment of the present application;
FIG. 2 is a diagram illustrating an example screen capture method provided by an embodiment of the present application;
fig. 3 is a second schematic diagram of an example of a screen capture method provided in the embodiment of the present application;
FIG. 4 is a third exemplary diagram of a screen capture method according to an embodiment of the present disclosure;
FIG. 5 is a schematic structural diagram of a screen capture device provided in an embodiment of the present application;
fig. 6 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present disclosure;
fig. 7 is a second schematic diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The screen capture method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
At present, with the development of communication technology, functions in electronic devices are increasing, for example, the electronic devices may perform long screenshot operations on multiple contents in which users are interested, specifically, a user may perform screenshot input in an interface (e.g., a web interface) in a browser application or an instant messaging application to trigger the electronic devices to start the long screenshot function, and then, page contents in a display screen of the electronic devices are scrolled upwards and displayed and perform the screenshot operations, so that the electronic devices splice multiple screenshot images obtained by continuously scrolling the displayed page contents into one long screenshot. However, in the above method, after the electronic device is in the screen capture mode, all page contents continuously scrolled and displayed in the display screen are directly spliced into one long screen capture, and the user cannot select an interested content or hide some private contents according to the user's own needs.
In this embodiment of the application, the electronic device may receive a screen capture input of a user on the first area, so as to perform a screen capture operation on an interface in the first area to obtain N first images, and display the M first images in the second screen area. In the scheme, the electronic equipment can display the M first images in the N first images intercepted in the first area in the second area, so that a user can view the M first images intercepted by the electronic equipment in the first area in the second area in real time, the intercepted images can be viewed without the need of the user after the long screenshot is generated, the M first images are displayed in the second area by the electronic equipment, the user can directly process the M first images conveniently, the long screenshot is not required to be processed again by the electronic equipment after the long screenshot is generated, and therefore the screen-capturing efficiency of the electronic equipment is improved, and meanwhile the screen-capturing flexibility of the electronic equipment is also improved.
The execution main body of the screen capture method provided by the embodiment of the application can be a screen capture device, and the screen capture device can be electronic equipment or a functional module in the electronic equipment. The following describes technical solutions provided in embodiments of the present application by taking an electronic device as an example.
The embodiment of the application provides a screen capture method, and fig. 1 shows a flowchart of the screen capture method provided by the embodiment of the application. As shown in fig. 1, the screen capture method provided by the embodiment of the present application may include steps 201 and 202 described below.
Step 201, the electronic device receives a screen capture input of a user to the first area.
In this embodiment of the application, the electronic device may intercept the display content in the first region according to the screen capture input of the user on the first region, and display the display content in the second region, so that the user may generate a target screen capture image (i.e., a long screenshot) after performing an editing operation on the display content.
Optionally, in this embodiment of the application, the first input may be a continuous screen capture input performed by a user on an interface in the first area; or a single screen shot input.
Optionally, in this embodiment of the application, the first input may be a click input, a long-press input, a preset trajectory input, a sliding input of the user on the interface in the first screen area, or the first input may be an input of a physical key or a combination input of the physical key by the user. Specifically, the electronic device may be determined according to actual situations, and the embodiments of the present application are not limited.
Optionally, in this embodiment of the application, the screen capture input may be a two-finger touch input or a single-finger press input, or may be a multi-finger press input.
Illustratively, the user presses the first area with a single finger length, so that the electronic device can adjust the size of the screen capture frame according to the pressing time length, and therefore the display content in the first area is captured according to the size of the screen capture frame. It is understood that the size of the screen capture frame may be proportional to the pressing duration or inversely proportional to the pressing duration, which is not limited in the embodiment of the present application.
Optionally, in this embodiment of the application, the dual-finger touch input may include: and clicking input of the first area by the double fingers of the user or sliding input of the double fingers of the user on the first area.
Step 202, the electronic device responds to the screen capture input, performs screen capture operation on the interface in the first area to obtain N first images, and displays M first images in the second area, where N is a positive integer, and M is smaller than or equal to an integer of N.
Optionally, in this embodiment of the present application, after the electronic device responds to a screen capture input of a user in the first area, the electronic device may display, in the first area, N first images captured by the user, then receive an input of the user on M first images of the N first images, and display, in the second area, the M first images; alternatively, the electronic device may automatically display the first image intercepted by the user in the second area after the electronic device responds to a screen capture input of the user in the first area to display the M first images in the second area.
Optionally, in this embodiment of the application, the first area and the second area are areas corresponding to different screens in the electronic device or different screen areas in the screen of the electronic device.
Specifically, in a case that the electronic device is a foldable electronic device, the first area or the second area may be a screen area corresponding to any one of two screens in the foldable electronic device; in the case that the electronic device is an unfoldable electronic device, the first area or the second area may be different display areas (i.e., screen areas corresponding to split screens) in a screen of the unfoldable electronic device.
In the embodiment of the application, the first area is used for displaying the interface to be intercepted, and the second screen area is used for editing and displaying M first images intercepted in the interface to be intercepted.
Optionally, in this embodiment of the application, the N first images may correspond to different interfaces or the same interface in the first region.
Optionally, in this embodiment of the application, each of the N first images may be a screen shot of a part of a page to be captured, or may also be a screen shot of all pages in the page to be captured.
Exemplarily, taking the electronic device as a non-foldable electronic device as an example, as shown in fig. 2, a user may perform a screen capture input on the interface 101 in the first area 10, so that the electronic device may display the first image 110 in the second area 11.
Further exemplarily, taking the electronic device as a foldable electronic device as an example, as shown in fig. 3, the user may perform a screen capture input on the interface 121 in the first region 12, so that the electronic device may display the first image 130 in the second region 13.
Optionally, in this embodiment of the present application, after the step 202, the screen capturing method provided in this embodiment of the present application further includes the following steps 301 and 302.
Step 301, the electronic device receives a third input of the target image from the user.
In the embodiment of the present application, the target image is an image corresponding to screen capture input.
Optionally, in this embodiment of the application, the third input may be a click input, a long-press input, a preset track input, a sliding input, or the like of the user on the target image. Specifically, the electronic device may be determined according to actual situations, and the embodiments of the present application are not limited.
Optionally, in this embodiment of the application, the target image may be one or more of the N first images.
Step 302, the electronic device moves the target image into the second area in response to the third input, and displays M first images in the second area.
It is to be understood that the third input may include i sub-inputs, and the electronic device moves the target image into the second area and displays i first images in the second area in response to the i sub-input.
For example, if i is 1, the electronic device may display a first target image selected by the user in the second area in response to the first sub-input; if i is 2, the electronic device may display a second target image selected by the user in the second area in response to the second sub-input, and so on, and if i is M, the electronic device may display M first images in the second area in response to the mth sub-input.
Optionally, in this embodiment of the application, a user may select a plurality of first images from the N first images, so that the electronic device may synthesize the plurality of first images into a target image, and then, the user may input the target image once, so that the electronic device may display the target image in the second area, and split the target image into the plurality of first images again.
The embodiment of the application provides a screen capture method, and electronic equipment can receive screen capture input of a user on a first area, so that screen capture operation is performed on an interface in the first area to obtain N first images, and M first images are displayed in a second screen area. In the scheme, the electronic equipment can display the M first images in the N first images intercepted in the first area in the second area, so that a user can view the M first images intercepted by the electronic equipment in the first area in the second area in real time, the intercepted images can be viewed without the need of the user after the long screenshot is generated, the M first images are displayed in the second area by the electronic equipment, the user can directly process the M first images conveniently, the long screenshot is not required to be processed again by the electronic equipment after the long screenshot is generated, and therefore the screen-capturing efficiency of the electronic equipment is improved, and meanwhile the screen-capturing flexibility of the electronic equipment is also improved.
Optionally, after step 202, the screen capture method provided in the embodiment of the present application further includes steps 401 and 402 described below.
Step 401, the electronic device receives a first input of the M first images from a user.
In this embodiment of the application, the first input may be click input, long-press input, preset trajectory input, sliding input, and the like of the user on the M first images. Specifically, the electronic device may be determined according to actual situations, and the embodiments of the present application are not limited.
Step 402, the electronic device responds to the first input, and obtains a target screen capture image based on the M first images.
In the embodiment of the application, the electronic device can perform editing operation on the M first images according to the first input of the user on the M first images to obtain the target screen capture image.
Optionally, in this embodiment of the application, the editing operation may include at least one of: delete operations, image processing operations (e.g., adding filters, adding graffiti, etc.), and update operations.
Optionally, in this embodiment of the application, after the electronic device displays the target screenshot image, the electronic device may receive an input of a user on a boundary between the first screen region and the second screen region, so as to update the display sizes of the first screen region and the second screen region.
Optionally, in this embodiment of the application, after the electronic device displays the target screenshot image, the user may input the target screenshot image, so that the electronic device may divide the target screenshot image into M first images, and the user may input the H first images again, so as to edit and process the M first images again to obtain and display the target screenshot image.
Illustratively, the second area includes a preview control and a save control, after the electronic device obtains and displays the target screenshot image, the user may input the preview control so that the electronic device may display the target screenshot image in a preview manner so that the user may view the target image, and then the user may click the save control so that the electronic device may save the target screenshot image into the album application and exit from the screenshot mode.
In the embodiment of the application, the electronic device can obtain the target screenshot image after the M first images are edited, the electronic device does not need to edit the long screenshot again after the long screenshot is obtained, and then the target screenshot image is obtained, so that the efficiency of obtaining the target screenshot image by the electronic device is improved.
Optionally, in this embodiment of the application, the step 402 may specifically include the following step 402a, step 402b, or step 402c.
And step 402a, the electronic equipment combines the M first images to obtain and display a target screen capture image.
In the embodiment of the application, the electronic device may combine the M first images selected by the user into the long screenshot according to the first input, and display the long screenshot in the first area or the second area.
Optionally, in this embodiment of the present application, the first input may be input to the merge control by a user, so that the electronic device may perform stitching processing on the M first images to obtain and display the target image.
Alternatively, in this embodiment of the application, the "displaying the target screenshot image" in the step 402a may be specifically implemented in the step 402a1 or the step 402a2 described below.
Step 402a1, in the case that the electronic device is a foldable electronic device, the electronic device displays a target screen capture image in a first area or the second area.
Optionally, in this embodiment of the present application, if the first area is a left half screen area of the foldable electronic device, the second area is a right half screen area of the foldable electronic device; if the first area is a right half screen area of the foldable electronic device, the second area is a left half screen area of the foldable electronic device.
Step 402a2, displaying a first image area of the target screen capture image in the first area, and displaying the remaining image area of the target screen capture image in the second area.
In an embodiment of the present application, the first image area is determined by any one of: a display size of the first region, an image region selected by a user, and an image content of the target image.
In the embodiment of the present application, the electronic device may separately display the target screen capture image in the first area and the second area according to a display size of the first area or an image area selected by a user or image content of the target image (hereinafter, referred to as a first condition).
Optionally, in this embodiment of the present application, the image content of the target screenshot image may be context content or a type of content.
For example, the electronic device may display image content with weaker relevance in the image content of the target screenshot image in the first area and the second area, respectively, so that the user may process the image content in the first area and the second area, respectively.
In the embodiment of the application, the electronic device can display the target screenshot image in one display area or the electronic device can display the target screenshot image in two display areas respectively according to the first condition, so that the flexibility of displaying the target screenshot image is improved by the electronic device.
And 402b, the electronic equipment edits the image effects of the M first images, and combines the edited M first images and the rest images to obtain and display a target screen capture image.
In this embodiment, the remaining images are images other than M first images among the N first images, and the M first images are images for performing image effect editing through the first input.
Optionally, in this embodiment of the application, the image effect may include at least one of the following: contrast, color temperature, mosaic, filters, etc.
And step 402c, merging the images except the M first images in the N first images by the electronic equipment to obtain and display the target screen capture image.
In an embodiment of the present application, the M first images are images deleted by the first input.
For example, the user may perform long-press input on the L first images so that the electronic device may display the deletion control, then click on the deletion control so that the electronic device may delete the M first images, and then input the composition control so that the electronic device may merge the images other than the M first images in the N first images to obtain and display the target image.
In the embodiment of the application, the electronic equipment can edit the M first images, so that the electronic equipment can display the target image by combining the edited M first images, and therefore the screen capturing flexibility of the electronic equipment is improved.
Optionally, in this embodiment of the application, before the step 202 of displaying the M first images in the second area, the screen capturing method provided in this embodiment of the application further includes the following steps 501 to 503.
Step 501, the electronic device displays N first images in a second area.
It is understood that the screen capture input may include N sub-inputs, and the electronic device, in response to the lth sub-input, captures the lth display content of the first screen region and displays an lth first image corresponding to the lth display content in the second screen region. It is to be understood that, in one case, since the display contents of the first screen region are scroll-displayed according to the sliding input of the user, the image corresponding to the lth display content and the image corresponding to the L +1 th display content may be completely different, may also be partially repeated, or may be completely repeated.
For example, if L is 1, the electronic device responds to the first sub-input, selects the first display content in the first area, and displays a first image corresponding to the first display content in the second area; and if the L is 2, the electronic equipment responds to the second sub-input, the electronic equipment selects the second display content of the first area, displays a second first image corresponding to the second display content in the second area, and so on, and if the L is N, the electronic equipment responds to the Nth sub-input, the electronic equipment selects the Nth display content of the first area, and displays the Nth first image corresponding to the Nth display content in the second area.
Step 502, the electronic device receives a second input of the user to the second area.
Optionally, in this embodiment of the application, the second input may be a click input, a long-press input, a preset trajectory input, or a sliding input of the user on the N first images in the second area. The method can be determined according to actual conditions, and the embodiment of the application is not limited.
And step 403, the electronic device, in response to the second input, performs editing operation on the N first images to obtain M first images.
In an embodiment of the present application, the editing operation includes at least one of: image retention operation, image deletion operation, image processing operation, image sorting operation and image segmentation operation.
In the embodiment of the application, the electronic equipment can screen the N first images, then the M first images are displayed, and the long screenshot is screened again after the electronic equipment is not required to regenerate the long screenshot, so that the efficiency of editing the long screenshot by the electronic equipment is improved.
Optionally, in this embodiment of the application, before the step 201, the screen capturing method provided in this embodiment of the application further includes the following step 501, and the step 202 of "performing the screen capturing operation on the interface in the first area to obtain the N first images" may be specifically implemented by the following step 202 a.
Step 501, the electronic device marks the content to be screenshot in the interface of the first area.
In the embodiment of the application, the electronic device can mark the content to be screenshot in the interface of the first area in a target mode.
Optionally, in an embodiment of the present application, the target manner may include at least one of the following: frame marks, color marks and special symbol marks.
Illustratively, for the screenshot input which may be a two-finger touch input, taking a folding-screen electronic device with a first screen and a second screen as an example, when a user wants to intercept a page area where "social news picture 1", "social news picture 2" and "social news 1" are located, the user two fingers (for example, the index finger and the middle finger of the user's right hand) click on the page of "social" news in "news" APP in the first area (i.e., the above-mentioned two-finger touch input), thereby triggering the electronic device to display a transparent rectangular box on the first area (the size of the transparent rectangular box is the same as the size of the area where the user two fingers touch the first area, and the transparent rectangular box is displayed in the area where the user two fingers touch the first area). At this time, the user can control the double fingers to slide outward to enlarge the display size of the transparent rectangular frame, so that the page areas where the "social news picture 1", "social news picture 2" and the "social news 1" are located in the transparent rectangular frame, and when the double fingers of the user leave the first screen area (namely, the first input is ended), the electronic device performs screen capture on the page areas where the "social news picture 1", "social news picture 2" and the "social news 1" framed by the transparent rectangular frame in the second screen area.
Optionally, in this embodiment of the application, after the electronic device marks the content to be screenshot in the interface of the first area, the user may input the content to be screenshot in the interface of the marked first area again to update the content to be screenshot.
Step 202a, the electronic device performs screen capturing operation on the content to be captured marked in the interface of the first area to obtain N first images.
It should be noted that, the specific process of obtaining the N first images may refer to the foregoing embodiment, and is not described herein for avoiding repetition.
In the embodiment of the application, the user can avoid the privacy of the user contained in the image captured by the electronic equipment by marking the content to be captured, and the flexibility of the screen capture of the electronic equipment is improved.
Optionally, in this embodiment of the present application, after the step 302, the screen capturing method provided in this embodiment of the present application further includes the following step 601 and step 602.
Step 601, the electronic device receives a fourth input of the second image by the user.
In this embodiment, the second image is an image selected by the user from the electronic device or an image obtained by screen capture again.
Optionally, in this embodiment of the application, the fourth input may be a click input, a drag input, a long-press input, or the like of the user on the second image. The method can be determined according to actual use conditions, and the embodiment of the application is not limited.
And step 602, the electronic device responds to a fourth input, and merges the second image and the target screen capture image to obtain and display a third image.
Optionally, in this embodiment, a capture screenshot control may be included in the first region, and the user may input the capture screenshot control, so that the electronic device may generate a thumbnail of the screenshot of one current interface and automatically add the thumbnail to a preset position (for example, the first position or the last position) of the M first images.
Optionally, in this embodiment of the application, before the merging processing of the second image and the target screenshot image, the user may adjust the display position of the second image in the M first images and adjust the display effect of the second image, and then merge the edited second image and the target screenshot image to obtain and display a third image.
Exemplarily, in conjunction with fig. 2, as shown in fig. 4, the second area 11 includes a target screenshot image 14, where the target screenshot image 14 is composed of a screenshot 1 (indicated by 1 in fig. 4), a screenshot 2 (indicated by 2 in fig. 4) and a screenshot 3 (indicated by 3 in fig. 4), and the user may perform screenshot input again in the first area 10 to enable the electronic device to intercept the display content corresponding to the interface in the first area 10 to obtain a second image 15, and then the user may drag the second image 15 into the first area 14 to enable the electronic device to perform merging processing on the second image and the target screenshot image to obtain and display a third image.
In the embodiment of the application, the user can freely control the content added into the long screenshot, the situation that the user can only continuously click the next page of buttons and finally the long screenshot stores all the content seen by the user is avoided, and therefore the flexibility of electronic equipment screenshot is improved.
It should be noted that, in the screen capture method provided in the embodiment of the present application, the execution main body may be a screen capture device, or an electronic device, or may also be a functional module or an entity in the electronic device. In the embodiment of the present application, a screen capture method executed by a screen capture device is taken as an example to describe the screen capture device provided in the embodiment of the present application.
Fig. 5 shows a schematic diagram of a possible structure of the screen capture device in the embodiment of the present application. As shown in fig. 5, the screen capture device 70 may include: a receiving module 71 and a processing module 72.
The receiving module 71 is configured to receive a user screen capture input for the first area. And the processing module 72 is configured to perform a screen capture operation on the interface in the first area in response to a screen capture input to obtain N first images, and display M first images in the second area, where N is a positive integer, and M is smaller than or equal to an integer of N.
In a possible implementation manner, the receiving module 71 is further configured to receive a first input of the M first images from a user after the processing module 72 displays the M first images in the second area. The processing module 72 is further configured to process the M first images to obtain target screen capture images based on the M first images in response to the first input.
In a possible implementation manner, the processing module 72 is specifically configured to combine the M first images to obtain and display a target screenshot image; or editing the image effect of the M first images, and combining the edited M first images and the rest images to obtain and display a target screen capture image, wherein the rest images are images except the M first images in the N first images, and the M first images are images subjected to image effect editing through first input; or combining and processing images except for the M first images in the N first images to obtain and display the target screen capture image, wherein the M first images are the images deleted through the first input.
In a possible implementation manner, the screen capture device provided in the embodiment of the present application further includes a display module, and the display module is configured to display the N first images in the second area before displaying the M first images in the second area. The receiving module 71 is further configured to receive a second input to the second area from the user. The processing module 72 is further configured to, in response to the second input, perform an editing operation on the N first images to obtain M first images, where the editing operation includes at least one of: image retention operation, image deletion operation, image processing operation, image sorting operation and image segmentation operation.
In a possible implementation manner, the receiving module 71 is further configured to receive a third input of the target image by the user after obtaining the N first images, where the target image is an image corresponding to the screen capture input. And the display module is also used for responding to a third input, moving the target image into the second area and displaying the M first images in the second area.
In a possible implementation manner, the processing module 72 is further configured to mark the content to be captured in the interface of the first area. The processing module 72 is specifically configured to perform a screen capture operation on the content to be captured marked in the interface of the first area to obtain N first images.
In a possible implementation manner, the display module is specifically configured to display the target screenshot image in the first area or the second area when the electronic device is a foldable electronic device; or, displaying a first image region of the target screenshot image in the first region and displaying the remaining image region of the target screenshot image in the second region, the first image region being determined by any one of: a display size of the first area, an image area selected by a user, and image content of the target image.
In a possible implementation manner, the receiving module 71 is further configured to receive a fourth input of the second image from the user after the processing module 72 obtains the target screen capture image based on the M first images, where the second image is an image selected by the user from the electronic device or an image obtained by screen capture again. The processing module 72 is further configured to, in response to a fourth input, perform a merging process on the second image and the target screenshot image to obtain and display a third image.
The embodiment of the application provides a screen capture device, because the screen capture device can display M first images in N first images captured in a first area in a second area, so that a user can view the M first images captured in the first area by the screen capture device in the second area in real time, the user is not required to view the captured images after generating a long screen capture, and the screen capture device displays M first images in the second area, so that the user can directly process the M first images, the screen capture device is not required to process the long screen capture again after generating the long screen capture, and thus, the screen capture efficiency of the screen capture device is improved, and meanwhile, the screen capture flexibility of the screen capture device is also improved.
The screen capture device in the embodiment of the present application may be a device, and may also be a component, an integrated circuit, or a chip in an electronic device. The device can be mobile electronic equipment or non-mobile electronic equipment. The Mobile electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (Storage), a personal computer (NAS), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The screen capture device in the embodiment of the application can be a device with an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The screen capture device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 4, and is not described here again to avoid repetition.
Optionally, as shown in fig. 6, an electronic device 90 is further provided in the embodiment of the present application, and includes a processor 91 and a memory 92, where the memory 92 stores a program or an instruction that can be executed on the processor 91, and when the program or the instruction is executed by the processor 91, the steps of the screen capturing method embodiment described above are implemented, and the same technical effects can be achieved, and are not described again to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 110 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 7 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The user input unit 107 is configured to receive a user screen capture input for the first area. And the processor 110 is configured to perform a screen capture operation on the interface in the first area in response to a screen capture input to obtain N first images, and display M first images in the second area, where N is a positive integer and M is smaller than or equal to an integer of N.
The embodiment of the application provides an electronic device, because the electronic device can display M first images in N first images intercepted in a first area in a second area, so that a user can view the M first images intercepted in the first area by the electronic device in the second area in real time, the user is not required to view the intercepted images after generating long screenshots, and the electronic device displays M first images in the second area, so that the user can directly process the M first images, the electronic device is not required to process the long screenshots again after generating the long screenshots, and thus, the efficiency of the electronic device screenshots is improved, and meanwhile, the flexibility of the electronic device screenshots is also improved.
Optionally, in this embodiment of the application, the user input unit 107 is further configured to receive a first input to the M first images from a user. The processor 110 is further configured to obtain a target screenshot image based on the M first images in response to the first input.
Optionally, in this embodiment of the application, the processor 110 is specifically configured to merge the M first images to obtain and display a target screenshot image; or editing the image effect of the M first images, and combining the edited M first images and the rest images to obtain and display a target screenshot image, wherein the rest images are images except the M first images in the N first images, and the M first images are images subjected to image effect editing through first input; or combining and processing images except for the M first images in the N first images to obtain and display the target screen capture image, wherein the M first images are the images deleted through the first input.
Optionally, in this embodiment of the application, the display unit 106 is further configured to display the N first images in the second area before displaying the M first images in the second area. The user input unit 107 is further configured to receive a second input from the user to the second area. The processor 110 is further configured to, in response to the second input, perform an editing operation on the N first images to obtain M first images, where the editing operation includes at least one of: image retention operation, image deletion operation, image processing operation, image sorting operation and image segmentation operation.
Optionally, in this embodiment of the application, the user input unit 107 is further configured to receive a third input of the user to the target image after obtaining the N first images, where the target image is an image corresponding to the screen capture input. The display unit 106 is further configured to move the target image into the second area in response to a third input, and display the M first images in the second area.
Optionally, in this embodiment of the application, the processor 110 is further configured to mark the content to be screenshot in the interface in the first area before performing the screenshot operation on the interface in the first area. The processor 110 is specifically configured to perform a screen capture operation on the content to be captured marked in the interface of the first area to obtain N first images.
Optionally, in this embodiment of the application, the display unit 106 is specifically configured to display the target screenshot image in the first area or the second area when the electronic device is a foldable electronic device; or, displaying a first image region of the target screenshot image in the first region and displaying the remaining image region of the target screenshot image in the second region, the first image region being determined by any one of: a display size of the first area, an image area selected by a user, and image content of the target image.
Optionally, in this embodiment of the application, the user input unit 107 is further configured to receive a fourth input of the second image from the user after obtaining the target screen capture image based on the M first images, where the second image is an image selected by the user from the electronic device or an image obtained by screen capture again. The processor 110 is further configured to combine the second image and the target screenshot image in response to a fourth input, so as to obtain and display a third image.
The electronic device provided by the embodiment of the application can realize each process realized by the method embodiment, and can achieve the same technical effect, and for avoiding repetition, the details are not repeated here.
The beneficial effects of the various implementation manners in this embodiment may specifically refer to the beneficial effects of the corresponding implementation manners in the above method embodiments, and are not described herein again to avoid repetition.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a first storage area storing a program or an instruction and a second storage area storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, memory 109 may include volatile memory or non-volatile memory, or memory 109 may include both volatile and non-volatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct bus RAM (DRRAM). Memory 109 in the embodiments of the subject application includes, but is not limited to, these and any other suitable types of memory.
Processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor, which mainly handles operations related to the operating system, user interface, application programs, etc., and a modem processor, which mainly handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements the processes of the foregoing method embodiments, and can achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the foregoing method embodiment, and the same technical effect can be achieved.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as a system-on-chip, or a system-on-chip.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing screenshot method embodiments, and achieve the same technical effects, and in order to avoid repetition, details are not described here again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the present embodiments are not limited to those precise embodiments, which are intended to be illustrative rather than restrictive, and that various changes and modifications may be effected therein by one skilled in the art without departing from the scope of the appended claims.

Claims (12)

1. A method of screen capture, the method comprising:
receiving screen capture input of a user on the first area;
and responding to the screen capture input, performing screen capture operation on the interface in the first area to obtain N first images, and displaying M first images in a second area, wherein N is a positive integer, and M is less than or equal to the integer of N.
2. The method of claim 1, wherein after displaying the M first images in the second region, the method further comprises:
receiving a first input of the M first images by a user;
and responding to the first input, and obtaining a target screen capture image based on the M first images.
3. The method of claim 2, wherein obtaining a target screenshot image based on the M first images comprises:
combining the M first images to obtain and display the target screen capture image;
or,
editing the image effect of the M first images, and combining the edited M first images and the rest images to obtain and display the target screenshot image, wherein the rest images are images of the N first images except the M first images, and the M first images are images subjected to image effect editing through the first input;
or,
and combining the images except the M first images in the N first images to obtain and display the target screen capture image, wherein the M first images are the images deleted through the first input.
4. The method of claim 1, wherein prior to displaying the M first images in the second region, the method further comprises:
displaying the N first images in the second area;
receiving a second input of the user to the second area;
in response to the second input, performing an editing operation on the N first images to obtain M first images, the editing operation including at least one of: image retention operation, image deletion operation, image processing operation, image sorting operation and image segmentation operation.
5. The method of claim 1, wherein after obtaining the N first images, the method further comprises:
receiving a third input of a user to a target image, wherein the target image is an image corresponding to the screen capture input;
in response to the third input, moving the target image into the second area and displaying the M first images in the second area.
6. The method of claim 1, wherein prior to performing the screen capture operation on the interface in the first region, the method further comprises:
marking the content to be screenshot in the interface of the first area;
the screen capturing operation of the interface in the first area is performed to obtain N first images, and the method includes:
and performing screen capture operation on the marked screen capture content to be captured in the interface of the first area to obtain N first images.
7. The method of claim 1 or 3, wherein the displaying the target screenshot image comprises:
displaying the target screen capture image in the first area or the second area if the electronic device is a foldable electronic device;
or,
displaying a first image region of the target screenshot image in the first region and a remaining image region of the target screenshot image in the second region, the first image region determined by any of: the display size of the first area, the image area selected by the user, and the image content of the target image.
8. The method according to claim 1 or 2, wherein after obtaining the target screenshot image based on the M first images, the method further comprises:
receiving a fourth input of a second image by the user, wherein the second image is an image selected by the user from the electronic equipment or an image obtained by screen capture again;
and responding to the fourth input, and combining the second image and the target screen capture image to obtain and display a third image.
9. A screen capture apparatus, the apparatus comprising: the device comprises a receiving module and a processing module;
the receiving module is used for receiving screen capture input of a user to the first area;
the processing module is used for responding to the screen capture input, carrying out screen capture operation on the interface in the first area to obtain N first images, and displaying M first images in the second area, wherein N is a positive integer, and M is an integer smaller than or equal to N.
10. The apparatus according to claim 9, wherein the receiving module is further configured to receive a first input of the M first images from a user after the processing module displays the M first images in the second area;
the processing module is further configured to process the M first images to obtain a target screenshot image based on the M first images in response to the first input.
11. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, which program or instructions, when executed by the processor, carry out the steps of the screen capturing method according to any one of claims 1 to 8.
12. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the screen capture method of any one of claims 1 to 8.
CN202211138526.7A 2022-09-19 2022-09-19 Screen capturing method and device, electronic equipment and storage medium Pending CN115328367A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211138526.7A CN115328367A (en) 2022-09-19 2022-09-19 Screen capturing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211138526.7A CN115328367A (en) 2022-09-19 2022-09-19 Screen capturing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115328367A true CN115328367A (en) 2022-11-11

Family

ID=83913248

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211138526.7A Pending CN115328367A (en) 2022-09-19 2022-09-19 Screen capturing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115328367A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920239A (en) * 2018-06-29 2018-11-30 维沃移动通信有限公司 A kind of long screenshotss method and mobile terminal
CN109525874A (en) * 2018-09-27 2019-03-26 维沃移动通信有限公司 A kind of screenshotss method and terminal device
CN111143013A (en) * 2019-12-30 2020-05-12 维沃移动通信有限公司 Screenshot method and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108920239A (en) * 2018-06-29 2018-11-30 维沃移动通信有限公司 A kind of long screenshotss method and mobile terminal
CN109525874A (en) * 2018-09-27 2019-03-26 维沃移动通信有限公司 A kind of screenshotss method and terminal device
CN111143013A (en) * 2019-12-30 2020-05-12 维沃移动通信有限公司 Screenshot method and electronic equipment

Similar Documents

Publication Publication Date Title
CN113079316B (en) Image processing method, image processing device and electronic equipment
CN112860163A (en) Image editing method and device
CN114518820A (en) Icon sorting method and device and electronic equipment
CN114116098B (en) Application icon management method and device, electronic equipment and storage medium
CN111638839A (en) Screen capturing method and device and electronic equipment
CN112181252B (en) Screen capturing method and device and electronic equipment
CN114302009A (en) Video processing method, video processing device, electronic equipment and medium
CN112684963A (en) Screenshot method and device and electronic equipment
CN116610243A (en) Display control method, display control device, electronic equipment and storage medium
CN115729412A (en) Interface display method and device
CN113810538B (en) Video editing method and video editing device
CN113296661B (en) Image processing method, device, electronic equipment and readable storage medium
CN112202958B (en) Screenshot method and device and electronic equipment
CN115437736A (en) Method and device for recording notes
CN112162805B (en) Screenshot method and device and electronic equipment
CN115016686A (en) File selection method and device, electronic equipment and readable storage medium
CN114679546A (en) Display method and device, electronic equipment and readable storage medium
CN113778300A (en) Screen capturing method and device
CN114564921A (en) Document editing method and device
CN115328367A (en) Screen capturing method and device, electronic equipment and storage medium
CN113139367A (en) Document generation method and device and electronic equipment
CN112492206B (en) Image processing method and device and electronic equipment
CN113726953B (en) Display content acquisition method and device
CN117453101A (en) Image display method and device
CN117319549A (en) Multimedia data selection method and device

Legal Events

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