CN114860135A - Screenshot method and device - Google Patents

Screenshot method and device Download PDF

Info

Publication number
CN114860135A
CN114860135A CN202210565431.7A CN202210565431A CN114860135A CN 114860135 A CN114860135 A CN 114860135A CN 202210565431 A CN202210565431 A CN 202210565431A CN 114860135 A CN114860135 A CN 114860135A
Authority
CN
China
Prior art keywords
screenshot
input
screen
control
user
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
CN202210565431.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 CN202210565431.7A priority Critical patent/CN114860135A/en
Publication of CN114860135A publication Critical patent/CN114860135A/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
    • 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/0486Drag-and-drop
    • 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
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation

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)
  • Digital Computer Display Output (AREA)

Abstract

The application discloses a screenshot method and a screenshot device. Belongs to the technical field of communication. The method is applicable to an electronic device with a folding screen, which includes a first screen and a second screen. An embodiment of the method comprises: receiving a first input of a user under the condition that the electronic equipment with the folding screen comprises N split screen display areas, wherein N is an integer larger than 1; respectively displaying screenshot window controls in each split-screen display area in response to a first input; receiving a second input of the first screen by the user; and responding to the second input, taking at least one screenshot window control as a target window control, generating a screenshot preview image based on the screenshot image corresponding to the target window control, and displaying the screenshot preview image in a second screen.

Description

Screenshot method and device
Technical Field
The embodiment of the application relates to the technical field of communication, in particular to a screenshot method and device.
Background
With the development of electronic technology, more and more electronic devices support the screenshot function. Generally, the electronic device supports screenshot of the whole screen, and a user can edit an acquired screenshot image to obtain a required screenshot image.
In the prior art, when screenshot images of at least two areas in a screen need to be acquired, at least two screenshot operations need to be repeatedly executed, and a user needs to switch images in a gallery to browse the acquired screenshot images, so that the operation is complicated.
Disclosure of Invention
The embodiment of the application aims to provide a screenshot method and a screenshot device, which can solve the technical problem that operation is complicated when screenshot images of at least two areas need to be acquired.
In a first aspect, an embodiment of the present application provides a screenshot method, which is applied to an electronic device with a foldable screen, where the electronic device with the foldable screen includes a first screen and a second screen, and the method includes: receiving a first input of a user under the condition that the electronic equipment with the folding screen comprises N split-screen display areas, wherein N is an integer larger than 1; in response to the first input, respectively displaying a screenshot window control in each of the split-screen display areas; receiving a second input of the first screen by the user; and responding to the second input, taking at least one screenshot window control as a target window control, generating a screenshot preview image based on the screenshot image corresponding to the target window control, and displaying the screenshot preview image in the second screen.
In a second aspect, an embodiment of the present application provides a screenshot device applied to an electronic device having a foldable screen, where the foldable screen includes a first screen and a second screen, and the screenshot device includes: the folding screen comprises a first receiving unit, a second receiving unit and a display unit, wherein the first receiving unit is used for receiving a first input of a user under the condition that the folding screen comprises N split screen display areas, and N is an integer larger than 1; the first display unit is used for responding to the first input and respectively displaying a screenshot window control in each split-screen display area; the second receiving unit is used for receiving a second input of the first screen by the user; and the second display unit is used for responding to the second input, using at least one screenshot window control as a target window control, generating a screenshot preview image based on the screenshot image corresponding to the target window control, and displaying the screenshot preview image in the second screen.
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, the present application provides a readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the method as described in the first aspect above.
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 described in 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 the embodiment of the application, under the condition that the electronic equipment with the folding screen comprises N split-screen display areas, when first input of a user is received, a screenshot window control is respectively displayed in each split-screen display area; when receiving second input of a user to the first screen, at least one screenshot window control is used as a target window control, a screenshot preview image is generated based on a screenshot image corresponding to the target window control, and the screenshot preview image is displayed in the second screen, so that simultaneous display of at least two screenshot window controls can be supported, the user can obtain the screenshot images of one or more areas in the screen only by executing screenshot operation once, and convenience in operation is improved. In addition, the screenshot image corresponding to the target window is fused in the same screenshot preview image, so that a user does not need to enter a gallery to switch images when browsing the images, and the convenience of operation is further improved.
Drawings
FIG. 1 is a flow chart of a screenshot method provided by an embodiment of the present application;
FIG. 2 is one of schematic diagrams of application scenarios of a screenshot method provided in an embodiment of the present application;
fig. 3 is a second schematic diagram of an application scenario of the screenshot method provided in the embodiment of the present application;
fig. 4A is a schematic diagram of a screenshot preview image obtained by using a transverse splicing manner in the embodiment of the present application;
fig. 4B is a schematic diagram of a screenshot preview image obtained by using a longitudinal stitching manner in the embodiment of the present application;
FIG. 5 is a schematic structural diagram of a screenshot device provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 7 is a schematic diagram of a hardware structure of an electronic device suitable for implementing an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly 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 that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
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 screenshot method, device and electronic device provided by the embodiment of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Referring to fig. 1, a flowchart of a screenshot method provided in an embodiment of the present application is shown. The screenshot method provided by the embodiment of the application can be applied to electronic equipment with a folding screen. The electronic equipment with the folding screen comprises a first screen and a second screen. For example, if the display screen of the electronic device with the foldable screen is foldable left and right, the first screen and the second screen may be the left screen and the right screen of the display screen, respectively. For another example, if the display screen of the electronic device with the foldable screen is foldable up and down, the first screen and the second screen may be an upper screen and a lower screen of the display screen, respectively. In practice, the electronic device may be a smartphone, a tablet computer, a laptop, etc.
The flow of the screenshot method provided by the embodiment of the application comprises the following steps:
in step 101, in the case that an electronic device with a folding screen comprises N split-screen display areas, a first input of a user is received.
In this embodiment, the electronic device having the folding screen may support a split screen display function. In a case where the electronic device includes N split-screen display areas, a first input of a user may be received. Wherein N is an integer greater than 1. The first input may be used to initiate a multi-window screenshot function of the electronic device. Illustratively, the first input may include, but is not limited to, at least one of: the method comprises the following steps of touch input of a multi-window screenshot function inlet, a voice instruction for starting the multi-window screenshot function and a specific gesture for starting the multi-window screenshot function. In addition, the first input may also be other feasible inputs, which may be determined according to actual use requirements, and the embodiment of the present application is not limited.
The specific gesture in the embodiment of the application may be any one of a single-click gesture, a sliding gesture, a dragging gesture, a pressure recognition gesture, a long-press gesture, an area change gesture, a double-press gesture, and a double-click gesture. The click input in the embodiment of the application can be click input, double-click input, click input of any number of times and the like, and can also be long-time press input or short-time press input and the like. The multi-window screenshot function entry in the embodiment of the application may be a shortcut key, a floating ball, or other controls displayed in the screen, or may be a physical key, which is not specifically limited herein.
And 102, responding to the first input, and respectively displaying a screenshot window control in each split-screen display area.
In this embodiment, in response to the first input, the electronic device may display a screenshot window control in each of the split-screen display areas, respectively. Each screenshot window control can correspond to a screenshot image of a local region in the display screen. The shape of the screenshot window may be rectangular, circular, irregular, or the like. The display position and size of the screenshot window can be preset, can be set in a self-adaptive mode according to the number of the split-screen display areas of the display screen, and can be adjusted manually by a user.
As an example, fig. 2 shows one of schematic diagrams of application scenarios of a screenshot method provided in an embodiment of the present application. In this application scenario, the display screen of the electronic device with the foldable screen is in a left-right foldable form. The display screens may include a left screen 201 and a right screen 202. The left screen may include two split-screen display areas, which are respectively shown by reference numerals 2011 and 2012. The right screen may also include two split screen display areas, as shown at 2021 and 2022. In response to the first input, the electronic device may display screenshot window control a in the split-screen display area indicated by reference numeral 2011, screenshot window control B in the split-screen display area indicated by reference numeral 2012, screenshot window control C in the split-screen display area indicated by reference numeral 2021, and screenshot window control D in the split-screen display area indicated by reference numeral 2012.
Different application pages are usually displayed in different split-screen display areas, so that the method can realize simultaneous screenshot of multiple application pages, reduce the complexity of screenshot operation and improve the convenience of screenshot operation.
And 103, receiving a second input of the user to the first screen.
In this embodiment, the second input may be used to select a target window from the displayed screenshot window. The target window may be one or more of the screenshot windows described above. As an example, the second input may be an input to a control displayed in the first screen. The control can support a target window selection function.
In some alternative implementations, a window selection control may be displayed in the first screen and a second input to the window selection control by the user is received. Wherein the window selection control may be used to select a target window control from the screenshot window controls, and the second input may include, but is not limited to, a click input to the screenshot window selection control. As an example, fig. 3 shows a second schematic diagram of an application scenario of the screenshot method provided in the embodiment of the present application. The window selection control can be seen at reference numeral 301. The window selection control may include a plurality of sub-controls, which are sub-control 1, sub-control 2, sub-control 3, and sub-control 4, respectively. Each child control corresponds to a screenshot window control. When the user selects one sub-control in the window selection control, the electronic device can take the screenshot window control corresponding to the sub-control as the target window control. Therefore, the user can quickly select the target window control by clicking the window selection control, and the efficiency of editing the screenshot content is improved.
Further, the position relationship between the sub-controls can represent the position relationship of the screenshot window control corresponding to the sub-controls. For example, the sub-control 1 corresponds to the screenshot window control a located on the upper left, the sub-control 2 corresponds to the screenshot window control B located on the lower left, the sub-control 3 corresponds to the screenshot window control C located on the upper right, and the sub-control 4 corresponds to the screenshot window control D located on the lower left. Therefore, convenience and accuracy of user input can be improved. It should be noted that the controls shown in fig. 3 may be displayed with a predetermined transparency (e.g., 50% transparency) to avoid obscuring the contents in the screenshot window.
In some alternative implementations, the location information of the screenshot window controls may also be displayed prior to receiving the user's second input to the first screen. The position information may be coordinates of diagonal vertices of the screenshot window control. The diagonal vertices may include the top left vertex and the bottom right vertex of the screenshot window control, or may include the top right vertex and the bottom left vertex of the screenshot window control.
On the basis, the electronic equipment can display the position information input control in the first screen and receive second input of the user to the display position information input control. The second input may be for inputting location information. The position information input control can be used for acquiring the position information of the screenshot window input by the user. After the user inputs the position information, at least one screenshot window control can be used as a target window control based on the position information. In practice, the position information of each screenshot window and the position information input by the user can be subjected to character string matching, and the target window is determined based on the character string matching result. As an example, the position information input control may be referred to as illustrated by reference numeral 302 in fig. 3. When a user inputs the diagonal vertex coordinates of the screenshot window A in the position information input control and clicks the 'adding' control, the screenshot window control A can be determined as a target window. The user may sequentially input the diagonal vertex coordinates of one or more screenshot window controls to effect selection of one or more target window controls.
By displaying the position information of the diagonal vertices of each screenshot window, a user can quickly obtain the position information of a required screenshot window control. By sequentially inputting the position information of one or more screenshot window controls in the position information input control, the target window control can be conveniently and quickly selected, and the efficiency of editing screenshot contents is improved.
And 104, responding to the second input, taking at least one screenshot window control as a target window control, generating a screenshot preview image based on the screenshot image corresponding to the target window control, and displaying the screenshot preview image in a second screen.
In this embodiment, in response to the second input, the electronic device may first use at least one screenshot window control as a target window control, and then may generate a screenshot preview image based on a screenshot image corresponding to the target window control. After the screenshot preview image is generated, the screenshot preview image can be displayed in a second screen, so that a user can browse and adjust the screenshot image conveniently. As an example, the screenshot images corresponding to the target window may be stitched, and the image obtained after the stitching may be used as a screenshot preview image. Wherein, the splicing direction can be horizontal splicing or vertical splicing. The stitching order may be specified by the user or determined based on the user's selection order of the preview images of the screenshot. The spliced screenshot preview images can include screenshot images corresponding to all the target windows.
By way of example, fig. 4A shows a schematic diagram of a screenshot preview image obtained by adopting a transverse splicing manner. The screenshot images corresponding to the target window control are respectively a health code, a travel code and a nucleic acid detection report. The obtained screenshot preview image can comprise three screenshot images of a health code, a travel code and a nucleic acid detection report, and the three screenshot images are displayed in a transverse side-by-side mode.
As yet another example, fig. 4B shows a schematic diagram of a screenshot preview image obtained by longitudinal stitching. The screenshot images corresponding to the target window control are respectively a health code, a travel code and a nucleic acid detection report. The obtained screenshot preview image can comprise three screenshot images of a health code, a travel code and a nucleic acid detection report, and the three screenshot images are horizontally and vertically displayed.
In the two examples, when the user views the screenshot preview image, the user can simultaneously browse the three contents of the health code, the travel code and the nucleic acid detection report, so that image switching is not needed, and the convenience of user operation is improved. In addition, the screen space can be fully utilized, unnecessary picture storage processes are reduced, and the memory amount occupied by the pictures is reduced.
In the method provided by the above embodiment of the application, under the condition that the electronic device with the folding screen comprises N split-screen display areas, when a first input of a user is received, a screenshot window control is respectively displayed in each split-screen display area; when receiving second input of a user to the first screen, at least one screenshot window control is used as a target window control, a screenshot preview image is generated based on a screenshot image corresponding to the target window control, and the screenshot preview image is displayed in the second screen, so that simultaneous display of at least two screenshot window controls can be supported, the user can obtain the screenshot images of one or more areas in the screen only by executing screenshot operation once, and convenience in operation is improved. In addition, the screenshot image corresponding to the target window is fused in the same screenshot preview image, so that a user does not need to enter a gallery to switch images when browsing the images, and the convenience of operation is further improved.
In some optional embodiments, after step 102 is performed, i.e., after the screenshot window control is respectively displayed in each of the above-mentioned split-screen display areas, the electronic device may further receive a third input from the user. The third input may be for adjusting at least one of a position, a size of the at least one screenshot window control. In response to a third input, the electronic device may adjust at least one of a position and a size of the at least one screenshot window.
As an example, the third input may be a gesture operation on at least one screenshot window control, or may be a gesture operation on a screenshot image corresponding to the at least one screenshot window control. The gesture operations described above may include, but are not limited to, at least one of: zooming operation and dragging operation.
As yet another example, the electronic device can also display a window adjustment control in the screen that can be used to zoom at least one screenshot window control. For example, the window adjustment control may be as shown in reference numeral 203 in fig. 2, on which a zoom-in sub-control and a zoom-out sub-control may be displayed. The amplification of the screenshot window can be realized by clicking the amplification sub-control in the window adjustment control; and the reduction of the screenshot window can be realized by clicking the reduction sub-control in the window adjusting control. It should be noted that the window adjustment control may also be used to zoom the screenshot image corresponding to the screenshot window control. At the moment, the screenshot image corresponding to the screenshot window control can be amplified by clicking the amplification sub-control in the window adjustment control; and the screenshot image corresponding to the screenshot window control can be reduced by clicking the reduction sub-control in the window adjusting control.
At least one of the position and the size of at least one screenshot window is adjusted, so that a user can edit screenshot images corresponding to one or more screenshot windows after one screenshot operation, the screenshot images are not required to be edited one by searching a gallery, and the screenshot operation is not required to be executed for multiple times, the complexity of the screenshot operation is further reduced, and the convenience of the screenshot operation is improved.
In some optional embodiments, in step 104, when generating the screenshot preview image based on the screenshot image corresponding to the target window, the electronic device may first display a screenshot image container control, see reference numeral 303 in fig. 3. The screenshot image container control can include a screenshot image corresponding to the target window control. In practice, the screenshot image corresponding to the target window can be displayed in the screenshot image container control in a thumbnail form.
The electronic device may receive a fourth input from the user to the screenshot image container control. The fourth input may be used to adjust arrangement information of the screenshot images corresponding to the target window. Wherein, the arrangement information may include, but is not limited to, at least one of the following: the arrangement order and the arrangement direction. The fourth input may include, but is not limited to: single-finger sliding input, single-finger dragging input, double-finger sliding input, double-finger dragging input, and the like. And responding to the fourth input, the electronic equipment can determine arrangement mode information of the screenshot images corresponding to the target window control, and splicing the screenshot images corresponding to the target window control according to the arrangement mode information to obtain a screenshot preview image. Therefore, the user can flexibly control the generation effect of the screenshot preview image.
In some alternative embodiments, the electronic device may also display a length setting control in the display screen, as indicated by reference numeral 304 in FIG. 3. The length setting control may be used to set the length (which may be noted as x) and width (which may be noted as y) of the screenshot image container control. When x is greater than y, the alignment direction may be set to be longitudinally aligned. When x is smaller than y, the alignment direction may be set to be aligned in a lateral direction.
It should be noted that, in the embodiment of the present application, the control and the content displayed in the display screen of the electronic device are not limited. For example, in the scene corresponding to fig. 2, in response to the first input, a transverse bisector, a longitudinal bisector, and the like may be further displayed in the display screen to assist the user in selecting a zoom point when zooming the screenshot window, so as to obtain a more accurate zooming effect. In the scenario corresponding to fig. 3, other controls may also be displayed to implement more functions. For example: confirm control, cancel control, remove control, save control, share control, etc.
It should be noted that, in the screenshot method provided in the embodiment of the present application, the execution subject may be a screenshot device. In the embodiment of the present application, a screenshot device is taken as an example to execute a loading screenshot method, which illustrates the screenshot method provided in the embodiment of the present application.
As shown in fig. 5, the screenshot device 500 of this embodiment includes: a first receiving unit 501, configured to receive a first input from a user when the foldable screen includes N split-screen display areas, where N is an integer greater than 1; a first display unit 502, configured to respond to the first input, and respectively display a screenshot window control in each of the split-screen display areas; a second receiving unit 503, configured to receive a second input to the first screen by the user; a second display unit 504, configured to respond to the second input, use at least one screenshot window control as a target window control, generate a screenshot preview image based on a screenshot image corresponding to the target window control, and display the screenshot preview image in the second screen.
Optionally, the apparatus further comprises: a third receiving unit for receiving a third input of the user; and the adjusting unit is used for responding to the third input and adjusting at least one of the position and the size of at least one screenshot window control. At least one of the position and the size of at least one screenshot window is adjusted, so that a user can edit the screenshot images corresponding to one or more screenshot windows after one screenshot operation, the screenshot images are not required to be edited one by searching a gallery, and the screenshot operation is not required to be executed for multiple times, the complexity of the screenshot operation is further reduced, and the convenience of the screenshot operation is improved.
Optionally, the second receiving unit is further configured to: displaying a window selection control in the first screen; and receiving a second input of the user to the window selection control. Therefore, the user can quickly select the target window control by clicking the window selection control, and the efficiency of editing the screenshot content is improved.
Optionally, the apparatus further comprises: a third display unit, configured to display position information of each screenshot window control; the second receiving unit is further configured to: displaying a position information input control in the first screen; receiving a second input of the user to the display position information input control; the second display unit is further configured to: and responding to the second input, and taking at least one screenshot window control as a target window control based on the position information. By displaying the position information of the diagonal vertices of each screenshot window, a user can quickly obtain the position information of a required screenshot window control. By sequentially inputting the position information of one or more screenshot window controls in the position information input control, the target window control can be conveniently and quickly selected, and the efficiency of editing screenshot contents is improved.
Optionally, the second display unit is further configured to: displaying a screenshot image container control in the first screen, wherein the screenshot image container control comprises a screenshot image corresponding to the target window control; receiving a fourth input of the screenshot image container control from the user; responding to the fourth input, determining arrangement mode information of the screenshot images corresponding to the target window control, and splicing the screenshot images corresponding to the target window control according to the arrangement mode information to obtain screenshot preview images; wherein the arrangement information includes at least one of: the arrangement order and the arrangement direction. Therefore, the user can flexibly control the generation effect of the screenshot preview image.
According to the device provided by the embodiment of the application, under the condition that the electronic equipment with the folding screen comprises N split-screen display areas, when the first input of a user is received, a screenshot window control is respectively displayed in each split-screen display area; when receiving second input of a user to the first screen, at least one screenshot window control is used as a target window control, a screenshot preview image is generated based on a screenshot image corresponding to the target window control, and the screenshot preview image is displayed in the second screen, so that simultaneous display of at least two screenshot window controls can be supported, the user can obtain the screenshot images of one or more areas in the screen only by executing screenshot operation once, and convenience in operation is improved. In addition, the screenshot image corresponding to the target window is fused in the same screenshot preview image, so that a user does not need to enter a gallery to switch images when browsing the images, and the convenience of operation is further improved.
The screenshot device in the embodiment of the present application may be an electronic device, or may be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm top 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 (NAS), a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The screenshot device in the embodiment of the present application may 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 screenshot device provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 6, an electronic device 600 is further provided in this embodiment of the present application, and includes a processor 601 and a memory 602, where a program or an instruction that can be executed on the processor 601 is stored in the memory 602, and when the program or the instruction is executed by the processor 601, the steps of the screenshot method embodiment are implemented, and the same technical effects can be achieved, and are not described again here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include 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 700 includes, but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, and a processor 710.
Those skilled in the art will appreciate that the electronic device 700 may also include a power supply (e.g., a battery) for powering the various components, and the power supply may be logically coupled to the processor 710 via a power management system, such that the functions of managing charging, discharging, and power consumption may be performed 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.
A user input unit 707, configured to receive a first input of a user when the electronic device with a foldable screen includes N split-screen display areas, where N is an integer greater than 1; a display unit 706, configured to respond to the first input, and respectively display a screenshot window control in each of the split-screen display areas; a user input unit 707 further configured to receive a second input to the first screen by the user; the processor 710 is configured to, in response to the second input, take at least one screenshot window control as a target window control, generate a screenshot preview image based on a screenshot image corresponding to the target window control, and control the display unit 706 to display the screenshot preview image in the second screen.
Under the condition that the electronic equipment with the folding screen comprises N split-screen display areas, respectively displaying a screenshot window control in each split-screen display area when receiving first input of a user; when receiving second input of a user to the first screen, at least one screenshot window control is used as a target window control, a screenshot preview image is generated based on a screenshot image corresponding to the target window control, and the screenshot preview image is displayed in the second screen, so that simultaneous display of at least two screenshot window controls can be supported, the user can obtain the screenshot images of one or more areas in the screen only by executing screenshot operation once, and convenience in operation is improved. In addition, the screenshot image corresponding to the target window is fused in the same screenshot preview image, so that a user does not need to enter a gallery to switch images when browsing the images, and the convenience of operation is further improved.
Optionally, the user input unit 707 is further configured to receive a third input from the user; the processor 710 is further configured to adjust at least one of a position and a size of at least one of the screenshot window controls in response to the third input. At least one of the position and the size of at least one screenshot window is adjusted, so that a user can edit the screenshot images corresponding to one or more screenshot windows after one screenshot operation, the screenshot images are not required to be edited one by searching a gallery, and the screenshot operation is not required to be executed for multiple times, the complexity of the screenshot operation is further reduced, and the convenience of the screenshot operation is improved.
Optionally, the display unit 706 is further configured to display a window selection control in the first screen; the user input unit 707 is further configured to receive a second input from the user to the window selection control. Therefore, the user can quickly select the target window control by clicking the window selection control, and the efficiency of editing the screenshot content is improved.
Optionally, the display unit 706 is further configured to display position information of each screenshot window control; a user input unit 707 further configured to display a positional information input control in the first screen; receiving a second input of the user to the display position information input control; the processor 710 is further configured to respond to the second input and take at least one of the screenshot window controls as a target window control based on the location information. By displaying the position information of the diagonal vertices of each screenshot window, a user can quickly obtain the position information of a required screenshot window control. By sequentially inputting the position information of one or more screenshot window controls in the position information input control, the target window control can be conveniently and quickly selected, and the efficiency of editing screenshot contents is improved.
Optionally, the display unit 706 is further configured to display a screenshot image container control in the first screen, where the screenshot image container control includes a screenshot image corresponding to the target window control; the user input unit 707 is further configured to receive a fourth input of the screenshot image container control from the user; the processor 710 is further configured to determine arrangement mode information of the screenshot images corresponding to the target window control in response to the fourth input, and splice the screenshot images corresponding to the target window control according to the arrangement mode information to obtain a screenshot preview image; wherein the arrangement information includes at least one of: the arrangement order and the arrangement direction. Therefore, the user can flexibly control the generation effect of the screenshot preview image.
It should be understood that in the embodiment of the present application, the input Unit 704 may include a Graphics Processing Unit (GPU) 7041 and a microphone 7042, and the Graphics Processing Unit 7041 processes image data of still pictures or videos obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 706 may include a display panel 7061, and the display panel 7061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 707 includes at least one of a touch panel 7071 and other input devices 7072. The touch panel 7071 is also referred to as a touch screen. The touch panel 7071 may include two parts of a touch detection device and a touch controller. Other input devices 7072 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 709 may be used to store software programs as well as various data. The memory 709 may mainly include a first storage area for storing a program or an instruction and a second storage area for 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, and the like) required by at least one function, and the like. Further, the memory 709 may include volatile memory or nonvolatile memory, or the memory 709 may include both volatile and nonvolatile 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 Memory bus RAM (DRRAM). The memory 709 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 710 may include one or more processing units; optionally, the processor 710 integrates an application processor, which primarily handles operations related to the operating system, user interface, and applications, and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 710.
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 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 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 run a program or an instruction to implement each process of the 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.
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 in the 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 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 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 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 (10)

1. A screenshot method is applied to an electronic device with a folding screen, wherein the electronic device with the folding screen comprises a first screen and a second screen, and the screenshot method comprises the following steps:
receiving a first input of a user under the condition that the electronic equipment with the folding screen comprises N split-screen display areas, wherein N is an integer larger than 1;
in response to the first input, respectively displaying a screenshot window control in each of the split-screen display areas;
receiving a second input of the first screen by the user;
and responding to the second input, taking at least one screenshot window control as a target window control, generating a screenshot preview image based on the screenshot image corresponding to the target window control, and displaying the screenshot preview image in the second screen.
2. The method of claim 1, wherein after displaying the screenshot window control in each of the split-screen display regions, respectively, the method further comprises:
receiving a third input of the user;
adjusting at least one of a position and a size of at least one of the screenshot window controls in response to the third input.
3. The method of claim 1, wherein receiving a second user input to the first screen comprises:
displaying a window selection control in the first screen;
and receiving a second input of the window selection control from the user.
4. The method of claim 1, wherein prior to receiving the second user input to the first screen, the method further comprises:
displaying the position information of each screenshot window control;
the receiving of the second input of the user to the first screen comprises:
displaying a position information input control in the first screen;
receiving a second input of the display position information input control by the user;
said taking at least one of said screenshot window controls as a target window control in response to said second input comprises:
in response to the second input, based on the location information, taking at least one of the screenshot window controls as a target window control.
5. The method of claim 1, wherein generating a screenshot preview image based on the screenshot image corresponding to the target window control comprises:
displaying a screenshot image container control in the first screen, wherein the screenshot image container control comprises a screenshot image corresponding to the target window control;
receiving a fourth input of the screenshot image container control by the user;
responding to the fourth input, determining arrangement mode information of the screenshot images corresponding to the target window control, and splicing the screenshot images corresponding to the target window control according to the arrangement mode information to obtain a screenshot preview image;
wherein the arrangement information includes at least one of: the arrangement order and the arrangement direction.
6. A screenshot device, applied to an electronic device having a foldable screen, the foldable screen including a first screen and a second screen, the device comprising:
the folding screen comprises a first receiving unit, a second receiving unit and a display unit, wherein the first receiving unit is used for receiving a first input of a user under the condition that the folding screen comprises N split screen display areas, and N is an integer larger than 1;
the first display unit is used for responding to the first input and respectively displaying a screenshot window control in each split-screen display area;
the second receiving unit is used for receiving a second input of the first screen by the user;
and the second display unit is used for responding to the second input, using at least one screenshot window control as a target window control, generating a screenshot preview image based on the screenshot image corresponding to the target window control, and displaying the screenshot preview image in the second screen.
7. The apparatus of claim 6, further comprising:
a third receiving unit for receiving a third input of the user;
and the adjusting unit is used for responding to the third input and adjusting at least one of the position and the size of at least one screenshot window control.
8. The apparatus of claim 6, wherein the second receiving unit is further configured to:
displaying a window selection control in the first screen;
and receiving a second input of the window selection control from the user.
9. The apparatus of claim 6, further comprising:
the third display unit is used for displaying the position information of each screenshot window control;
the second receiving unit is further configured to:
displaying a position information input control in the first screen;
receiving a second input of the display position information input control by the user;
the second display unit is further configured to:
in response to the second input, based on the location information, taking at least one of the screenshot window controls as a target window control.
10. The apparatus of claim 6, wherein the second display unit is further configured to:
displaying a screenshot image container control in the first screen, wherein the screenshot image container control comprises a screenshot image corresponding to the target window control;
receiving a fourth input of the screenshot image container control by the user;
responding to the fourth input, determining arrangement mode information of the screenshot images corresponding to the target window control, and splicing the screenshot images corresponding to the target window control according to the arrangement mode information to obtain screenshot preview images;
wherein the arrangement information includes at least one of: the arrangement order and the arrangement direction.
CN202210565431.7A 2022-05-23 2022-05-23 Screenshot method and device Pending CN114860135A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210565431.7A CN114860135A (en) 2022-05-23 2022-05-23 Screenshot method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210565431.7A CN114860135A (en) 2022-05-23 2022-05-23 Screenshot method and device

Publications (1)

Publication Number Publication Date
CN114860135A true CN114860135A (en) 2022-08-05

Family

ID=82639887

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210565431.7A Pending CN114860135A (en) 2022-05-23 2022-05-23 Screenshot method and device

Country Status (1)

Country Link
CN (1) CN114860135A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140327831A1 (en) * 2013-03-06 2014-11-06 Tencent Technology (Shenzhen) Company Limited Method and system for dynamic screenshot applied to mobile terminal
US20180284981A1 (en) * 2017-03-28 2018-10-04 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for screen capture processing
CN109271081A (en) * 2018-07-28 2019-01-25 华为技术有限公司 Roll the method and electronic equipment of screenshotss
CN109710349A (en) * 2018-11-28 2019-05-03 维沃移动通信(深圳)有限公司 A kind of screenshotss method and mobile terminal
US20190147026A1 (en) * 2017-05-16 2019-05-16 Apple Inc. Device, Method, and Graphical User Interface for Editing Screenshot Images
CN110737386A (en) * 2019-09-06 2020-01-31 华为技术有限公司 screen capturing method and related equipment
US20200364021A1 (en) * 2019-05-17 2020-11-19 Samsung Electronics Co., Ltd. Electronic device controlling screen based on folding event and method for controlling the same
WO2021098460A1 (en) * 2019-11-22 2021-05-27 华为技术有限公司 Screenshot display method and apparatus, and terminal device
CN113419655A (en) * 2021-05-28 2021-09-21 广州三星通信技术研究有限公司 Application screen capturing method and device for electronic terminal

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140327831A1 (en) * 2013-03-06 2014-11-06 Tencent Technology (Shenzhen) Company Limited Method and system for dynamic screenshot applied to mobile terminal
US20180284981A1 (en) * 2017-03-28 2018-10-04 Beijing Xiaomi Mobile Software Co., Ltd. Method and apparatus for screen capture processing
US20190147026A1 (en) * 2017-05-16 2019-05-16 Apple Inc. Device, Method, and Graphical User Interface for Editing Screenshot Images
CN109271081A (en) * 2018-07-28 2019-01-25 华为技术有限公司 Roll the method and electronic equipment of screenshotss
US20210286491A1 (en) * 2018-07-28 2021-09-16 Huawei Technologies Co., Ltd. Scrolling Screenshot Method and Electronic Device
CN109710349A (en) * 2018-11-28 2019-05-03 维沃移动通信(深圳)有限公司 A kind of screenshotss method and mobile terminal
US20200364021A1 (en) * 2019-05-17 2020-11-19 Samsung Electronics Co., Ltd. Electronic device controlling screen based on folding event and method for controlling the same
CN110737386A (en) * 2019-09-06 2020-01-31 华为技术有限公司 screen capturing method and related equipment
WO2021098460A1 (en) * 2019-11-22 2021-05-27 华为技术有限公司 Screenshot display method and apparatus, and terminal device
CN113419655A (en) * 2021-05-28 2021-09-21 广州三星通信技术研究有限公司 Application screen capturing method and device for electronic terminal

Similar Documents

Publication Publication Date Title
WO2023155885A1 (en) Icon arrangement method and apparatus, and electronic device
CN113407144B (en) Display control method and device
CN114518822A (en) Application icon management method and device and electronic equipment
WO2023241612A1 (en) File selection method and apparatus, electronic device, and readable storage medium
CN112887794A (en) Video editing method and device
WO2023138509A1 (en) Image processing method and apparatus
WO2023155858A1 (en) Document editing method and apparatus
CN116107531A (en) Interface display method and device
CN112162805B (en) Screenshot method and device and electronic equipment
CN114679546A (en) Display method and device, electronic equipment and readable storage medium
CN114998102A (en) Image processing method and device and electronic equipment
CN115437736A (en) Method and device for recording notes
CN115550741A (en) Video management method and device, electronic equipment and readable storage medium
CN115344159A (en) File processing method and device, electronic equipment and readable storage medium
CN115291778A (en) Display control method and device, electronic equipment and readable storage medium
CN114302009A (en) Video processing method, video processing device, electronic equipment and medium
CN114518821A (en) Application icon management method and device and electronic equipment
CN114827737A (en) Image generation method and device and electronic equipment
CN114860135A (en) Screenshot method and device
CN113296661A (en) Image processing method and device, electronic equipment and readable storage medium
CN114125297A (en) Video shooting method and device, electronic equipment and storage medium
CN114253449A (en) Screen capturing method, device, equipment and medium
CN113805709A (en) Information input method and device
CN113157184A (en) Content display method and device, electronic equipment and readable storage medium
CN112765500A (en) Information searching 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