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

截图方法及电子设备 Download PDF

Info

Publication number
WO2021190370A1
WO2021190370A1 PCT/CN2021/081225 CN2021081225W WO2021190370A1 WO 2021190370 A1 WO2021190370 A1 WO 2021190370A1 CN 2021081225 W CN2021081225 W CN 2021081225W WO 2021190370 A1 WO2021190370 A1 WO 2021190370A1
Authority
WO
WIPO (PCT)
Prior art keywords
screenshot
interface
sub
response
image
Prior art date
Application number
PCT/CN2021/081225
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 WO2021190370A1 publication Critical patent/WO2021190370A1/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
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/40Scaling of whole images or parts thereof, e.g. expanding or contracting
    • G06T3/4038Image mosaicing, e.g. composing plane images from plane sub-images

Definitions

  • the present invention relates to the technical field of electronic equipment, in particular to a screenshot method and electronic equipment.
  • screenshots have become an increasingly common operation for major electronic devices.
  • the existing screenshot method needs to determine the content of the screenshot area first. After selecting the screenshot area, click the screenshot button to capture the current screenshot area and save the captured image.
  • the current screenshot method can only take a one-time screenshot of the current interface, and cannot achieve continuous screenshots during one screenshot.
  • continuous screenshots are required, the user needs to select a display interface to take screenshots, and after the screenshots are completed, select another display interface to take screenshots.
  • the current continuous screenshot method is cumbersome to operate.
  • the embodiment of the present invention provides a screenshot method and electronic device to solve the problem of complicated operation in the continuous screenshot mode in the prior art.
  • the present invention is implemented as follows:
  • an embodiment of the present invention provides a screenshot method.
  • the method includes: when a first operation is received, displaying a preset window, wherein the preset window includes a screenshot area; The second operation of the screenshot area; in response to the second operation, take screenshots of the content displayed in the screenshot area at least twice.
  • an embodiment of the present invention also provides an electronic device, the electronic device includes: an output module, configured to display a preset window when the first operation is received, wherein the preset window includes Screenshot area; a first receiving module for receiving a second operation on the screenshot area; a first response module for taking at least two screenshots of the content displayed in the screenshot area in response to the second operation .
  • an embodiment of the present invention also provides an electronic device, including a processor, a memory, and a computer program stored on the memory and running on the processor, and the computer program is executed by the processor. When executed, the steps of the screenshot method described in the first aspect are realized.
  • an embodiment of the present invention also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the screenshot method described in the first aspect is implemented A step of.
  • the preset window when the first operation is received, the preset window is displayed, wherein the preset window includes a screenshot area; the second operation on the screenshot area is received; in response to the second operation, the screenshot area is Take at least two screenshots of the content shown in. It can realize the continuous interaction between the user and the content displayed in the screenshot area during the screenshot process, thereby changing the content that needs to be screenshotted, and achieving continuous capture of several screenshots, eliminating the need for the user to select the display interface and take screenshots each time, improving the user's screenshot efficiency.
  • FIG. 1 is a flowchart of the steps of a screenshot method provided by Embodiment 1 of the present invention
  • FIG. 2 is a flowchart of the steps of the screenshot method provided in the second embodiment of the present invention.
  • Fig. 3 is a structural block diagram of an electronic device according to a third embodiment of the present invention.
  • Embodiment 4 is a structural block diagram of an electronic device provided by Embodiment 4 of the present invention.
  • FIG. 5 is a schematic diagram of the hardware structure of an electronic device according to Embodiment 5 of the present invention.
  • FIG. 1 shows a flowchart of the steps of a screenshot method provided in Embodiment 1 of the present invention.
  • the screenshot method provided by the embodiment of the present invention includes the following steps: step 101, step 102, and step 103.
  • Step 101 In the case of receiving the first operation, display a preset window.
  • the preset window includes a screenshot area.
  • the first operation may be a click operation, a long-press operation, a press operation, a double-click operation, a sliding operation, etc., on the current display interface of the electronic device.
  • the preset window is displayed on the current display interface, and the preset window is a window floating on the uppermost layer of the current display interface.
  • the preset window includes a screenshot area, where the screenshot area is used for screenshots, and the user can adjust the size of the screenshot area to adjust the size of the screenshot.
  • the screenshot area is displayed on the top layer of the current display interface, and when the display interface outputs the screenshot area, it does not affect the user's interaction with the current display interface.
  • Step 102 Receive a second operation on the screenshot area.
  • Step 103 In response to the second operation, take screenshots of the content displayed in the screenshot area at least twice.
  • the content displayed in the screenshot area can be intercepted, the content in the screenshot area can be switched, and the content after the switching can be intercepted, or it can be the content displayed in the screenshot area. Take screenshots of the content at least twice.
  • the second operation can be a click operation, a slide operation, a long press operation, etc., on the content displayed in the screenshot area.
  • the embodiment of the present invention There are no specific restrictions on this.
  • the preset window when the first operation is received, the preset window is displayed, and the preset window includes the screenshot area; the second operation on the screenshot area is received; in response to the second operation, the display in the screenshot area Take at least two screenshots of the content. It can realize the continuous interaction between the user and the content displayed in the screenshot area during the screenshot process, thereby changing the content that needs to be screenshotted, and achieving continuous capture of several screenshots, eliminating the need for the user to select the display interface and take screenshots each time, improving the user's screenshot efficiency.
  • Fig. 2 shows a flowchart of the steps of the screenshot method provided in the second embodiment of the present invention.
  • the screenshot method provided by the embodiment of the present invention includes the following steps: step 201 to step 207.
  • Step 201 In the case of receiving the first operation, display a preset window.
  • the preset window includes a screenshot area.
  • the first operation may be a click operation, a long-press operation, a press operation, a double-click operation, a sliding operation, etc., on the current display interface of the electronic device.
  • the preset window is displayed on the current display interface, and the preset window is a window floating on the uppermost layer of the current display interface.
  • the preset window includes a screenshot area, where the screenshot area is used for screenshots, and the user can adjust the size of the screenshot area to adjust the size of the screenshot.
  • the screenshot area is displayed on the top layer of the current display interface, and when the display interface outputs the screenshot area, it does not affect the user's interaction with the current display interface.
  • Step 202 Receive a second operation on the screenshot area.
  • the second operation can be a click operation, a slide operation, a long press operation, etc., on the content displayed in the screenshot area.
  • the embodiment of the present invention There are no specific restrictions on this.
  • Step 203 When the first interface to be screenshot is displayed in the screenshot area, receive the first sub-operation on the first interface to be screenshot.
  • the second operation includes the first sub-operation, the second sub-operation and the third sub-operation.
  • Step 204 In response to the first sub-operation, capture the first image of the first interface to be captured.
  • the user When the user needs to take a screenshot of the first interface to be screenshot displayed in the screenshot area, the user receives the first sub-operation on the first interface to be screenshot, and takes a screenshot of the first interface to be screenshot.
  • the first sub-operation is a long screenshot operation on the first interface to be screenshot
  • determine the initial position and end position of the first sub-operation on the first interface to be screenshot ; intercept the initial position of the first interface to be screenshot to the first position of the end position One image.
  • the first sub-operation can be a long-press operation on the first interface to be screenshot, a pressing operation with a certain threshold value, a sliding operation of sliding a preset track, and then a sliding operation on the first interface to be screenshot, etc., to achieve triggering Long screenshot.
  • the user can switch operation on the first interface to be screenshot, so as to realize the long screenshot of different interface to be screenshot, for example: when the user takes a long screenshot of the interface of A to be screenshot, he switches to the interface of B to be screenshot , First select the long screenshot area of the A interface, which is the initial position of the A interface, and then determine the long screenshot area of the B interface, that is, at the end position of the B interface, stitch the long screenshot area of the A interface and the long screenshot area of the B interface , So as to generate a long screenshot of the A interface and the B interface, that is, the first image from the initial position to the end position is intercepted.
  • Step 205 Receive a second sub-operation on the first interface to be captured.
  • Step 206 In response to the second sub-operation, switch the first interface to be captured to the second interface to be captured.
  • the second to-be-taken screenshot interface is displayed in the screenshot area.
  • the second sub-operation is a switching operation on the first to-be-taken screenshot interface.
  • the first to-be-taken screenshot interface includes controls for switching the interface.
  • the control can be a control to return to the previous page or a control to return to the main interface.
  • the interface is switched, and the first interface to be screenshot is switched to the second interface to be screenshot.
  • the first interface to be screenshot can be switched multiple times.
  • the current interface is determined to be the second interface to be screenshot.
  • Step 207 Receive a third sub-operation on the second interface to be captured, and in response to the third sub-operation, capture the second image of the second interface to be captured.
  • the user When the user needs to take a screenshot of the second interface to be screenshot displayed in the screenshot area, the user receives the third sub-operation on the first interface to be screenshot, and takes a screenshot of the second interface to be screenshot.
  • the screenshot interface when the size of the screenshot area is smaller than the first screenshot interface, the second image is a partial image of the second screenshot interface.
  • the second operation is at least two screenshot operations on the third interface to be screenshot, for each second operation, intercept the third interface to be screenshot Each third image.
  • the second operation includes adjusting the size of the screenshot area and dragging the screenshot area. After adjusting the size of the screenshot area, the Take the first screenshot of the screenshot interface, drag the screenshot area to the target position, and take the second screenshot of the target position of the third interface to be screenshot.
  • the screenshot method provided by the embodiment of the present invention may further include: stitching the first image and the second image and saving them to the electronic device.
  • the preset window when the first operation is received, the preset window is displayed, and the preset window includes the screenshot area; the second operation on the screenshot area is received; in response to the second operation, the display in the screenshot area Take at least two screenshots of the content. It can realize the continuous interaction between the user and the content displayed in the screenshot area during the screenshot process, thereby changing the content that needs to be screenshotted, and achieving continuous capture of several screenshots, eliminating the need for the user to select the display interface and take screenshots each time, improving the user's screenshot efficiency.
  • Fig. 3 shows a structural block diagram of an electronic device provided in the third embodiment of the present invention.
  • the electronic device 300 provided by the embodiment of the present invention includes:
  • the display module 301 is configured to display a preset window when the first operation is received, where the preset window includes a screenshot area;
  • the first receiving module 302 is configured to receive a second operation on the screenshot area
  • the first response module 303 is configured to take screenshots of the content displayed in the screenshot area at least twice in response to the second operation.
  • the preset window when the first operation is received, the preset window is displayed, and the preset window includes the screenshot area; the second operation on the screenshot area is received; in response to the second operation, the display in the screenshot area Take at least two screenshots of the content. It can realize the continuous interaction between the user and the content displayed in the screenshot area during the screenshot process, thereby changing the content that needs to be screenshotted, and achieving continuous capture of several screenshots, eliminating the need for the user to select the display interface and take screenshots each time, improving the user's screenshot efficiency.
  • Fig. 4 shows a structural block diagram of an electronic device according to the fourth embodiment of the present invention.
  • the electronic device 400 provided by the embodiment of the present invention includes:
  • the display module 401 is configured to display a preset window when the first operation is received, where the preset window includes a screenshot area;
  • the first receiving module 402 is configured to receive a second operation on the screenshot area
  • the first response module 403 is configured to take screenshots of the content displayed in the screenshot area at least twice in response to the second operation.
  • the second operation includes a first sub-operation, a second sub-operation, and a third sub-operation
  • the first response module 403 includes:
  • the first receiving submodule 4031 is configured to receive a first sub-operation on the first interface to be screenshot when the first interface to be screenshot is displayed in the screenshot area;
  • the first response sub-module 4032 is configured to capture the first image of the first interface to be screenshot in response to the first sub-operation;
  • the second receiving sub-module 4033 is configured to receive a second sub-operation on the first interface to be captured
  • the second response submodule 4034 is configured to switch the first interface to be screenshot to a second interface to be screenshot in response to the second sub-operation, wherein the second interface to be screenshot is displayed in the screenshot area ;
  • the third receiving sub-module 4035 is configured to receive a third sub-operation on the second interface to be screenshot, and in response to the third sub-operation, intercept the second image of the second interface to be screenshot.
  • the first response submodule 4032 includes:
  • the determining unit 40321 is configured to determine the initial position and the end position of the first sub-operation on the first interface to be captured;
  • the interception unit 40322 is configured to intercept the first image from the initial position to the end position of the first interface to be screenshot.
  • the first response module 403 includes:
  • the interception submodule 4036 is used for when the content displayed in the screenshot area is the third interface to be intercepted, and the second operation is at least two screenshot operations on the third interface to be screenshot, for Each time the second operation, each third image of the third interface to be captured is captured.
  • the electronic device 400 further includes: a splicing module 404, configured to receive a third sub-operation on the second interface to be captured in the third receiving sub-module 4035, and respond to the third sub-operation Operation, after capturing the second image of the second interface to be captured, the first image and the second image are stitched together and then saved to the electronic device.
  • a splicing module 404 configured to receive a third sub-operation on the second interface to be captured in the third receiving sub-module 4035, and respond to the third sub-operation Operation, after capturing the second image of the second interface to be captured, the first image and the second image are stitched together and then saved to the electronic device.
  • the electronic device provided by the embodiment of the present invention can implement each process implemented by the electronic device in the method embodiment of FIG. 1 and FIG.
  • the preset window when the first operation is received, the preset window is displayed, and the preset window includes the screenshot area; the second operation on the screenshot area is received; in response to the second operation, the display in the screenshot area Take at least two screenshots of the content. It can realize the continuous interaction between the user and the content displayed in the screenshot area during the screenshot process, thereby changing the content that needs to be screenshotted, and achieving continuous capture of several screenshots, eliminating the need for the user to select the display interface and take screenshots each time, improving the user's screenshot efficiency.
  • Fig. 5 is a schematic diagram of the hardware structure of an electronic device implementing various embodiments of the present invention.
  • the electronic device 500 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and Power supply 511 and other components.
  • a radio frequency unit 501 includes but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and Power supply 511 and other components.
  • Those skilled in the art can understand that the structure of the electronic device shown in FIG. 5 does not constitute a limitation on the electronic device.
  • the electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers
  • the processor 510 is configured to display a preset window when a first operation is received, where the preset window includes a screenshot area; receive a second operation on the screenshot area; and respond to the second operation , To take screenshots of the content displayed in the screenshot area at least twice.
  • the preset window when the first operation is received, the preset window is displayed, and the preset window includes the screenshot area; the second operation on the screenshot area is received; in response to the second operation, the display in the screenshot area Take at least two screenshots of the content. It can realize the continuous interaction between the user and the content displayed in the screenshot area during the screenshot process, thereby changing the content that needs to be screenshotted, and achieving continuous capture of several screenshots, eliminating the need for the user to select the display interface and take screenshots each time, improving the user's screenshot efficiency.
  • the radio frequency unit 501 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, after receiving the downlink data from the base station, it is processed by the processor 510; Uplink data is sent to the base station.
  • the radio frequency unit 501 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 501 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device provides users with wireless broadband Internet access through the network module 502, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 503 can convert the audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output it as sound. Moreover, the audio output unit 503 may also provide audio output related to a specific function performed by the electronic device 500 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 504 is used to receive audio or video signals.
  • the input unit 504 may include a graphics processing unit (GPU) 5041 and a microphone 5042.
  • the graphics processor 5041 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 may be displayed on the display unit 506.
  • the image frame processed by the graphics processor 5041 may be stored in the memory 509 (or other storage medium) or sent via the radio frequency unit 501 or the network module 502.
  • the microphone 5042 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 a mobile communication base station via the radio frequency unit 501 for output in the case of a telephone call mode.
  • the electronic device 500 further includes at least one sensor 505, 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 5061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 5061 and the display panel 5061 when the electronic device 500 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 posture calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 505 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 506 is used to display information input by the user or information provided to the user.
  • the display unit 506 may include a display panel 5061, and the display panel 5061 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 507 can be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 507 includes a touch panel 5071 and other input devices 5072.
  • the touch panel 5071 also known as 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 5071 or near the touch panel 5071. operate).
  • the touch panel 5071 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 510, the command sent by the processor 510 is received and executed.
  • the touch panel 5071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 507 may also include other input devices 5072.
  • other input devices 5072 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 5071 can be overlaid on the display panel 5061.
  • the touch panel 5071 detects a touch operation on or near it, it is transmitted to the processor 510 to determine the type of touch event, and then the processor 510 determines the type of the touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 5061.
  • the touch panel 5071 and the display panel 5061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 5071 and the display panel 5061 can be integrated
  • the implementation of the input and output functions of the electronic device is not specifically limited here.
  • the interface unit 508 is an interface for connecting an external device and the electronic device 500.
  • 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 508 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 500 or can be used to connect the electronic device 500 to an external device. Transfer data between devices.
  • the memory 509 can be used to store software programs and various data.
  • the memory 509 may mainly include a storage program area and a storage data area.
  • the storage program 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 509 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 510 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes software programs and/or modules stored in the memory 509, and calls data stored in the memory 509 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem The processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 510.
  • the electronic device 500 may also include a power source 511 (such as a battery) for supplying power to various components.
  • a power source 511 such as a battery
  • the power source 511 may be logically connected to the processor 510 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
  • the electronic device 500 includes some functional modules not shown, which will not be repeated here.
  • the embodiment of the present invention also provides an electronic device, including a processor 510, a memory 509, a computer program stored in the memory 509 and running on the processor 510, and when the computer program is executed by the processor 510
  • an electronic device including a processor 510, a memory 509, a computer program stored in the memory 509 and running on the processor 510, and when the computer program is executed by the processor 510
  • a processor 510 a memory 509
  • a computer program stored in the memory 509 and running on the processor 510 and when the computer program is executed by the processor 510
  • the embodiment of the present invention also provides an electronic device configured to execute each process of the above embodiment of the screenshot method, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
  • the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • 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 include non-transitory computer-readable storage media, such as read-only memory (Read-Only Memory, ROM for short), Random Access Memory (RAM for short), and magnetic CD or CD, etc.
  • the embodiment of the present invention also provides a computer program product, which can be executed by a processor to implement each process of the above embodiment of the screenshot method, and can achieve the same technical effect. In order to avoid repetition, it will not be repeated here.
  • Such a processor can be, but is not limited to, a general-purpose processor, a dedicated processor, a special application processor, or a field programmable logic circuit. It can also be understood that each block in the block diagram and/or flowchart and the combination of the blocks in the block diagram and/or flowchart can also be implemented by dedicated hardware that performs specified functions or actions, or can be implemented by dedicated hardware and A combination of computer instructions.
  • the technical solution of the present invention 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 a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present invention.
  • a terminal which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Landscapes

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

Abstract

一种截图方法及电子设备。所述方法包括:在接收到第一操作的情况下,显示预设窗口(101),其中,预设窗口包括截图区域;接收对截图区域的第二操作(102);响应于第二操作,对截图区域中显示的内容进行至少两次截图(103)。

Description

截图方法及电子设备
相关申请的交叉引用
本申请主张在2020年03月23日在中国提交的中国专利申请号202010210090.2的优先权,其全部内容通过引用包含于此。
技术领域
本发明涉及电子设备技术领域,特别是涉及一种截图方法及电子设备。
背景技术
随着通信技术的发展,截图成为各大电子设备越来越常用的操作。现有的截图方式需要先确定截图的区域内容,当选择截图区域后,点击截图按钮,对当前截图区域进行截取,并将截取的图片进行保存。
然而,目前的截图方式仅能对当前界面进行一次性截图,无法在一次截图的过程中,实现连续截图。当需要连续截图时,需要用户选择一个显示界面进行截图,截图完成后,再选择另一个显示界面进行截图。目前的连续截图方式,操作繁琐。
发明内容
本发明实施例提供一种截图方法及电子设备,以解决现有技术中连续截图方式操作繁琐的问题。
为了解决上述技术问题,本发明是这样实现的:
第一方面,本发明实施例提供了一种截图方法,所述方法包括:在接收到第一操作的情况下,显示预设窗口,其中,所述预设窗口包括截图区域;接收对所述截图区域的第二操作;响应于所述第二操作,对所述截图区域中显示的内容进行至少两次截图。
第二方面,本发明实施例还提供了一种电子设备,所述电子设备包括:输出模块,用于在接收到第一操作的情况下,显示预设窗口,其中,所述预设窗口包括截图区域;第一接收模块,用于接收对所述截图区域的第二操作;第一响应模块,用于响应于所述第二操作,对所述截图区域中显示的内容进行至少两次截图。
第三方面,本发明实施例还提供了一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现上述第一方面所述的截图方法的步骤。
第四方面,本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现上述第一方面所述的截图方法的步骤。
在本发明实施例中,通过在接收到第一操作的情况下,显示预设窗口,其中,预设窗口包括截图区域;接收对截图区域的第二操作;响应于第二操作,对截图区域中显示的内容进行至少两次截图。能够实现在截图过程中,用户与截图区域所显示的内容持续交互,从而改变需要截图的内容,实现连续截取若干张截图,无需用户每次选择显示界面并进行截图,提高用户的截图效率。
附图说明
图1是本发明实施例一提供的截图方法的步骤流程图;
图2是本发明实施例二提供的截图方法的步骤流程图;
图3是本发明实施例三提供的电子设备的结构框图;
图4是本发明实施例四提供的电子设备的结构框图;
图5是本发明实施例五提供的电子设备的硬件结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有 作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
实施例一
图1示出了本发明实施例一提供的截图方法的步骤流程图。
本发明实施例提供的截图方法包括以下步骤:步骤101、步骤102和步骤103。
步骤101:在接收到第一操作的情况下,显示预设窗口。
其中,预设窗口包括截图区域。
需要说明的是,第一操作可以为对电子设备的当前显示界面的点击操作、长按操作、按压操作、双击操作以及滑动操作等。
接收到第一操作的情况下,在当前显示界面显示预设窗口,预设窗口为悬浮在当前显示界面的最上层的一个窗口。在预设窗口中包括截图区域,其中,截图区域用于截图,用户可以调整截图区域的大小,从而调整需要截图的大小。
同时截图区域显示在当前显示界面的最上层,且在显示界面输出截图区域时,不影响用户与当前显示界面的交互。
步骤102:接收对截图区域的第二操作。
步骤103:响应于第二操作,对截图区域中显示的内容进行至少两次截图。
当用户对截图区域进行第二操作时,可以对截图区域中显示的内容进行截取,在对截图区域中的内容进行切换,并对切换后的内容进行截取,也可以为对截图区域中显示的内容进行至少两次截图。
需要说明的是,本领域技术人员可以根据实际情况对第二操作进行设置,其中,第二操作可以为对截图区域中显示的内容的点击操作,滑动操作以及长按操作等,本发明实施例对此不作具体限制。
响应于第二操作,并将截图区域中显示的内容进行至少两次截图,生成至少两个截图,保存在电子设备中,或者将至少两个截图按照截图顺序拼接为一张图像,保存在电子设备中。
在本发明实施例中,通过在接收到第一操作的情况下,显示预设窗口, 预设窗口包括截图区域;接收对截图区域的第二操作;响应于第二操作,对截图区域中显示的内容进行至少两次截图。能够实现在截图过程中,用户与截图区域所显示的内容持续交互,从而改变需要截图的内容,实现连续截取若干张截图,无需用户每次选择显示界面并进行截图,提高用户的截图效率。
实施例二
图2示出了本发明实施例二提供的截图方法的步骤流程图。
本发明实施例提供的截图方法包括以下步骤:步骤201至步骤207。
步骤201:在接收到第一操作的情况下,显示预设窗口。
其中,预设窗口包括截图区域。
需要说明的是,第一操作可以为对电子设备的当前显示界面的点击操作、长按操作、按压操作、双击操作以及滑动操作等。
接收到第一操作的情况下,在当前显示界面显示预设窗口,预设窗口为悬浮在当前显示界面的最上层的一个窗口。在预设窗口中包括截图区域,其中,截图区域用于截图,用户可以调整截图区域的大小,从而调整需要截图的大小。
同时截图区域显示在当前显示界面的最上层,且在显示界面输出截图区域时,不影响用户与当前显示界面的交互。
步骤202:接收对截图区域的第二操作。
需要说明的是,本领域技术人员可以根据实际情况对第二操作进行设置,其中,第二操作可以为对截图区域中显示的内容的点击操作,滑动操作以及长按操作等,本发明实施例对此不作具体限制。
步骤203:在截图区域中显示第一待截图界面的情况下,接收对第一待截图界面的第一子操作。
第二操作包括第一子操作、第二子操作以及第三子操作,当用户对显示界面进行了一次切换操作,则确定切换后的界面为待截图界面,当用户需要对两个界面进行截图,则对显示界面进行两次切换操作,并且确定每次切换操作的界面为待截图界面。
步骤204:响应于第一子操作,截取第一待截图界面的第一图像。
当用户需要对截图区域所显示的第一待截图界面进行截图时,接收对第一待截图界面的第一子操作,并对第一待截图界面进行截图,对第一待截图界面截取的是截图区域中显示的第一待截图界面的图像,由于截图区域可以根据用户的操作调节截图区域的大小,当截图区域的大小与第一待截图界面的大小一致时,则第一图像即为第一待截图界面,当截图区域的大小小于第一待截图界面,则第一图像则为第一待截图界面的局部图像。
当第一子操作为对第一待截图界面的长截图操作时,确定第一子操作在第一待截图界面的初始位置和结束位置;截取第一待截图界面的初始位置至结束位置的第一图像。
需要说明的是,第一子操作可以对第一待截图界面进行长按操作、按压一定阈值的按压操作、滑动预设轨迹的滑动操作后,对第一待截图界面进行滑动等,以实现触发长截图。
当触发了对第一待截图界面的第一子操作后,对第一待截图界面进行滑动,从而确定需要长截图区域。
在长截图的过程中,用户可以对第一待截图界面进行切换操作,从而实现对不同待截图界面进行长截图,例如:用户在对A待截图界面长截图时,又切换至B待截图界面,先选择A界面的长截图区域,即在A界面的初始位置,再确定B界面的长截图区域,即在B界面的结束位置,将A界面的长截图区域和B界面的长截图区域拼接,从而生成A界面和B界面的长截图,即截取初始位置至结束位置的第一图像。
步骤205:接收对第一待截图界面的第二子操作。
步骤206:响应于第二子操作,将第一待截图界面切换为第二待截图界面。
其中,在截图区域中显示第二待截图界面。
第二子操作为对第一待截图界面的切换操作,第一待截图界面中包括切换界面的控件,控件可以为返回上一页控件、返回至主界面的控件,依据控件对第一待截图界面进行切换,并从第一待截图界面切换至第二待截图界面。
需要说明的是,可以对第一待截图界面进行多次切换,当切换至需要 截图的界面时,将当前界面确定为第二待截图界面。
步骤207:接收对第二待截图界面的第三子操作,并响应于第三子操作,截取第二待截图界面的第二图像。
当用户需要对截图区域所显示的第二待截图界面进行截图时,接收对第一待截图界面的第三子操作,并对第二待截图界面进行截图,对第二待截图界面截取的是截图区域中显示的第二待截图界面的图像,由于截图区域可以根据用户的操作调节截图区域的大小,当截图区域的大小与第二待截图界面的大小一致时,则第二图像即为第二待截图界面,当截图区域的大小小于第一待截图界面,则第二图像则为第二待截图界面的局部图像。
在截图区域中显示的内容为第三待截取界面时,且第二操作为对第三待截图界面的至少两次截图操作的情况下,针对每次第二操作,截取第三待截图界面的各第三图像。
当第二操作为对第三待截图界面的多次局部截图操作时,第二操作包括对截图区域大小的调整操作,以及对截图区域的拖动操作,调整截图区域大小后,对第三待截图界面进行第一次截图,将截图区域拖动至目标位置,对第三待截图界面的目标位置进行第二次截图。
在本发明实施例的一些可能实现中,本发明实施例提供的截图方法还可以包括:将第一图像和第二图像拼接后保存至电子设备。
在本发明实施例中,通过在接收到第一操作的情况下,显示预设窗口,预设窗口包括截图区域;接收对截图区域的第二操作;响应于第二操作,对截图区域中显示的内容进行至少两次截图。能够实现在截图过程中,用户与截图区域所显示的内容持续交互,从而改变需要截图的内容,实现连续截取若干张截图,无需用户每次选择显示界面并进行截图,提高用户的截图效率。
实施例三
图3示出了本发明实施例三提供的电子设备的结构框图。
本发明实施例提供的电子设备300包括:
显示模块301,用于在接收到第一操作的情况下,显示预设窗口,其中,所述预设窗口包括截图区域;
第一接收模块302,用于接收对所述截图区域的第二操作;
第一响应模块303,用于响应于所述第二操作,对所述截图区域中显示的内容进行至少两次截图。
在本发明实施例中,通过在接收到第一操作的情况下,显示预设窗口,预设窗口包括截图区域;接收对截图区域的第二操作;响应于第二操作,对截图区域中显示的内容进行至少两次截图。能够实现在截图过程中,用户与截图区域所显示的内容持续交互,从而改变需要截图的内容,实现连续截取若干张截图,无需用户每次选择显示界面并进行截图,提高用户的截图效率。
实施例四
图4示出了本发明实施例四提供的电子设备结构框图。
本发明实施例提供的电子设备400包括:
显示模块401,用于在接收到第一操作的情况下,显示预设窗口,其中,所述预设窗口包括截图区域;
第一接收模块402,用于接收对所述截图区域的第二操作;
第一响应模块403,用于响应于所述第二操作,对所述截图区域中显示的内容进行至少两次截图。
可选地,所述第二操作包括第一子操作、第二子操作以及第三子操作,所述第一响应模块403包括:
第一接收子模块4031,用于在所述截图区域中显示第一待截图界面的情况下,接收对所述第一待截图界面的第一子操作;
第一响应子模块4032,用于响应于所述第一子操作,截取所述第一待截图界面的第一图像;
第二接收子模块4033,用于接收对所述第一待截图界面的第二子操作;
第二响应子模块4034,用于响应于所述第二子操作,将所述第一待截图界面切换为第二待截图界面,其中,在所述截图区域中显示所述第二待截图界面;
第三接收子模块4035,用于接收对所述第二待截图界面的第三子操作,并响应于所述第三子操作,截取所述第二待截图界面的第二图像。
可选地,所述第一响应子模块4032包括:
确定单元40321,用于确定所述第一子操作在所述第一待截图界面的初始位置和结束位置;
截取单元40322,用于截取所述第一待截图界面的所述初始位置至所述结束位置的第一图像。
可选地,所述第一响应模块403包括:
截取子模块4036,用于在所述截图区域中显示的内容为第三待截取界面时,且所述第二操作为对所述第三待截图界面的至少两次截图操作的情况下,针对每次所述第二操作,截取所述第三待截图界面的各第三图像。
可选地,所述电子设备400还包括:拼接模块404,用于在所述第三接收子模块4035接收对所述第二待截图界面的第三子操作,并响应于所述第三子操作,截取所述第二待截图界面的第二图像之后,将所述第一图像和所述第二图像拼接后保存至所述电子设备。
本发明实施例提供的电子设备能够实现图1和图2的方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。
在本发明实施例中,通过在接收到第一操作的情况下,显示预设窗口,预设窗口包括截图区域;接收对截图区域的第二操作;响应于第二操作,对截图区域中显示的内容进行至少两次截图。能够实现在截图过程中,用户与截图区域所显示的内容持续交互,从而改变需要截图的内容,实现连续截取若干张截图,无需用户每次选择显示界面并进行截图,提高用户的截图效率。
实施例五
图5为实现本发明各个实施例的一种电子设备的硬件结构示意图。
该电子设备500包括但不限于:射频单元501、网络模块502、音频输出单元503、输入单元504、传感器505、显示单元506、用户输入单元507、接口单元508、存储器509、处理器510、以及电源511等部件。本领域技术人员可以理解,图5中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、 平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。
处理器510,用于在接收到第一操作的情况下,显示预设窗口,其中,所述预设窗口包括截图区域;接收对所述截图区域的第二操作;响应于所述第二操作,对所述截图区域中显示的内容进行至少两次截图。
在本发明实施例中,通过在接收到第一操作的情况下,显示预设窗口,预设窗口包括截图区域;接收对截图区域的第二操作;响应于第二操作,对截图区域中显示的内容进行至少两次截图。能够实现在截图过程中,用户与截图区域所显示的内容持续交互,从而改变需要截图的内容,实现连续截取若干张截图,无需用户每次选择显示界面并进行截图,提高用户的截图效率。
应理解的是,本发明实施例中,射频单元501可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器510处理;另外,将上行的数据发送给基站。通常,射频单元501包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元501还可以通过无线通信系统与网络和其他设备通信。
电子设备通过网络模块502为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元503可以将射频单元501或网络模块502接收的或者在存储器509中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元503还可以提供与电子设备500执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元503包括扬声器、蜂鸣器以及受话器等。
输入单元504用于接收音频或视频信号。输入单元504可以包括图形处理器(Graphics Processing Unit,GPU)5041和麦克风5042,图形处理器5041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元506上。经图形处理器5041处理后的图像帧可以存储在存储器 509(或其它存储介质)中或者经由射频单元501或网络模块502进行发送。麦克风5042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元501发送到移动通信基站的格式输出。
电子设备500还包括至少一种传感器505,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板5061的亮度,接近传感器可在电子设备500移动到耳边时,关闭显示面板5061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器505还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元506用于显示由用户输入的信息或提供给用户的信息。显示单元506可包括显示面板5061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板5061。
用户输入单元507可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元507包括触控面板5071以及其他输入设备5072。触控面板5071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板5071上或在触控面板5071附近的操作)。触控面板5071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器510,接收处理器510发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板5071。除了触控面板5071,用户输入单元507还可以 包括其他输入设备5072。具体地,其他输入设备5072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板5071可覆盖在显示面板5061上,当触控面板5071检测到在其上或附近的触摸操作后,传送给处理器510以确定触摸事件的类型,随后处理器510根据触摸事件的类型在显示面板5061上提供相应的视觉输出。虽然在图5中,触控面板5071与显示面板5061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板5071与显示面板5061集成而实现电子设备的输入和输出功能,具体此处不做限定。
接口单元508为外部装置与电子设备500连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元508可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备500内的一个或多个元件或者可以用于在电子设备500和外部装置之间传输数据。
存储器509可用于存储软件程序以及各种数据。存储器509可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器509可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器510是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器509内的软件程序和/或模块,以及调用存储在存储器509内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器510可包括一个或多个处理单元;优选的,处理器510可集成应用处理器和调制解调处理器,其 中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器510中。
电子设备500还可以包括给各个部件供电的电源511(比如电池),优选的,电源511可以通过电源管理系统与处理器510逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
另外,电子设备500包括一些未示出的功能模块,在此不再赘述。
优选的,本发明实施例还提供一种电子设备,包括处理器510,存储器509,存储在存储器509上并可在所述处理器510上运行的计算机程序,该计算机程序被处理器510执行时实现上述截图方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本发明实施例还提供一种电子设备,被配置成用于执行上述截图方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述截图方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质的示例包括非暂态计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。
本发明实施例还提供一种计算机程序产品,所述计算机程序产品可被处理器执行以实现上述截图方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
上面参考根据本发明的实施例的方法、装置(系统)和计算机程序产品的流程图和/或框图描述了本发明的各方面。应当理解,流程图和/或框图中的每个方框以及流程图和/或框图中各方框的组合可以由计算机程序指令实现。这些计算机程序指令可被提供给通用计算机、专用计算机、或其它可编程数据处理装置的处理器,以产生一种机器,使得经由计算机或其它可编程数据处理装置的处理器执行的这些指令使能对流程图和/或框图的 一个或多个方框中指定的功能/动作的实现。这种处理器可以是但不限于是通用处理器、专用处理器、特殊应用处理器或者现场可编程逻辑电路。还可理解,框图和/或流程图中的每个方框以及框图和/或流程图中的方框的组合,也可以由执行指定的功能或动作的专用硬件来实现,或可由专用硬件和计算机指令的组合来实现。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。

Claims (14)

  1. 一种截图方法,应用于电子设备,所述方法包括:
    在接收到第一操作的情况下,显示预设窗口,其中,所述预设窗口包括截图区域;
    接收对所述截图区域的第二操作;
    响应于所述第二操作,对所述截图区域中显示的内容进行至少两次截图。
  2. 根据权利要求1所述的方法,其中,所述第二操作包括第一子操作、第二子操作以及第三子操作,所述响应于所述第二操作,对所述截图区域中显示的内容进行至少两次截图的步骤包括:
    在所述截图区域中显示第一待截图界面的情况下,接收对所述第一待截图界面的第一子操作;
    响应于所述第一子操作,截取所述第一待截图界面的第一图像;
    接收对所述第一待截图界面的第二子操作;
    响应于所述第二子操作,将所述第一待截图界面切换为第二待截图界面,其中,在所述截图区域中显示所述第二待截图界面;
    接收对所述第二待截图界面的第三子操作,并响应于所述第三子操作,截取所述第二待截图界面的第二图像。
  3. 根据权利要求2所述的方法,其中,所述响应于所述第一子操作,截取所述第一待截图界面的第一图像的步骤,包括:
    确定所述第一子操作在所述第一待截图界面的初始位置和结束位置;
    截取所述第一待截图界面的所述初始位置至所述结束位置的第一图像。
  4. 根据权利要求1所述的方法,其中,在所述截图区域中显示的内容为第三待截取界面时,且所述第二操作为对所述第三待截图界面的至少两次截图操作的情况下,所述响应于所述第二操作,对所述截图区域中显示的内容进行至少两次截图的步骤,包括:
    针对每次所述第二操作,截取所述第三待截图界面的各第三图像。
  5. 根据权利要求2所述的方法,其中,在所述接收对所述第二待截图界面的第三子操作,并响应于所述第三子操作,截取所述第二待截图界面的第二图像的步骤之后,所述方法还包括:
    将所述第一图像和所述第二图像拼接后保存至所述电子设备。
  6. 一种电子设备,包括:
    显示模块,用于在接收到第一操作的情况下,显示预设窗口,其中,所述预设窗口包括截图区域;
    第一接收模块,用于接收对所述截图区域的第二操作;
    第一响应模块,用于响应于所述第二操作,对所述截图区域中显示的内容进行至少两次截图。
  7. 根据权利要求6所述的电子设备,其中,所述第二操作包括第一子操作、第二子操作以及第三子操作,所述第一响应模块包括:
    第一接收子模块,用于在所述截图区域中显示第一待截图界面的情况下,接收对所述第一待截图界面的第一子操作;
    第一响应子模块,用于响应于所述第一子操作,截取所述第一待截图界面的第一图像;
    第二接收子模块,用于接收对所述第一待截图界面的第二子操作;
    第二响应子模块,用于响应于所述第二子操作,将所述第一待截图界面切换为第二待截图界面,其中,在所述截图区域中显示所述第二待截图界面;
    第三接收子模块,用于接收对所述第二待截图界面的第三子操作,并响应于所述第三子操作,截取所述第二待截图界面的第二图像。
  8. 根据权利要求7所述的电子设备,其中,所述第一响应子模块包括:
    确定单元,用于确定所述第一子操作在所述第一待截图界面的初始位置和结束位置;
    截取单元,用于截取所述第一待截图界面的所述初始位置至所述结束位置的第一图像。
  9. 根据权利要求6所述的电子设备,其中,所述第一响应模块包括:
    截取子模块,用于在所述截图区域中显示的内容为第三待截取界面时,且所述第二操作为对所述第三待截图界面的至少两次截图操作的情况下,针对每次所述第二操作,截取所述第三待截图界面的各第三图像。
  10. 根据权利要求7所述的电子设备,还包括:
    拼接模块,用于在所述第三接收子模块接收对所述第二待截图界面的第三子操作,并响应于所述第三子操作,截取所述第二待截图界面的第二图像之后,将所述第一图像和所述第二图像拼接后保存至所述电子设备。
  11. 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至5中任一项所述的截图方法的步骤。
  12. 一种电子设备,被配置成用于执行如权利要求1至5中任一项所述的截图方法的步骤。
  13. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述的截图方法的步骤。
  14. 一种计算机程序产品,所述计算机程序产品可被处理器执行以实现如权利要求1至5中任一项所述的截图方法的步骤。
PCT/CN2021/081225 2020-03-23 2021-03-17 截图方法及电子设备 WO2021190370A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010210090.2 2020-03-23
CN202010210090.2A CN111443968A (zh) 2020-03-23 2020-03-23 一种截图方法及电子设备

Publications (1)

Publication Number Publication Date
WO2021190370A1 true WO2021190370A1 (zh) 2021-09-30

Family

ID=71652377

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/081225 WO2021190370A1 (zh) 2020-03-23 2021-03-17 截图方法及电子设备

Country Status (2)

Country Link
CN (1) CN111443968A (zh)
WO (1) WO2021190370A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111443968A (zh) * 2020-03-23 2020-07-24 维沃移动通信有限公司 一种截图方法及电子设备
CN112379815A (zh) * 2020-12-07 2021-02-19 腾讯科技(深圳)有限公司 图像截取方法、装置和存储介质及电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150128017A1 (en) * 2013-11-06 2015-05-07 International Business Machines Corporation Enabling interactive screenshots within collaborative applications
CN106484256A (zh) * 2016-09-20 2017-03-08 珠海市魅族科技有限公司 截图拼接方法及装置
CN107346200A (zh) * 2017-06-30 2017-11-14 努比亚技术有限公司 一种间隔截图方法及终端
CN109407936A (zh) * 2018-09-21 2019-03-01 Oppo(重庆)智能科技有限公司 截图方法及相关装置
CN110456956A (zh) * 2019-08-05 2019-11-15 腾讯科技(深圳)有限公司 截图方法、装置、计算机设备和存储介质
CN111443968A (zh) * 2020-03-23 2020-07-24 维沃移动通信有限公司 一种截图方法及电子设备

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102521020B (zh) * 2011-10-26 2014-05-21 华为终端有限公司 用于移动终端的应用屏幕截图方法和装置
CN109189301A (zh) * 2018-08-23 2019-01-11 珠海格力电器股份有限公司 一种屏幕截图的方法及装置
CN109358791A (zh) * 2018-09-10 2019-02-19 珠海格力电器股份有限公司 一种截图方法、装置、存储介质及移动终端

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150128017A1 (en) * 2013-11-06 2015-05-07 International Business Machines Corporation Enabling interactive screenshots within collaborative applications
CN106484256A (zh) * 2016-09-20 2017-03-08 珠海市魅族科技有限公司 截图拼接方法及装置
CN107346200A (zh) * 2017-06-30 2017-11-14 努比亚技术有限公司 一种间隔截图方法及终端
CN109407936A (zh) * 2018-09-21 2019-03-01 Oppo(重庆)智能科技有限公司 截图方法及相关装置
CN110456956A (zh) * 2019-08-05 2019-11-15 腾讯科技(深圳)有限公司 截图方法、装置、计算机设备和存储介质
CN111443968A (zh) * 2020-03-23 2020-07-24 维沃移动通信有限公司 一种截图方法及电子设备

Also Published As

Publication number Publication date
CN111443968A (zh) 2020-07-24

Similar Documents

Publication Publication Date Title
WO2021098678A1 (zh) 投屏控制方法及电子设备
US11243653B2 (en) Method for display control and mobile terminal
WO2020238449A1 (zh) 通知消息的处理方法及终端
WO2021204045A1 (zh) 音频的控制方法及电子设备
WO2021012931A1 (zh) 图标管理方法及终端
WO2021098677A1 (zh) 显示方法及电子设备
WO2021098705A1 (zh) 显示方法及电子设备
WO2020238497A1 (zh) 图标移动方法及终端设备
WO2020186964A1 (zh) 音频信号的输出方法及终端设备
WO2021077908A1 (zh) 参数调节方法和电子设备
WO2021004426A1 (zh) 内容选择方法及终端
CA3092598C (en) Display method and mobile terminal
WO2020182035A1 (zh) 图像处理方法及终端设备
WO2020199986A1 (zh) 视频通话方法及终端设备
WO2021104251A1 (zh) 控制方法及第一电子设备
WO2021037074A1 (zh) 音频输出方法及电子设备
WO2021068885A1 (zh) 控制方法及电子设备
WO2021088706A1 (zh) 应用程序的控制方法和电子设备
WO2020220893A1 (zh) 截图方法及移动终端
WO2021208890A1 (zh) 截屏方法及电子设备
WO2021083090A1 (zh) 消息发送方法及移动终端
WO2021104232A1 (zh) 显示方法及电子设备
WO2021129835A1 (zh) 音量控制方法、设备及计算机可读存储介质
CN110990172A (zh) 一种应用分享方法、第一电子设备及计算机可读存储介质
WO2021190373A1 (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: 21776762

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: 21776762

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 22.02.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21776762

Country of ref document: EP

Kind code of ref document: A1