CN112269524A - Screen capturing method, screen capturing device and electronic equipment - Google Patents

Screen capturing method, screen capturing device and electronic equipment Download PDF

Info

Publication number
CN112269524A
CN112269524A CN202011189089.2A CN202011189089A CN112269524A CN 112269524 A CN112269524 A CN 112269524A CN 202011189089 A CN202011189089 A CN 202011189089A CN 112269524 A CN112269524 A CN 112269524A
Authority
CN
China
Prior art keywords
input
image
spliced
screen capture
splicing
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
CN202011189089.2A
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 CN202011189089.2A priority Critical patent/CN112269524A/en
Publication of CN112269524A publication Critical patent/CN112269524A/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
    • G06F3/04845Interaction 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 for image manipulation, e.g. dragging, rotation, expansion or change of colour

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)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a screen capture method, a screen capture device and electronic equipment, belongs to the technical field of communication and aims to solve the problem that follow-up screen capture operation is complex in the related art. The method comprises the following steps: receiving a first screen capture input from a user; in response to the first screen capture input, screen capture is carried out to obtain a screen capture image, and a thumbnail of the screen capture image is added in the target area; receiving a first splicing input of a user; and in response to the first splicing input, splicing the images to be spliced to generate a first spliced image, wherein the images to be spliced comprise at least two images indicated by the thumbnails in the target area.

Description

Screen capturing method, screen capturing device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a screen capturing method, a screen capturing device and electronic equipment.
Background
With the development of communication technology, a screen capture function is provided in an electronic device, and the current screen capture modes include the following three forms: full screen shots, partial shots, and long shots.
Generally, full screen capture is that an electronic device directly carries out complete screen capture on a current visual interface; the local screen capture can be performed in a random frame selection area in the current visual interface for the electronic equipment based on the shape selected by the user; the long screenshot can be a long jigsaw which is generated by the electronic equipment by scrolling the interface up and down in the screenshot process and intercepting the screen content of more than one screen.
However, if the user needs to capture a plurality of different pages and perform post-processing, the user needs to complete the screen capture operation of different interfaces, switch to the gallery application, select a plurality of screenshots, and perform post-processing, so that the subsequent operation of screen capture is complicated.
Disclosure of Invention
The embodiment of the application aims to provide a screen capturing method, a screen capturing device and electronic equipment, and the problem that the subsequent operation of screen capturing is complex in the related art can be solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a screen capture method, where the method includes: receiving a first screen capture input from a user; in response to the first screen capture input, screen capture is carried out to obtain a screen capture image, and a thumbnail for displaying the screen capture image is added in the target area; receiving a first screen capture input from a user; in response to the first screen-cut input, images to be stitched are stitched to generate a first stitched image, the images to be stitched including at least two images indicated by the thumbnails in the target area.
In a second aspect, an embodiment of the present application provides a screen capture device, including: the device comprises a receiving module, a screen capturing module, a display module and a splicing module; the receiving module is used for receiving a first screen capturing input of a user; the screen capture module is used for responding to the first screen capture input received by the receiving module and capturing a screen to obtain a screen capture image; the display module is used for adding and displaying a thumbnail of the screen shot image in the target area after the screen shot image is obtained by the screen shot module; the receiving module is also used for receiving a first screen capturing input of a user; and the splicing module is used for splicing the images to be subjected to screen capturing to generate a first spliced image in response to the first splicing input, wherein the images to be spliced comprise at least two images indicated by the thumbnails in the target area.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions 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 an embodiment of the application, an electronic device receives a first screen capture input of a user; the electronic equipment responds to the first screen capture input, screen capture is carried out to obtain a screen capture image, and a thumbnail for displaying the screen capture image is added in the target area; the electronic equipment receives a first splicing input of a user; and the electronic equipment responds to the first splicing input, and the screen capture images to be spliced are spliced to generate a first spliced image. Because the thumbnail displayed in the target area can include the thumbnail of the screenshot image, that is, after the screenshot input, the thumbnail of the newly-screenshot image can be added in the target area, on one hand, the user can conveniently check and mark the thumbnail, and if the user needs to splice the thumbnails in the target area, the user can splice the images to be spliced into the first spliced image through the first splicing input, so that the user can conveniently and quickly edit and combine a plurality of images obtained by the screenshot after the screenshot. On the other hand, if the user needs to continuously capture and splice a plurality of continuous pages (or interfaces) or capture and splice a plurality of pages of different levels, the user can rapidly capture, view and splice the screen by using the screen capture method provided by the embodiment of the application, and the user does not need to switch to the interface for storing the picture after capturing the screen, thereby simplifying the operation steps of the user.
Drawings
Fig. 1 is a schematic flowchart of a screen capture method according to an embodiment of the present application;
FIG. 2 is a schematic interface diagram of a screen capture method according to an embodiment of the present disclosure;
fig. 3 is a second schematic interface diagram of a screen capture method according to an embodiment of the present application;
fig. 4 is a third schematic interface diagram of a screen capture method according to the embodiment of the present application;
FIG. 5 is a fourth schematic interface diagram of a screen capture method according to an embodiment of the present disclosure;
FIG. 6 is a schematic view of a possible structure of a screen capture device provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 8 is a hardware schematic diagram of an electronic device according to an embodiment of the present application.
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.
Fig. 1 is a schematic method flow diagram of a screen capturing method according to an embodiment of the present application. As shown in fig. 1, the method includes S101 to S104:
s101, the electronic equipment receives a first screen capture input of a user.
In the embodiment of the present application, the target area may be a top area on a screen, a side area on the screen, or a bottom area on the screen of the electronic device. In the case where the electronic device includes a plurality of screens, the target area may also be a screen other than the screen that is being captured. The embodiment of the present application is not particularly limited to this.
For example, the first screenshot input may be a conventional screenshot input, or may be a predefined screenshot input, for example, double-clicking a power + volume key, sliding up three fingers, sliding down three fingers, and the like, which is not limited in this embodiment of the present application.
It should be noted that, in the embodiment of the present application, the screen capturing method provided in the embodiment of the present application may be executed when the multi-page screen capturing mode of the electronic device is turned on.
It should be noted that, before receiving the first screen capture input, in the multi-page screen capture mode, the electronic device may display a thumbnail of the screen capture image obtained by the screen capture input in a fixed region (e.g., the target region) of the screen.
S102, the electronic equipment responds to the first screen capture input, screen capture is conducted, a screen capture image is obtained, and a thumbnail of the screen capture image is added and displayed in the target area.
Illustratively, as shown in fig. 2 (b), the electronic device displays 3 thumbnails, respectively, thumbnail 31, thumbnail 32, and thumbnail 33, in the topmost area of the screen, and after the first screen input, the electronic device may add a thumbnail 34 displaying the screen shot image in the topmost area of the screen, as shown in fig. 2 (c).
S103, the electronic equipment receives a first splicing input of a user.
It should be noted that the first stitching input is an input for determining that the screenshot images to be stitched are to be stitched by the user.
For example, the first stitching input may be a user-selected input that stitches images indicated by some or all of the thumbnails in the target area.
S104, the electronic equipment responds to the first splicing input, and the screen capture images to be spliced are spliced to generate a first spliced image.
The images to be spliced comprise at least two images indicated by the thumbnails in the target area.
It should be noted that, if the first splicing input is the splicing input of the selected partial thumbnails, the images to be spliced are partial images indicated by the partial thumbnails selected by the first splicing input, and if the first splicing input is the splicing input of all the thumbnails selected, the images to be spliced are all images indicated by all the thumbnails in the target area.
For example, the user may press the screen long and push right from the left edge (i.e., the first stitching input) or press the screen long and push left from the right edge (i.e., the first stitching input), merging the currently-truncated set of screen shot pictures (i.e., all images indicated by thumbnails in the stitching target area). That is, the first mosaic input is an input of images indicated by all thumbnails in the selected target area. The electronic device may stitch the images indicated by all the thumbnails in the target area.
As shown in (a) in fig. 3, the first stitching input may be that the user presses the screen for a long time and slides from the left edge to the right edge, and the electronic device may stitch all the thumbnails in the target area.
According to the screen capture method provided by the embodiment of the application, the electronic equipment receives a first screen capture input of a user; the electronic equipment responds to the first screen capture input, screen capture is carried out to obtain a screen capture image, and a thumbnail for displaying the screen capture image is added in the target area; the electronic equipment receives a first splicing input of a user; and the electronic equipment responds to the first splicing input, and the screen capture images to be spliced are spliced to generate a first spliced image. Because the thumbnail displayed in the target area can include the thumbnail of the screenshot image, that is, after the screenshot input, the thumbnail of the newly-screenshot image can be added in the target area, on one hand, the user can conveniently check and mark the thumbnail, and if the user needs to splice the thumbnails in the target area, the user can splice the images to be spliced into the first spliced image through the first splicing input, so that the user can conveniently and quickly edit and combine a plurality of images obtained by the screenshot after the screenshot. On the other hand, if the user needs to continuously capture and splice a plurality of continuous pages (or interfaces) or capture and splice a plurality of pages of different levels, the user can rapidly capture, view and splice the screen by using the screen capture method provided by the embodiment of the application, and the user does not need to switch to the interface for storing the picture after capturing the screen, thereby simplifying the operation steps of the user.
Optionally, in the screen capture method provided in this embodiment of the present application, before the step S103, the following steps S105 and S106 may also be included:
s105, the electronic equipment receives second splicing input of the thumbnails of the at least two screen capture images by the user.
S106, the electronic equipment responds to the second splicing input, the at least two screen capture images are spliced to generate a first sub-spliced image, and a thumbnail of the first sub-spliced image is added and displayed in the target area.
The images to be stitched may include a screen capture image and a first sub-stitched image.
Specifically, in the case where N thumbnails including: at least one of the first type of thumbnail and the second type of thumbnail. N is a positive integer. The first type of thumbnail indicates a screen captured image obtained by screen capturing. The second type of thumbnail indicates a stitched image synthesized from the screen captured images. Illustratively, as shown in fig. 2 (a), 21 is a thumbnail of a first type, and 22 is a thumbnail of a second type.
Based on the scheme, the electronic equipment can splice partial screen capture images to obtain sub-spliced images firstly according to the splicing operation of the user before final splicing is completed, then the sub-spliced images and the sub-spliced images or the screen capture images can be spliced again, the splicing mode is more flexible, and the operation of the user is facilitated.
Optionally, in the screen capture method provided in the embodiment of the present application, after the step S104, the following step S107 may be further included:
s107, the electronic equipment displays the thumbnail of the first spliced image in the target area according to a preset rule.
The preset rule may be set by a user or preset by an electronic device, which is not specifically limited in this embodiment of the application.
Illustratively, a thumbnail of the first stitched image may be displayed at the last position of the target area. For example, at the far right of the topmost area of the screen.
For example, if the electronic device determines that the first stitching input is stitching images indicated by all thumbnails in the target area, the electronic device may display a thumbnail of the first stitched image in the upper right corner of the screen, and delete all other thumbnails and delete all other images indicated by the thumbnails.
Based on the scheme, the electronic equipment can splice the images after the user determines to splice the images, and displays the thumbnails of the spliced images in the target area according to the preset rules, so that the user can conveniently click the thumbnails in the target area to check whether the images obtained by screen capture meet the requirements.
In connection with (b) of fig. 3, the electronic device may display a thumbnail of the screen shot image in an upper right corner region of the screen.
In the screen capture method provided by the embodiment of the application, the electronic device can adopt different splicing modes to splice the screen capture images indicated by the thumbnails selected by the user from the target area, for example, different splicing modes can be determined according to target inputs corresponding to the images to be spliced, wherein one target input is a page switching input before the screen capture input corresponding to one screen capture image.
In addition, if the first screenshot image is the first screenshot image in the multi-page screenshot mode, the target input of the screenshot image may be regarded as a horizontal input or a vertical input. After the first screen capture, switching the page by sliding left and right and capturing the screen to obtain a second screen capture image, wherein the target input corresponding to the second screen capture image is a horizontal input; and after the user switches the page by sliding up and down and captures the screen to obtain a third screen capture image, and the target input corresponding to the third screen capture image is longitudinal input.
Optionally, in the screen capture method provided in the embodiment of the present application, the S104 may be specifically executed by the following S104a, S104b, or S104 c:
and S104a, if the target input corresponding to the screenshot images to be spliced is a transverse input, the electronic equipment responds to the first splicing input, and the screenshot images to be spliced are spliced according to the first splicing mode to generate a first spliced image.
Illustratively, the first splicing manner may be transverse splicing or longitudinal splicing.
And S104b, if the target input corresponding to each screen capture image to be spliced is longitudinal input, the electronic equipment responds to the first splicing input, and splices the screen capture images to be spliced according to a second splicing mode to generate a first spliced image.
Illustratively, the second splicing manner may be a longitudinal splicing manner or a transverse splicing manner.
The first splicing method is different from the second splicing method. Under the condition that the first splicing mode is transverse splicing, the second splicing mode is longitudinal splicing; and under the condition that the first splicing mode is longitudinal splicing, the second splicing mode is transverse splicing.
And S104c, if the target input corresponding to the screen capture image is a horizontal input and the target input corresponding to the screen capture image is a vertical input in the screen capture images to be spliced, splicing the screen capture images to be spliced according to a third splicing mode to generate a first spliced image.
The third splicing method is different from the first splicing method, and is also different from the second splicing method.
Illustratively, the third splicing manner is a grid splicing.
In the embodiment of the application, the position of each image can be determined according to the direction corresponding to the target input corresponding to the image to be stitched by the grid stitching.
For example, fig. 4 is a schematic diagram of a display interface provided in the embodiment of the present application, and assuming that a user selects and splices an image 1, an image 2, and an image 3, and assuming that the image 1 is an image obtained by first screenshot, the image 2 is an image obtained by screenshot after a transverse interface is switched, and the image 3 is an image obtained by screenshot after a transverse interface is switched, the image 1, the image 2, and the image 3 may be arranged in a transverse manner 41 in fig. 4; assuming that the image 1 is an image obtained by first screenshot, the image 2 is an image obtained by screenshot after the interface is longitudinally switched, and the image 3 is an image obtained by screenshot after the interface is longitudinally switched, the image 1, the image 2, and the image 3 may be arranged in a longitudinal manner 42 in fig. 4; assuming that the image 1 is an image obtained by first screenshot, the image 2 is an image obtained by screenshot after vertically switching an interface, the image 3 is an image obtained by screenshot after horizontally switching an interface, the image 4 is an interface corresponding to the image 1 and an image obtained by screenshot after vertically switching an interface, the image 5 is an image obtained by screenshot after vertically switching an interface, and the image 6 and the image 7 are images obtained by screenshot after horizontally switching, the images 1 to 7 can be arranged according to the grid pattern 43 in fig. 4.
Based on the scheme, the user can quickly splice the screen capture images according to the direction of the switching interface, the splicing after the user captures the screen is convenient, and the operation steps of the user are simplified.
It should be noted that after the first mosaic input, the user may also click the thumbnail of the first mosaic image as needed to preview the mosaic effect of the first mosaic image, drag the mosaic screenshot image on the first mosaic image, and adjust the display position of the screenshot image in the mosaic image.
Generally, a user can select a common screen capture mode for screen capture, and can also select a multi-page screen capture mode provided in the embodiment of the present application. The user can start the multi-page screen capture mode in the setting interface, can click a switch of the multi-page screen capture mode in the pull-down menu to start the multi-page screen capture mode, and can also select to start the multi-page screen capture mode by adopting preset gesture input.
Optionally, before the foregoing S101, the screen capture method provided in this embodiment of the application may further include the following S108 and S109:
s108, the electronic equipment receives a first input of a user.
The first input is a preset gesture input.
For example, the gesture input for enabling the multi-page screen capture mode may be an input of long pressing of a power key + a volume key.
S109, the electronic equipment responds to the first input and starts a multi-page screen capture mode.
For example, the first input may be an input for a user to start a multi-page screenshot mode, and the first input may also be an input for a user to start a multi-page screenshot mode and to screenshot, which is not specifically limited in this embodiment of the present application.
For example, in the multi-page screenshot mode, a user can perform single-interface full screenshot through a quick screenshot operation, such as double-click on a power supply + volume key, three-finger up-sliding, three-finger down-sliding and the like, and an image obtained after screenshot can be automatically displayed in a thumbnail mode in a suspended manner in a top area of a screen. The user can slide left and right in the top area of the screen to view the currently captured screenshot picture (namely, the screenshot picture), and the screenshot picture can be deleted by clicking the thumbnail and sliding upwards.
Based on the scheme, the electronic equipment can start the multi-page screen capture mode after the user inputs the preset gesture input, so that the user can conveniently and quickly enter the multi-page screen capture mode, and the operation steps are simple and convenient.
Optionally, after the above S102, the screen capture method provided in the embodiment of the present application may further include the following S110 and S111:
and S110, the electronic equipment receives a second input of the user.
Wherein the second input is an input by a user selecting at least two thumbnails in the target area.
In the embodiment of the application, the at least two thumbnails are partial thumbnails in the target area.
For example, assuming the user selects two thumbnails, the second input may be an input for the user to double-point two thumbnails across. Assuming that the user selects three thumbnails, the second input may be an input for the user to three-finger select three thumbnails to slide from the top of the screen to the bottom of the screen.
Illustratively, as shown in fig. 5 (a), the second input may be an input in which the user selects two thumbnails 52 and 53 in the middle of the selection screen by two fingers and slides toward each other.
And S111, the electronic equipment responds to a second input, and a second spliced image is spliced and generated according to the screen capture images indicated by the at least two thumbnails.
It is to be understood that the thumbnail of the second stitched image has been displayed in the target area prior to the first screen cut input.
When the user selects and splices screen shots indicated by partial thumbnails in the target area, the screen shots used may be deleted directly after the splicing, or may be temporarily stored in the electronic device.
As shown in fig. 5 (b), the electronic apparatus deletes the thumbnail image 52 and the thumbnail image 53, moves the thumbnail image 54 to the position of the original thumbnail image 52, and displays the thumbnail image 55 of the second stitched image in which the thumbnail image 52 and the screen capture image indicated by the thumbnail image 53 are stitched after the thumbnail image 54.
Based on the scheme, after the screen capture, the user can splice partial images in the captured image according to the preference. The steps of adjusting the display position of each screen capture image when the user splices all the screen capture images are reduced.
Optionally, after S111, the screen capture method provided in the embodiment of the present application may further include the following S112:
and S112, the electronic equipment displays the thumbnail of the second spliced image at the preset position of the target area according to a first rule.
For example, the first rule may be a position in the target region next to the nearest screenshot image, or may be that the stitched image is displayed in a sub-region in the target region, which may be dedicated to displaying the resulting stitched image of the user screenshot image stitching.
Based on the scheme, after the user uses part of the screen capture images for splicing, the electronic equipment can display the spliced images obtained by splicing at the preset positions of the target area according to the first rule, so that the user can conveniently determine that the images are spliced images. Thereby providing convenience for subsequent saving or continuous splicing with other images.
Optionally, in the screen capture method provided in this embodiment of the application, if the first input is that the user selects to splice all images indicated by the thumbnails in the target area, after S104, the following S113 and S114a or S113 and S114b may be further included:
s113, the electronic equipment displays the thumbnail of the first spliced image in a suspension mode in the target area.
For example, the electronic device may hover the first stitched image for display in the upper left corner of the screen after compositing the first stitched image.
S114, 114a, if the electronic device receives the saving input within the first preset time, the electronic device stores the first stitched image in the electronic device after the first preset time, and exits the multi-page screen capture mode.
In this embodiment of the application, the first preset time period may be configured by default in the electronic device, or may be set by a user, which is not specifically limited in this embodiment of the application.
And S114b, if the electronic device receives a saving input within the first preset time, the electronic device responds to the saving input, stores the first spliced image in the electronic device, and exits the multi-page screen capture mode.
Based on the scheme, after the images to be stitched are stitched and synthesized into the first stitched image according to the first stitching input of the user, the electronic device may store the stitched images in the electronic device according to a storage input of the user, for example, in a gallery, or the electronic device may automatically store the first stitched image in the electronic device after synthesizing the first stitched image for a first preset time. And the multi-page screen capture mode is directly exited after the storage, so that misoperation caused by the fact that the user forgets to exit the mode can be avoided.
Alternatively, after the electronic device synthesizes the first stitched image, the other images in the target area than the thumbnail of the first stitched image may be deleted, that is, only the thumbnail of the first stitched image is displayed in the target area, and further, after the above-mentioned S114a or S114b, the electronic device may also delete the screen capture image for synthesizing the first stitched image, so that waste of storage space may be reduced.
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 a control module in the screen capture device for executing the screen capture method. In the embodiment of the present application, a method for executing screen capturing by a screen capturing device is taken as an example, and a device of the screen capturing method provided in the embodiment of the present application is described.
Fig. 6 is a schematic structural diagram of a possible screen capture device provided in an embodiment of the present application, where the screen capture device 600 includes: the system comprises a receiving module 601, a screen capturing module 602, a display module 603 and a splicing module 604; a receiving module 601, configured to receive a first screen capture input of a user; a screen capture module 602, configured to capture a screen capture image in response to the first screen capture input received by the receiving module 601; the display module 603 is configured to add a thumbnail of the screenshot image in the target area after the screenshot module 602 captures the screenshot image; the receiving module 601 is further configured to receive a first splicing input of a user; the stitching module 604 is configured to stitch the images to be stitched to generate a first stitched image in response to the first stitching input, where the images to be stitched include at least two images indicated by the thumbnails in the target area.
Optionally, the receiving module is further configured to receive a second mosaic input of thumbnails of at least two screen shots before receiving the first mosaic input of the user; the splicing module is also used for splicing the at least two screen capture images to generate a first sub-spliced image in response to a second splicing input, and adding a thumbnail of the first sub-spliced image in the target area; the image to be spliced comprises a screen capture image and a first sub-spliced image.
Optionally, the display module is further configured to display a thumbnail of the first stitched image in the target area according to a preset rule after the stitching module stitches the images to be stitched into the first stitched image.
Optionally, the splicing module is specifically configured to: if the target input of the screenshot image object to be spliced is transverse input, splicing the screenshot images to be spliced according to a first splicing mode to generate a first spliced image; or if the target input corresponding to the screenshot images to be spliced is longitudinal input, splicing the screenshot images to be spliced according to a second splicing mode to generate a first spliced image; if the target input corresponding to the screenshot image in the screenshot images to be spliced is a horizontal input and the target input corresponding to the screenshot image is a vertical input, the screenshot images to be spliced are spliced according to a third splicing mode to generate a first spliced image; wherein one target input is a page switching input before a screen capture input corresponding to one screen capture image.
Optionally, the screen capturing device further comprises a starting module; the receiving module is further used for receiving a first input of the user before receiving the first screen capture input of the user, wherein the first input is a preset gesture input; and the starting module is used for responding to the first input received by the receiving module and starting the multi-page screen capture mode.
Optionally, the screen capturing device further comprises a saving module; the display module is further used for displaying the thumbnail of the first spliced image in a suspension manner in the target area after the images to be spliced are spliced to generate the first spliced image; the storage module is used for storing the first spliced image in the electronic equipment after the first preset time length if the storage input is not received within the first preset time length; or, if a save input is received within a first preset time period, responding to the save input, and storing the first spliced image in the electronic equipment; and the starting module is also used for exiting the multi-page screen capture mode.
According to the screen capture device provided by the embodiment of the application, the screen capture device receives a first screen capture input of a user; the screen capture device responds to the first screen capture input, screen capture is carried out to obtain a screen capture image, and a thumbnail of the screen capture image is added to the target area; the screen capture device receives a first splicing input of a user; and the screen capture device responds to the first splicing input, and splices the screen capture images to be spliced to generate a first spliced image. Because the thumbnail displayed in the target area can include the thumbnail of the screenshot image, that is, after the screenshot input, the thumbnail of the newly-screenshot image can be added in the target area, on one hand, the user can conveniently check and mark the thumbnail, and if the user needs to splice the thumbnails in the target area, the user can splice the images to be spliced into the first spliced image through the first splicing input, so that the user can conveniently and quickly edit and combine a plurality of images obtained by the screenshot after the screenshot. On the other hand, if the user needs to continuously capture and splice a plurality of continuous pages (or interfaces) or capture and splice a plurality of pages of different levels, the user can rapidly capture, view and splice the screen by using the screen capture method provided by the embodiment of the application, and the user does not need to switch to the interface for storing the picture after capturing the screen, thereby simplifying the operation steps of the user.
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 a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
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 (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
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 5, and is not described here again to avoid repetition.
Optionally, as shown in fig. 7, an electronic device 700 is further provided in this embodiment of the present application, and includes a processor 701, a memory 702, and a program or an instruction stored in the memory 702 and executable on the processor 701, where the program or the instruction is executed by the processor 701 to implement each process of the screen capturing method embodiment, and can achieve the same technical effect, and no further description is provided here 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. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 8 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 device comprises a user input unit 1007 for receiving a first screen capture input of a user; a processor 1010, configured to capture a screen to obtain a captured image in response to the first screen capture input; a display unit 1006, configured to add a thumbnail image for displaying the screenshot image in the target region; a user input unit 1007 configured to receive a first splicing input of a user; a processor 1010, configured to, in response to the first stitching input, stitch images to be stitched together to generate a first stitched image, where the images to be stitched include at least two images indicated by thumbnails in the target area.
The embodiment of the application provides electronic equipment, which receives a first screen capture input of a user; the electronic equipment responds to the first screen capture input, screen capture is carried out to obtain a screen capture image, and a thumbnail for displaying the screen capture image is added in the target area; the electronic equipment receives a first splicing input of a user; and the electronic equipment responds to the first splicing input, and the screen capture images to be spliced are spliced to generate a first spliced image. Because the thumbnail displayed in the target area can include the thumbnail of the screenshot image, that is, after the screenshot input, the thumbnail of the newly-screenshot image can be added in the target area, on one hand, the user can conveniently check and mark the thumbnail, and if the user needs to splice the thumbnails in the target area, the user can splice the images to be spliced into the first spliced image through the first splicing input, so that the user can conveniently and quickly edit and combine a plurality of images obtained by the screenshot after the screenshot. On the other hand, if the user needs to continuously capture and splice a plurality of continuous pages (or interfaces) or capture and splice a plurality of pages of different levels, the user can rapidly capture, view and splice the screen by using the screen capture method provided by the embodiment of the application, and the user does not need to switch to the interface for storing the picture after capturing the screen, thereby simplifying the operation steps of the user.
Optionally, the user input unit 1007 is configured to receive a second splicing input of thumbnails of at least two screenshot images by the user; a processor 1010 configured to stitch the at least two screen shots to generate a first sub-stitched image in response to a second stitching input; a display unit 1006, configured to add and display a thumbnail of the first sub-mosaic image in the target area; the image to be spliced comprises a screen capture image and a first sub-spliced image.
Optionally, the display unit 1006 is further configured to display a thumbnail of the first stitched image in the target area according to a preset rule after the processor 1010 stitches the images to be stitched to generate the first stitched image.
Optionally, the processor 1010 is configured to, if a target input corresponding to the screenshot images to be stitched is a horizontal input, stitch the screenshot images to be stitched according to a first stitching method to generate a first stitched image; or if the target input corresponding to the screenshot images to be spliced is longitudinal input, splicing the screenshot images to be spliced according to a second splicing mode to generate a first spliced image; or if the target input corresponding to the screenshot image in the screenshot images to be spliced is a horizontal input and the target input corresponding to the screenshot image is a vertical input, the screenshot images to be spliced are spliced according to a third splicing mode to generate a first spliced image; wherein one target input is a page switching input before a screen capture input corresponding to one screen capture image.
Optionally, the user input unit 1007 is further configured to receive a first input of the user before receiving a first screen capture input of the user, where the first input is a preset gesture input; the processor 1010 is further configured to enable a multi-page screen capture mode in response to the first input.
Optionally, the display unit 1006 is further configured to, after the processor 1010 stitches the images to be stitched to generate a first stitched image, display a thumbnail of the first stitched image in a suspended manner in the target area; the processor 1010 is further configured to store the first stitched image in the electronic device after a first preset time period if the save input is not received within the first preset time period, and exit the multi-page screen capture mode; or if the storage input is received within the first preset time, responding to the storage input, storing the first spliced image in the electronic equipment, and exiting the multi-page screen capture mode.
It should be understood that in the embodiment of the present application, the input Unit 1004 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 1006 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 1007 includes 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 1009 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 1010 may integrate an application processor that handles primarily operating systems, user interfaces, applications, etc. and a modem processor that handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
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 each process of the foregoing screenshot method embodiment, and can achieve the same technical effect, 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 Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
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 run a program or an instruction to implement each process of the foregoing screenshot method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
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 phrase "comprising an … …" does not exclude the presence of other like elements 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 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, an air conditioner, 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 invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (13)

1. A method of screen capture, the method comprising:
receiving a first screen capture input from a user;
in response to the first screen capture input, screen capture is carried out to obtain a screen capture image, and a thumbnail of the screen capture image is added and displayed in a target area;
receiving a first splicing input of a user;
and in response to the first splicing input, splicing the images to be spliced to generate a first spliced image, wherein the images to be spliced comprise at least two images indicated by the thumbnails in the target area.
2. The method of claim 1, wherein prior to receiving the first splice input by the user, the method further comprises:
receiving a second splicing input of the thumbnails of the at least two screen capture images by the user;
responding to the second splicing input, splicing the at least two screen capture images to generate a first sub-spliced image, and adding and displaying thumbnails of the first sub-spliced image in the target area;
wherein the image to be stitched comprises the screen capture image and the first sub-stitched image.
3. The method according to claim 1, wherein after the stitching the images to be stitched to generate the first stitched image, the method comprises:
and displaying the thumbnail of the first spliced image in the target area according to a preset rule.
4. The method according to any one of claims 1 to 3, wherein the stitching the images to be stitched to generate a first stitched image comprises:
if the target input corresponding to the screenshot images to be spliced is the transverse input, the screenshot images to be spliced are spliced according to a first splicing mode to generate a first spliced image;
alternatively, the first and second electrodes may be,
if the target input corresponding to the screenshot images to be spliced is longitudinal input, splicing the screenshot images to be spliced according to a second splicing mode to generate a first spliced image;
alternatively, the first and second electrodes may be,
if the target input corresponding to the screenshot image in the screenshot images to be spliced is a horizontal input and the target input corresponding to the screenshot image is a vertical input, the screenshot images to be spliced are spliced according to a third splicing mode to generate a first spliced image;
wherein one target input is a page switching input before a screen capture input corresponding to one screen capture image.
5. The method of claim 1, wherein prior to receiving the first screen-cut input by the user, the method further comprises:
receiving a first input of a user, wherein the first input is a preset gesture input;
and responding to the first input, and starting a multi-page screen capture mode.
6. The method of claim 5, wherein after the stitching the images to be stitched to generate the first stitched image, the method further comprises:
displaying a thumbnail of the first stitched image in suspension in the target area;
if the saving input is not received within a first preset time, storing the first spliced image in the electronic equipment after the first preset time, and exiting the multi-page screen capturing mode; alternatively, the first and second electrodes may be,
and if a storage input is received within a first preset time, responding to the storage input, storing the first spliced image in the electronic equipment, and exiting the multi-page screen capture mode.
7. A screen capture device, the screen capture device comprising: the device comprises a receiving module, a screen capturing module, a display module and a splicing module;
the receiving module is used for receiving a first screen capture input of a user;
the screen capture module is used for responding to the first screen capture input received by the receiving module and capturing a screen to obtain a screen capture image;
the display module is used for adding a thumbnail for displaying the screen-shot image in a target area after the screen-shot image is obtained by the screen-shot module;
the receiving module is further used for receiving a first splicing input of a user;
and the splicing module is used for splicing the images to be spliced to generate a first spliced image in response to the first splicing input, wherein the images to be spliced comprise at least two images indicated by the thumbnails in the target area.
8. The screen capture device of claim 7,
the receiving module is further used for receiving a second splicing input of the thumbnails of the at least two screen capture images before receiving the first splicing input of the user;
the splicing module is further used for splicing the at least two screen capture images to generate a first sub-spliced image in response to the second splicing input, and adding a thumbnail of the first sub-spliced image in the target area;
wherein the image to be stitched comprises the screen capture image and the first sub-stitched image.
9. The screen capture device of claim 7,
the display module is further configured to display a thumbnail of the first stitched image in the target area according to a preset rule after the images to be stitched are stitched into the first stitched image by the stitching module.
10. The screen capture device of any one of claims 7 to 9, wherein the splicing module is specifically configured to:
if the target input of the screenshot image object to be spliced is transverse input, splicing the screenshot image to be spliced according to a first splicing mode to generate a first spliced image;
alternatively, the first and second electrodes may be,
if the target input corresponding to the screenshot images to be spliced is longitudinal input, splicing the screenshot images to be spliced according to a second splicing mode to generate a first spliced image;
if the target input corresponding to the screenshot image in the screenshot images to be spliced is a horizontal input and the target input corresponding to the screenshot image is a vertical input, the screenshot images to be spliced are spliced according to a third splicing mode to generate a first spliced image;
wherein one target input is a page switching input before a screen capture input corresponding to one screen capture image.
11. The screen capture device of claim 7, further comprising a start module;
the receiving module is further configured to receive a first input of a user before receiving a first screen capture input of the user, where the first input is a preset gesture input;
the starting module is used for responding to the first input received by the receiving module and starting a multi-page screen capture mode.
12. The screen capture device of claim 11, further comprising: a storage module;
the display module is further used for displaying a thumbnail of the first spliced image in a suspension manner in the target area after the images to be spliced are spliced to generate the first spliced image;
the storage module is used for storing the first spliced image in the electronic equipment after a first preset time length if a storage input is not received within the first preset time length; or, if a save input is received within a first preset time period, responding to the save input, and storing the first spliced image in the electronic equipment; the starting module is also used for exiting the multi-page screen capturing mode.
13. An electronic device comprising a processor, a memory, and a program or instructions stored on the memory and executable on the processor, the program or instructions when executed by the processor implementing the steps of the screen capturing method of any of claims 1-6.
CN202011189089.2A 2020-10-30 2020-10-30 Screen capturing method, screen capturing device and electronic equipment Pending CN112269524A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011189089.2A CN112269524A (en) 2020-10-30 2020-10-30 Screen capturing method, screen capturing device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011189089.2A CN112269524A (en) 2020-10-30 2020-10-30 Screen capturing method, screen capturing device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112269524A true CN112269524A (en) 2021-01-26

Family

ID=74345305

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011189089.2A Pending CN112269524A (en) 2020-10-30 2020-10-30 Screen capturing method, screen capturing device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112269524A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102779008A (en) * 2012-06-26 2012-11-14 奇智软件(北京)有限公司 Screen screenshot method and system
CN108984091A (en) * 2018-06-27 2018-12-11 Oppo广东移动通信有限公司 Screenshotss method, apparatus, storage medium and electronic equipment
CN109710127A (en) * 2018-12-19 2019-05-03 维沃移动通信有限公司 A kind of screenshotss method and mobile terminal
CN110602565A (en) * 2019-08-30 2019-12-20 维沃移动通信有限公司 Image processing method and electronic equipment
JP6664589B1 (en) * 2018-12-28 2020-03-13 ヤフー株式会社 Display program, display device, and display method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102779008A (en) * 2012-06-26 2012-11-14 奇智软件(北京)有限公司 Screen screenshot method and system
CN108984091A (en) * 2018-06-27 2018-12-11 Oppo广东移动通信有限公司 Screenshotss method, apparatus, storage medium and electronic equipment
CN109710127A (en) * 2018-12-19 2019-05-03 维沃移动通信有限公司 A kind of screenshotss method and mobile terminal
JP6664589B1 (en) * 2018-12-28 2020-03-13 ヤフー株式会社 Display program, display device, and display method
CN110602565A (en) * 2019-08-30 2019-12-20 维沃移动通信有限公司 Image processing method and electronic equipment

Similar Documents

Publication Publication Date Title
CN112135181B (en) Video preview method and device and electronic equipment
CN112135049B (en) Image processing method and device and electronic equipment
CN113093968B (en) Shooting interface display method and device, electronic equipment and medium
CN111857512A (en) Image editing method and device and electronic equipment
CN111669507A (en) Photographing method and device and electronic equipment
CN112099707A (en) Display method and device and electronic equipment
CN111669506A (en) Photographing method and device and electronic equipment
US20240196082A1 (en) Image Processing Method and Apparatus, and Electronic Device
US20240143148A1 (en) Display control method and apparatus
CN112188001B (en) Shortcut setting method, shortcut setting device, electronic equipment and readable storage medium
CN112558831A (en) Desktop sorting method and device and electronic equipment
CN113467660A (en) Information sharing method and electronic equipment
CN113918260A (en) Application program display method and device and electronic equipment
CN112911147A (en) Display control method, display control device and electronic equipment
CN112836086A (en) Video processing method and device and electronic equipment
CN111813305A (en) Application program starting method and device
CN113891127A (en) Video editing method and device and electronic equipment
CN112162814A (en) Image display method and device and electronic equipment
CN117270736A (en) Image display method and device and electronic equipment
CN113127425B (en) Picture processing method and device and electronic equipment
CN114327173A (en) Information processing method and device and electronic equipment
CN112162805B (en) Screenshot method and device and electronic equipment
CN113393372A (en) Desktop wallpaper setting method and device
CN112269524A (en) Screen capturing method, screen capturing device and electronic equipment
CN112764648A (en) Screen capturing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210126