WO2016015585A1 - Screen capture method for terminal device as well as terminal device, computer program product and computer readable recording medium of screen capture method - Google Patents

Screen capture method for terminal device as well as terminal device, computer program product and computer readable recording medium of screen capture method Download PDF

Info

Publication number
WO2016015585A1
WO2016015585A1 PCT/CN2015/084820 CN2015084820W WO2016015585A1 WO 2016015585 A1 WO2016015585 A1 WO 2016015585A1 CN 2015084820 W CN2015084820 W CN 2015084820W WO 2016015585 A1 WO2016015585 A1 WO 2016015585A1
Authority
WO
WIPO (PCT)
Prior art keywords
image
screen capture
screen
capture area
stitched
Prior art date
Application number
PCT/CN2015/084820
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 WO2016015585A1 publication Critical patent/WO2016015585A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs

Definitions

  • the present disclosure relates to the field of image processing technologies, and in particular, to a screen capture method of a terminal device and a terminal device thereof.
  • the operation mode of the interception is generally as follows, and press the shutdown button and the home button of the mobile phone at the same time.
  • the inventors have found that at least the following problems exist in the prior art: the existing multi-screen screenshot method is very cumbersome, low in efficiency, and the final synthesis effect is not good.
  • the embodiment of the present disclosure provides a screen capture method of the terminal device, including:
  • Receiving a screen capture end indication determining the current image to be stitched as a screen capture image.
  • an embodiment of the present disclosure further provides a terminal device, including:
  • a display module configured to display a screen capture area on a display interface of the terminal device when receiving a screenshot start indication
  • An acquiring module configured to acquire an image corresponding to the screen capture area, as an image to be stitched
  • a processing module configured to repeatedly perform the step of splicing the image to be spliced and the image corresponding to the screen capture area acquired in the next time period, as a step of splicing the image to be spliced;
  • a determining module configured to receive a screen closing end indication, and determine the current image to be stitched as a screen shot image.
  • embodiments of the present disclosure also provide a computer program product that, when executed, causes a computer to implement a screen capture method of the terminal device.
  • an embodiment of the present disclosure also provides a computer readable recording medium having recorded therein the computer program product. It can be seen from the above that the technical solution provided by the embodiment of the present disclosure has the beneficial effect that the embodiment of the present disclosure is performed by displaying the screen capture area and repeatedly performing the stitching of the image to be stitched and the screen shot acquired in the next time period.
  • the image corresponding to the area is used as the next image to be stitched until the end of the screen capture indication, and the current image to be stitched is determined as the screen capture image, so that the user only needs to scroll the screen so that the screen capture area traverses all the screen to be screened, that is, the user can be obtained.
  • the complete multi-screen screenshot image required, thus avoiding the heavy workload of single interception and software synthesis, and the image is continuous, avoiding image distortion or synthesis error caused by misoperation or software defects.
  • FIG. 1 is a flow chart of a first embodiment of a screen capture method of a terminal device of the present disclosure
  • FIG. 2 is a flow chart of a second embodiment of a screen capture method of a terminal device of the present disclosure
  • FIG. 3 is a schematic structural diagram of a first embodiment of a terminal device of the present disclosure.
  • FIG. 4 is a schematic structural diagram of a second embodiment of a terminal device of the present disclosure.
  • FIG. 1 is a flowchart of a first embodiment of a screen capture method of a terminal device of the present disclosure, the screen capture method including:
  • Step S11 on the display interface of the terminal device when receiving the screenshot start instruction Shows the screen capture area.
  • the triggering manner of the start indication of the screenshot includes but is not limited to the following: triggering by a shortcut icon button; triggering by a button or a combination of keys; triggering by a display gesture; triggering by a voice instruction; shaking by picking up the terminal device, or A specified shape trigger is swiped in the air; triggered by an empty gesture.
  • the screen capture area on the display interface may be the entire display area or part of the display area.
  • the screen capture area may be a rectangle
  • the default width of the rectangle screen capture area is the width of the display screen
  • the height defaults to half of the height of the display screen
  • the default coverage area of the display area that is, the rectangular screen capture
  • the center of the area coincides with the center of the display.
  • the width of the rectangular screen capture area can also be half of the screen width. Embodiments of the present disclosure do not limit the length, width, and position of the rectangular screen capture area in the screen.
  • the size, position and shape of the screen capture area may be preset or may be adjusted by the user. For example, if the user only wants to intercept the image information of half the width in the middle of the display screen, the width of the screen capture area can be adjusted to half of the width of the display screen, and then the screen capture area can be moved to the middle of the display screen.
  • the user can also set the default position, size, transparency, color and other information of the screen capture area in the parameter setting function provided by the setting interface.
  • Step S12 Acquire an image corresponding to the screen capture area as an image to be stitched.
  • the terminal device acquires an image corresponding to the screen capture area.
  • the initial determination of the screen capture area includes, but is not limited to, determining that when the screenshot start indication is received, the screen capture area is displayed on the display interface of the terminal device; after displaying the screen capture area, the user adjusts the shape, position, or The size is determined by triggering the confirmation operation.
  • the image corresponding to the screen capture area is an image displayed in the current screen capture area, thereby allowing the user to intercept the required image information more intuitively and conveniently. It should be understood that, in some other embodiments of the screen capture method of the present disclosure, acquiring the image corresponding to the screen capture area may further increase an image of a certain pixel width outside the boundary of the current screen capture area or exclude the boundary of the current screen capture area. An image with a certain pixel width.
  • the rectangular screen capture area helps the user to intercept more complete image information, and avoids the user's inaccurate selection of the screen image. Redefining the screen capture area results in energy expenditure and saves operation time.
  • the display screen interface is controlled to scroll in the opposite direction of the drag direction. For example, when the lower boundary of the screen capture area is dragged to the lower edge of the display screen, the display interface scrolls upward; when the upper boundary of the screen capture area is dragged to the upper edge of the display screen, the display interface scrolls downward; When the left border of the screen capture area is dragged to the left edge of the display, the display interface scrolls to the right; when the right border of the screen capture area is dragged to the right edge of the display, the display interface scrolls to the left.
  • the user may change the image information in the screen capture area by dragging one or more boundaries of the screen capture area, or operate the mobile terminal to cause the content of the display screen to scroll, so that the mobile terminal automatically acquires
  • the image corresponding to the screenshot of the next cycle is free of frequent manual operations by the user.
  • the user wants to pause scrolling, it is only necessary to drag the boundary of the screen capture area back by a certain distance so that the boundary leaves the edge of the display interface.
  • the user can control the screen capture content to facilitate the user to selectively intercept the content.
  • a prompt pops up to tell the user to scroll to the bottom, and the user can drag back to decide whether to remove the last portion of the display, or release the finger. Save screenshots directly.
  • Step S13 splicing the image to be spliced and the image corresponding to the screen capture area acquired in the next time period as the next image to be spliced; this step is repeatedly performed.
  • Repeating this step means that each time a screen corresponding to the screen capture area is obtained, the image corresponding to the screen capture area is spliced onto the image to be stitched to form a new image to be stitched, that is, the next image to be stitched.
  • the image to be stitched and the image corresponding to the screen capture area acquired in the next time period have overlapping portions; this step is automatically executed in the background, and each acquired image to be stitched is saved in the terminal device. Memory or cache.
  • Step S14 Receive a screen capture end indication, and determine the current image to be stitched as a screen capture image.
  • the end of screen capture indication may include, but is not limited to, the following: triggering by a shortcut icon button; triggering by a button or a combination of keys; triggering by a display gesture; triggering by a voice command; shaking by picking up the terminal device, or waving in the air Specify shape triggering; trigger by gap gestures; Trigger by stopping scrolling the contents of the display and removing the finger; triggering by stopping the dragging of the border of the screen area and removing the finger.
  • the user only needs to remove the finger, so that the finger leaves the display panel to save the screenshot image, and does not need to be triggered by other confirmation buttons or gestures, and the operation is simple and convenient to use.
  • the screen capture end instruction is received, and the splicing step of the repeated execution in step S13 is stopped.
  • the last generated image to be stitched is taken as the current image to be stitched, that is, a screen shot image.
  • a prompt will pop up to inform the user that the image has been saved and exit the program. The user can choose to view the generated screenshot image to confirm the screenshot.
  • the method of the embodiment of the present disclosure realizes continuous interception of multiple screens, and automatically synthesizes by algorithm to avoid the heavy workload of single interception and software synthesis, and the images are continuous, avoiding image distortion caused by misoperation or software defects. Or a synthetic error. It can capture multi-screen images of the display terminal efficiently, quickly and accurately.
  • FIG. 2 is a flowchart of a second embodiment of a screen capture method of a terminal device according to the present disclosure.
  • the screen capture method includes:
  • Step S21 When the screenshot start instruction is received, the screen capture area is displayed on the display interface of the terminal device. This step is the same as the corresponding step in the first embodiment, and details are not described herein again.
  • Step S22 Acquire an image corresponding to the screen capture area as an image to be stitched. This step is the same as the corresponding step in the first embodiment, and details are not described herein again.
  • Step S23 Acquire the current scroll speed V of the display screen interface, obtain the height S of the screen capture area, and obtain the height S1 of the overlapping portion of the image corresponding to the screen capture area acquired by the image to be stitched and the previous time period.
  • the scrolling speed of the display interface is a system default value, and the user can modify this parameter in the setting or follow the user sliding speed.
  • the display screen interface is controlled to scroll in a direction opposite to the drag direction.
  • the display interface scrolls upward; when the upper boundary of the screen capture area is dragged to the upper edge of the display screen, the display interface scrolls downward;
  • the display interface scrolls to the right; when the right border of the screen capture area is dragged to the right edge of the display, the display interface scrolls to the left.
  • the height of the overlap region may be from 1% to 20% of the height of the screen capture region, and in the embodiment of the present disclosure, preferably 20%.
  • the time period changes according to the change of the scrolling speed of the current display content.
  • Step S25 splicing the image to be spliced and the image corresponding to the screen capture area acquired in the next time period as the next image to be spliced; this step is repeatedly performed.
  • the splicing the image to be spliced and the image corresponding to the screen capture area acquired in the next time period further includes:
  • Step S26 Receive a screen capture end indication, and determine the current image to be stitched as a screen capture image. This step is the same as the corresponding step in the first embodiment, and details are not described herein again.
  • the method of the embodiment realizes continuous interception of multiple screens, and automatically synthesizes by the algorithm to avoid the heavy workload of single interception and software synthesis, and the images are continuous, avoiding image distortion or synthesis error caused by misoperation or software defects. . It can capture multi-screen images of the display terminal efficiently, quickly and accurately.
  • the terminal device can be a mobile phone, an MP4 player, a tablet computer, a camera, and other terminal devices that provide a screenshot function.
  • FIG. 3 is a schematic structural diagram of a first embodiment of a terminal device of the present disclosure.
  • the terminal device 100 in this embodiment may implement the screen capture method in the foregoing method embodiment.
  • the terminal device 100 may specifically include: a display module 110, an obtaining module 120, a processing module 130, and a determining module 140.
  • the display module 110 is configured to display a screen capture area on the display interface of the terminal device when receiving the screenshot start indication.
  • the obtaining module 120 is configured to acquire an image corresponding to the screen capture area as an image to be stitched.
  • the processing module 130 is configured to repeatedly perform the step of splicing the image to be spliced and the image corresponding to the screen capture area acquired in the next time period as the next image to be spliced.
  • the determining module 140 is configured to receive a screenshot end indication, and determine the current image to be stitched as a screen capture image.
  • the terminal device of the embodiment of the present disclosure implements continuous interception of multiple screens, and automatically synthesizes by the algorithm to avoid the heavy workload of single interception and software synthesis, and the images are continuous, avoiding errors. Image distortion or synthesis error caused by operation or software defects. It can capture multi-screen images of the display terminal efficiently, quickly and accurately.
  • FIG. 4 is a schematic structural diagram of a second embodiment of a terminal device according to the present disclosure.
  • the terminal device 200 in the embodiment of the present disclosure may implement the screen capture method in the first embodiment of the present disclosure.
  • the terminal device 200 may specifically include: a display module 210, an obtaining module 220, and a processing module 230.
  • the display module 210 is configured to display a screen capture area on the display interface of the terminal device when receiving the screenshot start indication.
  • the obtaining module 220 is configured to acquire an image corresponding to the screen capture area as an image to be stitched.
  • the processing module 230 is configured to repeatedly perform the step of splicing the image to be spliced and the image corresponding to the screen capture area acquired in the next time period as the next image to be spliced.
  • the determining module 240 is configured to receive a screen closing end indication, and determine the current image to be stitched as a screen shot image.
  • the scroll control module 250 is configured to control the display screen to scroll in the opposite direction of the drag when detecting that the boundary of the screen capture area is dragged to the edge of the display screen interface.
  • the processing module 230 may further include: a first acquiring unit 231, configured to acquire a display interface scrolling speed V of the terminal device.
  • the second obtaining unit 232 is configured to acquire the height S of the screen capture area.
  • the third obtaining unit 233 is configured to acquire the height S1 of the overlapping portion of the image to be stitched and the image corresponding to the screen capture area acquired in the previous time period.
  • the scrolling speed of the display interface is a system default value, and the user can modify this parameter in the setting or follow the user scrolling speed.
  • the height of the overlap region may be from 1% to 20% of the height of the screen capture region, and in the embodiment of the present disclosure, preferably 20%.
  • the screen capture area of the display module is the entire screen area or portion Screen area.
  • the scroll control module 250 is configured to control the display screen to scroll in a reverse direction of the drag when detecting that a boundary of the screen capture area is dragged to an edge of the display screen interface. For example, when the lower boundary of the screen capture area is dragged to the lower edge of the display screen, the display interface scrolls upward; when the upper boundary of the screen capture area is dragged to the upper edge of the display screen, the display interface scrolls downward; When the left border of the screen capture area is dragged to the left edge of the display, the display interface scrolls to the right; when the right border of the screen capture area is dragged to the right edge of the display, the display interface scrolls to the left.
  • the user may change the image information in the screen capture area by dragging one or more boundaries of the screen capture area, or operate the mobile terminal to cause the content of the display screen to scroll, so that the mobile terminal automatically acquires The image corresponding to the screenshot of the next cycle is free of frequent manual operations by the user.
  • a prompt pops up to tell the user to scroll to the bottom, and the user can drag back to decide whether to remove the last portion of the display, or release the finger. Save screenshots directly.
  • the terminal device of the embodiment implements continuous interception of multiple screens and automatically synthesizes, thereby avoiding the heavy workload of single-segment interception and software synthesis, and the images are continuous, avoiding image distortion or synthesis errors caused by misoperation or software defects. . It can capture multi-screen images of the display terminal efficiently, quickly and accurately.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

A screen capture method of a terminal device in the technical field of image processing. The method comprises: receiving a screen capture start instruction, and displaying a screen capture area on a display screen interface of the terminal device (S11); acquiring an image corresponding to the screen capture area as an image to be spliced (S12); splicing the image to be spliced and an image corresponding to the screen capture area acquired in a next time period, as a next image to be spliced, and repeatedly executing the step (S13); and receiving a screen capture end instruction, and determining the current image to be spliced as a screen capture image (S14). Also provided are a terminal device, a computer program and a computer readable medium employing the screen capture method, which can implement multi-screen capture which is simple and efficient and has a good synthesizing effect.

Description

一种终端设备的截屏方法及其终端设备、计算机程序产品和计算机可读记录介质Screen capture method of terminal device and terminal device thereof, computer program product and computer readable recording medium
相关申请的交叉引用Cross-reference to related applications
本申请主张在2014年7月31日在中国提交的中国专利申请号No.201410374862.0的优先权,其全部内容通过引用包含于此。The present application claims priority to Chinese Patent Application No. 201410374862.0, filed on Jan. 31, 2014, the entire content of
技术领域Technical field
本公开文本涉及图像处理技术领域,尤其涉及一种终端设备的截屏方法及其终端设备。The present disclosure relates to the field of image processing technologies, and in particular, to a screen capture method of a terminal device and a terminal device thereof.
背景技术Background technique
随着多媒体智能终端的硬件和软件水平的发展,以前在多媒体智能终端上不能做的事情,现在也变得可以了,例如在移动智能终端屏幕上截图。下面以手机为例,来说明移动智能终端现有的截图方法以及效果。With the development of hardware and software levels of multimedia intelligent terminals, things that could not be done on multimedia intelligent terminals have now become possible, such as screenshots on the screen of mobile smart terminals. The following uses a mobile phone as an example to illustrate the existing screenshot method and effect of the mobile intelligent terminal.
现在用户在手机上面一般一次只能截取一个屏幕大小的图片,截取的操作方式一般为,同时按一下手机的关机键和主页键。Now the user can only capture one screen size picture at a time on the mobile phone. The operation mode of the interception is generally as follows, and press the shutdown button and the home button of the mobile phone at the same time.
如果用户想截取连续的多屏界面,现有的操作方式如下:If the user wants to intercept a continuous multi-screen interface, the existing operation is as follows:
先截取当前屏幕的内容,再滑动屏幕到下一屏,再次截取,如此反复。再利用手机端或者电脑端的图片合成软件,将刚才截取的多幅图片合成为一幅长图。First intercept the content of the current screen, then slide the screen to the next screen, intercept it again, and so on. Then use the image synthesis software on the mobile phone or the computer to synthesize the multiple images just intercepted into a long picture.
在实现本公开文本过程中,发明人发现现有技术中至少存在如下问题:现有的多屏截图方法非常的繁琐,效率低,且最终合成效果不好。In the process of implementing the present disclosure, the inventors have found that at least the following problems exist in the prior art: the existing multi-screen screenshot method is very cumbersome, low in efficiency, and the final synthesis effect is not good.
发明内容Summary of the invention
为克服现有技术中多屏截图方法操作繁琐,效率低,最终合成效果不好的问题,本公开文本的实施例一方面提供了一种终端设备的截屏方法,包括:In order to overcome the problem that the multi-screen screenshot method in the prior art is cumbersome, inefficient, and the final synthesis is not good, the embodiment of the present disclosure provides a screen capture method of the terminal device, including:
在接收到截图开始指示时,在所述终端设备的显示屏界面上显示截屏区域; Displaying a screen capture area on a display interface of the terminal device when receiving a screenshot start indication;
获取所述截屏区域对应的图像,作为待拼接图像;Obtaining an image corresponding to the screen capture area as an image to be stitched;
拼接待拼接图像和下一时间周期获取的所述截屏区域对应的图像,作为下一待拼接图像;重复执行此步骤;Splicing the image to be stitched and the image corresponding to the screen capture area acquired in the next time period as the next image to be stitched; repeating this step;
接收截屏结束指示,将当前的待拼接图像确定为截屏图像。Receiving a screen capture end indication, determining the current image to be stitched as a screen capture image.
另一方面,本公开文本的实施例还提供了一种终端设备,包括:On the other hand, an embodiment of the present disclosure further provides a terminal device, including:
显示模块,用于在接收到截图开始指示时,在所述终端设备的显示屏界面上显示截屏区域;a display module, configured to display a screen capture area on a display interface of the terminal device when receiving a screenshot start indication;
获取模块,用于获取所述截屏区域对应的图像,作为待拼接图像;An acquiring module, configured to acquire an image corresponding to the screen capture area, as an image to be stitched;
处理模块,用于重复执行拼接待拼接图像和下一时间周期获取的所述截屏区域对应的图像,作为下一待拼接图像的步骤;a processing module, configured to repeatedly perform the step of splicing the image to be spliced and the image corresponding to the screen capture area acquired in the next time period, as a step of splicing the image to be spliced;
确定模块,用于接收截屏结束指示,将当前的待拼接图像确定为截屏图像。And a determining module, configured to receive a screen closing end indication, and determine the current image to be stitched as a screen shot image.
另一方面,本公开文本的实施例还提供了一种计算机程序产品,当所述计算机程序产品被执行时使得计算机实现所述终端设备的截屏方法。In another aspect, embodiments of the present disclosure also provide a computer program product that, when executed, causes a computer to implement a screen capture method of the terminal device.
另一方面,本公开文本的实施例还提供了一种计算机可读记录介质,在其中记录有所述计算机程序产品。由上可以看出,本公开文本的实施例提供的技术方案的有益效果是:由于本公开文本的实施例通过显示截屏区域,并重复执行拼接待拼接图像和下一时间周期获取的所述截屏区域对应的图像,作为下一待拼接图像,直至接收截屏结束指示,将当前的待拼接图像确定为截屏图像,这样,用户只需滚动屏幕,使截屏区域遍历所有待截屏图像,即可以得到用户所需的完整的多屏截屏图像,因此避免了单幅截取再通过软件合成的繁重工作量,且图像连续,避免了误操作或者软件缺陷导致的图像失真或合成错误。In another aspect, an embodiment of the present disclosure also provides a computer readable recording medium having recorded therein the computer program product. It can be seen from the above that the technical solution provided by the embodiment of the present disclosure has the beneficial effect that the embodiment of the present disclosure is performed by displaying the screen capture area and repeatedly performing the stitching of the image to be stitched and the screen shot acquired in the next time period. The image corresponding to the area is used as the next image to be stitched until the end of the screen capture indication, and the current image to be stitched is determined as the screen capture image, so that the user only needs to scroll the screen so that the screen capture area traverses all the screen to be screened, that is, the user can be obtained. The complete multi-screen screenshot image required, thus avoiding the heavy workload of single interception and software synthesis, and the image is continuous, avoiding image distortion or synthesis error caused by misoperation or software defects.
附图说明DRAWINGS
为了更清楚地说明本公开文本的实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开文本的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。 In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some of the disclosures. For the embodiments, those skilled in the art can obtain other drawings according to the drawings without any creative work.
图1是本公开文本的一种终端设备的截屏方法的第一实施例的流程图;1 is a flow chart of a first embodiment of a screen capture method of a terminal device of the present disclosure;
图2是本公开文本的一种终端设备的截屏方法的第二实施例的流程图;2 is a flow chart of a second embodiment of a screen capture method of a terminal device of the present disclosure;
图3是本公开文本的一种终端设备的第一实施例的结构示意图。3 is a schematic structural diagram of a first embodiment of a terminal device of the present disclosure.
图4是本公开文本的一种终端设备的第二实施例的结构示意图。4 is a schematic structural diagram of a second embodiment of a terminal device of the present disclosure.
具体实施方式detailed description
下面结合附图和实施例,对本公开文本的具体实施方式做进一步描述。以下实施例仅用于说明本公开文本,但不用来限制本公开文本的范围。The specific embodiments of the present disclosure are further described below in conjunction with the accompanying drawings and embodiments. The following examples are only intended to illustrate the disclosure, but are not intended to limit the scope of the disclosure.
为使本公开文本的实施例的目的、技术方案和优点更加清楚,下面将结合本公开文本的实施例的附图,对本公开文本的实施例的技术方案进行清楚、完整地描述。显然,所描述的实施例是本公开文本的一部分实施例,而不是全部的实施例。基于所描述的本公开文本的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本公开文本保护的范围。The technical solutions of the embodiments of the present disclosure will be clearly and completely described in the following description of the embodiments of the present disclosure. It is apparent that the described embodiments are part of the embodiments of the present disclosure, and not all of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the described embodiments of the present disclosure are within the scope of the disclosure.
除非另作定义,此处使用的技术术语或者科学术语应当为本公开文本所属领域内具有一般技能的人士所理解的通常意义。本公开文本专利申请说明书以及权利要求书中使用的“第一”、“第二”以及类似的词语并不表示任何顺序、数量或者重要性,而只是用来区分不同的组成部分。同样,“一个”或者“一”等类似词语也不表示数量限制,而是表示存在至少一个。“连接”或者“相连”等类似的词语并非限定于物理的或者机械的连接,而是可以包括电性的连接,不管是直接的还是间接的。“上”、“下”、“左”、“右”、“前”、“后”等仅用于表示相对位置关系,当被描述对象的绝对位置改变后,则该相对位置关系也相应地改变。Unless otherwise defined, technical terms or scientific terms used herein shall be taken to mean the ordinary meaning of the ordinary skill in the art to which this disclosure belongs. The words "first", "second" and similar terms used in the specification and claims of the present disclosure do not denote any order, quantity or importance, but are merely used to distinguish different components. Similarly, the words "a" or "an" and the like do not denote a quantity limitation, but mean that there is at least one. The words "connected" or "connected" and the like are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Upper", "lower", "left", "right", "front", "back", etc. are only used to indicate the relative positional relationship. When the absolute position of the described object is changed, the relative positional relationship is correspondingly change.
为了使本公开文本所解决的技术问题、技术方案及有益效果更加清楚明白,以下结合附图及实施例,对本公开文本进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本公开文本,并不用于限定本公开文本。In order to make the technical problems, technical solutions and beneficial effects of the present disclosure more clear, the present disclosure will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the present disclosure and are not intended to limit the disclosure.
图1是本公开文本的一种终端设备的截屏方法的第一实施例的流程图,该截屏方法包括:1 is a flowchart of a first embodiment of a screen capture method of a terminal device of the present disclosure, the screen capture method including:
步骤S11:在接收到截图开始指示时,在所述终端设备的显示屏界面上 显示截屏区域。Step S11: on the display interface of the terminal device when receiving the screenshot start instruction Shows the screen capture area.
其中,截图开始指示的触发方式包括但不限于以下几种:通过快捷图标按钮触发;通过按键或者按键组合触发;通过显示屏手势触发;通过语音指令触发;通过拿起终端设备摇一摇,或者在空中挥舞出指定形状触发;通过隔空手势触发。The triggering manner of the start indication of the screenshot includes but is not limited to the following: triggering by a shortcut icon button; triggering by a button or a combination of keys; triggering by a display gesture; triggering by a voice instruction; shaking by picking up the terminal device, or A specified shape trigger is swiped in the air; triggered by an empty gesture.
其中,显示屏界面上的截屏区域可以为整个显示屏区域或部分显示屏区域。当截屏区域为部分显示屏区域时,该截屏区域可以为矩形,该矩形截屏区域默认宽度为显示屏的宽度,高度默认为显示屏高度的一半,且默认覆盖显示屏中心区域,即该矩形截屏区域的中心和显示屏的中心重合。当然,矩形截屏区域的宽度也可以为屏幕宽度的一半。本公开文本的实施例对矩形截屏区域的长度、宽度以及在屏幕中的位置不作限定。The screen capture area on the display interface may be the entire display area or part of the display area. When the screen capture area is part of the display screen area, the screen capture area may be a rectangle, the default width of the rectangle screen capture area is the width of the display screen, and the height defaults to half of the height of the display screen, and the default coverage area of the display area, that is, the rectangular screen capture The center of the area coincides with the center of the display. Of course, the width of the rectangular screen capture area can also be half of the screen width. Embodiments of the present disclosure do not limit the length, width, and position of the rectangular screen capture area in the screen.
值得注意的是截屏区域的大小、位置及形状可以是预先设置的,也可以是由用户自行调整的。例如,如果用户只想截取显示屏中间一半宽度的图像信息,则可以先将截屏区域的宽度调整为显示屏宽度的一半,再将截屏区域移动到显示屏中间即可。用户也可以在设置界面提供的参数设置功能中设定截屏区域的默认位置、大小、透明度、颜色等信息。It is worth noting that the size, position and shape of the screen capture area may be preset or may be adjusted by the user. For example, if the user only wants to intercept the image information of half the width in the middle of the display screen, the width of the screen capture area can be adjusted to half of the width of the display screen, and then the screen capture area can be moved to the middle of the display screen. The user can also set the default position, size, transparency, color and other information of the screen capture area in the parameter setting function provided by the setting interface.
步骤S12:获取所述截屏区域对应的图像,作为待拼接图像。Step S12: Acquire an image corresponding to the screen capture area as an image to be stitched.
在本实施例中,当所述截屏区域被最初确定时,终端设备获取截屏区域对应的图像。所述截屏区域的最初确定包括但不限于以下方式:在接收到截图开始指示,终端设备的显示屏界面上显示截屏区域的时候确定;在显示截屏区域后,用户调整截屏区域的形状、位置或大小后通过触发确认操作而确定。In this embodiment, when the screen capture area is initially determined, the terminal device acquires an image corresponding to the screen capture area. The initial determination of the screen capture area includes, but is not limited to, determining that when the screenshot start indication is received, the screen capture area is displayed on the display interface of the terminal device; after displaying the screen capture area, the user adjusts the shape, position, or The size is determined by triggering the confirmation operation.
在本公开文本的实施例中,截屏区域对应的图像为显示在当前截屏区域的图像,由此可以供用户更加直观和便捷地截取需要的图像信息。应当理解,在本公开文本截屏方法的其他一些实施例中,获取所述截屏区域对应的图像还可以在前述基础上,增加当前截屏区域边界外一定像素宽度的图像,或排除当前截屏区域边界内一定像素宽度的图像。In the embodiment of the present disclosure, the image corresponding to the screen capture area is an image displayed in the current screen capture area, thereby allowing the user to intercept the required image information more intuitively and conveniently. It should be understood that, in some other embodiments of the screen capture method of the present disclosure, acquiring the image corresponding to the screen capture area may further increase an image of a certain pixel width outside the boundary of the current screen capture area or exclude the boundary of the current screen capture area. An image with a certain pixel width.
考虑到终端设备图像信息的排布规则,本实施例采用矩形的截屏区域有助于用户截取更加完整的图像信息,避免用户因截屏图像选取不准确,反复 对所述截屏区域进行重定义而造成精力的耗费,节省操作时间。Considering the arrangement rule of the image information of the terminal device, the rectangular screen capture area helps the user to intercept more complete image information, and avoids the user's inaccurate selection of the screen image. Redefining the screen capture area results in energy expenditure and saves operation time.
在本步骤之前,在检测到所述截屏区域的边界被拖动到所述显示屏界面的边缘时,控制所述显示屏界面沿拖动方向相反的方向滚动。例如,在截屏区域的下边界被拖动到显示屏的下边缘时,显示屏界面向上滚动;在截屏区域的上边界被拖动到显示屏的上边缘时,显示屏界面向下滚动;在截屏区域的左边界被拖动到显示屏的左边缘时,显示屏界面向右滚动;在截屏区域的右边界被拖动到显示屏的右边缘时,显示屏界面向左滚动。Before this step, when it is detected that the boundary of the screen capture area is dragged to the edge of the display screen interface, the display screen interface is controlled to scroll in the opposite direction of the drag direction. For example, when the lower boundary of the screen capture area is dragged to the lower edge of the display screen, the display interface scrolls upward; when the upper boundary of the screen capture area is dragged to the upper edge of the display screen, the display interface scrolls downward; When the left border of the screen capture area is dragged to the left edge of the display, the display interface scrolls to the right; when the right border of the screen capture area is dragged to the right edge of the display, the display interface scrolls to the left.
在本公开文本的实施例中,用户可以通过拖动截屏区域的一个或多个边界使截屏区域内的图像信息发生变化,或操作移动终端使显示屏的内容发生滚动,以使移动终端自动获取下一周期截屏区域对应的图像,免去用户手动的频繁操作。此时若用户想暂停滚动,则只需要将截屏区域的边界往回拖动一定距离,使该边界离开显示屏界面的边缘即可。通过拖动显示屏界面边缘使显示屏界面滚动的方式能方便用户对截屏内容进行控制,以利于用户选择性地截取内容。In an embodiment of the present disclosure, the user may change the image information in the screen capture area by dragging one or more boundaries of the screen capture area, or operate the mobile terminal to cause the content of the display screen to scroll, so that the mobile terminal automatically acquires The image corresponding to the screenshot of the next cycle is free of frequent manual operations by the user. At this time, if the user wants to pause scrolling, it is only necessary to drag the boundary of the screen capture area back by a certain distance so that the boundary leaves the edge of the display interface. By dragging the edge of the display interface to scroll the display interface, the user can control the screen capture content to facilitate the user to selectively intercept the content.
在本公开文本的其他一些实施例中,如果显示屏内容已经滚动到了底部,则会弹出提示告诉用户滚动到了底部,用户可以往回拖动以决定是否去掉显示屏最后一部分内容,或者松开手指直接保存截屏图像。In some other embodiments of the present disclosure, if the display content has scrolled to the bottom, a prompt pops up to tell the user to scroll to the bottom, and the user can drag back to decide whether to remove the last portion of the display, or release the finger. Save screenshots directly.
步骤S13:拼接待拼接图像和下一时间周期获取的所述截屏区域对应的图像,作为下一待拼接图像;重复执行此步骤。Step S13: splicing the image to be spliced and the image corresponding to the screen capture area acquired in the next time period as the next image to be spliced; this step is repeatedly performed.
重复执行此步骤是指在用户截屏期间,每得到一幅截屏区域对应的图像,就将该截屏区域对应的图像拼接到待拼接图像上,形成新的待拼接图像即下一待拼接图像。Repeating this step means that each time a screen corresponding to the screen capture area is obtained, the image corresponding to the screen capture area is spliced onto the image to be stitched to form a new image to be stitched, that is, the next image to be stitched.
在本实施例中,所述待拼接图像和下一时间周期获取的截屏区域对应的图像具有重叠部分;本步骤是在后台自动执行的,每一次获取的待拼接图像会被保存在终端设备的内存或缓存中。In this embodiment, the image to be stitched and the image corresponding to the screen capture area acquired in the next time period have overlapping portions; this step is automatically executed in the background, and each acquired image to be stitched is saved in the terminal device. Memory or cache.
步骤S14:接收截屏结束指示,将当前的待拼接图像确定为截屏图像。Step S14: Receive a screen capture end indication, and determine the current image to be stitched as a screen capture image.
截屏结束指示可以包括但不限于以下几种:通过快捷图标按钮触发;通过按键或者按键组合触发;通过显示屏手势触发;通过语音指令触发;通过拿起终端设备摇一摇,或者在空中挥舞出指定形状触发;通过隔空手势触发; 通过停止滚动所述显示屏的内容并移开手指触发;通过停止拖动截屏区域边界并移开手指触发。The end of screen capture indication may include, but is not limited to, the following: triggering by a shortcut icon button; triggering by a button or a combination of keys; triggering by a display gesture; triggering by a voice command; shaking by picking up the terminal device, or waving in the air Specify shape triggering; trigger by gap gestures; Trigger by stopping scrolling the contents of the display and removing the finger; triggering by stopping the dragging of the border of the screen area and removing the finger.
在后两种触发方式下,用户仅需移开手指,使手指离开显示屏面板即可保存截屏图像,不需要额外通过其他确认按键或手势等方式触发,操作简单,使用方便。In the latter two trigger modes, the user only needs to remove the finger, so that the finger leaves the display panel to save the screenshot image, and does not need to be triggered by other confirmation buttons or gestures, and the operation is simple and convenient to use.
接收截屏结束指示,停止步骤S13中的重复执行的拼接步骤。把最后生成的下一待拼接图像作为当前的待拼接图像,即截屏图像。保存截屏图像之后会弹出提示告知用户图像已经保存,并退出本程序。用户可以选择查看生成的截屏图像以确认截屏效果。The screen capture end instruction is received, and the splicing step of the repeated execution in step S13 is stopped. The last generated image to be stitched is taken as the current image to be stitched, that is, a screen shot image. After saving the screenshot image, a prompt will pop up to inform the user that the image has been saved and exit the program. The user can choose to view the generated screenshot image to confirm the screenshot.
本公开文本的实施例的方法实现了多屏的连续截取,并通过算法自动合成避免了单幅截取再通过软件合成的繁重工作量,且图像连续,避免了误操作或者软件缺陷导致的图像失真或合成错误。可以高效、快捷、准确地抓取显示终端的多屏图像。The method of the embodiment of the present disclosure realizes continuous interception of multiple screens, and automatically synthesizes by algorithm to avoid the heavy workload of single interception and software synthesis, and the images are continuous, avoiding image distortion caused by misoperation or software defects. Or a synthetic error. It can capture multi-screen images of the display terminal efficiently, quickly and accurately.
请参照图2,图2是本公开文本的一种终端设备的截屏方法的第二实施例的流程图,该截屏方法包括:Please refer to FIG. 2. FIG. 2 is a flowchart of a second embodiment of a screen capture method of a terminal device according to the present disclosure. The screen capture method includes:
步骤S21:在接收到截图开始指示时,在所述终端设备的显示屏界面上显示截屏区域。此步骤与第一实施例中的对应步骤相同,这里不再赘述。Step S21: When the screenshot start instruction is received, the screen capture area is displayed on the display interface of the terminal device. This step is the same as the corresponding step in the first embodiment, and details are not described herein again.
步骤S22:获取所述截屏区域对应的图像,作为待拼接图像。此步骤与第一实施例中的对应步骤相同,这里不再赘述。Step S22: Acquire an image corresponding to the screen capture area as an image to be stitched. This step is the same as the corresponding step in the first embodiment, and details are not described herein again.
步骤S23:获取显示屏界面的当前滚动速度V,获取截屏区域的高度S,获取待拼接图像和上一时间周期获取的截屏区域对应的图像的重叠部分的高度S1。Step S23: Acquire the current scroll speed V of the display screen interface, obtain the height S of the screen capture area, and obtain the height S1 of the overlapping portion of the image corresponding to the screen capture area acquired by the image to be stitched and the previous time period.
这里,显示屏界面的滚动速度为一个系统默认值,用户可以在设置里面修改此参数,或者跟随用户滑动速度。在检测到所述截屏区域的边界被拖动到所述显示屏界面的边缘时,控制所述显示屏界面沿拖动方向相反的方向滚动。例如,在截屏区域的下边界被拖动到显示屏的下边缘时,显示屏界面向上滚动;在截屏区域的上边界被拖动到显示屏的上边缘时,显示屏界面向下滚动;在截屏区域的左边界被拖动到显示屏的左边缘时,显示屏界面向右滚动;在截屏区域的右边界被拖动到显示屏的右边缘时,显示屏界面向左滚动。 重叠区域高度可为截屏区域高度的1%~20%,本公开文本的实施例中,优选为20%。Here, the scrolling speed of the display interface is a system default value, and the user can modify this parameter in the setting or follow the user sliding speed. When it is detected that the boundary of the screen capture area is dragged to the edge of the display screen interface, the display screen interface is controlled to scroll in a direction opposite to the drag direction. For example, when the lower boundary of the screen capture area is dragged to the lower edge of the display screen, the display interface scrolls upward; when the upper boundary of the screen capture area is dragged to the upper edge of the display screen, the display interface scrolls downward; When the left border of the screen capture area is dragged to the left edge of the display, the display interface scrolls to the right; when the right border of the screen capture area is dragged to the right edge of the display, the display interface scrolls to the left. The height of the overlap region may be from 1% to 20% of the height of the screen capture region, and in the embodiment of the present disclosure, preferably 20%.
步骤S24:根据获取的所述V、所述S和所述S1得到所述时间周期T:T=(S-S1)/V。Step S24: Obtain the time period T: T=(S-S1)/V according to the obtained V, the S, and the S1.
时间周期根据当前显示屏内容的滚动速度变化而变化,滚动越快时,时间周期越短,反之则越长,以使得连续两次获取的待拼接图像有重叠区域。The time period changes according to the change of the scrolling speed of the current display content. The faster the scrolling, the shorter the time period, and vice versa, so that the images to be stitched acquired twice have overlap regions.
为保证连续两次获取的待拼接图像有重叠区域,所述时间周期T的计算公式为T=(S-S1)/V,其中,V是所述终端设备的显示屏界面滚动速度,S是所述截屏区域的高度,S1是待拼接图像和上一时间周期获取的截屏区域对应的图像的重叠部分的高度。In order to ensure that the image to be stitched acquired twice has overlapping regions, the calculation formula of the time period T is T=(S-S1)/V, where V is the scrolling speed of the display interface of the terminal device, and S is The height of the screen capture area, S1, is the height of the overlapping portion of the image to be stitched and the image corresponding to the screen capture area acquired in the previous time period.
步骤S25:拼接待拼接图像和下一时间周期获取的所述截屏区域对应的图像,作为下一待拼接图像;重复执行此步骤。所述拼接待拼接图像和下一时间周期获取的截屏区域对应的图像,进一步包括:Step S25: splicing the image to be spliced and the image corresponding to the screen capture area acquired in the next time period as the next image to be spliced; this step is repeatedly performed. The splicing the image to be spliced and the image corresponding to the screen capture area acquired in the next time period further includes:
去除所述待拼接图像的所述重叠部分后,加上所述下一时间周期获取的截屏区域对应的图像;或,去除所述下一时间周期获取的截屏区域对应的图像的所述重叠部分后,加上所述待拼接图像。After removing the overlapping portion of the image to be stitched, adding an image corresponding to the screen capture area acquired in the next time period; or removing the overlapping portion of the image corresponding to the screen capture area acquired in the next time period After that, the image to be stitched is added.
步骤S26:接收截屏结束指示,将当前的待拼接图像确定为截屏图像。此步骤与第一实施例中的对应步骤相同,这里不再赘述。Step S26: Receive a screen capture end indication, and determine the current image to be stitched as a screen capture image. This step is the same as the corresponding step in the first embodiment, and details are not described herein again.
本实施例的方法实现了多屏的连续截取,并通过算法自动合成避免了单幅截取再通过软件合成的繁重工作量,且图像连续,避免了误操作或者软件缺陷导致的图像失真或合成错误。可以高效、快捷、准确地抓取显示终端的多屏图像。The method of the embodiment realizes continuous interception of multiple screens, and automatically synthesizes by the algorithm to avoid the heavy workload of single interception and software synthesis, and the images are continuous, avoiding image distortion or synthesis error caused by misoperation or software defects. . It can capture multi-screen images of the display terminal efficiently, quickly and accurately.
图1至图2针对本公开文本的终端设备的截屏方法做了详细介绍,下面将针对与上述方法对应的装置即终端设备作进一步介绍。其中,终端设备可以为手机、MP4播放器、平板电脑、相机以及其他提供截图功能的终端设备。1 to 2 are a detailed description of the screen capture method of the terminal device of the present disclosure, and the device corresponding to the above method, that is, the terminal device, will be further described below. The terminal device can be a mobile phone, an MP4 player, a tablet computer, a camera, and other terminal devices that provide a screenshot function.
图3是本公开文本的一种终端设备的第一实施例的结构示意图。如图3所示,本实施例中的终端设备100可以实现上述方法实施例中的截屏方法,该终端设备100具体可以包括:显示模块110、获取模块120、处理模块130以及确定模块140。 3 is a schematic structural diagram of a first embodiment of a terminal device of the present disclosure. As shown in FIG. 3, the terminal device 100 in this embodiment may implement the screen capture method in the foregoing method embodiment. The terminal device 100 may specifically include: a display module 110, an obtaining module 120, a processing module 130, and a determining module 140.
显示模块110,用于在接收到截图开始指示时,在所述终端设备的显示屏界面上显示截屏区域。获取模块120,用于获取所述截屏区域对应的图像,作为待拼接图像。处理模块130,用于重复执行拼接待拼接图像和下一时间周期获取的所述截屏区域对应的图像,作为下一待拼接图像的步骤。确定模块140,用于接收截屏结束指示,将当前的待拼接图像确定为截屏图像。The display module 110 is configured to display a screen capture area on the display interface of the terminal device when receiving the screenshot start indication. The obtaining module 120 is configured to acquire an image corresponding to the screen capture area as an image to be stitched. The processing module 130 is configured to repeatedly perform the step of splicing the image to be spliced and the image corresponding to the screen capture area acquired in the next time period as the next image to be spliced. The determining module 140 is configured to receive a screenshot end indication, and determine the current image to be stitched as a screen capture image.
相比于现有技术,本公开文本的实施例的终端设备实现了多屏的连续截取,并通过算法自动合成避免了单幅截取再通过软件合成的繁重工作量,且图像连续,避免了误操作或者软件缺陷导致的图像失真或合成错误。可以高效、快捷、准确地抓取显示终端的多屏图像。Compared with the prior art, the terminal device of the embodiment of the present disclosure implements continuous interception of multiple screens, and automatically synthesizes by the algorithm to avoid the heavy workload of single interception and software synthesis, and the images are continuous, avoiding errors. Image distortion or synthesis error caused by operation or software defects. It can capture multi-screen images of the display terminal efficiently, quickly and accurately.
图4是本公开文本发一种终端设备的第二实施例的结构示意图。如图4所示,本公开文本的实施例中的终端设备200可以实现本公开文本第一实施例中的截屏方法,该终端设备200具体可以包括:显示模块210、获取模块220、处理模块230、确定模块240、滚动控制模块250。4 is a schematic structural diagram of a second embodiment of a terminal device according to the present disclosure. As shown in FIG. 4, the terminal device 200 in the embodiment of the present disclosure may implement the screen capture method in the first embodiment of the present disclosure. The terminal device 200 may specifically include: a display module 210, an obtaining module 220, and a processing module 230. The determination module 240 and the scroll control module 250.
显示模块210,用于在接收到截图开始指示时,在所述终端设备的显示屏界面上显示截屏区域。获取模块220,用于获取所述截屏区域对应的图像,作为待拼接图像。处理模块230,用于重复执行拼接待拼接图像和下一时间周期获取的所述截屏区域对应的图像,作为下一待拼接图像的步骤。确定模块240,用于接收截屏结束指示,将当前的待拼接图像确定为截屏图像。滚动控制模块250,用于在检测到所述截屏区域的边界被拖动到所述显示屏界面的边缘时,控制所述显示屏界面沿拖动反方向滚动。The display module 210 is configured to display a screen capture area on the display interface of the terminal device when receiving the screenshot start indication. The obtaining module 220 is configured to acquire an image corresponding to the screen capture area as an image to be stitched. The processing module 230 is configured to repeatedly perform the step of splicing the image to be spliced and the image corresponding to the screen capture area acquired in the next time period as the next image to be spliced. The determining module 240 is configured to receive a screen closing end indication, and determine the current image to be stitched as a screen shot image. The scroll control module 250 is configured to control the display screen to scroll in the opposite direction of the drag when detecting that the boundary of the screen capture area is dragged to the edge of the display screen interface.
进一步地,于本实施例中,处理模块230还可以包括:第一获取单元231,用于获取所述终端设备的显示屏界面滚动速度V。第二获取单元232,用于获取所述截屏区域的高度S。第三获取单元233,用于获取待拼接图像和上一时间周期获取的截屏区域对应的图像的重叠部分的高度S1。计算单元234,用于根据V、S、S1得到时间周期T,T=(S-S1)/V。Further, in this embodiment, the processing module 230 may further include: a first acquiring unit 231, configured to acquire a display interface scrolling speed V of the terminal device. The second obtaining unit 232 is configured to acquire the height S of the screen capture area. The third obtaining unit 233 is configured to acquire the height S1 of the overlapping portion of the image to be stitched and the image corresponding to the screen capture area acquired in the previous time period. The calculating unit 234 is configured to obtain a time period T, T=(S-S1)/V according to V, S, and S1.
这里,显示屏界面的滚动速度为一个系统默认值,用户可以在设置里面修改此参数,或者跟随用户滚动速度。重叠区域高度可为截屏区域高度的1%~20%,本公开文本的实施例中,优选为20%。Here, the scrolling speed of the display interface is a system default value, and the user can modify this parameter in the setting or follow the user scrolling speed. The height of the overlap region may be from 1% to 20% of the height of the screen capture region, and in the embodiment of the present disclosure, preferably 20%.
在本公开文本的实施例中,显示模块的截屏区域为整个屏幕区域或部分 屏幕区域。In an embodiment of the present disclosure, the screen capture area of the display module is the entire screen area or portion Screen area.
所述滚动控制模块250用于在检测到所述截屏区域的边界被拖动到所述显示屏界面的边缘时,控制所述显示屏界面沿拖动反方向滚动。例如,在截屏区域的下边界被拖动到显示屏的下边缘时,显示屏界面向上滚动;在截屏区域的上边界被拖动到显示屏的上边缘时,显示屏界面向下滚动;在在截屏区域的左边界被拖动到显示屏的左边缘时,显示屏界面向右滚动;在截屏区域的右边界被拖动到显示屏的右边缘时,显示屏界面向左滚动。The scroll control module 250 is configured to control the display screen to scroll in a reverse direction of the drag when detecting that a boundary of the screen capture area is dragged to an edge of the display screen interface. For example, when the lower boundary of the screen capture area is dragged to the lower edge of the display screen, the display interface scrolls upward; when the upper boundary of the screen capture area is dragged to the upper edge of the display screen, the display interface scrolls downward; When the left border of the screen capture area is dragged to the left edge of the display, the display interface scrolls to the right; when the right border of the screen capture area is dragged to the right edge of the display, the display interface scrolls to the left.
在本公开文本的实施例中,用户可以通过拖动截屏区域的一个或多个边界使截屏区域内的图像信息发生变化,或操作移动终端使显示屏的内容发生滚动,以使移动终端自动获取下一周期截屏区域对应的图像,免去用户手动的频繁操作。In an embodiment of the present disclosure, the user may change the image information in the screen capture area by dragging one or more boundaries of the screen capture area, or operate the mobile terminal to cause the content of the display screen to scroll, so that the mobile terminal automatically acquires The image corresponding to the screenshot of the next cycle is free of frequent manual operations by the user.
此时若用户想暂停滚动,则只需要将截屏区域的边界往回拖动一点,使该边界离开显示屏界面的边缘即可。通过拖动显示屏界面边缘使显示屏界面滚动的方式能方便用户对截屏内容进行控制,以利于用户选择性地截取内容。At this point, if the user wants to pause scrolling, just drag the border of the screen capture area back a bit to make the border off the edge of the display interface. By dragging the edge of the display interface to scroll the display interface, the user can control the screen capture content to facilitate the user to selectively intercept the content.
在本公开文本的其他一些实施例中,如果显示屏内容已经滚动到了底部,则会弹出提示告诉用户滚动到了底部,用户可以往回拖动以决定是否去掉显示屏最后一部分内容,或者松开手指直接保存截屏图像。In some other embodiments of the present disclosure, if the display content has scrolled to the bottom, a prompt pops up to tell the user to scroll to the bottom, and the user can drag back to decide whether to remove the last portion of the display, or release the finger. Save screenshots directly.
本实施例的终端设备实现了多屏的连续截取,并自动合成因此避免了单幅截取再通过软件合成的繁重工作量,且图像连续,避免了误操作或者软件缺陷导致的图像失真或合成错误。可以高效、快捷、准确地抓取显示终端的多屏图像。The terminal device of the embodiment implements continuous interception of multiple screens and automatically synthesizes, thereby avoiding the heavy workload of single-segment interception and software synthesis, and the images are continuous, avoiding image distortion or synthesis errors caused by misoperation or software defects. . It can capture multi-screen images of the display terminal efficiently, quickly and accurately.
本领域普通技术人员可以理解,可以通过计算机程序来指令相关的硬件来实现上述实施例方法中的全部或部分流程,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。It will be understood by those skilled in the art that all or part of the processes of the above embodiments may be implemented by a computer program instructing related hardware, and the program may be stored in a computer readable storage medium, and the program is executed. At the time, the flow of the embodiment of each of the above methods may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
如上所述是结合具体内容提供的一种或多种实施方式,并不认定本公开文本的具体实施只局限于这些说明。凡与本公开文本的方法、结构等近似、雷同,或是对于本公开文本构思前提下做出若干技术推演或替换,都应当视 为本公开文本的保护范围。 The above description is one or more embodiments provided in connection with the specific content, and the specific implementation of the present disclosure is not limited to the description. Approximate, similar, or a number of technical derivations or substitutions to the methods, structures, etc. of the present disclosure should be considered This is the scope of protection of this publication.

Claims (12)

  1. 一种终端设备的截屏方法,包括:A screen capture method for a terminal device, comprising:
    在接收到截图开始指示时,在所述终端设备的显示屏界面上显示截屏区域;Displaying a screen capture area on a display interface of the terminal device when receiving a screenshot start indication;
    获取所述截屏区域对应的图像,作为待拼接图像;Obtaining an image corresponding to the screen capture area as an image to be stitched;
    拼接待拼接图像和下一时间周期获取的所述截屏区域对应的图像,作为下一待拼接图像;重复执行此步骤;Splicing the image to be stitched and the image corresponding to the screen capture area acquired in the next time period as the next image to be stitched; repeating this step;
    接收截屏结束指示,将当前的待拼接图像确定为截屏图像。Receiving a screen capture end indication, determining the current image to be stitched as a screen capture image.
  2. 根据权利要求1所述的截屏方法,其中,所述截屏区域为整个屏幕区域或部分屏幕区域。The screen capture method according to claim 1, wherein the screen capture area is an entire screen area or a partial screen area.
  3. 根据权利要求1或2所述的截屏方法,其中,所述待拼接图像和下一时间周期获取的截屏区域对应的图像具有重叠部分;The screen capture method according to claim 1 or 2, wherein the image to be stitched and the image corresponding to the screen capture area acquired in the next time period have overlapping portions;
    所述拼接待拼接图像和下一时间周期获取的所述截屏区域对应的图像,包括:And the splicing the image to be spliced and the image corresponding to the screen capture area acquired in the next time period, including:
    去除所述待拼接图像的所述重叠部分后,加上所述下一时间周期获取的截屏区域对应的图像;或,去除所述下一时间周期获取的截屏区域对应的图像的所述重叠部分后,加上所述待拼接图像。After removing the overlapping portion of the image to be stitched, adding an image corresponding to the screen capture area acquired in the next time period; or removing the overlapping portion of the image corresponding to the screen capture area acquired in the next time period After that, the image to be stitched is added.
  4. 根据权利要求1所述的截屏方法,其中,所述获取所述截屏区域对应的图像,作为待拼接图像的步骤之前,还包括:The screen capture method according to claim 1, wherein the step of acquiring the image corresponding to the screen capture area as the image to be stitched further comprises:
    在检测到所述截屏区域的边界被拖动到所述显示屏界面的边缘时,控制所述显示屏界面沿拖动方向相反的方向滚动。When it is detected that the boundary of the screen capture area is dragged to the edge of the display screen interface, the display screen interface is controlled to scroll in a direction opposite to the drag direction.
  5. 根据权利要求1或4所述的截屏方法,其中,所述拼接待拼接图像和下一时间周期获取的所述截屏区域对应的图像,作为下一待拼接图像的步骤之前,包括:The screen capture method according to claim 1 or 4, wherein the splicing the image to be spliced and the image corresponding to the screen capture area acquired in the next time period as the next image to be spliced includes:
    获取所述显示屏界面的当前滚动速度V;Obtaining a current scrolling speed V of the display interface;
    获取所述截屏区域的高度S;Obtaining a height S of the screen capture area;
    获取所述待拼接图像和上一时间周期获取的截屏区域对应的图像的重叠部分的高度S1; Obtaining a height S1 of the overlapping portion of the image to be stitched and the image corresponding to the screen capture area acquired in the previous time period;
    根据获取的所述V、所述S和所述S1得到所述时间周期T:T=(S-S1)/V;Obtaining the time period T according to the obtained V, the S, and the S1: T=(S-S1)/V;
    拼接所述待拼接图像和所述下一时间周期T获取的所述截屏区域对应的图像,作为下一待拼接图像。And splicing the image to be spliced and the image corresponding to the screen capture area acquired by the next time period T as the next image to be spliced.
  6. 一种终端设备,包括:A terminal device comprising:
    显示模块,用于在接收到截图开始指示时,在所述终端设备的显示屏界面上显示截屏区域;a display module, configured to display a screen capture area on a display interface of the terminal device when receiving a screenshot start indication;
    获取模块,用于获取所述截屏区域对应的图像,作为待拼接图像;An acquiring module, configured to acquire an image corresponding to the screen capture area, as an image to be stitched;
    处理模块,用于重复执行拼接待拼接图像和下一时间周期获取的所述截屏区域对应的图像,作为下一待拼接图像的步骤;a processing module, configured to repeatedly perform the step of splicing the image to be spliced and the image corresponding to the screen capture area acquired in the next time period, as a step of splicing the image to be spliced;
    确定模块,用于接收截屏结束指示,将当前的待拼接图像确定为截屏图像。And a determining module, configured to receive a screen closing end indication, and determine the current image to be stitched as a screen shot image.
  7. 如权利要求6所述的终端设备,其中,所述显示模块的截屏区域为整个屏幕区域或部分屏幕区域。The terminal device according to claim 6, wherein the screen capture area of the display module is an entire screen area or a partial screen area.
  8. 如权利要求6或7所述的终端设备,其中,所述待拼接图像和下一时间周期获取的截屏区域对应的图像具有重叠部分;The terminal device according to claim 6 or 7, wherein the image to be stitched and the image corresponding to the screen capture area acquired in the next time period have overlapping portions;
    所述处理模块具体用于重复执行去除所述待拼接图像的所述重叠部分后,加上所述下一时间周期获取的截屏区域对应的图像,作为下一待拼接图像的步骤;或The processing module is specifically configured to: after repeatedly performing the removing the overlapping portion of the image to be stitched, adding an image corresponding to the screen capture area acquired in the next time period as a step of the next image to be stitched; or
    所述处理模块具体用于重复执行去除所述下一时间周期获取的截屏区域对应的图像的所述重叠部分后,加上所述待拼接图像,作为下一待拼接图像的步骤。The processing module is specifically configured to repeatedly perform the step of removing the overlapping portion of the image corresponding to the screen capture area acquired in the next time period, and adding the image to be stitched as the next image to be stitched.
  9. 如权利要求6所述的终端设备,还包括滚动控制模块,用于在检测到所述截屏区域的边界被拖动到所述显示屏界面的边缘时,控制所述显示屏界面沿拖动方向相反的方向滚动。The terminal device according to claim 6, further comprising a scroll control module, configured to control the display screen interface in a dragging direction when detecting that a boundary of the screen capture area is dragged to an edge of the display screen interface The opposite direction scrolls.
  10. 如权利要求6或9所述的终端设备,其中,所述处理模块具体还包括:The terminal device according to claim 6 or 9, wherein the processing module specifically includes:
    第一获取单元,用于获取所述显示屏界面的当前滚动速度V;a first acquiring unit, configured to acquire a current scrolling speed V of the display screen interface;
    第二获取单元,用于获取所述截屏区域的高度S;a second acquiring unit, configured to acquire a height S of the screen capture area;
    第三获取单元,用于获取待拼接图像和上一时间周期获取的截屏区域对 应的图像的重叠部分的高度S1;a third acquiring unit, configured to acquire an image to be stitched and a screen capture area acquired in a previous time period The height S1 of the overlapping portion of the image of the image;
    计算单元,用于根据获取的所述V、所述S和所述S1得到时间周期T:T=(S-S1)/V;a calculating unit, configured to obtain a time period T according to the obtained V, the S, and the S1: T=(S-S1)/V;
    拼接单元,用于拼接所述待拼接图像和所述下一时间周期T获取的所述截屏区域对应的图像,作为下一待拼接图像。And a splicing unit, configured to splicing the image to be spliced and the image corresponding to the screen capture area acquired by the next time period T, as the next image to be spliced.
  11. 一种计算机程序产品,当所述计算机程序产品被执行时使得计算机实现如权利要求1-5中任一项所述的终端设备的截屏方法。A computer program product, when the computer program product is executed, causes a computer to implement a screen capture method of the terminal device according to any one of claims 1-5.
  12. 一种计算机可读记录介质,在其中记录有如权利要求11所述的计算机程序产品。 A computer readable recording medium having recorded therein the computer program product of claim 11.
PCT/CN2015/084820 2014-07-31 2015-07-22 Screen capture method for terminal device as well as terminal device, computer program product and computer readable recording medium of screen capture method WO2016015585A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410374862.0 2014-07-31
CN201410374862.0A CN105278824B (en) 2014-07-31 2014-07-31 The screenshotss method and its terminal device of a kind of terminal device

Publications (1)

Publication Number Publication Date
WO2016015585A1 true WO2016015585A1 (en) 2016-02-04

Family

ID=55147927

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/084820 WO2016015585A1 (en) 2014-07-31 2015-07-22 Screen capture method for terminal device as well as terminal device, computer program product and computer readable recording medium of screen capture method

Country Status (2)

Country Link
CN (1) CN105278824B (en)
WO (1) WO2016015585A1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106502507A (en) * 2016-11-01 2017-03-15 上海传英信息技术有限公司 Screenshotss method and mobile terminal
WO2017096924A1 (en) * 2015-12-09 2017-06-15 惠州Tcl移动通信有限公司 Method of capturing continuous screenshot of pages on basis of mobile terminal, system and mobile terminal
CN109559280A (en) * 2018-12-19 2019-04-02 维沃移动通信有限公司 A kind of image processing method and terminal
CN110058918A (en) * 2019-04-29 2019-07-26 努比亚技术有限公司 Image processing method, wearable device and computer readable storage medium
CN111681164A (en) * 2020-05-29 2020-09-18 广州市盛光微电子有限公司 Device and method for cruising of panoramic image in local end-to-end mode
CN114270302A (en) * 2019-09-06 2022-04-01 华为技术有限公司 Screen capturing method and related equipment

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105760684B (en) * 2016-03-01 2018-11-13 杭州市第一人民医院 A kind of general medical image secondary acquisition method and device
CN105808107A (en) * 2016-03-28 2016-07-27 努比亚技术有限公司 Picture processing device and method
CN105761211A (en) * 2016-03-30 2016-07-13 努比亚技术有限公司 Method and device for splicing frames of mobile terminal
CN105955604A (en) * 2016-04-20 2016-09-21 乐视控股(北京)有限公司 Method and device for screen capture
CN106251290A (en) * 2016-07-26 2016-12-21 成都风来科技有限公司 A kind of multi-screen screenshot method and man-machine interaction mode thereof continuously
CN107967099A (en) * 2016-10-19 2018-04-27 中兴通讯股份有限公司 A kind of method, device and mobile terminal of terminal screenshotss
CN106648481B (en) * 2016-12-28 2019-09-17 珠海赛纳打印科技股份有限公司 Processing method and its device, print control program and device
CN106843700B (en) * 2017-01-13 2020-03-20 珠海市魅族科技有限公司 Screenshot method and device
CN106911850B (en) * 2017-02-27 2020-05-19 陈惠金 Mobile terminal and screen capturing method thereof
CN106909290A (en) * 2017-04-06 2017-06-30 深圳天珑无线科技有限公司 A kind of method and device of screenshotss
CN107329668A (en) * 2017-06-14 2017-11-07 努比亚技术有限公司 A kind of method for realizing long sectional drawing, mobile terminal and computer-readable recording medium
CN108121583B (en) * 2017-12-11 2021-06-11 Oppo广东移动通信有限公司 Screen capturing method and related product
CN108037874B (en) * 2017-12-11 2019-08-23 Oppo广东移动通信有限公司 Screenshotss method and Related product
CN108469940B (en) * 2018-03-16 2021-03-26 维沃移动通信有限公司 Screenshot method and terminal
CN109271087A (en) * 2018-09-10 2019-01-25 珠海格力电器股份有限公司 A kind of screenshot method and device
CN109389554A (en) * 2018-09-12 2019-02-26 天津字节跳动科技有限公司 Screenshot method and device
CN109656461B (en) * 2018-12-20 2020-09-22 维沃移动通信有限公司 Screen capturing method and terminal
CN110007833A (en) * 2019-02-27 2019-07-12 深圳点猫科技有限公司 A kind of intelligence programming implementation method and device realized terminal screen and roll screenshot
CN110198470A (en) * 2019-06-06 2019-09-03 深圳市福瑞达显示技术有限公司 Splice the distributed display methods and its display system of fan screen
CN114296842A (en) * 2021-07-26 2022-04-08 海信视像科技股份有限公司 Display device and scrolling text detection method
CN112764639A (en) * 2020-12-31 2021-05-07 维沃移动通信有限公司 Screen capturing method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101021871A (en) * 2007-01-11 2007-08-22 深圳市光芒科技有限公司 Web page content block intelligent intercepting method
CN102681829A (en) * 2011-03-16 2012-09-19 阿里巴巴集团控股有限公司 Screenshot method, device and communication client
US20130073953A1 (en) * 2011-09-21 2013-03-21 Timothy Onyenobi News headline screenshot viewing system
CN103927178A (en) * 2014-04-18 2014-07-16 长沙裕邦软件开发有限公司 Picture capturing method and picture capturing device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8020100B2 (en) * 2006-12-22 2011-09-13 Apple Inc. Fast creation of video segments
CN100476829C (en) * 2007-01-17 2009-04-08 深圳市光芒科技有限公司 Method for intercepting page content
CN103593171A (en) * 2012-08-15 2014-02-19 阿里巴巴集团控股有限公司 Multi-zone screenshot method and device
CN103500066B (en) * 2013-09-30 2019-12-24 北京奇虎科技有限公司 Screenshot device and method suitable for touch screen equipment
CN103472999B (en) * 2013-09-30 2016-08-24 宇龙计算机通信科技(深圳)有限公司 A kind of screenshot method and mobile terminal thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101021871A (en) * 2007-01-11 2007-08-22 深圳市光芒科技有限公司 Web page content block intelligent intercepting method
CN102681829A (en) * 2011-03-16 2012-09-19 阿里巴巴集团控股有限公司 Screenshot method, device and communication client
US20130073953A1 (en) * 2011-09-21 2013-03-21 Timothy Onyenobi News headline screenshot viewing system
CN103927178A (en) * 2014-04-18 2014-07-16 长沙裕邦软件开发有限公司 Picture capturing method and picture capturing device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017096924A1 (en) * 2015-12-09 2017-06-15 惠州Tcl移动通信有限公司 Method of capturing continuous screenshot of pages on basis of mobile terminal, system and mobile terminal
CN106502507A (en) * 2016-11-01 2017-03-15 上海传英信息技术有限公司 Screenshotss method and mobile terminal
CN109559280A (en) * 2018-12-19 2019-04-02 维沃移动通信有限公司 A kind of image processing method and terminal
CN109559280B (en) * 2018-12-19 2023-09-08 维沃移动通信有限公司 Image processing method and terminal
CN110058918A (en) * 2019-04-29 2019-07-26 努比亚技术有限公司 Image processing method, wearable device and computer readable storage medium
CN110058918B (en) * 2019-04-29 2023-09-19 努比亚技术有限公司 Picture processing method, wearable device and computer readable storage medium
CN114270302A (en) * 2019-09-06 2022-04-01 华为技术有限公司 Screen capturing method and related equipment
US11922005B2 (en) 2019-09-06 2024-03-05 Huawei Technologies Co., Ltd. Screen capture method and related device
CN111681164A (en) * 2020-05-29 2020-09-18 广州市盛光微电子有限公司 Device and method for cruising of panoramic image in local end-to-end mode
CN111681164B (en) * 2020-05-29 2023-06-16 广州市盛光微电子有限公司 Device and method for cruising panoramic image in partial end-to-end connection mode

Also Published As

Publication number Publication date
CN105278824A (en) 2016-01-27
CN105278824B (en) 2018-06-26

Similar Documents

Publication Publication Date Title
WO2016015585A1 (en) Screen capture method for terminal device as well as terminal device, computer program product and computer readable recording medium of screen capture method
US10452333B2 (en) User terminal device providing user interaction and method therefor
US10108331B2 (en) Method, apparatus and computer readable medium for window management on extending screens
TWI478045B (en) Dynamic wallppaper of mobile systes
US9405463B2 (en) Device and method for gesturally changing object attributes
US11494070B2 (en) Activating a camera function within a content management application
KR101969424B1 (en) Photographing device for displaying image and methods thereof
WO2016034023A1 (en) Terminal triggering method and relevant device
WO2022048633A1 (en) Display method and apparatus and electronic device
TW201617837A (en) A processing method of screen-displayed window and mobile terminal
EP4116807A1 (en) Multi-task operation method and apparatus, electronic device, and storage medium
US20120176322A1 (en) Systems and methods to present multiple frames on a touch screen
WO2014187054A1 (en) Split-screen display method and device, and electronic apparatus thereof
WO2017071286A1 (en) Icon moving method and apparatus
CN106250021B (en) Photographing control method and mobile terminal
JP2015041271A5 (en)
WO2016033957A1 (en) Interface display method and device
KR20150095541A (en) User terminal device and method for displaying thereof
WO2023207145A1 (en) Screenshot capturing method and apparatus, electronic device and computer readable medium
EP2829967A2 (en) Method of processing input and electronic device thereof
US20180152622A1 (en) Mobile terminal-based photographing method and mobile terminal
US20190012129A1 (en) Display apparatus and method for controlling display apparatus
WO2016008410A1 (en) Video play method and system
US20150012856A1 (en) Electronic device and method for displaying user interface for one handed operation
CN104571814B (en) Projection method and electronic equipment

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15828064

Country of ref document: EP

Kind code of ref document: A1