[go: up one dir, main page]

CN111966259A - Screenshot method, device and electronic device - Google Patents

Screenshot method, device and electronic device Download PDF

Info

Publication number
CN111966259A
CN111966259A CN202010899238.8A CN202010899238A CN111966259A CN 111966259 A CN111966259 A CN 111966259A CN 202010899238 A CN202010899238 A CN 202010899238A CN 111966259 A CN111966259 A CN 111966259A
Authority
CN
China
Prior art keywords
original image
screenshot
input
thumbnail
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010899238.8A
Other languages
Chinese (zh)
Other versions
CN111966259B (en
Inventor
郭军政
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010899238.8A priority Critical patent/CN111966259B/en
Publication of CN111966259A publication Critical patent/CN111966259A/en
Application granted granted Critical
Publication of CN111966259B publication Critical patent/CN111966259B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation

Landscapes

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

Abstract

本申请公开了一种截图方法、装置及电子设备,属于通信技术领域。能够解决获取原始图片的截图图像的操作繁琐且耗时的问题。该方法包括:在电子设备的屏幕显示第一缩略图的情况下,接收第一输入;响应于该第一输入,显示与该第一缩略图对应的第一原始图像,并对该第一原始图像进行截图,得到该第一原始图像的截屏图像。该方法可以应用于包含有缩略图的截图的场景中。

Figure 202010899238

The present application discloses a screenshot method, device and electronic device, which belong to the technical field of communication. It can solve the problem that the operation of acquiring the screenshot image of the original image is cumbersome and time-consuming. The method includes: receiving a first input when the screen of the electronic device displays a first thumbnail; in response to the first input, displaying a first original image corresponding to the first thumbnail, and displaying the first original image in response to the first input. A screenshot of the image is performed to obtain a screenshot of the first original image. This method can be applied to scenes that contain screenshots with thumbnails.

Figure 202010899238

Description

截图方法、装置及电子设备Screenshot method, device and electronic device

技术领域technical field

本申请实施例涉及通信技术领域,尤其涉及一种截图方法、装置及电子设备。The embodiments of the present application relate to the field of communication technologies, and in particular, to a screenshot method, an apparatus, and an electronic device.

背景技术Background technique

在用户使用电子设备的过程中,可以通过截屏操作,截取当前屏幕显示的内容。例如,用户可以通过截屏操作,截取当前屏幕显示的用户的聊天记录等。During the process of using the electronic device, the user can capture the content displayed on the current screen by taking a screenshot operation. For example, the user can capture the chat record of the user currently displayed on the screen by taking a screenshot.

目前,聊天界面中的原始图片通常以缩略图的形式显示,用户可以点击该缩略图,触发电子设备加载该原始图片,以清晰、完整地显示该原始图片。假设在电子设备聊天界面中包括缩略图的情况下,如果用户想要获取包括这些缩略图对应的原始图片的截图图像,那么用户需要逐个点击这些缩略图,触发电子设备逐个加载这些缩略图对应的原始图片,然后用户再触发电子设备对这些原始图片依次进行截图操作,以获取这些原始图片的截图图像。如此,导致获取原始图片的截图图像的操作繁琐且耗时。At present, the original picture in the chat interface is usually displayed in the form of a thumbnail, and the user can click on the thumbnail to trigger the electronic device to load the original picture, so as to display the original picture clearly and completely. Assuming that the chat interface of the electronic device includes thumbnails, if the user wants to obtain screenshot images including the original images corresponding to these thumbnails, the user needs to click on these thumbnails one by one to trigger the electronic device to load the corresponding thumbnail images one by one. original pictures, and then the user triggers the electronic device to perform screenshot operations on these original pictures in turn, so as to obtain screenshot images of these original pictures. In this way, the operation of acquiring the screenshot image of the original picture is cumbersome and time-consuming.

发明内容SUMMARY OF THE INVENTION

本申请实施例的目的是提供一种截图方法、装置及电子设备,能够解决获取原始图片的截图图像的操作繁琐且耗时的问题。The purpose of the embodiments of the present application is to provide a screenshot method, an apparatus and an electronic device, which can solve the problem of complicated and time-consuming operations of acquiring a screenshot image of an original picture.

为了解决上述技术问题,本申请是这样实现的:In order to solve the above technical problems, this application is implemented as follows:

第一方面,本申请实施例提供了一种截图方法,该方法包括:在电子设备的屏幕显示第一缩略图的情况下,接收第一输入;响应于该第一输入,显示与该第一缩略图对应的第一原始图像,并对该第一原始图像进行截图,得到该第一原始图像的截屏图像。In a first aspect, an embodiment of the present application provides a method for taking screenshots. The method includes: receiving a first input when a screen of an electronic device displays a first thumbnail; The first original image corresponding to the thumbnail, and taking a screenshot of the first original image to obtain a screenshot image of the first original image.

第二方面,本申请实施例提供了一种截图装置,该装置包括:接收模块和处理模块。接收模块,用于在电子设备的屏幕显示第一缩略图的情况下,接收第一输入;处理模块,用于响应于接收模块接收的该第一输入,显示与该第一缩略图对应的第一原始图像,并对该第一原始图像进行截图,得到该第一原始图像的截屏图像。In a second aspect, an embodiment of the present application provides a screenshot device, which includes: a receiving module and a processing module. The receiving module is used for receiving the first input when the screen of the electronic device displays the first thumbnail; the processing module is used for displaying the first input corresponding to the first thumbnail in response to the first input received by the receiving module an original image, and taking a screenshot of the first original image to obtain a screenshot image of the first original image.

第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序或指令,程序或指令被处理器执行时实现如第一方面的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor. When the program or instruction is executed by the processor, the The steps of the method of the first aspect.

第四方面,本申请实施例提供了一种可读存储介质,该可读存储介质上存储程序或指令,程序或指令被处理器执行时实现如第一方面的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method of the first aspect are implemented.

第五方面,本申请实施例提供了一种芯片,该芯片包括处理器和通信接口,通信接口和处理器耦合,该处理器用于运行程序或指令,实现如第一方面的方法。In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the method of the first aspect.

在本申请实施例中,在电子设备的屏幕上显示有第一缩略图的情况下,接收第一输入,电子设备响应于该第一输入,在该屏幕上显示该第一缩略图对应的第一原始图像,并对该第一原始图像进行截图,得到该第一原始图像的截屏图像。通过该方法,用户可以通过一个输入,触发电子设备直接截取缩略图对应的原始图像的截屏图像,相较于相关技术,本方案避免了用户手动触发缩略图显示原始图像,再触发截屏操作等步骤,从而简化获取缩略图原始图像的截图操作,节约用户时间。In this embodiment of the present application, when a first thumbnail image is displayed on the screen of the electronic device, a first input is received, and the electronic device responds to the first input and displays the first thumbnail image corresponding to the first thumbnail on the screen. an original image, and taking a screenshot of the first original image to obtain a screenshot image of the first original image. Through this method, the user can trigger the electronic device to directly take a screenshot of the original image corresponding to the thumbnail through an input. Compared with the related art, this solution avoids the user manually triggering the thumbnail to display the original image, and then triggering the screenshot operation and other steps. , thereby simplifying the screenshot operation of obtaining the original image of the thumbnail and saving the user's time.

附图说明Description of drawings

图1为本申请实施例提供的一种截图方法的示意图之一;1 is one of the schematic diagrams of a screenshot method provided by an embodiment of the present application;

图2为本申请实施例提供的一种截图方法的示意图之二;2 is the second schematic diagram of a screenshot method provided by an embodiment of the present application;

图3为本申请实施例提供的一种电子设备截屏操作示意图之一;FIG. 3 is one of schematic diagrams of a screenshot operation of an electronic device provided by an embodiment of the present application;

图4为本申请实施例提供的一种截图方法的示意图之三;4 is the third schematic diagram of a screenshot method provided by an embodiment of the present application;

图5为本申请实施例提供的一种电子设备截屏操作示意图之二;FIG. 5 is the second schematic diagram of a screenshot operation of an electronic device provided by an embodiment of the present application;

图6为本申请实施例提供的一种截图方法的示意图之四;FIG. 6 is a fourth schematic diagram of a screenshot method provided by an embodiment of the present application;

图7为本申请实施例提供的一种电子设备截屏操作示意图之三;FIG. 7 is the third schematic diagram of a screenshot operation of an electronic device provided by an embodiment of the present application;

图8为本申请实施例提供的一种截图方法的示意图之五;FIG. 8 is a fifth schematic diagram of a screenshot method provided by an embodiment of the present application;

图9为本申请实施例提供的一种电子设备截屏操作示意图之四;FIG. 9 is a fourth schematic diagram of a screenshot operation of an electronic device provided by an embodiment of the present application;

图10为本申请实施例提供的一种截图装置的结构示意图之一;10 is one of the schematic structural diagrams of a screenshot device provided by an embodiment of the application;

图11为本申请实施例提供的一种截图装置的结构示意图之二;FIG. 11 is the second schematic structural diagram of a screenshot device provided by an embodiment of the application;

图12为本申请实施例提供的电子设备的硬件示意图之一;FIG. 12 is one of the schematic hardware diagrams of the electronic device provided by the embodiment of the application;

图13为本申请实施例提供的电子设备的硬件示意图之二。FIG. 13 is the second schematic diagram of the hardware of the electronic device provided by the embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.

本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that data so used may be interchanged under appropriate circumstances so that embodiments of the application can be practiced in sequences other than those illustrated or described herein. In addition, the objects distinguished by "first", "second", etc. are usually one type, and the number of objects is not limited. For example, the first object may be one or more than one. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.

下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的截图方法进行详细地说明。The screenshot method provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.

本申请实施例中,电子设备获取缩略图对应的原始图像的场景可以为以下任意一种:In the embodiment of the present application, the scene in which the electronic device obtains the original image corresponding to the thumbnail may be any of the following:

场景一、当用户与好友进行聊天时,好友发送给用户多张图片,电子设备的界面显示这些图片的缩略图,用户需要获取包括聊天内容和这些缩略图对应的原始图像的聊天截图图像的场景。例如,图3中(a)所示的场景。Scenario 1. When a user chats with a friend, the friend sends multiple pictures to the user, and the interface of the electronic device displays the thumbnails of these pictures. The user needs to obtain the chat screenshot image including the chat content and the original images corresponding to these thumbnails. . For example, the scene shown in Figure 3(a).

场景二、当用户查看微博、朋友圈、新闻时,在某一条微博或朋友圈的内容包括多张图片的缩略图的情况下,用户需要截取包括这些缩略图对应的原始图像和该文博或朋友圈文字信息的截图图像。例如,图9中(a)所示的场景。Scenario 2. When a user is viewing Weibo, Moments, or news, if the content of a Weibo or Moments includes thumbnails of multiple pictures, the user needs to intercept the original images including these thumbnails and the blog. Or screenshot images of text messages in Moments. For example, the scene shown in (a) of FIG. 9 .

在电子设备的屏幕上显示有第一缩略图的情况下,接收第一输入,电子设备响应于该第一输入,在该屏幕上显示该第一缩略图对应的第一原始图像,并对该第一原始图像进行截图,得到该第一原始图像的截屏图像。通过该方法,用户可以通过一个输入,触发电子设备直接截取缩略图对应的原始图像的截屏图像,并当屏幕显示多张缩略图时,用户也可以仅通过一个输入,触发电子设备直接截取包含多张缩略图对应的多张原始的截屏图像。如此,相较于相关技术,本方案避免了用户手动触发缩略图显示原始图像,再触发截屏操作等步骤,从而简化获取缩略图原始图像的截图操作,节约用户时间。In the case where a first thumbnail is displayed on the screen of the electronic device, a first input is received, and the electronic device responds to the first input, displays the first original image corresponding to the first thumbnail on the screen, and responds to the first input. A screenshot of the first original image is performed to obtain a screenshot of the first original image. With this method, the user can trigger the electronic device to directly capture a screenshot of the original image corresponding to the thumbnail through one input, and when multiple thumbnails are displayed on the screen, the user can also trigger the electronic device to directly capture multiple thumbnail images through only one input. Each thumbnail corresponds to multiple original screenshots. In this way, compared with the related art, this solution avoids the user manually triggering the thumbnail image to display the original image, and then triggering the screenshot operation and other steps, thereby simplifying the screenshot operation for obtaining the thumbnail image and saving the user's time.

如图1所示,本申请实施例提供一种截图方法,该方法可以包括下述的步骤101和步骤102。As shown in FIG. 1 , an embodiment of the present application provides a screenshot method, and the method may include the following steps 101 and 102 .

步骤101、在电子设备的屏幕显示第一缩略图的情况下,电子设备接收第一输入。Step 101: In the case that the screen of the electronic device displays the first thumbnail, the electronic device receives the first input.

其中,上述第一输入用于触发对电子设备的屏幕截图。Wherein, the above-mentioned first input is used to trigger a screenshot of the electronic device.

需要说明的是,本申请实施例中,缩略图是指图片的缩略图像,该缩略图为该图片的原始图像按照预设格式压缩,缩小后的图像。该缩略图包括原始图像的部分图像信息。缩略图可以方便用户快捷的查看图像,而不必查看每一张图像的原始图像,从而提高用户查看图像的速率,节约用户时间。It should be noted that, in this embodiment of the present application, a thumbnail refers to a thumbnail image of a picture, and the thumbnail is a reduced image of the original image of the picture compressed according to a preset format. The thumbnail includes partial image information of the original image. Thumbnails can facilitate users to quickly view images without having to view the original images of each image, thereby improving the speed at which users view images and saving users time.

可选的,本申请实施例中,在执行步骤101的同时,电子设备可以判断电子设备的屏幕中是否显示有缩略图,若显示有缩略图,则执行下述步骤102;若无缩略图,则直接截取当前电子设备的屏幕的图像。Optionally, in this embodiment of the present application, while performing step 101, the electronic device may determine whether a thumbnail image is displayed on the screen of the electronic device, and if a thumbnail image is displayed, perform the following step 102; Then, the image of the screen of the current electronic device is directly captured.

可选的,本申请实施例中,电子设备判断电子设备的当前屏幕是否显示有第一缩略图的方法,具体可以为:电子设备检测当前屏幕显示的内容中,除电子设备屏幕界面和应用程序界面中的预设图像外是否包含其他图片。若不包括其他图片,则当前屏幕未显示第一缩略图;若包括其他图片,则在所包括的图片的文件格式为预设格式,且所包括的图片的文件大小大于或等于目标阈值的情况下,确定当前屏幕显示有第一缩略图。其中,该预设格式为:JPEG格式(.jpg、.jpeg、.jpe),PSD格式、PDD格式、EPS格式、TIF格式、TIFF等格式。该目标阈值用于筛选掉文件大小较小的表情图像,具体的该目标阈值可以根据实际使用需求进行确定,本申请实施例不作具体限定。Optionally, in this embodiment of the present application, the method for the electronic device to determine whether the current screen of the electronic device displays the first thumbnail image may specifically be: the electronic device detects the content displayed on the current screen, in addition to the screen interface of the electronic device and the application program. Whether to include other images besides the preset images in the interface. If no other pictures are included, the current screen does not display the first thumbnail; if other pictures are included, the file format of the included pictures is the preset format, and the file size of the included pictures is greater than or equal to the target threshold Next, make sure that the first thumbnail is displayed on the current screen. The preset formats are: JPEG format (.jpg, .jpeg, .jpe), PSD format, PDD format, EPS format, TIF format, TIFF and other formats. The target threshold is used to filter out facial expression images with smaller file sizes, and the specific target threshold may be determined according to actual usage requirements, which is not specifically limited in this embodiment of the present application.

可选的,本申请实施例中,上述第一输入用于触发对电子设备的屏幕截图,具体的,该第一输入可以为对电子设备的单个物理按键或组合物理按键的按压输入;该第一输入也可以为对电子设备屏幕显示的截图控件的触控输入,该触控输入可以为以下任一项:单击,双击,长按,按预设轨迹拖动等;该第一输入还可以为对电子设备的摄像头做与预设手势相同的手势的输入,该预设手势用于触发电子设备对当前屏幕进行截屏操作。第一输入的具体形式可以根据实际使用需求进行确定,本申请实施例不作具体限定。Optionally, in this embodiment of the present application, the above-mentioned first input is used to trigger a screenshot of the electronic device. Specifically, the first input may be a pressing input on a single physical key or a combination of physical keys of the electronic device; An input can also be a touch input to the screenshot control displayed on the screen of the electronic device, and the touch input can be any of the following: single-click, double-click, long-press, dragging according to a preset track, etc.; the first input also The same gesture input as the preset gesture can be made to the camera of the electronic device, and the preset gesture is used to trigger the electronic device to perform a screenshot operation on the current screen. The specific form of the first input may be determined according to actual usage requirements, which is not specifically limited in this embodiment of the present application.

步骤102、电子设备响应于该第一输入,显示与第一缩略图对应的第一原始图像,并对第一原始图像进行截图,得到第一原始图像的截屏图像。Step 102: In response to the first input, the electronic device displays a first original image corresponding to the first thumbnail, and takes a screenshot of the first original image to obtain a screenshot of the first original image.

需要说明的是,本申请实施例中,上述第一原始图像为第一缩略图对应的原始图像,该原始图像包括压缩之前的所有图像信息。It should be noted that, in this embodiment of the present application, the above-mentioned first original image is an original image corresponding to the first thumbnail image, and the original image includes all image information before compression.

可选的,结合图1,如图2所示,上述步骤102,具体可以通过下述步骤102a和步骤102b实现。需要说明的是,本申请为了下述实施例描述方便,将步骤102划分为步骤102a和步骤102b实现,而在实际操作过程中可以通过一个步骤实现(即步骤102),也可以先执行步骤102a,再执行步骤102b。Optionally, with reference to FIG. 1 , as shown in FIG. 2 , the foregoing step 102 may be specifically implemented through the following steps 102 a and 102 b. It should be noted that this application divides step 102 into step 102a and step 102b for the convenience of description of the following embodiments, but in the actual operation process, it can be realized by one step (ie step 102), or step 102a can be executed first , and then perform step 102b.

步骤102a、电子设备响应于该第一输入,显示与第一缩略图对应的第一原始图像。Step 102a, the electronic device displays the first original image corresponding to the first thumbnail in response to the first input.

可选的,本申请实施例中,为了满足电子设备屏幕的显示需求,可以预设原始图像的显示尺寸,即在得到第一原始图像之后,电子设备可以以预设尺寸进行显示,进而电子设备可以得到预设尺寸显示的截屏图像。具体的,该预设尺寸可以为电子设备全屏显示的显示尺寸。Optionally, in this embodiment of the present application, in order to meet the display requirements of the screen of the electronic device, the display size of the original image may be preset, that is, after the first original image is obtained, the electronic device may display it at the preset size, and then the electronic device You can get a screen shot of a preset size display. Specifically, the preset size may be the display size of the full-screen display of the electronic device.

可选的,本申请实施例中,上述第一原始图像的显示位置为该电子设备的屏幕,即电子设备在电子设备的屏幕上显示与第一缩略图对应的第一原始图像。Optionally, in this embodiment of the present application, the display position of the first original image is the screen of the electronic device, that is, the electronic device displays the first original image corresponding to the first thumbnail on the screen of the electronic device.

可选的,本申请实施例中,在电子设备的屏幕上显示第一缩略图对应的第一原始图像的显示方式,可以为以下任一种方式:方式A,电子设备切换显示一个新的界面,该界面包括第一图像的原始图像。方式B,电子设备在原界面(例如,显示有第一缩略图的第一界面)中第一缩略图对应的位置显示第一原始图像,不显示第一缩略图。方式C,电子设备在原界面(例如,显示有第一缩略图的第一界面)上叠加显示第一图像的原始图像。具体可以根据实际使用需求进行确定,本申请实施例不作具体限定。Optionally, in this embodiment of the present application, the display mode for displaying the first original image corresponding to the first thumbnail on the screen of the electronic device may be any of the following modes: Mode A, the electronic device switches to display a new interface. , the interface includes the original image of the first image. Manner B, the electronic device displays the first original image at a position corresponding to the first thumbnail in the original interface (for example, the first interface displaying the first thumbnail), and does not display the first thumbnail. Mode C, the electronic device superimposes and displays the original image of the first image on the original interface (for example, the first interface on which the first thumbnail is displayed). Specifically, it can be determined according to actual usage requirements, which is not specifically limited in the embodiments of the present application.

需要说明的是,上述方式A可以参考相关技术中的描述和显示方式,此处不再赘述和举例。下述实施例分别以方式B、方式C为例进行示例性说明,其并不构成对本申请的限定。It should be noted that, for the foregoing manner A, reference may be made to the description and display manners in the related art, and details and examples are not repeated here. The following embodiments respectively take Mode B and Mode C as examples to illustrate, which does not constitute a limitation to the present application.

步骤102b、电子设备响应于该第一输入,对第一原始图像进行截图,得到第一原始图像的截屏图像。Step 102b, in response to the first input, the electronic device takes a screenshot of the first original image to obtain a screenshot of the first original image.

可选的,本申请实施例中,对电子设备的当前屏幕截图,得到第一原始图像的截屏图像,具体实现方式可以为以下任一种:方式1,电子设备对当前屏幕进行截屏,得到包含第一原始图像的截屏图像。该截屏图像中可以包含出第一原始图像之外的其他内容,例如,上述方式B和方式C中的原界面显示的内容,如:文字信息,标识信息等。方式2,电子设备识别当前屏幕显示的全部图像,从该全部图像中确定除第一原始图像,并对该第一原始图像所在的区域进行区域截屏,以获得第一原始图像的截屏图像。其中,上述方式A和方式C可以采用图层识别,将最上层(即,行的界面层或悬浮显示层)所包含的图像确定为第一原始图像;上述方式B中可以根据当前界面中图像的占用显示面积,将占用显示面积最大的图像,确定为第一原始图像。具体可以根据实际使用需求进行确定,本申请实施例不作具体限定。Optionally, in this embodiment of the present application, a screenshot of the current screen of the electronic device is obtained to obtain a screenshot of the first original image. Screenshot of the first original image. The screen shot image may contain other contents other than the first original image, for example, the contents displayed on the original interface in the foregoing manners B and C, such as text information, identification information, and the like. Mode 2: The electronic device identifies all the images currently displayed on the screen, determines the first original image from all the images, and takes a screenshot of the region where the first original image is located to obtain a screenshot of the first original image. Wherein, the above-mentioned methods A and C may adopt layer recognition to determine the image contained in the uppermost layer (that is, the interface layer of the row or the floating display layer) as the first original image; in the above-mentioned method B, the image in the current interface can be determined according to the image in the current interface. The occupied display area is determined as the first original image by the image that occupies the largest display area. Specifically, it can be determined according to actual usage requirements, which is not specifically limited in the embodiments of the present application.

示例性的,图3为截屏操作示意图之一。如图3中的(a)所示,电子设备00显示聊天界面001,该聊天界面001中包括缩略图002和多段文字信息。用户可以长按音量键触发截屏操作,电子设备00响应于该长按音量键的输入(即第一输入),如图3中的(b)所示,在界面001中悬浮显示缩略图002对应的原始图像003(即第一原始图像),并对显示原始图像003的整个界面001进行截屏,得到包括原始图像003的截屏图像。Exemplarily, FIG. 3 is one of the schematic diagrams of the screenshot operation. As shown in (a) of FIG. 3 , the electronic device 00 displays a chat interface 001, and the chat interface 001 includes thumbnail images 002 and multiple pieces of text information. The user can long press the volume key to trigger the screen capture operation, and the electronic device 00 responds to the input of the long press of the volume key (ie, the first input), as shown in (b) in FIG. the original image 003 (ie, the first original image), and take a screenshot of the entire interface 001 displaying the original image 003 to obtain a screenshot image including the original image 003 .

本申请实施例提供一种截图方法,在电子设备的屏幕上显示有第一缩略图的情况下,接收第一输入,电子设备响应于该第一输入,在该屏幕上显示该第一缩略图对应的第一原始图像,并对该第一原始图像进行截图,得到该第一原始图像的截屏图像。通过该方法,用户可以通过一个输入,触发电子设备直接截取缩略图对应的原始图像的截屏图像,相较于相关技术,本方案避免了用户手动触发缩略图显示原始图像,再触发截屏操作等步骤,从而简化获取缩略图原始图像的截图操作,节约用户时间。An embodiment of the present application provides a method for taking screenshots. When a first thumbnail image is displayed on the screen of an electronic device, a first input is received, and the electronic device displays the first thumbnail image on the screen in response to the first input. corresponding first original image, and taking a screenshot of the first original image to obtain a screenshot image of the first original image. Through this method, the user can trigger the electronic device to directly take a screenshot of the original image corresponding to the thumbnail through an input. Compared with the related art, this solution avoids the user manually triggering the thumbnail to display the original image, and then triggering the screenshot operation and other steps. , thereby simplifying the screenshot operation of obtaining the original image of the thumbnail and saving the user's time.

可选的,结合图2,如图4所示,在步骤102b之前,本申请实施例所提供的截图方法还包括下述步骤103,相应的上述步骤102b具体可以通过下述步骤102b1实现。Optionally, with reference to FIG. 2, as shown in FIG. 4, before step 102b, the screenshot method provided by this embodiment of the present application further includes the following step 103, and the corresponding step 102b may be specifically implemented by the following step 102b1.

步骤103、电子设备接收第二输入。Step 103, the electronic device receives the second input.

其中,上述第二输入用于触发确定对第一原始图像进行截图。Wherein, the above-mentioned second input is used to trigger the determination of taking a screenshot of the first original image.

需要说明的是,本申请实施例中,上述第二输入为在电子设备显示第一缩略图对应的原始图像,用户预览该第一原始图像之后,确定对第一原始图像进行截图的输入。It should be noted that, in the embodiment of the present application, the above-mentioned second input is the input of taking a screenshot of the first original image after the user previews the first original image when the electronic device displays the original image corresponding to the first thumbnail.

可选的,本申请实施例中,上述第二输入可以为对电子设备的物理按键的输入,例如,双击音量键。第二输入也可以为对电子设备的屏幕上显示的截图控件的触控输入,该触控输入可以为以下任一项:单击,双击,长按,沿预设方向或沿预设轨迹的滑动输入。第二输入还可以为在第一输入触发电子设备显示第一缩略图对应的第一原始图像之后,电子设备显示提示信息(该提示信息用于提示用户是否确定对电子设备的屏幕进行截屏操作),用户对该提示信息确定输入,该输入用于确定对电子设备的第一原始图像进行截图。第二输入的输入形式具体可以根据实际使用需求进行确定,本申请实施例不作具体限定。Optionally, in this embodiment of the present application, the above-mentioned second input may be an input to a physical key of the electronic device, for example, double-clicking the volume key. The second input can also be a touch input to the screenshot control displayed on the screen of the electronic device, and the touch input can be any one of the following: single-click, double-click, long-press, along a preset direction or along a preset track Swipe to enter. The second input may also be that after the first input triggers the electronic device to display the first original image corresponding to the first thumbnail, the electronic device displays prompt information (the prompt information is used to prompt the user whether to determine whether to take a screenshot of the screen of the electronic device) , the user determines an input for the prompt information, and the input is used to determine to take a screenshot of the first original image of the electronic device. The input form of the second input can be specifically determined according to actual usage requirements, which is not specifically limited in this embodiment of the present application.

步骤102b1、电子设备响应于第二输入,对电子设备的第一原始图像进行截图,得到第一原始图像的截屏图像。Step 102b1, in response to the second input, the electronic device takes a screenshot of the first original image of the electronic device to obtain a screenshot of the first original image.

示例性的,如图3中的(a)所示,电子设备00显示聊天界面001,该聊天界面001中包括缩略图002和多段文字信息。用户可以长按音量键触发截屏操作,电子设备00响应于该长按音量键的输入(即第一输入),如图3中的(b)所示,在界面001中悬浮显示缩略图002对应的原始图像003(即第一原始图像)和截图控件004。用户可以单击该控件004,电子设备00响应于该单击输入(即第二输入),对显示原始图像003的整个界面001进行截屏,得到包括原始图像003的截屏图像。Exemplarily, as shown in (a) of FIG. 3 , the electronic device 00 displays a chat interface 001, and the chat interface 001 includes a thumbnail image 002 and multiple pieces of text information. The user can long press the volume key to trigger the screen capture operation, and the electronic device 00 responds to the input of the long press of the volume key (ie, the first input), as shown in (b) in FIG. The original image 003 (ie the first original image) and the screenshot control 004. The user can click the control 004 , and the electronic device 00 takes a screenshot of the entire interface 001 displaying the original image 003 in response to the click input (ie, the second input) to obtain a screenshot image including the original image 003 .

可以理解的是,用户可以根据实际使用需求,通过第二输入控制电子设备截屏,得到第一原始图像的截屏图像。如此,用户可以在第一输入触发电子设备显示缩略图对应的原始图像之后,预览该原始图像,并在确定该于是图像为用户需要的原始图像之后,通过第二输入,触发电子设备截图以获取该原始图像的截屏图像。从而用户可以根据实际需求选择性截屏,并在触发确定截屏操作之前可以预览该原始图像,进而方便用户使用,提高用户的使用体验。It can be understood that the user can control the electronic device to take screenshots through the second input according to actual usage requirements, so as to obtain the screenshot image of the first original image. In this way, the user can preview the original image after the first input triggers the electronic device to display the original image corresponding to the thumbnail, and after determining that the current image is the original image that the user needs, through the second input, trigger the electronic device to take a screenshot to obtain Screenshot of this original image. Therefore, the user can selectively take screenshots according to actual needs, and can preview the original image before triggering the determination of the screenshot operation, thereby facilitating the user's use and improving the user's use experience.

可选的,本申请实施例中,在上述步骤102b或步骤102中“对电子设备的屏幕截图,得到第一原始图像的截屏图像”之前,本申请实施例还包括下述步骤104和步骤105。Optionally, in the embodiment of the present application, before the above step 102b or step 102 "take a screenshot of the electronic device to obtain a screenshot of the first original image", the embodiment of the present application further includes the following steps 104 and 105. .

步骤104、电子设备接收第三输入。Step 104, the electronic device receives a third input.

需要说明的是,步骤104和步骤105为对电子设备的屏幕执行截屏操作之前,对第一原始图像的编辑操作,以调整第一原始图像的显示尺寸,显示位置和取消显示等。It should be noted that steps 104 and 105 are editing operations on the first original image before performing a screenshot operation on the screen of the electronic device to adjust the display size, display position and cancel display of the first original image.

可选的,本申请实施例中,上述第三输入可以为对第一原始图像的输入,也可以为对编辑控件的输入。在第三输入为对第一原始图像的输入的情况下,具体的,第三输入可以为单指拖动该第一原始图像以改变第一原始图像的显示位置的输入;第三输入也可以为双指拖动该第一原始图像对角线以改变第一原始图像的显示尺寸的输入;第三输入还可以为沿预设方向拖动该第一原始图像,或拖动该第一原始图像至屏幕预设位置的输入,以触发电子设备取消显示该第一原始图像。在第三输入为对编辑控件的输入的情况下,第三输入可以为对编辑控件的第一子控件的输入,以调整第一原始图像的显示位置;第三输入也可以为对编辑控件的第二子控件的输入,以调整第一原始图像的显示尺寸;第三输入还可以为对编辑控件的第三子控件的输入,以取消显示第一原始图像。具体可以根据实际使用需求进行确定,本申请实施例不作具体限定。Optionally, in this embodiment of the present application, the above-mentioned third input may be an input to the first original image, or may be an input to an editing control. In the case where the third input is the input of the first original image, specifically, the third input may be the input of dragging the first original image with one finger to change the display position of the first original image; the third input may also The input of dragging the diagonal line of the first original image with two fingers to change the display size of the first original image; the third input can also be dragging the first original image along a preset direction, or dragging the first original image The input of the image to the preset position on the screen triggers the electronic device to cancel the display of the first original image. When the third input is an input to an edit control, the third input may be an input to a first sub-control of the edit control to adjust the display position of the first original image; the third input may also be an input to the edit control The input of the second sub-control is to adjust the display size of the first original image; the third input may also be an input to the third sub-control of the edit control to cancel the display of the first original image. Specifically, it can be determined according to actual usage requirements, which is not specifically limited in the embodiments of the present application.

步骤105、电子设备响应于该第三输入,对第一原始图像执行与该第三输入对应的编辑操作。Step 105: In response to the third input, the electronic device performs an editing operation corresponding to the third input on the first original image.

其中,上述编辑操作包括以下至少一项:调节显示尺寸,调节显示位置,取消显示。Wherein, the above editing operation includes at least one of the following: adjusting the display size, adjusting the display position, and canceling the display.

需要说明的是,上述编辑操作的具体描述可以参考相关技术中的描述,此处不再赘述。此外,对第一原始图像的编辑操作可以执行编辑操作中的至少一项编辑操作。It should be noted that, for the specific description of the above editing operation, reference may be made to the description in the related art, and details are not repeated here. In addition, the editing operation on the first original image may perform at least one editing operation among the editing operations.

可选的,本申请实施例中,用户可以手动设置第三输入和编辑操作的对应关系。具体的,在电子设备包括多个编辑操作的情况下,用户可以触发电子设备进入设置界面,手动设置第三输入与编辑操作的对应关系,使得不同的第三输入对应不同的编辑操作。在该设置界面,用户还可以手动添加编辑操作(如,添加调节显示透明度),并为新添加的编辑操作设置对应的第三操作。电子设备可以通过编辑操作和第三输入的对应列表,记录并保存编辑操作和第三输入的对应关系,在用户输入第三操作时,根据该对应列表对第一原始图像执行对应的编辑操作。Optionally, in this embodiment of the present application, the user may manually set the correspondence between the third input and the editing operation. Specifically, when the electronic device includes multiple editing operations, the user can trigger the electronic device to enter the setting interface, and manually set the correspondence between the third input and the editing operation, so that different third inputs correspond to different editing operations. In this setting interface, the user can also manually add an editing operation (eg, adding and adjusting display transparency), and set a corresponding third operation for the newly added editing operation. The electronic device can record and save the corresponding relationship between the editing operation and the third input through the corresponding list of the editing operation and the third input, and when the user inputs the third operation, perform the corresponding editing operation on the first original image according to the corresponding list.

示例性的,图5为截屏操作示意图之二。如图5中的(a)所示,电子设备00显示聊天界面001,该聊天界面001中包括缩略图002和多段文字信息。用户可以长按音量键触发截屏操作,电子设备00响应于该长按音量键的输入(即第一输入),如图5中的(b)所示,在界面001中缩略图002的位置处显示缩略图002对应的原始图像003(即第一原始图像),取消显示缩略图002,并在该界面001的右上角显示截图控件004。用户可以沿对角线拖动该原始图像003的一个底角,电子设备响应于该拖动输入(即第三输入),调整该原始图像003的显示尺寸,并相应调整原始图像003下方文字的显示位置,并显示更新后的界面001。然后,用户可以单击该控件004,电子设备00响应于该单击输入(即第二输入),对显示原始图像003的整个界面001进行截屏,得到包括原始图像003的截屏图像。Exemplarily, FIG. 5 is the second schematic diagram of the screenshot operation. As shown in (a) of FIG. 5 , the electronic device 00 displays a chat interface 001, and the chat interface 001 includes thumbnail images 002 and multiple pieces of text information. The user can long press the volume key to trigger the screen capture operation, and the electronic device 00 responds to the input of the long press of the volume key (ie, the first input), as shown in (b) in FIG. 5 , at the position of the thumbnail 002 in the interface 001 The original image 003 (ie, the first original image) corresponding to the thumbnail image 002 is displayed, the display of the thumbnail image 002 is cancelled, and a screenshot control 004 is displayed in the upper right corner of the interface 001 . The user can drag a bottom corner of the original image 003 diagonally, and the electronic device adjusts the display size of the original image 003 in response to the drag input (ie, the third input), and adjusts the text below the original image 003 accordingly. The location is displayed, and the updated interface 001 is displayed. Then, the user can click the control 004 , and the electronic device 00 takes a screenshot of the entire interface 001 displaying the original image 003 in response to the click input (ie, the second input) to obtain a screenshot image including the original image 003 .

可以理解的是,由于在对电子设备的屏幕执行截屏操作之前,用户可以通过第三输入对第一原始图像进行编辑,以调整该第一原始图像在当前屏幕中的显示位置,显示尺寸和取消显示。因此,用户可以根据实际使用需求在触发截屏之前,对第一原始图像进行编辑,从而电子设备可以截取更能满足用户需求的图像,进而提高用户的使用体验。It can be understood that, before performing the screenshot operation on the screen of the electronic device, the user can edit the first original image through the third input to adjust the display position, display size and cancel of the first original image in the current screen. show. Therefore, the user can edit the first original image before triggering the screenshot according to the actual usage requirement, so that the electronic device can capture an image that better meets the user's requirement, thereby improving the user's usage experience.

可选的,本申请实施例中,上述步骤102a具体可以通过下述步骤102a1实现。Optionally, in this embodiment of the present application, the foregoing step 102a may be specifically implemented by the following step 102a1.

步骤102a1、电子设备将屏幕上显示的第一界面更新为第二界面。Step 102a1, the electronic device updates the first interface displayed on the screen to the second interface.

其中,上述第一界面包括第一缩略图,该第二界面包括第一原始图像,该第一原始图像在第二界面中的显示位置与该第一缩略图在第一界面中的显示位置相对应。The above-mentioned first interface includes a first thumbnail image, the second interface includes a first original image, and the display position of the first original image in the second interface is the same as the display position of the first thumbnail image in the first interface. correspond.

需要说明的是,本申请实施例中,第一原始图像的显示位置和第一缩略图的显示位置相对应,是指第一原始图像在当第二界面中的相对位置,与第一缩略图在第一界面中的相对位置一致,其绝对位置可以发生变化。例如,图5中的(a)所示缩略图002在聊天界面的显示顺序为:文字,文字,图片(即缩略图002),文字的显示顺序。而在图5中的(b)所示,原始图像003在聊天界面的显示顺序也是:文字,文字,图片(即原始图像003),文字的显示顺序,其相对位置一致,绝对位置由于原始图像003的尺寸较大,在显示原始图像003的界面上,对该原始图片之后出现的文字,调整显示位置,使其继续位于调整后的原始图像003的显示位置之后。例如,图5中的(b)中的文字“可以不,还要吗?”。It should be noted that, in this embodiment of the present application, the display position of the first original image corresponds to the display position of the first thumbnail, which refers to the relative position of the first original image in the current second interface, which corresponds to the first thumbnail image. The relative positions in the first interface are consistent, and the absolute positions thereof can be changed. For example, the display order of the thumbnails 002 shown in (a) of FIG. 5 on the chat interface is: text, text, pictures (ie, thumbnails 002 ), and the display order of the text. As shown in (b) of FIG. 5, the display order of the original image 003 in the chat interface is also: text, text, picture (that is, the original image 003), the display order of the text, the relative positions are the same, the absolute position is due to the original image The size of 003 is relatively large. On the interface for displaying the original image 003, adjust the display position of the text that appears after the original image so that it continues to be behind the display position of the adjusted original image 003. For example, the text in (b) of FIG. 5 is "Is it possible, do I still need it?".

可选的,本申请实施例中,电子设备将第一界面更新为第二界面,具体可以为:电子设备复制包括第一缩略图的第一界面,得到第一复制界面;然后将该第一复制界面中的第一缩略图替换为第一原始图像,得到包括第一原始图像的第二界面。其中,在将第一缩略图替换为第一原始图像的过程中,由于第一原始图像的图像尺寸可能较大,电子设备可以根据第一缩略图的周边内容自动填充第一原始图像的背景,并将第一缩略图之后显示的内容,依次显示在第一原始图像之后。Optionally, in this embodiment of the present application, the electronic device updates the first interface to the second interface, which may specifically be: the electronic device duplicates the first interface including the first thumbnail to obtain the first duplicate interface; The first thumbnail in the copy interface is replaced with the first original image, and a second interface including the first original image is obtained. Wherein, in the process of replacing the first thumbnail with the first original image, since the image size of the first original image may be large, the electronic device can automatically fill the background of the first original image according to the surrounding content of the first thumbnail, The content displayed after the first thumbnail is sequentially displayed after the first original image.

可选的,本申请实施例中,上述第一复制界面为可以进行编辑操作的界面。用户可以在该界面手动编辑第一原始图像显示尺寸,并可以调整第一原始图像之后的内容的显示位置。具体可以根据实际使用需求进行确定,本申请实施例不作具体限定。Optionally, in this embodiment of the present application, the above-mentioned first copy interface is an interface that can perform editing operations. The user can manually edit the display size of the first original image on this interface, and can adjust the display position of the content after the first original image. Specifically, it can be determined according to actual usage requirements, which is not specifically limited in the embodiments of the present application.

可以理解的是,电子设备可以将包括第一缩略图的第一界面,更新为包括第一原始图像的第二界面,并使该第一原始图像在第二界面中的显示位置与该第一缩略图在第一界面中的显示位置相对应。如此,电子设备可以显示包括第一原始图像的第二界面,在用户确定执行截屏操作后,对该第二界面的显示内容进行截屏,得到第一原始图像的截屏图像。从而减少用户截取原始图像的繁琐操作,节约用户时间。It can be understood that the electronic device can update the first interface including the first thumbnail to the second interface including the first original image, and make the display position of the first original image in the second interface match the first interface. The display positions of the thumbnails in the first interface correspond to each other. In this way, the electronic device can display the second interface including the first original image, and after the user determines to perform the screenshot operation, screenshot the displayed content of the second interface to obtain the screenshot image of the first original image. Thus, the cumbersome operation of the user for capturing the original image is reduced, and the user's time is saved.

可选的,结合图2,如图6所示,上述步骤102a之前,本申请实施例所提供的截图方法还包括下述步骤106和步骤107,相应的,步骤102a具体可以通过下述步骤102a2实现。Optionally, with reference to FIG. 2 , as shown in FIG. 6 , before the above step 102a, the screenshot method provided by this embodiment of the present application further includes the following steps 106 and 107. Correspondingly, the step 102a can be specifically performed by the following step 102a2 accomplish.

步骤106、电子设备在至少一个视图控件中的每个视图控件上显示选中标识。Step 106: The electronic device displays a check mark on each view control in the at least one view control.

其中,上述至少一个视图控件为接收第一输入时电子设备的屏幕上显示的视图控件。The at least one view control above is a view control displayed on the screen of the electronic device when the first input is received.

需要说明的是,本申请实施例中,电子设备可以检测第一界面中显示的视图控件,该视图控件用于表示该第一界面(即接收第一输入时电子设备的屏幕显示的界面)中的显示内容按照列表布局显示。例如,图7中的(a)所示的006为视图控件的分割线,每两个视图控件的分割线之间的内容为视图控件,即7中的(a)所示的“王明”、“用户A”和“盈盈”所发表的内容各自为一个视图控件进行显示。It should be noted that, in this embodiment of the present application, the electronic device can detect a view control displayed in the first interface, and the view control is used to represent the first interface (that is, the interface displayed on the screen of the electronic device when the first input is received) The displayed contents are displayed in a list layout. For example, 006 shown in (a) in FIG. 7 is the dividing line of the view control, and the content between the dividing lines of every two view controls is the view control, that is, "Wang Ming" shown in (a) in 7 , "User A" and "Yingying" published content are each displayed as a view control.

可选的,本申请实施例中,上述选中标识可用于接收用户的输入(如,第四输入),以选中该选中标识所指示的视图控件。具体的本申请实施例对该选中标识的形状和大小不作具体限定,可以根据实际使用需求进行确定。示例性的,该选中标识可以为以下任一项:虚线标识、圆圈标识,对勾标识,颜色标识等。Optionally, in this embodiment of the present application, the above-mentioned selection mark may be used to receive an input (eg, fourth input) from the user, so as to select the view control indicated by the selection mark. The specific embodiments of the present application do not specifically limit the shape and size of the selected mark, which may be determined according to actual usage requirements. Exemplarily, the check mark may be any of the following: a dotted line mark, a circle mark, a check mark, a color mark, and the like.

需要说明的是,本申请以该选中标识为包络视图控件的虚线框为例进行示例性说明,其并不构成对本申请的限定。It should be noted that, the present application uses the dotted box marked as the envelope view control as an example for illustrative description, which does not constitute a limitation of the present application.

步骤107、电子设备接收对目标选中标识的第四输入。Step 107: The electronic device receives a fourth input of the target selection identifier.

其中,上述目标选中标识为该至少一个视图控件中目标视图控件上显示的选中标识。Wherein, the above-mentioned target selection mark is the selection mark displayed on the target view control in the at least one view control.

可选的,本申请实施例中,上述第四输入用于从至少一个选中标识中确定出目标选中标识。具体的,该第四输入可以为对目标视图控件上显示的选中标识的触控输入,该触控输入可以为以下任一项:单击,双击,长按,按预设轨迹移动等。该第四输入也可以为语音输入,该语音输入的音频内容用于指示电子设备从至少一个选中标识中确定出目标选中标识。具体可以根据实际使用需求进行确定,本申请实施例不作具体限定。Optionally, in this embodiment of the present application, the above-mentioned fourth input is used to determine the target selection identifier from at least one selection identifier. Specifically, the fourth input may be a touch input to the selection mark displayed on the target view control, and the touch input may be any one of the following: single-click, double-click, long-press, movement according to a preset trajectory, and the like. The fourth input may also be a voice input, and the audio content of the voice input is used to instruct the electronic device to determine the target selection mark from the at least one selection mark. Specifically, it can be determined according to actual usage requirements, which is not specifically limited in the embodiments of the present application.

需要说明的是,本申请实施例中,上述目标视图控件包括第一缩略图,此外该目标视图控件还可以包括其他缩略图和字符内容等。It should be noted that, in this embodiment of the present application, the above-mentioned target view control includes a first thumbnail, and in addition, the target view control may also include other thumbnails, character content, and the like.

步骤102a2、电子设备响应于该第四输入,在电子设备的屏幕上显示与第一缩略图对应的第一原始图像。Step 102a2: In response to the fourth input, the electronic device displays the first original image corresponding to the first thumbnail on the screen of the electronic device.

其中,上述第一缩略图为该目标视图控件中显示的缩略图。Wherein, the above-mentioned first thumbnail is the thumbnail displayed in the target view control.

需要说明的是,本申请实施例中,电子设备显示目标视图控件中的第一缩略图对应的与那时图像的显示方式可以参考上述步骤102a中的相关描述此处不再赘述,即该显示方式可以为方式A、方式B或方式C中的任一种。It should be noted that, in this embodiment of the present application, the display mode corresponding to the first thumbnail image in the electronic device display target view control and the image at that time may refer to the relevant description in the above step 102a, which will not be repeated here, that is, the display The mode can be any one of mode A, mode B or mode C.

可选的,在执行步骤102a2之后,在步骤102b之前,本申请实施例所提供的截图方法还可以执行上述步骤104和步骤105,对第一原始图像进行编辑。具体描述可以参考上述步骤中的相关描述,此处不再赘述。Optionally, after step 102a2 is performed, and before step 102b, the screenshot method provided by this embodiment of the present application may further perform steps 104 and 105 to edit the first original image. For a specific description, reference may be made to the relevant descriptions in the above steps, which will not be repeated here.

示例性的,图7截屏操作示意图之三。如图7中的(a)所示,电子设备00显示界面005,该界面001中包括三个视图控件,相邻视图控件通过视图控件的分割线006进行分割。当用户长按音量键触发截屏操作后,如图7中的(b)所示,在界面005中显示选中标识008、009和010,每个选中标识分别指示一个视图控件,其中该标识009所标识的视图控件包括缩略图007。用户可以单击选中标识009标识的视图控件(该标识009为目标选中标识),如图7中的(c)所示,电子设备00响应于该单击输入(即第四输入),显示页面011,该页面011包括标识009所标识的视图控件中的文字内容和缩略图007对应的原始图像012,以及位于该界面011右上角的截图控件004。用户可以点击该控件004,触发电子设备00对显示原始图像012的整个界面011进行截屏,得到包括原始图像012的截屏图像。Exemplarily, FIG. 7 is the third schematic diagram of the screenshot operation. As shown in (a) of FIG. 7 , the electronic device 00 displays an interface 005, and the interface 001 includes three view controls, and adjacent view controls are divided by a dividing line 006 of the view controls. When the user presses the volume key for a long time to trigger the screen capture operation, as shown in (b) in FIG. 7 , selection marks 008, 009 and 010 are displayed in the interface 005, and each selection mark indicates a view control, wherein the mark 009 The identified view controls include thumbnails 007 . The user can click the view control identified by the selection mark 009 (the mark 009 is the target selection mark), as shown in (c) of FIG. 7 , the electronic device 00 displays the page in response to the click input (ie, the fourth input). 011, the page 011 includes the text content in the view control identified by the logo 009, the original image 012 corresponding to the thumbnail 007, and the screenshot control 004 located in the upper right corner of the interface 011. The user can click the control 004 to trigger the electronic device 00 to take a screenshot of the entire interface 011 displaying the original image 012 to obtain a screenshot image including the original image 012 .

可以理解的是,电子设备在至少一个视图控件中的每个视图控件上显示选中标识,用户可以对这些选中标识中的目标选中标识进行输入,触发电子设备显示该目标选中标识所指示的视图控件中的缩略图对应的原始图像。如此,电子设备可以直接显示该视图控件中缩略图对应的原始图像,从而方便电子设备直接截取该原始图像的截图图像,简化操作过程,节约用户时间。It can be understood that the electronic device displays a check mark on each view control in the at least one view control, and the user can input a target check mark in these check marks to trigger the electronic device to display the view control indicated by the target check mark. The thumbnails in the corresponding original images. In this way, the electronic device can directly display the original image corresponding to the thumbnail in the view control, thereby facilitating the electronic device to directly capture the screenshot image of the original image, simplifying the operation process and saving the user's time.

可选的,结合图6,如图8所示,目标视图控件中包括多个缩略图,上述步骤102b具体可以通过下述步骤102b2实现。Optionally, with reference to FIG. 6 , as shown in FIG. 8 , the target view control includes a plurality of thumbnails, and the above step 102b can be specifically implemented by the following step 102b2.

步骤102b2、电子设备对电子设备的屏幕长截屏,得到多个缩略图对应的原始图像的截屏图像。Step 102b2, the electronic device takes a long screenshot of the screen of the electronic device, and obtains a screenshot image of the original image corresponding to the multiple thumbnails.

可选的,在执行步骤102a2之后,在步骤102b2之前,本申请实施例所提供的截图方法还可以执行上述步骤104和步骤105,对多个缩略图对应的多个原始图像进行编辑,例如,调整多个原始图像的显示顺序,调整每个原始图像的显示尺寸和显示位置,取消显示哪些原始图像等。具体描述可以参考上述步骤中的相关描述,此处不再赘述。Optionally, after step 102a2 is performed, and before step 102b2, the screenshot method provided by this embodiment of the present application may further perform the above steps 104 and 105 to edit multiple original images corresponding to multiple thumbnails, for example, Adjust the display order of multiple original images, adjust the display size and display position of each original image, which original images to undisplay, etc. For a specific description, reference may be made to the relevant descriptions in the above steps, which will not be repeated here.

需要说明的是,本申请实施例中,上述长截屏是指电子设备截取一个较长的屏幕内容,而不仅仅是当前界面中显示的内容。例如,电子设备当前聊天界面显示的是聊天结束位置,那么可以触发电子设备对当前聊天位置至向前50条聊天记录的聊天内容进行长截屏,并将截屏内容以长图进行显示。It should be noted that, in the embodiments of the present application, the above-mentioned long screen capture refers to the electronic device capturing a long screen content, not just the content displayed in the current interface. For example, if the current chat interface of the electronic device displays the end position of the chat, the electronic device can be triggered to take a long screenshot of the chat content from the current chat position to the previous 50 chat records, and display the screenshot content as a long image.

示例性的,图9截屏操作示意图之四。如图9中的(a)所示,电子设备00显示界面005,该界面001中包括三个视图控件,相邻视图控件通过视图控件的分割线006进行分割。当用户长按音量键触发截屏操作后,如图9中的(b)所示,在界面005中显示选中标识008、009和010,每个选中标识分别指示一个视图控件,其中,该标识009所标识的视图控件包括缩略图013、007和002,以及文字“2020-XBA夏季联赛,兄弟们,走起!”。用户可以单击选中标识009标识的视图控件(该标识009为目标选中标识),如图9中的(c)所示,电子设备00响应于该单击输入(即第四输入),显示包括缩略图013、007和002对应的原始图像的页面,用户可以取消显示缩略图007对应的原始图像,并调整缩略图013对应的原始图像015和缩略图002对应的原始图像003的显示尺寸和显示位置,得到页面014。用户可以点击该控件004,触发电子设备00对显示调整后的原始图像003和原始图像015的整个界面014进行截屏,得到包括原始图像003和原始图像015的截屏图像。Exemplarily, FIG. 9 is the fourth schematic diagram of the screenshot operation. As shown in (a) of FIG. 9 , the electronic device 00 displays an interface 005, the interface 001 includes three view controls, and adjacent view controls are divided by a dividing line 006 of the view controls. When the user long presses the volume key to trigger the screen capture operation, as shown in (b) in FIG. 9 , selection marks 008, 009 and 010 are displayed in the interface 005, and each selection mark indicates a view control, wherein the mark 009 The identified view controls include thumbnails 013, 007, and 002, and the text "2020-XBA Summer League, bros, go!". The user can click the view control identified by the selection mark 009 (the mark 009 is the target selection mark), as shown in (c) of FIG. On the pages of the original images corresponding to thumbnails 013, 007 and 002, the user can cancel the display of the original image corresponding to the thumbnail 007, and adjust the display size and display of the original image 015 corresponding to the thumbnail 013 and the original image 003 corresponding to the thumbnail 002 location, get page 014. The user can click on the control 004 to trigger the electronic device 00 to take a screenshot of the entire interface 014 displaying the adjusted original image 003 and the original image 015 to obtain a screenshot image including the original image 003 and the original image 015 .

可以理解的是,电子设备的目标视图控件中包括多个缩略图的情况下,电子设备可以对电子设备的屏幕长截屏,得到多个缩略图对应的原始图像的截屏图像。如此电子设备可以通过一次截图操作获取多个缩略图对应的原始图像的截屏图像,从而简化操作过程,节约用户时间。It can be understood that, when the target view control of the electronic device includes multiple thumbnails, the electronic device can take a long screenshot of the screen of the electronic device to obtain a screenshot of the original image corresponding to the multiple thumbnails. In this way, the electronic device can obtain the screenshot images of the original images corresponding to the multiple thumbnail images through one screenshot operation, thereby simplifying the operation process and saving the user's time.

需要说明的是,本申请实施例提供的截图方法,执行主体可以为截图装置,或者该截图装置中的用于执行截图方法的控制模块。本申请实施例中以截图装置执行截图方法为例,说明本申请实施例提供的装置。It should be noted that, in the screenshot method provided by the embodiment of the present application, the execution body may be a screenshot device, or a control module in the screenshot device for executing the screenshot method. In the embodiment of the present application, the device provided by the embodiment of the present application is described by taking the screenshot device executing the screenshot method as an example.

如图10所示,本申请实施例提供一种截图装置1000。该截图装置1000可以包括接收模块1001和处理模块1002。接收模块1001,可以用于在电子设备的屏幕显示第一缩略图的情况下,接收第一输入。处理模块1002,可以用于响应于接收模块1001接收的该第一输入,显示与该第一缩略图对应的第一原始图像,并对该第一原始图像进行截图,得到该第一原始图像的截屏图像。As shown in FIG. 10 , an embodiment of the present application provides a screenshot device 1000 . The screenshot device 1000 may include a receiving module 1001 and a processing module 1002 . The receiving module 1001 may be configured to receive the first input when the screen of the electronic device displays the first thumbnail. The processing module 1002 can be configured to display the first original image corresponding to the first thumbnail in response to the first input received by the receiving module 1001, and take a screenshot of the first original image to obtain the first original image. Screenshot image.

可选的,本申请实施例中,接收模块1001,还可以用于在对第一原始图像进行截图,得到该第一原始图像的截屏图像之前,接收第二输入,该第二输入用于触发确定对该第一原始图像进行截图。处理模块1002,具体可以用于响应于接收模块1001接收的该第二输入,对该第一原始图像进行截图,得到该第一原始图像的截屏图像。Optionally, in this embodiment of the present application, the receiving module 1001 may also be configured to receive a second input before taking a screenshot of the first original image to obtain a screenshot of the first original image, where the second input is used to trigger It is determined to take a screenshot of the first original image. The processing module 1002 may be specifically configured to take a screenshot of the first original image in response to the second input received by the receiving module 1001 to obtain a screenshot of the first original image.

可选的,本申请实施例中,接收模块1001,还可以用于在对第一原始图像进行截图,得到该第一原始图像的截屏图像之前,接收第三输入。处理模块1002,可以用于响应于接收模块1001接收的该第三输入,对该第一原始图像执行与该第三输入对应的编辑操作。其中,该编辑操作包括以下至少一项:调节显示尺寸,调节显示位置,取消显示。Optionally, in this embodiment of the present application, the receiving module 1001 may be further configured to receive a third input before taking a screenshot of the first original image to obtain a screenshot of the first original image. The processing module 1002 may be configured to, in response to the third input received by the receiving module 1001, perform an editing operation corresponding to the third input on the first original image. The editing operation includes at least one of the following: adjusting the display size, adjusting the display position, and canceling the display.

可选的,本申请实施例中,处理模块1002,具体包括将屏幕上显示的第一界面更新为第二界面,该第一界面包括第一缩略图,该第二界面包括第一原始图像。其中,该第一原始图像在该第二界面中的显示位置与该第一缩略图在该第一界面中的显示位置相对应。Optionally, in this embodiment of the present application, the processing module 1002 specifically includes updating the first interface displayed on the screen to a second interface, where the first interface includes a first thumbnail image, and the second interface includes a first original image. Wherein, the display position of the first original image in the second interface corresponds to the display position of the first thumbnail in the first interface.

可选的,结合图10,如图11所示,本申请实施例提供的截图装置1000还包括显示模块1003。显示模块1003,可以用于在至少一个视图控件中的每个视图控件上显示选中标识,该至少一个视图控件为接收第一输入时该屏幕上显示的视图控件。接收模块1001,还可以用于接收对目标选中标识的第四输入,该目标选中标识为该至少一个视图控件中目标视图控件上显示的选中标识。处理模块1002,具体可以用于响应于接收模块1001接收的该第四输入,在电子设备的屏幕上显示与该第一缩略图对应的第一原始图像,该第一缩略图为该目标视图控件中显示的缩略图。Optionally, with reference to FIG. 10 , as shown in FIG. 11 , the screenshot device 1000 provided in this embodiment of the present application further includes a display module 1003 . The display module 1003 may be configured to display a check mark on each of the at least one view control, where the at least one view control is the view control displayed on the screen when the first input is received. The receiving module 1001 may also be configured to receive a fourth input of a target selection indicator, where the target selection indicator is a selection indicator displayed on the target view control in the at least one view control. The processing module 1002 can be specifically configured to display the first original image corresponding to the first thumbnail image on the screen of the electronic device in response to the fourth input received by the receiving module 1001, where the first thumbnail image is the target view control Thumbnail displayed in .

可选的,本申请实施例中,目标视图控件中包括多个缩略图。处理模块1002,具体可以用于对屏幕长截屏,得到多个缩略图对应的原始图像的截屏图像。Optionally, in this embodiment of the present application, the target view control includes multiple thumbnails. The processing module 1002 can be specifically configured to take a long screenshot of the screen to obtain a screenshot of the original image corresponding to the multiple thumbnails.

本申请实施例中的截图装置可以是电子设备中执行截图方法的功能实体和/或功能模块,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(network attached storage,NAS)、个人计算机(personalcomputer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The screenshot device in this embodiment of the present application may be a functional entity and/or functional module in an electronic device that executes the screenshot method, and may also be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc., the non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (television, TV), a teller machine or a self-service machine, etc. This application implements Examples are not specifically limited.

本申请实施例中的截图装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The screenshot device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.

本申请实施例提供的截图装置能够实现图1至图9的方法实施例中截图装置实现的各个过程,为避免重复,这里不再赘述。The screenshot device provided in the embodiment of the present application can implement each process implemented by the screenshot device in the method embodiments of FIG. 1 to FIG. 9 . To avoid repetition, details are not repeated here.

本申请实施例提供一种截图装置,在屏幕上显示有第一缩略图的情况下,接收第一输入,响应于该第一输入,在该屏幕上显示该第一缩略图对应的第一原始图像,并对该第一原始图像进行截图,得到该第一原始图像的截屏图像。通过该方法,用户可以通过一个输入,触发截图装置直接截取缩略图对应的原始图像的截屏图像,并当屏幕显示多张缩略图时,用户也可以仅通过一个输入,触发截图装置直接截取包含多张缩略图对应的多张原始的截屏图像。如此,相较于相关技术,本方案避免了用户手动触发缩略图显示原始图像,再触发截屏操作等步骤,从而简化获取缩略图原始图像的截图操作,节约用户时间。An embodiment of the present application provides a screenshot device, which receives a first input when a first thumbnail image is displayed on the screen, and displays a first original image corresponding to the first thumbnail image on the screen in response to the first input. image, and take a screenshot of the first original image to obtain a screenshot image of the first original image. With this method, the user can trigger the screenshot device to directly capture a screenshot of the original image corresponding to the thumbnail through one input, and when multiple thumbnails are displayed on the screen, the user can also trigger the screenshot device to directly capture multiple thumbnail images through only one input. Each thumbnail corresponds to multiple original screenshots. In this way, compared with the related art, this solution avoids the user manually triggering the thumbnail image to display the original image, and then triggering the screenshot operation and other steps, thereby simplifying the screenshot operation for obtaining the thumbnail image and saving the user's time.

可选的,如图12所示,本申请实施例还提供一种电子设备1200,包括处理器1201,存储器1202,存储在存储器1202上并可在所述处理器1201上运行的程序或指令,该程序或指令被处理器1201执行时实现上述截图方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 12, an embodiment of the present application further provides an electronic device 1200, including a processor 1201, a memory 1202, a program or instruction stored in the memory 1202 and executable on the processor 1201, When the program or instruction is executed by the processor 1201, each process of the above screenshot method embodiment can be implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.

需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.

图13为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 13 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.

该电子设备2000包括但不限于:射频单元2001、网络模块2002、音频输出单元2003、输入单元2004、传感器2005、显示单元2006、用户输入单元2007、接口单元2008、存储器2009、以及处理器2010等部件。The electronic device 2000 includes but is not limited to: a radio frequency unit 2001, a network module 2002, an audio output unit 2003, an input unit 2004, a sensor 2005, a display unit 2006, a user input unit 2007, an interface unit 2008, a memory 2009, and a processor 2010, etc. part.

其中,输入单元2004可以包括图形处理器20041和麦克风20042,显示单元2006可以包括显示面板20061,用户输入单元2007可以包括触控面板20071以及其他输入设备20072,存储器2009可用于存储软件程序(如,操作系统、至少一个功能所需的应用程序)以及各种数据。The input unit 2004 may include a graphics processor 20041 and a microphone 20042, the display unit 2006 may include a display panel 20061, the user input unit 2007 may include a touch panel 20071 and other input devices 20072, and the memory 2009 may be used to store software programs (eg, operating system, applications required for at least one function) and various data.

本领域技术人员可以理解,电子设备2000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器2010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图13中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 2000 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 2010 through a power management system, so that the power management system can manage charging, discharging, and power functions. consumption management and other functions. The structure of the electronic device shown in FIG. 13 does not constitute a limitation on the electronic device. The electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .

其中,用户输入单元2007,可以用于在电子设备的屏幕显示第一缩略图的情况下,接收第一输入。处理器2010,可以用于响应于用户输入单元2007接收的该第一输入,显示与该第一缩略图对应的第一原始图像,并对该第一原始图像进行截图,得到该第一原始图像的截屏图像。The user input unit 2007 may be configured to receive the first input when the screen of the electronic device displays the first thumbnail. The processor 2010 may be configured to display a first original image corresponding to the first thumbnail in response to the first input received by the user input unit 2007, and take a screenshot of the first original image to obtain the first original image screenshot of .

本申请实施例提供一种电子设备,在电子设备的屏幕上显示有第一缩略图的情况下,接收第一输入,电子设备响应于该第一输入,在该屏幕上显示该第一缩略图对应的第一原始图像,并对该第一原始图像进行截图,得到该第一原始图像的截屏图像。通过该方法,用户可以通过一个输入,触发电子设备直接截取缩略图对应的原始图像的截屏图像,并当屏幕显示多张缩略图时,用户也可以仅通过一个输入,触发电子设备直接截取包含多张缩略图对应的多张原始的截屏图像。如此,相较于相关技术,本方案避免了用户手动触发缩略图显示原始图像,再触发截屏操作等步骤,从而简化获取缩略图原始图像的截图操作,节约用户时间。An embodiment of the present application provides an electronic device that receives a first input when a first thumbnail is displayed on a screen of the electronic device, and the electronic device displays the first thumbnail on the screen in response to the first input corresponding first original image, and taking a screenshot of the first original image to obtain a screenshot image of the first original image. With this method, the user can trigger the electronic device to directly capture a screenshot of the original image corresponding to the thumbnail through one input, and when multiple thumbnails are displayed on the screen, the user can also trigger the electronic device to directly capture multiple thumbnail images through only one input. Each thumbnail corresponds to multiple original screenshots. In this way, compared with the related art, this solution avoids the user manually triggering the thumbnail image to display the original image, and then triggering the screenshot operation and other steps, thereby simplifying the screenshot operation for obtaining the thumbnail image and saving the user's time.

可选的,本申请实施例中,用户输入单元2007,还可以用于在对第一原始图像进行截图,得到该第一原始图像的截屏图像之前,接收第二输入,该第二输入用于触发确定对该第一原始图像进行截图。处理器2010,具体可以用于响应于用户输入单元2007接收的该第二输入,对该第一原始图像进行截图,得到该第一原始图像的截屏图像。Optionally, in this embodiment of the present application, the user input unit 2007 may also be configured to receive a second input before taking a screenshot of the first original image to obtain a screenshot of the first original image, where the second input is used for Trigger to determine to take a screenshot of the first original image. The processor 2010 may be specifically configured to take a screenshot of the first original image in response to the second input received by the user input unit 2007 to obtain a screenshot of the first original image.

可以理解的是,用户可以根据实际使用需求,通过第二输入控制电子设备截屏,得到第一原始图像的截屏图像。如此,用户可以在第一输入触发电子设备显示缩略图对应的原始图像之后,预览该原始图像,并在确定该于是图像为用户需要的原始图像之后,通过第二输入,触发电子设备截屏以获取该原始图像的截屏图像。从而用户可以根据实际需求选择性截屏,并在触发确定截屏操作之前可以预览该原始图像,进而方便用户使用,提高用户的使用体验。It can be understood that the user can control the electronic device to take screenshots through the second input according to actual usage requirements, so as to obtain the screenshot image of the first original image. In this way, the user can preview the original image after the first input triggers the electronic device to display the original image corresponding to the thumbnail, and after determining that the current image is the original image the user needs, trigger the electronic device to take a screenshot to obtain the image through the second input Screenshot of this original image. Therefore, the user can selectively take screenshots according to actual needs, and can preview the original image before triggering the determination of the screenshot operation, thereby facilitating the user's use and improving the user's use experience.

可选的,本申请实施例中,用户输入单元2007,还可以用于在对第一原始图像进行截图,得到该第一原始图像的截屏图像之前,接收第三输入。处理器2010,可以用于响应于用户输入单元2007接收的该第三输入,对该第一原始图像执行与该第三输入对应的编辑操作。其中,该编辑操作包括以下至少一项:调节显示尺寸,调节显示位置,取消显示。Optionally, in this embodiment of the present application, the user input unit 2007 may also be configured to receive a third input before taking a screenshot of the first original image to obtain a screenshot of the first original image. The processor 2010 may be configured to, in response to the third input received by the user input unit 2007, perform an editing operation corresponding to the third input on the first original image. The editing operation includes at least one of the following: adjusting the display size, adjusting the display position, and canceling the display.

可以理解的是,由于在对电子设备的屏幕执行截屏操作之前,用户可以通过第三输入对第一原始图像进行编辑,以调整该第一原始图像在当前屏幕中的显示位置,显示尺寸和取消显示。因此,用户可以根据实际使用需求在触发截屏之前,对第一原始图像进行编辑,从而电子设备可以截取更能满足用户需求的图像,进而提高用户的使用体验。It can be understood that, before performing the screenshot operation on the screen of the electronic device, the user can edit the first original image through the third input to adjust the display position, display size and cancel of the first original image in the current screen. show. Therefore, the user can edit the first original image before triggering the screenshot according to the actual usage requirement, so that the electronic device can capture an image that better meets the user's requirement, thereby improving the user's usage experience.

可选的,本申请实施例中,处理器2010,具体包括将屏幕上显示的第一界面更新为第二界面,该第一界面包括第一缩略图,该第二界面包括第一原始图像。其中,该第一原始图像在该第二界面中的显示位置与该第一缩略图在该第一界面中的显示位置相对应。Optionally, in this embodiment of the present application, the processor 2010 specifically includes updating a first interface displayed on the screen to a second interface, where the first interface includes a first thumbnail image, and the second interface includes a first original image. Wherein, the display position of the first original image in the second interface corresponds to the display position of the first thumbnail in the first interface.

可以理解的是,电子设备可以将包括第一缩略图的第一界面,更新为包括第一原始图像的第二界面,并使该第一原始图像在第二界面中的显示位置与该第一缩略图在第一界面中的显示位置相对应。如此,电子设备可以显示包括第一原始图像的第二界面,在用户确定执行截屏操作后,对该第二界面的显示内容进行截屏,得到第一原始图像的截屏图像。从而减少用户截取原始图像的繁琐操作,节约用户时间。It can be understood that the electronic device can update the first interface including the first thumbnail to the second interface including the first original image, and make the display position of the first original image in the second interface match the first interface. The display positions of the thumbnails in the first interface are corresponding. In this way, the electronic device can display the second interface including the first original image, and after the user determines to perform the screenshot operation, screenshot the displayed content of the second interface to obtain the screenshot image of the first original image. Thus, the cumbersome operation of the user for capturing the original image is reduced, and the user's time is saved.

可选的,本申请实施例中,显示单元2006,可以用于在至少一个视图控件中的每个视图控件上显示选中标识,该至少一个视图控件为接收第一输入时该屏幕上显示的视图控件。用户输入单元2007,还可以用于接收对目标选中标识的第四输入,该目标选中标识为该至少一个视图控件中目标视图控件上显示的选中标识。处理器2010,具体可以用于响应于用户输入单元2007接收的该第四输入,在电子设备的屏幕上显示与该第一缩略图对应的第一原始图像,该第一缩略图为该目标视图控件中显示的缩略图。Optionally, in this embodiment of the present application, the display unit 2006 may be configured to display a check mark on each of the at least one view control, where the at least one view control is the view displayed on the screen when the first input is received. controls. The user input unit 2007 may also be configured to receive a fourth input of a target selection indicator, where the target selection indicator is a selection indicator displayed on the target view control in the at least one view control. The processor 2010 may be specifically configured to, in response to the fourth input received by the user input unit 2007, display a first original image corresponding to the first thumbnail image on the screen of the electronic device, where the first thumbnail image is the target view Thumbnail displayed in the control.

可以理解的是,电子设备在至少一个视图控件中的每个视图控件上显示选中标识,用户可以对这些选中标识中的目标选中标识进行输入,触发电子设备显示该目标选中标识所指示的视图控件中的缩略图对应的原始图像。如此,电子设备可以直接显示该视图控件中缩略图对应的原始图像,从而方便电子设备直接截取该原始图像的截图图像,简化操作过程,节约用户时间。It can be understood that the electronic device displays a check mark on each view control in the at least one view control, and the user can input a target check mark in these check marks to trigger the electronic device to display the view control indicated by the target check mark. The thumbnails in the corresponding original images. In this way, the electronic device can directly display the original image corresponding to the thumbnail in the view control, thereby facilitating the electronic device to directly capture the screenshot image of the original image, simplifying the operation process and saving the user's time.

可选的,本申请实施例中,目标视图控件中包括多个缩略图。处理器2010,具体可以用于对屏幕长截屏,得到多个缩略图对应的原始图像的截屏图像。Optionally, in this embodiment of the present application, the target view control includes multiple thumbnails. The processor 2010 may be specifically configured to take a long screenshot of the screen to obtain a screenshot of the original image corresponding to the multiple thumbnails.

可以理解的是,电子设备的目标视图控件中包括多个缩略图的情况下,电子设备可以对电子设备的屏幕长截屏,得到多个缩略图对应的原始图像的截屏图像。如此电子设备可以通过一次截图操作获取多个缩略图对应的原始图像的截屏图像,从而简化操作过程,节约用户时间。It can be understood that, when the target view control of the electronic device includes multiple thumbnails, the electronic device can take a long screenshot of the screen of the electronic device to obtain a screenshot of the original image corresponding to the multiple thumbnails. In this way, the electronic device can obtain the screenshot images of the original images corresponding to the multiple thumbnail images through one screenshot operation, thereby simplifying the operation process and saving the user's time.

本申请实施例还提供一种可读存储介质,该可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述截图方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, each process of the above embodiment of the screenshot method can be implemented, and the same technology can be achieved. The effect, in order to avoid repetition, is not repeated here.

其中,该处理器为上述实施例中的电子设备中的处理器。该可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.

本申请实施例另提供了一种芯片,该芯片包括处理器和通信接口,该通信接口和该处理器耦合,该处理器用于运行程序或指令,实现上述截图方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used for running a program or an instruction to implement each process of the above screenshot method embodiments, and can To achieve the same technical effect, in order to avoid repetition, details are not repeated here.

应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course hardware can also be used, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may 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 this application.

上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.

Claims (10)

1. A method of screenshot, the method comprising:
receiving a first input in a case where a screen of the electronic device displays a first thumbnail;
responding to the first input, displaying a first original image corresponding to the first thumbnail, and carrying out screenshot on the first original image to obtain a screenshot image of the first original image.
2. The method of claim 1, wherein before the screenshot of the first original image to obtain the screenshot of the first original image, the method further comprises:
receiving a second input, wherein the second input is used for triggering and determining to capture the first original image;
the screenshot of the first original image to obtain a screenshot image of the first original image includes:
and responding to the second input, and performing screenshot on the first original image to obtain a screenshot image of the first original image.
3. The method according to claim 1 or 2, wherein before the screenshot of the first original image to obtain the screenshot image of the first original image, the method further comprises:
receiving a third input;
in response to the third input, performing an editing operation corresponding to the third input on the first original image;
wherein the editing operation comprises at least one of: and adjusting the display size, adjusting the display position and canceling the display.
4. The method of claim 1, wherein the displaying the first original image corresponding to the first thumbnail comprises:
updating a first interface displayed on the screen to a second interface, wherein the first interface comprises the first thumbnail and the second interface comprises the first original image;
wherein a display position of the first original image in the second interface corresponds to a display position of the first thumbnail in the first interface.
5. The method of claim 1, wherein prior to the displaying the first original image corresponding to the first thumbnail, the method further comprises:
displaying a selected identifier on each of at least one view control, the at least one view control being the view control displayed on the screen upon receiving the first input;
receiving a fourth input of a target selection identifier, wherein the target selection identifier is a selection identifier displayed on a target view control in the at least one view control;
the displaying a first original image corresponding to the first thumbnail includes:
in response to the fourth input, displaying a first original image corresponding to the first thumbnail on the screen, the first thumbnail being a thumbnail displayed in the target view control.
6. A screenshot device, the device comprising: the device comprises a receiving module and a processing module;
the receiving module is used for receiving a first input under the condition that a first thumbnail is displayed on a screen of the electronic equipment;
the processing module is configured to respond to the first input received by the receiving module, display a first original image corresponding to the first thumbnail, and perform screenshot on the first original image to obtain a screenshot image of the first original image.
7. The apparatus of claim 6, wherein the receiving module is further configured to receive a second input before screenshot of the first original image to obtain a screenshot image of the first original image, where the second input is used to trigger determination of screenshot of the first original image;
the processing module is specifically configured to perform screenshot on the first original image in response to the second input received by the receiving module, so as to obtain a screenshot image of the first original image.
8. The apparatus according to claim 6 or 7, wherein the receiving module is further configured to receive a third input before the first original image is subjected to screenshot to obtain a screenshot image of the first original image;
the processing module is used for responding to the third input received by the receiving module and executing editing operation corresponding to the third input on the first original image;
wherein the editing operation comprises at least one of: and adjusting the display size, adjusting the display position and canceling the display.
9. The apparatus according to claim 6, wherein the processing module specifically includes updating a first interface displayed on the screen to a second interface, the first interface including the first thumbnail, the second interface including the first original image;
wherein a display position of the first original image in the second interface corresponds to a display position of the first thumbnail in the first interface.
10. The apparatus of claim 6, further comprising a display module;
the display module is used for displaying the selected identification on each view control in at least one view control, wherein the at least one view control is the view control displayed on the screen when the first input is received;
the receiving module is further configured to receive a fourth input of a target selection identifier, where the target selection identifier is a selection identifier displayed on a target view control in the at least one view control;
the processing module is specifically configured to display, on the screen, a first original image corresponding to the first thumbnail in response to the fourth input received by the receiving module, where the first thumbnail is a thumbnail displayed in the target view control.
CN202010899238.8A 2020-08-31 2020-08-31 Screenshot method and device and electronic equipment Active CN111966259B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010899238.8A CN111966259B (en) 2020-08-31 2020-08-31 Screenshot method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010899238.8A CN111966259B (en) 2020-08-31 2020-08-31 Screenshot method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN111966259A true CN111966259A (en) 2020-11-20
CN111966259B CN111966259B (en) 2022-05-17

Family

ID=73400096

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010899238.8A Active CN111966259B (en) 2020-08-31 2020-08-31 Screenshot method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111966259B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113763512A (en) * 2021-09-10 2021-12-07 维沃移动通信有限公司 Screenshot image processing method, device and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102693089A (en) * 2012-04-21 2012-09-26 上海量明科技发展有限公司 Method for achieving amplifying function by screenshot and client side
CN105242827A (en) * 2015-09-28 2016-01-13 小米科技有限责任公司 Screen capture method, apparatus and system
CN105760090A (en) * 2016-02-25 2016-07-13 惠州Tcl移动通信有限公司 Screenshot obtaining method and system based on mobile terminal and mobile terminal
CN105930052A (en) * 2016-04-14 2016-09-07 北京搜狐新媒体信息技术有限公司 Method and device for capturing pictures
US20190147026A1 (en) * 2017-05-16 2019-05-16 Apple Inc. Device, Method, and Graphical User Interface for Editing Screenshot Images

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102693089A (en) * 2012-04-21 2012-09-26 上海量明科技发展有限公司 Method for achieving amplifying function by screenshot and client side
CN105242827A (en) * 2015-09-28 2016-01-13 小米科技有限责任公司 Screen capture method, apparatus and system
CN105760090A (en) * 2016-02-25 2016-07-13 惠州Tcl移动通信有限公司 Screenshot obtaining method and system based on mobile terminal and mobile terminal
CN105930052A (en) * 2016-04-14 2016-09-07 北京搜狐新媒体信息技术有限公司 Method and device for capturing pictures
US20190147026A1 (en) * 2017-05-16 2019-05-16 Apple Inc. Device, Method, and Graphical User Interface for Editing Screenshot Images

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113763512A (en) * 2021-09-10 2021-12-07 维沃移动通信有限公司 Screenshot image processing method, device and electronic device

Also Published As

Publication number Publication date
CN111966259B (en) 2022-05-17

Similar Documents

Publication Publication Date Title
US20240031668A1 (en) Photographing interface display method and apparatus, electronic device, and medium
CN112860163B (en) Image editing method and device
CN111857512A (en) Image editing method, apparatus and electronic device
CN112911147B (en) Display control method, display control device and electronic equipment
CN112836086B (en) A video processing method, device and electronic equipment
CN112055244A (en) Image acquisition method and device, server and electronic equipment
CN111984130A (en) Shortcut operation method, device and electronic equipment
WO2023155858A1 (en) Document editing method and apparatus
WO2021233291A1 (en) Screen capture method and apparatus, and electronic device
CN111638844A (en) Screen capture method, device and electronic device
CN116107531A (en) Interface display method and device
CN112099714A (en) Screenshot method, device, electronic device and readable storage medium
WO2023241563A1 (en) Data processing method and electronic device
CN115631109A (en) Image processing method, image processing device and electronic equipment
CN116244028A (en) Interface display method, device, and electronic device
CN115756707A (en) Content sharing method and device, electronic equipment and readable storage medium
CN115729412A (en) Interface display method and device
CN113407144B (en) Display control method and device
CN112764632B (en) Image sharing method and device and electronic equipment
CN111966259A (en) Screenshot method, device and electronic device
WO2024245176A1 (en) Display method and apparatus
CN112269524A (en) Screen capture method, screen capture device and electronic device
CN116027950A (en) Screen capture method and screen capture device
WO2023241612A1 (en) File selection method and apparatus, electronic device, and readable storage medium
CN115328367A (en) Screen capturing method and device, electronic equipment and storage medium

Legal Events

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