WO2016112619A1 - 一种实现区域屏幕截图的方法、装置和终端 - Google Patents

一种实现区域屏幕截图的方法、装置和终端 Download PDF

Info

Publication number
WO2016112619A1
WO2016112619A1 PCT/CN2015/081172 CN2015081172W WO2016112619A1 WO 2016112619 A1 WO2016112619 A1 WO 2016112619A1 CN 2015081172 W CN2015081172 W CN 2015081172W WO 2016112619 A1 WO2016112619 A1 WO 2016112619A1
Authority
WO
WIPO (PCT)
Prior art keywords
control
area
screenshot
picture
implementing
Prior art date
Application number
PCT/CN2015/081172
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 中兴通讯股份有限公司
Priority to EP15877536.1A priority Critical patent/EP3220249B1/en
Priority to US15/544,111 priority patent/US20170371844A1/en
Publication of WO2016112619A1 publication Critical patent/WO2016112619A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/106Display of layout of documents; Previewing
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/205Parsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45504Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
    • G06F9/45508Runtime interpretation or emulation, e g. emulator loops, bytecode interpretation
    • G06F9/45512Command shells

Definitions

  • This paper relates to the technology of realizing regional screen shots by intelligent terminals, especially a method, device and terminal for realizing regional screen shots.
  • the technical problem to be solved by the present invention is to provide a method, device and terminal for realizing an area screen shot, which can realize screenshots of one or more area screens simply, quickly and accurately, thereby improving the user experience.
  • a method of implementing a regional screenshot including:
  • the screenshot area is determined according to the selected control, and the content displayed in the screenshot area is screenshotd.
  • the step of parsing the layout information of the current screen interface includes:
  • the step of marking the control on the picture by using the obtained layout information includes:
  • the boundaries of each of the parsed controls are marked on the picture in a predefined manner.
  • the boundary position of each control on the screen refers to a border of a rectangular area determined according to the values of the X coordinate and the Y coordinate of the upper left corner of the control and the values of the X coordinate and the Y coordinate of the lower right corner of the control.
  • the method further includes: caching control information of all marked boundaries in a memory of the control tree.
  • the step of marking, on the picture, the boundary of each of the parsed controls in a predefined manner along the determined boundary position comprises:
  • control For controls whose width and height are less than the preset threshold, the control is not part of the parent control, which is a child control.
  • the step of selecting one or more controls that need to be screenshotd according to the mark includes:
  • the parent control of the parent control is also selected;
  • the parent control's non-affiliated child space is not selected, and the parent control's non-affiliated child control refers to the child control marked with a boundary within the parent control.
  • the step of intercepting the content displayed by the determined one or more screenshot areas comprises:
  • the content of the screenshot area is retained while leaving the picture pixel value of the screenshot area unchanged; the picture of the unselected area displays black or white or the picture of the unselected area displays other set background colors.
  • the method further comprises: performing the selected step again on the screenshot area to cancel the screenshot area.
  • An apparatus for implementing a region screenshot comprising a first processing module and a second processing module;
  • the first processing module is configured to: receive a screenshot instruction, intercept the complete content of the current screen interface and generate a picture; parse the layout information of the current screen interface, and output the parsed layout information and the picture information to the second Processing module
  • the second processing module is configured to: mark the control on the picture by using the obtained layout information; receive a selection instruction, select one or more controls that need to be screenshotd according to the mark, and determine according to the selected control
  • the screenshot area is a screenshot of the content displayed in the screenshot area.
  • the first processing module is configured to parse the layout information of the current screen interface by acquiring a layout file of the current screen interface through the function interface, parsing the layout file, and acquiring coordinate position information of each control.
  • the second processing module is configured to mark the control on the picture by using the obtained layout information as follows: determining, according to the coordinate position information, a boundary position of each control on the screen; The determined boundary position marks the boundaries of each of the parsed controls on the picture in a predefined manner.
  • the boundary position of each control on the screen refers to a border of a rectangular area determined according to the values of the X coordinate and the Y coordinate of the upper left corner of the control and the values of the X coordinate and the Y coordinate of the lower right corner of the control.
  • the second processing module is further configured to: cache all control information that has been marked by the boundary in the form of a control tree.
  • the second processing module is configured to mark the boundary of each of the parsed controls on the picture in a pre-set defined manner along the determined boundary position as follows:
  • control For a control whose width and height are both less than a preset threshold, the control is one of its parent controls The part, the sub-control, is not marked.
  • the second processing module is configured to select one or more controls that need to be screenshotd according to the mark as follows:
  • the parent control of the parent control is also selected;
  • the parent control's non-affiliated child space is not selected, and the parent control's non-affiliated child control refers to the child control marked with a boundary within the parent control.
  • the second processing module is configured to intercept the content displayed by the determined one or more screenshot areas as follows:
  • Receiving the selection instruction retaining the content of the screenshot area while leaving the picture pixel value of the screenshot area unchanged; the picture of the unselected area displaying black or white or other set background color.
  • the second processing module is further configured to:
  • a terminal includes a display screen and a processor, wherein
  • the processor is configured to: intercept the complete content of the current screen interface according to the screenshot instruction and generate a picture; parse the layout information of the current screen interface, and mark the control on the picture by using the obtained layout information; One or more controls that need to be screenshotd, determine a screenshot area according to the selected control, and take a screenshot of the content displayed in the screenshot area;
  • the display screen is configured to display the intercepted content.
  • the technical solution of the present application includes intercepting the complete content of the current screen interface according to the screenshot instruction and generating a picture; parsing the control layout information of the current screen interface, and using the obtained control layout information on the generated image Each control is identified; the screenshot area is determined according to the control selected according to the identifier; and the content displayed by the determined one or more screenshot areas is intercepted.
  • screenshots of one or more regional screens are implemented simply, quickly and accurately, thereby improving the user experience.
  • FIG. 1 is a flowchart of a method for implementing an area screenshot according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of an embodiment of displaying control layout information on a screen of a mobile terminal according to the present invention
  • FIG. 3 is a schematic diagram of an embodiment of marking a control on a screen of a mobile terminal according to the present invention.
  • FIG. 4 is a schematic diagram of an embodiment of a selection control of the present invention.
  • Figure 5 is a schematic diagram showing the result of the screenshot obtained according to the selection shown in Figure 4 of the present invention.
  • FIG. 6 is a schematic diagram of another embodiment of a selection control of the present invention.
  • Figure 7 is a schematic diagram showing the intermediate results of the screenshots obtained according to the selection shown in Figure 6 of the present invention.
  • Figure 8 is a schematic diagram showing the result of the screenshot obtained according to the selection shown in Figure 6 of the present invention.
  • FIG. 9 is a schematic diagram of canceling a selected control area according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a device for implementing an area screenshot according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for implementing a region screenshot according to an embodiment of the present invention. As shown in FIG. 1 , the method includes:
  • Step 100 Capture the complete content of the current screen interface according to the screenshot instruction and generate a picture.
  • the screenshot instruction can be realized by the operation of the physical hotkey combination key preset by the system or the user, for example: simultaneously pressing the combination key: volume + and volume -; or, the screenshot instruction can also be pressed It is implemented according to a preset multi-touch gesture track, such as a user performing a sliding screen operation of a preset pattern on the screen.
  • Step 101 Parse the layout information of the current screen interface, and use the obtained layout information to identify each control on the generated image.
  • the layout information refers to information about how the control is laid out on the screen interface.
  • control also called a widget (control or control)
  • a widget is a graphical user interface element whose information arrangement can be changed by a user, such as a window (including a picture, etc.), or a text box (including text information, etc.).
  • the feature of the control definition is to provide separate interaction points for the direct manipulation of a given data.
  • This step specifically includes:
  • the layout file of the current screen interface is obtained through the function interface.
  • an intelligent terminal based on the Android platform can obtain a layout file through the dump Window Hierarchy interface, or obtain a layout file by using a UiAuomator dump command; wherein the layout file includes layout information of each control of the current interface, including position coordinates, Size and so on.
  • layout file includes layout information of each control of the current interface, including position coordinates, Size and so on.
  • the obtained layout file is parsed to obtain the coordinate position of each control; because the layout file contains layout information of each control of the current interface, the layout information includes the position coordinates, size, and text content of the control. By reading the coordinate position field in the file, you can get the coordinate position of each control.
  • the boundary position of each control on the screen is respectively determined, and displayed on the screen in a preview manner on the screen of the smart terminal.
  • the boundary position of each control on the screen refers to a border of a rectangular area determined according to the values of the X coordinate and the Y coordinate of the upper left corner of the control and the values of the X coordinate and the Y coordinate of the lower right corner of the control.
  • FIG. 2 is a schematic diagram of an embodiment of displaying layout information on a screen of a mobile terminal according to the present invention.
  • a plurality of pictures and texts are displayed on a screen of the smart terminal, including picture 1, picture 2, picture 3, Picture 4, Picture 5, Picture 6, Text 1, Text 2, Text 3, Text 4, Text 5, Text 6, Text 7, in addition, the screen also includes text x and text t occupying a small area.
  • the layout information information such as position information (such as X coordinate, Y coordinate), boundary information, and text content of all controls of the current interface is saved.
  • the values of the X coordinate and the Y coordinate of the lower right corner of the control are respectively 456, 444. According to these two coordinate positions, a rectangular area can be drawn, and the border of the rectangle is the boundary of the control.
  • FIG. 3 is a schematic diagram of an embodiment of marking a control on a screen of a mobile terminal according to the present invention. As shown in FIG. 3, each picture and text on the screen is in the form of a control, and the boundary of each control is a bold line. The example is marked to form a plurality of rectangular frames, some of which are surrounded by a larger external control border.
  • the external control and the internal control are parent-child relationships, that is, the external control is a parent control.
  • Picture 1 the long rectangular box outside the text 1
  • the internal controls are child controls such as picture 1, text 1.
  • the child control is attached to the parent control of the area in which it is located.
  • the text x in Figure 3 is attached to the parent control to which the text 2 and the picture 2 belong, and the text t is attached to the parent control to which the text 6 and the picture 5 belong.
  • the step further includes: recording the control information of all marked boundaries, such as the control information of all marked boundaries in the form of a control tree cached in the memory, specifically A conventional technical means that is known to those skilled in the art is implemented, and details are not described herein again.
  • control located in the outermost layer of the control tree generally represents the outermost border of the screen, so its boundary is not marked; the width and height are smaller than the preset.
  • the threshold such as a 100-pixel control, indicates that the control occupies a small area on the screen.
  • the control is part of its parent control and is a sub-control. Its boundary is not marked.
  • the parent control of the parent control is also selected.
  • other child controls marked with boundaries in the parent control are non-affiliated child controls of the parent control. When the parent control is selected, the non-subordinate subspace is not selected together.
  • Step 102 Select one or more controls that need to be screenshotd according to the mark, determine the screenshot area according to the selected controls, and intercept the content displayed by the determined screenshot area.
  • the screenshot area is the area determined by all the selected controls. For example, if two buttons are selected, the area occupied by the two buttons on the screen is the screenshot area.
  • the user can select one or more controls that need to be screenshotd by clicking or sliding. Determining the screenshot area is only to find out which areas need to be retained, and does not perform the screenshot action. The intercepted area is the executed screenshot action and the picture is obtained.
  • the content displayed in the one or more screenshot areas determined by the interception in this step includes: retaining the content of the screenshot area while keeping the picture pixel value of the screenshot area unchanged; the picture of the unselected area is displayed black or white or Other set background colors.
  • the control has position information on the screen. For example, the upper left corner and the lower right corner have coordinates. This is equivalent to determining a rectangular position.
  • This rectangular position is the screenshot area.
  • each rectangular frame is the control.
  • the boundary is the rectangular area with the control determined, that is, the screenshot area.
  • FIG. 4 is a schematic diagram of an embodiment of a selection control according to the present invention. As shown in FIG. 4, it is assumed that a user selects a control that needs to be captured by clicking a picture of a preview interface, and a black dot in FIG. The area in which the control is located is shown in the shaded portion of the control's borders in Figure 4.
  • FIG. 5 is a schematic diagram of the result of the screenshot obtained according to the selection shown in FIG. 4 according to an embodiment of the present invention. As shown in FIG. 5, according to the plurality of control areas selected by the user in FIG. 4, the control at the click screen is retained on the screen.
  • the result of the screenshot of the area can also keep the image pixel value of the selected area unchanged, while the picture of the unselected area displays black or white or other set background color, which is set to 0 in FIG. For example. It should be noted that the control boundary displayed in FIG. 5 can be deleted.
  • FIG. 6 is a schematic diagram of another embodiment of the selection control of the present invention. As shown in FIG. 6, it is assumed that the user selects a control that needs to be captured by the action of arbitrarily sliding the line on the picture of the preview interface, according to the track. All coordinates determine the area in which the control selected for each coordinate is located. As shown The gesture shown by the thick dashed line in 6 slides the trajectory and records all the coordinates on the trajectory. All the coordinate points on the trajectory can be regarded as the coordinate position of the user click.
  • FIG. 7 is a schematic diagram of the intermediate result of the screenshot according to the selection shown in FIG. 6 according to the present invention. As shown in FIG. 7, according to the sliding trajectory in FIG. 6, the area of the shaded portion in FIG. 7 is determined according to the sliding trajectory. Multiple control areas.
  • FIG. 8 is a schematic diagram of the result of the screenshot obtained according to the selection shown in FIG. 6 of the present invention. As shown in FIG. 8, the control region of all the regions not shaded by hatching in FIG. 7 does not include the trace line in FIG. 6. The control areas are all set to the background color, leaving only the content of the selected area containing the trajectory in Figure 6. It should be noted that the control boundary of the display in FIG. 8 can be deleted.
  • the area of the shaded portion such as picture 1, text 1, text x, text 4, picture 4, picture 5, text 5, and text t
  • the above selected operation such as clicking or sliding may be performed again on the corresponding area.
  • the background color of these control areas is set to the original color, which means that these areas are currently not selected as the area to be screenshotd, and the display result is shown in Figure 9.
  • 9 is a schematic diagram of canceling the selected control area according to an embodiment of the present invention. As shown in FIG. 9, the selected area is still represented by a hatched shadow.
  • FIG. 10 is a schematic structural diagram of a device for implementing an area screen shot according to an embodiment of the present invention. As shown in FIG. 10, the method includes at least a first processing module 1001 and a second processing module 1002.
  • the first processing module 1001 is configured to: receive a screenshot instruction, intercept the complete content of the current screen interface and generate a picture; parse the layout information of the current screen interface, and output the parsed layout information and picture information to the second processing module 1002;
  • the second processing module 1002 is configured to: use the obtained layout information to identify each control on the generated image; receive a selection instruction, determine a screenshot area according to the control selected according to the identifier, and determine one or more screenshot regions. The content displayed is used as the screenshot area.
  • the first processing module 1001 is configured to: receive a screenshot instruction, intercept the complete content of the current screen interface and generate image data; acquire a layout file of the current screen interface through the function interface, and parse the layout file to obtain coordinate position information of each control The parsed layout information and the picture information are output to the second processing module 1002.
  • the second processing module 1002 is configured to: respectively determine, according to the parsed coordinate position information, a boundary position of each control on the screen; along the determined boundary position of the control, the parsed respective controls are performed on the image
  • the boundary is marked in a predefined manner; a selection instruction is received, the content of the screenshot area is retained, while the picture pixel value of the screenshot area is kept unchanged; the picture of the unselected area is displayed black or white or Other set background colors.
  • the second processing module 1002 is further configured to save all content of the entire screen interface when the selection instruction is not received.
  • the second processing module 1002 is further configured to cancel the selection of the screenshot area when receiving the selection instruction for the screenshot area again.
  • the device of the embodiment of the invention may be disposed in the terminal.
  • the terminal at least includes a display screen and a processor, wherein
  • the processor is configured to: intercept the complete content of the current screen interface according to the screenshot instruction and generate a picture; parse the layout information of the current screen interface, and use the obtained layout information to identify each control on the generated image data; Identifying the selected control to determine the screenshot area, and intercepting the content displayed by the determined one or more screenshot areas;
  • the display is set to display the content of the screenshot area.
  • the embodiment of the invention also discloses a computer program, comprising program instructions, which when executed by a computer, enable the computer to execute any of the above-mentioned methods for realizing the area screenshot.
  • the embodiment of the invention also discloses a carrier carrying the computer program.
  • the readable storage medium when executed, the program includes the following steps: intercepting the complete content of the current screen interface according to the screenshot instruction and generating the image data after the cache; parsing the layout information of the current screen interface, and according to the obtained layout information The generated image data is identified on each control; the screenshot area is determined according to the control selected according to the identifier, and the content displayed by the determined one or more screenshot areas is intercepted.
  • the storage medium is, for example, a ROM/RAM, a magnetic disk, an optical disk, or the like.
  • screenshots of one or more regional screens are implemented simply, quickly and accurately, thereby improving the user experience. Therefore, the present invention has strong industrial applicability.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

一种实现区域屏幕截图的方法、装置和终端,包括根据屏幕截图指令截取当前屏幕界面的完整内容并生成图片(100);解析当前屏幕界面的布局信息,并利用获得的布局信息在所述生成的图片上对各控件进行标识(101);根据按照标识选择出的控件确定截图区域,截取确定出的一个或一个以上截图区域所显示的内容(102);在需要截图时,截取当前屏幕界面的完整内容并生成图片数据;解析当前屏幕界面的布局信息,并根据获得的布局信息在生成的图片上对各控件进行标识;根据被选定的控件确定截图区域。通过提供的该技术方案,简单、快速并准确地实现对一个或一个以上区域屏幕的截图,从而提高了用户体验。

Description

一种实现区域屏幕截图的方法、装置和终端 技术领域
本文涉及智能终端实现区域屏幕截图的技术,尤指一种实现区域屏幕截图的方法、装置和终端。
背景技术
随着终端技术的不断发展和智能移动终端如智能手机的普及,智能终端上的应用软件也越来越多。在应用软件的使用过程中,截图功能是用户不可避免要使用到的。目前,市场上的智能终端实现了屏幕的全屏截图功能,当用户只需要部分区域截图时,需要在全屏截图上手动裁剪选择截图内容。这种方式处理速度慢,而且需要用户手动操作调整,用户体验不佳。
发明内容
本发明要解决的技术问题是提供一种实现区域屏幕截图的方法、装置和终端,能够简单、快速并准确地实现对一个或一个以上区域屏幕的截图,从而提高用户体验。
为了达到本发明目的,采用如下技术方案:
一种实现区域屏幕截图的方法,包括:
根据屏幕截图指令截取当前屏幕界面的完整内容并生成图片;
解析当前屏幕界面的布局信息,并利用获得的布局信息在所述图片上对控件进行标记;
按照标记选定需要被截图的一个或一个以上控件;
根据所选定的控件确定截图区域,对所述截图区域所显示的内容进行截图。
可选地,所述解析当前屏幕界面的布局信息的步骤包括:
通过函数接口获取所述当前屏幕界面的布局文件;
解析所述布局文件,获取每个控件的坐标位置信息。
可选地,所述利用获得的布局信息在所述图片上对控件进行标记的步骤包括:
根据所述坐标位置信息分别确定每个控件在屏幕上的边界位置;
沿着确定出的边界位置,在所述图片上将所解析出的每个控件的边界以预先设置的界定方式进行标记。
可选地,每个控件在屏幕上的边界位置是指根据控件的左上角的X坐标和Y坐标的值及控件右下角的X坐标和Y坐标的值确定出的矩形区域的边框。
可选地,该方法还包括:将所有已被标记边界的控件信息以控件树的形式缓存在内存中。
可选地,所述沿着确定出的边界位置,在所述图片上将所解析出的每个控件的边界以预先设置的界定方式进行标记的步骤包括:
对于控件树中位于最外层的作为根节点的控件,不进行标记;
对于宽和高均小于预先设置的阈值的控件,将该控件作为其父控件的一部分,即附属子控件,不进行标记。
可选地,所述按照标记选定需要被截图的一个或一个以上控件的步骤包括:
当一父控件被选定时,该父控件的附属子控件也被选定;
在一父控件被选定时,该父控件的非附属子空间不被选定,父控件的非附属子控件是指父控件内被标记有边界的子控件。
可选地,所述截取确定出的一个或一个以上截图区域所显示的内容的步骤包括:
保留所述截图区域的内容,同时保留所述截图区域的图片像素值不变;未被选定的区域的图片显示黑色或白色或未被选定的区域的图片显示其他设定的背景颜色。
可选地,该方法还包括:对所述截图区域再次执行所述选定的步骤,以取消该截图区域。
一种实现区域屏幕截图的装置,包括第一处理模块和第二处理模块;其中,
所述第一处理模块设置成:接收到屏幕截图指令,截取当前屏幕界面的完整内容并生成图片;解析当前屏幕界面的布局信息,将将解析出的布局信息及图片信息输出给所述第二处理模块;
所述第二处理模块设置成:利用获得的布局信息在所述图片上对控件进行标记;接收到选择指令,根据标记选定需要被截图的一个或一个以上控件,根据所选定的控件确定截图区域,对所述截图区域所显示的内容进行截图。
可选地,所述第一处理模块设置成按照如下方式解析当前屏幕界面的布局信息:通过函数接口获取当前屏幕界面的布局文件,解析所述布局文件,获取每个控件的坐标位置信息。
可选地,所述第二处理模块设置成按照如下方式利用获得的布局信息在所述图片上对控件进行标记:根据所述坐标位置信息分别确定每个控件在屏幕上的边界位置;沿着确定出的边界位置,在所述图片上将所解析出的每个控件的边界以预先设置的界定方式进行标记。
可选地,每个控件在屏幕上的边界位置是指根据控件的左上角的X坐标和Y坐标的值及控件右下角的X坐标和Y坐标的值确定出的矩形区域的边框。
可选地,所述第二处理模块还设置成:将所有已被标记边界的控件信息以控件树的形式缓存在内存中。
可选地,所述第二处理模块设置成按照如下方式沿着确定出的边界位置,在所述图片上将所解析出的每个控件的边界以预先设置的界定方式进行标记:
对于控件树中位于最外层的作为根节点的控件,不进行标记;
对于宽和高均小于预先设置的阈值的控件,将该控件作为其父控件的一 部分,即附属子控件,不进行标记。
可选地,所述第二处理模块设置成按照如下方式按照标记选定需要被截图的一个或一个以上控件:
当一父控件被选定时,该父控件的附属子控件也被选定;
在一父控件被选定时,该父控件的非附属子空间不被选定,父控件的非附属子控件是指父控件内被标记有边界的子控件。
可选地,所述第二处理模块设置成按照如下方式截取确定出的一个或一个以上截图区域所显示的内容:
接收到所述选择指令,保留所述截图区域的内容,同时保留所述截图区域的图片像素值不变;未被选定的区域的图片显示黑色或白色或其他设定的背景颜色。
可选地,所述第二处理模块还设置成:
接收到对所述截图区域再次执行选择指令时,取消对该截图区域的选定。
一种终端,包括显示屏及处理器,其中,
所述处理器设置成:根据屏幕截图指令截取当前屏幕界面的完整内容并生成图片;解析当前屏幕界面的布局信息,并利用获得的布局信息在所述图片上对控件进行标记;根据标记选定需要被截图的一个或一个以上控件,根据所选定的控件确定截图区域,对所述截图区域所显示的内容进行截图;
所述显示屏设置成:显示所截取的内容。
与相关技术相比,本申请技术方案包括根据屏幕截图指令截取当前屏幕界面的完整内容并生成图片;解析当前屏幕界面的控件布局信息,并利用获得的控件布局信息在所述生成的图片上对各控件进行标识;根据按照标识选择出的控件确定截图区域;截取确定出的一个或一个以上截图区域所显示的内容。通过本发明提供的技术方案,简单、快速并准确地实现对一个或一个以上区域屏幕的截图,从而提高了用户体验。
本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说 明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。
附图概述
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1为本发明实施例实现区域屏幕截图的方法的流程图;
图2为本发明在移动终端屏幕显示控件布局信息的实施例的示意图;
图3为本发明在移动终端屏幕上标记控件的实施例的示意图;
图4为本发明选择控件的实施例的示意图;
图5为本发明按照图4所示的选择得到的截图结果的示意图;
图6为本发明选择控件的另一实施例的示意图;
图7为本发明按照图6所示的选择得到的截图中间结果的示意图;
图8为本发明按照图6所示的选择得到的截图结果的示意图;
图9为本发明实施例取消选定控件区域的示意图;
图10为本发明实施例实现区域屏幕截图的装置的组成结构示意图。
本发明的较佳实施方式
下文中将结合附图对本发明的实施例进行详细说明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互任意组合。
图1为本发明实施例实现区域屏幕截图的方法的流程图,如图1所示,包括:
步骤100:根据屏幕截图指令截取当前屏幕界面的完整内容并生成图片。
本步骤中,当移动终端接收到屏幕截图指令时,意味着需要截图。其中,屏幕截图指令可以通过对系统或用户预先设置的物理热键组合键的操作来实现,比如:同时按下组合键:音量+和音量-;或者,屏幕截图指令还可以按 照预先设置的多点触控手势轨迹来实现,比如:用户在屏幕中执行预先设置的图案的滑屏操作等。
本步骤中的如何截取当前屏幕界面的完整内容并生成图片属于本领域技术人员的惯用技术手段,其具体实现并不用于限定本发明的保护范围,这里不再赘述。
步骤101:解析当前屏幕界面的布局信息,并利用获得的布局信息在生成的图片上对各控件进行标识。
其中,布局信息是指关于控件在屏幕界面上如何布局的信息。
其中,控件,也称为部件(widget或control),是一种图形用户界面元素,其显示的信息排列可由用户改变,比如:视窗(包含图片等)、或文本框(包含文字信息等)。控件定义的特点是为给定数据的直接操作(direct manipulation)提供单独的互动点。
本步骤具体包括:
首先,通过函数接口获取当前屏幕界面的布局文件。比如:基于安卓(Android)平台的智能终端,可以通过dump Window Hierarchy接口获取布局文件,或者通过UiAuomator dump命令获取布局文件;其中,布局文件中包含了当前界面各个控件的布局信息,包括位置坐标、大小等。对于本领域技术人员来说的公知技术术语,在此不再赘述。
接着,对获得的布局文件进行解析获取每个控件的坐标位置;因为布局文件中包含了当前界面各个控件的布局信息,布局信息包括控件的位置坐标、大小以及包含的文本内容等。通过读取该文件中的坐标位置字段,就可以得到每个控件的坐标位置。
然后,根据解析出的各控件的坐标位置分别确定每个控件在屏幕上的边界位置,并在智能终端屏幕上以预览的方式显示在图片上。其中,每个控件在屏幕上的边界位置是指根据控件的左上角的X坐标和Y坐标的值及控件右下角的X坐标和Y坐标的值确定出的矩形区域的边框。
图2为本发明在移动终端屏幕显示布局信息的实施例的示意图,如图2所示,智能终端屏幕上显示有多个图片和文本,包括图片1、图片2、图片3、 图片4、图片5、图片6,文本1、文本2、文本3、文本4、文本5、文本6,文本7,另外,屏幕上还包括占据面积很小的文本x和文本t。在布局信息中保存有当前界面所有控件的位置信息(如X坐标、Y坐标)、边界信息、包含的文本内容等信息。比如,控件的坐标位置为bounds="[66,407][456,444]",表示了控件左上角的X坐标、Y坐标的值分别为66、407,控件右下角的X坐标、Y坐标的值分别为456、444。根据这两个坐标位置即可绘制出一个矩形区域,矩形的边框即为控件的边界。
最后,沿着确定出的控件的边界位置,在生成的图片上将所述解析出的各个控件的边界以预先设置的界定方式进行标记,便于用户可以清晰的识别每个控件的位置及控件内包含的内容。即在预览界面的图片上,将解析出的各个控件的边界以预先设置的界定方式如加粗的线条、预先设置的颜色等进行标记。图3为本发明在移动终端屏幕上标记控件的实施例的示意图,如图3所示,屏幕上各个图片和文本均是以控件的形式存在的,各个控件的边界被以加粗的线条为例进行标记,形成多个矩形框,其中一些控件边框本身会被外部更大的控件边框包围,这样的情况下,外部的控件和内部的控件即为父子关系,即外部的控件为父控件如图片1、文字1外面套的长矩形框,其内部的控件为子控件如图片1、文字1。特别地,当屏幕上的某些控件本身所占的面积较小时,比如宽和高均小于预先设置的阈值如100像素时,该控件的边界不会被单独标记,这类控件被认为是附属子控件,附属于其所在区域的父控件,如图3中的文本x附属于文字2和图片2所属的父控件、文本t附属于文字6和图片5所属的父控件。
当所有符合标记规则的控件的边界被标记完成后,本步骤还包括:记录所有已被标记边界的控件信息,如将所有已被标记边界的控件信息以控件树的形式缓存在内存中,具体实现属于本领域技术人员的惯用技术手段,这里不再赘述。
需要说明的是,在对控件进行边界标记时,控件树中位于最外层的作为根节点的控件一般表示屏幕最外围的边框,因此,其边界不被标记;对于宽和高均小于预先设置的阈值,如100像素的控件,表示该控件在屏幕上占据的面积很小,将该控件作为其父控件的一部分,为附属子控件,其边界不被标 记。当父控件被选中时,父控件的附属子控件也被选中。需要强调的是,父控件内其他被标记有边界的子控件是父控件的非附属子控件。在父控件被选中时,非附属子空间是不会被一同选中的。
步骤102:按照标记选择出需要被截图的一个或一个以上控件,根据选择出的这些控件确定截图区域,截取确定出的截图区域所显示的内容。
其中,截图区域是由被选中的所有控件确定出的区域,比如选中了2个按钮,那么这2个按钮在屏幕上所占据的区域就是截图区域。
本步骤中,用户可以通过点击或者滑动等方式,选择出需要被截图的一个或一个以上控件。确定出截图区域仅仅是找出哪些区域是需要保留的,并没有执行截图动作,后面截取确定出的区域才是执行的截图动作,得到图片。
本步骤中的截取确定出的一个或一个以上截图区域所显示的内容包括:保留截图区域的内容,同时保留截图区域的图片像素值不变;未被选定的区域的图片显示黑色或白色或其他设定的背景颜色。
控件在屏幕上是有位置信息的,例如左上角和右下角是有坐标的,这就相当于确定了一个矩形位置,这个矩形位置就是截图区域,参考图3中,每个矩形框就是控件的边界,就是有控件确定的矩形区域,也就是截图区域。
图4为本发明选择控件的实施例的示意图,如图4所示,假设用户通过点击预览界面的图片的动作,选择需要被截图区域的控件,如图4中黑点表示用户点击的位置,该控件所在区域如4图中控件边界内的斜线阴影部分所示。图5为本发明实施例按照图4所示的选择得到的截图结果的示意图,如图5所示,根据图4中用户点击选定的多个控件区域,在屏幕上保留点击屏幕处控件所在区域的截图结果,同时可以保留选定区域的图片像素值不变,而未被选定的区域的图片显示黑色或白色或其他设定的背景颜色,图5中以设置为0,即显示白色为例。需要说明的是,图5中的显示的控件边界可以删除。
图6为本发明选择控件的另一实施例的示意图,如图6所示,假设用户通过在预览界面的图片上做任意滑动画线的动作,选择需要被截图区域的控件,根据轨迹上的所有坐标确定出每个坐标所选定的控件所在的区域。如图 6中粗实虚线所示的手势滑动轨迹,并记录轨迹线上的所有坐标,轨迹线上的所有坐标点即可以认为是用户点击的坐标位置。
图7为本发明按照图6所示的选择得到的截图中间结果的示意图,如图7所示,根据图6中的滑动轨迹,图7中斜线阴影部分的区域即为根据滑动轨迹所确定出的多个控件区域。图8为本发明按照图6所示的选择得到的截图结果的示意图,如图8所示,图7中所有未被置以斜线阴影部分的区域的控件区域即图6中未包含轨迹线的控件区域均被置为背景色,仅保留了图6中的包含轨迹线的被选择的区域的内容。需要说明的是,图8中的显示的控件边界可以删除。
可选地,如图7所示,斜线阴影部分的区域如图片1、文字1、文本x、文字4、图片4、图片5、文字5、文本t均已被选择出作为待截图区域。在这样的情况下,如果用户需要取消选择出的任意区域,可以对相应的区域再次执行上述选择的操作如点击或滑动等方式即可。比如:再次点击图片1、图片4、文本x,这些控件区域的背景颜色被置为原始颜色,即表示这些区域当前处于未被选择出作为待截图区域,其显示结果如图9所示,图9为本发明实施例取消本选定控件区域的示意图,如图9所示,被选定的区域仍然保留斜线阴影来表示。
可选地,当用户没有选择任何控件时,将整个屏幕界面的所有内容进行保存,相当于完整屏幕的截屏。
图10为本发明实施例实现区域屏幕截图的装置的组成结构示意图,如图10所示,至少包括第一处理模块1001和第二处理模块1002;其中,
第一处理模块1001设置成:接收到屏幕截图指令,截取当前屏幕界面的完整内容并生成图片;解析当前屏幕界面的布局信息,将解析出的布局信息及图片信息输出给第二处理模块1002;
第二处理模块1002设置成:利用获得的布局信息在生成的图片上对各控件进行标识;接收到选择指令,根据按照标识选择出的控件确定截图区域,将确定出的一个或一个以上截图区域所显示的内容作为截图区域。
具体地,
第一处理模块1001设置成:接收到屏幕截图指令,截取当前屏幕界面的完整内容并生成图片数据;通过函数接口获取当前屏幕界面的布局文件,解析所述布局文件获取每个控件的坐标位置信息,将解析出的布局信息及图片信息输出给第二处理模块1002。
第二处理模块1002设置成:根据解析出的坐标位置信息分别确定每个控件在屏幕上的边界位置;沿着确定出的控件的边界位置,在所述图片上将所述解析出的各个控件的边界以预先设置的界定方式进行标记;接收到选择指令,保留所述截图区域的内容,同时保留所述截图区域的图片像素值不变;未被选定的区域的图片显示黑色或白色或其他设定的背景颜色。
第二处理模块1002还设置成:当未接收到选择指令时,将整个屏幕界面的所有内容进行保存。
第二处理模块1002还设置成:接收到对所述截图区域再次执行选择指令时,取消对该截图区域的选定。
本发明实施例装置可以设置在终端中。该终端至少包括显示屏及处理器,其中,
处理器设置成:根据屏幕截图指令截取当前屏幕界面的完整内容并生成图片;解析当前屏幕界面的布局信息,并利用获得的布局信息在所述生成的图片数据上对各控件进行标识;根据按照标识选择出的控件确定截图区域,截取确定出的一个或一个以上截图区域所显示的内容;
显示屏设置成:显示所述截图区域的内容。
本发明实施例还公开了一种计算机程序,包括程序指令,当该程序指令被计算机执行时,使得该计算机可执行上述任意的实现区域屏幕截图的方法。
本发明实施例还公开了一种载有所述计算机程序的载体。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,所述的程序可以存储于一计算机 可读取存储介质中,该程序在执行时,包括如下步骤:根据屏幕截图指令截取当前屏幕界面的完整内容并生成图片数据后缓存;解析当前屏幕界面的布局信息,并根据获得的布局信息在所述生成的图片数据上对各控件进行标识;根据按照标识选择出的控件确定截图区域,截取确定出的一个或一个以上截图区域所显示的内容。所述的存储介质,如:ROM/RAM、磁碟、光盘等。
以上所述,仅为本发明的较佳实例而已,并非用于限定本发明的保护范围。凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
工业实用性
通过本发明提供的技术方案,简单、快速并准确地实现对一个或一个以上区域屏幕的截图,从而提高了用户体验。因此本发明具有很强的工业实用性。

Claims (19)

  1. 一种实现区域屏幕截图的方法,包括:
    根据屏幕截图指令截取当前屏幕界面的完整内容并生成图片;
    解析当前屏幕界面的布局信息,并利用获得的布局信息在所述图片上对控件进行标记;
    按照标记选定需要被截图的一个或一个以上控件;
    根据所选定的控件确定截图区域,对所述截图区域所显示的内容进行截图。
  2. 根据权利要求1所述的实现区域屏幕截图的方法,其中,所述解析当前屏幕界面的布局信息的步骤包括:
    通过函数接口获取所述当前屏幕界面的布局文件;
    解析所述布局文件,获取每个控件的坐标位置信息。
  3. 根据权利要求2所述的实现区域屏幕截图的方法,其中,所述利用获得的布局信息在所述图片上对控件进行标记的步骤包括:
    根据所述坐标位置信息分别确定每个控件在屏幕上的边界位置;
    沿着确定出的边界位置,在所述图片上将所解析出的每个控件的边界以预先设置的界定方式进行标记。
  4. 根据权利要求3所述的实现区域屏幕截图的方法,其中,每个控件在屏幕上的边界位置是指根据控件的左上角的X坐标和Y坐标的值及控件右下角的X坐标和Y坐标的值确定出的矩形区域的边框。
  5. 根据权利要求3所述的实现区域屏幕截图的方法,该方法还包括:将所有已被标记边界的控件信息以控件树的形式缓存在内存中。
  6. 根据权利要求5所述的实现区域屏幕截图的方法,所述沿着确定出的边界位置,在所述图片上将所解析出的每个控件的边界以预先设置的界定方式进行标记的步骤包括:
    对于控件树中位于最外层的作为根节点的控件,不进行标记;
    对于宽和高均小于预先设置的阈值的控件,将该控件作为其父控件的一部分,即附属子控件,不进行标记。
  7. 根据权利要求6所述的实现区域屏幕截图的方法,其中,所述按照标记选定需要被截图的一个或一个以上控件的步骤包括:
    当一父控件被选定时,该父控件的附属子控件也被选定;
    在一父控件被选定时,该父控件的非附属子空间不被选定,父控件的非附属子控件是指父控件内被标记有边界的子控件。
  8. 根据权利要求1所述的实现区域屏幕截图的方法,其中,所述截取确定出的一个或一个以上截图区域所显示的内容的步骤包括:
    保留所述截图区域的内容,同时保留所述截图区域的图片像素值不变;未被选定的区域的图片显示黑色或白色或未被选定的区域的图片显示其他设定的背景颜色。
  9. 根据权利要求1~8中任一项所述的实现区域屏幕截图的方法,该方法还包括:对所述截图区域再次执行所述选定的步骤,以取消该截图区域。
  10. 一种实现区域屏幕截图的装置,包括第一处理模块和第二处理模块;其中,
    所述第一处理模块设置成:接收到屏幕截图指令,截取当前屏幕界面的完整内容并生成图片;解析当前屏幕界面的布局信息,将将解析出的布局信息及图片信息输出给所述第二处理模块;
    所述第二处理模块设置成:利用获得的布局信息在所述图片上对控件进行标记;接收到选择指令,根据标记选定需要被截图的一个或一个以上控件,根据所选定的控件确定截图区域,对所述截图区域所显示的内容进行截图。
  11. 根据权利要求10所述的实现区域屏幕截图的装置,其中,所述第一处理模块设置成按照如下方式解析当前屏幕界面的布局信息:通过函数接口获取当前屏幕界面的布局文件,解析所述布局文件,获取每个控件的坐标位置信息。
  12. 根据权利要求10所述的实现区域屏幕截图的装置,其中,所述第二处理模块设置成按照如下方式利用获得的布局信息在所述图片上对控件进行 标记:根据所述坐标位置信息分别确定每个控件在屏幕上的边界位置;沿着确定出的边界位置,在所述图片上将所解析出的每个控件的边界以预先设置的界定方式进行标记。
  13. 根据权利要求12所述的实现区域屏幕截图的装置,其中,每个控件在屏幕上的边界位置是指根据控件的左上角的X坐标和Y坐标的值及控件右下角的X坐标和Y坐标的值确定出的矩形区域的边框。
  14. 根据权利要求12所述的实现区域屏幕截图的装置,所述第二处理模块还设置成:将所有已被标记边界的控件信息以控件树的形式缓存在内存中。
  15. 根据权利要求14所述的实现区域屏幕截图的装置,所述第二处理模块设置成按照如下方式沿着确定出的边界位置,在所述图片上将所解析出的每个控件的边界以预先设置的界定方式进行标记:
    对于控件树中位于最外层的作为根节点的控件,不进行标记;
    对于宽和高均小于预先设置的阈值的控件,将该控件作为其父控件的一部分,即附属子控件,不进行标记。
  16. 根据权利要求15所述的实现区域屏幕截图的装置,其中,所述第二处理模块设置成按照如下方式按照标记选定需要被截图的一个或一个以上控件:
    当一父控件被选定时,该父控件的附属子控件也被选定;
    在一父控件被选定时,该父控件的非附属子空间不被选定,父控件的非附属子控件是指父控件内被标记有边界的子控件。
  17. 根据权利要求10所述的实现区域屏幕截图的装置,其中,所述第二处理模块设置成按照如下方式截取确定出的一个或一个以上截图区域所显示的内容:
    接收到所述选择指令,保留所述截图区域的内容,同时保留所述截图区域的图片像素值不变;未被选定的区域的图片显示黑色或白色或其他设定的背景颜色。
  18. 根据权利要求10~17中任一项所述的实现区域屏幕截图的装置,其中,所述第二处理模块还设置成:
    接收到对所述截图区域再次执行选择指令时,取消对该截图区域的选定。
  19. 一种终端,包括显示屏及处理器,其中,
    所述处理器设置成:根据屏幕截图指令截取当前屏幕界面的完整内容并生成图片;解析当前屏幕界面的布局信息,并利用获得的布局信息在所述图片上对控件进行标记;根据标记选定需要被截图的一个或一个以上控件,根据所选定的控件确定截图区域,对所述截图区域所显示的内容进行截图;
    所述显示屏设置成:显示所截取的内容。
PCT/CN2015/081172 2015-01-15 2015-06-10 一种实现区域屏幕截图的方法、装置和终端 WO2016112619A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP15877536.1A EP3220249B1 (en) 2015-01-15 2015-06-10 Method, device and terminal for implementing regional screen capture
US15/544,111 US20170371844A1 (en) 2015-01-15 2015-06-10 Method, device and terminal for implementing regional screen capture

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510020623.X 2015-01-15
CN201510020623.XA CN105843494B (zh) 2015-01-15 2015-01-15 一种实现区域屏幕截图的方法、装置和终端

Publications (1)

Publication Number Publication Date
WO2016112619A1 true WO2016112619A1 (zh) 2016-07-21

Family

ID=56405169

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/081172 WO2016112619A1 (zh) 2015-01-15 2015-06-10 一种实现区域屏幕截图的方法、装置和终端

Country Status (4)

Country Link
US (1) US20170371844A1 (zh)
EP (1) EP3220249B1 (zh)
CN (1) CN105843494B (zh)
WO (1) WO2016112619A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109901597A (zh) * 2017-12-08 2019-06-18 中国科学院沈阳自动化研究所 一种适用于水下机器人的设备自动控制器及控制方法
EP3537277A4 (en) * 2016-11-04 2020-08-05 Huizhou TCL Mobile Communication Co., Ltd. SCREEN CAPTURE METHOD AND SYSTEM FOR ELECTRONIC DEVICE AND ELECTRONIC DEVICE
CN112115690A (zh) * 2019-06-20 2020-12-22 珠海金山办公软件有限公司 一种移动端表格中选区的方法、系统、存储介质和终端

Families Citing this family (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102439786B1 (ko) * 2015-07-16 2022-09-02 삼성전자주식회사 컨텐츠 정보를 공유하기 위한 방법 및 그 전자 장치
CN106569686B (zh) * 2016-10-12 2020-11-03 上海斐讯数据通信技术有限公司 滚动球控制截屏的方法及相关的智能设备
CN109426495A (zh) * 2017-08-24 2019-03-05 阿里巴巴集团控股有限公司 一种视图组件的布局方法及设备
CN108920226B (zh) * 2018-05-04 2022-04-29 维沃移动通信有限公司 屏幕录制方法及装置
CN109032323A (zh) * 2018-06-20 2018-12-18 华勤通讯技术有限公司 界面显示方法及电子设备
CN110673886B (zh) * 2018-07-03 2023-10-03 百度在线网络技术(北京)有限公司 用于生成热力图的方法和装置
CN109857673B (zh) * 2019-02-25 2022-02-15 北京云测信息技术有限公司 控件识别方法和装置
CN110109593B (zh) 2019-04-29 2021-04-02 维沃移动通信有限公司 一种截屏方法及终端设备
CN110231905B (zh) * 2019-05-07 2021-02-09 华为技术有限公司 一种截屏方法及电子设备
CN110287091A (zh) * 2019-05-10 2019-09-27 国家计算机网络与信息安全管理中心 一种应用软件安装过程中的检测方法及装置
CN110456956A (zh) * 2019-08-05 2019-11-15 腾讯科技(深圳)有限公司 截图方法、装置、计算机设备和存储介质
CN110532056B (zh) * 2019-09-05 2024-04-26 腾讯科技(深圳)有限公司 一种应用于用户界面中的控件识别方法及装置
US11188359B2 (en) 2019-09-20 2021-11-30 Samsung Electronics Co., Ltd. Electronic device and screen capturing method thereof
CN110727495B (zh) * 2019-10-18 2022-12-23 深圳市比量科技传媒有限公司 一种界面元素的自动分段截图方法及系统
CN111130995B (zh) * 2019-12-16 2021-08-10 维沃移动通信有限公司 图像控制方法、电子设备及存储介质
CN111538454A (zh) * 2020-04-20 2020-08-14 广东以诺通讯有限公司 一种智能终端局部截屏方法、装置及终端
CN111552422A (zh) * 2020-04-20 2020-08-18 广东以诺通讯有限公司 一种智能终端截屏局部模糊方法、装置及终端
CN111641750B (zh) * 2020-05-19 2022-05-24 Oppo广东移动通信有限公司 截屏方法、终端及非易失性计算机可读存储介质
CN112000413B (zh) * 2020-08-22 2023-12-19 深圳市亿道信息股份有限公司 一种能够保护信息的截图方法、系统及智能终端
US11212449B1 (en) * 2020-09-25 2021-12-28 Apple Inc. User interfaces for media capture and management
CN112181255B (zh) * 2020-10-12 2024-08-02 深圳市欢太科技有限公司 控件的识别方法、装置、终端设备和存储介质
CN115048009A (zh) * 2021-02-26 2022-09-13 京东方科技集团股份有限公司 对话界面截取方法及装置、计算机设备及存储介质
CN113010826A (zh) * 2021-03-11 2021-06-22 北京明略软件系统有限公司 基于css3的用户活跃度分析方法及系统
CN113296661B (zh) * 2021-03-18 2023-10-27 维沃移动通信有限公司 图像处理方法、装置、电子设备及可读存储介质
CN114025210B (zh) * 2021-11-01 2023-02-28 深圳小湃科技有限公司 弹窗屏蔽方法、设备、存储介质及装置
CN115375645B (zh) * 2022-08-17 2024-08-16 武汉海微科技股份有限公司 车载显示屏显示异常的测试方法、装置、设备及存储介质
TWI810101B (zh) * 2022-10-27 2023-07-21 南亞塑膠工業股份有限公司 碟鏈系統
US12045441B1 (en) * 2023-02-28 2024-07-23 Motorola Mobility Llc Automated screen shot capture of primary content

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102177515A (zh) * 2008-06-19 2011-09-07 Opera软件股份公司 用于代码转换和显示电子文档的方法、系统和设备
US20110221766A1 (en) * 2010-03-09 2011-09-15 Designmade Co., Ltd. Method for printing a captured screen of web pages
CN103092524A (zh) * 2013-01-31 2013-05-08 广东欧珀移动通信有限公司 一种通过触摸屏实现截图的方法及移动终端
CN103092520A (zh) * 2013-01-25 2013-05-08 广东欧珀移动通信有限公司 一种屏幕图像截取方法、装置及触摸屏移动设备
CN103257879A (zh) * 2013-05-24 2013-08-21 安徽易众网络科技有限公司 利用屏幕截图安装软件和配置软件的方法

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8977971B2 (en) * 2010-12-24 2015-03-10 General Electric Company Metadata generation systems and methods
CN102736727A (zh) * 2011-04-12 2012-10-17 德信互动科技(北京)有限公司 视觉辅助系统
CN103593171A (zh) * 2012-08-15 2014-02-19 阿里巴巴集团控股有限公司 多区域截图的方法和设备
CN103037102B (zh) * 2012-12-21 2015-01-07 广东欧珀移动通信有限公司 一种触屏手机的自由截屏方法及手机

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102177515A (zh) * 2008-06-19 2011-09-07 Opera软件股份公司 用于代码转换和显示电子文档的方法、系统和设备
US20110221766A1 (en) * 2010-03-09 2011-09-15 Designmade Co., Ltd. Method for printing a captured screen of web pages
CN103092520A (zh) * 2013-01-25 2013-05-08 广东欧珀移动通信有限公司 一种屏幕图像截取方法、装置及触摸屏移动设备
CN103092524A (zh) * 2013-01-31 2013-05-08 广东欧珀移动通信有限公司 一种通过触摸屏实现截图的方法及移动终端
CN103257879A (zh) * 2013-05-24 2013-08-21 安徽易众网络科技有限公司 利用屏幕截图安装软件和配置软件的方法

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3220249A4 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3537277A4 (en) * 2016-11-04 2020-08-05 Huizhou TCL Mobile Communication Co., Ltd. SCREEN CAPTURE METHOD AND SYSTEM FOR ELECTRONIC DEVICE AND ELECTRONIC DEVICE
CN109901597A (zh) * 2017-12-08 2019-06-18 中国科学院沈阳自动化研究所 一种适用于水下机器人的设备自动控制器及控制方法
CN109901597B (zh) * 2017-12-08 2021-05-25 中国科学院沈阳自动化研究所 一种适用于水下机器人的设备自动控制器及控制方法
CN112115690A (zh) * 2019-06-20 2020-12-22 珠海金山办公软件有限公司 一种移动端表格中选区的方法、系统、存储介质和终端
CN112115690B (zh) * 2019-06-20 2024-06-11 珠海金山办公软件有限公司 一种移动端表格中选区的方法、系统、存储介质和终端

Also Published As

Publication number Publication date
EP3220249A4 (en) 2017-12-27
US20170371844A1 (en) 2017-12-28
EP3220249A1 (en) 2017-09-20
CN105843494A (zh) 2016-08-10
EP3220249B1 (en) 2019-05-08
CN105843494B (zh) 2020-06-09

Similar Documents

Publication Publication Date Title
WO2016112619A1 (zh) 一种实现区域屏幕截图的方法、装置和终端
CN103500066B (zh) 一种适用于触屏设备的截图装置和方法
CN110297681B (zh) 图像处理方法、装置、终端及存储介质
US20230084269A1 (en) Screenshot method, terminal, and non-transitory computer-readable storage medium
WO2023071861A1 (zh) 数据可视化展示方法、装置、计算机设备和存储介质
KR20230156127A (ko) 스크린 캡처 방법, 장치, 전자 장치 및 판독 가능한 저장 매체
CN103955469B (zh) 一种浏览器中进行页面缩放的方法和装置
CN112308859A (zh) 生成缩略图的方法、装置、相机以及存储介质
CN112698775A (zh) 图像显示方法、装置和电子设备
CN113379865A (zh) 目标对象的绘制方法和系统
CN111833234A (zh) 图像显示方法、图像处理装置和计算机可读存储介质
CN112000328B (zh) 一种页面可视化编辑方法、装置及设备
WO2019218622A1 (zh) 元素控制方法、装置、设备及存储介质
CN112667343B (zh) 一种界面调整方法、装置、设备及存储介质
CN109104628B (zh) 安卓电视的焦点前景生成方法、存储介质、设备及系统
CN107193815A (zh) 一种页面代码的处理方法、装置及设备
CN109165626A (zh) 电子白板的书写笔画处理方法、装置、设备和存储介质
CN110737417B (zh) 一种演示设备及其标注线的显示控制方法和装置
CN107608733A (zh) 图片显示方法、装置和终端设备
CN109815977B (zh) 大批量制作机器学习样本剪裁标记一体化方法
CN108614657B (zh) 图像合成方法、装置、设备及其图像载体
US20160054885A1 (en) Method, Device and Computer Storage Medium for Multichannel Touch Control of All-in-One Machine
CN115562539A (zh) 控件显示方法及装置、电子设备和可读存储介质
CN110427153B (zh) 书写内容显示方法、装置、设备及介质
CN112269520B (zh) 元素显示控制方法、装置、交互平板及存储介质

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

Country of ref document: EP

Kind code of ref document: A1

REEP Request for entry into the european phase

Ref document number: 2015877536

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 15544111

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE