WO2021004407A1 - Screenshot method and terminal device - Google Patents

Screenshot method and terminal device Download PDF

Info

Publication number
WO2021004407A1
WO2021004407A1 PCT/CN2020/100275 CN2020100275W WO2021004407A1 WO 2021004407 A1 WO2021004407 A1 WO 2021004407A1 CN 2020100275 W CN2020100275 W CN 2020100275W WO 2021004407 A1 WO2021004407 A1 WO 2021004407A1
Authority
WO
WIPO (PCT)
Prior art keywords
content
target
sub
terminal device
screenshot
Prior art date
Application number
PCT/CN2020/100275
Other languages
French (fr)
Chinese (zh)
Inventor
张树波
赵苗苗
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021004407A1 publication Critical patent/WO2021004407A1/en

Links

Images

Classifications

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

Landscapes

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

Abstract

A screenshot method and a terminal device. The method comprises: in the case that first content is displayed, receiving first input of a user (step 101); and in response to the first input, dividing a region where the first content is located into N sub regions, separately capturing a screenshot image from each sub region to obtain N screenshot images, and displaying the N screenshot images (step 102), wherein N is an integer greater than or equal to 2.

Description

截屏方法及终端设备Screen capture method and terminal equipment
相关申请的交叉引用Cross references to related applications
本申请主张在2019年07月10日提交国家知识产权局、申请号为201910621835.1申请名称为“一种截屏方法及终端设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed with the State Intellectual Property Office on July 10, 2019, the application number is 201910621835.1 and the application title is "a screen capture method and terminal device", the entire content of which is incorporated into this application by reference .
技术领域Technical field
本公开实施例涉及通信技术领域,尤其涉及一种截屏方法及终端设备。The embodiments of the present disclosure relate to the field of communication technology, and in particular, to a screenshot method and terminal device.
背景技术Background technique
截屏图像是指为了记录终端设备(例如手机)的显示区域的内容,使用终端设备的截屏功能,对该显示区域的内容进行截取后所得到的可视图像。The screenshot image refers to a visual image obtained by using the screenshot function of the terminal device to capture the content of the display area in order to record the content of the display area of the terminal device (such as a mobile phone).
相关技术中,用户可以通过在某个显示区域的截屏操作,获取该某个显示区域的内容的截屏图像。然而,如果终端设备的多个显示区域中有多个用户关注的内容,那么用户需要在该多个显示区域进行多次截屏操作,以获取这些内容的截屏图像,从而导致获取多个截屏图像的过程较为繁琐。In the related art, a user can obtain a screenshot image of the content of a certain display area through a screenshot operation in a certain display area. However, if there are multiple user-focused content in multiple display areas of the terminal device, the user needs to perform multiple screenshot operations on the multiple display areas to obtain screenshot images of these content, which leads to the problem of obtaining multiple screenshot images. The process is cumbersome.
发明内容Summary of the invention
本公开实施例提供一种截屏方法及终端设备,以解决获取多个截屏图像的过程较为繁琐的问题。The embodiments of the present disclosure provide a screenshot method and terminal device to solve the problem that the process of acquiring multiple screenshot images is relatively complicated.
为了解决上述技术问题,本公开实施例是这样实现的:In order to solve the above technical problems, the embodiments of the present disclosure are implemented as follows:
第一方面,本公开实施例提供了一种截屏方法。该方法应用于终端设备。该方法包括:在显示第一内容的情况下,接收用户的第一输入;响应于该第一输入,将该第一内容所在的区域划分为N个子区域,并从每个子区域中分别截取一个截屏图像,得到N个截屏图像,以及显示该N个截屏图像;其中,N为大于或等于2的整数。In the first aspect, embodiments of the present disclosure provide a screenshot method. This method is applied to terminal equipment. The method includes: in the case of displaying the first content, receiving a first input of the user; in response to the first input, dividing the area where the first content is located into N sub-areas, and intercepting one from each sub-areas. Take screenshots, obtain N screenshots, and display the N screenshots; where N is an integer greater than or equal to 2.
第二方面,本公开实施例提供了一种终端设备。该终端设备包括:接收模块、处理模块和显示模块。接收模块,用于在显示模块显示第一内容的情况下,接收用户的第一输入;处理模块,用于响应于接收模块接收的该第一输入,将该第一内容所在的区域划分为N个子区域,并从每个子区域中分别截取一个截屏图像,得到N个截屏图像;显示模块,用于显示处理模块截取的该N个截屏图像;其中,N为大于或等于2的整数。In the second aspect, the embodiments of the present disclosure provide a terminal device. The terminal equipment includes: a receiving module, a processing module and a display module. The receiving module is configured to receive the first input of the user when the display module displays the first content; the processing module is configured to divide the area where the first content is located into N in response to the first input received by the receiving module A screenshot image is captured from each subregion to obtain N screenshot images; the display module is used to display the N screenshot images captured by the processing module; where N is an integer greater than or equal to 2.
第三方面,本公开实施例提供了一种终端设备,包括处理器、存储器及存储在该存储器上并可在该处理器上运行的计算机程序,该计算机程序被该处理器执行时实现第一方面提供的截屏方法的步骤。In a third aspect, the embodiments of the present disclosure provide a terminal device, including a processor, a memory, and a computer program stored in the memory and running on the processor. The computer program implements the first The steps of the screenshot method provided by the aspect.
第四方面,本公开实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现第一方面提供的截屏方法的步骤。In a fourth aspect, the embodiments of the present disclosure provide a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor to implement the steps of the screenshot method provided in the first aspect.
本公开实施例中,终端设备在显示第一内容的情况下,可以接收用户的第一输入; 并响应于该第一输入,将该第一内容所在的区域划分为N个子区域,并从每个子区域中分别截取一个截屏图像,得到N个截屏图像,以及显示该N个截屏图像。其中,N为大于或等于2的整数。通过该方案,如果用户对多个区域内容感兴趣,那么用户可以通过一个输入,触发终端设备将第一内容所在的区域划分为多个子区域,并从每个子区域中分别截取一个截屏图像,即可以通过一个输入获取多个截屏图像,从而可以简化获取多个截屏图像的过程。In the embodiment of the present disclosure, the terminal device may receive the first input of the user when displaying the first content; and in response to the first input, the area where the first content is located is divided into N sub-areas, and each A screenshot image is captured in each of the sub-regions to obtain N screenshot images, and the N screenshot images are displayed. Wherein, N is an integer greater than or equal to 2. With this solution, if the user is interested in the content of multiple regions, the user can trigger the terminal device to divide the area where the first content is located into multiple sub-regions through an input, and take a screenshot from each sub-region, namely Multiple screenshots can be obtained through one input, which simplifies the process of obtaining multiple screenshots.
附图说明Description of the drawings
图1为本公开实施例提供的一种安卓操作系统的架构示意图;FIG. 1 is a schematic diagram of the architecture of an Android operating system provided by an embodiment of the disclosure;
图2为本公开实施例提供的一种截屏方法的示意图之一;FIG. 2 is one of the schematic diagrams of a screenshot method provided by an embodiment of the disclosure;
图3为本公开实施例提供的一种截屏方法的示意图之二;FIG. 3 is a second schematic diagram of a screenshot method provided by an embodiment of the disclosure;
图4为本公开实施例提供的终端设备屏幕区域的显示示意图;FIG. 4 is a schematic diagram of displaying a screen area of a terminal device according to an embodiment of the disclosure;
图5为本公开实施例提供的一种终端设备显示界面的区域划分示意图之一;FIG. 5 is one of the schematic diagrams of the area division of a terminal device display interface provided by an embodiment of the present disclosure;
图6为本公开实施例提供的一种截屏方法的示意图之三;FIG. 6 is the third schematic diagram of a screenshot method provided by an embodiment of the disclosure;
图7为本公开实施例提供的一种终端设备显示界面的区域划分示意图之二;FIG. 7 is a second schematic diagram of the area division of a terminal device display interface provided by an embodiment of the disclosure;
图8为本公开实施例提供的在第一内容上叠加显示布局视图的示意图;FIG. 8 is a schematic diagram of superimposing and displaying a layout view on the first content according to an embodiment of the disclosure;
图9为本公开实施例提供的对界面中的区域进行调整的操作示意图;9 is a schematic diagram of an operation for adjusting an area in an interface provided by an embodiment of the disclosure;
图10本公开实施例提供的一种终端设备显示界面添加列分割线的操作示意图;FIG. 10 is a schematic diagram of an operation of adding a column dividing line on a display interface of a terminal device according to an embodiment of the present disclosure;
图11为本公开实施例提供的一种截屏方法的示意图之四;FIG. 11 is a fourth schematic diagram of a screenshot method provided by an embodiment of the disclosure;
图12为本公开实施例提供的选择至少一个截屏图像的操作示意图;FIG. 12 is a schematic diagram of an operation of selecting at least one screenshot image provided by an embodiment of the disclosure;
图13为本公开实施例提供的终端设备的结构示意图;FIG. 13 is a schematic structural diagram of a terminal device provided by an embodiment of the disclosure;
图14为本公开实施例提供的终端设备的硬件示意图。FIG. 14 is a schematic diagram of hardware of a terminal device provided by an embodiment of the disclosure.
具体实施方式Detailed ways
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。The technical solutions in the embodiments of the present disclosure will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present disclosure.
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。The term "and/or" in this article refers to an association relationship that describes associated objects, which means that there can be three relationships, for example, A and/or B, which can mean: A alone exists, A and B exist at the same time, and B exists alone These three situations. The symbol "/" in this document represents the relationship that the associated object is or, for example, A/B represents A or B.
本公开的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一输入和第二输入等是用于区别不同的输入,而不是用于描述输入的特定顺序。The terms "first" and "second" in the specification and claims of the present disclosure are used to distinguish different objects, rather than to describe a specific order of objects. For example, the first input and the second input are used to distinguish different inputs, rather than to describe a specific order of input.
在本公开实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本公开实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present disclosure, words such as "exemplary" or "for example" are used as examples, illustrations, or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present disclosure should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as "exemplary" or "for example" are used to present related concepts in a specific manner.
在本公开实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个元件是指两个或者两个以上的元件等。In the description of the embodiments of the present disclosure, unless otherwise specified, the meaning of "plurality" means two or more than two, for example, a plurality of elements means two or more elements, etc.
下面对本公开实施例中涉及的一些术语/名词进行解释说明。The following explains some terms/nouns involved in the embodiments of the present disclosure.
边缘提取:是指一种利用边缘增强算子,突出原始图像中的局部边缘,并获取局部边缘的像素点中大于或等于阈值的像素点集的图像处理方法。常用的边缘提取的算法有:微分算子法、拉普拉斯高斯算子法、拟合法、神经网络法、小波变换法和小波包分解法等。Edge extraction: refers to an image processing method that uses edge enhancement operators to highlight local edges in the original image and obtain a set of pixels greater than or equal to a threshold in the pixels of the local edge. Commonly used edge extraction algorithms are: differential operator method, Laplacian Gaussian operator method, fitting method, neural network method, wavelet transform method and wavelet packet decomposition method.
边缘图像:是指对原始图像(例如第一图像)进行边缘提取后得到的图像。Edge image: refers to the image obtained after edge extraction is performed on the original image (such as the first image).
本公开实施例提供一种截屏方法及终端设备,终端设备在显示第一内容的情况下,可以接收用户的第一输入;并响应于该第一输入,将该第一内容所在的区域划分为N个子区域,并从每个子区域中分别截取一个截屏图像,得到N个截屏图像,以及显示该N个截屏图像。其中,N为大于或等于2的整数。通过该方案,如果用户对多个区域内容感兴趣,那么用户可以通过一个输入,触发终端设备将第一内容所在的区域划分为多个子区域,并从每个子区域中分别截取一个截屏图像,即可以通过一个输入获取多个截屏图像,从而可以简化获取多个截屏图像的过程。The embodiments of the present disclosure provide a screenshot method and terminal device. The terminal device can receive a user's first input when displaying first content; and in response to the first input, divide the area where the first content is located into N sub-regions, and a screenshot image is respectively taken from each sub-region to obtain N screenshot images, and the N screenshot images are displayed. Wherein, N is an integer greater than or equal to 2. With this solution, if the user is interested in the content of multiple regions, the user can trigger the terminal device to divide the area where the first content is located into multiple sub-regions through an input, and take a screenshot from each sub-region, namely Multiple screenshots can be obtained through one input, which simplifies the process of obtaining multiple screenshots.
本公开实施例中的终端设备可以为具有操作系统的终端设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本公开实施例不作具体限定。The terminal device in the embodiment of the present disclosure may be a terminal device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present disclosure.
下面以安卓操作系统为例,介绍一下本公开实施例提供的截屏方法所应用的软件环境。The following takes the Android operating system as an example to introduce the software environment to which the screenshot method provided in the embodiments of the present disclosure is applied.
如图1所示,为本公开实施例提供的一种安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 1, it is a schematic structural diagram of an Android operating system provided by an embodiment of the present disclosure. In Figure 1, the architecture of the Android operating system includes 4 layers, namely: application layer, application framework layer, system runtime library layer, and kernel layer (specifically, it may be the Linux kernel layer).
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。Among them, the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。The application framework layer is the framework of the application. Developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。The system runtime layer includes a library (also called a system library) and an Android operating system runtime environment. The library mainly provides various resources needed by the Android operating system. The Android operating system operating environment is used to provide a software environment for the Android operating system.
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。The kernel layer is the operating system layer of the Android operating system and belongs to the lowest level of the Android operating system software level. The kernel layer is based on the Linux kernel to provide core system services and hardware-related drivers for the Android operating system.
以安卓操作系统为例,本公开实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本公开实施例提供的截屏方法的软件程序,从而使得该截屏方法可以基于如图1所示的安卓操作系统运行。即处理器或者终端设备可以通过在安卓操作系统中运行该软件程序实现本公开实施例提供的截屏方法。Taking the Android operating system as an example, in an embodiment of the present disclosure, developers can develop a software program that implements the screenshot method provided by the embodiment of the present disclosure based on the system architecture of the Android operating system as shown in FIG. 1, so that the screenshot method is It can run based on the Android operating system as shown in Figure 1. That is, the processor or the terminal device can implement the screenshot method provided by the embodiment of the present disclosure by running the software program in the Android operating system.
本公开实施例中的终端设备可以为移动终端设备,也可以为非移动终端设备。示例性的,移动终端设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动终端设备可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本公开实施例不作具体限定。The terminal device in the embodiment of the present disclosure may be a mobile terminal device or a non-mobile terminal device. Exemplarily, the mobile terminal device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle-mounted terminal 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 terminal device may be a personal computer (PC), television (television, TV), teller machine, or self-service machine, etc., which are not specifically limited in the embodiment of the present disclosure.
本公开实施例提供的截屏方法的执行主体可以为上述的终端设备,也可以为该终端设 备中能够实现该截屏方法的功能模块和/或功能实体,具体地,可以根据实际使用需求确定,本公开实施例不作限定。下面以终端设备为例,对本公开实施例提供的截屏方法进行示例性的说明。The execution subject of the screenshot method provided by the embodiments of the present disclosure may be the aforementioned terminal device, or may be a functional module and/or functional entity in the terminal device that can implement the screenshot method. Specifically, it may be determined according to actual usage requirements. The disclosed embodiments are not limited. The following takes a terminal device as an example to illustrate the screenshot method provided by the embodiment of the present disclosure.
如图2所示,本公开实施例提供一种截屏方法。该方法可以应用于终端设备。该方法可以包括下述的步骤101和步骤102。As shown in FIG. 2, an embodiment of the present disclosure provides a screenshot method. This method can be applied to terminal equipment. The method may include the following steps 101 and 102.
步骤101、在显示第一内容的情况下,终端设备接收用户的第一输入。Step 101: In the case of displaying the first content, the terminal device receives the first input of the user.
可选地,本公开实施例中,第一内容可以为第一图像、第一文本或其他可能的内容等。具体可以根据实际使用需求确定,本公开实施例不作具体限定。Optionally, in the embodiment of the present disclosure, the first content may be a first image, a first text, or other possible content. The details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
需要说明的是,本公开实施例中,第一内容可以为在终端设备的屏幕中显示的任意界面中的图像或文本等。例如,第一内容可以为终端设备的主界面中的图像,第一内容也可以为终端设备显示的视频界面中的图像,第一内容还可以为终端设备显示的电子书界面中的文本。It should be noted that, in the embodiments of the present disclosure, the first content may be an image or text in any interface displayed on the screen of the terminal device. For example, the first content may be an image in the main interface of the terminal device, the first content may also be an image in a video interface displayed on the terminal device, and the first content may also be a text in an e-book interface displayed on the terminal device.
示例性的,以第一内容为终端设备显示聊天界面的图像为例进行示例性说明。在用户A使用终端设备与用户B聊天的过程中,如果用户A想要对聊天界面上的多条消息进行截取,那么用户A可以对终端设备显示的聊天界面(即第一内容)进行第一输入。从而终端设备可以接收该第一输入,并执行下述步骤102。Exemplarily, the first content is an image of a terminal device displaying a chat interface as an example for exemplary description. In the process of user A using the terminal device to chat with user B, if user A wants to intercept multiple messages on the chat interface, then user A can first perform the first content on the chat interface (that is, the first content) displayed on the terminal device. enter. Therefore, the terminal device can receive the first input and execute the following step 102.
可选地,本公开实施例中,上述第一输入可以为以下任一项:对终端设备显示第一内容的输入,对终端设备按键的输入,或对终端设备的手势输入。具体可以根据实际使用需求确定,本公开实施例不作具体限定。Optionally, in the embodiment of the present disclosure, the above-mentioned first input may be any of the following: input to the terminal device to display the first content, input to the key of the terminal device, or gesture input to the terminal device. The details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
例如,若第一输入为对终端设备显示第一内容的输入,则第一输入具体可以为用户对第一内容的双击输入、长按输入或在第一内容上沿第一方向滑动三个手指的输入。For example, if the first input is an input to display the first content on the terminal device, the first input may specifically be a user's double-click input, long press input, or sliding three fingers on the first content in the first direction. input of.
再例如,若第一输入具体可以为用户对组合按键的按压(如,组合按键可以为:音量键和HOME键)的输入。For another example, if the first input may specifically be an input of a user pressing a combination key (for example, the combination key may be: volume key and HOME key).
再例如,若第一输入为对终端设备的手势输入,则第一输入具体可以为用户在终端设备的摄像头的拍摄范围内,做出“OK”手势的输入。For another example, if the first input is a gesture input to the terminal device, the first input may specifically be an input of the user making an "OK" gesture within the shooting range of the camera of the terminal device.
步骤102、终端设备响应于该第一输入,将该第一内容所在的区域划分为N个子区域,并从每个子区域中分别截取一个截屏图像,得到N个截屏图像,以及显示该N个截屏图像。Step 102: In response to the first input, the terminal device divides the area where the first content is located into N sub-areas, and captures a screenshot image from each sub-region to obtain N screenshot images, and display the N screenshots image.
其中,N为大于或等于2的整数。Wherein, N is an integer greater than or equal to 2.
示例性的,N可以为4、6、8或10等。Exemplarily, N may be 4, 6, 8, or 10, etc.
可选地,本公开实施例中,上述终端设备根据第一内容,从第一内容中截取N个截屏图像具体可以包括下述的两种方式:方式一、终端设备直接将第一内容所在的区域划分为N个子区域,再从N个子区域中的每个子区域分别截取一个截屏图像,即一个子区域截取一个截屏图像;方式二、终端设备先获取第一内容的一个截屏图像,再将该一个截屏图像划分为N个子区域,再从该N个子区域中的每个子区域分别截取一个截屏图像,即一个子区域截取一个截屏图像。Optionally, in the embodiment of the present disclosure, the above-mentioned terminal device intercepts N screenshots from the first content according to the first content, specifically including the following two methods: Method one, the terminal device directly captures the location where the first content is located The area is divided into N sub-areas, and then a screenshot image is captured from each of the N sub-regions, that is, a screenshot image is captured in one sub-region; mode two, the terminal device first obtains a screenshot image of the first content, and then A screenshot image is divided into N sub-regions, and then a screenshot image is captured from each of the N sub-regions, that is, a screenshot image is captured in each sub-region.
可选地,本公开实施例中,上述终端设备显示N个截屏图像的显示方式,具体可以为以下任一项:N个截屏图像之间用不同线型隔开显示、N个截屏图像中每个截屏图像都显示有边框、N个截屏图像以不同颜色显示、或N个截屏图像按比例缩放显示 等。具体可以根据实际使用需求确定,本公开实施例不作具体限定。Optionally, in the embodiment of the present disclosure, the display mode for displaying N screenshots on the terminal device may be any one of the following: the N screenshots are separated by different line types, and each of the N screenshots Each screen capture image is displayed with a frame, N screen capture images are displayed in different colors, or N screen capture images are scaled and displayed in proportion. The details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
可选地,本公开实施例中,上述终端设备显示N个截屏图像,具体可以包括:在第一内容上,以预设透明度叠加显示N个截屏图像;或者,取消对第一内容的显示,并显示N个截屏图像。具体可以根据实际使用需求确定,本公开实施例不作具体限定。Optionally, in the embodiment of the present disclosure, displaying the N screenshots on the terminal device may specifically include: superimposing and displaying the N screenshots on the first content with a preset transparency; or canceling the display of the first content, And display N screenshots. The details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
本公开实施例提供一种截屏方法,终端设备在显示第一内容的情况下,可以接收用户的第一输入;并响应于该第一输入,将该第一内容所在的区域划分为N个子区域,并从每个子区域中分别截取一个截屏图像,得到N个截屏图像,以及显示该N个截屏图像。其中,N为大于或等于2的整数。通过该方案,如果用户对多个区域内容感兴趣,那么用户可以通过一个输入,触发终端设备将第一内容所在的区域划分为多个子区域,并从每个子区域中分别截取一个截屏图像,即可以通过一个输入获取多个截屏图像,从而可以简化获取多个截屏图像的过程。The embodiments of the present disclosure provide a screen capture method. When a terminal device displays first content, it can receive a user's first input; and in response to the first input, the area where the first content is located is divided into N sub-areas , And take a screenshot from each sub-area to obtain N screenshots, and display the N screenshots. Wherein, N is an integer greater than or equal to 2. With this solution, if the user is interested in the content of multiple regions, the user can trigger the terminal device to divide the area where the first content is located into multiple sub-regions through an input, and take a screenshot from each sub-region, namely Multiple screenshots can be obtained through one input, which simplifies the process of obtaining multiple screenshots.
可选地,步骤102中的“将第一内容所在的区域划分为N个子区域”具体可以通过“根据目标比值和第一内容的内容类型,将第一内容所在的区域划分为N个子区域”实现。示例性的,结合图2,如图3所示,上述步骤102具体可通过下述的步骤102a实现。Optionally, "divide the area where the first content is located into N sub-areas" in step 102 may specifically be "divide the area where the first content is located into N sub-areas according to the target ratio and the content type of the first content." achieve. Exemplarily, with reference to FIG. 2, as shown in FIG. 3, the above step 102 may be specifically implemented by the following step 102a.
步骤102a、终端设备响应于第一输入,根据目标比值和第一内容的内容类型,将第一内容所在的区域划分为N个子区域,并从每个子区域中分别截取一个截屏图像,得到N个截屏图像,以及显示该N个截屏图像。Step 102a: In response to the first input, the terminal device divides the area where the first content is located into N sub-areas according to the target ratio and the content type of the first content, and captures a screenshot image from each sub-areas to obtain N Take a screenshot, and display the N screenshots.
其中,上述目标比值可以为边缘图像中所有像素点的数量与终端设备的屏幕中所有像素点的数量的比值,该边缘图像为对该第一内容进行边缘提取后得到的图像。The above target ratio may be the ratio of the number of all pixels in the edge image to the number of all pixels in the screen of the terminal device, and the edge image is an image obtained after edge extraction of the first content.
本公开实施例中,第一内容可以包括目标比值和第一内容的内容类型。In the embodiment of the present disclosure, the first content may include the target ratio and the content type of the first content.
可选地,本公开实施例中,上述第一内容的内容类型可以为以下任一项:网页界面类型、视频界面类型、聊天界面类型或购物界面类型等。具体可以根据实际使用需求确定,本公开实施例不作具体限定。Optionally, in the embodiment of the present disclosure, the content type of the above-mentioned first content may be any one of the following: a web interface type, a video interface type, a chat interface type, or a shopping interface type. The details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
本公开实施例所提供的截屏方法,由于终端设备根据边缘图像中所有像素点的数量与终端设备的屏幕中所有像素点的数量的比值(即目标比例)和第一内容的界面类型,可以将第一内容所在的区域划分为N个子区域,因此可以从划分后的N个子区域中的每个子区域中分别截取一个截屏图像。如此,终端设备可以自动获取N个截屏图像,而无需用户在多个区域进行多次截屏操作。According to the screenshot method provided by the embodiments of the present disclosure, the terminal device can change the interface type of the first content according to the ratio of the number of all pixels in the edge image to the number of all pixels in the screen of the terminal device (ie the target ratio) and the interface type of the first content. The area where the first content is located is divided into N sub-areas, so a screenshot image can be taken from each of the divided N sub-areas. In this way, the terminal device can automatically obtain N screenshots without the user having to perform multiple screenshot operations in multiple areas.
可选地,上述步骤102a具体可以通过下述的第一种可能的实现方式,或者通过下述的第二种可能的实现方式实现。Optionally, the foregoing step 102a may be specifically implemented in the following first possible implementation manner, or in the following second possible implementation manner.
第一种可能的实现方式:The first possible implementation:
上述步骤102a中的“将第一内容所在的区域划分为N个子区域”具体包括:步骤102a1至步骤102a3。The "dividing the area where the first content is located into N sub-areas" in the above step 102a specifically includes: step 102a1 to step 102a3.
步骤102a1、终端设备根据目标比值,确定目标行数。Step 102a1, the terminal device determines the target number of rows according to the target ratio.
可选地,本公开实施例中,上述目标比值可以为(0,1)范围内的任意一个数值。具体可以根据实际使用需求确定,本公开实施例不作具体限定。Optionally, in the embodiment of the present disclosure, the above-mentioned target ratio may be any value in the range of (0, 1). The details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
可选地,本公开实施例中,终端设备中可以预先存储有多个比值和多个行数,且每个比值可以对应一个行数。具体可以根据实际使用需求确定,本公开实施例不作具 体限定。Optionally, in the embodiment of the present disclosure, multiple ratios and multiple row numbers may be pre-stored in the terminal device, and each ratio may correspond to a row number. The details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
示例性的,假设目标比值用P表示。当0<P≤0.1时,终端设备可以确定目标行数为2行;当目标比值在大于0.1,且小于等于0.2时(即,0.1<P≤0.2),可以确定目标行数为3行;当目标比值在大于0.2,且小于等于0.5时(即,0.2<P≤0.5),可以确定目标行数为4行;当目标比值在大于0.5,且小于等于1时(即,0.5<P<1),可以确定目标行数为6行。For example, suppose that the target ratio is represented by P. When 0<P≤0.1, the terminal device can determine that the target number of rows is 2 rows; when the target ratio is greater than 0.1 and less than or equal to 0.2 (ie, 0.1<P≤0.2), the target number of rows can be determined to be 3 rows; When the target ratio is greater than 0.2 and less than or equal to 0.5 (ie, 0.2<P≤0.5), the target number of rows can be determined to be 4 rows; when the target ratio is greater than 0.5 and less than or equal to 1 (ie, 0.5<P< 1) It can be determined that the target number of rows is 6 rows.
具体地,上述步骤102a1具体包括下述的(1)至(3)。Specifically, the above step 102a1 specifically includes the following (1) to (3).
(1)、终端设备获取边缘图像中所有像素点的数量。(1) The terminal device obtains the number of all pixels in the edge image.
本公开实施例中,终端设备可以利用边缘提取算法,对第一内容进行边缘提取,得到边缘图像。然后,终端设备可以获取边缘图像中所有像素点的数量。In the embodiment of the present disclosure, the terminal device may use an edge extraction algorithm to perform edge extraction on the first content to obtain an edge image. Then, the terminal device can obtain the number of all pixels in the edge image.
可选地,本公开实施例中,终端设备可以通过下述任意一种算法,获取边缘图像中所有像素点的数量。该算法可以为:微分算子法、拉普拉斯高斯算子法、拟合法、神经网络法、小波变换法或小波包分解法等。具体可以根据实际使用需求确定,本公开实施例不作具体限定。Optionally, in the embodiment of the present disclosure, the terminal device may obtain the number of all pixels in the edge image through any one of the following algorithms. The algorithm can be: differential operator method, Laplacian Gaussian operator method, fitting method, neural network method, wavelet transform method or wavelet packet decomposition method, etc. The details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
(2)、终端设备获取终端设备的屏幕中所有像素点的数量。(2) The terminal device obtains the number of all pixels in the screen of the terminal device.
需要说明的是,本公开实施例中,终端设备的屏幕中所有像素点的数量是由终端设备的屏幕尺寸和屏幕单位面积内的像素点的个数所决定的。可以理解,屏幕尺寸越大,获取的屏幕中所有像素点的数量越多;屏幕单位面积内的像素点的个数越多,获取的屏幕中所有像素点的数量越多。It should be noted that in the embodiments of the present disclosure, the number of all pixels in the screen of the terminal device is determined by the screen size of the terminal device and the number of pixels in a unit area of the screen. It can be understood that the larger the screen size, the greater the number of all pixels in the acquired screen; the greater the number of pixels per unit area of the screen, the greater the number of all pixels in the acquired screen.
(3)、终端设备计算边缘图像中所有像素点的数量与终端设备的屏幕中所有像素点的数量的比值,得到该目标比值。(3) The terminal device calculates the ratio of the number of all pixels in the edge image to the number of all pixels in the screen of the terminal device to obtain the target ratio.
可选地,本公开实施例中,假设目标比值用P表示,那么目标比值具体可以通过下述公式得到:Optionally, in the embodiment of the present disclosure, assuming that the target ratio is represented by P, the target ratio can be specifically obtained by the following formula:
Figure PCTCN2020100275-appb-000001
Figure PCTCN2020100275-appb-000001
其中:among them:
∑pix(x,y)为边缘图像中所有像素点的数量;∑pix(x,y) is the number of all pixels in the edge image;
SUM pix为终端设备的屏幕中所有像素点的数量; SUM pix is the number of all pixels on the screen of the terminal device;
α为终端设备的屏幕中单个像素点的面积;α is the area of a single pixel on the screen of the terminal device;
A screen为终端设备的屏幕中所有像素点的总面积。 A screen is the total area of all pixels in the screen of the terminal device.
需要说明的是,在上述公式中,由于终端设备的屏幕中所有像素点的总面积为单个像素点的面积与屏幕中所有像素点的数量的乘积,因此,可以将上述公式中的分子与分母同时除以屏幕中单个像素点的面积(即分子和分母同时除以α),从而可以得到:目标比值为边缘图像中所有像素点的数量与终端设备的屏幕中所有像素点的数量的比值。It should be noted that in the above formula, since the total area of all pixels in the screen of the terminal device is the product of the area of a single pixel and the number of all pixels in the screen, the numerator and denominator in the above formula can be combined Divide by the area of a single pixel on the screen at the same time (that is, divide the numerator and denominator by α at the same time), so that the target ratio is the ratio of the number of all pixels in the edge image to the number of all pixels in the screen of the terminal device.
示例性的,若终端设备的屏幕中所有像素点的总面积为100(即A screen=100),终端设备的屏幕中单个像素点的面积为0.1(即α=0.1),终端设备的屏幕中所有像素点的数量1000(即SUM pix=1000),以及边缘图像中所有像素点的数量为500(即∑pix(x,y)=500),则目标比值P的计算方法如下: Exemplarily, if the total area of all pixels on the screen of the terminal device is 100 (ie A screen = 100), the area of a single pixel on the screen of the terminal device is 0.1 (ie α = 0.1), and the screen of the terminal device The number of all pixels is 1000 (ie SUM pix =1000), and the number of all pixels in the edge image is 500 (ie ∑pix(x,y)=500), the calculation method of the target ratio P is as follows:
Figure PCTCN2020100275-appb-000002
Figure PCTCN2020100275-appb-000002
步骤102a2、终端设备根据第一内容的内容类型,确定目标列数。Step 102a2: The terminal device determines the number of target columns according to the content type of the first content.
需要说明的是,对于第一内容的内容类型的具体描述,可以参照上述步骤102a中的相关描述,此处不再赘述。It should be noted that, for the specific description of the content type of the first content, reference may be made to the related description in the foregoing step 102a, which is not repeated here.
可选地,本公开实施例中,终端设备中可以预先存储有多个内容类型和多个列数,且每个内容类型对应一个列数。具体可以根据实际使用需求确定,本公开实施例不作具体限定。Optionally, in the embodiment of the present disclosure, multiple content types and multiple column numbers may be pre-stored in the terminal device, and each content type corresponds to a column number. The details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
示例性的,在终端设备中可以存储有预设分类模型。终端设备可以将第一内容或第一内容的截图输入到预设分类模型中。具体地,若输入的第一内容的内容类型为聊天界面类型时,则目标列数可以为1;若输入的第一内容的内容类型为网页界面类型时,则目标列数可以为2;若输入的第一内容的内容类型为视频界面类型时,则目标列数可以为3。Exemplarily, a preset classification model may be stored in the terminal device. The terminal device can input the first content or a screenshot of the first content into the preset classification model. Specifically, if the content type of the input first content is a chat interface type, the number of target columns can be 1; if the content type of the input first content is a web interface type, the number of target columns can be 2; if When the content type of the input first content is a video interface type, the number of target columns may be 3.
步骤102a3、终端设备按照目标行数和目标列数,将该第一内容所在的区域划分为N个子区域。Step 102a3: The terminal device divides the area where the first content is located into N sub-areas according to the number of target rows and the number of target columns.
可选地,终端设备可以按照下述方式一或方式二,对第一内容所在的区域划分:Optionally, the terminal device may divide the area where the first content is located according to the following manner 1 or manner 2:
方式一、method one,
本公开实施例中,目标行数可以为行区域的数量,目标列数可以为列区域的数量。In the embodiment of the present disclosure, the target number of rows may be the number of row areas, and the target number of columns may be the number of column areas.
假设目标行数为行区域的数量U,目标列数为列区域的数量W,那么N=U*W,即终端设备可以按照目标行数和目标列数,将第一内容所在的区域划分为U*W个子区域。其中,U、W和N均为正整数。Assuming that the target number of rows is the number of row areas U, and the target number of columns is the number of column areas W, then N=U*W, that is, the terminal device can divide the area where the first content is located according to the target number of rows and target columns U*W sub-regions. Among them, U, W and N are all positive integers.
示例性的,如图4所示,第一内容的第一行包括子区域Q1和子区域Q4,第二行包括子区域Q2和子区域Q5,第三行包括子区域Q3和子区域Q6,第一列包括子区域Q1、子区域Q2和子区域Q3,第二列包括子区域Q4、子区域Q5和子区域Q6。即目标行数为3,目标列数2,第一内容所在的区域被划分为6个子区域。Exemplarily, as shown in FIG. 4, the first row of the first content includes subregion Q1 and subregion Q4, the second row includes subregion Q2 and subregion Q5, and the third row includes subregion Q3 and subregion Q6. The first column Including sub-region Q1, sub-region Q2 and sub-region Q3, the second column includes sub-region Q4, sub-region Q5 and sub-region Q6. That is, the number of target rows is 3, the number of target columns is 2, and the area where the first content is located is divided into 6 sub-areas.
方式二、Method two,
本公开实施例中,行分割线可以包括水平边界线,也可以不包括竖直边界线。In the embodiment of the present disclosure, the row dividing line may include a horizontal boundary line or may not include a vertical boundary line.
若行分割线包括水平边界线,则目标行数可以为行分割线与1的差值;若行分割线不包括水平边界线,则目标行数可以为行分割线与1之和。If the row dividing line includes a horizontal boundary line, the target row number may be the difference between the row dividing line and 1; if the row dividing line does not include the horizontal boundary line, the target row number may be the sum of the row dividing line and 1.
若列分割线包括竖直边界线,则目标列数可以为列分割线与1的差值;若列分割线不包括竖直边界线,则目标行数可以为列分割线与1之和。If the column dividing line includes a vertical boundary line, the target column number may be the difference between the column dividing line and 1; if the column dividing line does not include the vertical boundary line, the target row number may be the sum of the column dividing line and 1.
在行分割线包括水平边界线,列分割线包括竖直边界线的情况下,假设行分割线用Y表示,列分割线用Z表示,那么N=(Y-1)*(Z-1),即终端设备可以按照目标行数和目标列数,将第一内容所在的区域划分为(Y-1)*(Z-1)个子区域。其中,Y、Z和N均为正整数。In the case where the row dividing line includes a horizontal boundary line and the column dividing line includes a vertical boundary line, assuming that the row dividing line is represented by Y and the column dividing line is represented by Z, then N=(Y-1)*(Z-1) That is, the terminal device can divide the area where the first content is located into (Y-1)*(Z-1) sub-areas according to the number of target rows and the number of target columns. Among them, Y, Z and N are all positive integers.
在行分割线不包括水平边界线,列分割线不包括竖直边界线的情况下,假设行分割线用Y表示,列分割线用Z表示,那么N=(Y+1)*(Z+1),即终端设备可以按照目标行数和目标列数,将第一内容所在的区域划分为(Y+1)*(Z+1)个子区域。其中,Y、Z和N均为正整数。When the row dividing line does not include the horizontal boundary line and the column dividing line does not include the vertical boundary line, assuming that the row dividing line is represented by Y and the column dividing line is represented by Z, then N=(Y+1)*(Z+ 1) That is, the terminal device can divide the area where the first content is located into (Y+1)*(Z+1) sub-areas according to the number of target rows and the number of target columns. Among them, Y, Z and N are all positive integers.
示例性的,如图4所示,行分割线包括水平边界线R1、水平边界线R4、行分割线R2、行分割线R3,列分割线包括竖直边界线T1、竖直边界线T3、列分割线T2的情况下,目标行数可以为4,目标列数可以为3,第一内容所在的区域划分为(4-1)*(3-1)=6个子区域。Exemplarily, as shown in FIG. 4, the row dividing line includes a horizontal boundary line R1, a horizontal boundary line R4, a row dividing line R2, a row dividing line R3, and a column dividing line includes a vertical boundary line T1, a vertical boundary line T3, In the case of the column dividing line T2, the number of target rows can be 4, the number of target columns can be 3, and the area where the first content is located is divided into (4-1)*(3-1)=6 sub-areas.
示例性的,如图4所示,在行分割线不包括竖直边界线,列分割线不包括竖直边界线的情况下,目标行数可以为2,目标列数可以为1,第一内容所在的区域划分为(2+1)*(1+1)=6个子区域。Exemplarily, as shown in FIG. 4, when the row dividing line does not include the vertical boundary line and the column dividing line does not include the vertical boundary line, the target row number may be 2, the target column number may be 1, and the first The area where the content is located is divided into (2+1)*(1+1)=6 sub-areas.
需要说明的是,终端设备按照目标行数和目标列数,可以将第一内容所在的区域均匀划分为N个子区域,也可以将第一内容所在的区域非均匀划分为N个子区域。即N个子区域的大小可以相同,也可以不同。具体可以根据实际使用需求确定,本公开实施例不作具体限定。It should be noted that, according to the target number of rows and target columns, the terminal device may divide the area where the first content is located into N sub-areas uniformly, or divide the area where the first content is located into N sub-areas non-uniformly. That is, the size of the N sub-regions can be the same or different. The details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
示例性的,如图5所示,在终端设备显示聊天界面001(即第一内容)的情况下,终端设备可以获取聊天界面001的边缘图像,并获取到边缘图像中所有像素点的数量150和终端设备的屏幕中所有像素点的数量1000,以及计算得到目标比值为0.15,从而可以确定目标行数为3行。另外,由于聊天界面001的内容类型为聊天界面类型,因此可以确定目标列数为1列。在确定目标行数和目标列数之后,终端设备按照3行1列的布局方式,通过行分割线R1和行分割线R2对第一内容所在的区域进行划分,即将第一内容所在区域划分为如图5所示的3个子区域,即子区域A1、子区域A2和子区域A3。Exemplarily, as shown in FIG. 5, when the terminal device displays the chat interface 001 (that is, the first content), the terminal device can obtain the edge image of the chat interface 001, and obtain the number of all pixels in the edge image 150 And the number of all pixels in the screen of the terminal device is 1000, and the calculated target ratio is 0.15, so that the target number of lines can be determined to be 3 lines. In addition, since the content type of the chat interface 001 is a chat interface type, it can be determined that the number of target columns is one column. After determining the number of target rows and the number of target columns, the terminal device divides the area where the first content is located according to the layout of 3 rows and 1 column through the row dividing line R1 and the row dividing line R2, that is, dividing the area where the first content is located into There are three sub-regions as shown in FIG. 5, namely, sub-region A1, sub-region A2, and sub-region A3.
本公开实施例所提供的截屏方法,通过确定目标行数和目标列数,可以根据目标行数和目标列数,将第一内容所在的区域划分为N个子区域。如此,在将第一内容所在的区域划分为N个子区域之后,可以从第一内容中截取N个截屏图像。According to the screenshot method provided by the embodiment of the present disclosure, by determining the number of target rows and the number of target columns, the area where the first content is located can be divided into N sub-areas according to the number of target rows and the number of target columns. In this way, after the area where the first content is located is divided into N sub-areas, N screenshots can be taken from the first content.
第二种可能的实现方式:The second possible implementation:
上述步骤102a中的“将第一内容所在的区域划分为N个子区域”具体包括:步骤102a4至步骤102a6。The "dividing the area where the first content is located into N sub-areas" in the foregoing step 102a specifically includes: step 102a4 to step 102a6.
步骤102a4、终端设备根据目标比值,确定目标列数。Step 102a4: The terminal device determines the number of target columns according to the target ratio.
可选地,本公开实施例中,终端设备中可以预先存储有多个比值和多个列数,且每个比值对应一个列数。具体可以根据实际使用需求确定,本公开实施例不作具体限定。Optionally, in the embodiment of the present disclosure, multiple ratios and multiple column numbers may be pre-stored in the terminal device, and each ratio corresponds to a column number. The details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
需要说明的是,对于根据目标比值,确定目标列数的具体方法,可以参考上述实施例步骤102a1中根据目标比值,确定目标行数的相关描述,此处不再赘述。It should be noted that for the specific method of determining the target column number according to the target ratio, refer to the description of determining the target row number according to the target ratio in step 102a1 of the foregoing embodiment, which will not be repeated here.
步骤102a5、终端设备根据第一内容的内容类型,确定目标行数。Step 102a5: The terminal device determines the number of target lines according to the content type of the first content.
可选地,本公开实施例中,终端设备中可以预先存储有多个第一内容的内容类型和多个行数,且每个第一内容的内容类型对应一个行数。具体可以根据实际使用需求确定,本公开实施例不作具体限定。Optionally, in the embodiment of the present disclosure, multiple content types and multiple line numbers of the first content may be pre-stored in the terminal device, and each content type of the first content corresponds to a line number. The details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
示例性的,在终端设备中可以存储有预设分类模型。终端设备可以将第一内容或第一内容的截图输入到预设分类模型中。具体地,若输入的第一内容的内容类型为聊天界面类型时,则目标行数可以为1;若输入的第一内容的内容类型为网页界面类型时,则目标行数可以为2;若输入的第一内容的内容类型为视频界面类型时,则目标 行数可以为3。Exemplarily, a preset classification model may be stored in the terminal device. The terminal device may input the first content or a screenshot of the first content into the preset classification model. Specifically, if the content type of the input first content is a chat interface type, the target line number may be 1; if the content type of the input first content is a web interface type, the target line number may be 2; if When the content type of the input first content is a video interface type, the number of target lines may be 3.
步骤102a6、终端设备按照目标行数和目标列数,将该第一内容所在的区域划分为N个子区域。Step 102a6: The terminal device divides the area where the first content is located into N sub-areas according to the number of target rows and the number of target columns.
本公开实施例所提供的截屏方法,通过确定目标行数和目标列数,可以根据目标行数和目标列数,将第一内容所在的区域划分为N个子区域。如此,在将第一内容所在的区域划分为N个子区域之后,可以从第一内容中截取N个截屏图像。According to the screenshot method provided by the embodiment of the present disclosure, by determining the number of target rows and the number of target columns, the area where the first content is located can be divided into N sub-areas according to the number of target rows and the number of target columns. In this way, after the area where the first content is located is divided into N sub-areas, N screenshots can be taken from the first content.
可选地,结合图3,如图6所示,在步骤102a中的“终端设备响应于第一输入,根据目标比值和第一内容的内容类型,将该第一内容所在的区域划分为N个子区域(以下可称为步骤102a7)”之后,在步骤102a中的“从每个子区域中分别截取一个截屏图像,得到N个截屏图像,以及显示N个截屏图像(以下可称为步骤102a8)”之前,本公开实施例所提供的截屏方法还可以包括:步骤103至步骤105。并且,上述步骤102a8的具体可以为步骤102a8a实现。Optionally, in conjunction with FIG. 3, as shown in FIG. 6, in step 102a, the terminal device responds to the first input and divides the area where the first content is located into N according to the target ratio and the content type of the first content. After sub-regions (hereinafter referred to as step 102a7)", in step 102a, “take a screenshot from each sub-region to obtain N screenshot images, and display N screenshot images (hereinafter may be referred to as step 102a8) "Before, the screenshot method provided by the embodiment of the present disclosure may further include: step 103 to step 105. In addition, the foregoing step 102a8 may be specifically implemented as step 102a8a.
步骤102a7、终端设备响应于第一输入,根据目标比值和第一内容的内容类型,将该第一内容所在的区域划分为N个子区域。Step 102a7: In response to the first input, the terminal device divides the area where the first content is located into N sub-areas according to the target ratio and the content type of the first content.
步骤103、终端设备根据图像检测算法,确定M个目标位置。Step 103: The terminal device determines M target positions according to the image detection algorithm.
其中,上述M个目标位置为M个图像内容在第一内容中的位置。Wherein, the aforementioned M target positions are positions of M image contents in the first content.
需要说明的是,本公开实施例中,第一内容可以包括M个图像内容,M个图像内容中的每一个图像内容对应一个目标位置。It should be noted that, in the embodiment of the present disclosure, the first content may include M image contents, and each image content of the M image contents corresponds to a target location.
可选地,本公开实施例中,一个图像内容可以为人脸内容、文字内容或其他可能的内容等。具体可以根据实际使用需求确定,本公开实施例不作具体限定。Optionally, in the embodiments of the present disclosure, one image content may be face content, text content, or other possible content. The details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
可选地,本公开实施例中,上述图像检测算法可以为以下任意一项:点检测算法、图像分割法、聚类分析法、或运动矢量场法。其中,聚类分析法具体可以为支持向量机,神经网络等。具体可以根据实际使用需求确定,本公开实施例不作具体限定。Optionally, in the embodiment of the present disclosure, the aforementioned image detection algorithm may be any one of the following: a point detection algorithm, an image segmentation method, a cluster analysis method, or a motion vector field method. Among them, the cluster analysis method may specifically be a support vector machine, a neural network, etc. The details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
示例性的,如图5所示,在第一内容001中可以包括有4个聊天消息(即4个图像内容),即:成员A的两条聊天消息、成员B的一条聊天消息、成员C的一条聊天消息。终端设备可以根据图像检测算法,获取成员A的两条聊天消息在第一内容中的位置分别为目标位置X1和目标位置X4,获取成员B的一条聊天消息在第一内容中的位置为目标位置X2,成员C的一条聊天消息在第一内容中的位置为目标位置X3。Exemplarily, as shown in FIG. 5, the first content 001 may include 4 chat messages (that is, 4 image contents), namely: two chat messages of member A, one chat message of member B, and member C Of a chat message. The terminal device can obtain the location of the two chat messages of member A in the first content as the target location X1 and the target location X4 according to the image detection algorithm, and obtain the location of a chat message of member B in the first content as the target location. X2, the position of a chat message of member C in the first content is the target position X3.
步骤104、终端设备检测每个目标位置是否位于N个子区域中的任意两个子区域之间。Step 104: The terminal device detects whether each target location is located between any two of the N sub-areas.
可选地,本公开实施例中,上述检测每个目标位置是否位于N个子区域中的任意两个子区域之间的算法可以为以下任意一项:点检测算法、图像分割法、聚类分析法、或运动矢量场法。其中,聚类分析法具体可以为支持向量机,神经网络等。具体可以根据实际使用需求确定,本公开实施例不作具体限定。Optionally, in the embodiment of the present disclosure, the above-mentioned algorithm for detecting whether each target position is located between any two subregions of the N subregions may be any one of the following: point detection algorithm, image segmentation method, cluster analysis method , Or motion vector field method. Among them, the cluster analysis method may specifically be a support vector machine, a neural network, etc. The details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
示例性的,仍以上述图5为例进行示例性说明。如图5所示,终端设备可以通过行分割线R1和行分割线R2,将聊天界面001划分为三个子区域:A1子区域、A2子区域和A3子区域。终端设备可以对4个聊天消息中每个聊天消息所在的区域进行检测,并检测到成员A的一条聊天消息的目标位置X1位于A1子区域,成员B的一条聊天消息的目标位置X2位于A1子区域和A2子区域,成员C的一条聊天消息的目标 位置X3位于A2子区域,成员A的另一条聊天消息的目标位置X4位于A2子区域和A3子区域。Exemplarily, the above-mentioned FIG. 5 is still taken as an example for exemplary description. As shown in Fig. 5, the terminal device can divide the chat interface 001 into three sub-areas: A1 sub-areas, A2 sub-areas, and A3 sub-areas through row dividing line R1 and row dividing line R2. The terminal device can detect the area where each of the 4 chat messages is located, and detect that the target location X1 of a chat message of member A is located in the A1 subarea, and the target location X2 of a chat message of member B is located in the A1 subarea. Area and A2 subarea, the target location X3 of a chat message of member C is located in the A2 subarea, and the target location X4 of another chat message of member A is located in the A2 subarea and the A3 subarea.
步骤105、在M个目标位置中的第一目标位置位于N个子区域中的两个子区域之间的情况下,终端设备重新对该N个子区域进行划分,以使该第一目标位置位于重新划分后的N个第一区域的一个第一区域中。Step 105: In the case where the first target position among the M target positions is located between two sub-areas in the N sub-areas, the terminal device re-divides the N sub-areas so that the first target position is located in the re-divided One of the next N first regions.
需要说明的是,本公开实施例中,在执行步骤105之后,若M个目标位置中的第一目标位置位于N个子区域中的两个子区域之间,则终端设备可以重复执行步骤105,直至M个目标位置中的每个目标位置仅位于N个子区域中的一个子区域内。It should be noted that, in the embodiment of the present disclosure, after step 105 is performed, if the first target position among the M target positions is located between two subregions of the N subregions, the terminal device can repeat step 105 until Each of the M target positions is located in only one of the N sub-areas.
此外,本公开实施例中,上述第一目标位置可以为M个目标位置中的任意一个位置。In addition, in the embodiment of the present disclosure, the above-mentioned first target position may be any one of the M target positions.
可选地,本公开实施例中,上述终端设备重新对该N个子区域划分,具体可以包括:先检测第一目标位置和两个子区域的位置关系;然后,根据该位置关系,适应性地调整区域划分。例如,可以增加子区域A的大小,并减小子区域B的大小,以使调整后的子区域A包括第一目标位置;也可以增加子区域B的大小,并减小子区域A的大小,以使子区域B包括第一目标位置。具体可以根据实际使用需求确定,本公开实施例不作具体限定。Optionally, in the embodiment of the present disclosure, the above-mentioned terminal device re-dividing the N sub-regions may specifically include: first detecting the position relationship between the first target position and the two sub-regions; then, adaptively adjusting according to the position relationship Regional division. For example, the size of sub-region A can be increased, and the size of sub-region B can be reduced, so that the adjusted sub-region A includes the first target position; it is also possible to increase the size of sub-region B and reduce the size of sub-region A , So that the sub-region B includes the first target position. The details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
示例性的,如图5所示,假设终端设备检测到成员B的一条聊天消息的目标位置X2位于A1子区域和A2子区域之间,成员A的一条聊天消息的目标位置X4位于A2子区域和A3子区域之间。如图7所示,终端设备可以通过行分割线R3和行分割线R4,重新划分A1子区域、A2子区域和A3子区域,其中,成员B的一条聊天消息的目标位置X2位于A1子区域,成员A的一条聊天消息的目标位置X4位于A3子区域。Exemplarily, as shown in FIG. 5, suppose the terminal device detects that the target location X2 of a chat message of member B is located between the A1 subregion and the A2 subregion, and the target location X4 of a chat message of member A is located in the A2 subregion. And A3 sub-area. As shown in Figure 7, the terminal device can re-divide the A1 sub-region, A2 sub-region and A3 sub-region through the row dividing line R3 and the row dividing line R4. The target position X2 of a chat message of member B is located in the A1 sub-region. , The target location X4 of a chat message of member A is located in the A3 subarea.
步骤102a8a、终端设备从重新划分后的N个第一区域的每个第一区域中,分别截取一个截屏图像。Step 102a8a: The terminal device captures a screenshot image from each of the re-divided N first regions.
示例性的,仍以上述图7为例进行示例性说明。如图7所示,终端设备可以从重新划分后的A1子区域截取目标位置为X1的成员A的一条聊天消息的截屏图像,也可以从重新划分后的A2子区域截取目标位置为X2的成员B和目标位置为X3的成员C的一条聊天消息的截屏图像,还可以从重新划分后的A3子区域截取目标位置为X4的成员A的一条聊天消息的截屏图像。Exemplarily, the above-mentioned FIG. 7 is still taken as an example for exemplary description. As shown in Figure 7, the terminal device can capture a screenshot of a chat message of member A whose target location is X1 from the re-divided sub-region A1, or it can capture members whose target location is X2 from the re-divided sub-region A2 A screenshot image of a chat message between member B and member C whose target location is X3, and a screenshot image of a chat message of member A whose target location is X4 can also be captured from the re-divided sub-region A3.
本公开实施例所提供的截屏方法,可以在检测到目标位置位于两个子区域之间的情况下,终端设备重新划分子区域,使得所有目标位置均位于重新划分后的一个子区域中。如此,终端设备可以从每个重新划分后的子区域中,均可以截取一个内容完整的截屏图像。The screen capture method provided by the embodiments of the present disclosure can re-divide the sub-areas by the terminal device when detecting that the target position is located between two sub-areas, so that all the target positions are located in the re-divided sub-areas. In this way, the terminal device can capture a screenshot with complete content from each re-divided sub-region.
可选地,本公开实施例中,在步骤102a中的“终端设备响应于第一输入,根据目标比值和第一内容的内容类型,将该第一内容所在的区域划分为N个子区域(以下可称为步骤102a7)”之后,在步骤102a中的“从每个子区域中分别截取一个截屏图像,得到N个截屏图像(以下可称为步骤102a8)”之前,本公开实施例所提供的截屏方法还可以包括:步骤106至步骤108。并且,上述步骤102a8的一种具体实现方式可以为步骤102a8b。Optionally, in the embodiment of the present disclosure, in step 102a, in response to the first input, the terminal device divides the area where the first content is located into N sub-areas (hereinafter, in response to the first input, the target ratio and the content type of the first content) It may be called step 102a7)” and before “taking a screenshot from each sub-region to obtain N screenshot images (hereinafter may be referred to as step 102a8)” in step 102a, the screenshot provided by the embodiment of the present disclosure The method may further include: step 106 to step 108. In addition, a specific implementation of the foregoing step 102a8 may be step 102a8b.
步骤102a7、终端设备响应于第一输入,根据目标比值和第一内容的内容类型, 将该第一内容所在的区域划分为N个子区域。Step 102a7: In response to the first input, the terminal device divides the area where the first content is located into N sub-areas according to the target ratio and the content type of the first content.
步骤106、终端设备在第一内容上叠加显示T个目标分割线。Step 106: The terminal device superimposes and displays T target dividing lines on the first content.
其中,上述目标分割线可以为行分割线或列分割线。T个目标分割线可以用于分割N个子区域,T为正整数。Wherein, the aforementioned target dividing line may be a row dividing line or a column dividing line. T target dividing lines can be used to divide N subregions, and T is a positive integer.
可选地,终端设备可以按照下述的方式A或方式B,对第一内容所在的区域划分:Optionally, the terminal device may divide the area where the first content is located according to the following method A or method B:
方式A、Method A,
若行分割线包括水平边界线,且列分割线包括竖直边界线,则目标分割线的数量T为行分割线的数量与列分割线的数量之和。假设行分割线用Y表示,列分割线用Z表示,那么T=Y+Z。相应的,第一内容所在的区域被划分为(Y-1)*(Z-1)个子区域。其中,T、Y和Z均为正整数。If the row dividing lines include horizontal boundary lines and the column dividing lines include vertical boundary lines, the number T of target dividing lines is the sum of the number of row dividing lines and the number of column dividing lines. Assuming that the row dividing line is represented by Y and the column dividing line is represented by Z, then T=Y+Z. Correspondingly, the area where the first content is located is divided into (Y-1)*(Z-1) sub-areas. Among them, T, Y and Z are all positive integers.
示例性的,仍以图4为例进行示例性说明。如图4所示,行分割线可以包括水平边界线R1、水平边界线R4、行分割线R2、行分割线R3,列分割线可以包括竖直边界线T1、竖直边界线T3、列分割线T2,即行分割线的数量为4,列分割线的数量为3,目标分割线T=4+3=7。相应的,第一内容所在的区域被划分为(4-1)*(3-1)=6个子区域。Illustratively, FIG. 4 is still taken as an example for illustrative description. As shown in FIG. 4, the row dividing line may include a horizontal boundary line R1, a horizontal boundary line R4, a row dividing line R2, a row dividing line R3, and a column dividing line may include a vertical boundary line T1, a vertical boundary line T3, and a column dividing line. Line T2, that is, the number of row dividing lines is 4, the number of column dividing lines is 3, and the target dividing line T=4+3=7. Correspondingly, the area where the first content is located is divided into (4-1)*(3-1)=6 sub-areas.
方式B、Method B,
若行分割线不包括水平边界线,且列分割线不包括竖直边界线,则目标分割线的数量T为行分割线的数量与列分割线的数量之和。假设行分割线用Y表示,列分割线用Z表示,那么T=Y+Z。相应的,第一内容所在的区域被划分为(Y+1)*(Z+1)个子区域。其中,T、Y和Z均为正整数。If the row dividing line does not include the horizontal boundary line and the column dividing line does not include the vertical boundary line, the number T of the target dividing line is the sum of the number of row dividing lines and the number of column dividing lines. Assuming that the row dividing line is represented by Y and the column dividing line is represented by Z, then T=Y+Z. Correspondingly, the area where the first content is located is divided into (Y+1)*(Z+1) sub-areas. Among them, T, Y and Z are all positive integers.
示例性的,仍以图4为例进行示例性说明,如图4所示,行分割线可以包括水平边界线R1、水平边界线R4、行分割线R2、行分割线R3,列分割线可以包括竖直边界线T1、竖直边界线T3、列分割线T2,即行分割线的数量为2,列分割线的数量为1,目标分割线T=2+1=3。相应的,第一内容所在的区域被划分为(2+1)*(1+1)=6个子区域。Exemplarily, still taking FIG. 4 as an example for illustrative description, as shown in FIG. 4, the row dividing line may include a horizontal boundary line R1, a horizontal boundary line R4, a row dividing line R2, a row dividing line R3, and a column dividing line may Including vertical boundary line T1, vertical boundary line T3, column dividing line T2, that is, the number of row dividing lines is 2, the number of column dividing lines is 1, and the target dividing line T=2+1=3. Correspondingly, the area where the first content is located is divided into (2+1)*(1+1)=6 sub-areas.
可选地,本公开实施例中,第一内容和目标分割线可以位于同一个视图中,也可以为位于不同的视图中。具体地,对于第一内容和目标分割线位于同一个视图中的情况,终端设备可以在第一内容上叠加显示目标分割线;对于第一内容和目标分割线位于不同的视图中的情况,终端设备可以先显示第一内容的视图,再在第一内容的视图上,叠加显示一个预设透明度的布局视图,其中,该布局视图包括目标分割线。Optionally, in the embodiment of the present disclosure, the first content and the target dividing line may be located in the same view, or may be located in different views. Specifically, for the case where the first content and the target dividing line are in the same view, the terminal device may superimpose and display the target dividing line on the first content; for the case where the first content and the target dividing line are in different views, the terminal The device may first display the view of the first content, and then superimpose and display a layout view with a preset transparency on the view of the first content, where the layout view includes the target dividing line.
示例性的,以第一内容和目标分割线位于不同的视图中为例进行示例性说明。如图8中的(a)所示,为本公开实施例提供的一种布局视图002,该布局视图002中可以包括行分割线R1、行分割线R2、行分割线R3、以及列分割线T1。如图8中的(b)所示,为本公开实施例提供的一种在终端设备的屏幕中显示第一内容001的示意图。如图8中的(c)所示,终端设备可以在第一内容001上叠加显示布局视图002。Exemplarily, the first content and the target dividing line are located in different views as an example for exemplary description. As shown in (a) in FIG. 8, a layout view 002 provided by an embodiment of the present disclosure may include a row dividing line R1, a row dividing line R2, a row dividing line R3, and a column dividing line. T1. As shown in FIG. 8(b), it is a schematic diagram of displaying the first content 001 on the screen of the terminal device according to an embodiment of the present disclosure. As shown in (c) of FIG. 8, the terminal device may superimpose and display the layout view 002 on the first content 001.
步骤107、终端设备接收用户对T个目标分割线的第二输入。Step 107: The terminal device receives the second input of the user on the T target dividing lines.
可选地,本公开实施例中,上述第二输入可以为以下任意一种:变更目标分割线的位置输入,用户添加目标分割线的输入,用户删除已有目标分割线的输入。具体可以根据实际使用需求确定,本公开实施例不作具体限定。Optionally, in the embodiment of the present disclosure, the above-mentioned second input may be any one of the following: input of changing the position of the target dividing line, input of adding the target dividing line by the user, and input of deleting the existing target dividing line by the user. The details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
可选地,上述变更目标分割线的位置输入可以为:对目标分割线的拖动输入,对目标分割线的点击输入。Optionally, the input for changing the position of the target dividing line may be: drag input to the target dividing line, and click input to the target dividing line.
示例性的,以第二输入为用户对目标分割线的拖动输入为例进行示例性说明。如图9中的(a)所示,行分割线R1和行分割线R2将第一内容001划分为:A1子区域、A2子区域和A3子区域,且终端设备检测到成员B的一条聊天消息的目标位置X2位于A1子区域和A2子区域之间,成员A的一条聊天消息的目标位置X4位于A2子区域和A4子区域之间。如果用户想要重新划分区域,那么用户可以沿F1方向拖动行分割线R1,并沿F1方向拖动行分割线R2,那么,终端设备可以响应于用户的拖动输入(即第二输入),如图9中的(b)所示,终端设备可以从重新划分后的A2子区域截取目标位置为X2的成员B和目标位置为X3的成员C的一条聊天消息的截屏图像,也可以从重新划分后的A3子区域截取目标位置为X4的成员A的一条聊天消息的截屏图像。Exemplarily, the second input is the user's drag input of the target dividing line as an example. As shown in (a) in Figure 9, the row dividing line R1 and the row dividing line R2 divide the first content 001 into: A1 sub-region, A2 sub-region, and A3 sub-region, and the terminal device detects a chat of member B The target location X2 of the message is located between the A1 subarea and the A2 subarea, and the target location X4 of a chat message of member A is located between the A2 subarea and the A4 subarea. If the user wants to re-divide the area, the user can drag the row dividing line R1 along the F1 direction and drag the row dividing line R2 along the F1 direction, then the terminal device can respond to the user's drag input (ie the second input) As shown in Figure 9(b), the terminal device can capture a screenshot of a chat message of member B whose target position is X2 and member C whose target position is X3 from the re-divided sub-areas of A2, or from The re-divided sub-region A3 captures a screenshot image of a chat message of member A whose target position is X4.
示例性的,以第二输入可以为对目标分割线的点击输入为例进行示例性说明,在用户使用终端设备的过程中,如果用户对终端设备通过目标分割线划分N个子区域不满意,那么用户可以先通过点击输入选中一个目标区域,再点击目标分割线,从而终端设备可以将该目标分割线移动到该一个目标区域。Exemplarily, the second input may be a click input on the target dividing line as an example. During the user's use of the terminal device, if the user is not satisfied that the terminal device divides N sub-areas by the target dividing line, then The user can first select a target area by clicking input, and then click the target dividing line, so that the terminal device can move the target dividing line to the target area.
示例性的,如图10中的(a)所示,行分割线R1和行分割线R2将第一内容001所在的区域划分为:A1子区域、A2子区域和A3子区域。如果用户想要增加一条列分割线,那么用户可以长按如图10中的(a)所示的行分割线R2,从而终端设备响应于该长按输入(即第二输入),显示菜单004。如果用户点击菜单004中的“添加一列”选项,那么,如图10中的(b)所示,终端设备可以添加一条列分割线T2。可选地,用户还可以拖动列分割线T2,以将列分割线T2移动到用户需要的位置。Exemplarily, as shown in FIG. 10(a), the row dividing line R1 and the row dividing line R2 divide the area where the first content 001 is located into: A1 sub-areas, A2 sub-areas, and A3 sub-areas. If the user wants to add a column dividing line, the user can long press the row dividing line R2 as shown in (a) in Figure 10, so that the terminal device responds to the long press input (ie the second input) and displays the menu 004 . If the user clicks on the "add a column" option in the menu 004, then, as shown in (b) in Figure 10, the terminal device can add a column dividing line T2. Optionally, the user can also drag the column dividing line T2 to move the column dividing line T2 to a position required by the user.
步骤108、终端设备响应于第二输入,将T个目标分割线更新为K个目标分割线,并将第一内容所在的区域重新划分H个子区域。Step 108: In response to the second input, the terminal device updates the T target segmentation lines to K target segmentation lines, and re-divides the area where the first content is located into H sub-areas.
其中,K和H均为正整数。Among them, K and H are both positive integers.
需要说明的是,本公开实施例中,在终端设备重新对N个子区域划分之后,将第一内容所在的区域被重新划分为H个子区域。It should be noted that, in the embodiment of the present disclosure, after the terminal device re-divides the N sub-areas, the area where the first content is located is re-divided into H sub-areas.
此外,本公开实施例中,对于将T个目标分割线更新为K个目标分割线,并将第一内容所在的区域重新划分H个子区域的具体实现方式,可以参照上述实施例106中的相关描述,此处不予赘述。In addition, in the embodiment of the present disclosure, for the specific implementation of updating T target segmentation lines to K target segmentation lines, and re-dividing the area where the first content is located, H sub-areas, please refer to the correlation in the above embodiment 106. The description is not repeated here.
步骤102a8b、终端设备从重新划分后的H个子区域的每个区域中,分别截取一个截屏图像。Step 102a8b: The terminal device captures a screenshot image from each of the re-divided H sub-areas.
本公开实施例所提供的截屏方法,在用户对终端设备划分的N个子区域不满意的情况下,用户可以通过用户调整分割线的位置、增加分割线或减少分割线,从而可以实现对第一内容的所在区域的重新划分,并从重新划分后的H个子区域的每个子区域截取一个截屏图像。如此提高了终端设备划分区域的灵活性,并使得截取的图像更贴合用户需求。In the screenshot method provided by the embodiments of the present disclosure, when the user is not satisfied with the N sub-areas divided by the terminal device, the user can adjust the position of the dividing line, increase the dividing line, or reduce the dividing line, so as to realize the first Re-divide the area where the content is located, and take a screenshot from each of the re-divided H sub-areas. This improves the flexibility of the terminal device to divide the area, and makes the intercepted image more suitable for user needs.
可选地,结合图2,如图11所示,在步骤102之后,本公开实施例所提供的截屏方法还可以包括:步骤109和步骤110。Optionally, in conjunction with FIG. 2, as shown in FIG. 11, after step 102, the screenshot method provided by the embodiment of the present disclosure may further include: step 109 and step 110.
步骤109、终端设备接收用户对N个截屏图像中的至少一个截屏图像的第三输入。Step 109: The terminal device receives a third input from the user to at least one screenshot image among the N screenshot images.
需要说明的是,上述图11是以第三输入为对终端设备显示的N个截屏图像的输入为例进行示例性说明的,其并不对本公开实施例形成任何限定。可以理解,如果终端设备显示有H个截屏图像,那么第三输入可以为对终端设备显示的H个截屏图像的输入。It should be noted that the above-mentioned FIG. 11 exemplarily illustrates that the third input is the input of N screenshot images displayed by the terminal device as an example, which does not form any limitation on the embodiment of the present disclosure. It can be understood that if the terminal device displays H screenshot images, the third input may be an input to the H screenshot images displayed by the terminal device.
可选地,本公开实施例中,上述第三输入可以为对N个截屏图像中的至少一个截屏图像的点击输入,也可以为N个截屏图像中的至少一个截屏图像的拖动输入。具体可以根据实际使用需求确定,本公开实施例不作具体限定。Optionally, in the embodiment of the present disclosure, the above-mentioned third input may be a click input of at least one screenshot image among the N screenshot images, or a drag input of at least one screenshot image among the N screenshot images. The details can be determined according to actual use requirements, and the embodiments of the present disclosure do not make specific limitations.
示例性的,以第三输入为用户对N个截屏图像中的至少一个截屏图像的点击输入为例进行示例性说明。如果用户想要对N个截屏图像中的两个截屏图像进行目标操作,那么用户可以手指依次点击这两个截屏图像,从而终端设备可以接收该点击输入(即第三输入)。Exemplarily, the third input is a user's click input on at least one screenshot image among the N screenshot images as an example for exemplifying description. If the user wants to perform a target operation on two screenshot images of the N screenshot images, the user can click the two screenshot images in turn with his finger, so that the terminal device can receive the click input (that is, the third input).
步骤110、终端设备响应于该第三输入,对该至少一个截屏图像执行目标操作。Step 110: In response to the third input, the terminal device performs a target operation on the at least one screenshot image.
本公开实施例中,上述目标操作为可以对至少一个截屏图像执行的预设类型操作。In the embodiment of the present disclosure, the foregoing target operation is a preset type of operation that can be performed on at least one screenshot image.
可选地,上述预设类型操作可以包括以下任一项:在截屏图像的数量多个的情况下,合并多个截屏图像;删除至少一个截屏图像;保存至少一个截屏图像;发送至少一个截屏图像。Optionally, the foregoing preset type operation may include any one of the following: in the case of multiple screenshot images, merging multiple screenshot images; deleting at least one screenshot image; saving at least one screenshot image; sending at least one screenshot image .
示例性的,如图12所示,终端设备显示第一内容001,行分割线R1和行分割线R2将第一内容001划分为:A1子区域、A2子区域和A3子区域。如果用户想要将A1子区域的截屏图像和A3子区域的截屏图像合并为一个截屏图像,那么用户可以通过对A1子区域的截屏图像和A3子区域的截屏图像的点击输入,触发终端设备可以选中这两个图像,然后,用户可以通过合并操作,触发终端设备将将A1子区域的截屏图像和A3子区域的截屏图像合并为一个截屏图像。Exemplarily, as shown in FIG. 12, the terminal device displays the first content 001, and the row dividing line R1 and the row dividing line R2 divide the first content 001 into: A1 subregion, A2 subregion and A3 subregion. If the user wants to merge the screenshot image of the A1 sub-area and the screenshot image of the A3 sub-area into one screenshot image, the user can click the screenshot image of the A1 sub-area and the screenshot image of the A3 sub-area to trigger the terminal device to Select these two images, and then the user can use the merge operation to trigger the terminal device to merge the screenshot image of the A1 subarea and the screenshot image of the A3 subarea into one screenshot image.
本公开实施例所提供的截屏方法,在终端设备截取多个截屏图像之后,用户可以通过第三输入,对至少一个截屏图像进行合并、删除、保存、发送等操作,从而可以对至少一个截屏图像的编辑效率。In the screenshot method provided by the embodiments of the present disclosure, after the terminal device captures multiple screenshot images, the user can merge, delete, save, and send at least one screenshot image through a third input, so that at least one screenshot image can be processed The editing efficiency.
需要说明的是,本公开实施例中,上述各个附图所示的截屏方法均是以结合本公开实施例中的一个附图为例示例性的说明的。具体实现时,上述各个附图所示的截屏方法还可以结合上述实施例中示意的其它可以结合的任意附图实现,此处不再赘述。It should be noted that, in the embodiments of the present disclosure, the screenshot methods shown in each of the above drawings are all exemplarily described in conjunction with one drawing in the embodiment of the present disclosure. In a specific implementation, the screenshot method shown in each of the above figures can also be implemented in combination with any other figures illustrated in the above embodiments that can be combined, and will not be repeated here.
如图13所示,本公开实施例提供一种终端设备1300。该终端设备包括:接收模块1301、处理模块1302和显示模块1303。接收模块1301,可以用于在显示模块1303显示第一内容的情况下,接收用户的第一输入。处理模块1302,可以用于响应于接收模块1301接收的第一输入,将该第一内容所在的区域划分为N个子区域,并从每个子区域中分别截取一个截屏图像,得到N个截屏图像。显示模块1303,可以用于显示处理模块1302截取的N个截屏图像。其中,N为大于或等于2的整数。As shown in FIG. 13, an embodiment of the present disclosure provides a terminal device 1300. The terminal device includes: a receiving module 1301, a processing module 1302, and a display module 1303. The receiving module 1301 may be used to receive the user's first input when the display module 1303 displays the first content. The processing module 1302 may be configured to respond to the first input received by the receiving module 1301, divide the area where the first content is located into N sub-areas, and respectively capture a screenshot image from each sub-region to obtain N screenshot images. The display module 1303 can be used to display the N screenshot images captured by the processing module 1302. Wherein, N is an integer greater than or equal to 2.
可选地,处理模块1302,具体可以用于根据目标比值和第一内容的内容类型,将该第一内容所在的区域划分为N个子区域。其中,该目标比值可以为边缘图像中所有像素点的数量与终端设备的屏幕中所有像素点的数量的比值,该边缘图像可以为对该第一内容进行边缘提取后得到的图像。Optionally, the processing module 1302 may be specifically configured to divide the area where the first content is located into N sub-areas according to the target ratio and the content type of the first content. The target ratio may be the ratio of the number of all pixels in the edge image to the number of all pixels in the screen of the terminal device, and the edge image may be an image obtained after edge extraction of the first content.
可选地,处理模块1302,具体可以用于根据目标比值,确定目标行数;并根据第一内容的内容类型,确定目标列数;以及按照该目标行数和该目标列数,将该第一内容所在的区域划分为N个子区域。Optionally, the processing module 1302 may be specifically configured to determine the target number of rows according to the target ratio; and determine the target number of columns according to the content type of the first content; and, according to the target number of rows and the target number of columns, the second The area where a content is located is divided into N sub-areas.
可选地,处理模块1302,具体可以用于根据目标比值,确定目标列数;并根据第一内容的内容类型,确定目标行数;以及按照该目标行数和该目标列数,将该第一内容所在的区域划分为N个子区域。Optionally, the processing module 1302 can be specifically configured to determine the target number of columns according to the target ratio; and determine the target number of rows according to the content type of the first content; and, according to the target number of rows and the target number of columns, the second The area where a content is located is divided into N sub-areas.
可选地,处理模块1302,还可以用于在将第一内容所在的区域划分为N个子区域之后,根据图像检测算法,确定M个目标位置,该M个目标位置为M个图像内容分别在第一内容中的位置,M为正整数;并检测每个目标位置是否位于N个子区域中的任意两个子区域之间;以及在该M个目标位置中的第一目标位置位于该N个子区域中的两个子区域之间的情况下,重新对该N个子区域进行划分,以使该第一目标位置位于重新划分后的该N个第一区域的一个第一区域中。处理模块1302,具体可以用于从N个第一区域的每个第一区域中,分别截取一个截屏图像。Optionally, the processing module 1302 may also be used to, after dividing the area where the first content is located into N sub-areas, determine M target positions according to the image detection algorithm, where the M target positions are M image contents respectively The position in the first content, M is a positive integer; and it is detected whether each target position is located between any two subregions in the N subregions; and the first target position among the M target positions is located in the N subregions In the case of between two sub-regions in, the N sub-regions are re-divided, so that the first target location is located in a first region of the re-divided N first regions. The processing module 1302 may be specifically configured to capture a screenshot image from each first region of the N first regions.
可选地,显示模块1303,还可以用于在将第一内容所在的区域划分为N个子区域之后,在第一内容上叠加显示T个目标分割线,该目标分割线可以为行分割线或列分割线,该T个目标分割线用于分割N个子区域,T为正整数。接收模块1301,还可以用于接收用户对该T个目标分割线的第二输入。显示模块1303,还可以用于响应于接收模块1301接收的第二输入,将该T个目标分割线更新为K个目标分割线,并将第一内容所在的区域重新划分成H个子区域,K和H均为正整数。处理模块1302,具体可以用于从重新划分后的该N个子区域的每个子区域中,分别截取一个截屏图像。Optionally, the display module 1303 may also be used to superimpose and display T target dividing lines on the first content after dividing the area where the first content is located into N sub-areas. The target dividing lines may be row dividing lines or Column dividing line, the T target dividing lines are used to divide N sub-regions, and T is a positive integer. The receiving module 1301 may also be used to receive the second input of the user for the T target dividing lines. The display module 1303 can also be used to update the T target segmentation lines to K target segmentation lines in response to the second input received by the receiving module 1301, and re-divide the area where the first content is located into H sub-areas, K And H are both positive integers. The processing module 1302 may be specifically used to capture a screenshot image from each of the re-divided N sub-areas.
可选地,接收模块1301,还可以用于在将第一内容所在的区域划分为N个子区域之后,接收用户对N个截屏图像中的至少一个截屏图像的第三输入。处理模块1302,还可以用于响应于接收模块1301接收的该第三输入,对该至少一个截屏图像执行目标操作。Optionally, the receiving module 1301 may be further configured to receive the third input of the user on at least one screenshot image among the N screenshot images after the area where the first content is located is divided into N subregions. The processing module 1302 may also be configured to perform a target operation on the at least one screenshot image in response to the third input received by the receiving module 1301.
本公开实施例提供的终端设备能够实现上述方法实施例中终端设备实现的各个过程,为避免重复,这里不再赘述。The terminal device provided in the embodiment of the present disclosure can implement each process implemented by the terminal device in the foregoing method embodiment, and to avoid repetition, details are not described herein again.
本公开实施例提供一种终端设备,如果用户对多个区域内容感兴趣,那么用户可以通过一个输入,触发终端设备将第一内容所在的区域划分为多个子区域,并从每个子区域中分别截取一个截屏图像,即可以通过一个输入获取多个截屏图像,从而可以简化获取多个截屏图像的过程。Embodiments of the present disclosure provide a terminal device. If a user is interested in content in multiple regions, the user can trigger the terminal device to divide the region where the first content is located into multiple subregions through an input, and separate each subregion from each subregion. To capture a screenshot image, you can obtain multiple screenshot images through one input, which can simplify the process of obtaining multiple screenshot images.
图14为实现本公开各个实施例的一种终端设备200的硬件结构示意图。如图14所示,该终端设备200包括但不限于:射频单元201、网络模块202、音频输出单元203、输入单元204、传感器205、显示单元206、用户输入单元207、接口单元208、存储器209、处理器210、以及电源211等部件。本领域技术人员可以理解,图14中示出的终端设备结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、以及计步器等。FIG. 14 is a schematic diagram of the hardware structure of a terminal device 200 that implements various embodiments of the present disclosure. As shown in FIG. 14, the terminal device 200 includes but is not limited to: a radio frequency unit 201, a network module 202, an audio output unit 203, an input unit 204, a sensor 205, a display unit 206, a user input unit 207, an interface unit 208, and a memory 209 , Processor 210, and power supply 211. Those skilled in the art can understand that the structure of the terminal device shown in FIG. 14 does not constitute a limitation on the terminal device. The terminal device may include more or fewer components than shown in the figure, or a combination of certain components, or different components. Layout. In the embodiments of the present disclosure, terminal devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminal devices, wearable devices, and pedometers.
其中,用户输入单元207,可以用于在显示单元206显示第一内容的情况下,接 收用户的第一输入。处理器210,可以用于响应于用户输入单元207接收的该第一输入,将第一内容所在的区域划分为N个子区域,并从每个子区域中分别截取一个截屏图像,得到N个截屏图像。显示单元206,可以用于显示处理器210截取的N个截屏图像。N为大于或等于2的整数。The user input unit 207 may be used to receive the first input of the user when the display unit 206 displays the first content. The processor 210 may be configured to, in response to the first input received by the user input unit 207, divide the area where the first content is located into N sub-areas, and respectively capture a screenshot image from each sub-region to obtain N screenshot images . The display unit 206 may be used to display N screenshot images captured by the processor 210. N is an integer greater than or equal to 2.
本公开实施例提供一种终端设备,如果用户对多个区域内容感兴趣,那么用户可以通过一个输入,触发终端设备将第一内容所在的区域划分为多个子区域,并从每个子区域中分别截取一个截屏图像,即可以通过一个输入获取多个截屏图像,从而可以简化获取多个截屏图像的过程。Embodiments of the present disclosure provide a terminal device. If a user is interested in content in multiple regions, the user can trigger the terminal device to divide the region where the first content is located into multiple subregions through an input, and separate each subregion from each subregion. To capture a screenshot image, you can obtain multiple screenshot images through one input, which can simplify the process of obtaining multiple screenshot images.
应理解的是,本公开实施例中,射频单元201可用于收发信息或通话过程中,信号的接收和发送,具体地,将来自基站的下行数据接收后,给处理器210处理;另外,将上行的数据发送给基站。通常,射频单元201包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元201还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present disclosure, the radio frequency unit 201 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 210; Uplink data is sent to the base station. Generally, the radio frequency unit 201 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 201 can also communicate with the network and other devices through a wireless communication system.
终端设备通过网络模块202为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal device provides users with wireless broadband Internet access through the network module 202, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元203可以将射频单元201或网络模块202接收的或者在存储器209中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元203还可以提供与终端设备200执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元203包括扬声器、蜂鸣器以及受话器等。The audio output unit 203 can convert the audio data received by the radio frequency unit 201 or the network module 202 or stored in the memory 209 into audio signals and output them as sounds. Moreover, the audio output unit 203 may also provide audio output related to a specific function performed by the terminal device 200 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 203 includes a speaker, a buzzer, a receiver, and the like.
输入单元204用于接收音频或视频信号。输入单元204可以包括图形处理器(graphics processing unit,GPU)2041和麦克风2042,图形处理器2041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元206上。经图形处理器2041处理后的图像帧可以存储在存储器209(或其它存储介质)中或者经由射频单元201或网络模块202进行发送。麦克风2042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元201发送到移动通信基站的格式输出。The input unit 204 is used to receive audio or video signals. The input unit 204 may include a graphics processing unit (GPU) 2041 and a microphone 2042. The graphics processing unit 2041 is configured to monitor still pictures or video images obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed. The processed image frame may be displayed on the display unit 206. The image frame processed by the graphics processor 2041 may be stored in the memory 209 (or other storage medium) or sent via the radio frequency unit 201 or the network module 202. The microphone 2042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to the mobile communication base station via the radio frequency unit 201 in the case of a telephone call mode for output.
终端设备200还包括至少一种传感器205,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板2061的亮度,接近传感器可在终端设备200移动到耳边时,关闭显示面板2061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器205还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal device 200 also includes at least one sensor 205, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 2061 according to the brightness of the ambient light. The proximity sensor can close the display panel 2061 and the display panel 2061 when the terminal device 200 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the posture of the terminal device (such as horizontal and vertical screen switching, related games) , Magnetometer posture calibration), vibration recognition related functions (such as pedometer, tap), etc.; sensor 205 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元206用于显示由用户输入的信息或提供给用户的信息。显示单元206可包括显示面板2061,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置显示面板2061。The display unit 206 is used to display information input by the user or information provided to the user. The display unit 206 may include a display panel 2061, and the display panel 2061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
用户输入单元207可用于接收输入的数字或字符信息,以及产生与终端设备的用户设 置以及功能控制有关的键信号输入。具体地,用户输入单元207包括触控面板2071以及其他输入设备2072。触控面板2071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板2071上或在触控面板2071附近的操作)。触控面板2071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器210,接收处理器210发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板2071。除了触控面板2071,用户输入单元207还可以包括其他输入设备2072。具体地,其他输入设备2072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 207 can be used to receive input digital or character information, and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 207 includes a touch panel 2071 and other input devices 2072. The touch panel 2071, also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 2071 or near the touch panel 2071. operating). The touch panel 2071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 210, the command sent by the processor 210 is received and executed. In addition, the touch panel 2071 can be realized in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 2071, the user input unit 207 may also include other input devices 2072. Specifically, other input devices 2072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
可选地,触控面板2071可覆盖在显示面板2061上,当触控面板2071检测到在其上或附近的触摸操作后,传送给处理器210以确定触摸事件的类型,随后处理器210根据触摸事件的类型在显示面板2061上提供相应的视觉输出。虽然在图14中,触控面板2071与显示面板2061是作为两个独立的部件来实现终端设备的输入和输出功能,但是在某些实施例中,可以将触控面板2071与显示面板2061集成而实现终端设备的输入和输出功能,具体此处不做限定。Optionally, the touch panel 2071 can be overlaid on the display panel 2061. When the touch panel 2071 detects a touch operation on or near it, it transmits it to the processor 210 to determine the type of touch event, and then the processor 210 The type of touch event provides corresponding visual output on the display panel 2061. Although in FIG. 14, the touch panel 2071 and the display panel 2061 are used as two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 2071 and the display panel 2061 can be integrated The implementation of the input and output functions of the terminal device is not specifically limited here.
接口单元208为外部装置与终端设备200连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元208可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备200内的一个或多个元件或者可以用于在终端设备200和外部装置之间传输数据。The interface unit 208 is an interface for connecting an external device with the terminal device 200. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 208 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the terminal device 200 or can be used to connect the terminal device 200 to an external device. Transfer data between devices.
存储器209可用于存储软件程序以及各种数据。存储器209可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器209可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 209 can be used to store software programs and various data. The memory 209 may mainly include a storage program area and a storage data area. The storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data (such as audio data, phone book, etc.) created by the use of mobile phones. In addition, the memory 209 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器210是终端设备的控制中心,利用各种接口和线路连接整个终端设备的各个部分,通过运行或执行存储在存储器209内的软件程序和/或模块,以及调用存储在存储器209内的数据,执行终端设备的各种功能和处理数据,从而对终端设备进行整体监控。处理器210可包括一个或多个处理单元;可选地,处理器210可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器210中。The processor 210 is the control center of the terminal device. It uses various interfaces and lines to connect the various parts of the entire terminal device, runs or executes the software programs and/or modules stored in the memory 209, and calls the data stored in the memory 209. , Perform various functions of the terminal equipment and process data, so as to monitor the terminal equipment as a whole. The processor 210 may include one or more processing units; optionally, the processor 210 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc. The adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 210.
终端设备200还可以包括给各个部件供电的电源211(比如电池),可选地,电源211可以通过电源管理系统与处理器210逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal device 200 may also include a power source 211 (such as a battery) for supplying power to various components. Optionally, the power source 211 may be logically connected to the processor 210 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
另外,终端设备200包括一些未示出的功能模块,在此不再赘述。In addition, the terminal device 200 includes some functional modules not shown, which will not be repeated here.
可选地,本公开实施例还提供一种终端设备,包括如图14所示的处理器210,存储器209,存储在存储器209上并可在处理器210上运行的计算机程序,该计算机程序被处理 器210执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present disclosure further provides a terminal device, including a processor 210 as shown in FIG. 14, a memory 209, a computer program stored in the memory 209 and running on the processor 210, and the computer program is The processor 210 implements each process of the foregoing method embodiment when executing, and can achieve the same technical effect. To avoid repetition, details are not repeated here.
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,计算机可读存储介质,如只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等。The embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, each process of the foregoing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, I won’t repeat them here. Among them, computer-readable storage media, such as read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例描述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of the present disclosure essentially or the part that contributes to the related technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk). ) Includes several instructions to make a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present disclosure.
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。The embodiments of the present disclosure are described above with reference to the accompanying drawings, but the present disclosure is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of the present disclosure, many forms can be made without departing from the purpose of the present disclosure and the scope of protection of the claims, all of which fall within the protection of the present disclosure.

Claims (14)

  1. 一种截屏方法,应用于终端设备,所述方法包括:A screenshot method applied to a terminal device, the method including:
    在显示第一内容的情况下,接收用户的第一输入;In the case of displaying the first content, receiving the user's first input;
    响应于所述第一输入,将所述第一内容所在的区域划分为N个子区域,并从每个子区域中分别截取一个截屏图像,得到N个截屏图像,以及显示所述N个截屏图像;In response to the first input, dividing the area where the first content is located into N sub-areas, and respectively intercepting a screenshot image from each sub-region to obtain N screenshot images, and displaying the N screenshot images;
    其中,N为大于或等于2的整数。Wherein, N is an integer greater than or equal to 2.
  2. 根据权利要求1所述的方法,所述将所述第一内容所在的区域划分为N个子区域,包括:The method according to claim 1, wherein the dividing the area where the first content is located into N sub-areas comprises:
    根据目标比值和所述第一内容的内容类型,将所述第一内容所在的区域划分为N个子区域;Dividing the area where the first content is located into N sub-areas according to the target ratio and the content type of the first content;
    其中,所述目标比值为边缘图像中所有像素点的数量与所述终端设备的屏幕中所有像素点的数量的比值,所述边缘图像为对所述第一内容进行边缘提取后得到的图像。Wherein, the target ratio is a ratio of the number of all pixels in the edge image to the number of all pixels in the screen of the terminal device, and the edge image is an image obtained after edge extraction of the first content.
  3. 根据权利要求2所述的方法,其中,所述根据目标比值和所述第一内容的内容类型,将所述第一内容所在的区域划分为N个子区域,包括:The method according to claim 2, wherein the dividing the area where the first content is located into N sub-areas according to the target ratio and the content type of the first content comprises:
    根据所述目标比值,确定目标行数;Determine the number of target rows according to the target ratio;
    根据所述第一内容的内容类型,确定目标列数;Determine the number of target columns according to the content type of the first content;
    按照所述目标行数和所述目标列数,将所述第一内容所在的区域划分为所述N个子区域。According to the target number of rows and the target number of columns, the area where the first content is located is divided into the N sub-areas.
  4. 根据权利要求2所述的方法,在所述将所述第一内容所在的区域划分为N个子区域之后,在所述从每个子区域中分别截取一个截屏图像之前,所述方法还包括:The method according to claim 2, after said dividing the area where the first content is located into N sub-areas, and before said capturing a screenshot image from each sub-areas, the method further comprises:
    根据图像检测算法,确定M个目标位置,所述M个目标位置为M个图像内容分别在所述第一内容中的位置,M为正整数;Determine M target positions according to an image detection algorithm, where the M target positions are the positions of the M image contents in the first content, and M is a positive integer;
    检测每个目标位置是否位于所述N个子区域中的任意两个子区域之间;Detecting whether each target position is located between any two of the N sub-areas;
    在所述M个目标位置中的第一目标位置位于所述N个子区域中的两个子区域之间的情况下,重新对所述N个子区域进行划分,以使所述第一目标位置位于重新划分后的N个第一区域的一个第一区域中;In the case that the first target position among the M target positions is located between two sub-regions of the N sub-regions, the N sub-regions are re-divided so that the first target position is located in the new One of the divided N first regions;
    所述从每个子区域中分别截取一个截屏图像,包括:The capturing a screenshot image from each sub-area includes:
    从所述N个第一区域的每个第一区域中,分别截取一个截屏图像。From each first area of the N first areas, a screenshot image is taken respectively.
  5. 根据权利要求2所述的方法,其中,在所述将所述第一内容所在的区域划分为N个子区域之后,在所述从每个子区域中分别截取一个截屏图像之前,所述方法还包括:The method according to claim 2, wherein after said dividing the area where the first content is located into N sub-areas, before said capturing a screenshot image from each sub-areas, the method further comprises :
    在所述第一内容上叠加显示T个目标分割线,所述目标分割线为行分割线或列分割线,所述T个目标分割线用于分割所述N个子区域,T为正整数;Superimposing and displaying T target dividing lines on the first content, the target dividing lines are row dividing lines or column dividing lines, the T target dividing lines are used to divide the N sub-regions, and T is a positive integer;
    接收用户对所述T个目标分割线的第二输入;Receiving a user's second input on the T target dividing lines;
    响应于所述第二输入,将所述T个目标分割线更新为K个目标分割线,并将所述第一内容所在的区域重新划分成H个子区域,K和H均为正整数;In response to the second input, update the T target dividing lines to K target dividing lines, and re-divide the area where the first content is located into H sub-areas, where K and H are both positive integers;
    所述从每个子区域中分别截取一个截屏图像,包括:The capturing a screenshot image from each sub-area includes:
    从重新划分后的所述H个子区域的每个子区域中,分别截取一个截屏图像。From each of the re-divided H sub-areas, a screenshot image is taken.
  6. 根据权利要求1至4中任一项所述的方法,其中,在所述显示所述N个截屏 图像之后,所述方法还包括:The method according to any one of claims 1 to 4, wherein, after the displaying the N screenshot images, the method further comprises:
    接收用户对所述N个截屏图像中的至少一个截屏图像的第三输入;Receiving a user's third input on at least one screenshot image among the N screenshot images;
    响应于所述第三输入,对所述至少一个截屏图像执行目标操作。In response to the third input, a target operation is performed on the at least one screenshot image.
  7. 一种终端设备,所述终端设备包括:接收模块、处理模块和显示模块;A terminal device, the terminal device includes: a receiving module, a processing module, and a display module;
    所述接收模块,用于在所述显示模块显示第一内容的情况下,接收用户的第一输入;The receiving module is configured to receive a user's first input when the display module displays the first content;
    所述处理模块,用于响应于所述接收模块接收的所述第一输入,将所述第一内容所在的区域划分为N个子区域,并从每个子区域中分别截取一个截屏图像,得到N个截屏图像;The processing module is configured to, in response to the first input received by the receiving module, divide the area where the first content is located into N sub-areas, and respectively intercept a screenshot image from each sub-areas to obtain N Screenshots
    所述显示模块,用于显示所述处理模块截取的所述N个截屏图像;The display module is configured to display the N screenshot images captured by the processing module;
    其中,N为大于或等于2的整数。Wherein, N is an integer greater than or equal to 2.
  8. 根据权利要求7所述的终端设备,所述处理模块,具体用于根据目标比值和所述第一内容的内容类型,将所述第一内容所在的区域划分为所述N个子区域;The terminal device according to claim 7, wherein the processing module is specifically configured to divide the area where the first content is located into the N sub-areas according to the target ratio and the content type of the first content;
    其中,所述目标比值为边缘图像中所有像素点的数量与所述终端设备的屏幕中所有像素点的数量的比值,所述边缘图像为对所述第一内容进行边缘提取后得到的图像。Wherein, the target ratio is a ratio of the number of all pixels in the edge image to the number of all pixels in the screen of the terminal device, and the edge image is an image obtained after edge extraction of the first content.
  9. 根据权利要求8所述的终端设备,其中,所述处理模块,具体用于根据所述目标比值,确定目标行数;并根据所述第一内容的内容类型,确定目标列数;以及按照所述目标行数和所述目标列数,将所述第一内容所在的区域划分为所述N个子区域。The terminal device according to claim 8, wherein the processing module is specifically configured to determine the number of target rows according to the target ratio; and determine the number of target columns according to the content type of the first content; and The target number of rows and the target number of columns divide the area where the first content is located into the N sub-areas.
  10. 根据权利要求8所述的终端设备,其中,所述处理模块,还用于在将所述第一内容所在的区域划分为所述N个子区域之后,根据图像检测算法,确定M个目标位置,所述M个目标位置为M个图像内容分别在所述第一内容中的位置,M为正整数;并检测每个目标位置是否位于所述N个子区域中的任意两个子区域之间;以及在所述M个目标位置中的第一目标位置位于所述N个子区域中的两个子区域之间的情况下,重新对所述N个子区域进行划分,以使所述第一目标位置位于重新划分后的N个第一区域的一个第一区域中;The terminal device according to claim 8, wherein the processing module is further configured to determine M target positions according to an image detection algorithm after dividing the area where the first content is located into the N sub-areas, The M target positions are the positions of the M image contents in the first content, and M is a positive integer; and detecting whether each target position is located between any two of the N sub-areas; and In the case that the first target position among the M target positions is located between two sub-regions of the N sub-regions, the N sub-regions are re-divided so that the first target position is located in the new One of the divided N first regions;
    所述处理模块,具体用于从所述N个第一区域的每个第一区域中,分别截取一个截屏图像。The processing module is specifically configured to capture a screenshot image from each first region of the N first regions.
  11. 根据权利要求8所述的终端设备,其中,所述显示模块,还用于在将所述第一内容所在的区域划分为所述N个子区域之后,在所述第一内容上叠加显示T个目标分割线,所述目标分割线为行分割线或列分割线,所述T个目标分割线用于分割所述N个子区域,T为正整数;The terminal device according to claim 8, wherein the display module is further configured to, after dividing the area where the first content is located into the N sub-areas, superimpose and display T numbers on the first content Target dividing line, the target dividing line is a row dividing line or a column dividing line, the T target dividing lines are used to divide the N sub-regions, and T is a positive integer;
    所述接收模块,还用于接收用户对所述T个目标分割线的第二输入;The receiving module is further configured to receive a second input of the user to the T target dividing lines;
    所述显示模块,还用于响应于所述接收模块接收的所述第二输入,将所述T个目标分割线更新为K个目标分割线,并将所述第一内容所在的区域重新划分成H个子区域,K和H均为正整数;The display module is further configured to update the T target dividing lines to K target dividing lines in response to the second input received by the receiving module, and re-divide the area where the first content is located H sub-regions, K and H are positive integers;
    所述处理模块,具体用于从重新划分后的所述H个子区域的每个子区域中,分别截取一个截屏图像。The processing module is specifically configured to capture a screenshot image from each of the re-divided H sub-areas.
  12. 根据权利要求7至10中任一项所述的终端设备,其中,The terminal device according to any one of claims 7 to 10, wherein:
    所述接收模块,还用于在将所述第一内容所在的区域划分为所述N个子区域之后, 接收用户对所述N个截屏图像中的至少一个截屏图像的第三输入;The receiving module is further configured to: after dividing the area where the first content is located into the N sub-areas, receive a user's third input of at least one screenshot image among the N screenshot images;
    所述处理模块,还用于响应于所述接收模块接收的所述第三输入,对所述至少一个截屏图像执行目标操作。The processing module is further configured to perform a target operation on the at least one screenshot image in response to the third input received by the receiving module.
  13. 一种终端设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至6中任一项所述的截屏方法的步骤。A terminal device, comprising a processor, a memory, and a computer program stored on the memory and capable of running on the processor. The computer program is executed by the processor to implement any of claims 1 to 6 One of the steps of the screenshot method.
  14. 一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至6中任一项所述的截屏方法的步骤。A computer-readable storage medium storing a computer program on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the screenshot method according to any one of claims 1 to 6 are realized.
PCT/CN2020/100275 2019-07-10 2020-07-03 Screenshot method and terminal device WO2021004407A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910621835.1 2019-07-10
CN201910621835.1A CN110502293B (en) 2019-07-10 2019-07-10 Screen capturing method and terminal equipment

Publications (1)

Publication Number Publication Date
WO2021004407A1 true WO2021004407A1 (en) 2021-01-14

Family

ID=68585618

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/100275 WO2021004407A1 (en) 2019-07-10 2020-07-03 Screenshot method and terminal device

Country Status (2)

Country Link
CN (1) CN110502293B (en)
WO (1) WO2021004407A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113448470A (en) * 2021-06-07 2021-09-28 多益网络有限公司 Webpage long screenshot method, device, equipment and storage medium
CN113448470B (en) * 2021-06-07 2024-04-26 多益网络有限公司 Webpage long screenshot method, device, equipment and storage medium

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110502293B (en) * 2019-07-10 2022-02-01 维沃移动通信有限公司 Screen capturing method and terminal equipment
CN111638839A (en) * 2020-05-20 2020-09-08 维沃移动通信有限公司 Screen capturing method and device and electronic equipment
CN111638844A (en) * 2020-05-22 2020-09-08 维沃移动通信有限公司 Screen capturing method and device and electronic equipment
CN112785612B (en) * 2020-08-28 2022-09-13 青岛经济技术开发区海尔热水器有限公司 Image edge detection method based on wavelet transformation
CN113835602A (en) * 2021-09-29 2021-12-24 维沃移动通信有限公司 Screen capturing method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106502533A (en) * 2016-10-21 2017-03-15 上海与德信息技术有限公司 A kind of screenshotss method and device
US20170147904A1 (en) * 2015-04-29 2017-05-25 Tencent Technology (Shenzhen) Company Limited Picture processing method and apparatus
CN107392915A (en) * 2016-05-14 2017-11-24 谷歌公司 Based on the snapshot of capture content as pixel by the content segmentation shown on computing device into region
CN107678648A (en) * 2017-09-27 2018-02-09 北京小米移动软件有限公司 Screenshotss processing method and processing device
CN109634494A (en) * 2018-11-12 2019-04-16 维沃移动通信有限公司 A kind of image processing method and terminal device
CN110502293A (en) * 2019-07-10 2019-11-26 维沃移动通信有限公司 A kind of screenshotss method and terminal device

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2364417B (en) * 2000-06-30 2004-10-06 Post Office Image processing
CN101477440A (en) * 2009-01-15 2009-07-08 腾讯科技(深圳)有限公司 Screen capturing method and system
CN102521020B (en) * 2011-10-26 2014-05-21 华为终端有限公司 Application screen capture method and application screen capture device for mobile terminals
CN102930289B (en) * 2012-09-28 2015-05-06 清华大学 Method for generating mosaic picture
US9785240B2 (en) * 2013-03-18 2017-10-10 Fuji Xerox Co., Ltd. Systems and methods for content-aware selection
KR102325345B1 (en) * 2014-12-15 2021-11-11 삼성전자주식회사 Interactive image segmentation apparatus and method
CN104571866A (en) * 2015-01-06 2015-04-29 深圳市金立通信设备有限公司 Screen capture method
CN105487773B (en) * 2015-11-27 2019-04-16 小米科技有限责任公司 The method and device of screenshot capture
CN107038707B (en) * 2016-02-02 2020-06-05 杭州海康威视数字技术股份有限公司 Image segmentation method and device
CN106657619A (en) * 2016-11-30 2017-05-10 努比亚技术有限公司 Screenshot method and device
CN107622503A (en) * 2017-08-10 2018-01-23 上海电力学院 A kind of layering dividing method for recovering image Ouluding boundary
CN107977144B (en) * 2017-12-15 2020-05-12 维沃移动通信有限公司 Screen capture processing method and mobile terminal
CN108446702B (en) * 2018-03-14 2022-05-31 深圳怡化电脑股份有限公司 Image character segmentation method, device, equipment and storage medium
CN109460177A (en) * 2018-09-27 2019-03-12 维沃移动通信有限公司 A kind of image processing method and terminal device
CN109656461B (en) * 2018-12-20 2020-09-22 维沃移动通信有限公司 Screen capturing method and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170147904A1 (en) * 2015-04-29 2017-05-25 Tencent Technology (Shenzhen) Company Limited Picture processing method and apparatus
CN107392915A (en) * 2016-05-14 2017-11-24 谷歌公司 Based on the snapshot of capture content as pixel by the content segmentation shown on computing device into region
CN106502533A (en) * 2016-10-21 2017-03-15 上海与德信息技术有限公司 A kind of screenshotss method and device
CN107678648A (en) * 2017-09-27 2018-02-09 北京小米移动软件有限公司 Screenshotss processing method and processing device
CN109634494A (en) * 2018-11-12 2019-04-16 维沃移动通信有限公司 A kind of image processing method and terminal device
CN110502293A (en) * 2019-07-10 2019-11-26 维沃移动通信有限公司 A kind of screenshotss method and terminal device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113448470A (en) * 2021-06-07 2021-09-28 多益网络有限公司 Webpage long screenshot method, device, equipment and storage medium
CN113448470B (en) * 2021-06-07 2024-04-26 多益网络有限公司 Webpage long screenshot method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN110502293A (en) 2019-11-26
CN110502293B (en) 2022-02-01

Similar Documents

Publication Publication Date Title
WO2021004407A1 (en) Screenshot method and terminal device
WO2021104195A1 (en) Image display method and electronic device
WO2020258929A1 (en) Folder interface switching method and terminal device
WO2020063091A1 (en) Picture processing method and terminal device
WO2021098603A1 (en) Preview picture display method and electronic device
CN109857306B (en) Screen capturing method and terminal equipment
WO2021004327A1 (en) Method for setting application permission, and terminal device
WO2020151460A1 (en) Object processing method and terminal device
WO2021104163A1 (en) Icon arrangement method and electronic device
WO2021012927A1 (en) Icon display method and terminal device
CN111273993B (en) Icon arrangement method and electronic equipment
WO2021129536A1 (en) Icon moving method and electronic device
WO2020151525A1 (en) Message sending method, and terminal device
CN109857289B (en) Display control method and terminal equipment
WO2020199783A1 (en) Interface display method and terminal device
WO2021004341A1 (en) Folder creation method and terminal device
WO2021083058A1 (en) Image processing method, server, and terminal device
WO2020192324A1 (en) Interface displaying method and terminal device
WO2020215967A1 (en) Content selection method and terminal device
WO2021037073A1 (en) Control method and terminal device
CN111050109B (en) Electronic equipment control method and electronic equipment
CN110908554B (en) Long screenshot method and terminal device
WO2021017738A1 (en) Interface display method and electronic device
WO2021093766A1 (en) Message display method, and electronic apparatus
WO2021104266A1 (en) Object display method and electronic device

Legal Events

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

Ref document number: 20836202

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 20836202

Country of ref document: EP

Kind code of ref document: A1