WO2016095429A1 - 一种移动终端屏幕截图方法及装置 - Google Patents

一种移动终端屏幕截图方法及装置 Download PDF

Info

Publication number
WO2016095429A1
WO2016095429A1 PCT/CN2015/079519 CN2015079519W WO2016095429A1 WO 2016095429 A1 WO2016095429 A1 WO 2016095429A1 CN 2015079519 W CN2015079519 W CN 2015079519W WO 2016095429 A1 WO2016095429 A1 WO 2016095429A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
screenshot
content
mobile terminal
image
Prior art date
Application number
PCT/CN2015/079519
Other languages
English (en)
French (fr)
Inventor
姚均营
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016095429A1 publication Critical patent/WO2016095429A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Definitions

  • the present invention relates to the field of mobile terminals, and in particular, to a method and apparatus for screening a mobile terminal.
  • the smart mobile terminal on the market mainly implements a single screen screenshot function, that is, a certain hot key combination or a multi-touch gesture track to realize the screenshot function of the current screen display content.
  • a single screen screenshot function that is, a certain hot key combination or a multi-touch gesture track.
  • the user often needs the content of the screenshot.
  • the current screen is not completely displayed.
  • the user generally needs to perform multiple screen capture actions to complete the screenshot of all the content.
  • the screenshot function of the current terminal cannot conveniently meet the needs of the user, thereby reducing the user experience of the terminal.
  • the embodiment of the invention provides a method and a device for screening a mobile terminal, so as to at least better solve the problem that the screenshot cannot be completed by one screenshot operation due to the fact that the current screen does not completely display the content that needs to be captured.
  • a mobile terminal screenshot method including:
  • the mobile terminal reads the current display content of the screen and the currently undisplayed content of the screen according to the user's screenshot instruction;
  • the mobile terminal Before the mobile terminal reads the current display content of the screen and the currently undisplayed content of the screen according to the user screenshot instruction, the mobile terminal further includes:
  • a user screenshot instruction is generated when it is detected that the set physical button or sliding screen pattern is triggered.
  • the currently undisplayed content is the next screen display content used to display after the currently displayed content.
  • the mobile terminal includes a front buffer and a back buffer.
  • the mobile terminal reads the current display content of the screen from the front/back buffer, and reads the content currently not displayed on the screen from the back/front buffer.
  • the step of taking a screenshot of the formed picture and obtaining the screenshot picture includes:
  • a mobile terminal screenshot device including:
  • the reading module is configured to read the current display content of the screen and the currently undisplayed content of the screen according to the user screenshot instruction;
  • a synthesizing module configured to synthesize the current display content of the read screen and the currently undisplayed content of the screen to form a picture
  • the screenshot module is set to take a screenshot of the formed image and get a screenshot image.
  • the device also includes:
  • the triggering module is configured to detect whether a preset physical button or a sliding screen pattern used to activate the screenshot function is triggered, and generate a user screenshot instruction when detecting that the set physical button or the sliding screen pattern is triggered.
  • the currently undisplayed content is the next screen display content used to display after the currently displayed content.
  • the reading module reads the current display content of the screen from the front/back buffer of the mobile terminal, and reads the content currently not displayed on the screen from the back/front buffer of the mobile terminal.
  • the screenshot module displays the image on the screen by zooming the formed image to form a preview interface, and crops the screen capture area selected by the user on the preview interface to obtain a screenshot image and save the image.
  • the beneficial effects of the embodiments of the present invention are at least:
  • the embodiment of the present invention obtains the content beyond the current display range of the screen by one screenshot operation, thereby completing the screenshot and improving the user experience of the terminal.
  • FIG. 1 is a schematic block diagram of a screen capture method of a mobile terminal according to an embodiment of the present invention
  • FIG. 2 is a block diagram of a screen capture device of a mobile terminal according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a double buffering technique according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of a screenshot method of a mobile terminal according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a screen capture device of a mobile terminal according to an embodiment of the present invention.
  • FIG. 1 is a schematic block diagram of a screen capture method of a mobile terminal according to an embodiment of the present invention. As shown in FIG. 1 , the steps include:
  • Step S101 The mobile terminal reads the current display content of the screen and the currently undisplayed content of the screen according to the user screenshot instruction.
  • a physical button or a sliding screen pattern for starting the screenshot function needs to be preset, and the mobile terminal detects whether the set physical button or the sliding screen pattern is triggered, and when the set physical button is detected or When the sliding screen pattern is triggered, a user screenshot instruction is generated.
  • the mobile terminal includes a front buffer and a back buffer.
  • step S101 the mobile terminal reads the current display content of the screen from the front/back buffer, and reads the content currently not displayed on the screen from the back/front buffer.
  • Step S102 synthesize the currently displayed content of the read screen and the currently undisplayed content of the screen to form a picture.
  • Step S103 Perform a screenshot on the formed picture to obtain a screenshot picture.
  • step S103 by performing zoom processing on the formed picture, the picture is displayed on the screen to form a preview interface; the screen capture area selected by the user on the preview interface is cropped, and the screenshot picture is obtained and saved.
  • the currently undisplayed content is the next screen display content used to display after the current display content. That is to say, the method provided in this embodiment can at least implement a dual screen screenshot, that is, perform a screenshot action to obtain a picture of two screen contents exceeding the current screen display range.
  • FIG. 2 is a block diagram of a screen capture device of a mobile terminal according to an embodiment of the present invention. As shown in FIG. 2, the method includes: a reading module 10, a synthesizing module 20, and a screenshot module 30.
  • the reading module 10 is configured to read the current display content of the screen and the currently undisplayed content of the screen according to the user screenshot instruction.
  • the synthesizing module 20 is configured to synthesize the currently displayed content of the read screen and the currently undisplayed content of the screen to form a picture.
  • the screenshot module 30 is configured to take a screenshot of the formed image to obtain a screenshot image.
  • the mobile terminal screenshot device shown in FIG. 2 may further include a trigger module 40 that generates a user screenshot instruction according to a user operation.
  • the trigger module detects whether a preset physical button or a sliding screen pattern used to activate the screenshot function is triggered, and generates a user screenshot when detecting that the set physical button or the sliding screen pattern is triggered by the user. instruction.
  • the reading module 10 reads the front-back buffer and the back buffer cache of the mobile terminal at one time, that is, reads the current display content of the screen from the front/back buffer of the mobile terminal, and buffers from the back/front of the mobile terminal.
  • the area reads the content that is not currently displayed on the screen.
  • the composition module 20 parses the read content and generates a picture containing the complete content.
  • the screenshot module 30 displays the picture including the current preview content and the currently unpreviewed content on the screen by performing a scaling process on the generated image to form a preview interface, and performs a screen capture area selected by the user on the preview interface. Crop, get the screenshot image and save it.
  • the synthesized picture may be a bitmap picture composed of pixel points, for example, a 16-color bitmap picture, a 256-color bitmap picture, a 24-bit bitmap picture, and the like. .
  • the currently undisplayed content is the next screen display content used after the current display content, that is, the embodiment provided in FIG. 2 can at least implement a dual screen screenshot.
  • the Framebuffer refers to a continuous physical memory reserved for the Graphic Processing Unit (GPU) in the embedded system.
  • the image data ie, pixel data
  • the LCD reads the image data from the Framebuffer through a dedicated bus. Show on the screen. Further, according to the number of Framebuffers, it can be divided into single buffering technology and double buffering technology.
  • the intelligent terminal system mainly adopts double buffering technology, that is, there are two Framebuffers, including a front buffer (Front Buffer) and a back buffer (Back).
  • Buffer when the liquid crystal display (LCD) displays the content of the Front Buffer, the Central Processing Unit (CPU) writes the pixel data of another picture to be displayed to the Back Buffer. Therefore, for a double buffer device, the pixel data of two pictures is saved in the Framebuffer. In this way, when the screenshot instruction is obtained, the pixel data of the two images in the Framebuffer is read at one time, and a bitmap is generated, thereby implementing the dual screen screenshot function.
  • the pixel data of the two images in the Framebuffer is read at one time, and a bitmap is generated, thereby implementing the dual screen screenshot function.
  • FIG. 3 is a schematic diagram of a double buffering technology according to an embodiment of the present invention. As shown in FIG. 3, in 102, a screen displays a content image 1 in a Front Buffer; and at this time, the CPU will back to the Back Buffer in the background. The data of image 2 is written.
  • the terminal When the interface needs to be refreshed, the terminal enters the 104 state, and the Screen reads and displays the content image 2 in the Back Buffer through the bus. At the same time, the CPU writes the image 3 data to the Front Buffer in the background.
  • the above is the basic principle of the double buffering technology.
  • the double buffering technology improves the efficiency of the screen image refreshing, and simultaneously saves the image data displayed by the current interface and the data of another image to be displayed in the background buffer;
  • FIG. 4 is a flowchart of a method for taking a screenshot of a mobile terminal according to an embodiment of the present invention. As shown in FIG. 4, the steps include:
  • Step S202 The terminal receives the screenshot instruction and starts the screen capture function.
  • the screenshot instruction may be a physical hotkey combination operation preset by the system or the user, for example, pressing a combination key simultaneously: volume+ and volume-, or may be a preset multi-touch gesture track, such as The user performs a sliding screen operation of the preset pattern on the screen.
  • Step S204 Read and parse the frame buffer image data to generate a bitmap.
  • the frame buffer is mapped to the device node file /dev/fb0, and the content of the file can be opened and read by a reading method similar to a normal file.
  • the file includes Front Buffer and Back Buffer content.
  • the read data is parsed, and a bitmap (Bitmap) is generated.
  • the content of the bitmap generated here contains data of two images, and the size of the bitmap is equivalent to two of the screen size of the terminal. Times.
  • Step S206 Display a picture preview interface.
  • the bitmap obtained in step S204 is reduced, and all the contents of the bitmap are completely displayed on the screen of the terminal to form a preview interface; specifically, the ratio of the bitmap reduction may be 40% to 60%, for example, 50%. So that the screen can display the bitmap content completely.
  • Step S208 Crop the picture.
  • the preview interface there is an area selection box that can change the size and position.
  • the shape of the selection box can be a rectangle or a circle; the user can drag the selection frame to change the position of the preview interface; the user can drag Move the border of the selection box to change the size of the selection box.
  • the user can use this selection box to crop the previewed image: the content of the image in the selection box will be preserved, and the content of the image outside the selection box will be discarded; when the size of the selection box fills the entire screen, the preview interface All image content will be retained.
  • the image can be saved and the final screenshot image is generated in the file system of the terminal.
  • the user can perform a save action by clicking a save button in the preview interface, or performing a save action through a preset physical button.
  • the mobile terminal includes: a data acquisition module 32, an image display module 34, and a control module 36, wherein the data acquisition module 32 implements the map. 2
  • the functions of the reading module 10 and the composition module 20 of the embodiment, the image display module 34 and the control module 36 implement the functions of the screenshot module 30 of the embodiment of FIG.
  • the data obtaining module 32 is configured to acquire a screenshot instruction, read pixel data of the frame buffer, and generate a bitmap
  • the image display module 34 is configured to display the generated bitmap onto the terminal screen, for example, in the form of a preview interface.
  • the control module 36 is configured to control the final picture interception area and save the picture, that is, control the picture cropping area, and save the content in the picture cropping area as the final picture.
  • the present invention has the following technical effects:
  • the embodiment of the invention utilizes the double buffering technology to realize the function of acquiring two screen image data in a single screen shot action, enhancing the screen capture function of the terminal, and improving the user experience.
  • the method and apparatus for screen capture of a mobile terminal provided by the embodiment of the present invention have the following beneficial effects: the problem that the screenshot cannot be completed by one screenshot operation due to the fact that the current screen does not completely display the content of the screenshot is required. Through a screenshot operation, the content beyond the current display range of the screen is obtained, thereby completing the screenshot and improving the user experience of the terminal.

Landscapes

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

Abstract

本发明公开了一种移动终端屏幕截图方法及装置,涉及移动终端领域,所述方法包括:移动终端根据用户截图指令,对屏幕当前显示内容和屏幕当前未显示内容进行读取;对所读取的屏幕当前显示内容和屏幕当前未显示内容进行合成,形成一张图片;对所形成的图片进行屏幕截图,得到截图图片。本发明通过一次截图操作,能够得到超出屏幕当前显示范围的内容,提高了终端的用户体验。

Description

一种移动终端屏幕截图方法及装置 技术领域
本发明涉及移动终端领域,特别涉及一种移动终端屏幕截图方法及装置。
背景技术
随着终端技术的不断发展和智能移动终端(例如,智能手机)的普及,智能移动终端上的应用软件也越来越多,应用软件在使用过程中用户经常会需要截图功能。
目前市场上的智能移动终端主要实现了单屏幕截图功能,即通过一定的热键组合或多点触控手势轨迹,实现当前屏幕显示内容的截图功能。但在实际使用中用户往往需要截图的内容当前屏幕并没有完整显示,此时,用户一般需要执行多次截屏动作才能完成所有内容的截图。在这种情况下,当前终端所具备的截图功能就无法方便的满足用户的需求,从而降低了终端的用户体验。
发明内容
本发明实施例提供了一种移动终端屏幕截图方法及装置,以至少能更好地解决由于当前屏幕没有完整显示需要截图的内容而导致的无法通过一次截图操作完成截图的问题。
根据本发明的一个实施例,提供了一种移动终端屏幕截图方法,包括:
移动终端根据用户截图指令,对屏幕当前显示内容和屏幕当前未显示内容进行读取;
对所读取的屏幕当前显示内容和屏幕当前未显示内容进行合成,形成一张图片;
对所形成的图片进行屏幕截图,得到截图图片。
在移动终端根据用户截图指令,对屏幕当前显示内容和屏幕当前未显示内容进行读取之前,还包括:
预先设置用来启动屏幕截图功能的物理按键或滑屏图案;
对所设置的物理按键或滑屏图案是否被触发进行检测;
当检测到所设置的物理按键或滑屏图案被触发时,生成用户截图指令。
所述当前未显示内容是用来在当前显示内容之后显示的下一屏显示内容。
移动终端包括前缓冲区和后缓冲区,移动终端从前/后缓冲区对屏幕当前显示内容进行读取,并从后/前缓冲区对屏幕当前未显示内容进行读取。
所述对所形成的图片进行屏幕截图,得到截图图片的步骤包括:
通过对所形成的图片进行缩放处理,将所述图片显示到屏幕上,形成预览界面;
对用户在预览界面上选取的截屏区域进行裁剪,得到截图图片并保存。
根据本发明的另一实施例,提供了一种移动终端屏幕截图装置,包括:
读取模块,设置为根据用户截图指令,对屏幕当前显示内容和屏幕当前未显示内容进行读取;
合成模块,设置为对所读取的屏幕当前显示内容和屏幕当前未显示内容进行合成,形成一张图片;
截图模块,设置为对所形成的图片进行屏幕截图,得到截图图片。
所述装置还包括:
触发模块,用来对预先设置的用来启动屏幕截图功能的物理按键或滑屏图案是否被触发进行检测,并当检测到所设置的物理按键或滑屏图案被触发时,生成用户截图指令。
所述当前未显示内容是用来在当前显示内容之后显示的下一屏显示内容。
所述读取模块从移动终端的前/后缓冲区对屏幕当前显示内容进行读取,并从移动终端的后/前缓冲区对屏幕当前未显示内容进行读取。
所述截图模块通过对所形成的图片进行缩放处理,将所述图片显示到屏幕上,形成预览界面,并对用户在预览界面上选取的截屏区域进行裁剪,得到截图图片并保存。
与相关技术相比较,本发明实施例的有益效果至少在于:
本发明实施例通过一次截图操作,得到超出屏幕当前显示范围的内容,从而完成截图,提高了终端的用户体验。
附图说明
图1是本发明实施例提供的移动终端屏幕截图方法原理框图;
图2是本发明实施例提供的移动终端屏幕截图装置框图;
图3是本发明实施例涉及的双缓冲技术示意图;
图4是本发明实施例提供的移动终端屏幕截图方法流程图;
图5是本发明实施例提供的移动终端屏幕截图装置结构示意图。
具体实施方式
以下结合附图对本发明的优选实施例进行详细说明,应当理解,以下所说明的优选实施例仅用于说明和解释本发明,并不用于限定本发明。
图1是本发明实施例提供的移动终端屏幕截图方法原理框图,如图1所示,步骤包括:
步骤S101:移动终端根据用户截图指令,对屏幕当前显示内容和屏幕当前未显示内容进行读取。
在步骤S101之前,需要预先设置用来启动屏幕截图功能的物理按键或滑屏图案,移动终端对所设置的物理按键或滑屏图案是否被触发进行检测,并当检测到所设置的物理按键或滑屏图案被触发时,生成用户截图指令。
移动终端包括前缓冲区和后缓冲区,在步骤S101中,移动终端从前/后缓冲区对屏幕当前显示内容进行读取,并从后/前缓冲区对屏幕当前未显示内容进行读取。
步骤S102:对所读取的屏幕当前显示内容和屏幕当前未显示内容进行合成,形成一张图片。
步骤S103:对所形成的图片进行屏幕截图,得到截图图片。
在步骤S103中,通过对所形成的图片进行缩放处理,将所述图片显示到屏幕上,形成预览界面;对用户在预览界面上选取的截屏区域进行裁剪,得到截图图片并保存。
进一步地,上述当前未显示内容是用来在当前显示内容之后显示的下一屏显示内容。也就是说,本实施例所提供的方法至少能够实现双屏截图,即执行一次截图动作,得到超过当前屏幕显示范围的两个屏幕内容的图片。
图2是本发明实施例提供的移动终端屏幕截图装置框图,如图2所示,包括:读取模块10、合成模块20和截图模块30。
读取模块10设置为根据用户截图指令,对屏幕当前显示内容和屏幕当前未显示内容进行读取。
合成模块20设置为对所读取的屏幕当前显示内容和屏幕当前未显示内容进行合成,形成一张图片。
截图模块30设置为对所形成的图片进行屏幕截图,得到截图图片。
进一步地,图2所示的移动终端屏幕截图装置还可以包括触发模块40,其根据用户操作生成用户截图指令。
具体地说,触发模块对预先设置的用来启动屏幕截图功能的物理按键或滑屏图案是否被触发进行检测,并当检测到所设置的物理按键或滑屏图案被用户触发时,生成用户截图指令。此时,读取模块10一次性读取移动终端的前后缓冲区和后缓冲区缓存,即从移动终端的前/后缓冲区对屏幕当前显示内容进行读取,从移动终端的后/前缓冲区对屏幕当前未显示内容进行读取。合成模块20对所读取的内容进行解析,并生成包含完整内容的一张图片。最后,截图模块30通过对所生成的图片进行缩放处理,将所述包含当前预览内容和当前未预览内容的图片显示到屏幕上,形成预览界面,并对用户在预览界面上选取的截屏区域进行裁剪,得到截图图片并保存。
其中,图1和图2提供的实施例中,合成得到的图片可以是由像素点构成的位图图片,例如可以是16色位图图片、256色位图图片、24位位图图片等等。
其中,当前未显示内容是用来在当前显示内容之后显示的下一屏显示内容,即图2提供的实施例至少能够实现双屏截图。
以双屏合成一张位图图片实现截图为例,在待截图界面,获取屏幕截图指令,读取帧缓冲区(Framebuffer)内两屏的像素数据,生成位图,实现双屏截图功能。其中,所述Framebuffer是指嵌入式***中专门为图像处理单元(Graphic Processing Unit,GPU)所保留的一块连续的物理内存,在智能终端中,屏幕显示的图像数据(即像素数据)保存在Framebuffer中,LCD通过专门的总线从Framebuffer读取图像数据,显 示到屏幕上。进一步地,根据Framebuffer的数量,可以分为单缓冲技术和双缓冲技术,目前智能终端***主要采用双缓冲技术,也就是存在两个Framebuffer,包括前缓冲区(Front Buffer)和后缓冲区(Back Buffer),当液晶显示器(Liquid Crystal Display,LCD)显示Front Buffer的内容时,中央处理器(Central Processing Unit,CPU)会向Back Buffer写入待显示的另外一张图片的像素数据。因此,对于双缓冲设备,Framebuffer中共保存了两张图片的像素数据。这样,在获取屏幕截图指令时,一次性读取Framebuffer中两张图片的像素数据,并生成一张位图,从而实现双屏截图功能。
图3是本发明实施例涉及的双缓冲技术示意图,如图3所示,在102中,屏幕(Screen)显示的是Front Buffer中的内容图像1;而此时,CPU会在后台向Back Buffer中写入图像2的数据。
在界面需要刷新时,终端进入104状态,Screen通过总线读取并显示Back Buffer中的内容图像2,同时,CPU会在后台向Front Buffer中写入图像3的数据。
以上即为双缓冲技术的基本原理,双缓冲技术提高了屏幕图像刷新的效率,在后台缓冲区同时保存了当前界面显示的图像数据和待显示的另外一幅图像的数据;
图4是本发明实施例提供的移动终端屏幕截图方法流程图,如图4所示,步骤包括:
步骤S202:终端接收屏幕截图指令,启动屏幕截图功能。
其中,所述的屏幕截图指令可以是***或用户预设的物理热键组合键操作,比如同时按下组合键:音量+和音量-,也可以是预设的多点触控手势轨迹,比如用户在屏幕中执行预设图案的滑屏操作。
步骤S204:读取并解析帧缓冲区图像数据,生成位图。
以linux内核的移动终端为例,帧缓冲区被映射为设备节点文件/dev/fb0,可以通过类似普通文件的读取方式,打开并读取该文件的内容,具体的,该文件中包含了Front Buffer和Back Buffer的内容。之后,将读取得到的数据进行解析,并生成一个位图(Bitmap),具体的,此处生成的位图的内容包含了两幅图片的数据,位图的尺寸相当于终端屏幕尺寸的两倍。
步骤S206:显示图片预览界面。
将步骤S204得到的位图进行缩小,把位图的所有内容完整的显示在终端屏幕上,形成预览界面;具体的,位图缩小的比例可以在40%至60%,例如可以是50%,以便于屏幕可以完整显示位图内容。
步骤S208:裁剪图片。
在预览界面,存在一个可以改变大小和位置的区域选择框,该选择框的形状可以是矩形或圆形等形状;用户可以拖动选择框非边框位置改变其在预览界面的位置;用户可以拖动选择框的边框,改变选择框的大小。
用户可以使用该选择框对预览的图片进行裁剪:在选择框内的图片内容将会被保留下来,选择框外的图片内容将会被舍弃;当选择框的大小占满整个屏幕时,预览界面的所有图片内容将会被保留。
S210:保存图片。
在用户裁剪完毕后,可以对图片进行保存,在终端的文件***中生成最终的截图图片。具体的,用户可以通过点击预览界面内的保存按钮执行保存动作,或通过预设的物理按键执行保存动作。
图5是本发明实施例提供的移动终端屏幕截图装置结构示意图,如图5所示,移动终端包括:数据获取模块32、图像显示模块34和控制模块36,其中,数据获取模块32实现了图2实施例的读取模块10和合成模块20的功能,图像显示模块34和控制模块36实现了图2实施例的截图模块30的功能。
数据获取模块32,设置为获取屏幕截图指令,读取帧缓冲区的像素数据,并生成位图;
图像显示模块34,设置为将生成的位图显示到终端屏幕上,例如以预览界面的形式显示。
控制模块36,设置为控制最终的图片截取区域和保存图片,即控制图片裁剪区域,并将图片裁剪区域内的内容保存为最终图片。
综上所述,本发明具有以下技术效果:
本发明实施例利用双缓冲技术,实现了单次屏幕截图动作获取两屏图像数据的功能,增强了终端截屏功能,提高了用户体验。
尽管上文对本发明进行了详细说明,但是本发明不限于此,本技术领域技术人员可以根据本发明的原理进行各种修改。因此,凡按照本发明原理所作的修改,都应当理解为落入本发明的保护范围。
工业实用性
如上所述,本发明实施例提供的一种移动终端屏幕截图方法及装置,具有以下有益效果:解决了由于当前屏幕没有完整显示需要截图的内容而导致的无法通过一次截图操作完成截图的问题,通过一次截图操作,得到超出屏幕当前显示范围的内容,从而完成截图,提高了终端的用户体验。

Claims (12)

  1. 一种移动终端屏幕截图方法,包括:
    移动终端根据用户截图指令,对屏幕当前显示内容和屏幕当前未显示内容进行读取;
    对所读取的屏幕当前显示内容和屏幕当前未显示内容进行合成,形成一张图片;
    对所形成的图片进行屏幕截图,得到截图图片。
  2. 根据权利要求1所述的方法,其中,在移动终端根据用户截图指令,对屏幕当前显示内容和屏幕当前未显示内容进行读取之前,还包括:
    预先设置用来启动屏幕截图功能的物理按键或滑屏图案;
    对所设置的物理按键或滑屏图案是否被触发进行检测;
    当检测到所设置的物理按键或滑屏图案被触发时,生成用户截图指令。
  3. 根据权利要求1所述的方法,其中,所述当前未显示内容是用来在当前显示内容之后显示的下一屏显示内容。
  4. 根据权利要求1-3任一项所述的方法,其中,移动终端包括前缓冲区和后缓冲区,移动终端从前/后缓冲区对屏幕当前显示内容进行读取,并从后/前缓冲区对屏幕当前未显示内容进行读取。
  5. 根据权利要求1-3任一项所述的方法,其中,所述对所形成的图片进行屏幕截图,得到截图图片的步骤包括:
    通过对所形成的图片进行缩放处理,将所述图片显示到屏幕上,形成预览界面;
    对用户在预览界面上选取的截屏区域进行裁剪,得到截图图片并保存。
  6. 一种移动终端屏幕截图装置,包括:
    读取模块,设置为根据用户截图指令,对屏幕当前显示内容和屏幕当前未显示内容进行读取;
    合成模块,设置为对所读取的屏幕当前显示内容和屏幕当前未显示内容进行合成,形成一张图片;
    截图模块,设置为对所形成的图片进行屏幕截图,得到截图图片。
  7. 根据权利要求6所述的装置,其中,还包括:
    触发模块,设置为对预先设置的用来启动屏幕截图功能的物理按键或滑屏图案是否被触发进行检测,并当检测到所设置的物理按键或滑屏图案被触发时,生成用户截图指令。
  8. 根据权利要求6所述的装置,其中,所述当前未显示内容是用来在当前显示内容之后显示的下一屏显示内容。
  9. 根据权利要求6-8任一项所述的装置,其中,所述读取模块从移动终端的前/后缓冲区对屏幕当前显示内容进行读取,并从移动终端的后/前缓冲区对屏幕当前未显示内容进行读取。
  10. 根据权利要求6-8任一项所述的装置,其中,所述截图模块通过对所形成的图片进行缩放处理,将所述图片显示到屏幕上,形成预览界面,并对用户在预览界面上选取的截屏区域进行裁剪,得到截图图片并保存。
  11. 一种移动终端,包括如权利要求6-10中任一项所述的移动终端屏幕截图装置。
  12. 一种计算机存储介质,设置为存储实现如权利要求1-5中任一项所述的移动终端屏幕截图方法的计算机程序。
PCT/CN2015/079519 2014-12-17 2015-05-21 一种移动终端屏幕截图方法及装置 WO2016095429A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410786928.7A CN105786359A (zh) 2014-12-17 2014-12-17 一种移动终端屏幕截图方法及装置
CN201410786928.7 2014-12-17

Publications (1)

Publication Number Publication Date
WO2016095429A1 true WO2016095429A1 (zh) 2016-06-23

Family

ID=56125724

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/CN2015/073724 WO2016095342A1 (zh) 2014-12-17 2015-03-05 一种移动终端屏幕截图方法及装置、存储介质
PCT/CN2015/079519 WO2016095429A1 (zh) 2014-12-17 2015-05-21 一种移动终端屏幕截图方法及装置

Family Applications Before (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/073724 WO2016095342A1 (zh) 2014-12-17 2015-03-05 一种移动终端屏幕截图方法及装置、存储介质

Country Status (2)

Country Link
CN (1) CN105786359A (zh)
WO (2) WO2016095342A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547811A (zh) * 2017-08-11 2018-01-05 中广热点云科技有限公司 实现信号转接处理后截取多视频画面的方法及装置

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105549845B (zh) * 2015-12-09 2019-03-26 惠州Tcl移动通信有限公司 一种基于移动终端的页面连续截图方法、***及移动终端
CN106899489A (zh) * 2016-08-02 2017-06-27 阿里巴巴集团控股有限公司 一种信息处理方法及装置
CN107870712B (zh) * 2016-09-23 2021-11-09 北京搜狗科技发展有限公司 一种截图处理方法及装置
EP3540615A4 (en) * 2016-11-30 2019-10-16 Huawei Technologies Co., Ltd. METHOD AND DEVICE FOR DISPLAYING IMAGE, TERMINAL EQUIPMENT
CN107656678B (zh) * 2017-08-29 2020-12-22 努比亚技术有限公司 长截图实现方法、终端及计算机可读存储介质
CN108762636A (zh) * 2018-05-23 2018-11-06 上海爱优威软件开发有限公司 一种截屏方法及终端
CN108939556B (zh) * 2018-07-27 2021-08-20 珠海金山网络游戏科技有限公司 一种基于游戏平台的截图方法及装置
CN112115690B (zh) * 2019-06-20 2024-06-11 珠海金山办公软件有限公司 一种移动端表格中选区的方法、***、存储介质和终端
CN111459590A (zh) * 2020-03-31 2020-07-28 联想(北京)有限公司 一种截图处理方法及电子设备
CN115079874A (zh) * 2021-03-10 2022-09-20 Oppo广东移动通信有限公司 截图方法、装置、电子设备及存储介质

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103927178A (zh) * 2014-04-18 2014-07-16 长沙裕邦软件开发有限公司 一种截图方法及截图装置
CN104238913A (zh) * 2014-09-02 2014-12-24 北京金山安全软件有限公司 截图方法、装置和电子设备

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100476829C (zh) * 2007-01-17 2009-04-08 深圳市光芒科技有限公司 一种截取网页内容的方法
US9245182B2 (en) * 2008-03-28 2016-01-26 International Business Machines Corporation Enhancing data in a screenshot
CN103514581B (zh) * 2013-10-23 2017-02-15 小米科技有限责任公司 一种截取屏幕图片的方法、装置和终端设备
CN104536658B (zh) * 2014-12-12 2017-12-29 天津三星通信技术研究有限公司 在终端中生成截屏图像的设备和方法

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103927178A (zh) * 2014-04-18 2014-07-16 长沙裕邦软件开发有限公司 一种截图方法及截图装置
CN104238913A (zh) * 2014-09-02 2014-12-24 北京金山安全软件有限公司 截图方法、装置和电子设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107547811A (zh) * 2017-08-11 2018-01-05 中广热点云科技有限公司 实现信号转接处理后截取多视频画面的方法及装置
CN107547811B (zh) * 2017-08-11 2019-10-18 中广热点云科技有限公司 实现信号转接处理后截取多视频画面的方法及装置

Also Published As

Publication number Publication date
WO2016095342A1 (zh) 2016-06-23
CN105786359A (zh) 2016-07-20

Similar Documents

Publication Publication Date Title
WO2016095429A1 (zh) 一种移动终端屏幕截图方法及装置
US10120538B2 (en) Providing subpages in a touch panel user interface
CN109710206A (zh) 显示信息的方法、装置、终端及存储介质
WO2016124122A1 (zh) 一种手持式电子设备图片缩放及播放内容切换的方法及装置
US20180247613A1 (en) Display apparatus and control method thereof
KR20160146281A (ko) 전자 장치 및 전자 장치에서 이미지 표시 방법
US10957285B2 (en) Method and system for playing multimedia data
JP2008523488A (ja) 装置上でデジタルビジュアルコンテンツを閲覧するためのシステム及び方法
WO2015192713A1 (zh) 图片处理的方法、装置及移动终端、计算机存储介质
CN111479054A (zh) 用于处理装置中的图像的设备和方法
CN105302429A (zh) 一种移动终端屏幕截图方法及其移动终端
US12019669B2 (en) Method, apparatus, device, readable storage medium and product for media content processing
CN112019891A (zh) 一种多媒体内容的显示方法及装置、终端、存储介质
WO2022156673A1 (zh) 显示控制方法、装置、电子设备及介质
TW201915710A (zh) 基於安卓平臺的顯示裝置及其圖像顯示方法
CN111352560B (zh) 分屏方法、装置、电子设备和计算机可读存储介质
WO2022194211A1 (zh) 图像处理方法、装置、电子设备及可读存储介质
US9530183B1 (en) Elastic navigation for fixed layout content
US11733863B2 (en) Display data obtaining method, electronic device and storage medium
US11726644B2 (en) Providing visual feedback during touch-based operations on user interface elements
US20240163392A1 (en) Image special effect processing method and apparatus, and electronic device and computer readable storage medium
EP4300979A1 (en) Display method, terminal, and storage medium
TWI736238B (zh) 智慧型廣告系統
CN107632810B (zh) 一种基于Android***HDMI同显时节省带宽的方法
JP2022051375A (ja) 情報処理装置及び情報処理プログラム

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

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

Country of ref document: EP

Kind code of ref document: A1