WO2024087618A1 - 一种截屏方法、截屏装置、截屏设备及计算机存储介质 - Google Patents

一种截屏方法、截屏装置、截屏设备及计算机存储介质 Download PDF

Info

Publication number
WO2024087618A1
WO2024087618A1 PCT/CN2023/096889 CN2023096889W WO2024087618A1 WO 2024087618 A1 WO2024087618 A1 WO 2024087618A1 CN 2023096889 W CN2023096889 W CN 2023096889W WO 2024087618 A1 WO2024087618 A1 WO 2024087618A1
Authority
WO
WIPO (PCT)
Prior art keywords
screenshot
display
level
levels
instruction
Prior art date
Application number
PCT/CN2023/096889
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 WO2024087618A1 publication Critical patent/WO2024087618A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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/04845Interaction 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 for image manipulation, e.g. dragging, rotation, expansion or change of colour

Definitions

  • the present application relates to the field of computer technology, and in particular to a screenshot method, a screenshot device, a screenshot equipment and a computer storage medium.
  • the existing screenshot technology usually captures the entire content of the interface currently displayed on the device terminal when receiving a screenshot command, but is unable to capture the screen of a specific range of windows, resulting in the failure to capture the required window screen, poor screenshot flexibility, and inability to capture the display screen of multiple windows at one time, resulting in low screenshot efficiency.
  • One of the purposes of the embodiments of the present application is to provide a screenshot method, a screenshot apparatus, a screenshot device and a computer storage medium, which can solve the problems of poor screenshot flexibility and low screenshot efficiency in existing screenshot technologies.
  • a screenshot method comprising:
  • the type of the screenshot instruction is a layered screenshot instruction, determining a screenshot area corresponding to the layered screenshot instruction;
  • a corresponding display screen is captured.
  • the present application is based on determining the corresponding instruction type and screenshot area when a screenshot instruction is received, identifying the screenshot hierarchy contained in the screenshot area, and thus capturing the corresponding display screen, thereby realizing flexible capture of the display screen of one or more specific windows required by the user, and improving the flexibility and efficiency of screenshots.
  • a screenshot device comprising: a first determination module, a second determination module, an identification module, and a first processing module;
  • the first determining module is used to determine the type of the screenshot instruction when receiving the screenshot instruction
  • the second determining module is used to determine the screenshot area corresponding to the layered screenshot instruction when detecting that the type of the screenshot instruction is a layered screenshot instruction;
  • the identification module is used to identify the screenshot level contained in the screenshot area
  • the first processing module is used to capture the corresponding display screen according to the screenshot level.
  • a screenshot device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the screenshot method as described in the first aspect when executing the computer program.
  • an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the screenshot method as described in the first aspect is implemented.
  • an embodiment of the present application provides a computer program product, which, when executed on a terminal device, enables the terminal device to execute the screenshot method described in any one of the above-mentioned first aspects.
  • FIG1 is a schematic diagram of a process flow of a screenshot method provided in the first embodiment of the present application.
  • FIG2 is a flow chart of step S104 of a screenshot method provided in the first embodiment of the present application.
  • FIG3 is a flow chart of step S1042 of a screenshot method provided in the first embodiment of the present application.
  • FIG4 is a flow chart of step S1043 of a screenshot method provided in the first embodiment of the present application.
  • FIG5 is a schematic structural diagram of a screen capture device provided in a second embodiment of the present application.
  • FIG6 is a schematic diagram of the structure of a screenshot device provided in the third embodiment of the present application.
  • the term “if” can be interpreted as “when” or “uponce” or “in response to determining” or “in response to detecting”, depending on the context.
  • the phrase “if it is determined” or “if [described condition or event] is detected” can be interpreted as meaning “uponce it is determined” or “in response to determining” or “uponce [described condition or event] is detected” or “in response to detecting [described condition or event]", depending on the context.
  • references to "one embodiment” or “some embodiments” etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements “in one embodiment”, “in some embodiments”, “in some other embodiments”, “in some other embodiments”, etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean “one or more but not all embodiments", unless otherwise specifically emphasized in other ways.
  • the terms “including”, “comprising”, “having” and their variations all mean “including but not limited to”, unless otherwise specifically emphasized in other ways.
  • the screenshot method provided in the embodiments of the present application can be applied to terminal devices such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR)/virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPC), netbooks, personal digital assistants (PDA), etc.
  • terminal devices such as mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR)/virtual reality (VR) devices, laptop computers, ultra-mobile personal computers (UMPC), netbooks, personal digital assistants (PDA), etc.
  • the embodiments of the present application do not impose any restrictions on the specific types of terminal devices.
  • Figure 1 is a flowchart of a screenshot method provided in the first embodiment of the present application.
  • the execution subject of a screenshot method is a device with a screenshot function, such as a mobile phone, a tablet computer, a television, a laptop computer, a wearable device, a vehicle-mounted device, etc.
  • the screenshot method shown in Figure 1 may include:
  • the device terminal when the device terminal receives the screenshot instruction, it determines the type of the screenshot instruction, which includes but is not limited to a full-screen screenshot instruction and a layered screenshot instruction. Specifically, the screenshot instruction is sent to the device by other devices, or the user triggers the device to generate the screenshot instruction at the user end, which is not limited here.
  • the user can trigger the device to generate a screenshot instruction by operating at the user end in the following ways: make a preset screenshot gesture on the device screen, click the screenshot icon on the device screen, or trigger a screenshot event based on the physical screenshot button on the device and enter the screenshot mode selection interface, and can select the full-screen screenshot mode or the layered screenshot mode to trigger the corresponding screenshot instruction; for example: when the user's three fingers long press the device screen, the full-screen screenshot instruction is triggered, and when the user's three fingers slide down on the device screen, the layered screenshot instruction is triggered; for example: the device is equipped with a camera and can perform gesture recognition.
  • the full-screen screenshot instruction is triggered
  • the user's right hand makes a grasping action
  • the layered screenshot instruction is triggered.
  • only the specific way in which the user operates at the user end to trigger the device to generate a screenshot instruction is given as an example, which does not mean that this is the only way to trigger the device to generate a screenshot instruction at the user end.
  • the method further includes:
  • a full-screen display picture is captured based on the full-screen screenshot instruction.
  • the types of screenshot instructions include full-screen screenshot instructions and layered screenshot instructions.
  • the type of screenshot instruction is a full-screen screenshot instruction
  • the full-screen display screen is captured based on the full-screen screenshot instruction, a corresponding image is generated and displayed, and finally the user chooses whether to save it locally or directly share it to other devices via the Internet.
  • the device terminal when the device terminal receives the layered screenshot instruction, it determines the screenshot area corresponding to the layered screenshot instruction.
  • the screenshot area corresponding to the layered screenshot instruction is the area to be screenshot determined based on user needs.
  • the screenshot information carried by the layered screenshot instruction is identified and determined, and the corresponding screenshot area is determined based on the screenshot information.
  • the screenshot information includes the screenshot area and the display level corresponding to each screenshot level, that is, the device determines the window that needs to be screenshotted based on the screenshot information carried by the layered screenshot instruction - the screenshot area and the display level corresponding to each screenshot level.
  • the screenshot level is the level of the display window in the screenshot area.
  • window is the manager of view and also the carrier of view. It is an abstract concept and does not exist in itself, while view is the manifestation of window.
  • the level of the display window of the desktop is higher than the display window of the file transfer software.
  • the corresponding screenshot area includes 2 screenshot levels, and the corresponding captured display screen includes the display screen of the display window of the desktop and the display window of the file transfer software.
  • S104 According to the screenshot level, capture the corresponding display screen.
  • the terminal device captures the display screen corresponding to the screenshot area according to the screenshot area determined by the screenshot instruction, thereby flexibly capturing the display screen of one or more specific windows required by the user.
  • FIG 2 is a flowchart of step S104 of a screenshot method provided in this embodiment.
  • the screenshot method step S104 shown in Figure 2 includes:
  • the number of screenshot levels can be input by the user, it is only necessary to detect the number of screenshot levels contained in the screenshot area and the number of screenshot levels input by the user accordingly.
  • S1042 When it is detected that the number of the screenshot levels is one, capture a corresponding display screen based on the display content of the screenshot levels.
  • the terminal device detects that the number of the screenshot level is one, it only needs to capture the display screen corresponding to the display content of the screenshot level.
  • a display screen corresponding to each screenshot level is captured.
  • FIG 3 is a flowchart of step S1042 of a screenshot method provided in the first embodiment of the present application.
  • the screenshot method step S1042 shown in Figure 3 includes:
  • S10421 When it is detected that the number of the screenshot levels is one, identify and determine the number of display levels in the screenshot level.
  • S10422 When it is detected that the display level is one, intercept a display picture corresponding to the display level.
  • S10423 Alternatively, when it is detected that there are at least two display levels, a display screen corresponding to each display level is captured respectively.
  • the device terminal detects that the number of screenshot levels is one, it is necessary to determine the number of display levels in the screenshot level.
  • the display screen corresponding to the display level can be directly captured; when it is detected that there are at least two display levels, the display screens corresponding to each display level are captured respectively.
  • FIG 4 is a flowchart of step S1043 of a screenshot method provided in the first embodiment of the present application.
  • the screenshot method step S1043 shown in Figure 4 includes:
  • S10431 When it is detected that the number of the screenshot levels is at least two, respectively identify and determine the number of display levels in each of the screenshot levels.
  • S10432 When it is detected that the display level is one, intercept a display screen corresponding to the display level.
  • S10433 Alternatively, when it is detected that there are at least two display levels, a display screen corresponding to each display level is captured respectively.
  • the device terminal detects that there are at least two screenshot levels, it is necessary to identify and determine the number of display levels in each screenshot level respectively.
  • the display screen of the display level corresponding to each screenshot level is captured respectively; when it is detected that there are at least two display levels, the display screens of multiple display levels corresponding to each screenshot level are captured respectively.
  • the Z axis determines the display order of multiple windows on the screen. Since a screenshot hierarchy can include multiple display levels, and the display level represents the position of the display window on the Z axis. Therefore, when the number of display levels needs to be detected, the device only needs to detect the number of values on the window Z axis to determine the number of display levels.
  • the following steps may be performed:
  • the display pictures corresponding to the screenshot levels are sorted and displayed in the order of the first priority.
  • the first priority can be set by the user; for example, the user pre-sets the first priority corresponding to the high and low settings based on the screenshot level; for example, the device desktop includes several applications (Application, APP), and a single APP includes several functions.
  • the first priority of the desktop display window can be set higher than the first priority of the APP, and the first priority of the APP can be set higher than the first priority of the function in the APP.
  • the display screens corresponding to the screenshot levels are sorted and displayed according to the order of the first priority.
  • the method further includes:
  • the display pictures corresponding to the display levels are sorted and displayed in the order of the second priority.
  • the device terminal detects that there are at least two display levels, the display screens corresponding to each display level are intercepted respectively, and at least two display screens corresponding to the display levels are intercepted accordingly.
  • the device terminal identifies and determines the second priority of each display level; and the display screens corresponding to the display levels are sorted and displayed in the order of the second priority.
  • the priority of the display level can be pre-set by the user, or the priority can be set according to the order of the actual opening time of each display window.
  • the priority of the first opening can be higher or the priority of the later opening can be higher.
  • the display screens corresponding to the display levels with high priority will cover the display screens corresponding to the display levels with low priority. For example, if the display level of the calendar is lower than that of the calculator, the display content of the calculator in the overlapping part of the two will be covered by the display content of the calendar.
  • the display screen corresponding to the display level with high priority is a full-screen view
  • the display screen corresponding to the display level with low priority will be completely covered.
  • the display content of the calculator window will completely cover the display window of the calendar, and only the calculator window will be displayed in the corresponding screenshot picture.
  • This embodiment is based on determining the corresponding instruction type and screenshot area when a screenshot instruction is received, identifying the screenshot hierarchy contained in the screenshot area, and thus capturing the corresponding display screen, thereby achieving flexible capture of the display screen of one or more specific windows required by the user, and improving the flexibility and efficiency of screenshots.
  • Figure 5 is a schematic diagram of a screen capture device provided in the second embodiment of the present application, and the modules included are used to execute the steps in the embodiment corresponding to Figure 1. Please refer to the relevant description in the embodiment corresponding to Figure 1 for details. For ease of explanation, only the parts related to this embodiment are shown.
  • the screen capture device 5 includes:
  • a first determining module 510 is used to determine the type of the screenshot instruction when receiving the screenshot instruction
  • a second determining module 520 is used to determine a screenshot area corresponding to the layered screenshot instruction when detecting that the type of the screenshot instruction is a layered screenshot instruction;
  • An identification module 530 configured to identify the screenshot level contained in the screenshot area
  • the first processing module 540 is configured to capture a corresponding display screen according to the screenshot level.
  • the first processing module 540 includes:
  • a screenshot level determination unit used to determine the number of the screenshot levels
  • a first screenshot unit configured to capture a corresponding display screen based on display content of the screenshot level when detecting that the number of the screenshot level is one;
  • the second screenshot unit is used to respectively capture the display screen corresponding to each of the screenshot levels when it is detected that the number of the screenshot levels is at least two.
  • the first screenshot unit includes:
  • a first display level determination subunit configured to identify and determine the number of display levels in the screenshot level when detecting that the number of the screenshot level is one;
  • a first screenshot subunit configured to capture a display screen corresponding to the display level when detecting that the display level is one
  • the second screenshot subunit is used to respectively capture the display screen corresponding to each display level when it is detected that there are at least two display levels.
  • the second screenshot unit includes:
  • a second display level determination subunit is used to identify and determine the number of display levels in each of the screenshot levels when it is detected that the number of the screenshot levels is at least two;
  • a third screenshot subunit is used to capture a display screen corresponding to the display level when detecting that the display level is one;
  • the fourth screenshot subunit is used to respectively capture the display screen corresponding to each display level when it is detected that there are at least two display levels.
  • the screenshot device 5 further includes: a third determination module and a second processing module;
  • the third determining module is used to determine the first priority of each screenshot level when it is detected that the number of the screenshot levels is greater than one;
  • the second processing module is used to sort and display the display pictures corresponding to the screenshot levels in the order of the first priority.
  • the first processing module 540 further includes:
  • a priority determination unit configured to identify and determine a second priority level for each display level
  • the screenshot display unit is used to sort and display the display pictures corresponding to the display level in the order of the second priority.
  • the second determining module 520 further includes:
  • the third screenshot unit is used to capture the full-screen display picture based on the full-screen screenshot instruction when it is detected that the type of the screenshot instruction is a full-screen screenshot instruction.
  • the second determining module 520 is specifically configured to:
  • the type of the screenshot instruction is a layered screenshot instruction
  • a corresponding screenshot area is determined based on the screenshot information.
  • This embodiment is based on determining the corresponding instruction type and screenshot area when a screenshot instruction is received, identifying the screenshot hierarchy contained in the screenshot area, and thus capturing the corresponding display screen, thereby achieving flexible capture of the display screen of one or more specific windows required by the user, and improving the flexibility and efficiency of screenshots.
  • FIG. 6 is a structural diagram of a screenshot device provided in the third embodiment of the present application.
  • the screenshot device 6 of this embodiment includes: a processor 60, a memory 61, and a computer program 62 stored in the memory 61 and executable on the processor 60, such as a target program.
  • the processor 60 executes the computer program 62
  • the steps in the above-mentioned screenshot method embodiments are implemented, such as steps S101 to S104 shown in Figure 1.
  • the processor 60 executes the computer program 62
  • the functions of each module/unit in the above-mentioned device embodiments are implemented, such as the functions of modules 510 to 540 shown in Figure 5.
  • the computer program 62 may be divided into one or more modules/units, which are stored in the memory 61 and executed by the processor 60 to complete the present application.
  • the one or more modules/units may be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program 62 in the screenshot device 6.
  • the computer program 62 may be divided into a first determination module, a second determination module, an identification module, and a first processing module, and the specific functions of each module are as follows:
  • a first determining module configured to determine the type of the screenshot instruction upon receiving the screenshot instruction
  • a second determining module is used to determine a screenshot area corresponding to the layered screenshot instruction when detecting that the type of the screenshot instruction is a layered screenshot instruction;
  • An identification module used to identify the screenshot level contained in the screenshot area
  • the first processing module is used to capture the corresponding display screen according to the screenshot level.
  • the screenshot device may include, but is not limited to, a processor 60 and a memory 61.
  • FIG6 is merely an example of the screenshot device 6 and does not constitute a limitation on the screenshot device 6.
  • the screenshot device 6 may include more or fewer components than shown in the figure, or may combine certain components, or different components.
  • the screenshot device may also include an input/output device, a network access device, a bus, etc.
  • the processor 60 may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • CPU central processing unit
  • DSP digital signal processors
  • ASIC application-specific integrated circuits
  • FPGA field-programmable gate arrays
  • a general-purpose processor may be a microprocessor or any conventional processor, etc.
  • the memory 61 may be an internal storage unit of the screen capture device 6, such as a hard disk or memory of the screen capture device 6.
  • the memory 61 may also be an external storage device of the screen capture device 6, such as a plug-in hard disk, a smart media card (SMC), a secure digital card (SD), a flash card, etc. equipped on the screen capture device 6.
  • the screen capture device 6 may also include both an internal storage unit and an external storage device of the screen capture device 6.
  • the memory 61 is used to store the computer program and other programs and data required by the target device.
  • the memory 61 may also be used to temporarily store data that has been output or is to be output.
  • An embodiment of the present application also provides a screenshot device, which includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, wherein the processor implements the steps in any of the above-mentioned method embodiments when executing the computer program.
  • An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
  • An embodiment of the present application provides a computer program product.
  • the computer program product runs on a mobile terminal
  • the mobile terminal can implement the steps in the above-mentioned method embodiments when executing the computer program product.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program.
  • the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor.
  • the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form.
  • the computer-readable medium can at least include: any entity or device that can carry the computer program code to the camera/terminal device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium.
  • ROM read-only memory
  • RAM random access memory
  • electric carrier signal telecommunication signal and software distribution medium.
  • USB flash drive mobile hard disk, disk or optical disk.
  • computer-readable media cannot be electric carrier signals and telecommunication signals.
  • the disclosed devices/network equipment and methods can be implemented in other ways.
  • the device/network equipment embodiments described above are merely schematic.
  • the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
  • Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

Landscapes

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

Abstract

本申请适用于计算机技术领域,提供了一种截屏方法、截屏装置、截屏设备及计算机存储介质。所述方法包括:在接收到截屏指令时,确定所述截屏指令的类型;在检测到所述截屏指令的类型为分层截屏指令时,确定与所述分层截屏指令对应的截屏区域;识别所述截屏区域内包含的截图层级;根据所述截图层级,截取对应的显示画面。本申请基于当接收到截屏指令,确定对应的指令类型及截屏区域,识别截屏区域内包含的截图层级,从而截取对应的显示画面,实现了灵活地截取用户需要的一个或多个特定窗口的显示画面,提高了截屏的灵活性及效率。

Description

一种截屏方法、截屏装置、截屏设备及计算机存储介质
本申请要求于2022年10月26日在中国专利局提交的、申请号为202211318268.0、发明名称为“一种截屏方法、截屏装置、截屏设备及计算机存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机技术领域,具体涉及一种截屏方法、截屏装置、截屏设备及计算机存储介质。
背景技术
随着计算机技术的发展,在使用设备终端的过程中,用户往往会产生截屏的需求,也就是保存屏幕上显示的内容,或者将显示的内容直接发送给其他用户。
然而,现有的截屏技术通常是在收到截屏指令的情况下,截取设备终端当前所显示界面的全部内容,而无法截取特定范围窗口的画面,导致常常不能截取到需要的窗口画面,截屏灵活性差,且无法一次性截取多个窗口的显示画面,截屏效率低下。
技术问题
本申请实施例的目的之一在于:提供一种截屏方法、截屏装置、截屏设备及计算机存储介质,可以解决现有截屏技术存在的截屏灵活性差,且截屏效率低下的问题。
技术解决方案
本申请实施例采用的技术方案是:
第一方面,提供了一种截屏方法,包括:
在接收到截屏指令时,确定所述截屏指令的类型;
在检测到所述截屏指令的类型为分层截屏指令时,确定与所述分层截屏指令对应的截屏区域;
识别所述截屏区域内包含的截图层级;
根据所述截图层级,截取对应的显示画面。
本申请基于当接收到截屏指令,确定对应的指令类型及截屏区域,识别截屏区域内包含的截图层级,从而截取对应的显示画面,实现了灵活地截取用户需要的一个或多个特定窗口的显示画面,提高了截屏的灵活性及效率。
第二方面,提供了一种截屏装置,包括:第一确定模块、第二确定模块、识别模块、第一处理模块;
所述第一确定模块,用于在接收到截屏指令时,确定所述截屏指令的类型;
所述第二确定模块,用于在检测到所述截屏指令的类型为分层截屏指令时,确定与所述分层截屏指令对应的截屏区域;
所述识别模块,用于识别所述截屏区域内包含的截图层级;
所述第一处理模块,用于根据所述截图层级,截取对应的显示画面。
第三方面,提供一种截屏设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如第一方面所述的截屏方法。
第四方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如第一方面所述的截屏方法。
第五方面,本申请实施例提供了一种计算机程序产品,当计算机程序产品在终端设备上运行时,使得终端设备执行上述第一方面中任一项所述的截屏方法。
可以理解的是,上述第二方面至第五方面的有益效果可以参见上述第一方面中的相关描述,在此不再赘述。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或示范性技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1是本申请第一实施例提供的一种截屏方法的流程示意图;
图2是本申请第一实施例提供的一种截屏方法步骤S104的流程示意图;
图3是本申请第一实施例提供的一种截屏方法步骤S1042的流程示意图;
图4是本申请第一实施例提供的一种截屏方法步骤S1043的流程示意图;
图5是本申请第二实施例提供的一种截屏装置的结构示意图;
图6是本申请第三实施例提供的一种截屏设备的结构示意图。
本发明的实施方式
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。
应当理解,当在本申请说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。
还应当理解,在本申请说明书和所附权利要求书中使用的术语“和/或”是指相关联列出的项中的一个或多个的任何组合以及所有可能组合,并且包括这些组合。
如在本申请说明书和所附权利要求书中所使用的那样,术语“如果”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。类似地,短语“如果确定”或“如果检测到[所描述条件或事件]”可以依据上下文被解释为意指“一旦确定”或“响应于确定”或“一旦检测到[所描述条件或事件]”或“响应于检测到[所描述条件或事件]”。
另外,在本申请说明书和所附权利要求书的描述中,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。
在本申请说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。
本申请实施例提供的截屏方法可以应用于手机、平板电脑、可穿戴设备、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等终端设备上,本申请实施例对终端设备的具体类型不作任何限制。
下面结合附图和具体实施例对本申请做进一步的详细说明。
请参见图1,图1是本申请第一实施例提供的一种截屏方法的流程示意图。本实施例中一种截屏方法的执行主体为具有截屏功能的设备,例如,手机、平板电脑、电视机、笔记本电脑、可穿戴设备、车载设备等等。如图1所示的截屏方法可以包括:
S101:在接收到截屏指令时,确定所述截屏指令的类型。
具体地,设备终端接收到截屏指令时,确定所述截屏指令的类型,截屏指令的类型包括但不限于全屏截屏指令和分层截屏指令。其中,具体由其他设备将截屏指令发送至本设备中,也可以是用户在用户端操作触发设备生成截屏指令,此处不做限制。
一种实施方式中,用户在用户端操作触发设备生成截屏指令可以采用以下方式:在设备屏幕上做出预设的截屏手势、点击设备屏幕上的截屏图标或者基于设备上的截屏实体按键触发截屏事件并进入截屏模式选择界面,可以选择全屏截屏模式或者分层截屏模式,从而触发对应的截屏指令;例如:当用户的三指长按设备屏幕时,触发全屏截屏指令,当用户的三指在设备屏幕向下滑动时,触发分层截屏指令;例如:设备安装有摄像头,可以进行手势识别,当用户左手做抓握动作时,触发全屏截屏指令,当用户右手做抓握动作时,触发分层截屏指令。此处仅对用户在用户端操作触发设备生成截屏指令的具体方式进行举例,并不代表这是仅有的在用户端触发设备生成截屏指令的方式。
在一个实施例中,所述在接收到截屏指令时,确定所述截屏指令的类型之后,还包括:
在检测到所述截屏指令的类型为全屏截屏指令时,基于所述全屏截屏指令截取全屏显示画面。
具体地,截屏指令的类型包括全屏截屏指令和分层截屏指令。在检测到截屏指令的类型为全屏截屏指令时,基于全屏截屏指令截取全屏显示画面,生成对应的图片,并进行展示,最后由用户选择是否保存至本地或者直接将其通过互联网分享至其他设备。
S102:在检测到所述截屏指令的类型为分层截屏指令时,确定与所述分层截屏指令对应的截屏区域。
具体地,设备终端接收到分层截屏指令时,确定与所述分层截屏指令对应的截屏区域。分层截屏指令对应的截屏区域为基于用户需求确定待截屏的区域。
一种实施方式中,在检测到截屏指令的类型为分层截屏指令时,识别确定分层截屏指令携带的截屏信息,基于截屏信息确定对应的截屏区域。其中,截屏信息包括截屏区域以及与每一截图层级对应的显示层级,也就是说设备根据分层截屏指令携带的截屏信息——截屏区域以及与每一截图层级对应的显示层级,来确定最终需要截图的窗口。
S103:识别所述截屏区域内包含的截图层级。
具体地,当设备终端接收到分层截屏指令,确定对应的截屏区域后,还需要识别截屏区域内包含的截图层级。截图层级为截屏区域中的显示窗口的等级。
其中,这里所说的窗口的定义为:在安卓系统中,窗口是视图的管理者,同时也是视图的载体,它是个抽象概念,本身并不存在,而视图是窗口的表现形式。例如:桌面的显示窗口的等级高于文件传输软件的显示窗口,在基于截屏区域确定其包含桌面的显示窗口和文件传输软件的显示窗口时,对应的截屏区域包含2个截图层级,对应截取的显示画面包含桌面的显示窗口和文件传输软件的显示窗口的显示画面。
S104:根据所述截图层级,截取对应的显示画面。
具体地,终端设备根据截屏指令确定的截屏区域,来截取与截屏区域相对应的显示画面,从而实现了灵活地截取用户需要的一个或多个特定窗口的显示画面。
请参见图2,图2是本实施例提供的一种截屏方法步骤S104的流程示意图。如图2所示的截屏方法步骤S104包括:
S1041:确定所述截图层级的数量。
具体地,由于截图层级的数量可以是用户输入的,因此,只需要对应检测截图区域内包含的截图层级数量个数、用户输入的截图层级数量个数即可。
S1042:在检测到所述截图层级数量为一时,基于所述截图层级的显示内容截取对应的显示画面。
具体地,当终端设备检测到截图层级数量为一时,只需要截取该截图层级显示内容对应的显示画面即可。
S1043:在检测到所述截图层级数量为至少两个时,分别截取与每个所述截图层级对应的显示画面。
具体地,当终端设备检测到截图层级数量有至少两个时,对于每一个截图层级分别截取该截图层级对应的显示画面。
请参见图3,图3是本申请第一实施例提供的一种截屏方法步骤S1042的流程示意图。如图3所示的截屏方法步骤S1042包括:
S10421:在检测到所述截图层级数量为一时,识别确定所述截图层级中显示层级的数量。
S10422:在检测到所述显示层级为一时,截取与所述显示层级对应的显示画面。
S10423:或者,在检测到所述显示层级为至少两个时,分别截取与每个显示层级对应的显示画面。
具体地,当设备终端检测到截图层级数量为一时,需要确定截图层级中显示层级的数量,当检测到显示层级只有一个时,直接截取该显示层级对应的显示画面即可;当检测到显示层级有至少两个时,则分别截取各显示层级对应的显示画面。
请参见图4,图4是本申请第一实施例提供的一种截屏方法步骤S1043的流程示意图。如图4所示的截屏方法步骤S1043包括:
S10431:在检测到所述截图层级数量为至少两个时,分别识别确定每个所述截图层级中显示层级的数量。
S10432:在检测到所述显示层级为一时,截取与所述显示层级对应的显示画面。
S10433:或者,在检测到所述显示层级为至少两个时,分别截取与每个显示层级对应的显示画面。
具体地,当设备终端检测到截图层级数量至少两个时,需要分别识别确定每个截图层级中显示层级的数量,当检测到显示层级只有一个时,分别截取各截图层级对应的显示层级的显示画面即可;当检测到显示层级有至少两个时,则分别对各截图层级截取该截图层级对应的多个显示层级的显示画面。
具体地,在安卓系统中,由于窗口处于三维坐标系中,因此Z轴决定多个窗口在屏幕上的显示顺序。由于一个截图层级中可以包括多个显示层级,而显示层级代表显示窗口在Z轴上的位置。因此,当需要检测显示层级的数量时,只需要设备检测窗口Z轴上的值的数量就可以判断显示层级的数量。
在一个实施例中,所述根据所述截图层级,截取对应的显示画面之后,包括:
在检测到所述截图层级数量大于一时,确定每个截图层级的第一优先级;
按照第一优先级的先后顺序对与所述截图层级对应的显示画面进行排序并显示。
具体地,第一优先级可以由用户自定义设置;例如:用户预先设定基于截图层级的高低设定对应的第一优先级;例如,设备桌面上包括有若干个应用程序(Application,APP),单个APP中包含若干个功能。基于桌面的显示窗口的等级高于APP的显示窗口的等级,APP的显示窗口的等级高于APP中功能的显示窗口的等级,对应可以设置桌面的显示窗口的第一优先级高于APP的第一优先级、APP的第一优先级高于APP中功能的第一优先级。
具体地,在检测到截图层级数量大于一时,对应截取获得至少两个截图层级对应的显示画面。分别确定每个截图层级的第一优先级,然后按照第一优先级的先后顺序对与截图层级对应的显示画面进行排序并显示。
在一个实施例中,所述在检测到所述显示层级为至少两个时,分别截取与每个显示层级对应的显示画面之后,还包括:
识别确定每个显示层级的第二优先级;
按照第二优先级的先后顺序对与所述显示层级对应的显示画面进行排序并显示。
具体地,当设备终端检测到显示层级为至少两个时,分别截取与每个显示层级对应的显示画面,对应截取获得至少两个显示层级对应显示画面。由设备终端识别确定每个显示层级的第二优先级;按照第二优先级的先后顺序对与显示层级对应的显示画面进行排序并显示。
具体地,显示层级的优先级可以是用户预先设置的,也可以根据各显示窗口实际打开时间的先后顺序设置优先级,可以是先打开的优先级高也可以是后打开的优先级高。此外,截取同一截图层级内所有显示层级的显示画面时,由于显示层级对应的显示画面按照第二优先级的先后顺序排序并显示,因此,优先级高的显示层级对应的显示画面将会覆盖优先级低的显示层级对应的显示画面。例如,若日历的显示层级比计算器的显示层级低,二者重叠的部分中计算器的显示内容将会被日历的显示内容覆盖。因此,当优先级高的显示层级对应的显示画面为全屏视图时,将会全部覆盖优先级低的显示层级对应的显示画面。例如,若计算器窗口为全屏视图,那么计算器窗口的显示内容就会全部覆盖日历的显示窗口,对应截图的图片中只显示计算器窗口。
本实施例基于当接收到截屏指令,确定对应的指令类型及截屏区域,识别截屏区域内包含的截图层级,从而截取对应的显示画面,实现了灵活地截取用户需要的一个或多个特定窗口的显示画面,提高了截屏的灵活性及效率。
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
请参见图5,图5是本申请第二实施例提供的一种截屏装置的示意图,包括的各模块用于执行图1对应的实施例中的各步骤。具体请参阅图1对应的实施例中的相关描述。为了便于说明,仅示出了与本实施例相关的部分。参见图5,该截屏装置5包括:
第一确定模块510,用于在接收到截屏指令时,确定所述截屏指令的类型;
第二确定模块520,用于在检测到所述截屏指令的类型为分层截屏指令时,确定与所述分层截屏指令对应的截屏区域;
识别模块530,用于识别所述截屏区域内包含的截图层级;
第一处理模块540,用于根据所述截图层级,截取对应的显示画面。
进一步地,所述第一处理模块540包括:
截图层级确定单元,用于确定所述截图层级的数量;
第一截图单元,用于在检测到所述截图层级数量为一时,基于所述截图层级的显示内容截取对应的显示画面;
第二截图单元,用于在检测到所述截图层级数量为至少两个时,分别截取与每个所述截图层级对应的显示画面。
进一步地,所述第一截图单元,包括:
第一显示层级确定子单元,用于在检测到所述截图层级数量为一时,识别确定所述截图层级中显示层级的数量;
第一截图子单元,用于在检测到所述显示层级为一时,截取与所述显示层级对应的显示画面;
第二截图子单元,用于在检测到所述显示层级为至少两个时,分别截取与每个显示层级对应的显示画面。
进一步地,所述第二截图单元,包括:
第二显示层级确定子单元,用于在检测到所述截图层级数量为至少两个时,分别识别确定每个所述截图层级中显示层级的数量;
第三截图子单元,用于在检测到所述显示层级为一时,截取与所述显示层级对应的显示画面;
第四截图子单元,用于在检测到所述显示层级为至少两个时,分别截取与每个显示层级对应的显示画面。
进一步地,所述截屏装置5还包括:第三确定模块、第二处理模块;
所述第三确定模块,用于在检测到所述截图层级数量大于一时,确定每个截图层级的第一优先级;
所述第二处理模块,用于按照第一优先级的先后顺序对与所述截图层级对应的显示画面进行排序并显示。
进一步地,所述第一处理模块540还包括:
优先级确定单元,用于识别确定每个显示层级的第二优先级;
截图显示单元,用于按照第二优先级的先后顺序对与所述显示层级对应的显示画面进行排序并显示。
进一步地,所述第二确定模块520还包括:
第三截图单元,用于在检测到所述截屏指令的类型为全屏截屏指令时,基于所述全屏截屏指令截取全屏显示画面。
进一步地,所述第二确定模块520具体用于:
在检测到所述截屏指令的类型为分层截屏指令时,识别确定所述分层截屏指令携带的截屏信息;
基于所述截屏信息确定对应的截屏区域。
本实施例基于当接收到截屏指令,确定对应的指令类型及截屏区域,识别截屏区域内包含的截图层级,从而截取对应的显示画面,实现了灵活地截取用户需要的一个或多个特定窗口的显示画面,提高了截屏的灵活性及效率。
请参见图6,图6是本申请第三实施例提供的一种截屏设备的结构示意图。如图6所示,该实施例的截屏设备6包括:处理器60、存储器61以及存储在所述存储器61中并可在所述处理器60上运行的计算机程序62,例如目标程序。所述处理器60执行所述计算机程序62时实现上述各个截屏方法实施例中的步骤,例如图1所示的步骤S101至S104。或者,所述处理器60执行所述计算机程序62时实现上述各装置实施例中各模块/单元的功能,例如图5所示模块510至540的功能。
示例性的,所述计算机程序62可以被分割成一个或多个模块/单元,所述一个或者多个模块/单元被存储在所述存储器61中,并由所述处理器60执行,以完成本申请。所述一个或多个模块/单元可以是能够完成特定功能的一系列计算机程序指令段,该指令段用于描述所述计算机程序62在所述截屏设备6中的执行过程。例如,所述计算机程序62可以被分割成第一确定模块、第二确定模块、识别模块、第一处理模块,各模块具体功能如下:
第一确定模块,用于在接收到截屏指令时,确定所述截屏指令的类型;
第二确定模块,用于在检测到所述截屏指令的类型为分层截屏指令时,确定与所述分层截屏指令对应的截屏区域;
识别模块,用于识别所述截屏区域内包含的截图层级;
第一处理模块,用于根据所述截图层级,截取对应的显示画面。
所述截屏设备可包括,但不仅限于,处理器60、存储器61。本领域技术人员可以理解,图6仅仅是截屏设备6的示例,并不构成对截屏设备6的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件,例如所述截屏设备还可以包括输入输出设备、网络接入设备、总线等。
所称处理器60可以是中央处理单元(Central Processing Unit,CPU),还可以是其他通用处理器、数字信号处理器 (Digital Signal Processor,DSP)、专用集成电路 (Application Specific Integrated Circuit,ASIC)、现成可编程门阵列 (Field-Programmable Gate Array,FPGA) 或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
所述存储器61可以是所述截屏设备6的内部存储单元,例如截屏设备6的硬盘或内存。所述存储器61也可以是所述截屏设备6的外部存储设备,例如所述截屏设备6上配备的插接式硬盘,智能存储卡(Smart Media Card, SMC),安全数字卡(Secure Digital, SD),闪存卡(Flash Card)等。进一步地,所述截屏设备6还可以既包括截屏设备6的内部存储单元也包括外部存储设备。所述存储器61用于存储所述计算机程序以及所述目标设备所需的其他程序和数据。所述存储器61还可以用于暂时地存储已经输出或者将要输出的数据。
需要说明的是,上述装置/单元之间的信息交互、执行过程等内容,由于与本申请方法实施例基于同一构思,其具体功能及带来的技术效果,具体可参见方法实施例部分,此处不再赘述。
本申请实施例还提供了一种截屏设备,该网络设备包括:至少一个处理器、存储器以及存储在所述存储器中并可在所述至少一个处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述任意各个方法实施例中的步骤。
本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现可实现上述各个方法实施例中的步骤。
本申请实施例提供了一种计算机程序产品,当计算机程序产品在移动终端上运行时,使得移动终端执行时实现可实现上述各个方法实施例中的步骤。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质至少可以包括:能够将计算机程序代码携带到拍照装置/终端设备的任何实体或装置、记录介质、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质。例如U盘、移动硬盘、磁碟或者光盘等。在某些司法管辖区,根据立法和专利实践,计算机可读介质不可以是电载波信号和电信信号。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
在本申请所提供的实施例中,应该理解到,所揭露的装置/网络设备和方法,可以通过其它的方式实现。例如,以上所描述的装置/网络设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。

Claims (16)

  1. 一种截屏方法,其特征在于,所述方法包括:
    在接收到截屏指令时,确定所述截屏指令的类型;
    在检测到所述截屏指令的类型为分层截屏指令时,确定与所述分层截屏指令对应的截屏区域;
    识别所述截屏区域内包含的截图层级;
    根据所述截图层级,截取对应的显示画面。
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述截图层级,截取对应的显示画面,包括:
    确定所述截图层级的数量;
    在检测到所述截图层级数量为一时,基于所述截图层级的显示内容截取对应的显示画面;
    在检测到所述截图层级数量为至少两个时,分别截取与每个所述截图层级对应的显示画面。
  3. 根据权利要求2所述的方法,其特征在于,所述在检测到所述截图层级数量为一时,基于所述截图层级的显示内容截取对应的显示画面,包括:
    在检测到所述截图层级数量为一时,识别确定所述截图层级中显示层级的数量;
    在检测到所述显示层级为一时,截取与所述显示层级对应的显示画面;
    或者,在检测到所述显示层级为至少两个时,分别截取与每个显示层级对应的显示画面。
  4. 根据权利要求2所述的方法,其特征在于,所述在检测到所述截图层级数量为至少两个时,分别截取与每个所述截图层级对应的显示画面,包括:
    在检测到所述截图层级数量为至少两个时,分别识别确定每个所述截图层级中显示层级的数量;
    在检测到所述显示层级为一时,截取与所述显示层级对应的显示画面;
    或者,在检测到所述显示层级为至少两个时,分别截取与每个显示层级对应的显示画面。
  5. 根据权利要求1所述的方法,其特征在于,所述根据所述截图层级,截取对应的显示画面之后,还包括:
    在检测到所述截图层级数量大于一时,确定每个截图层级的第一优先级;
    按照第一优先级的先后顺序对与所述截图层级对应的显示画面进行排序并显示。
  6. 根据权利要求3或4所述的方法,其特征在于,所述在检测到所述显示层级为至少两个时,分别截取与每个显示层级对应的显示画面之后,还包括:
    识别确定每个显示层级的第二优先级;
    按照第二优先级的先后顺序对与所述显示层级对应的显示画面进行排序并显示。
  7. 根据权利要求1所述的方法,其特征在于,所述在接收到截屏指令时,确定所述截屏指令的类型之后,还包括:
    在检测到所述截屏指令的类型为全屏截屏指令时,基于所述全屏截屏指令截取全屏显示画面。
  8. 一种截屏装置,其特征在于,所述装置包括:第一确定模块、第二确定模块、识别模块、第一处理模块;
    所述第一确定模块,用于在接收到截屏指令时,确定所述截屏指令的类型;
    所述第二确定模块,用于在检测到所述截屏指令的类型为分层截屏指令时,确定与所述分层截屏指令对应的截屏区域;
    所述识别模块,用于识别所述截屏区域内包含的截图层级;
    所述第一处理模块,用于根据所述截图层级,截取对应的显示画面。
  9. 如权利要求8所述的截屏装置,其特征在于,所述第一处理模块包括:
    截图层级确定单元,用于确定所述截图层级的数量;
    第一截图单元,用于在检测到所述截图层级数量为一时,基于所述截图层级的显示内容截取对应的显示画面;
    第二截图单元,用于在检测到所述截图层级数量为至少两个时,分别截取与每个所述截图层级对应的显示画面。
  10. 如权利要求9所述的截屏装置,其特征在于,所述第一截图单元包括:
    第一显示层级确定子单元,用于在检测到所述截图层级数量为一时,识别确定所述截图层级中显示层级的数量;
    第一截图子单元,用于在检测到所述显示层级为一时,截取与所述显示层级对应的显示画面;
    第二截图子单元,用于在检测到所述显示层级为至少两个时,分别截取与每个显示层级对应的显示画面。
  11.  如权利要求9所述的截屏装置,其特征在于,所述第二截图单元包括:
    第二显示层级确定子单元,用于在检测到所述截图层级数量为至少两个时,分别识别确定每个所述截图层级中显示层级的数量;
    第三截图子单元,用于在检测到所述显示层级为一时,截取与所述显示层级对应的显示画面;
    第四截图子单元,用于在检测到所述显示层级为至少两个时,分别截取与每个显示层级对应的显示画面。
  12.  如权利要求8所述的截屏装置,其特征在于,所述截屏装置还包括:第三确定模块、第二处理模块;
    所述第三确定模块,用于在检测到所述截图层级数量大于一时,确定每个截图层级的第一优先级;
    所述第二处理模块,用于按照第一优先级的先后顺序对与所述截图层级对应的显示画面进行排序并显示。
  13.  如权利要求10或11所述的截屏装置,其特征在于,所述第一处理模块,还包括:
    优先级确定单元,用于识别确定每个显示层级的第二优先级;
    截图显示单元,用于按照第二优先级的先后顺序对与所述显示层级对应的显示画面进行排序并显示。
  14.  如权利要求8所述的截屏装置,其特征在于,所述第二确定模块,还包括:
    第三截图单元,用于在检测到所述截屏指令的类型为全屏截屏指令时,基于所述全屏截屏指令截取全屏显示画面。
  15.  一种截屏设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至7任一项所述的方法。
  16. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至7任一项所述的方法。
PCT/CN2023/096889 2022-10-26 2023-05-29 一种截屏方法、截屏装置、截屏设备及计算机存储介质 WO2024087618A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211318268.0A CN115599484A (zh) 2022-10-26 2022-10-26 一种截屏方法、截屏装置、截屏设备及计算机存储介质
CN202211318268.0 2022-10-26

Publications (1)

Publication Number Publication Date
WO2024087618A1 true WO2024087618A1 (zh) 2024-05-02

Family

ID=84850769

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/096889 WO2024087618A1 (zh) 2022-10-26 2023-05-29 一种截屏方法、截屏装置、截屏设备及计算机存储介质

Country Status (2)

Country Link
CN (1) CN115599484A (zh)
WO (1) WO2024087618A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115599484A (zh) * 2022-10-26 2023-01-13 北京鸿合爱学教育科技有限公司(Cn) 一种截屏方法、截屏装置、截屏设备及计算机存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170132742A1 (en) * 2015-11-10 2017-05-11 International Business Machines Corporation Context-based provision of screenshot modifications
CN109032470A (zh) * 2018-07-11 2018-12-18 Oppo(重庆)智能科技有限公司 截图方法、装置、终端及计算机可读存储介质
CN110096326A (zh) * 2019-04-30 2019-08-06 维沃移动通信有限公司 一种截屏方法、终端设备及计算机可读存储介质
CN114253449A (zh) * 2021-12-09 2022-03-29 北京鸿合爱学教育科技有限公司 截屏方法、装置、设备及介质
CN115599484A (zh) * 2022-10-26 2023-01-13 北京鸿合爱学教育科技有限公司(Cn) 一种截屏方法、截屏装置、截屏设备及计算机存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170132742A1 (en) * 2015-11-10 2017-05-11 International Business Machines Corporation Context-based provision of screenshot modifications
CN109032470A (zh) * 2018-07-11 2018-12-18 Oppo(重庆)智能科技有限公司 截图方法、装置、终端及计算机可读存储介质
CN110096326A (zh) * 2019-04-30 2019-08-06 维沃移动通信有限公司 一种截屏方法、终端设备及计算机可读存储介质
CN114253449A (zh) * 2021-12-09 2022-03-29 北京鸿合爱学教育科技有限公司 截屏方法、装置、设备及介质
CN115599484A (zh) * 2022-10-26 2023-01-13 北京鸿合爱学教育科技有限公司(Cn) 一种截屏方法、截屏装置、截屏设备及计算机存储介质

Also Published As

Publication number Publication date
CN115599484A (zh) 2023-01-13

Similar Documents

Publication Publication Date Title
CN108900770B (zh) 一种控制摄像头旋转的方法、装置、智能手表及移动终端
CN110457963B (zh) 显示控制方法、装置、移动终端及计算机可读存储介质
CN109376645B (zh) 一种人脸图像数据优选方法、装置及终端设备
WO2024087618A1 (zh) 一种截屏方法、截屏装置、截屏设备及计算机存储介质
US20120262489A1 (en) Relative and Absolute Screen Rotation Draft Agent
WO2020103002A1 (zh) 一种文件收藏方法、文件收藏装置及终端设备
WO2020062908A1 (zh) 一种显示方向控制方法、系统及移动终端
WO2023001021A1 (zh) 远程控制界面显示的方法、系统、设备及存储介质
US10359838B2 (en) Hand and finger line grid for hand based interactions
WO2016173307A1 (zh) 一种消息复制方法和装置、以及智能终端
WO2018205392A1 (zh) 控制响应区域显示控制方法、电子装置及存储介质
CN109298907B (zh) 应用程序显示方法、应用程序显示装置及终端
CN109358927B (zh) 应用程序显示的方法、装置及终端设备
JP2024507121A (ja) 表示制御方法、表示制御装置、電子機器及び可読記憶媒体
WO2024114530A1 (zh) 组件的显示方法、装置、电子设备及介质
CN110174946A (zh) 鼠标操作模拟方法、模拟系统、存储介质、及电子设备
WO2024109635A1 (zh) 界面显示方法及其装置
CN112055156B (zh) 预览图像更新方法、装置、移动终端及存储介质
WO2024046203A1 (zh) 内容显示方法及装置
WO2023231871A1 (zh) 显示控制方法、装置、电子设备和可读存储介质
CN110874729B (zh) 电子红包识别策略的切换方法、切换装置及移动终端
CN109271266B (zh) 文件传输方法、装置及终端设备
CN116166143A (zh) 全局触摸手势识别方法
CN110942065B (zh) 文本框选方法、装置、终端设备及计算机可读存储介质
CN111352357B (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: 23881210

Country of ref document: EP

Kind code of ref document: A1