技术领域technical field
本公开涉及移动终端领域,尤其涉及一种截屏方法和装置。The present disclosure relates to the field of mobile terminals, and in particular, to a screen capture method and device.
背景技术Background technique
用户在线聊天时,为了能够让对端看见自己的屏幕,常使用截屏功能将当前屏幕的内容截取为图片,然后发送给对端。When users are chatting online, in order to allow the other end to see their own screen, they often use the screenshot function to capture the content of the current screen as a picture, and then send it to the other end.
截取屏幕的方式包括普通截屏和长截屏,普通截屏是指直接截取当前屏幕内容生成图片,而长截屏是指截取超过一个屏幕内容的内容并生成一张图片。Screen capture methods include normal screen capture and long screen capture. Normal screen capture refers to directly capturing the content of the current screen to generate a picture, while long screen capture refers to capturing more than one screen content and generating a picture.
目前的终端设备在实现普通截屏和长截屏功能时,需要通过两种不同入口(例如两种不同的物理组合按键)实现两种截屏方式,这种设置会造成用户使用不便,用户体验降低。When the current terminal equipment realizes the functions of ordinary screen capture and long screen capture, two screen capture methods need to be realized through two different entrances (for example, two different physical combination buttons). This setting will cause inconvenience to users and reduce user experience.
发明内容Contents of the invention
为克服相关技术中存在的问题,本公开提供一种截屏方法和装置。In order to overcome the problems existing in related technologies, the present disclosure provides a screen capture method and device.
根据本公开实施例的第一方面,提供一种截屏方法,所述方法包括:According to a first aspect of an embodiment of the present disclosure, there is provided a screen capture method, the method comprising:
获取截屏指令;Obtain screen capture instructions;
响应于所述截屏指令,截取当前屏幕内容;Responding to the screenshot instruction, intercept the current screen content;
根据截取到的当前屏幕内容生成预览窗口,所述预览窗口设有长截屏入口,所述长截屏入口用于触发长截屏操作。A preview window is generated according to the intercepted current screen content, the preview window is provided with a long screen capture entry, and the long screen capture entry is used to trigger a long screen capture operation.
本公开在截取当前屏幕内容后,通过弹出带有长截屏入口的预览窗口,供用户执行长截屏操作,实现了通过一个用户入口进行两种截屏的方案,避免通过两种不同入口实现两种截屏方式,同时,避免用户记忆两种截屏方式的快捷按键组合,提高了用户体验。After intercepting the content of the current screen, the present disclosure pops up a preview window with a long screenshot entry for the user to perform a long screenshot operation, and realizes two kinds of screenshots through one user entry, avoiding two kinds of screenshots through two different entries At the same time, it prevents the user from memorizing the shortcut key combination of the two screen capture methods, which improves the user experience.
在本公开实施例的一种实现方式中,所述根据截取到的当前屏幕内容生成预览窗口,包括:In an implementation manner of an embodiment of the present disclosure, the generating the preview window according to the intercepted current screen content includes:
生成预览悬浮窗;Generate a preview floating window;
当检测到作用于所述预览悬浮窗的点击操作时,放大所述预览悬浮窗,得到所述预览窗口。When a click operation acting on the preview floating window is detected, the preview floating window is enlarged to obtain the preview window.
在该实现方式中,先生成预览悬浮窗,当用户点击时才放大得到预览窗口,避免直接生成预览窗口造成占用屏幕过大的问题。In this implementation method, a floating preview window is generated first, and the preview window is enlarged only when the user clicks, so as to avoid the problem of occupying too much screen caused by directly generating the preview window.
在本公开实施例的另一种实现方式中,所述预览悬浮窗位于屏幕一角。In another implementation manner of the embodiment of the present disclosure, the preview floating window is located at a corner of the screen.
在该实现方式中,预览悬浮窗位于屏幕一角,可以使预览悬浮窗不占用屏幕中心位置,避免遮挡重要信息。In this implementation manner, the floating preview window is located at a corner of the screen, so that the floating preview window does not occupy the center of the screen and avoids blocking important information.
在本公开实施例的另一种实现方式中,所述方法还包括:In another implementation manner of the embodiments of the present disclosure, the method further includes:
当超过N秒未检测到所述预览悬浮窗的点击操作时,移除所述预览悬浮窗,N为正数。When the click operation of the preview floating window is not detected for more than N seconds, the preview floating window is removed, and N is a positive number.
这种短时间显示预览悬浮窗的方式,一方面可以让用户有时间来选择是否点击该预览悬浮窗,另一方面,当用户选择不点击时,预览悬浮窗可以自行消失,无需用户操作。This method of displaying the preview floating window for a short time, on the one hand, allows the user to have time to choose whether to click the preview floating window, on the other hand, when the user chooses not to click, the preview floating window can disappear by itself without user operation.
在本公开实施例的另一种实现方式中,所述预览悬浮窗为带有动画效果的预览悬浮窗,以达到提示用户的目的。In another implementation manner of the embodiment of the present disclosure, the preview floating window is a preview floating window with an animation effect, so as to achieve the purpose of prompting the user.
在本公开实施例的另一种实现方式中,所述方法还包括:In another implementation manner of the embodiments of the present disclosure, the method further includes:
通过所述长截屏入口获取所述长截屏指令;Obtaining the long screen capture instruction through the long screen capture entry;
响应于所述长截屏指令,执行长截屏操作。In response to the long screen capture instruction, a long screen capture operation is performed.
在该实现方式中,用户通过长截屏入口生成长截屏指令,以执行长截屏操作。In this implementation manner, the user generates a long screen capture instruction through the long screen capture entry to perform a long screen capture operation.
在本公开实施例的另一种实现方式中,所述执行长截屏操作,包括:In another implementation manner of the embodiment of the present disclosure, the performing the long screenshot operation includes:
获取开始屏幕位置;get start screen position;
从所述开始屏幕位置开始,依次显示各个页面的内容;Starting from the position of the start screen, the contents of each page are displayed in sequence;
当检测到结束长截屏指令时,确定结束屏幕位置;When detecting the instruction to end the long screen capture, determine the end screen position;
截取所述开始屏幕位置和结束屏幕位置之间的页面,生成长截屏图片。Intercepting the page between the start screen position and the end screen position to generate a long screenshot.
在本公开实施例的另一种实现方式中,所述截取所述开始屏幕位置和结束屏幕位置之间的页面,生成长截屏图片,包括:In another implementation manner of the embodiment of the present disclosure, the intercepting the page between the start screen position and the end screen position to generate a long screenshot includes:
在所述开始屏幕位置和结束屏幕位置之间连续截取多个图片,将所述多个图片拼接得到长截屏图片。A plurality of pictures are captured continuously between the start screen position and the end screen position, and the plurality of pictures are spliced to obtain a long screenshot.
在本公开实施例的另一种实现方式中,所述截取所述开始屏幕位置和结束屏幕位置之间的页面,生成长截屏图片,包括:In another implementation manner of the embodiment of the present disclosure, the intercepting the page between the start screen position and the end screen position to generate a long screenshot includes:
获取所述开始屏幕位置和结束屏幕位置之间的待截取页面,所述待截取页面为一个长度大于屏幕长度的视图;Obtaining the page to be captured between the start screen position and the end screen position, the page to be captured is a view whose length is greater than the screen length;
将所述视图转化为位图,根据所述位图生成长截屏图片。The view is converted into a bitmap, and a long screenshot is generated according to the bitmap.
上述两种方式均能够,快速高效的生成长截屏图片,且资源占用少。Both of the above two methods can quickly and efficiently generate long screenshots, and consume less resources.
在本公开实施例的另一种实现方式中,所述从所述开始屏幕位置开始,依次显示各个页面的内容,包括:In another implementation manner of the embodiment of the present disclosure, starting from the position of the start screen, displaying the contents of each page in sequence includes:
在所述预览窗口内滚动各个页面;或者,scroll through the individual pages within said preview window; or,
逐渐增加所述预览窗口的长度,以逐渐增加所述预览窗口内显示的页面;或者,gradually increasing the length of the preview window to gradually increase the pages displayed in the preview window; or,
逐渐缩小所述预览窗口内的页面内容,以逐渐增加所述预览窗口内显示的页面。The page content in the preview window is gradually reduced to gradually increase the pages displayed in the preview window.
在本公开实施例的另一种实现方式中,所述方法还包括:In another implementation manner of the embodiments of the present disclosure, the method further includes:
当获取到结束按钮点击操作时,生成所述结束长截屏指令;或者,When the click operation of the end button is acquired, generate the end long screenshot instruction; or,
当所述预览窗口中的页面滚过预定数量或所述预览窗口显示出预定数量的页面时,生成所述结束长截屏指令;或者,When the pages in the preview window scroll through a predetermined number or the preview window displays a predetermined number of pages, generate the end long screenshot instruction; or,
当所述预览窗口中的页面滚动至最底端页面或显示出最底端页面时,生成所述结束长截屏指令。When the page in the preview window scrolls to the bottommost page or displays the bottommost page, the instruction to end the long screenshot is generated.
在本公开实施例的另一种实现方式中,所述方法还包括:In another implementation manner of the embodiments of the present disclosure, the method further includes:
获取图片裁剪指令;Obtain image cropping instructions;
响应于所述图片裁剪指令,对响应于所述截屏指令或所述长截屏指令截取的图片进行裁剪。In response to the picture cropping instruction, crop the picture captured in response to the screenshot instruction or the long screenshot instruction.
在该实现方式中,通过对图片进行裁剪,使得可以截出用户满意的图形的图片。In this implementation manner, by cropping the picture, it is possible to cut out a picture of a graphic that the user is satisfied with.
在本公开实施例的另一种实现方式中,所述方法还包括:In another implementation manner of the embodiments of the present disclosure, the method further includes:
获取图片修饰指令;Obtain image modification instructions;
响应于所述图片修饰指令,对响应于所述截屏指令或所述长截屏指令截取的图片进行修饰。Responding to the picture modification instruction, modifying the picture captured in response to the screenshot instruction or the long screenshot instruction.
在该实现方式中,通过对图片进行修饰,使得用户可以对图片进行标记或者添加水印。In this implementation manner, by modifying the picture, the user can mark or add a watermark to the picture.
在本公开实施例的另一种实现方式中,所述方法还包括:In another implementation manner of the embodiments of the present disclosure, the method further includes:
获取图片分享指令;Obtain image sharing instructions;
响应于所述图片分享指令,对响应于所述截屏指令或所述长截屏指令截取的图片进行分享。In response to the picture sharing instruction, share the picture captured in response to the screenshot instruction or the long screenshot instruction.
在该实现方式中,通过对图片进行分享,而无需进入社交软件再选择图片进行分享,节省用户操作。In this implementation manner, by sharing pictures, there is no need to enter social software to select pictures for sharing, saving user operations.
在本公开实施例的另一种实现方式中,所述预览窗口还包括裁剪按钮、修饰按钮和分享按钮中的至少一种。In another implementation manner of the embodiment of the present disclosure, the preview window further includes at least one of a cropping button, a modification button and a sharing button.
根据本公开实施例的第二方面,提供一种截屏装置,所述装置包括:According to a second aspect of an embodiment of the present disclosure, there is provided a screen capture device, the device comprising:
获取模块,用于获取截屏指令;Obtaining a module for obtaining screenshot instructions;
截屏模块,用于响应于所述截屏指令,截取当前屏幕内容;A screen capture module, configured to capture current screen content in response to the screen capture instruction;
预览模块,用于根据截取到的当前屏幕内容生成预览窗口,所述预览窗口设有长截屏入口,所述长截屏入口用于触发长截屏操作。The preview module is configured to generate a preview window according to the intercepted current screen content, the preview window is provided with a long screen capture entry, and the long screen capture entry is used to trigger a long screen capture operation.
在本公开实施例的一种实现方式中,所述预览模块,用于:In an implementation manner of an embodiment of the present disclosure, the preview module is configured to:
生成预览悬浮窗;Generate a preview floating window;
当检测到作用于所述预览悬浮窗的点击操作时,放大所述预览悬浮窗,得到所述预览窗口。When a click operation acting on the preview floating window is detected, the preview floating window is enlarged to obtain the preview window.
在本公开实施例的另一种实现方式中,所述预览悬浮窗位于屏幕一角。In another implementation manner of the embodiment of the present disclosure, the preview floating window is located at a corner of the screen.
在本公开实施例的另一种实现方式中,所述预览模块,还用于:In another implementation manner of the embodiment of the present disclosure, the preview module is also used for:
当超过N秒未检测到所述预览悬浮窗的点击操作时,移除所述预览悬浮窗,N为正数。When the click operation of the preview floating window is not detected for more than N seconds, the preview floating window is removed, and N is a positive number.
在本公开实施例的另一种实现方式中,所述预览悬浮窗为带有动画效果的预览悬浮窗。In another implementation manner of the embodiment of the present disclosure, the preview floating window is a preview floating window with an animation effect.
在本公开实施例的另一种实现方式中,所述截屏模块,还用于:In another implementation manner of the embodiment of the present disclosure, the screenshot module is also used for:
通过所述长截屏入口获取所述长截屏指令;Obtaining the long screen capture instruction through the long screen capture entry;
响应于所述长截屏指令,执行长截屏操作。In response to the long screen capture instruction, a long screen capture operation is performed.
在本公开实施例的另一种实现方式中,所述截屏模块,用于:In another implementation manner of the embodiment of the present disclosure, the screenshot module is configured to:
获取开始屏幕位置;get start screen position;
从所述开始屏幕位置开始,依次显示各个页面的内容;Starting from the position of the start screen, the contents of each page are displayed in sequence;
当检测到结束长截屏指令时,确定结束屏幕位置;When detecting the instruction to end the long screen capture, determine the end screen position;
截取所述开始屏幕位置和结束屏幕位置之间的页面,生成长截屏图片。Intercepting the page between the start screen position and the end screen position to generate a long screenshot.
在本公开实施例的另一种实现方式中,所述截屏模块,用于:In another implementation manner of the embodiment of the present disclosure, the screenshot module is configured to:
在所述开始屏幕位置和结束屏幕位置之间连续截取多个图片,将所述多个图片拼接得到长截屏图片。A plurality of pictures are captured continuously between the start screen position and the end screen position, and the plurality of pictures are spliced to obtain a long screenshot.
在本公开实施例的另一种实现方式中,所述截屏模块,用于:In another implementation manner of the embodiment of the present disclosure, the screenshot module is configured to:
获取所述开始屏幕位置和结束屏幕位置之间的待截取页面,所述待截取页面为一个长度大于屏幕长度的视图;Obtaining the page to be captured between the start screen position and the end screen position, the page to be captured is a view whose length is greater than the screen length;
将所述视图转化为位图,根据所述位图生成长截屏图片。The view is converted into a bitmap, and a long screenshot is generated according to the bitmap.
在本公开实施例的另一种实现方式中,所述截屏模块,用于:In another implementation manner of the embodiment of the present disclosure, the screenshot module is configured to:
在所述预览窗口内滚动各个页面;或者,scroll through the individual pages within said preview window; or,
逐渐增加所述预览窗口的长度,以逐渐增加所述预览窗口内显示的页面;或者,gradually increasing the length of the preview window to gradually increase the pages displayed in the preview window; or,
逐渐缩小所述预览窗口内的页面内容,以逐渐增加所述预览窗口内显示的页面。The page content in the preview window is gradually reduced to gradually increase the pages displayed in the preview window.
在本公开实施例的另一种实现方式中,所述截屏模块,还用于:In another implementation manner of the embodiment of the present disclosure, the screenshot module is also used for:
当获取到结束按钮点击操作时,生成所述结束长截屏指令;或者,When the click operation of the end button is acquired, generate the end long screenshot instruction; or,
当所述预览窗口中的页面滚过预定数量或所述预览窗口显示出预定数量的页面时,生成所述结束长截屏指令;或者,When the pages in the preview window scroll through a predetermined number or the preview window displays a predetermined number of pages, generate the end long screenshot instruction; or,
当所述预览窗口中的页面滚动至最底端页面或显示出最底端页面时,生成所述结束长截屏指令。When the page in the preview window scrolls to the bottommost page or displays the bottommost page, the instruction to end the long screenshot is generated.
在本公开实施例的另一种实现方式中,所述截屏模块包括:In another implementation manner of the embodiments of the present disclosure, the screenshot module includes:
裁剪子模块,用于获取图片裁剪指令;The cropping sub-module is used to obtain image cropping instructions;
响应于所述图片裁剪指令,对响应于所述截屏指令或所述长截屏指令截取的图片进行裁剪。In response to the picture cropping instruction, crop the picture captured in response to the screenshot instruction or the long screenshot instruction.
在本公开实施例的另一种实现方式中,所述截屏模块包括:In another implementation manner of the embodiments of the present disclosure, the screenshot module includes:
修饰子模块,用于获取图片修饰指令;Modification sub-module, used to obtain image modification instructions;
响应于所述图片修饰指令,对响应于所述截屏指令或所述长截屏指令截取的图片进行修饰。Responding to the picture modification instruction, modifying the picture captured in response to the screenshot instruction or the long screenshot instruction.
在本公开实施例的另一种实现方式中,所述截屏模块包括:In another implementation manner of the embodiments of the present disclosure, the screenshot module includes:
分享子模块,用于获取图片分享指令;The sharing sub-module is used to obtain image sharing instructions;
响应于所述图片分享指令,对响应于所述截屏指令或所述长截屏指令截取的图片进行分享。In response to the picture sharing instruction, share the picture captured in response to the screenshot instruction or the long screenshot instruction.
在本公开实施例的另一种实现方式中,所述预览窗口还包括裁剪按钮、修饰按钮和分享按钮中的至少一种。In another implementation manner of the embodiment of the present disclosure, the preview window further includes at least one of a cropping button, a modification button and a sharing button.
根据本公开实施例的第三方面,提供一种终端设备,所述终端设备包括:According to a third aspect of an embodiment of the present disclosure, a terminal device is provided, and the terminal device includes:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:Wherein, the processor is configured as:
获取截屏指令;Obtain screen capture instructions;
响应于所述截屏指令,截取当前屏幕内容;Responding to the screenshot instruction, intercept the current screen content;
根据截取到的当前屏幕内容生成预览窗口,所述预览窗口设有长截屏入口,所述长截屏入口用于触发长截屏操作。A preview window is generated according to the intercepted current screen content, the preview window is provided with a long screen capture entry, and the long screen capture entry is used to trigger a long screen capture operation.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
本公开通过在截取当前屏幕内容后,通过弹出带有长截屏入口的预览窗口,供用户执行长截屏操作,实现了通过一个用户入口进行两种截屏的方案,避免通过两种不同入口实现两种截屏方式,同时,避免用户记忆两种截屏方式的快捷按键组合,提高了用户体验。In this disclosure, after capturing the content of the current screen, a preview window with a long screenshot entry pops up for the user to perform a long screenshot operation, and realizes two kinds of screenshots through one user entry, avoiding two different entries through two different entries. The screen capture mode, meanwhile, avoids the user from memorizing the shortcut key combination of the two screen capture modes, which improves the user experience.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description serve to explain the principles of the invention.
图1是根据一示例性实施例示出的终端设备示意图。Fig. 1 is a schematic diagram of a terminal device according to an exemplary embodiment.
图2是根据一示例性实施例示出的一种截屏方法的流程图。Fig. 2 is a flow chart of a screen capture method according to an exemplary embodiment.
图3是根据一示例性实施例示出的一种截屏方法的流程图。Fig. 3 is a flow chart of a screen capture method according to an exemplary embodiment.
图3a是根据一示例性实施例示出的一种终端设备界面图。Fig. 3a is a diagram showing an interface of a terminal device according to an exemplary embodiment.
图3b是根据一示例性实施例示出的一种终端设备界面图。Fig. 3b is an interface diagram of a terminal device according to an exemplary embodiment.
图3c是根据一示例性实施例示出的一种终端设备界面图。Fig. 3c is an interface diagram of a terminal device according to an exemplary embodiment.
图3d是根据一示例性实施例示出的一种终端设备界面图。Fig. 3d is an interface diagram of a terminal device according to an exemplary embodiment.
图3e是根据一示例性实施例示出的一种终端设备界面图。Fig. 3e is a diagram showing an interface of a terminal device according to an exemplary embodiment.
图3f是根据一示例性实施例示出的一种截屏图片的示意图。Fig. 3f is a schematic diagram showing a screenshot according to an exemplary embodiment.
图4是根据一示例性实施例示出的一种截屏装置的框图。Fig. 4 is a block diagram showing a screen capture device according to an exemplary embodiment.
图5是根据一示例性实施例示出的一种截屏装置的框图。Fig. 5 is a block diagram showing a screen capture device according to an exemplary embodiment.
图6是根据一示例性实施例示出的一种截屏装置的框图。Fig. 6 is a block diagram showing a screen capture device according to an exemplary embodiment.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.
本公开实施例提供的截屏方法适用于具有显示屏的终端设备,尤其是具有触摸显示屏的终端设备,例如图1所示终端设备100,终端设备100包括但不限于是智能电话、智能手表、平板电脑等。The screenshot method provided by the embodiments of the present disclosure is applicable to terminal devices with a display screen, especially a terminal device with a touch screen, such as the terminal device 100 shown in FIG. tablet etc.
需要说明的是,以上所述的设备种类仅为举例,本公开对此不作限制。It should be noted that the types of devices described above are only examples, and the present disclosure does not limit them.
图2是根据一示例性实施例示出的一种截屏方法的流程图,如图2所示,该截屏方法适用于前述场景中的终端设备,包括以下步骤:Fig. 2 is a flow chart of a screen capture method according to an exemplary embodiment. As shown in Fig. 2, the screen capture method is applicable to the terminal device in the foregoing scenario, and includes the following steps:
在步骤S11中,获取截屏指令。In step S11, a screenshot instruction is acquired.
当终端设备获取到截屏触发操作时,得到截屏指令。截屏触发操作包括但不限于以下几种:通过快捷图标按钮触发;通过按键或者按键组合触发;通过显示屏手势触发;通过语音指令触发;通过拿起终端设备摇一摇,或者在空中挥舞出指定形状触发;通过隔空手势(距离屏幕一段距离执行的手势)触发。When the terminal device acquires a screen capture trigger operation, it obtains a screen capture instruction. Screenshot triggering operations include but are not limited to the following: triggering through shortcut icon buttons; triggering through buttons or button combinations; triggering through screen gestures; triggering through voice commands; Triggered by shapes; triggered by air gestures (gestures performed at a distance from the screen).
在步骤S12中,响应于截屏指令,截取当前屏幕内容。In step S12, the content of the current screen is captured in response to the screen capture instruction.
为了便于描述,下文中将截取当前屏幕内容的截屏方式称为普通截屏,用以与长截屏相区分。普通截屏截取当前屏幕内容,即截屏时屏幕中的内容。For ease of description, the method of capturing the content of the current screen is hereinafter referred to as a normal screenshot to distinguish it from a long screenshot. Ordinary screenshot captures the current screen content, that is, the content on the screen when the screenshot is taken.
普通截屏的截屏区域可以为整个显示屏区域或部分显示屏区域。当截屏区域为部分显示屏区域时,该截屏区域可以为矩形,该矩形截屏区域默认宽度为显示屏的宽度,高度默认为显示屏高度的一半,且默认覆盖显示屏中心区域,即该矩形截屏区域的中心和显示屏的中心重合。当然,矩形截屏区域的宽度也可以为屏幕宽度的一半。本公开实施例对矩形截屏区域的长度、宽度以及在屏幕中的位置不作限定。普通截屏的截屏区域的大小、位置及形状可以是预先设置的,可以由用户自行调整;也可以由用户在普通截屏获得图片后通过裁剪工具进行调整。The screenshot area of a common screen capture can be the entire display area or a part of the display area. When the screen capture area is part of the display screen area, the screen capture area can be a rectangle. The default width of the rectangular screen capture area is the width of the display screen, and the default height is half of the height of the display screen. The center of the area coincides with the center of the display. Certainly, the width of the rectangular screenshot area may also be half of the screen width. The embodiment of the present disclosure does not limit the length, width and position on the screen of the rectangular screenshot area. The size, position and shape of the screenshot area of ordinary screenshots can be preset and can be adjusted by the user; it can also be adjusted by the user through a cropping tool after obtaining the picture in the ordinary screenshot.
在步骤S13中,根据截取到的当前屏幕内容生成预览窗口,预览窗口设有长截屏入口,长截屏入口用于触发长截屏操作。In step S13, a preview window is generated according to the intercepted current screen content, and the preview window is provided with a long screenshot entry, which is used to trigger a long screenshot operation.
长截屏入口可以是按钮、输入框,或根据用户手势生成长截屏指令来触发长截屏操作的机制。The long screenshot entry can be a button, an input box, or a mechanism that generates a long screenshot instruction based on user gestures to trigger a long screenshot operation.
其中,长截屏操作是指截取超过一个屏幕内容的内容并生成一张图片。Wherein, the long screen capture operation refers to capturing more than one screen content and generating a picture.
本公开通过在截取当前屏幕内容后,通过弹出带有长截屏入口的预览窗口,供用户执行长截屏操作,实现了通过一个用户入口进行两种截屏的方案,避免通过两种不同入口实现两种截屏方式,同时,避免用户记忆两种截屏方式的快捷按键组合,提高了用户体验。In this disclosure, after capturing the content of the current screen, a preview window with a long screenshot entry pops up for the user to perform a long screenshot operation, and realizes two kinds of screenshots through one user entry, avoiding two different entries through two different entries. The screen capture mode, meanwhile, avoids the user from memorizing the shortcut key combination of the two screen capture modes, which improves the user experience.
图3是根据一示例性实施例示出的一种截屏方法的流程图,如图3所示,该截屏方法适用于前述场景中的终端设备,包括以下步骤:Fig. 3 is a flow chart of a screen capture method shown according to an exemplary embodiment. As shown in Fig. 3, the screen capture method is applicable to the terminal device in the foregoing scenario, and includes the following steps:
在步骤S21中,获取截屏指令。In step S21, a screenshot instruction is acquired.
当终端设备获取到普通截屏触发操作时,得到截屏指令。普通截屏触发操作包括但不限于以下几种:通过快捷图标按钮触发;通过按键或者按键组合触发;通过显示屏手势触发;通过语音指令触发;通过拿起终端设备摇一摇,或者在空中挥舞出指定形状触发;通过隔空手势(距离屏幕一段距离执行的手势)触发。When the terminal device obtains a common screen capture trigger operation, it obtains a screen capture instruction. Ordinary screenshot triggering operations include but are not limited to the following: triggering through shortcut icon buttons; triggering through buttons or button combinations; triggering through screen gestures; triggering through voice commands; Triggered by a specified shape; triggered by air gestures (gestures performed at a distance from the screen).
在步骤S22中,响应于截屏指令,截取当前屏幕内容。In step S22, the content of the current screen is captured in response to the screen capture instruction.
为了便于描述,下文中将截取当前屏幕内容的截屏方式称为普通截屏,用以与长截屏相区分。普通截屏截取当前屏幕内容,即截屏时屏幕中的内容。For ease of description, the method of capturing the content of the current screen is hereinafter referred to as a normal screenshot to distinguish it from a long screenshot. Ordinary screenshot captures the current screen content, that is, the content on the screen when the screenshot is taken.
普通截屏的截屏区域可以为整个显示屏区域或部分显示屏区域。当截屏区域为部分显示屏区域时,该截屏区域可以为矩形,该矩形截屏区域默认宽度为显示屏的宽度,高度默认为显示屏高度的一半,且默认覆盖显示屏中心区域,即该矩形截屏区域的中心和显示屏的中心重合。当然,矩形截屏区域的宽度也可以为屏幕宽度的一半。本公开实施例对矩形截屏区域的长度、宽度以及在屏幕中的位置不作限定。普通截屏的截屏区域的大小、位置及形状可以是预先设置的,可以由用户自行调整;也可以由用户在普通截屏获得图片后通过裁剪工具进行调整。The screenshot area of a common screen capture can be the entire display area or a part of the display area. When the screen capture area is part of the display screen area, the screen capture area can be a rectangle. The default width of the rectangular screen capture area is the width of the display screen, and the default height is half of the height of the display screen. The center of the area coincides with the center of the display. Certainly, the width of the rectangular screenshot area may also be half of the screen width. The embodiment of the present disclosure does not limit the length, width and position on the screen of the rectangular screenshot area. The size, position and shape of the screenshot area of ordinary screenshots can be preset and can be adjusted by the user; it can also be adjusted by the user through a cropping tool after obtaining the picture in the ordinary screenshot.
在步骤S23中,生成预览悬浮窗。In step S23, a preview floating window is generated.
用户在执行完普通截屏后有可能当下立即对截图进行编辑(如裁剪、修饰)或者分享,也有可能需要进一步执行长截屏操作,生成预览悬浮窗既可以提示用户完成了普通截屏,又可以让用户将该预览悬浮窗作为入口执行后续操作。After taking a normal screenshot, the user may immediately edit the screenshot (such as cropping, retouching) or share it, or may need to further perform a long screenshot operation. The preview floating window can not only prompt the user to complete the normal screenshot, but also let the user Use the preview floating window as an entry point to perform subsequent operations.
在本实施例中,预览悬浮窗是预览窗口缩小得到的,这样用户点击预览悬浮窗时,直接放大该预览悬浮窗即可得到预览窗口。In this embodiment, the preview floating window is obtained by shrinking the preview window. In this way, when the user clicks on the preview floating window, the preview window can be obtained by directly enlarging the preview floating window.
在其他实施例中,预览悬浮窗也可以只是一个选项框或者图标,用户点击后生成预览窗口。In other embodiments, the preview floating window may also be just an option box or an icon, which is clicked by the user to generate a preview window.
在另一种实施例中,预览悬浮窗即为预览窗口,用户可以直接对预览悬浮窗进行操作,从而得到长截屏指令。In another embodiment, the preview floating window is a preview window, and the user can directly operate the preview floating window to obtain a long screenshot instruction.
在本公开中,预览悬浮窗位于屏幕一角,例如屏幕右上角,这样可以使预览悬浮窗不占用屏幕中心位置,避免遮挡重要信息。In the present disclosure, the preview floating window is located at a corner of the screen, such as the upper right corner of the screen, so that the preview floating window does not occupy the center of the screen and avoids blocking important information.
在本公开中,预览悬浮窗存在N秒,当超过N秒未检测到预览悬浮窗的点击操作时,移除预览悬浮窗,N为正数,例如3-5秒。这种短时间显示预览悬浮窗的方式,一方面可以让用户有时间来选择是否点击该预览悬浮窗,另一方面,当用户选择不点击时,可以自行消失,无需用户操作。In the present disclosure, the preview floating window exists for N seconds, and when no click operation of the preview floating window is detected for more than N seconds, the preview floating window is removed, and N is a positive number, such as 3-5 seconds. This method of displaying the preview floating window for a short time, on the one hand, allows the user to have time to choose whether to click on the preview floating window, on the other hand, when the user chooses not to click, it can disappear by itself without user operation.
在本公开中,预览悬浮窗为带有动画效果的预览悬浮窗,以达到提示用户的目的。其中,动画效果可以是在屏幕上下或左右方向上跳动动画效果、闪烁动画效果或者其他动画效果。In the present disclosure, the preview floating window is a preview floating window with an animation effect, so as to achieve the purpose of prompting the user. Wherein, the animation effect may be a bouncing animation effect, a flickering animation effect, or other animation effects in the up-down or left-right direction of the screen.
如图3a所示,终端设备100中,预览悬浮窗100A处于屏幕的一角。As shown in FIG. 3 a , in the terminal device 100 , the floating preview window 100A is located at a corner of the screen.
在步骤S24中,当检测到作用于预览悬浮窗的点击操作时,放大预览悬浮窗,得到预览窗口,预览窗口设有长截屏入口,长截屏入口用于触发长截屏操作。In step S24, when a click operation acting on the preview floating window is detected, the preview floating window is enlarged to obtain a preview window. The preview window is provided with a long screenshot entry, which is used to trigger a long screenshot operation.
在本公开中,预览窗口的形状和大小可以任意设置,比如图3b所示的矩形。In the present disclosure, the shape and size of the preview window can be set arbitrarily, such as the rectangle shown in FIG. 3b.
如图3b所示,预览窗口100B可以包括预览界面100a和布置在预览界面外部的按钮100b,按钮可以包括长截屏按钮,长截屏按钮是长截屏入口的一种实现方式。As shown in FIG. 3b, the preview window 100B may include a preview interface 100a and a button 100b arranged outside the preview interface. The button may include a long screenshot button, which is an implementation of a long screenshot entry.
在步骤S25中,通过长截屏入口获取长截屏指令,长截屏指令是用户通过对长截屏入口执行相应操作生成的,不同的长截屏入口需要执行不同的操作,例如对长截屏按钮执行点击操作。In step S25, the long screenshot instruction is obtained through the long screenshot entry. The long screenshot instruction is generated by the user by performing corresponding operations on the long screenshot entry. Different long screenshot entries require different operations, such as clicking on the long screenshot button.
在步骤S26中,响应于长截屏指令,执行长截屏操作。In step S26, a long screen capture operation is performed in response to the long screen capture instruction.
在本公开中,步骤S26可以采用下述方式实现:In the present disclosure, step S26 can be implemented in the following manner:
第一步,获取开始屏幕位置。The first step is to get the start screen location.
其中,开始屏幕位置为普通截屏操作所对应的屏幕。Wherein, the start screen position is the screen corresponding to the normal screenshot operation.
第二步,从开始屏幕位置开始,依次显示各个页面的内容。The second step is to display the contents of each page sequentially from the start screen position.
在本公开的一种实现方式中,从开始屏幕位置开始,依次显示各个页面的内容,可以包括:In an implementation manner of the present disclosure, starting from the position of the start screen, displaying the contents of each page in sequence may include:
在预览窗口内滚动各个页面。Scroll through the individual pages within the preview window.
其中,页面通常由屏幕一端向另一端滚动,滚动的速度可以预先设置。Wherein, the page is usually scrolled from one end of the screen to the other end, and the scrolling speed can be preset.
如图3b和3c所示,开始屏幕位置显示为A页面,滚动后显示B页面。As shown in Figures 3b and 3c, the start screen position is displayed as page A, and page B is displayed after scrolling.
在本公开的另一种实现方式中,从开始屏幕位置开始,依次显示各个页面的内容,可以包括:In another implementation manner of the present disclosure, displaying the contents of each page sequentially from the start screen position may include:
逐渐增加预览窗口的长度,以逐渐增加预览窗口内显示的页面;或者,gradually increase the length of the preview window to gradually increase the number of pages displayed within the preview window; or,
逐渐缩小预览窗口内的页面内容,以逐渐增加预览窗口内显示的页面。Gradually shrink the page content in the preview window to gradually increase the pages displayed in the preview window.
如图3b和3d所示,开始屏幕位置显示为A页面,随着页面增加,预览窗口变长,从而能显示A页面和B页面。As shown in Figures 3b and 3d, the starting screen position is displayed as page A, and as the number of pages increases, the preview window becomes longer, so that page A and page B can be displayed.
如图3b和3e所示,开始屏幕位置显示为A页面,随着页面增加,预览窗口内页面内容缩小,从而能显示A页面和B页面。As shown in Figures 3b and 3e, the start screen position is displayed as page A, and as the page increases, the content of the page in the preview window shrinks, so that page A and page B can be displayed.
第三步,当检测到结束长截屏指令时,确定结束屏幕位置。In the third step, when the instruction to end the long screenshot is detected, the position of the end screen is determined.
进一步地,该方法还可以包括:Further, the method may also include:
当获取到结束按钮点击操作时,生成结束长截屏指令;或者,When the click operation of the end button is obtained, an instruction to end the long screenshot is generated; or,
当预览窗口中的页面滚过预定数量或预览窗口显示出预定数量的页面时,生成结束长截屏指令;或者,When the pages in the preview window scroll over a predetermined number or the preview window displays a predetermined number of pages, an instruction to end the long screenshot is generated; or,
当预览窗口中的页面滚动至最底端页面或显示出最底端页面时,生成结束长截屏指令。When the page in the preview window scrolls to the bottom page or displays the bottom page, an instruction to end the long screenshot is generated.
例如,对于微博等无限下滚的页面而言,由于其可能不存在最底端页面,所以可以设定一个预定数量的页面(如5页),当预览窗口中的页面滚过预定数量或预览窗口显示出预定数量的页面时,停止页面滚动或增加,直接进行截屏。For example, for infinitely scrolling pages such as Weibo, since there may not be a bottom page, a predetermined number of pages (such as 5 pages) can be set. When the pages in the preview window roll over the predetermined number or When the preview window shows a predetermined number of pages, stop page scrolling or increase, and take a screenshot directly.
相比于用户主动点击结束按钮来选择长截屏的内容而言,预览窗口滚过或显示预定数量的页面,或者预览窗口到达最底端页面时,生成结束长截屏指令,属于终端设备自动选择长截屏的内容。自动选择长截屏的内容的方式,可以通过设置来选择是否打开。Compared with the user actively clicking the end button to select the content of the long screenshot, the preview window scrolls or displays a predetermined number of pages, or when the preview window reaches the bottom page, an instruction to end the long screenshot is generated, which belongs to the automatic selection of the long screenshot by the terminal device. The content of the screenshot. The way to automatically select the content of long screenshots can be selected through the settings.
如图3e所示,预览窗口中可以包括结束按钮,如果在获取到长截屏指令后,获取到结束按钮点击操作,则生成结束长截屏指令。如果在获取到长截屏指令前,获取到结束按钮点击操作,则关闭预览窗口,提示普通截屏成功。As shown in FIG. 3e , the preview window may include an end button, and if an end button click operation is obtained after the long screenshot instruction is acquired, an end long screenshot instruction is generated. If the click operation of the end button is obtained before the long screenshot instruction is obtained, the preview window is closed, and the normal screenshot is prompted to be successful.
第四步,截取开始屏幕位置和结束屏幕位置之间的页面,生成长截屏图片。The fourth step is to capture the page between the start screen position and the end screen position to generate a long screenshot.
如图3f所示,长截屏图片可以包括两个页面A和B。As shown in FIG. 3f, the long screenshot may include two pages A and B.
在本公开的一种实现方式中,截取开始屏幕位置和结束屏幕位置之间的页面,生成长截屏图片,可以包括:In an implementation manner of the present disclosure, capturing a page between the start screen position and the end screen position to generate a long screenshot may include:
在开始屏幕位置和结束屏幕位置之间连续截取多个图片,将多个图片拼接得到长截屏图片。Continuously capture multiple pictures between the start screen position and the end screen position, and stitch multiple pictures together to form a long screenshot.
在本公开的另一种实现方式中,截取开始屏幕位置和结束屏幕位置之间的页面,生成长截屏图片,可以包括:In another implementation of the present disclosure, capturing a page between the start screen position and the end screen position to generate a long screenshot may include:
获取开始屏幕位置和结束屏幕位置之间的待截取页面,待截取页面为一个长度大于屏幕长度的视图;Obtain the page to be captured between the start screen position and the end screen position, and the page to be captured is a view whose length is greater than the screen length;
将视图转化为位图,根据位图生成长截屏图片。Convert the view to a bitmap, and generate a long screenshot based on the bitmap.
进一步地,在普通截屏完后,保存了普通截屏的图片,为了减小截屏占用的终端设备存储空间,该方法还可以包括:Further, after the ordinary screen capture is finished, the picture of the ordinary screen capture is saved. In order to reduce the storage space of the terminal device occupied by the screen capture, the method may further include:
在获取到长截屏指令后,删除在本次截屏过程中普通截屏的图片。本次截屏过程是指获取到获取截屏指令后到截屏过程。After obtaining the long screen capture command, delete the picture in the normal screen capture process during this screen capture process. This screen capture process refers to the screen capture process after obtaining the screen capture instruction.
在本公开中,输出的图片的分辨率、存储图片的位置可以事先设置或者通过弹窗进行设置。弹窗是指在生成图片过程中,弹出设置框,获取用户的分辨率、存储图片的位置设置信息,从而进行设置。In the present disclosure, the resolution of the output picture and the location of storing the picture can be set in advance or through a pop-up window. The pop-up window means that during the process of generating the picture, a setting box pops up to obtain the user's resolution and location setting information for storing the picture, so as to make settings.
在本公开中,在截屏完成生成图片后,生成完成提示,如图片保存在XX处,例如图片保存至图库。In the present disclosure, after the screen capture is completed and the picture is generated, a completion prompt is generated, such as the picture is saved at XX, for example, the picture is saved to the gallery.
再次参见图3b-3e,预览窗口还可以包括裁剪按钮,该方法还可以包括:Referring again to Figures 3b-3e, the preview window can also include a crop button, and the method can also include:
获取图片裁剪指令;Obtain image cropping instructions;
响应于图片裁剪指令,对响应于截屏指令或长截屏指令截取的图片进行裁剪。In response to the image cropping instruction, the image captured in response to the screenshot instruction or the long screenshot instruction is cropped.
对图片进行裁剪时,预览窗口打开裁剪界面,裁剪界面可以包括待截取的图片、裁剪工具、取消按钮和保存按钮等等。When cropping a picture, the preview window opens a cropping interface, which may include the picture to be captured, a cropping tool, a cancel button, a save button, and the like.
再次参见图3b-3e,预览窗口还可以包括修饰按钮,该方法还可以包括:Referring again to Figures 3b-3e, the preview window can also include a decoration button, and the method can also include:
获取图片修饰指令;Obtain image modification instructions;
响应于图片修饰指令,对响应于截屏指令或长截屏指令截取的图片进行修饰。In response to the picture modification instruction, modify the picture captured in response to the screenshot instruction or the long screenshot instruction.
对图片进行修饰时,预览窗口打开修饰界面,修饰界面可以包括待截取的图片、修饰工具、取消按钮和保存按钮等等。修改工具包括但不限于增加水印、增加标线、增加文字、涂鸦等。When retouching a picture, the preview window opens a retouching interface, which may include the picture to be captured, retouching tools, a cancel button, a save button, and the like. Modification tools include but are not limited to adding watermarks, marking lines, adding text, graffiti, etc.
再次参见图3b-3e,预览窗口还可以包括分享按钮,该方法还可以包括:Referring again to Figures 3b-3e, the preview window can also include a share button, and the method can also include:
获取图片分享指令;Obtain image sharing instructions;
响应于图片分享指令,对响应于截屏指令或长截屏指令截取的图片进行分享。In response to the picture sharing instruction, the picture captured in response to the screenshot instruction or the long screenshot instruction is shared.
对图片进行分享时,预览窗口打开分享界面,分享界面可以包括待截取的图片、可分享的网站或应用、取消按钮等等。例如,可以将截屏图片分享到空间、微信或其他社交网站(或应用)。When sharing a picture, the preview window opens a sharing interface, which can include the picture to be captured, a website or application that can be shared, a cancel button, and the like. For example, screenshots can be shared to Space, WeChat or other social networking sites (or applications).
再次参见图3b-3e,预览窗口上有取消按钮,当获取到取消按钮点击操作时,预览窗口消失,退出截屏。进一步地,在获取到取消按钮点击操作时,还可以删除普通截屏得到的图片。Referring to Figure 3b-3e again, there is a cancel button on the preview window, and when the click operation of the cancel button is obtained, the preview window disappears and the screenshot is exited. Further, when the operation of clicking the cancel button is acquired, the picture obtained by ordinary screenshots may also be deleted.
容易知道,本公开实施例提供的预览窗口中按钮可以是其他形状,如圆形、三角形等,各个按钮的位置也可以采用其他设置方式,例如布置在预览界面的两侧。It is easy to know that the buttons in the preview window provided by the embodiments of the present disclosure can be in other shapes, such as circles, triangles, etc., and the position of each button can also be set in other ways, such as being arranged on both sides of the preview interface.
在其他实施例中,上述按钮还可以采用其他方式替换,如输入框,用户通过输入对应的命令来执行相应操作,再比如不设置任何按钮,用户通过在预览窗口上滑动不同手势来执行不同操作。再或者还可以将上述按钮、输入框和手势中的两种或三种进行结合,来实现预览窗口的功能。In other embodiments, the above-mentioned buttons can also be replaced by other methods, such as an input box, the user performs corresponding operations by entering corresponding commands, and for example, without setting any buttons, the user performs different operations by sliding different gestures on the preview window . Alternatively, two or three of the above buttons, input boxes and gestures may be combined to realize the function of the preview window.
本公开通过在截取当前屏幕内容后,通过弹出带有长截屏入口的预览窗口,供用户执行长截屏操作,实现了通过一个用户入口进行两种截屏的方案,避免通过两种不同入口实现两种截屏方式,同时,避免用户记忆两种截屏方式的快捷按键组合,提高了用户体验。其中,预览窗口由预览悬浮窗点击放大得到,用户点击时才得到预览窗口,避免直接生成预览窗口造成占用屏幕过大的问题。预览悬浮窗通过各种设置,如设置在屏幕一角、悬停N秒、闪烁等,避免占用屏幕过多空间,同时充分吸引用户注意。在用户通过长截屏入口控制终端设备完成长截屏后,还可以通过图片裁剪指令和图片修饰指令,对图片做进一步处理,可以实现截屏图片的美化,通过图片分享指令对图片直接进行分享,无需进入社交软件再选择图片进行分享,节省用户操作。In this disclosure, after capturing the content of the current screen, a preview window with a long screenshot entry pops up for the user to perform a long screenshot operation, and realizes two kinds of screenshots through one user entry, avoiding two different entries through two different entries. The screen capture mode, meanwhile, avoids the user from memorizing the shortcut key combination of the two screen capture modes, which improves the user experience. Among them, the preview window is enlarged by clicking on the preview floating window, and the user can only get the preview window when clicking, so as to avoid the problem of occupying too much screen caused by directly generating the preview window. The preview floating window avoids taking up too much space on the screen and at the same time fully attracts the user's attention through various settings, such as setting at a corner of the screen, hovering for N seconds, and flashing. After the user controls the terminal device to complete the long screen capture through the long screen capture entry, the picture can be further processed through the picture cropping command and the picture modification command, which can realize the beautification of the screenshot picture, and directly share the picture through the picture sharing command without entering Social software then selects pictures to share, saving user operations.
图4是根据一示例性实施例示出的一种截屏装置的框图,该截屏装置可以为终端设备或终端设备的一部分,用于执行图2所示的方法,如图4所示,装置包括:Fig. 4 is a block diagram of a screen capture device according to an exemplary embodiment. The screen capture device may be a terminal device or a part of the terminal device, and is used to execute the method shown in Fig. 2 . As shown in Fig. 4 , the device includes:
获取模块401,用于获取截屏指令;An acquisition module 401, configured to acquire a screenshot instruction;
截屏模块402,用于响应于截屏指令,截取当前屏幕内容;Screen capture module 402, configured to capture current screen content in response to a screen capture instruction;
预览模块403,用于根据截取到的当前屏幕内容生成预览窗口,预览窗口设有长截屏入口,长截屏入口用于触发长截屏操作。The preview module 403 is configured to generate a preview window according to the captured current screen content. The preview window is provided with a long screen capture entry, and the long screen capture entry is used to trigger a long screen capture operation.
本公开通过在截取当前屏幕内容后,通过弹出带有长截屏入口的预览窗口,供用户执行长截屏操作,实现了通过一个用户入口进行两种截屏的方案,避免通过两种不同入口实现两种截屏方式,同时,避免用户记忆两种截屏方式的快捷按键组合,提高了用户体验。In this disclosure, after capturing the content of the current screen, a preview window with a long screenshot entry is popped up for the user to perform a long screenshot operation, so as to realize the scheme of performing two kinds of screenshots through one user entry, and avoid two different entries through two different entries. The screen capture mode, meanwhile, avoids the user from memorizing the shortcut key combination of the two screen capture modes, which improves the user experience.
图5是根据一示例性实施例示出的一种截屏装置的框图,该截屏装置可以为终端设备或终端设备的一部分,用于执行图3所示的方法,如图5所示,装置包括:Fig. 5 is a block diagram of a screen capture device according to an exemplary embodiment. The screen capture device may be a terminal device or a part of the terminal device, and is used to execute the method shown in Fig. 3 . As shown in Fig. 5 , the device includes:
获取模块501,用于获取截屏指令;An acquisition module 501, configured to acquire a screenshot instruction;
截屏模块502,用于响应于截屏指令,截取当前屏幕内容;Screen capture module 502, configured to capture current screen content in response to a screen capture instruction;
预览模块503,用于根据截取到的当前屏幕内容生成预览窗口,预览窗口设有长截屏入口,长截屏入口用于触发长截屏操作。The preview module 503 is configured to generate a preview window according to the captured current screen content. The preview window is provided with a long screen capture entry, and the long screen capture entry is used to trigger a long screen capture operation.
可选地,预览模块503,用于:Optionally, the preview module 503 is used for:
生成预览悬浮窗;Generate a preview floating window;
当检测到作用于预览悬浮窗的点击操作时,放大预览悬浮窗,得到预览窗口。When a click operation acting on the preview floating window is detected, the preview floating window is enlarged to obtain a preview window.
可选地,预览悬浮窗位于屏幕一角。Optionally, the preview floating window is located at a corner of the screen.
可选地,预览模块503,还用于:Optionally, the preview module 503 is also used for:
当超过N秒未检测到预览悬浮窗的点击操作时,移除预览悬浮窗,N为正数。When the click operation of the preview floating window is not detected for more than N seconds, the preview floating window is removed, and N is a positive number.
可选地,预览悬浮窗为带有动画效果的预览悬浮窗。Optionally, the preview floating window is a preview floating window with an animation effect.
可选地,截屏模块502,还用于:Optionally, the screenshot module 502 is also used for:
通过长截屏入口获取长截屏指令;Obtain long screenshot instructions through the long screenshot entry;
响应于长截屏指令,执行长截屏操作。In response to the long screen capture instruction, perform a long screen capture operation.
进一步地,截屏模块502,用于:Further, the screenshot module 502 is used for:
获取开始屏幕位置;get start screen position;
从开始屏幕位置开始,依次显示各个页面的内容;Starting from the start screen position, the content of each page is displayed in sequence;
当检测到结束长截屏指令时,确定结束屏幕位置;When detecting the instruction to end the long screen capture, determine the end screen position;
截取开始屏幕位置和结束屏幕位置之间的页面,生成长截屏图片。Capture a page between the start screen position and the end screen position to generate a long screenshot.
在本公开的一种实现方式中,截屏模块502,用于:In an implementation manner of the present disclosure, the screenshot module 502 is configured to:
在开始屏幕位置和结束屏幕位置之间连续截取多个图片,将多个图片拼接得到长截屏图片。Continuously capture multiple pictures between the start screen position and the end screen position, and stitch multiple pictures together to form a long screenshot.
在本公开的另一种实现方式中,截屏模块502,用于:In another implementation manner of the present disclosure, the screenshot module 502 is configured to:
获取开始屏幕位置和结束屏幕位置之间的待截取页面,待截取页面为一个长度大于屏幕长度的视图;Obtain the page to be captured between the start screen position and the end screen position, and the page to be captured is a view whose length is greater than the screen length;
将视图转化为位图,根据位图生成长截屏图片。Convert the view to a bitmap, and generate a long screenshot based on the bitmap.
可选地,截屏模块502,用于:Optionally, the screenshot module 502 is used for:
在预览窗口内滚动各个页面;或者,Scroll through the individual pages within the preview window; or,
逐渐增加预览窗口的长度,以逐渐增加预览窗口内显示的页面;或者,gradually increase the length of the preview window to gradually increase the number of pages displayed within the preview window; or,
逐渐缩小预览窗口内的页面内容,以逐渐增加预览窗口内显示的页面。Gradually shrink the page content in the preview window to gradually increase the pages displayed in the preview window.
可选地,截屏模块502,还用于:Optionally, the screenshot module 502 is also used for:
当获取到结束按钮点击操作时,生成结束长截屏指令;或者,When the click operation of the end button is obtained, an instruction to end the long screenshot is generated; or,
当预览窗口中的页面滚过预定数量或预览窗口显示出预定数量的页面时,生成结束长截屏指令;或者,When the pages in the preview window scroll over a predetermined number or the preview window displays a predetermined number of pages, an instruction to end the long screenshot is generated; or,
当预览窗口中的页面滚动至最底端页面或显示出最底端页面时,生成结束长截屏指令。When the page in the preview window scrolls to the bottom page or displays the bottom page, an instruction to end the long screenshot is generated.
进一步地,截屏模块502包括:Further, the screenshot module 502 includes:
裁剪子模块5021,用于获取图片裁剪指令;The cropping sub-module 5021 is used to obtain the image cropping instruction;
响应于图片裁剪指令,对响应于截屏指令或长截屏指令截取的图片进行裁剪。In response to the image cropping instruction, the image captured in response to the screenshot instruction or the long screenshot instruction is cropped.
进一步地,截屏模块502包括:Further, the screenshot module 502 includes:
修饰子模块5022,用于获取图片修饰指令;Modification sub-module 5022, used to obtain image modification instructions;
响应于图片修饰指令,对响应于截屏指令或长截屏指令截取的图片进行修饰。In response to the picture modification instruction, modify the picture captured in response to the screenshot instruction or the long screenshot instruction.
进一步地,截屏模块502包括:Further, the screenshot module 502 includes:
分享子模块5023,用于获取图片分享指令;The sharing sub-module 5023 is used to obtain the picture sharing instruction;
响应于图片分享指令,对响应于截屏指令或长截屏指令截取的图片进行分享。In response to the picture sharing instruction, the picture captured in response to the screenshot instruction or the long screenshot instruction is shared.
在一种实现方式中,预览窗口还包括裁剪按钮、修饰按钮和分享按钮中的至少一种。In an implementation manner, the preview window further includes at least one of a cropping button, a retouching button and a sharing button.
本公开通过在截取当前屏幕内容后,通过弹出带有长截屏入口的预览窗口,供用户执行长截屏操作,实现了通过一个用户入口进行两种截屏的方案,避免通过两种不同入口实现两种截屏方式,同时,避免用户记忆两种截屏方式的快捷按键组合,提高了用户体验。In this disclosure, after capturing the content of the current screen, a preview window with a long screenshot entry pops up for the user to perform a long screenshot operation, and realizes two kinds of screenshots through one user entry, avoiding two different entries through two different entries. The screen capture mode, meanwhile, avoids the user from memorizing the shortcut key combination of the two screen capture modes, which improves the user experience.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the foregoing embodiments, the specific manner in which each module executes operations has been described in detail in the embodiments related to the method, and will not be described in detail here.
图6是根据一示例性实施例示出的一种截屏装置900的框图。例如,截屏装置900可以是移动终端。Fig. 6 is a block diagram of a screen capture device 900 according to an exemplary embodiment. For example, the screenshot device 900 may be a mobile terminal.
参照图6,截屏装置900可以包括以下一个或多个组件:处理组件902,存储器904,电力组件906,多媒体组件908,音频组件910,输入/输出(I/O)的接口912,传感器组件914,以及通信组件916。Referring to FIG. 6, the screenshot device 900 may include one or more of the following components: a processing component 902, a memory 904, a power component 906, a multimedia component 908, an audio component 910, an input/output (I/O) interface 912, and a sensor component 914 , and the communication component 916.
处理组件902通常控制截屏装置900的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件902可以包括一个或多个处理器920来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件902可以包括一个或多个模块,便于处理组件902和其他组件之间的交互。例如,处理组件902可以包括多媒体模块,以方便多媒体组件908和处理组件902之间的交互。The processing component 902 generally controls the overall operations of the screenshot device 900, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 902 may include one or more processors 920 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 902 may include one or more modules that facilitate interaction between processing component 902 and other components. For example, processing component 902 may include a multimedia module to facilitate interaction between multimedia component 908 and processing component 902 .
存储器904被配置为存储各种类型的数据以支持在设备900的操作。这些数据的示例包括用于在截屏装置900上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器904可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 904 is configured to store various types of data to support operations at the device 900 . Examples of such data include instructions for any application or method operating on the screenshot device 900, contact data, phonebook data, messages, pictures, videos, and the like. The memory 904 can be implemented by any type of volatile or non-volatile memory device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.
电力组件906为截屏装置900的各种组件提供电力。电力组件906可以包括电源管理系统,一个或多个电源,及其他与为截屏装置900生成、管理和分配电力相关联的组件。The power component 906 provides power to various components of the screenshot device 900 . Power components 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for screenshot device 900 .
多媒体组件908包括在所述截屏装置900和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件908包括一个前置摄像头和/或后置摄像头。当截屏装置900处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 908 includes a screen providing an output interface between the screenshot device 900 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 908 includes a front camera and/or a rear camera. When the screen capture device 900 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.
音频组件910被配置为输出和/或输入音频信号。例如,音频组件910包括一个麦克风(MIC),当截屏装置900处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器904或经由通信组件916发送。在一些实施例中,音频组件910还包括一个扬声器,用于输出音频信号。The audio component 910 is configured to output and/or input audio signals. For example, the audio component 910 includes a microphone (MIC), which is configured to receive an external audio signal when the screen capture device 900 is in an operation mode, such as a call mode, a recording mode and a voice recognition mode. Received audio signals may be further stored in memory 904 or sent via communication component 916 . In some embodiments, the audio component 910 also includes a speaker for outputting audio signals.
I/O接口912为处理组件902和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 912 provides an interface between the processing component 902 and a peripheral interface module. The peripheral interface module may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.
传感器组件914包括一个或多个传感器,用于为截屏装置900提供各个方面的状态评估。例如,传感器组件914可以检测到截屏装置900的打开/关闭状态,组件的相对定位,例如所述组件为截屏装置900的显示器和小键盘,传感器组件914还可以检测截屏装置900或截屏装置900一个组件的位置改变,用户与截屏装置900接触的存在或不存在,截屏装置900方位或加速/减速和截屏装置900的温度变化。传感器组件914可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件914还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件914还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。The sensor component 914 includes one or more sensors for providing various aspects of the state assessment of the screenshot device 900 . For example, the sensor component 914 can detect the open/closed state of the screen capture device 900, the relative positioning of components, such as the display and the keypad of the screen capture device 900, and the sensor component 914 can also detect the screen capture device 900 or a screen capture device 900 Changes in the position of components, presence or absence of user contact with the screen capture device 900 , orientation or acceleration/deceleration of the screen capture device 900 and temperature changes of the screen capture device 900 . Sensor assembly 914 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 914 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 914 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
通信组件916被配置为便于截屏装置900和其他设备之间有线或无线方式的通信。截屏装置900可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件916经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件916还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 916 is configured to facilitate wired or wireless communication between the screenshot device 900 and other devices. The screenshot device 900 can access a wireless network based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 916 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 916 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wide Band (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,截屏装置900可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, the screenshot device 900 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable A programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for performing the methods described above.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器904,上述指令可由截屏装置900的处理器920执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the memory 904 including instructions, which can be executed by the processor 920 of the screenshot device 900 to complete the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
一种非临时性计算机可读存储介质,当所述存储介质中的指令由装置的处理器执行时,使得装置够执行一种截屏方法,所述方法包括:A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by a processor of the device, the device is able to perform a screenshot method, the method comprising:
获取截屏指令;Obtain screen capture instructions;
响应于所述截屏指令,截取当前屏幕内容;Responding to the screenshot instruction, intercept the current screen content;
根据截取到的当前屏幕内容生成预览窗口,所述预览窗口设有长截屏入口,所述长截屏入口用于触发长截屏操作。A preview window is generated according to the intercepted current screen content, the preview window is provided with a long screen capture entry, and the long screen capture entry is used to trigger a long screen capture operation.
在一种实现方式中,所述根据截取到的当前屏幕内容生成预览窗口,包括:In an implementation manner, the generating the preview window according to the intercepted current screen content includes:
生成预览悬浮窗;Generate a preview floating window;
当检测到作用于所述预览悬浮窗的点击操作时,放大所述预览悬浮窗,得到所述预览窗口。When a click operation acting on the preview floating window is detected, the preview floating window is enlarged to obtain the preview window.
在另一种实现方式中,所述预览悬浮窗位于屏幕一角。In another implementation manner, the preview floating window is located at a corner of the screen.
在另一种实现方式中,所述方法还包括:In another implementation, the method also includes:
当超过N秒未检测到所述预览悬浮窗的点击操作时,移除所述预览悬浮窗,N为正数。When the click operation of the preview floating window is not detected for more than N seconds, the preview floating window is removed, and N is a positive number.
在另一种实现方式中,所述预览悬浮窗为带有动画效果的预览悬浮窗。In another implementation manner, the preview floating window is a preview floating window with an animation effect.
在另一种实现方式中,所述方法还包括:In another implementation, the method also includes:
通过所述长截屏入口获取所述长截屏指令;Obtaining the long screen capture instruction through the long screen capture entry;
响应于所述长截屏指令,执行长截屏操作。In response to the long screen capture instruction, a long screen capture operation is performed.
在另一种实现方式中,所述执行长截屏操作,包括:In another implementation manner, the performing a long screen capture operation includes:
获取开始屏幕位置;get start screen position;
从所述开始屏幕位置开始,依次显示各个页面的内容;Starting from the position of the start screen, the contents of each page are displayed in sequence;
当检测到结束长截屏指令时,确定结束屏幕位置;When detecting the instruction to end the long screen capture, determine the end screen position;
截取所述开始屏幕位置和结束屏幕位置之间的页面,生成长截屏图片。Intercepting the page between the start screen position and the end screen position to generate a long screenshot.
在另一种实现方式中,所述截取所述开始屏幕位置和结束屏幕位置之间的页面,生成长截屏,包括:In another implementation manner, the intercepting the page between the start screen position and the end screen position to generate a long screenshot includes:
在所述开始屏幕位置和结束屏幕位置之间连续截取多个图片,将所述多个图片拼接得到长截屏图片。A plurality of pictures are captured continuously between the start screen position and the end screen position, and the plurality of pictures are spliced to obtain a long screenshot.
在另一种实现方式中,所述截取所述开始屏幕位置和结束屏幕位置之间的页面,生成长截屏,包括:In another implementation manner, the intercepting the page between the start screen position and the end screen position to generate a long screenshot includes:
获取所述开始屏幕位置和结束屏幕位置之间的待截取页面,所述待截取页面为一个长度大于屏幕长度的视图;Obtaining the page to be captured between the start screen position and the end screen position, the page to be captured is a view whose length is greater than the screen length;
将所述视图转化为位图,根据所述位图生成长截屏图片。The view is converted into a bitmap, and a long screenshot is generated according to the bitmap.
在另一种实现方式中,所述从所述开始屏幕位置开始,依次显示各个页面的内容,包括:In another implementation manner, starting from the position of the start screen, displaying the contents of each page in sequence includes:
在所述预览窗口内滚动各个页面;或者,scroll through the individual pages within said preview window; or,
逐渐增加所述预览窗口的长度,以逐渐增加所述预览窗口内显示的页面;或者,gradually increasing the length of the preview window to gradually increase the pages displayed in the preview window; or,
逐渐缩小所述预览窗口内的页面内容,以逐渐增加所述预览窗口内显示的页面。The page content in the preview window is gradually reduced to gradually increase the pages displayed in the preview window.
在另一种实现方式中,所述方法还包括:In another implementation, the method also includes:
当获取到结束按钮点击操作时,生成所述结束长截屏指令;或者,When the click operation of the end button is acquired, generate the end long screenshot instruction; or,
当所述预览窗口中的页面滚过预定数量或所述预览窗口显示出预定数量的页面时,生成所述结束长截屏指令;或者,When the pages in the preview window scroll through a predetermined number or the preview window displays a predetermined number of pages, generate the end long screenshot instruction; or,
当所述预览窗口中的页面滚动至最底端页面或显示出最底端页面时,生成所述结束长截屏指令。When the page in the preview window scrolls to the bottommost page or displays the bottommost page, the instruction to end the long screenshot is generated.
在另一种实现方式中,所述方法还包括:In another implementation, the method also includes:
获取图片裁剪指令;Obtain image cropping instructions;
响应于所述图片裁剪指令,对响应于所述截屏指令或所述长截屏指令截取的图片进行裁剪。In response to the picture cropping instruction, crop the picture captured in response to the screenshot instruction or the long screenshot instruction.
在另一种实现方式中,所述方法还包括:In another implementation, the method also includes:
获取图片修饰指令;Obtain image modification instructions;
响应于所述图片修饰指令,对响应于所述截屏指令或所述长截屏指令截取的图片进行修饰。Responding to the picture modification instruction, modifying the picture captured in response to the screenshot instruction or the long screenshot instruction.
在另一种实现方式中,所述方法还包括:In another implementation, the method also includes:
获取图片分享指令;Obtain image sharing instructions;
响应于所述图片分享指令,对响应于所述截屏指令或所述长截屏指令截取的图片进行分享。In response to the picture sharing instruction, share the picture captured in response to the screenshot instruction or the long screenshot instruction.
在另一种实现方式中,所述预览窗口还包括裁剪按钮、修饰按钮和分享按钮中的至少一种。In another implementation manner, the preview window further includes at least one of a cropping button, a retouching button and a sharing button.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。Other embodiments of the invention will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present invention, these modifications, uses or adaptations follow the general principles of the present invention and include common knowledge or conventional technical means in the technical field not disclosed in this disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。It should be understood that the present invention is not limited to the precise constructions which have been described above and shown in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610258409.2ACN105892868B (en) | 2016-04-22 | 2016-04-22 | Screen capture method and device |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610258409.2ACN105892868B (en) | 2016-04-22 | 2016-04-22 | Screen capture method and device |
| Publication Number | Publication Date |
|---|---|
| CN105892868Atrue CN105892868A (en) | 2016-08-24 |
| CN105892868B CN105892868B (en) | 2019-08-06 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610258409.2AActiveCN105892868B (en) | 2016-04-22 | 2016-04-22 | Screen capture method and device |
| Country | Link |
|---|---|
| CN (1) | CN105892868B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106354372A (en)* | 2016-09-08 | 2017-01-25 | 珠海市魅族科技有限公司 | Information preview method and device |
| CN106572238A (en)* | 2016-10-12 | 2017-04-19 | 深圳众思科技有限公司 | Method and device for capturing screen of terminal screen |
| CN106713993A (en)* | 2016-12-31 | 2017-05-24 | 天脉聚源(北京)科技有限公司 | Jigsaw puzzle interaction method and apparatus |
| CN106775289A (en)* | 2016-11-15 | 2017-05-31 | 努比亚技术有限公司 | Information sharing apparatus and method |
| CN106775625A (en)* | 2016-11-15 | 2017-05-31 | 北京金山安全软件有限公司 | Screenshot picture sharing method and device and electronic equipment |
| CN106802758A (en)* | 2017-01-05 | 2017-06-06 | 青岛海信移动通信技术股份有限公司 | For the treating method and apparatus of screen interception |
| CN107168612A (en)* | 2017-04-27 | 2017-09-15 | 努比亚技术有限公司 | A kind of image acquisition method and terminal |
| CN107656678A (en)* | 2017-08-29 | 2018-02-02 | 努比亚技术有限公司 | Long printscreen realization method, terminal and computer-readable recording medium |
| CN108052263A (en)* | 2017-12-28 | 2018-05-18 | 广东小天才科技有限公司 | Screen capturing method based on terminal equipment and terminal equipment |
| CN109271081A (en)* | 2018-07-28 | 2019-01-25 | 华为技术有限公司 | Scrolling screen method and electronic device |
| CN110209456A (en)* | 2019-05-31 | 2019-09-06 | 努比亚技术有限公司 | Method, mobile terminal and the computer readable storage medium of the long screenshot of screen interface |
| CN110362304A (en)* | 2018-03-26 | 2019-10-22 | 北京京东尚科信息技术有限公司 | The method and apparatus of web displaying |
| CN111147788A (en)* | 2019-10-22 | 2020-05-12 | 广东小天才科技有限公司 | Screen capture sharing method based on video call and wearable device |
| CN112364616A (en)* | 2019-07-26 | 2021-02-12 | 珠海金山办公软件有限公司 | Electronic form processing method and device, electronic equipment and storage medium |
| CN112579230A (en)* | 2020-12-10 | 2021-03-30 | 珠海格力电器股份有限公司 | Screen capturing method and device of industrial touch screen and industrial touch screen |
| CN113360068A (en)* | 2021-06-25 | 2021-09-07 | 深圳传音控股股份有限公司 | Screen capture interaction method, mobile terminal and storage medium |
| CN114253448A (en)* | 2021-11-15 | 2022-03-29 | 珠海格力电器股份有限公司 | Screen capture processing method, electronic equipment and storage medium |
| CN114911397A (en)* | 2022-05-18 | 2022-08-16 | 北京五八信息技术有限公司 | Data processing method and device, electronic equipment and storage medium |
| EP4113972A4 (en)* | 2020-04-07 | 2023-07-05 | Huawei Technologies Co., Ltd. | IMAGE PREVIEW METHOD, ELECTRONIC DEVICE AND STORAGE MEDIA |
| EP4296832A4 (en)* | 2021-03-10 | 2024-08-07 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Screenshot method and apparatus, electronic device and storage medium |
| CN119512405A (en)* | 2023-08-25 | 2025-02-25 | Oppo广东移动通信有限公司 | Information processing method, device, electronic device and computer readable storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140181705A1 (en)* | 2012-12-21 | 2014-06-26 | International Business Machines Corporation | Automated screen captures |
| CN104360816A (en)* | 2014-11-27 | 2015-02-18 | 广东欧珀移动通信有限公司 | Screen capture method and system |
| CN104850350A (en)* | 2015-05-25 | 2015-08-19 | 上海卓易科技股份有限公司 | Screenshot method and system for touchscreen device |
| CN105094628A (en)* | 2015-07-31 | 2015-11-25 | 联想(北京)有限公司 | Screen capture method and electronic device |
| CN105094617A (en)* | 2015-08-24 | 2015-11-25 | 北京锤子数码科技有限公司 | Screen capturing method and device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140181705A1 (en)* | 2012-12-21 | 2014-06-26 | International Business Machines Corporation | Automated screen captures |
| CN104360816A (en)* | 2014-11-27 | 2015-02-18 | 广东欧珀移动通信有限公司 | Screen capture method and system |
| CN104850350A (en)* | 2015-05-25 | 2015-08-19 | 上海卓易科技股份有限公司 | Screenshot method and system for touchscreen device |
| CN105094628A (en)* | 2015-07-31 | 2015-11-25 | 联想(北京)有限公司 | Screen capture method and electronic device |
| CN105094617A (en)* | 2015-08-24 | 2015-11-25 | 北京锤子数码科技有限公司 | Screen capturing method and device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106354372A (en)* | 2016-09-08 | 2017-01-25 | 珠海市魅族科技有限公司 | Information preview method and device |
| CN106572238A (en)* | 2016-10-12 | 2017-04-19 | 深圳众思科技有限公司 | Method and device for capturing screen of terminal screen |
| CN106775289A (en)* | 2016-11-15 | 2017-05-31 | 努比亚技术有限公司 | Information sharing apparatus and method |
| CN106775625A (en)* | 2016-11-15 | 2017-05-31 | 北京金山安全软件有限公司 | Screenshot picture sharing method and device and electronic equipment |
| CN106713993A (en)* | 2016-12-31 | 2017-05-24 | 天脉聚源(北京)科技有限公司 | Jigsaw puzzle interaction method and apparatus |
| CN106802758A (en)* | 2017-01-05 | 2017-06-06 | 青岛海信移动通信技术股份有限公司 | For the treating method and apparatus of screen interception |
| CN107168612A (en)* | 2017-04-27 | 2017-09-15 | 努比亚技术有限公司 | A kind of image acquisition method and terminal |
| CN107656678A (en)* | 2017-08-29 | 2018-02-02 | 努比亚技术有限公司 | Long printscreen realization method, terminal and computer-readable recording medium |
| CN107656678B (en)* | 2017-08-29 | 2020-12-22 | 努比亚技术有限公司 | Long screenshot realization method, terminal and computer readable storage medium |
| CN108052263A (en)* | 2017-12-28 | 2018-05-18 | 广东小天才科技有限公司 | Screen capturing method based on terminal equipment and terminal equipment |
| CN108052263B (en)* | 2017-12-28 | 2020-07-03 | 广东小天才科技有限公司 | Screen capturing method based on terminal equipment and terminal equipment |
| CN110362304B (en)* | 2018-03-26 | 2024-02-02 | 北京京东尚科信息技术有限公司 | Webpage display method and device |
| CN110362304A (en)* | 2018-03-26 | 2019-10-22 | 北京京东尚科信息技术有限公司 | The method and apparatus of web displaying |
| CN110764673A (en)* | 2018-07-28 | 2020-02-07 | 华为技术有限公司 | Method for scrolling screen capture and electronic equipment |
| US11531461B2 (en) | 2018-07-28 | 2022-12-20 | Huawei Technologies Co., Ltd. | Scrolling screenshot method and electronic device |
| CN109271081A (en)* | 2018-07-28 | 2019-01-25 | 华为技术有限公司 | Scrolling screen method and electronic device |
| CN109271081B (en)* | 2018-07-28 | 2019-09-20 | 华为技术有限公司 | Method and electronic device for scrolling screenshot |
| WO2020024833A1 (en)* | 2018-07-28 | 2020-02-06 | 华为技术有限公司 | Method for taking screenshot in scrolling manner, and electronic device |
| US11836341B2 (en) | 2018-07-28 | 2023-12-05 | Huawei Technologies Co., Ltd. | Scrolling screenshot method and electronic device with screenshot editing interface |
| CN110209456A (en)* | 2019-05-31 | 2019-09-06 | 努比亚技术有限公司 | Method, mobile terminal and the computer readable storage medium of the long screenshot of screen interface |
| CN112364616A (en)* | 2019-07-26 | 2021-02-12 | 珠海金山办公软件有限公司 | Electronic form processing method and device, electronic equipment and storage medium |
| CN112364616B (en)* | 2019-07-26 | 2024-04-30 | 珠海金山办公软件有限公司 | Electronic form processing method, device, electronic equipment and storage medium |
| CN111147788A (en)* | 2019-10-22 | 2020-05-12 | 广东小天才科技有限公司 | Screen capture sharing method based on video call and wearable device |
| EP4113972A4 (en)* | 2020-04-07 | 2023-07-05 | Huawei Technologies Co., Ltd. | IMAGE PREVIEW METHOD, ELECTRONIC DEVICE AND STORAGE MEDIA |
| US12316952B2 (en) | 2020-04-07 | 2025-05-27 | Huawei Technologies Co., Ltd. | Photo preview method, electronic device, and storage medium |
| CN112579230A (en)* | 2020-12-10 | 2021-03-30 | 珠海格力电器股份有限公司 | Screen capturing method and device of industrial touch screen and industrial touch screen |
| EP4296832A4 (en)* | 2021-03-10 | 2024-08-07 | Guangdong Oppo Mobile Telecommunications Corp., Ltd. | Screenshot method and apparatus, electronic device and storage medium |
| CN113360068A (en)* | 2021-06-25 | 2021-09-07 | 深圳传音控股股份有限公司 | Screen capture interaction method, mobile terminal and storage medium |
| CN114253448A (en)* | 2021-11-15 | 2022-03-29 | 珠海格力电器股份有限公司 | Screen capture processing method, electronic equipment and storage medium |
| CN114911397A (en)* | 2022-05-18 | 2022-08-16 | 北京五八信息技术有限公司 | Data processing method and device, electronic equipment and storage medium |
| CN119512405A (en)* | 2023-08-25 | 2025-02-25 | Oppo广东移动通信有限公司 | Information processing method, device, electronic device and computer readable storage medium |
| Publication number | Publication date |
|---|---|
| CN105892868B (en) | 2019-08-06 |
| Publication | Publication Date | Title |
|---|---|---|
| CN105892868B (en) | Screen capture method and device | |
| EP3301559B1 (en) | Content sharing method and device | |
| CN105159640B (en) | Display interface rotating method and device and mobile terminal | |
| CN108509232A (en) | Screen recording method, device and computer readable storage medium | |
| CN106489129A (en) | The method and device that a kind of content is shared | |
| CN106970754A (en) | The method and device of screenshotss processing | |
| CN106489126A (en) | The method and device that a kind of content is shared | |
| CN107515715A (en) | Screen capture method, device and storage medium | |
| CN106527883B (en) | Content sharing method and device and terminal | |
| CN107357505A (en) | The method, apparatus and computer-readable recording medium of screenshot capture | |
| KR20170023767A (en) | Picture processing method and device | |
| CN106657780A (en) | Image previewing method and device | |
| CN106407365A (en) | Picture sharing method and apparatus | |
| CN107122693A (en) | Two-dimensional code identification method and device | |
| CN106227419A (en) | Screenshotss method and device | |
| CN107678648A (en) | Screenshotss processing method and processing device | |
| CN105892869A (en) | Image position adjusting method and device | |
| CN106775202A (en) | A kind of method and device of information transfer | |
| CN106201275A (en) | Snapshot is as processing method and processing device | |
| CN106504295B (en) | Method and device for rendering picture | |
| CN104850643B (en) | Image comparison method and device | |
| CN105808102B (en) | Method and device for adding frame | |
| CN116954540A (en) | Application display method, device and terminal | |
| CN106777160A (en) | Information deletion method and device | |
| CN106648392B (en) | The method and device of pasting data |
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |