[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2021136136A1 - 截图方法及电子设备 - Google Patents

截图方法及电子设备 Download PDF

Info

Publication number
WO2021136136A1
WO2021136136A1 PCT/CN2020/139901 CN2020139901W WO2021136136A1 WO 2021136136 A1 WO2021136136 A1 WO 2021136136A1 CN 2020139901 W CN2020139901 W CN 2020139901W WO 2021136136 A1 WO2021136136 A1 WO 2021136136A1
Authority
WO
WIPO (PCT)
Prior art keywords
input
display area
display
screenshots
electronic device
Prior art date
Application number
PCT/CN2020/139901
Other languages
English (en)
French (fr)
Inventor
刘涛
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021136136A1 publication Critical patent/WO2021136136A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation
    • 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/04808Several contacts: gestures triggering a specific function, e.g. scrolling, zooming, right-click, when the user establishes several contacts with the surface simultaneously; e.g. using several fingers or a combination of fingers and pen

Definitions

  • the embodiments of the present application relate to the field of communication technology, and in particular, to a screenshot method and electronic equipment.
  • the long screenshot function is usually turned on so that the page content in the display screen is scrolled upward, and then the content of the continuously scrolled page in the display screen is spliced into a long screenshot.
  • the embodiments of the present application provide a screenshot method and electronic device, which can solve the problem of complicated operations in the existing electronic device when using the long screenshot function.
  • an embodiment of the present application provides a screenshot method applied to an electronic device, the display screen of the electronic device includes a first display area and a second display area, and the method includes:
  • N and M are positive integers, and N ⁇ M.
  • an embodiment of the present application also provides an electronic device, the display screen of the electronic device includes a first display area and a second display area, and the electronic device includes:
  • a receiving module configured to receive a user's first input to the above-mentioned first display area
  • a display module configured to select the display content of the first display area in response to the first input received by the receiving module, and display N screenshots corresponding to the display content in the second display area;
  • the above receiving module is also used to receive a second input of the user on the above N screenshots;
  • the above-mentioned display module is further configured to display a first image in response to the above-mentioned second input received by the above-mentioned receiving module, the first image being stitched based on M target screenshots among the above-mentioned N screenshots;
  • N and M are positive integers, and N ⁇ M.
  • an embodiment of the present application provides an electronic device, including a processor, a memory, and a computer program stored on the memory and capable of running on the processor.
  • the computer program is executed by the processor, the following On the one hand, the steps of the screenshot method.
  • an embodiment of the present application provides a computer-readable storage medium that stores a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the screenshot method as described in the first aspect are implemented.
  • the electronic device after the electronic device (including the first display area and the second display area) receives the first input from the user to the first display area, it can select the display content of the first display area, and click The second display area displays N screenshots corresponding to the displayed content. Then, after receiving the second input from the user to the above N screenshots, the electronic device can display the first image stitched based on the M target screenshots among the above N screenshots. This allows the user to take screenshots in the first display area of the electronic device, and at the same time edit and splice the screenshots in the second display area, so that the entire process is simple and time-consuming.
  • FIG. 1 is a schematic structural diagram of a possible Android operating system provided by an embodiment of the application
  • FIG. 2 is a schematic flowchart of a screenshot method provided by an embodiment of the application
  • FIG. 3 is one of the schematic diagrams of an interface applied by a screenshot method provided by an embodiment of the application
  • FIG. 4 is the second schematic diagram of an interface applied by a screenshot method provided by an embodiment of the application
  • FIG. 5 is the third schematic diagram of an interface applied by a screenshot method provided by an embodiment of the application.
  • Fig. 6 is a fourth schematic diagram of an interface applied by a screenshot method provided by an embodiment of the application.
  • FIG. 7 is a schematic diagram of a screenshot method provided by an embodiment of the application.
  • FIG. 8 is a fifth schematic diagram of an interface applied by a screenshot method provided by an embodiment of the application.
  • FIG. 9 is a sixth schematic diagram of an interface applied by a screenshot method provided by an embodiment of the application.
  • FIG. 10 is one of the schematic structural diagrams of an electronic device provided by an embodiment of this application.
  • FIG. 11 is a second structural diagram of an electronic device provided by an embodiment of this application.
  • FIG. 12 is the third structural diagram of an electronic device provided by an embodiment of this application.
  • A/B can mean A or B
  • the "and/or" in this article is only an association relationship describing associated objects, indicating that there may be three A relationship, for example, A and/or B, can mean that: A alone exists, A and B exist at the same time, and B exists alone.
  • the words “first”, “second”, etc. are used for the same items or similar items that have basically the same function or effect. Distinguishing, those skilled in the art can understand that words such as “first” and “second” do not limit the quantity and execution order. For example, the first input and the second input are used to distinguish different inputs, not to describe a specific order of input.
  • the execution subject of the screenshot method provided by the embodiments of the present application may be the above-mentioned electronic device (including mobile electronic equipment and non-mobile electronic equipment), or may be a functional module and/or functional entity in the electronic device that can implement the screenshot method.
  • the details can be determined according to actual use requirements, and the embodiments of the present application do not limit it.
  • the following takes an electronic device as an example to illustrate the screenshot method provided in the embodiment of the present application.
  • the electronic device in the embodiment of the present application may be a mobile electronic device or a non-mobile electronic device.
  • Mobile electronic devices can be mobile phones, tablet computers, notebook computers, handheld computers, vehicle-mounted terminal devices, wearable devices, ultra-mobile personal computers (UMPC), netbooks or personal digital assistants (personal digital assistants, PDAs)
  • the non-mobile electronic device may be a personal computer (PC), a television (television, TV), a teller machine, or a self-service machine, etc.; the embodiment of the present application does not specifically limit it.
  • the electronic device in the embodiment of the present application may be a single-screen electronic device or a multi-screen electronic device.
  • the electronic device is a multi-screen electronic device, that is, the electronic device in this document includes M display screens, and M is greater than An integer of 1, that is, the electronic device in this application includes at least two display screens.
  • the above-mentioned multi-screen electronic device may be a folding screen electronic device (that is, multiple display screens of the electronic device can be folded or unfolded to combine the display screen of the electronic device to change the screen size of the electronic device according to user needs) Or non-folding screen electronic devices.
  • the multiple display screens in the aforementioned non-folding screen electronic device may be arranged on different surfaces in the electronic device.
  • two display screens in a double-sided screen electronic device in a non-folding screen electronic device are respectively arranged on the front side of the electronic device and the back side of the electronic device.
  • the electronic device in the embodiment of the present application may be an electronic device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
  • FIG. 1 it is a schematic structural diagram of a possible Android operating system provided by an embodiment of this application.
  • the architecture of the Android operating system includes 4 layers, which are: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
  • the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
  • the application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
  • the system runtime layer includes a library (also called a system library) and an Android operating system runtime environment.
  • the library mainly provides various resources needed by the Android operating system.
  • the Android operating system operating environment is used to provide a software environment for the Android operating system.
  • the kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software level.
  • the kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
  • the developer can develop a software program that implements the screenshot method provided in the embodiment of the application based on the system architecture of the Android operating system shown in FIG. It can be run based on the Android operating system as shown in Figure 1. That is, the processor or the electronic device can implement the screenshot method provided in the embodiment of the present application by running the software program in the Android operating system.
  • FIG. 2 is a schematic flowchart of a screenshot method provided by an embodiment of the application, which is applied to an electronic device, and the display screen of the electronic device includes a first display.
  • the area and the second display area include step 201 to step 204:
  • Step 201 The electronic device receives a user's first input to the first display area.
  • the above-mentioned first input may be a first operation.
  • the first input of the user to the first display area specifically includes: the user's click input to the first display area, or the user's sliding input on the first display area, or the user is in the first display area.
  • the drag input on the display area, or other feasibility input by the user on the first display area can be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present application.
  • the click input in this application may be a single click input, a double click input, or any number of click input, etc.; the above click input may also be a long press input or a short press input.
  • the sliding input in this application may be a sliding input in any direction, such as sliding up, sliding down, sliding left or sliding right, etc., and the sliding track of the sliding input mentioned above may be a straight line or a curve.
  • the drag input in this application can be a drag input in any direction, such as clockwise drag, counterclockwise drag, upward drag, downward drag, left drag, or right drag And so on, the specific can be set according to actual needs.
  • Step 202 In response to the first input, the electronic device selects the display content of the first display area, and displays N screenshots corresponding to the display content in the second display area.
  • the first display area is used to display the page to be intercepted
  • the second display area is used to edit the N screenshots of the page to be intercepted.
  • any one of the above N screenshots may be a screenshot of a part of the page in the page to be captured, or may be a screenshot of all pages in the page to be captured, which is not limited in the present embodiment.
  • the aforementioned step 202 may specifically include the following step A1:
  • Step A1 In the case where the first input includes N sub-inputs, in response to the i-th sub-input, the electronic device selects the i-th display content of the first display area, and displays the same in the second display area. i shows the i-th screenshot corresponding to the content.
  • i is a positive integer, i ⁇ N, and the i-th screenshot is any one of the above N screenshots.
  • the electronic device responds to the first sub-input, and the electronic device selects the first display content in the first display area, and displays in the second display area corresponding to the first display content
  • the electronic device responds to the Nth sub-input, the electronic device selects the Nth display content in the first display area, and displays the same in the second display area.
  • the Nth screenshot corresponding to the Nth display content.
  • Step 203 The electronic device receives the second input of the user on the above N screenshots.
  • the above-mentioned second input may be a second operation.
  • the above-mentioned second input specifically includes: the user's click input on N screenshots, or the user's sliding input on N screenshots, or the user's drag input on N screenshots, or,
  • the user's other feasibility input on the N screenshots can be specifically determined according to actual usage requirements, which is not limited in the embodiment of the present application.
  • the above-mentioned second input may include two sub-inputs, and the two sub-inputs are the first sub-input and the second sub-input respectively.
  • the aforementioned first sub-input can be used to trigger the electronic device to edit at least one of the aforementioned N screenshots, and the aforementioned second sub-input can be used to trigger the electronic device to display the aforementioned first image.
  • the aforementioned first sub-input may be a user's click input on a first control in the display screen, and the aforementioned first control is used to trigger the electronic device to splice all or part of the screenshots displayed in the second display area.
  • the foregoing editing of at least one of the above N screenshots includes at least one of the following: deleting at least one screenshot, moving the position of at least one screenshot in the second display area, and blurring at least one screenshot.
  • the N screenshots displayed in the above-mentioned second display area may be sorted by the interception time, for example, by the interception time from front to back, or by the interception time from the back to the front, the implementation of this application The example does not limit this.
  • Step 204 In response to the above-mentioned second input, the electronic device displays the first image.
  • the above-mentioned first image is obtained by stitching based on the M target screenshots among the above-mentioned N screenshots.
  • N and M are positive integers, and N ⁇ M.
  • the electronic device may splice the M target screenshots displayed in the second display area horizontally or vertically to obtain the first image.
  • the electronic device may vertically stitch the M screenshots from the front to the back in the order of the first screenshot to the M-th screenshot in the second display area to obtain the first image.
  • N is a positive integer.
  • the electronic device when the user wants to take a screenshot, the electronic device can be triggered to divide the display screen into two display areas.
  • the electronic device may divide the display screen of the electronic device into a first display area and a second display area.
  • the above-mentioned fifth input of the user may be the user's input to the display screen, or the user's input to the screenshot control.
  • the screenshot control is used to trigger the electronic device to enter the long screenshot mode, and the screenshot control can be displayed on the display screen.
  • the aforementioned user’s input to the display screen specifically includes: the user’s click input on the display screen, or the user’s sliding input on the display screen, or the user’s drag input on the display screen, or the user’s input on the display screen.
  • Other feasibility inputs on the display screen can be specifically determined according to actual usage requirements, which are not limited in the embodiment of the present application.
  • the above-mentioned fifth input may include: a sliding input of the user sliding from the first display area to the second display area.
  • the electronic device (including the first display area and the second display area) can select the display content of the first display area after receiving the first input from the user to the first display area, And display N screenshots corresponding to the displayed content in the second display area. Then, after receiving the second input from the user to the above N screenshots, the electronic device may display the first image stitched based on the M target screenshots among the above N screenshots. This allows the user to take screenshots in the first display area of the electronic device, and at the same time edit and splice the screenshots in the second display area, so that the entire process is simple and time-consuming.
  • the above-mentioned first display area and the second display area may belong to the same display screen, or may belong to different display screens, which is not limited in the embodiment of the present application.
  • the electronic device when the electronic device includes a display screen, that is, when the electronic device is a single-screen electronic device, the electronic device may include the above-mentioned first display area in the display area of the first split screen, and in the display area of the second split screen.
  • the display area includes the above-mentioned second display area.
  • a single-screen electronic device that is, an electronic device with a display screen
  • the screen of the electronic device displays the page of "Social" news in the "News" APP.
  • you can Double-click the display screen of the electronic device that is, the above-mentioned fifth input, as shown in FIG. 3, the electronic device enters the long screenshot mode, and the display screen of the electronic device is divided into a first split screen and a second split screen.
  • the electronic device displays the above-mentioned "social” news page in the first display area of the first split screen (ie 31 in Figure 3), and displays the above-mentioned "social” news page in the second display area of the second split screen (ie 32 in Figure 3)
  • the three controls are the “composite” control (that is, the above-mentioned first control), the “delete” control, and the “blur” control.
  • the user can take N screenshots on the "Social” news page, and display and edit N screenshots on the second display area.
  • the "composite” control ie, the above-mentioned second input
  • the electronic device splices M of the N screenshots to obtain a long screenshot.
  • the user can take the first screenshot in the first display area of the single-screen electronic device, and at the same time edit the first screenshot on the second display area, so that the entire process of obtaining the first image is easy to operate and efficient.
  • the display area of the first screen may include the first display area
  • the second The display area of the screen may include the above-mentioned second display area
  • the display screen of the electronic device displays a page of "social" news in the "news" APP.
  • the electronic device enters the long screenshot mode, on the first screen (ie, a1 in Figure 4)
  • the above-mentioned "social" news page is displayed in the first display area on the upper screen (ie 41 in Figure 4), and the second display area on the second screen (ie a2 in Figure 4) is displayed on the second display area (ie 42 in Figure 4).
  • c Shows 3 controls and a screenshot of c (ie 45 in Figure 4).
  • the 3 controls are the "composite” control (that is, the above-mentioned first control), the "delete” control, and the “blurred” control.
  • c Screenshots include the content of the "Social News Video 2" page. Then, the user intercepted the page content of “Social News 1” and “Social News Video 1”, “Social News Picture 1” and “Social News Picture 2” on the “Social” news page, and displayed them in the second display area 42 The screenshots on the page content of the 2 "social” news pages (ie the above N screenshots) are displayed.
  • these 2 screenshots are a screenshot (43 in Figure 4) and b screenshot (44 in Figure 4), screenshot a contains the content of the "Social News 1" page, and screenshot b contains "Social News Video 1" , "Social News Picture 1" and “Social News Picture 2" page content.
  • the user can edit the N screenshots on the second screen while taking N screenshots on the first screen of the electronic device with two display screens. Because the two display screens are independent of each other, the user can edit the N screenshots on the second screen. Finger operations between the display screens do not affect each other, thus making the overall operation more intuitive and simple.
  • the N screenshots can be edited, so that the user can flexibly adjust the screenshot content of the first image.
  • the method may further include the following step 204a:
  • Step 204a In response to the above-mentioned second input, the electronic device edits at least one screenshot among the above-mentioned N screenshots.
  • the aforementioned editing of at least one screenshot of the aforementioned N screenshots includes at least one of the following: deleting at least one screenshot, moving the position of the at least one screenshot in the second display area, and blurring at least one screenshot.
  • the electronic device may use a different second input to trigger the electronic device to perform different editing functions.
  • step 204a may specifically include the following step 204a1:
  • Step 204a1 in the case where the above-mentioned second input is the user's sliding input on at least one of the above-mentioned N screenshots, in response to the above-mentioned sliding input, in the case where the sliding direction of the above-mentioned sliding input is the preset sliding direction , Delete at least one of the above screenshots.
  • the electronic device can move the at least one screenshot in the second direction according to the dragging direction. The position in the display area.
  • the electronic device may blur the at least one screenshot.
  • the electronic device may also add text or image to at least one of the above-mentioned N screenshots, which is not limited in the embodiment of the present application.
  • the user can delete, move or blur at least one of the above-mentioned N screenshots in the second display area, thereby flexibly adjusting the screenshot content of the first image.
  • the electronic device may use the screenshot box to select the displayed content in the first display area to obtain N screenshots.
  • step 201 may specifically include the following step 201a:
  • Step 201a In response to the first input, the electronic device displays a first screenshot frame on the first display area, and when the first input ends, selects the displayed content selected by the first screenshot frame.
  • the foregoing N screenshots correspond to the N display contents displayed in the foregoing first display area.
  • the above-mentioned first screenshot frame may be one or multiple, which is not limited in the embodiment of the present application.
  • the above first input may include N sub-inputs, and each sub-input corresponds to a display content selected by selecting the first screenshot box, and finally N pictures are captured Screenshot.
  • the electronic device may display the first screenshot frame on the above-mentioned first display area, and select the first display content selected by the first screenshot frame; After the second sub-input, you can select the second display content selected in the first screenshot box; and so on, after the electronic device receives the Nth sub-input, the electronic device selects the Nth selected in the first screenshot box Display content.
  • the electronic device when the electronic device selects a display content, it can receive the user's right swipe input on the first display area, and the electronic device displays a screenshot corresponding to the display content on the second display area until the electronic device N screenshots corresponding to the N display contents are displayed on the second display area.
  • the electronic device after the electronic device selects the above N display contents, it can receive the user's right swipe input on the first display area, and the electronic device displays the corresponding N display contents on the second display area. N screenshots.
  • the rectangular frame can be enlarged or reduced along the diagonal of the rectangular frame according to the user gesture. For example, when the size of the rectangular frame is reduced, the rectangular frame can be Squeeze inward along the diagonal; when the size of the rectangular frame is enlarged, the rectangular frame can be stretched outward along the diagonal.
  • the shape of the above-mentioned first screenshot frame may be any possible shape such as a circle, a rectangle, a triangle, a diamond, a ring, or a polygon, which may be specifically determined according to actual usage requirements, and is not limited in the embodiment of the present application.
  • the size of the above-mentioned first screenshot frame may be the default size, or it may be flexibly adjusted according to the user's operation. It should be noted that the size of the rectangular frame is enlarged to the maximum, that is, the rectangular frame is enlarged to the size of the screen, which means to intercept the page to be intercepted displayed on the entire screen.
  • the above-mentioned first screenshot frame may be displayed floating on the first display area.
  • the screenshot frame may move on the first display area with the drag input of the user.
  • the aforementioned first screenshot frame may be superimposed and displayed in the first display area with a preset transparency.
  • the preset transparency is marked as T1
  • the value range of T1 may be 0% ⁇ T1 ⁇ 100% .
  • the first screenshot frame may also be displayed on the first display area with high brightness or low brightness, which is not limited in the embodiment of the present application.
  • the above-mentioned first input may also include an input for adjusting the size of the above-mentioned first screenshot frame, that is, the user may also trigger the electronic device to adjust the size of the above-mentioned first screenshot frame, at least It can be adjusted in the following two possible ways:
  • step 201a may specifically include the following steps 201a1 and 201a2:
  • Step 201a1 The first input includes: the user's two-finger touch input to the first display area, and, after the user touches the first display area with two fingers, the two-finger sliding input to the first display area In this case, in response to the two-finger touch input, the electronic device displays a first screenshot frame of the first size at the target position in the first display area.
  • the above-mentioned first size is associated with the positions of the two touch points of the above-mentioned two-finger touch input, and the above-mentioned target position is determined based on the positions of the two touch points.
  • the aforementioned two-finger touch input may include: a user's two-finger click input on the first display area, or a user's two-finger sliding input on the first display area, which is not limited in this embodiment of the application.
  • Step 201a2 In response to the aforementioned two-finger sliding input, the electronic device updates the display size of the aforementioned first screenshot frame.
  • the electronic device may determine the input as an input to select a page area to be intercepted.
  • the above-mentioned first screenshot frame is shown as 52) in FIG. 6.
  • the size of the transparent rectangular frame 52 is the same as the size of the area where the user's two fingers touch the first display area, and the transparent rectangular frame 52 is displayed when the user's two fingers touch the first display area. In the area of the display area.
  • the user can enlarge the display size of the transparent rectangular frame (that is, 52 in Figure 6 (b)) by controlling the two-finger sliding out, so that "Social News Picture 1 ", "Social News Picture 2" and "Social News 1" are located within the transparent rectangular frame 52.
  • the electronic device When the user leaves the first display area 51 with two fingers (that is, the above-mentioned first input ends), the electronic device The "Social News Picture" selected by the transparent rectangular frame is displayed in the second display area of the second screen (ie, a2 in Figure 6 (b)) (ie, 53 in Figure 6 (b)) Screenshots of the page area where "1", “Social News Picture 2" and “Social News 1" are located.
  • step 201a may specifically include the following step 201a3:
  • Step 201a3 In the case where the first input includes: the user's pressing input on the first display area, in response to the pressing input, the electronic device adjusts the size of the first screenshot frame according to the pressing time of the pressing input.
  • the touch screen sensor of the electronic device receives the user's pressing input on the electronic device, that is, receives the user's pressing operation on the screen of the electronic device, based on the user's pressing input
  • the current generated by the human body can be coupled to the electronic device
  • the capacitance value of the area where the user’s finger presses on the screen will change (for example, the capacitance value reaches the maximum)
  • the electronic device detects that the user’s pressing time on the screen of the electronic device reaches a predetermined length of time
  • the electronic device determines that the user's pressing input is received.
  • the aforementioned pressing input may be a single-finger pressing input or a multi-finger pressing input.
  • the aforementioned single-finger pressing input may include: the user's single-finger long pressing input of the first display area, so that the size of the second screenshot frame can be adjusted according to the pressing time.
  • the size of the first screenshot frame may be directly proportional to the aforementioned pressing time, or may be inversely proportional to the aforementioned pressing time, which is not limited in the embodiment of the present application.
  • the corresponding relationship between the size of the first screenshot frame and the pressing time can be determined by an exponential function.
  • the size of the first screenshot frame is proportional to the pressing time, that is, the longer the pressing time, the larger the size of the screenshot frame.
  • the first screenshot frame can be increased from the initial size to the full screen size after 1 second. It should be noted that when the size of the screenshot frame is increased to the full screen size, it can no longer be increased.
  • the size of the transparent rectangular frame can be increased, when the page area where "Social News Picture 1", “Social News Picture 2" and “Social News 1" are located in the transparent rectangular frame Inside, the user’s finger leaves the first display area. At this time, the electronic device displays the "Social News Picture 1", “Social News Picture 2" and "Social News Picture 2" selected by the transparent rectangular frame in the second display area on the second screen. Screenshot of the page area where Social News 1 is located.
  • the user can flexibly adjust the size of the screenshot frame as needed to intercept the content of the page that the user wants to intercept.
  • the above two possible implementations can be achieved by the user with only one hand, and in the second possible implementation The user only needs to use a single finger to complete the control, which enhances the user's sense of operating experience, thereby enhancing the sense of human-computer interaction.
  • the electronic device in addition to displaying the above-mentioned first screenshot box and selecting the display content in the first display area after responding to the first input, may also respond to the above-mentioned fifth input after responding to the above-mentioned fifth input.
  • a second screenshot frame is displayed on the first display area, and then after the electronic device receives the above-mentioned first input, the display content in the first display area is selected.
  • the above-mentioned second screenshot frame may be one or multiple, which is not limited in the embodiment of the present application.
  • 61) in a) displays the above-mentioned "social” news page, and at the same time a transparent rectangular frame is displayed floating (that is, the above-mentioned second screenshot frame, as shown in Figure 8 (a), 62).
  • the user wants to To intercept the page content of "Social News Video 1", “Social News Picture 1", “Social News Picture 2” and “Social News 1", the user can stretch the transparent rectangle 62 along the diagonal Size, as shown in Figure 8(b), the transparent rectangular frame (ie 62 in Figure 8(b)) frames "Social News Video 1", "Social News Picture 1", and “Social News Picture 2" "And the page where "Social News 1" is located.
  • a screenshot of the above page content can be taken.
  • the user can slide to the right on the first screen (i.e. a1 in Figure 9) (i.e. the above-mentioned first input), and the electronic device is on the second screen (i.e. a2 in Figure 9).
  • the display area displays the screenshots of the page area where the "social news video 1", “social news picture 1", “social news picture 2" and "social news 1" selected by the transparent rectangular frame are located.
  • the second screenshot frame can be automatically displayed, and the user can directly operate the second screenshot frame without the user needing to trigger the electronic device to display the second screenshot frame, making the screenshot more efficient.
  • the user may also readjust the first image according to requirements.
  • the method may further include the following steps 205a to 205b:
  • Step 205a In the case of M>1, the electronic device receives the third input of the user to the first image.
  • the aforementioned third input may be a third operation.
  • the above-mentioned third input for the first image may specifically include: the user's click input for the first image, or the user's sliding input for the first image, or the user's input for the first image
  • Other feasibility inputs can be specifically determined according to actual use requirements, which are not limited in the embodiment of this application.
  • the above-mentioned user's click input on the first image may be the user's click input on the first image, or the user's click input on the second control, where the second control is used to trigger the electronic device to split the first image.
  • the second control is used to trigger the electronic device to split the first image.
  • Step 205b In response to the third input, the electronic device divides the first image to obtain T screenshots, and displays the T screenshots on the second display area.
  • T is an integer greater than 1.
  • the above-mentioned electronic device divides the above-mentioned first image, that is, the electronic device re-cuts the first image into T screenshots.
  • the above-mentioned electronic device splits the above-mentioned first image, that is, the above-mentioned electronic device splits the first image and then displays the above-mentioned M screenshots again. It can be understood that the M screenshots are the T screenshots.
  • the “break up and re-synthesis” control (ie, the above-mentioned second control) is displayed in the second display area of the electronic device.
  • the “combination” control ie, the aforementioned third input
  • the electronic device splits the aforementioned long screenshot and displays a second display area, and displays T screenshots of the first image segmentation on the second display area.
  • the first image can be directly segmented, so that the electronic device can re-acquire T screenshots, and then re-edit it.
  • the divided image may be re-edited.
  • the method may further include the following steps 205c1 to 205c3:
  • Step 205c1 The electronic device receives the fourth input of the user on the above T screenshots.
  • the foregoing fourth input may be the fourth operation.
  • the aforementioned fourth input specifically includes: the user's click input on T screenshots, or the user's sliding input on T screenshots, or the user's drag input on T screenshots, or the user's input on T screenshots.
  • Other feasibility inputs on the screenshot can be specifically determined according to actual usage requirements, which are not limited in the embodiment of this application.
  • Step 205c2 In response to the fourth input, the electronic device edits at least one screenshot among the above T screenshots to generate S screenshots.
  • the above-mentioned editing of at least one of the above-mentioned T screenshots includes at least one of the following: deleting at least one screenshot, moving the position of at least one screenshot in the second display area, blurring at least one screenshot, Add at least one screenshot.
  • the specific implementation scheme for deleting, moving, and blurring at least one of the T screenshots of the electronic device can refer to the description of deleting, moving, and blurring at least one of the M screenshots in the embodiments of this application. Description, not repeat them here.
  • the specific implementation scheme of adding at least one screenshot above reference may be made to the description of obtaining the above N screenshots in the embodiment of the present application, which will not be repeated here.
  • Step 205c3 The electronic device displays the second image.
  • the above-mentioned second image is obtained by stitching based on the above-mentioned S screenshots.
  • S is an integer greater than 1.
  • the electronic device when the electronic device edits at least one of the above T screenshots and generates S screenshots, it can display the above second image in response to the user's seventh input.
  • the above-mentioned process of displaying the second image by the electronic device may refer to the description process of displaying the first image by the electronic device in the embodiment of the present application, which will not be repeated here.
  • the second image can also be segmented and edited to synthesize a new image.
  • the user can directly edit the first image a second time through the electronic device, without re-taking screenshots and then performing operations, making the whole process simple and efficient.
  • FIG. 10 is a schematic diagram of a possible structure of an electronic device provided by an embodiment of the present application.
  • the electronic device 600 includes: a receiving module 601 and a display module 602, wherein: the receiving module 601 is used to receive user feedback The first input of the first display area; the display module 602, in response to the first input received by the receiving module 601, selects the display content of the first display area, and displays the same in the second display area Display the N screenshots corresponding to the content; the receiving module 601 is also used to receive the user's second input to the above N screenshots; the display module 602 is also used to respond to the second input received by the receiving module 601, Display the first image, which is obtained by stitching based on the M target screenshots among the above N screenshots; where N and M are positive integers, and N ⁇ M.
  • the electronic device 600 further includes: an editing module 603, in which: the above-mentioned editing module 603 is configured to edit the above-mentioned N screenshots in response to the above-mentioned second input received by the above-mentioned receiving module 601 At least one screenshot of.
  • the above-mentioned editing module 603 is specifically configured to respond to the above-mentioned sliding input received by the above-mentioned receiving module 601 when the above-mentioned second input is a user's sliding input on at least one of the above-mentioned N screenshots. In the case that the sliding direction of the sliding input is the preset sliding direction, delete the above-mentioned at least one screenshot.
  • the above-mentioned display module 602 is specifically configured to display a first screenshot frame on the above-mentioned first display area in response to the above-mentioned first input received by the above-mentioned receiving module 601, and when the above-mentioned first input ends, , Select the display content selected in the first screenshot box; among them, the N screenshots correspond to the N display contents displayed in the first display area.
  • the electronic device 600 further includes: an adjustment module 604, configured to respond to the receiving module 601 receiving the first input when the first input includes the user's pressing input on the first display area. According to the pressing time of the pressing input, the size of the first screenshot frame is adjusted according to the pressing time of the pressing input.
  • the electronic device 600 further includes: an adjustment module 604, wherein: the above-mentioned display module 602 is specifically configured to perform the above-mentioned first input including: a user's two-finger touch input to the first display area , And, in the case of a two-finger sliding input to the first display area after the user touches the first display area with two fingers, in response to the two-finger touch input received by the receiving module 601, in the first
  • the target position in the display area displays a first screenshot frame of a first size.
  • the first size is associated with the positions of the two touch points of the two-finger touch input, and the target position is based on the two touch points.
  • the above-mentioned adjustment module 604 is configured to update the display size of the above-mentioned first screenshot frame in response to the above-mentioned two-finger sliding input received by the above-mentioned receiving module 601.
  • the electronic device 600 further includes: an execution module 605, in which: the above-mentioned receiving module 601 is further configured to receive the third input of the user on the above-mentioned first image in the case of M>1
  • the above-mentioned execution module 605 is configured to respond to the above-mentioned third input received by the above-mentioned receiving module 601, segment the above-mentioned first image to obtain the above-mentioned T screenshots, and display the above-mentioned T screenshots on the above-mentioned second display area; wherein , T is an integer greater than 1.
  • the electronic device 600 further includes: an editing module 603, in which: the receiving module 601 is further configured to receive a user's fourth input to the above T screenshots; the editing module 603 also uses In response to the fourth input received by the receiving module 601, edit at least one of the T screenshots to generate S screenshots; the display module 602 is also used to display a second image, the second image being Based on the splicing of the above S screenshots; where S is an integer greater than 1.
  • the display screen includes a first screen and a second screen; the display area of the first screen includes the first display area, and the display area of the second screen includes the second display area.
  • the modules that must be included in the electronic device 600 are indicated by solid lines, such as the receiving module 601; the modules that may or may not be included in the electronic device 600 are indicated by dashed boxes, such as the editing module 603.
  • the electronic device (including the first display area and the second display area) can select the display content of the first display area after receiving the user's first input to the first display area, And display N screenshots corresponding to the displayed content in the second display area. Then, after receiving the second input from the user to the above N screenshots, the electronic device may display the first image stitched based on the M target screenshots among the above N screenshots. This allows the user to take screenshots in the first display area of the electronic device, and at the same time edit and splice the screenshots in the second display area, so that the entire process is simple and time-consuming.
  • the electronic device provided in the embodiment of the present application can implement each process implemented by the electronic device in the foregoing method embodiment, and to avoid repetition, details are not described herein again.
  • the electronic device 100 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, and a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111 and other components.
  • a radio frequency unit 101 includes but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, and a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111 and other components.
  • Those skilled in the art can understand that the structure of the electronic device 100 shown in FIG. 12 does not constitute a limitation on the electronic device.
  • the electronic device 100 may include more or less components than those shown in the figure, or combine certain components, or Different component arrangements.
  • the electronic device 100 includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal device, a wearable device, and a pedometer, etc.
  • the user input unit 107 is configured to receive the user's first input in the first display area; the display unit 106 is configured to select the first input in the first display area in response to the first input received by the user input unit 107. Display content, and display N screenshots corresponding to the foregoing display content in the second display area; the user input unit 107 is also used to receive a second input from the user to the foregoing N screenshots; the display unit 106 is used to respond to the foregoing
  • the above-mentioned second input received by the user input unit 107 displays a first image, which is obtained by stitching based on M target screenshots among the above-mentioned N screenshots; where N and M are positive integers, and N ⁇ M.
  • the electronic device (including the first display area and the second display area) can select the display content of the first display area after receiving the user's first input to the first display area, And display N screenshots corresponding to the displayed content in the second display area. Then, after receiving the second input from the user to the above N screenshots, the electronic device may display the first image stitched based on the M target screenshots among the above N screenshots. This allows the user to take screenshots in the first display area of the electronic device, and at the same time edit and splice the screenshots in the second display area, so that the entire process is simple and time-consuming.
  • the radio frequency unit 101 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 110; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 101 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device 100 provides users with wireless broadband Internet access through the network module 102, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 103 can convert the audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output it as sound. Moreover, the audio output unit 103 may also provide audio output related to a specific function performed by the electronic device 100 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 104 is used to receive audio or video signals.
  • the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042, and the graphics processor 1041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame can be displayed on the display unit 106.
  • the image frame processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or sent via the radio frequency unit 101 or the network module 102.
  • the microphone 1042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to the mobile communication base station via the radio frequency unit 101 for output in the case of a telephone call mode.
  • the electronic device 100 further includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 1061 and the display panel 1061 when the electronic device 100 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 105 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 106 is used to display information input by the user or information provided to the user.
  • the display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 107 may be used to receive input numeric or character information, and generate key signal input related to user settings and function control of the electronic device 100.
  • the user input unit 107 includes a touch panel 1071 and other input devices 1072.
  • the touch panel 1071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1071 or near the touch panel 1071. operating).
  • the touch panel 1071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 110, the command sent by the processor 110 is received and executed.
  • the touch panel 1071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 107 may also include other input devices 1072.
  • other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 1071 can be overlaid on the display panel 1061.
  • the touch panel 1071 detects a touch operation on or near it, it transmits it to the processor 110 to determine the type of the touch event, and then the processor 110 determines the type of the touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 1061.
  • the touch panel 1071 and the display panel 1061 are used as two independent components to implement the input and output functions of the electronic device 100, in some embodiments, the touch panel 1071 and the display panel 1061 can be combined.
  • the input and output functions of the electronic device 100 are realized by integration, which is not specifically limited here.
  • the interface unit 108 is an interface for connecting an external device with the electronic device 100.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 108 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 100 or can be used to connect to the electronic device 100 and the external device. Transfer data between devices.
  • the memory 109 can be used to store software programs and various data.
  • the memory 109 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 109 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 110 is the control center of the electronic device 100, which uses various interfaces and lines to connect the various parts of the entire electronic device 100, runs or executes the software programs and/or modules stored in the memory 109, and calls the storage in the memory 109 , Execute various functions of the electronic device 100 and process data, so as to monitor the electronic device 100 as a whole.
  • the processor 110 may include one or more processing units; optionally, the processor 110 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc.
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 110.
  • the electronic device 100 may also include a power source 111 (such as a battery) for supplying power to various components.
  • a power source 111 such as a battery
  • the power source 111 may be logically connected to the processor 110 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the electronic device 100 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present application further provides an electronic device, including a processor, a memory, and a computer program stored in the memory and running on the processor 110.
  • the computer program is executed by the processor to realize the above screenshot.
  • Each process of the method embodiment can achieve the same technical effect. To avoid repetition, it will not be repeated here.
  • the embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored.
  • a computer program is stored.
  • the computer program is executed by a processor, each process of the above-mentioned screenshot method embodiment is realized, and the same technical effect can be achieved. To avoid repetition, I won’t repeat it here.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, etc.
  • the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.
  • a storage medium such as ROM/RAM, magnetic disk,
  • the optical disc includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请实施例提供一种截图方法及电子设备,该方法包括:接收用户对上述第一显示区域的第一输入;响应于上述第一输入,选中上述第一显示区域的显示内容,并在上述第二显示区域显示与该显示内容对应的N张截图;接收用户对上述N张截图的第二输入;响应于上述第二输入,显示第一图像,该第一图像为基于上述N张截图中的M张目标截图拼接得到的。

Description

截图方法及电子设备
相关申请的交叉引用
本公开主张在2019年12月30日提交国家知识产权局、申请号为201911392158.7、申请名称为“截图方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及通信技术领域,尤其涉及一种截图方法及电子设备。
背景技术
随着电子设备技术的发展,用户使用电子设备的频率越来越高,而用户使用电子设备的过程中通常会截取自己喜欢内容分享给其他用户。
目前,用户通过电子设备来截取长截图时,通常会开启长截图功能,以使得显示屏中的页面内容向上滚动显示,然后,将显示屏中连续滚动显示的页面内容拼接成一张长截图。
然而,当用户想要对拼接后的长截图进行进一步编辑,例如,剪裁部分页面内容再重新合成时,则需要用户使用专业的工具进行裁剪之后,再重新进行合成,整体过程步骤繁琐、且耗时较长。
发明内容
本申请实施例提供一种截图方法及电子设备,能够解决现有的电子设备在使用长截图功能时所存在的操作繁琐的问题。
为了解决上述技术问题,本申请是这样实现的:
第一方面,本申请实施例提供一种截图方法,应用于电子设备,该电子设备的显示屏包括第一显示区域和第二显示区域,该方法包括:
接收用户对上述第一显示区域的第一输入;
响应于上述第一输入,选中上述第一显示区域的显示内容,并在上述第二显示区域显示与该显示内容对应的N张截图;
接收用户对上述N张截图的第二输入;
响应于上述第二输入,显示第一图像,该第一图像为基于上述N张截图中的M张目标截图拼接得到的;
其中,N、M为正整数,N≥M。
第二方面,本申请实施例还提供了一种电子设备,该电子设备的显示屏包括第一显示区域和第二显示区域,该电子设备包括:
接收模块,用于接收用户对上述第一显示区域的第一输入;
显示模块,用于响应于上述接收模块接收到的上述第一输入,选中上述第一显示区域的显示内容,并在上述第二显示区域显示与上述显示内容对应的N张截图;
上述接收模块,还用于接收用户对上述N张截图的第二输入;
上述显示模块,还用于响应于上述接收模块接收到的上述第二输入,显示第一图像,该第一图像为基于上述N张截图中的M张目标截图拼接得到的;
其中,N、M为正整数,N≥M。
第三方面,本申请实施例提供了一种电子设备,包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现如第一方面所述的截图方法的步骤。
第四方面,本申请实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现如第一方面所述的截图方法的步骤。
在本申请实施例中,电子设备(包括第一显示区域和第二显示区域)在接收到用户对该第一显示区域的第一输入后,可以选中该第一显示区域的显示内容,并在第二显示区域显示与该显示内容对应的N张截图。然后,电子设备在接收到用户对上述N张截图的第二输入之后,可以显示基于上述N张截图中的M张目标截图拼接得到的第一图像。使得用户可以在电子设备的第一显示区域截取截图的同时,还可以在第二显示区域中编辑并拼接截图,从而使得整个过程操作简便,耗时短。
附图说明
图1为本申请实施例提供的一种可能的安卓操作系统的架构示意图;
图2为本申请实施例提供的一种截图方法流程示意图;
图3为本申请实施例提供的一种截图方法所应用的界面的示意图之一;
图4为本申请实施例提供的一种截图方法所应用的界面的示意图之二;
图5为本申请实施例提供的一种截图方法所应用的界面的示意图之三;
图6为本申请实施例提供的一种截图方法所应用的界面的示意图之四;
图7为本申请实施例提供的一种截图方法的示意图;
图8为本申请实施例提供的一种截图方法所应用的界面的示意图之五;
图9为本申请实施例提供的一种截图方法所应用的界面的示意图之六;
图10为本申请实施例提供的一种电子设备的结构示意图之一;
图11为本申请实施例提供的一种电子设备的结构示意图之二;
图12为本申请实施例提供的一种电子设备的结构示意图之三。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
需要说明的是,本文中的“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。
需要说明的是,本文中的“多个”是指两个或多于两个。
需要说明的是,本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被 解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。
需要说明的是,为了便于清楚描述本申请实施例的技术方案,在本申请实施例中,采用了“第一”、“第二”等字样对功能或作用基本相同的相同项或相似项进行区分,本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定。例如,第一输入和第二输入是用于区别不同的输入,而不是用于描述输入的特定顺序。
本申请实施例提供的截图方法的执行主体可以为上述的电子设备(包括移动电子设备和非移动电子设备),也可以为该电子设备中能够实现该截图方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本申请实施例不作限定。下面以电子设备为例,对本申请实施例提供的截图方法进行示例性的说明。
本申请实施例中的电子设备可以为移动电子设备,也可以为非移动电子设备。移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等;非移动电子设备可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等;本申请实施例不作具体限定。
具体的,本申请实施例中的电子设备可以为单屏电子设备,也可以为多屏电子设备,当电子设备为多屏电子设备,即本文中的电子设备包括M个显示屏,M为大于1的整数,即本申请中的电子设备至少包括两个显示屏。其中,上述多屏电子设备可以为折叠屏电子设备(即该电子设备的多个显示屏可以通过折叠或展开的方式来组合该电子设备的显示屏,以按照用户需求变化电子设备的屏幕尺寸)或者非折叠屏电子设备。
需要说明的是,上述非折叠屏电子设备中的多个显示屏可以布置在电子设备中的不同表面。例如,非折叠屏电子设备中的双面屏电子设备中的两个显示屏分别布置在电子设备的正面和电子设备的背面。
本申请实施例中的电子设备可以为具有操作系统的电子设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
下面以安卓操作系统为例,介绍一下本申请实施例提供的截图方法所应用的软件环境。
如图1所示,为本申请实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。
以安卓操作系统为例,本申请实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本申请实施例提供的截图方法的软件程序,从而使得该截图方法可以基于如图1所示的安卓操作系统运行。即处理器或者电子设备可以通过在安卓操作系统中运行该软件程序实现本申请实施例提供的截图方法。
下面结合图2所示的截图方法流程图对本申请的截图方法进行说明,图2为本申请实施例提供的一种截图方法流程示意图,应用于电子设备,该电子设备的显示屏包括第一显示区域和第二显示区域,包括步骤201至步骤204:
步骤201:电子设备接收用户对第一显示区域的第一输入。
示例性的,上述的第一输入可以是第一操作。
本申请实施例中,上述的用户对第一显示区域的第一输入具体包括:用户对第一显示区域的点击输入,或者,用户在第一显示区域上的滑动输入,或者,用户在第一显示区域上的拖动输入,或者,用户在第一显示区域上的其他可行性输入,具体的可以根据实际使用需求确定,本申请实施例不作限定。
示例性的,本申请中的点击输入可以为单击输入、双击输入或任意次数的点击输入等;上述的点击输入还可以为长按输入或短按输入。本申请中的滑动输入可以为向任意方向的滑动输入,例如向上滑动、向下滑动、向左滑动或者向右滑动等,且上述滑动输入的滑动轨迹可以是直线,也可以是曲线。本申请中的拖动输入可以为向任意方向的拖动输入,例如向顺时针方向拖动、向逆时针方向拖动、向上拖动、向下拖动、向左拖动或者向右拖动等,具体的可以根据实际需求设定。
步骤202:响应于上述第一输入,电子设备选中上述第一显示区域的显示内容,并在上述第二显示区域显示与该显示内容对应的N张截图。
在本申请实施例中,上述第一显示区域用于显示待截取页面,上述第二显示区域用于编辑该待截取页面中截取的N张截图。
示例性的,上述的N张截图中的任一截图可以为待截取页面中的部分页面的截图,也可以为待截取页面中的全部页面的截图,本实施例发明对此不作限定。
可选的,在本申请实施例中,上述的步骤202具体可以包括如下步骤A1:
步骤A1:在上述第一输入包括N次子输入的情况下,响应于第i次子输入,电子设备选中上述第一显示区域的第i显示内容,并在上述第二显示区域显示与该第i显示内容对应的第i张截图。
示例性的,i为正整数,i≤N,第i张截图为上述N张截图中的任一张截图。
示例性的,若上述的i为1时,电子设备响应于第一次子输入,电子设备选中第一显示区域的第一显示内容,并在第二显示区域中显示与该第一显示内容对应的第一张截图;若上述的i为2时,电子设备响应于第二次子输入,电子设备选中第一显示区域的第二显示内容,并在第二显示区域显示与该第二显示内容对应的第二张截图,以此类推,若上述的i为N时,电子设备响应于第N次子输入,电子设备选中第一显示区域的第N显示内容,并在第二显示区域显示与该第N显示内容对应的第N张截图。
步骤203:电子设备接收用户对上述N张截图的第二输入。
示例性的,上述的第二输入可以是第二操作。
在本申请实施例中,上述的第二输入具体包括:用户对N张截图的点击输入,或者, 用户在N张截图上的滑动输入,或者,用户对N张截图的拖动输入,或者,用户在N张截图上的其他可行性输入,具体的可以根据实际使用需求确定,本申请实施例不作限定。
示例性的,上述的第二输入可以包括两个子输入,该两个子输入分别为第一子输入和第二子输入。示例性的,上述的第一子输入可以用来触发电子设备编辑上述N张截图中的至少一张截图,上述的第二子输入可以用来触发电子设备显示上述的第一图像。
示例性的,上述的第一子输入可以为用户对显示屏中第一控件的点击输入,上述的第一控件用于触发电子设备拼接第二显示区域中显示的所有或部分截图。
示例性的,上述的编辑上述N张截图中的至少一张截图包括以下至少一项:删除至少一张截图,移动至少一张截图在第二显示区域中的位置,虚化至少一张截图。
示例性的,上述第二显示区域中显示的N张截图可以以截取时间进行排序,例如,以截取时间的先后从前往后排序,或者,以截取时间的先后从后往前排序,本申请实施例对此不做限定。
步骤204:响应于上述第二输入,电子设备显示第一图像。
在实施例中,上述第一图像为基于上述N张截图中的M张目标截图拼接得到的。其中,N、M为正整数,N≥M。
可选的,在本申请实施例中,电子设备可以横向拼接或纵向拼接上述第二显示区域中显示的M张目标截图,以获取第一图像。
在一种示例中,电子设备可以在第二显示区域以第一张截图至第M张截图的截图顺序从前往后纵向拼接这M张截图,以得到第一图像。其中,N为正整数。
可选的,在本申请实施例中,当用户想要截图时,可以触发电子设备将显示屏划分为两个显示区域。
示例性的,电子设备可以在接收到用户的第五输入之后,将电子设备的显示屏划分为第一显示区域和第二显示区域。
示例性的,上述的用户的第五输入可以为用户对显示屏的输入,也可以为用户对截图控件的输入。需要说明的是,该截图控件用于触发电子设备进入长截图模式,该截图控件可以显示在显示屏上。
示例性的,上述的用户对显示屏的输入具体包括:用户对显示屏的点击输入,或者,用户在显示屏上的滑动输入,或者,用户在显示屏上的拖动输入,或者,用户在显示屏上的其他可行性输入,具体的可以根据实际使用需求确定,本申请实施例不作限定。
在一种示例中,上述的第五输入可以包括:用户从第一显示区域滑动至第二显示区域的滑动输入。
本申请实施例提供的截图方法,电子设备(包括第一显示区域和第二显示区域)在接收到用户对该第一显示区域的第一输入后,可以选中该第一显示区域的显示内容,并在第二显示区域显示与该显示内容对应的N张截图。然后,电子设备在接收到用户对上述N张截图的第二输入之后,可以显示基于上述N张截图中的M张目标截图拼接得到的第一图像。使得用户可以在电子设备的第一显示区域截取截图的同时,还可以在第二显示区域中编辑并拼接截图,从而使得整个过程操作简便,耗时短。
可选的,在本申请实施例中,上述的第一显示区域和第二显示区域可以属于同一显示屏,也可以属于不同的显示屏,本申请实施例不作限定。
示例性的,当电子设备包括一个显示屏时,即该电子设备为单屏电子设备时,该电子设备可以在第一分屏的显示区包括上述的第一显示区域,在第二分屏的显示区包括上述第二显示区域。
举例说明,以单屏电子设备(即具有一个显示屏的电子设备)为例,电子设备的显示屏显示有“新闻”APP中“社会”新闻的页面,当用户想要截取该页面时,可以双击电子设备的显示屏(即上述的第五输入),如图3所示,电子设备进入长截图模式,将电子设备的显示屏分为第一分屏和第二分屏。电子设备在第一分屏的第一显示区域(即图3中的31)显示有上述“社会”新闻的页面,在第二分屏的第二显示区域(即图3中的32)显示有3个控件,分别为“合成”控件(即上述的第一控件)、“删除”控件以及“虚化”控件。然后,用户可以在“社会”新闻的页面上截取N张截图,在第二显示区域上显示并编辑N张截图,当用户想要获取长截图(即上述的第一图像)时,可以点击“合成”控件(即上述的第二输入),电子设备拼接N张截图中的M张截图获取长截图。
这样,用户可以在单屏电子设备的第一显示区域截取第一截图的同时,可以在第二显示区域上编辑第一截图,使得获取第一图像的整个过程操作简便,效率高。
示例性的,当电子设备的显示屏包括第一屏和第二屏时,即当电子设备包括至少两个显示屏时,上述第一屏的显示区可以包括上述第一显示区域,上述第二屏的显示区可以包括上述第二显示区域。
举例说明,以具有第一屏和第二屏的折叠屏电子设备为例,电子设备的显示屏显示有“新闻”APP中“社会”新闻的页面。当用户想要截取该页面时,可以双击电子设备的显示屏(即上述的第五输入),如图4所示,电子设备进入长截图模式,在第一屏(即图4中的a1)上的第一显示区域(即图4中的41)中显示有上述“社会”新闻的页面,在第二屏(即图4中的a2)上的第二显示区域(即图4中的42)中显示有3个控件以及c截图(即图4中的45),该3个控件分别为“合成”控件(即上述的第一控件)、“删除”控件以及“虚化”控件,该c截图包括“社会新闻视频2”页面内容。然后,用户在“社会”新闻的页面上截取了“社会新闻1”页面内容和“社会新闻视频1”、“社会新闻图片1”以及“社会新闻图片2”页面内容,在第二显示区域42上显示2个“社会”新闻页面的页面内容的截图(即上述的N张截图)。其中,这2张截图分别为a截图(如图4中的43)和b截图(如图4中的44),a截图包含“社会新闻1”页面内容,b截图包含“社会新闻视频1”、“社会新闻图片1”以及“社会新闻图片2”页面内容。最后,当用户想要获取长截图(即上述的第一图像)时,可以点击“合成”控件(即上述的第二输入),电子设备拼接在第二显示区域42上显示的所有截图获取长截图。
这样,用户在具有两个显示屏的电子设备的第一屏截取N张截图的同时,可以在第二屏上编辑该N张截图,由于两个显示屏是相互独立的,使得用户在两个显示屏之间的手指操作互不影响,进而使得整体操作更直观、简便。
可选的,在本申请实施例中,当用户想要调整第二显示区域上显示的N张截图时,可以对该N张截图进行编辑,使得用户可以灵活调整第一图像的截图内容。
示例性的,在上述的步骤204中的电子设备显示第一图像之前,该方法还可以包括如下步骤204a:
步骤204a:响应于上述第二输入,电子设备编辑上述N张截图中的至少一张截图。
示例性的,上述的编辑上述N张截图中的至少一张截图包括以下至少一项:删除至少一张截图,移动至少一张截图在第二显示区域中的位置,虚化至少一张截图。
进一步可选的,在本申请实施例中,为简化电子设备对上述的至少一个截图的编辑过程,电子设备可以利用不同的第二输入对应触发电子设备执行不同的编辑功能。
在第一种示例中,上述的步骤204a具体可以包括如下步骤204a1:
步骤204a1:在上述的第二输入为用户对上述N张截图中的至少一张截图的滑动输入的情况下,响应于上述滑动输入,在上述滑动输入的滑动方向为预设滑动方向的情况下,删除上述至少一张截图。
举例说明,结合图4,当用户想要删除第二显示区域42中的截图时,可以点击第二显示区域42中的“删除”控件。此时,如图5中的(a)所示,在a截图(即图5中的(a)中的43)、b截图(即图5中的(a)中的44)和c截图(即图5中的(a)中的45)的右上角显示一个“X”号,当用户想要删除a截图和c截图时,点击该a截图和c截图右上角的“x”号。如图5中的(b)所示,电子设备删除a截图和c截图,此时,第二显示区域(即图5中的(b)中的42)上仅显示b截图(即图5中的(b)中的44)。
在第二种示例中,当上述的第二输入为用户对上述N张截图中的至少一张截图的拖动输入的情况下,电子设备可以按照拖动方向移动该至少一张截图在第二显示区域中的位置。
在第三种示例中,当上述的第二输入为用户对上述N张截图中的至少一张截图的长按输入的情况下,电子设备可以虚化该至少一张截图。
在一种示例中,电子设备还可以在上述的N张截图中的至少一张截图上添加文字或者图像,本申请实施例对此不作限定。
这样,用户可以在第二显示区域中对上述的N张截图中的至少一张截图进行删除,移动或者虚化,进而灵活调整第一图像的截图内容。
可选的,在本申请实施例中,电子设备可以利用截图框选中第一显示区域中的显示内容得到N张截图。
示例性的,上述的步骤201具体可以包括如下步骤201a:
步骤201a:响应于上述第一输入,电子设备在上述第一显示区域上,显示第一截图框,并在上述第一输入结束的情况下,选中该第一截图框所框选的显示内容。
示例性的,上述N张截图对应上述第一显示区域所显示的N个显示内容。
示例性的,上述的第一截图框可以为一个,也可以为多个,本申请实施例对此不作限定。
在一种示例中,若上述的第一截图框为一个时,上述的第一输入可以包括N次子输入,每个子输入对应选中第一截图框所框选的一个显示内容,最终截取N张截图。
示例性的,电子设备在接收到第一子输入之后,可以在上述的第一显示区域上显示第一截图框,并选中第一截图框所框选的第一显示内容;电子设备在接收到第二子输入之后,可以选中第一截图框所框选的第二显示内容;以此类推,在电子设备接收到第N子输入在之后,电子设备选中第一截图框所框选的第N显示内容。
在一种示例中,当电子设备选中一个显示内容后,可以接收用户在第一显示区域上的右滑输入,则电子设备在第二显示区域上显示该一个显示内容对应的截图,直至电子设备 在第二显示区域上显示N个显示内容对应的N张截图。
在另一种示例中,当电子设备选中上述的N个显示内容后,可以接收用户在第一显示区域上的右滑输入,则电子设备在第二显示区域上显示该N个显示内容对应的N张截图。
在一种示例中,以第一截图框为矩形框为例,该矩形框可以根据用户手势沿着矩形边框对角线进行放大或者缩小,如,矩形框的尺寸缩小时,该矩形框可以沿着对角线向内挤缩;矩形框的尺寸放大时,该矩形框可以沿着对角线向外拉伸。
示例性的,上述的第一截图框的形状可以为圆形、矩形、三角形、菱形、圆环或者多边形等任意可能的形状,具体可以根据实际使用需求确定,本申请实施例不作限定。
示例性的,上述的第一截图框的尺寸可以是默认尺寸,也可以随着用户的操作灵活调整。应注意的是,矩形框的尺寸放大到最大,即将矩形框放大至与屏幕等大,此时代表截取整个屏幕显示的待截取页面。
示例性的,上述的第一截图框可以悬浮显示在第一显示区域上。示例性的,当用户在第一显示区域上拖动第一截图框时,该截图框可以随着用户的拖动输入在第一显示区域上移动。
示例性的,上述的第一截图框可以以预设透明度叠加显示在该第一显示区域中,例如,如果预设透明度记为T1,那么T1的取值范围可以为0%<T1<100%。此外,该第一截图框还可以高亮度或低亮度显示在第一显示区域上,本申请实施例对此不做限定。
进一步可选的,在本申请实施例中,上述的第一输入还可以包括调节上述的第一截图框的尺寸的输入,即用户还可以触发电子设备调节上述的第一截图框的尺寸,至少可以通过以下两种可能实现的方式来调节:
在第一种可能实现的方式中:
示例性的,上述的步骤201a具体可以包括如下步骤201a1和步骤201a2:
步骤201a1:在上述第一输入包括:用户对上述第一显示区域的双指触控输入,和,在用户双指触控第一显示区域后,对该第一显示区域的双指滑动输入的情况下,响应于上述双指触控输入,电子设备在上述第一显示区域中的目标位置,显示第一尺寸的第一截图框。
示例性的,上述的第一尺寸与上述双指触控输入的两个触控点的位置相关联,上述的目标位置为基于该两个触控点的位置确定的。
示例性的,上述的双指触控输入可以包括:用户双指对第一显示区域的点击输入,或者用户双指在第一显示区域上的滑动输入,本申请实施例对此不作限定。
步骤201a2:响应于上述双指滑动输入,电子设备更新上述第一截图框的显示尺寸。
在一种示例中,在上述的第一输入可以为用户双指触控第一显示区域并双指外张滑动的输入的情况下,电子设备可以将该输入判定为选择截取页面区域的输入。
举例说明,以具有第一屏和第二屏的折叠屏电子设备为例,结合图4,当用户想要截取“社会新闻图片1”、“社会新闻图片2”和“社会新闻1”所在的页面区域时,如图6中的(a)所示,用户双指(例如,用户右手的食指和中指)点击第一屏(即图6中的(a)中的a1)中的第一显示区域中(如图6中的51)“新闻”APP中“社会”新闻的页面(即上述的双指触控输入),从而触发电子设备在第一显示区域51上显示一个透明矩形框(即上述的第一截图框,如图6中的52),该透明矩形框52的尺寸以用户双指接触第一显示区 域的区域尺寸相同,且该透明矩形框52显示在用户双指接触第一显示区域的区域中。此时,如图6中的(b)所示,用户通过控制双指外张滑动可以放大透明矩形框(即图6中的(b)中的52)的显示尺寸,使得“社会新闻图片1”、“社会新闻图片2”和“社会新闻1”所在的页面区域位于该透明矩形框52内,当用户双指离开第一显示区域51时(即上述的第一输入结束),则电子设备在第二屏(即图6中的(b)中的a2)的第二显示区域中(即图6中的(b)中的53)中显示该透明矩形框所框选的“社会新闻图片1”、“社会新闻图片2”和“社会新闻1”所在的页面区域的截图。
在第二种可能实现的方式中:
示例性的,上述的步骤201a具体可以包括如下步骤201a3:
步骤201a3:在上述第一输入包括:用户对上述第一显示区域的按压输入的情况下,响应于上述按压输入,根据该按压输入的按压时长,电子设备调节上述第一截图框的尺寸。
示例性的,当电子设备的触摸屏传感器接收到用户对电子设备的按压输入,即接收到用户在电子设备的屏幕上的按压操作,基于用户的按压输入,人体所产生的电流可以耦合到电子设备的静态电容上,此时,用户手指按压屏幕的区域的电容值会发生变化(例如,电容值达到最大),且在电子设备检测到的用户对电子设备的屏幕的按压时长达到预定时长的情况下,电子设备确定接收到用户的按压输入。
示例性的,上述的按压输入可以为单指按压输入,也可以为多指按压输入。
示例性的,上述的单指按压输入可以包括:用户单指长按第一显示区域的输入,从而可以根据按压时长来调整第二截图框尺寸。可以理解,第一截图框的尺寸可以与上述的按压时长成正比,也可以与上述的按压时长成反比,本申请实施例对此不做限定。其中,第一截图框的尺寸与按压时长的对应关系可以用一个指数函数来判定。
举例说明,以单调递增的指数函数为例,第一截图框尺寸与按压时长成正比,即按压时长越长,截图框的尺寸越大。如图7所示,第一截图框可以从初始尺寸经1秒后增大到全屏尺寸。需要说明的是,当截图框的尺寸增大到全屏尺寸则可以不再增大。
举例说明,以具有第一屏和第二屏的折叠屏电子设备为例,结合图4,当用户想要截取“社会新闻图片1”、“社会新闻图片2”和“社会新闻1”所在的页面区域时。用户单指长按“新闻”APP主界面(即上述的按压输入),从而触发电子设备在“新闻”APP主界面上显示一个透明矩形框(即上述的第一截图框),此时,该透明截图框的初始尺寸为用户单指按压屏幕区域宽度的两倍。若用户继续按压“新闻”APP主界面则可以增大该透明矩形框的尺寸,当“社会新闻图片1”、“社会新闻图片2”和“社会新闻1”所在的页面区域位于该透明矩形框内,用户手指离开第一显示区域,此时,电子设备在第二屏中的第二显示区域中显示该透明矩形框所框选的“社会新闻图片1”、“社会新闻图片2”和“社会新闻1”所在的页面区域的截图。
这样,使得用户可以根据需要灵活调整截图框的大小,以截取用户想要截取的页面内容,上述两种可能实现的方式用户只需要单手即可完成操控,且在第二种可能实现的方式用户只需要使用单个手指便可完成操控,提升了用户的操作体验感,进而可以增强人机交互感。
此外,在本申请实施例中,电子设备除了可以在响应第一输入之后显示上述的第一截图框来并选中第一显示区域中的显示内容,还可以在响应上述的第五输入之后,在第一显 示区域上显示第二截图框,然后在电子设备接收到上述的第一输入之后,选中第一显示区域中的显示内容。
示例性的,上述的第二截图框可以为一个,也可以为多个,本申请实施例对此不作限定。
需要说明的是,上述的第二截图框的描述可以参考本申请实施例中对第一截图框的描述,此处不在赘述。
举例说明,以具有第一屏和第二屏的折叠屏电子设备为例,结合图4,当用户想要截取该页面时,可以双击电子设备的显示屏(即上述的第五输入),电子设备进入长截图模式。如图8中的(a)所示,当电子设备进入长截图模式,电子设备在第一屏(即图8中的(a)中的a1)的第一显示区域(即图8中的(a)中的61)上显示有上述“社会”新闻的页面,同时悬浮显示有一个透明矩形框(即上述的第二截图框,如图8中的(a)中的62),当用户想要截取“社会新闻视频1”、“社会新闻图片1”、“社会新闻图片2”以及“社会新闻1”的页面内容时,用户可以沿对角线向外拉伸放大该透明矩形框62的尺寸,如图8中的(b)所示,该透明矩形框(即图8中的(b)中的62)框定“社会新闻视频1”、“社会新闻图片1”、“社会新闻图片2”以及“社会新闻1”所在页面。当用户想要截取该透明矩形框62框定的页面可以对上述页面内容进行截图。如图9所示,用户可以在第一屏(即图9中的a1)上向右滑动(即上述的第一输入),则电子设备在第二屏(即图9中的a2)的第二显示区域上显示该透明矩形框所框选的“社会新闻视频1”、“社会新闻图片1”、“社会新闻图片2”以及“社会新闻1”所在的页面区域的截图。
这样,当电子设备进入长截图模式时就可以自动显示第二截图框,用户可以直接对该第二截图框进行操作,无需用户再触发电子设备显示该第二截图框,使得截图效率更高。
可选的,在本申请实施例中,电子设备在拼接M个截图获取第一图像之后,用户还可以根据需求对第一图像重新进行调整。
示例性的,在上述的步骤204之后,该方法还可以包括如下步骤205a至步骤205b:
步骤205a:在上述M>1的情况下,电子设备接收用户对上述第一图像的第三输入。
示例性的,上述的第三输入可以是第三操作。
在本申请实施例中,上述的针对上述第一图像的第三输入具体可以包括:用户针对第一图像的点击输入,或者,用户针对第一图像的滑动输入,或者,用户针对第一图像的其他可行性输入,具体的可以根据实际使用需求确定,本申请实施例不作限定。
示例性的,上述的用户针对第一图像的点击输入可以为用户对第一图像的点击输入,也可以为用户对第二控件的点击输入,其中,第二控件用于触发电子设备拆分第一图像。
步骤205b:响应于上述第三输入,电子设备分割上述第一图像,得到T张截图,并在上述第二显示区域上,显示该T张截图。
其中,T为大于1的整数。
在一种示例中,上述的电子设备分割上述第一图像,即电子设备将该第一图像重新裁剪成T张截图。
在另一种示例中,上述的电子设备分割上述第一图像,即电子设备将第一图像拆分后重新显示上述的M张截图。可以理解,该M张截图即为该T张截图。
示例性的,电子设备的第二显示区域中显示有“打散重新合成”控件(即上述的第二 控件),当用户想要分割该第一图像重新合成时,可以点击该“打散重新合成”控件(即上述的第三输入),电子设备拆分上述长截图,并显示第二显示区域,且在该第二显示区域上显示第一图像分割的T张截图。
这样,当用户想要重新编辑第一图像时,可以直接对第一图像进行分割,使得电子设备可以重新获取到T张截图,进而重新编辑。
进一步可选的,在本申请实施例中,当电子设备分割第一图像后,可以对分割后的图像重新进行编辑。
示例性的,在上述的步骤205b之后,该方法还可以包括如下步骤205c1至步骤205c3:
步骤205c1:电子设备接收用户对上述T张截图的第四输入。
示例性的,上述的第四输入可以是第四操作。
示例性的,上述的第四输入具体包括:用户对T张截图的点击输入,或者,用户在T张截图上的滑动输入,或者,用户对T张截图的拖动输入,或者,用户在T张截图上的其他可行性输入,具体的可以根据实际使用需求确定,本申请实施例不作限定。
步骤205c2:响应于上述第四输入,电子设备编辑上述T张截图中的至少一张截图,生成S张截图。
示例性的,上述的编辑上述T张截图中的至少一张截图包括以下至少一项:删除至少一张截图,移动至少一张截图在第二显示区域中的位置,虚化至少一张截图,添加至少一张截图。
需要说明的是,电子设备删除、移动、虚化T张截图中的至少一张截图的具体实现方案可以参考本申请实施例中对删除、移动、虚化M张截图中的至少一张截图的描述,此处不再赘述。上述的添加至少一张截图的具体实现方案可以参考本申请实施例中对获取上述的N张截图的描述,此处不再赘述。
步骤205c3:电子设备显示第二图像。
示例性的,上述第二图像为基于上述S张截图拼接得到的。其中,S为大于1的整数。
在一种示例中,当电子设备编辑上述T张截图中的至少一张截图,生成S张截图后,可以响应用户的第七输入显示上述的第二图像。
示例性的,上述的电子设备显示第二图像的过程可以参考本申请实施例中对电子设备显示第一图像的描述过程,此处不再赘述。
需要说明的是,当电子设备显示第二图像后还可以对该第二图像进行分割和编辑进而再合成新的图像。
这样,用户可以通过电子设备直接对第一图像进行二次编辑,不需要重新截图再进行操作,使得整个过程简便、效率高。
图10为实现本申请实施例提供的一种电子设备的可能的结构示意图,如图10所示,电子设备600包括:接收模块601和显示模块602,其中:接收模块601,用于接收用户对上述第一显示区域的第一输入;显示模块602,用于响应于上述接收模块601接收到的上述第一输入,选中上述第一显示区域的显示内容,并在上述第二显示区域显示与上述显示内容对应的N张截图;上述接收模块601,还用于接收用户对上述N张截图的第二输入;上述显示模块602,还用于响应于上述接收模块601接收到的上述第二输入,显示第一图像,该第一图像为基于上述N张截图中的M张目标截图拼接得到的;其中,N、M为 正整数,N≥M。
可选的,如图11所示,该电子设备600还包括:编辑模块603,其中:上述编辑模块603,用于响应于上述接收模块601接收到的上述第二输入,编辑上述N张截图中的至少一张截图。
可选的,上述编辑模块603,具体用于在上述第二输入为用户对上述N张截图中的至少一张截图的滑动输入的情况下,响应于上述接收模块601接收到的上述滑动输入,在上述滑动输入的滑动方向为预设滑动方向的情况下,删除上述至少一张截图。
可选的,上述显示模块602,具体用于响应于上述接收模块601接收到的上述第一输入,在上述第一显示区域上,显示第一截图框,并在上述第一输入结束的情况下,选中上述第一截图框所框选的显示内容;其中,该N张截图对应该第一显示区域所显示的N个显示内容。
可选的,如图11所示,该电子设备600还包括:调节模块604,用于在上述第一输入包括用户对第一显示区域的按压输入的情况下,响应于上述接收模块601接收到的上述按压输入,根据上述按压输入的按压时长,调节上述第一截图框的尺寸。
可选的,如图11所示,该电子设备600还包括:调节模块604,其中:上述显示模块602,具体用于在上述第一输入包括:用户对第一显示区域的双指触控输入,和,在用户双指触控第一显示区域后,对上述第一显示区域的双指滑动输入的情况下,响应于上述接收模块601接收到的上述双指触控输入,在上述第一显示区域中的目标位置,显示第一尺寸的第一截图框,上述第一尺寸与上述双指触控输入的两个触控点的位置相关联,上述目标位置为基于上述两个触控点的位置确定的;上述调节模块604,用于响应于上述接收模块601接收到的上述双指滑动输入,更新上述第一截图框的显示尺寸。
可选的,如图11所示,该电子设备600还包括:执行模块605,其中:上述接收模块601,还用于在M>1的情况下,接收用户对上述第一图像的第三输入;上述执行模块605,用于响应于上述接收模块601接收到的上述第三输入,分割上述第一图像,得到上述T张截图,并在上述第二显示区域上,显示上述T张截图;其中,T为大于1的整数。
可选的,如图11所示,该电子设备600还包括:编辑模块603,其中:上述接收模块601,还用于接收用户对上述T张截图的第四输入;上述编辑模块603,还用于响应于上述接收模块601接收到的上述第四输入,编辑上述T张截图中的至少一张截图,生成S张截图;上述显示模块602,还用于显示第二图像,上述第二图像为基于上述S张截图拼接得到的;其中,S为大于1的整数。
可选的,上述显示屏包括第一屏和第二屏;上述第一屏的显示区包括上述第一显示区域,上述第二屏的显示区包括上述第二显示区域。
需要说明的是,如图11所示,电子设备600中一定包括的模块用实线框示意,如接收模块601;电子设备600中可以包括也可以不包括的模块用虚线框示意,如编辑模块603。
本申请实施例提供的电子设备,电子设备(包括第一显示区域和第二显示区域)在接收到用户对该第一显示区域的第一输入后,可以选中该第一显示区域的显示内容,并在第二显示区域显示与该显示内容对应的N张截图。然后,电子设备在接收到用户对上述N张截图的第二输入之后,可以显示基于上述N张截图中的M张目标截图拼接得到的第一图像。使得用户可以在电子设备的第一显示区域截取截图的同时,还可以在第二显示区域中 编辑并拼接截图,从而使得整个过程操作简便,耗时短。
本申请实施例提供的电子设备能够实现上述方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。
图12为实现本申请各个实施例的一种电子设备的硬件结构示意图,该电子设备100包括但不限于:射频单元101、网络模块102、音频输出单元103、输入单元104、传感器105、显示单元106、用户输入单元107、接口单元108、存储器109、处理器110、以及电源111等部件。本领域技术人员可以理解,图12中示出的电子设备100的结构并不构成对电子设备的限定,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本申请实施例中,电子设备100包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、以及计步器等。
其中,用户输入单元107,用于接收用户在上述第一显示区域的第一输入;显示单元106,用于响应于上述用户输入单元107接收到的上述第一输入,选中上述第一显示区域的显示内容,并在该第二显示区域显示与上述显示内容对应的N张截图;用户输入单元107,还用于接收用户对上述N张截图的第二输入;显示单元106,用于响应于上述用户输入单元107接收到的上述第二输入,显示第一图像,该第一图像为基于上述N张截图中的M张目标截图拼接得到的;其中,N、M为正整数,N≥M。
本申请实施例提供的电子设备,电子设备(包括第一显示区域和第二显示区域)在接收到用户对该第一显示区域的第一输入后,可以选中该第一显示区域的显示内容,并在第二显示区域显示与该显示内容对应的N张截图。然后,电子设备在接收到用户对上述N张截图的第二输入之后,可以显示基于上述N张截图中的M张目标截图拼接得到的第一图像。使得用户可以在电子设备的第一显示区域截取截图的同时,还可以在第二显示区域中编辑并拼接截图,从而使得整个过程操作简便,耗时短。
应理解的是,本申请实施例中,射频单元101可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器110处理;另外,将上行的数据发送给基站。通常,射频单元101包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元101还可以通过无线通信系统与网络和其他设备通信。
电子设备100通过网络模块102为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元103可以将射频单元101或网络模块102接收的或者在存储器109中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元103还可以提供与电子设备100执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元103包括扬声器、蜂鸣器以及受话器等。
输入单元104用于接收音频或视频信号。输入单元104可以包括图形处理器(Graphics Processing Unit,GPU)1041和麦克风1042,图形处理器1041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器1041处理后的图像帧可以存储在存储器109(或其它存储介质)中或者经由射频单元101或网络模块102进行发送。麦克风1042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以 在电话通话模式的情况下转换为可经由射频单元101发送到移动通信基站的格式输出。
电子设备100还包括至少一种传感器105,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1061的亮度,接近传感器可在电子设备100移动到耳边时,关闭显示面板1061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器105还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元106用于显示由用户输入的信息或提供给用户的信息。显示单元106可包括显示面板1061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1061。
用户输入单元107可用于接收输入的数字或字符信息,以及产生与电子设备100的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元107包括触控面板1071以及其他输入设备1072。触控面板1071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1071上或在触控面板1071附近的操作)。触控面板1071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器110,接收处理器110发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1071。除了触控面板1071,用户输入单元107还可以包括其他输入设备1072。具体地,其他输入设备1072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板1071可覆盖在显示面板1061上,当触控面板1071检测到在其上或附近的触摸操作后,传送给处理器110以确定触摸事件的类型,随后处理器110根据触摸事件的类型在显示面板1061上提供相应的视觉输出。虽然在图12中,触控面板1071与显示面板1061是作为两个独立的部件来实现电子设备100的输入和输出功能,但是在某些实施例中,可以将触控面板1071与显示面板1061集成而实现电子设备100的输入和输出功能,具体此处不做限定。
接口单元108为外部装置与电子设备100连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元108可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备100内的一个或多个元件或者可以用于在电子设备100和外部装置之间传输数据。
存储器109可用于存储软件程序以及各种数据。存储器109可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器109可以包括高速随机存取存储器,还可以包 括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器110是电子设备100的控制中心,利用各种接口和线路连接整个电子设备100的各个部分,通过运行或执行存储在存储器109内的软件程序和/或模块,以及调用存储在存储器109内的数据,执行电子设备100的各种功能和处理数据,从而对电子设备100进行整体监控。处理器110可包括一个或多个处理单元;可选的,处理器110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器110中。
电子设备100还可以包括给各个部件供电的电源111(比如电池),可选的,电源111可以通过电源管理系统与处理器110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
另外,电子设备100包括一些未示出的功能模块,在此不再赘述。
可选的,本申请实施例还提供一种电子设备,包括处理器,存储器,存储在存储器上并可在所述处理器110上运行的计算机程序,该计算机程序被处理器执行时实现上述截图方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述截图方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (24)

  1. 一种截图方法,应用于电子设备,所述电子设备的显示屏包括第一显示区域和第二显示区域,所述方法包括:
    接收用户对所述第一显示区域的第一输入;
    响应于所述第一输入,选中所述第一显示区域的显示内容,并在所述第二显示区域显示与所述显示内容对应的N张截图;
    接收用户对所述N张截图的第二输入;
    响应于所述第二输入,显示第一图像,所述第一图像为基于所述N张截图中的M张目标截图拼接得到的;
    其中,N、M为正整数,N≥M。
  2. 根据权利要求1所述的方法,其特征在于,所述显示第一图像之前,所述方法还包括:
    响应于所述第二输入,编辑所述N张截图中的至少一张截图。
  3. 根据权利要求2所述的方法,其中,所述第二输入为用户对所述N张截图中的至少一张截图的滑动输入;
    所述响应于所述第二输入,编辑所述N张截图中的至少一张截图,包括:
    响应于所述滑动输入,在所述滑动输入的滑动方向为预设滑动方向的情况下,删除所述至少一张截图。
  4. 根据权利要求1所述的方法,其中,所述响应于所述第一输入,选中所述第一显示区域的显示内容,包括:
    响应于所述第一输入,在所述第一显示区域上,显示第一截图框,并在所述第一输入结束的情况下,选中所述第一截图框所框选的显示内容;
    其中,所述N张截图对应所述第一显示区域所显示的N个显示内容。
  5. 根据权利要求4所述的方法,其中,所述第一输入包括:用户对所述第一显示区域的按压输入;
    所述响应于所述第一输入,在所述第一显示区域上,显示第一截图框,包括:
    响应于所述按压输入,根据所述按压输入的按压时长,调节所述第一截图框的尺寸。
  6. 根据权利要求4所述的方法,其中,所述第一输入包括:用户对所述第一显示区域的双指触控输入,和,在用户双指触控所述第一显示区域后,对所述第一显示区域的双指滑动输入;
    所述响应于所述第一输入,在所述第一显示区域上,显示第一截图框,包括:
    响应于所述双指触控输入,在所述第一显示区域中的目标位置,显示第一尺寸的所述第一截图框,所述第一尺寸与所述双指触控输入的两个触控点的位置相关联,所述目标位置为基于所述两个触控点的位置确定的;
    响应于所述双指滑动输入,更新所述第一截图框的显示尺寸。
  7. 根据权利要求1所述的方法,其中,M>1;
    所述响应于所述第二输入,显示第一图像之后,所述方法还包括:
    接收用户对所述第一图像的第三输入;
    响应于所述第三输入,分割所述第一图像,得到T张截图,并在所述第二显示区域上,显示所述T张截图;
    其中,T为大于1的整数。
  8. 根据权利要求7所述的方法,其中,所述响应于所述第三输入,分割所述第一图像,得到T张截图,并在所述第二显示区域上,显示所述T张截图之后,所述方法还包括:
    接收用户对所述T张截图的第四输入;
    响应于所述第四输入,编辑所述T张截图中的至少一张截图,生成S张截图;
    显示第二图像,所述第二图像为基于所述S张截图拼接得到的;
    其中,S为大于1的整数。
  9. 根据权利要求1至8任一项所述的方法,其中,所述显示屏包括第一屏和第二屏;
    所述第一屏的显示区包括所述第一显示区域,所述第二屏的显示区包括所述第二显示区域。
  10. 根据权利要求1所述的方法,其中,所述第一输入包括N次子输入;
    所述响应于所述第一输入,选中所述第一显示区域的显示内容,并在所述第二显示区域显示与所述显示内容对应的N张截图,包括:
    响应于第i次子输入,选中所述第一显示区域的第i显示内容,并在所述第二显示区域显示与所述第i显示内容对应的第i张截图;
    其中,i为正整数,i≤N,第i张截图为所述N张截图中的任一张截图。
  11. 一种电子设备,所述电子设备的显示屏包括第一显示区域和第二显示区域,所述电子设备包括:
    接收模块,用于接收用户对所述第一显示区域的第一输入;
    显示模块,用于响应于所述接收模块接收到的所述第一输入,选中所述第一显示区域的显示内容,并在所述第二显示区域显示与所述显示内容对应的N张截图;
    所述接收模块,还用于接收用户对所述N张截图的第二输入;
    所述显示模块,还用于响应于所述接收模块接收到的所述第二输入,显示第一图像,所述第一图像为基于所述N张截图中的M张目标截图拼接得到的;
    其中,N、M为正整数,N≥M。
  12. 根据权利要求11所述的电子设备,其中,所述电子设备还包括:编辑模块,其中:
    所述编辑模块,用于响应于所述接收模块接收到的所述第二输入,编辑所述N张截图中的至少一张截图。
  13. 根据权利要求12所述的电子设备,其中,所述编辑模块,具体用于在所述第二输入为用户对所述N张截图中的至少一张截图的滑动输入的情况下,响应于所述接收模块接收到的所述滑动输入,在所述滑动输入的滑动方向为预设滑动方向的情况下,删除所述至少一张截图。
  14. 根据权利要求11所述的电子设备,其中,所述显示模块,具体用于响应于所 述接收模块接收到的所述第一输入,在所述第一显示区域上,显示第一截图框,并在所述第一输入结束的情况下,选中所述第一截图框所框选的显示内容;其中,所述N张截图对应所述第一显示区域所显示的N个显示内容。
  15. 根据权利要求14所述的电子设备,其中,所述电子设备还包括:调节模块,其中:
    所述调节模块,具体用于在所述第一输入包括用户对所述第一显示区域的按压输入的情况下,响应于所述接收模块接收到的所述按压输入,根据所述按压输入的按压时长,调节所述第一截图框的尺寸。
  16. 根据权利要求14所述的电子设备,其中,所述电子设备还包括:调节模块,其中:
    所述显示模块,具体用于在所述第一输入包括:用户对所述第一显示区域的双指触控输入,和,在用户双指触控所述第一显示区域后,对所述第一显示区域的双指滑动输入的情况下,响应于所述接收模块接收到的所述双指触控输入,在所述第一显示区域中的目标位置,显示第一尺寸的所述第一截图框,所述第一尺寸与所述双指触控输入的两个触控点的位置相关联,所述目标位置为基于所述两个触控点的位置确定的;
    所述调节模块,用于响应于所述接收模块接收到的所述双指滑动输入,更新所述第一截图框的显示尺寸。
  17. 根据权利要求11所述的电子设备,其中,所述电子设备还包括:执行模块,其中:
    所述接收模块,还用于在M>1的情况下,接收用户对所述第一图像的第三输入;
    所述执行模块,用于响应于所述接收模块接收到的所述第三输入,分割所述第一图像,得到T张截图,并在所述第二显示区域上,显示所述T张截图;其中,T为大于1的整数。
  18. 根据权利要求17所述的电子设备,其中,所述电子设备还包括:编辑模块,其中:
    所述接收模块,还用于接收用户对所述T张截图的第四输入;
    所述编辑模块,还用于响应于所述接收模块接收到的所述第四输入,编辑所述T张截图中的至少一张截图,生成S张截图;
    所述显示模块,还用于显示第二图像,所述第二图像为基于所述S张截图拼接得到的;其中,S为大于1的整数。
  19. 根据权利要求11至18任一项所述的电子设备,其中,所述显示屏包括第一屏和第二屏;所述第一屏的显示区包括所述第一显示区域,所述第二屏的显示区包括所述第二显示区域。
  20. 根据权利要求11所述的电子设备,其中,所述显示模块,具体用于在所述第一输入包括N次子输入的情况下,响应第i次子输入,选中所述第一显示区域的第i显示内容,并在所述第二显示区域显示与所述第i显示内容对应的第i张截图;其中,i为正整数,i≤N,第i张截图为所述N张截图中的任一张截图。
  21. 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至10 中任一项所述的截图方法的步骤。
  22. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至10中任一项所述的截图方法的步骤。
  23. 一种计算机程序产品,所述计算机程序产品被至少一个处理器执行以实现如权利要求1至10中任一项所述的截图方法。
  24. 一种电子设备,包括所述电子设备被配置成用于执行如权利要求1至10中任一项所述的截图方法。
PCT/CN2020/139901 2019-12-30 2020-12-28 截图方法及电子设备 WO2021136136A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911392158.7A CN111143013A (zh) 2019-12-30 2019-12-30 截图方法及电子设备
CN201911392158.7 2019-12-30

Publications (1)

Publication Number Publication Date
WO2021136136A1 true WO2021136136A1 (zh) 2021-07-08

Family

ID=70521684

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/139901 WO2021136136A1 (zh) 2019-12-30 2020-12-28 截图方法及电子设备

Country Status (2)

Country Link
CN (1) CN111143013A (zh)
WO (1) WO2021136136A1 (zh)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111143013A (zh) * 2019-12-30 2020-05-12 维沃移动通信有限公司 截图方法及电子设备
CN112162812B (zh) * 2020-09-27 2024-05-31 维沃移动通信有限公司 对象添加方法、装置
CN112764639A (zh) * 2020-12-31 2021-05-07 维沃移动通信有限公司 截屏方法、装置及电子设备
CN113296661B (zh) * 2021-03-18 2023-10-27 维沃移动通信有限公司 图像处理方法、装置、电子设备及可读存储介质
CN115268741B (zh) * 2021-04-30 2024-09-24 华为技术有限公司 截屏方法、图形界面及电子设备
CN113778279A (zh) * 2021-08-31 2021-12-10 维沃移动通信有限公司 截图方法、装置及电子设备
CN114827737A (zh) * 2022-04-25 2022-07-29 维沃移动通信有限公司 图像生成方法、装置和电子设备
CN115328367A (zh) * 2022-09-19 2022-11-11 维沃移动通信有限公司 截屏方法、装置、电子设备及存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100262911A1 (en) * 2009-04-13 2010-10-14 Pure Digital Technologies Graphical user interface for still image capture from video footage
CN102779008A (zh) * 2012-06-26 2012-11-14 奇智软件(北京)有限公司 一种屏幕截图方法和系统
CN106527906A (zh) * 2016-10-31 2017-03-22 维沃移动通信有限公司 一种截图方法及移动终端
CN109189534A (zh) * 2018-08-29 2019-01-11 维沃移动通信有限公司 一种截屏方法及终端设备
CN109407936A (zh) * 2018-09-21 2019-03-01 Oppo(重庆)智能科技有限公司 截图方法及相关装置
CN109525874A (zh) * 2018-09-27 2019-03-26 维沃移动通信有限公司 一种截屏方法及终端设备
CN111143013A (zh) * 2019-12-30 2020-05-12 维沃移动通信有限公司 截图方法及电子设备

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104750495B (zh) * 2015-04-08 2018-09-14 魅族科技(中国)有限公司 一种截图方法及装置
CN107390972B (zh) * 2017-07-06 2021-09-07 努比亚技术有限公司 一种终端录屏方法、装置及计算机可读存储介质
CN107436714B (zh) * 2017-09-20 2020-05-22 任文 一种获取手机屏幕截图的方法
CN108196750B (zh) * 2018-01-03 2021-10-29 努比亚技术有限公司 屏幕界面截图的方法、装置及计算机可读存储介质
CN108469940B (zh) * 2018-03-16 2021-03-26 维沃移动通信有限公司 一种截图方法及终端
CN108920239B (zh) * 2018-06-29 2021-01-08 维沃移动通信有限公司 一种长截屏方法及移动终端
CN110597439B (zh) * 2019-08-29 2021-06-15 Oppo广东移动通信有限公司 截屏方法、装置、电子设备及计算机可读介质

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100262911A1 (en) * 2009-04-13 2010-10-14 Pure Digital Technologies Graphical user interface for still image capture from video footage
CN102779008A (zh) * 2012-06-26 2012-11-14 奇智软件(北京)有限公司 一种屏幕截图方法和系统
CN106527906A (zh) * 2016-10-31 2017-03-22 维沃移动通信有限公司 一种截图方法及移动终端
CN109189534A (zh) * 2018-08-29 2019-01-11 维沃移动通信有限公司 一种截屏方法及终端设备
CN109407936A (zh) * 2018-09-21 2019-03-01 Oppo(重庆)智能科技有限公司 截图方法及相关装置
CN109525874A (zh) * 2018-09-27 2019-03-26 维沃移动通信有限公司 一种截屏方法及终端设备
CN111143013A (zh) * 2019-12-30 2020-05-12 维沃移动通信有限公司 截图方法及电子设备

Also Published As

Publication number Publication date
CN111143013A (zh) 2020-05-12

Similar Documents

Publication Publication Date Title
WO2021136136A1 (zh) 截图方法及电子设备
WO2021104365A1 (zh) 对象分享方法及电子设备
WO2021218902A1 (zh) 显示控制方法、装置及电子设备
WO2020063091A1 (zh) 一种图片处理方法及终端设备
US20210349591A1 (en) Object processing method and terminal device
CN111142747B (zh) 群组管理方法及电子设备
CN111159983B (zh) 一种编辑方法及电子设备
WO2020134744A1 (zh) 图标移动方法及移动终端
WO2020156169A1 (zh) 显示控制方法及终端设备
CN109471692B (zh) 一种显示控制方法及终端设备
WO2021098695A1 (zh) 信息分享方法及电子设备
WO2021083132A1 (zh) 图标移动方法及电子设备
WO2020215957A1 (zh) 界面显示方法及终端设备
WO2020215949A1 (zh) 对象处理方法及终端设备
CN111638837B (zh) 一种消息处理方法及电子设备
WO2021004341A1 (zh) 文件夹的创建方法及终端设备
WO2021129536A1 (zh) 图标移动方法及电子设备
US20220351330A1 (en) Image cropping method and electronic device
WO2021104163A1 (zh) 图标整理方法及电子设备
CN111143299A (zh) 一种文件管理方法及电子设备
WO2021073579A1 (zh) 长截图的方法及终端设备
CN108646960B (zh) 一种文件处理方法及柔性屏终端
WO2020181945A1 (zh) 标识显示方法及终端设备
CN108228902B (zh) 一种文件显示方法及移动终端
WO2020199783A1 (zh) 界面显示方法及终端设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20908630

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20908630

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 090123)

122 Ep: pct application non-entry in european phase

Ref document number: 20908630

Country of ref document: EP

Kind code of ref document: A1