[go: up one dir, main page]

CN112130738B - Screenshot processing method, device, electronic device and storage medium - Google Patents

Screenshot processing method, device, electronic device and storage medium Download PDF

Info

Publication number
CN112130738B
CN112130738B CN202011065430.3A CN202011065430A CN112130738B CN 112130738 B CN112130738 B CN 112130738B CN 202011065430 A CN202011065430 A CN 202011065430A CN 112130738 B CN112130738 B CN 112130738B
Authority
CN
China
Prior art keywords
screenshot
sliding
target screenshot
target
instruction
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202011065430.3A
Other languages
Chinese (zh)
Other versions
CN112130738A (en
Inventor
辜聪林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
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 Guangdong Oppo Mobile Telecommunications Corp Ltd, Shenzhen Huantai Technology Co Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202011065430.3A priority Critical patent/CN112130738B/en
Publication of CN112130738A publication Critical patent/CN112130738A/en
Application granted granted Critical
Publication of CN112130738B publication Critical patent/CN112130738B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

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

Landscapes

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

Abstract

The application discloses a screenshot processing method, a screenshot processing device, electronic equipment and a storage medium. The screenshot processing method comprises the steps of receiving a sliding instruction aiming at a target screenshot displayed on a current interface, and obtaining a sliding direction corresponding to the sliding instruction; when the sliding direction is the first direction, switching the target screenshot; deleting the target screenshot when the sliding direction is the second direction; the second direction is different from the first direction; when the sliding direction is the third direction, displaying a picture editing page aiming at the target screenshot; the third direction is different from the second direction and the first direction. The scheme realizes that a user can directly operate and process the target screenshot displayed in the terminal after the screenshot, is simple and convenient to use, and can be completed without multi-step operation and processing.

Description

截图处理方法、装置、电子设备及存储介质Screenshot processing method, device, electronic device and storage medium

技术领域Technical Field

本申请涉及截图处理领域,具体而言,涉及一种截图处理方法、装置、电子设备及存储介质。The present application relates to the field of screenshot processing, and more specifically, to a screenshot processing method, device, electronic device and storage medium.

背景技术Background Art

各大手机厂商的手机对于用户截图的处理方式各不相同,比如手势截图、物理按键截图等,而且对所截取的图片的操作逻辑也有所差异,比如截图后图片的显示方式(左下角缩略图、底部缩略图等)、删除方式(选中后编辑删除)、编辑方式(点击选中后可编辑)等。Mobile phones from major mobile phone manufacturers handle user screenshots differently, such as gesture screenshots, physical button screenshots, etc., and the operating logic of the captured pictures is also different, such as the display method of the picture after the screenshot (thumbnail in the lower left corner, thumbnail at the bottom, etc.), deletion method (edit and delete after selection), editing method (click to select) and so on.

由于各个厂商都有一套自己的处理逻辑,用户学习截图的成本高,且不管是对于截图进行编辑或是删除等操作,很大可能需要进行多步操作处理才能完成,使用起来不够简单方便。Since each manufacturer has its own processing logic, the cost for users to learn how to take screenshots is high. In addition, whether it is editing or deleting screenshots, it may require multiple steps to complete, which makes it not simple and convenient to use.

发明内容Summary of the invention

为了解决上述问题,本申请实施例提供了一种截图处理方法、装置、电子设备及存储介质。In order to solve the above problems, the embodiments of the present application provide a screenshot processing method, device, electronic device and storage medium.

第一方面,本申请实施例提供了一种截图处理方法,所述方法包括:In a first aspect, an embodiment of the present application provides a screenshot processing method, the method comprising:

接收针对当前界面上所显示的目标截图的滑动指令,获取所述滑动指令对应的滑动方向;Receiving a sliding instruction for a target screenshot displayed on the current interface, and obtaining a sliding direction corresponding to the sliding instruction;

当所述滑动方向为第一方向时,切换所述目标截图;When the sliding direction is the first direction, switching the target screenshot;

当所述滑动方向为第二方向时,删除所述目标截图;所述第二方向与所述第一方向不同;When the sliding direction is a second direction, deleting the target screenshot; the second direction is different from the first direction;

当所述滑动方向为第三方向时,展示针对所述目标截图的图片编辑页面;所述第三方向与所述第二方向以及所述第一方向不同。When the sliding direction is a third direction, a picture editing page for the target screenshot is displayed; the third direction is different from the second direction and the first direction.

第二方面,本申请实施例提供了一种截图处理装置,所述装置包括:In a second aspect, an embodiment of the present application provides a screenshot processing device, the device comprising:

接收模块,用于接收针对当前界面上所显示的目标截图的滑动指令,获取所述滑动指令对应的滑动方向;A receiving module, used to receive a sliding instruction for a target screenshot displayed on the current interface, and obtain a sliding direction corresponding to the sliding instruction;

第一方向确定模块,用于当所述滑动方向为第一方向时,切换所述目标截图;A first direction determining module, configured to switch the target screenshot when the sliding direction is the first direction;

第二方向确定模块,用于当所述滑动方向为第二方向时,删除所述目标截图;所述第二方向与所述第一方向不同;A second direction determining module, configured to delete the target screenshot when the sliding direction is a second direction; the second direction is different from the first direction;

第三方向确定模块,用于当所述滑动方向为第三方向时,展示针对所述目标截图的图片编辑页面;所述第三方向与所述第二方向以及所述第一方向不同。A third direction determination module is used to display a picture editing page for the target screenshot when the sliding direction is a third direction; the third direction is different from the second direction and the first direction.

第三方面,本申请实施例提供了一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如第一方面或第一方面的任意一种可能的实现方式提供的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the processor implements the steps of the method provided in the first aspect or any possible implementation of the first aspect.

第四方面,本申请实施例提供了一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如第一方面或第一方面的任意一种可能的实现方式提供的方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method provided in the first aspect or any possible implementation manner of the first aspect.

在本申请一个或多个实施例中,用户使用用户终端进行截图后,用户终端上会展示有目标截图。用户终端在接收到用户针对目标截图的滑动指令后,将获取滑动指令对应的滑动方向来判断用户滑动的方向,并根据滑动方向的不同对目标截图进行切换、删除、编辑等操作。以此实现了用户能够直接对截图后终端中展示的目标截图进行操作处理,使用起来简单便捷,不需要进行多步操作处理才能完成。由于对目标截图进行操作的逻辑与手机通用的后台程序处理操作逻辑类似,用户截图的成本低。In one or more embodiments of the present application, after a user uses a user terminal to take a screenshot, a target screenshot will be displayed on the user terminal. After receiving a sliding instruction from the user for the target screenshot, the user terminal will obtain the sliding direction corresponding to the sliding instruction to determine the direction of the user's sliding, and switch, delete, edit, and other operations on the target screenshot according to the different sliding directions. In this way, the user can directly operate the target screenshot displayed in the terminal after taking the screenshot, which is simple and convenient to use and does not require multiple steps of operation to complete. Since the logic of operating the target screenshot is similar to the background program processing operation logic commonly used in mobile phones, the cost of user screenshots is low.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

图1为本申请实施例提供的一种截图处理方法的流程示意图;FIG1 is a schematic diagram of a process flow of a screenshot processing method provided in an embodiment of the present application;

图2为本申请实施例提供的一种用户对目标截图进行滑动的滑动举例示意图;FIG. 2 is a schematic diagram showing an example of a user sliding a target screenshot provided by an embodiment of the present application;

图3a为本申请实施例提供的一种用户对目标截图进行按压的举例示意图;FIG3a is a schematic diagram of an example of a user pressing a target screenshot provided by an embodiment of the present application;

图3b为本申请实施例提供的一种用户对目标截图持续按压后进行长截图操作的举例示意图;FIG3b is a schematic diagram of an example of a user continuously pressing a target screenshot to perform a long screenshot operation provided by an embodiment of the present application;

图4为本申请实施例提供的一种用户终端切换目标截图的举例示意图;FIG4 is a schematic diagram showing an example of a user terminal switching target screenshot provided in an embodiment of the present application;

图5为本申请实施例提供的一种用户终端删除目标截图的举例示意图;FIG5 is a schematic diagram showing an example of a user terminal deleting a target screenshot provided by an embodiment of the present application;

图6为本申请实施例提供的一种用户终端对目标截图进行编辑的举例示意图;FIG6 is a schematic diagram showing an example of a user terminal editing a target screenshot provided by an embodiment of the present application;

图7为本申请实施例提供的又一种截图处理方法的流程示意图;FIG7 is a schematic diagram of a flow chart of another screenshot processing method provided in an embodiment of the present application;

图8为本申请实施例提供的一种用户终端以卡片形式展示目标截图的举例示意图;FIG8 is a schematic diagram showing an example of a user terminal displaying a target screenshot in the form of a card provided by an embodiment of the present application;

图9为本申请实施例提供的一种用户终端停止滑动目标截图的举例示意图;FIG9 is a schematic diagram showing an example of a user terminal stopping a sliding target screenshot provided by an embodiment of the present application;

图10为本申请实施例提供的一种用户终端中删除控件的举例示意图;FIG10 is a schematic diagram showing an example of deleting a control in a user terminal provided in an embodiment of the present application;

图11为本申请实施例提供的一种截图处理装置的结构示意图;FIG11 is a schematic diagram of the structure of a screenshot processing device provided in an embodiment of the present application;

图12为本申请实施例提供的一种电子设备的结构示意图。FIG. 12 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

在下述介绍中,术语“第一”、“第二”仅为用于描述的目的,而不能理解为指示或暗示相对重要性。下述介绍提供了本申请的多个实施例,不同实施例之间可以替换或者合并组合,因此本申请也可认为包含所记载的相同和/或不同实施例的所有可能组合。因而,如果一个实施例包含特征A、B、C,另一个实施例包含特征B、D,那么本申请也应视为包括含有A、B、C、D的一个或多个所有其他可能的组合的实施例,尽管该实施例可能并未在以下内容中有明确的文字记载。In the following introduction, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. The following introduction provides multiple embodiments of the present application, and different embodiments can be replaced or combined, so the present application can also be considered to include all possible combinations of the same and/or different embodiments recorded. Therefore, if one embodiment includes features A, B, and C, and another embodiment includes features B and D, then the present application should also be considered to include embodiments containing one or more of all other possible combinations of A, B, C, and D, although the embodiment may not be clearly recorded in the following text.

下面的描述提供了示例,并且不对权利要求书中阐述的范围、适用性或示例进行限制。可以在不脱离本申请内容的范围的情况下,对描述的元素的功能和布置做出改变。各个示例可以适当省略、替代或添加各种过程或组件。例如所描述的方法可以以所描述的顺序不同的顺序来执行,并且可以添加、省略或组合各种步骤。此外,可以将关于一些示例描述的特征组合到其他示例中。The following description provides examples and does not limit the scope, applicability or examples set forth in the claims. Changes may be made to the functions and arrangements of the elements described without departing from the scope of the present application. Various processes or components may be appropriately omitted, substituted or added to each example. For example, the described method may be performed in an order different from the order described, and various steps may be added, omitted or combined. In addition, features described in some examples may be combined in other examples.

用户终端可以是具有显示屏的各种电子设备,包括但不限于智能手机、平板电脑等。具体的,用户终端可以为硬件也可以为软件。The user terminal may be any electronic device with a display screen, including but not limited to a smart phone, a tablet computer, etc. Specifically, the user terminal may be hardware or software.

可选的,当用户终端为软件时,可以是安装于上述所列举的电子设备中,其可以实现呈多个软件或软件模块(例如:用来提供分布式服务),也可以实现成单个软件或软件模块,在此不作具体限定。Optionally, when the user terminal is software, it can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (for example: used to provide distributed services), or it can be implemented as a single software or software module, which is not specifically limited here.

可选的,当用户终端为硬件时,其上还可以安装有显示设备和摄像头,显示设备显示可以是各种能实现显示功能的设备,摄像头用于采集视频流。例如:显示设备可以是阴极射线管显示器(Cathode ray tubedisplay,简称CR)、发光二极管显示器(Light-emittingdiode display,简称LED)、电子墨水屏、液晶显示屏(Liquid crystal display,简称LCD)、等离子显示面板(Plasma displaypanel,简称PDP)等。用户可以利用终端上的显示设备,来查看显示的文字、图片、视频等信息。Optionally, when the user terminal is hardware, a display device and a camera may be installed thereon. The display device may be any device capable of realizing a display function, and the camera is used to collect video streams. For example, the display device may be a cathode ray tube display (CR), a light-emitting diode display (LED), an electronic ink screen, a liquid crystal display (LCD), a plasma display panel (PDP), etc. The user may use the display device on the terminal to view displayed text, pictures, videos, and other information.

下面将结合具体的实施例对本方案进行详细说明。The present solution will be described in detail below with reference to specific embodiments.

参见图1,图1是本申请实施例提供的一种截图处理方法的流程示意图。在本申请实施例中,所述方法包括:Referring to Figure 1, Figure 1 is a flow chart of a screenshot processing method provided in an embodiment of the present application. In the embodiment of the present application, the method includes:

S101、接收针对当前界面上所显示的目标截图的滑动指令,获取所述滑动指令对应的滑动方向。S101: Receive a sliding instruction for a target screenshot displayed on a current interface, and obtain a sliding direction corresponding to the sliding instruction.

所述当前界面是用户终端屏幕在当前所显示的界面。所述当前界面在本申请实施例中可以理解为用户终端在进行截图操作时用户终端屏幕所显示的界面。The current interface is the interface currently displayed on the user terminal screen. In the embodiment of the present application, the current interface can be understood as the interface displayed on the user terminal screen when the user terminal is performing a screenshot operation.

所述截图是用户终端截取界面图像而生成的图片。所述目标截图在本申请实施例中可以理解为用户终端对当前界面进行截图操作时生成的图片。The screenshot is a picture generated by the user terminal capturing the interface image. The target screenshot in the embodiment of the present application can be understood as a picture generated when the user terminal performs a screenshot operation on the current interface.

所述指令是指挥用户终端工作的指示和命令,可以理解为指定执行某种运算或功能实现的某种控制的代码。所述滑动指令在本申请实施例中可以理解为指挥用户终端执行对目标截图进行滑动控制功能的代码,用户终端通过执行所述代码,可以获取目标截图的滑动方向。The instruction is an indication and command for directing the user terminal to work, and can be understood as a code for specifying the execution of a certain operation or a certain control for the function to be realized. The sliding instruction in the embodiment of the present application can be understood as a code for directing the user terminal to execute a sliding control function for the target screenshot, and the user terminal can obtain the sliding direction of the target screenshot by executing the code.

所述滑动方向可以理解为用户对目标截图进行滑动的方向。在实际应用中,该滑动方向可以是向上滑动,也可以是向下滑动,还可以是左右滑动。The sliding direction can be understood as the direction in which the user slides the target screenshot. In practical applications, the sliding direction can be sliding upward, sliding downward, or sliding left and right.

例如,如图2所示,图2是一种用户对目标截图进行滑动的滑动举例示意图。当用户想要滑动目标截图时,用户需要将手指按压在用户终端屏幕上展示有目标截图的区域,并在用户终端屏幕上沿某一方向滑动手指,即可实现对目标截图的滑动。For example, as shown in Figure 2, Figure 2 is a schematic diagram of an example of a user sliding a target screenshot. When the user wants to slide the target screenshot, the user needs to press the finger on the area where the target screenshot is displayed on the user terminal screen, and slide the finger in a certain direction on the user terminal screen to achieve the sliding of the target screenshot.

在本申请实施例中,若用户对用户终端的当前界面上所显示的目标截图进行滑动,用户终端将接收到针对该目标截图的滑动指令。在接收到滑动指令后,用户终端将获取滑动指令对应的滑动方向,以此来确定用户在当前界面上对目标截图滑动的方向。In an embodiment of the present application, if a user slides a target screenshot displayed on the current interface of the user terminal, the user terminal will receive a sliding instruction for the target screenshot. After receiving the sliding instruction, the user terminal will obtain the sliding direction corresponding to the sliding instruction to determine the direction in which the user slid the target screenshot on the current interface.

在一种可实施方式中,步骤S101之后,还包括:In one possible implementation, after step S101, the method further includes:

接收针对所述目标截图的按压指令,获取所述按压指令对应的持续按压时长;Receiving a pressing instruction for the target screenshot, and obtaining a continuous pressing duration corresponding to the pressing instruction;

当所述持续按压时长大于第二预设时长时,对所述目标截图对应的显示画面进行长截图操作。When the continuous pressing time is longer than a second preset time, a long screenshot operation is performed on the display screen corresponding to the target screenshot.

所述按压指令在本申请实施例中可以理解为指挥用户终端对目标截图进行按压控制功能的代码,用户终端通过执行所述代码,可以获取目标截图的持续按压时长。The press instruction in the embodiment of the present application can be understood as a code that instructs the user terminal to perform a press control function on the target screenshot. By executing the code, the user terminal can obtain the continuous pressing duration of the target screenshot.

所述持续按压时长在本申请实施例中可以理解为用户对目标截图进行按压并保持按压动作不变所述持续的时长。The continuous pressing time in the embodiment of the present application can be understood as the time period during which the user presses the target screenshot and keeps the pressing action unchanged.

所述长截图在本申请实施例中可以理解为滚动截屏,能够将用户终端屏幕无法全部显示的多页内容一次性保存成一张截图。The long screenshot in the embodiment of the present application can be understood as a scrolling screenshot, which can save multiple pages of content that cannot be fully displayed on the user terminal screen into one screenshot at one time.

例如,如图3a、3b所示,图3a是一种用户对目标截图进行按压的举例示意图,图3b是一种用户对目标截图持续按压后进行长截图操作的举例示意图。用户将手指按压在用户终端屏幕上展示有目标截图的区域,并保持该动作一定时长后,用户终端将对目标截图对应的显示画面进行长截图操作。当用户终端展示长截图界面后,用户通过上下滑动来调整需要长截图的范围,并点击确定按钮完成长截图。For example, as shown in Figures 3a and 3b, Figure 3a is an example schematic diagram of a user pressing a target screenshot, and Figure 3b is an example schematic diagram of a user continuously pressing a target screenshot and performing a long screenshot operation. After the user presses his finger on the area on the user terminal screen where the target screenshot is displayed and maintains the action for a certain period of time, the user terminal will perform a long screenshot operation on the display screen corresponding to the target screenshot. After the user terminal displays the long screenshot interface, the user adjusts the range of the long screenshot by sliding up and down, and clicks the OK button to complete the long screenshot.

在本申请实施例中,在用户进行截图且目标截图展示在用户终端的当前界面上时,用户除了通过滑动的方式对目标截图操作外,还可以通过长按目标截图的方式对目标截图进行操作。用户终端在接收到针对目标截图的按压指令后,将会获取按压指令对应的持续按压时长,并根据持续按压时长来进行长截图操作。由于用户在进行滑动的时候,也需要短时间的对目标截图进行按压操作,为了避免误触发长截图操作而对用户的使用体验造成影响,唯有当持续按压时长大于第二预设时长(例如2s)时,用户终端才会对目标截图对应的显示画面进行长截图操作。In an embodiment of the present application, when a user takes a screenshot and a target screenshot is displayed on the current interface of a user terminal, the user can operate the target screenshot by long pressing the target screenshot in addition to operating the target screenshot by sliding. After receiving a press instruction for the target screenshot, the user terminal will obtain the continuous pressing time corresponding to the press instruction, and perform a long screenshot operation according to the continuous pressing time. Since the user also needs to press the target screenshot for a short time when sliding, in order to avoid accidentally triggering the long screenshot operation and affecting the user's experience, the user terminal will only perform a long screenshot operation on the display screen corresponding to the target screenshot when the continuous pressing time is greater than the second preset time (for example, 2s).

S102、当所述滑动方向为第一方向时,切换所述目标截图。S102: When the sliding direction is a first direction, switch the target screenshot.

例如,如图4所示,图4是一种用户终端切换目标截图的举例示意图。当用户用手指按压目标截图并向第一方向滑动目标截图时,用户终端将基于第一方向切换目标截图为其他截图。其他截图可以是图片数据库中存储的截图图片。第一方向可以是向左滑动方向,也可以是向右滑动方向。For example, as shown in FIG4 , FIG4 is an example schematic diagram of a user terminal switching a target screenshot. When the user presses the target screenshot with a finger and slides the target screenshot in a first direction, the user terminal switches the target screenshot to another screenshot based on the first direction. The other screenshots may be screenshot images stored in the image database. The first direction may be a left sliding direction or a right sliding direction.

在本申请实施例中,用户终端获取滑动指令对应的滑动方向为第一方向时,用户终端即认为用户想要切换目标截图来查看曾经截取的其他目标截图,故用户终端将切换目标截图。In the embodiment of the present application, when the user terminal obtains that the sliding direction corresponding to the sliding instruction is the first direction, the user terminal believes that the user wants to switch the target screenshot to view other target screenshots that have been captured, so the user terminal will switch the target screenshot.

S103、当所述滑动方向为第二方向时,删除所述目标截图。所述第二方向与所述第一方向不同。S103: When the sliding direction is a second direction, deleting the target screenshot, wherein the second direction is different from the first direction.

例如,如图5所示,图5是一种用户终端删除目标截图的举例示意图。当用户用手指按压目标截图并向第二方向滑动目标截图时,用户终端将基于第二方向删除目标截图。第二方向可以是向上滑动方向。For example, as shown in Figure 5, Figure 5 is an example schematic diagram of a user terminal deleting a target screenshot. When the user presses the target screenshot with a finger and slides the target screenshot in a second direction, the user terminal deletes the target screenshot based on the second direction. The second direction may be an upward sliding direction.

在本申请实施例中,用户终端获取滑动指令对应的滑动方向为第二方向时,用户终端即认为用户想要删除截取的目标截图,故用户终端将删除目标截图。其中,第二方向与第一方向不为相同的方向,以确保每个方向上对应的操作功能不会冲突。In the embodiment of the present application, when the user terminal obtains that the sliding direction corresponding to the sliding instruction is the second direction, the user terminal believes that the user wants to delete the captured target screenshot, so the user terminal deletes the target screenshot. The second direction is not the same as the first direction to ensure that the corresponding operation functions in each direction do not conflict.

S104、当所述滑动方向为第三方向时,展示针对所述目标截图的图片编辑页面。所述第三方向与所述第二方向以及所述第一方向不同。S104: When the sliding direction is a third direction, displaying a picture editing page for the target screenshot, wherein the third direction is different from the second direction and the first direction.

图片编辑页面可以理解为用户终端屏幕所展示的对目标截图进行编辑的页面。如图6所示,图6是一种用户终端对目标截图进行编辑的举例示意图。用户能够通过点击图片编辑页面上相应的功能控件对目标截图上进行添加箭头、画圈标注、增加图案、增加文字等操作。在本申请实施例中,用户终端获取滑动指令对应的滑动方向为第三方向时,用户终端即认为用户想要对截取的目标截图进行编辑,故用户终端将展示该目标截图的图片编辑页面供用户进行编辑。其中,第三方向与第二方向以及第一方向均不相同,以确保每个方向上对应的操作功能不会冲突。The picture editing page can be understood as a page for editing the target screenshot displayed on the user terminal screen. As shown in Figure 6, Figure 6 is an example schematic diagram of a user terminal editing a target screenshot. The user can add arrows, circle annotations, add patterns, add text, and other operations to the target screenshot by clicking the corresponding function controls on the picture editing page. In an embodiment of the present application, when the user terminal obtains that the sliding direction corresponding to the sliding instruction is a third direction, the user terminal believes that the user wants to edit the captured target screenshot, so the user terminal will display the picture editing page of the target screenshot for the user to edit. Among them, the third direction is different from the second direction and the first direction to ensure that the corresponding operation functions in each direction do not conflict.

在一种可实施方式中,步骤S104之后,还包括:In one possible implementation, after step S104, the method further includes:

在图片编辑页面上接收编辑指令,基于所述编辑指令生成编辑图片;Receiving an editing instruction on a picture editing page, and generating an edited picture based on the editing instruction;

展示针对所述编辑图片对应的目标截图的删除控件。A delete control for the target screenshot corresponding to the edited image is displayed.

在本申请实施例中,当用户在图片编辑页面上对截图进行编辑时,用户终端将接收到编辑指令。用户终端在接收编辑指令后,基于编辑指令中的编辑内容生成编辑图片。一般用户在截取截图图片后,对截图图片进行编辑多为在图片中某个地方画圈或标注箭头来强调截图中的该位置。在这种情形下,用户真正需要的保存或发送图片为编辑后的编辑图片,而不太需要未编辑的截图图片,用户容易由于现有技术中删除图片需要繁琐的操作等原因而在编辑完截图后忘记或懒得删除截图,导致无用的截图堆积。当堆积过多时,既不方便用户清理无用截图,也不便于用户在截图中寻找所需截图。故用户终端在生成编辑图片后将展示针对编辑图片对应的目标截图的删除控件,以使用户能够在编辑完截图后简单便捷的删除编辑前的目标截图。In an embodiment of the present application, when a user edits a screenshot on a picture editing page, the user terminal will receive an editing instruction. After receiving the editing instruction, the user terminal generates an edited picture based on the editing content in the editing instruction. Generally, after capturing a screenshot picture, the user edits the screenshot picture by drawing a circle or marking an arrow somewhere in the picture to emphasize the position in the screenshot. In this case, the picture that the user really needs to save or send is the edited edited picture, and the unedited screenshot picture is not needed. The user is prone to forget or be too lazy to delete the screenshot after editing the screenshot due to the cumbersome operation required to delete the picture in the prior art, resulting in useless screenshots piling up. When there are too many piles, it is not convenient for the user to clean up the useless screenshots, nor is it convenient for the user to find the required screenshots in the screenshots. Therefore, after generating the edited picture, the user terminal will display a delete control for the target screenshot corresponding to the edited picture, so that the user can simply and conveniently delete the target screenshot before editing after editing the screenshot.

在一种可实施方式中,所述第一方向为左右方向,所述第二方向为向上方向,所述第三方向为向下方向。In one possible implementation, the first direction is a left-right direction, the second direction is an upward direction, and the third direction is a downward direction.

在本申请实施例中,由于无论什么品牌的手机,其后台程序管理界面的操作逻辑是相同的,均为左右滑动切换后台运行的目标程序,向上滑动关闭当前后台程序。故本申请将相同功能所对应的滑动方向与后台程序管理界面中进行操作时的滑动方向设置一致,使得用户对本申请所展示的目标截图进行操作的学习成本很低,无论老人小孩都能够简单快速的掌握操作方式。In the embodiment of the present application, the operation logic of the background program management interface is the same regardless of the brand of mobile phone, that is, swiping left and right switches the target program running in the background, and swiping up closes the current background program. Therefore, the present application sets the sliding direction corresponding to the same function to be consistent with the sliding direction when operating in the background program management interface, so that the learning cost of the user to operate the target screenshot displayed in the present application is very low, and both the elderly and children can master the operation method simply and quickly.

通过上述步骤,用户使用用户终端进行截图后,用户终端上会展示有目标截图。用户终端在接收到用户针对目标截图的滑动指令后,将获取滑动指令对应的滑动方向来判断用户滑动的方向,并根据滑动方向的不同对目标截图进行切换、删除、编辑等操作。以此实现了用户能够直接对截图后终端中展示的目标截图进行操作处理,使用起来简单便捷,不需要进行多步操作处理才能完成。由于对目标截图进行操作的逻辑与手机通用的后台程序处理操作逻辑类似,用户截图的成本低。Through the above steps, after the user uses the user terminal to take a screenshot, the target screenshot will be displayed on the user terminal. After receiving the user's sliding instruction for the target screenshot, the user terminal will obtain the sliding direction corresponding to the sliding instruction to determine the direction of the user's sliding, and switch, delete, edit, and other operations on the target screenshot according to the different sliding directions. In this way, the user can directly operate the target screenshot displayed in the terminal after the screenshot is taken. It is simple and convenient to use and does not require multiple steps to complete. Since the logic of operating the target screenshot is similar to the general background program processing operation logic of the mobile phone, the cost of user screenshots is low.

参见图7,图7是本申请实施例的又一种截图处理方法的流程示意图。如图7所示,所述方法包括:See Figure 7, which is a flowchart of another screenshot processing method according to an embodiment of the present application. As shown in Figure 7, the method includes:

S201、接收针对当前界面的截屏指令,生成并存储截图图片。S201, receiving a screenshot instruction for the current interface, and generating and storing a screenshot image.

所述截屏指令在本申请实施例中可以理解为指挥用户终端对当前界面进行截屏功能的代码,用户终端通过执行所述代码,可以生成截图图片。The screenshot instruction in the embodiment of the present application can be understood as a code that instructs the user terminal to perform a screenshot function on the current interface. The user terminal can generate a screenshot image by executing the code.

在本申请实施例中,当用户通过手势或按键进行截图操作时,用户终端将接收到针对当前界面的截屏指令,用户终端将基于截屏指令,对当前界面进行截屏,生成截图图片并将截图图片存储至图片数据库中。In an embodiment of the present application, when a user performs a screenshot operation through a gesture or button, the user terminal will receive a screenshot instruction for the current interface. Based on the screenshot instruction, the user terminal will take a screenshot of the current interface, generate a screenshot image and store the screenshot image in the image database.

S202、获取所述截图图片的缩略图,将所述缩略图确定为目标截图。S202: Obtain a thumbnail of the screenshot image, and determine the thumbnail as a target screenshot.

所述缩略图在本申请实施例中可以理解为对图片大小进行压缩但图片内容没有发生改变的图片。The thumbnail in the embodiment of the present application can be understood as a picture whose size is compressed but the picture content is not changed.

在本申请实施例中,用户终端在存储截图图片后,由于截图图片可能较大,直接展示可能会占用手机过多的资源而造成卡顿,用户终端将获取截图图片对应的缩略图,并将缩略图确定为目标截图,用于后续展示。In an embodiment of the present application, after the user terminal stores the screenshot image, since the screenshot image may be large, direct display may occupy too many resources of the mobile phone and cause lag. The user terminal will obtain the thumbnail corresponding to the screenshot image and determine the thumbnail as the target screenshot for subsequent display.

S203、以卡片形式在当前界面上显示所述目标截图。S203: Display the target screenshot in the form of a card on the current interface.

所述卡片形式在本申请实施例中可以理解为将目标截图以一种不会占据用户终端屏幕全部大小的卡片样式呈现的方式。具体的,目标截图的长和宽可以为用户终端屏幕长和宽的一半,还可以为用户终端屏幕长和宽的三分之一。The card format in the embodiment of the present application can be understood as a way of presenting the target screenshot in a card style that does not occupy the entire size of the user terminal screen. Specifically, the length and width of the target screenshot can be half of the length and width of the user terminal screen, or can be one third of the length and width of the user terminal screen.

在本申请实施例中,如图8所示,图8是一种用户终端以卡片形式展示目标截图的举例示意图。用户终端会在截图完成后,将目标截图以卡片形式展示在当前界面上,用以告知用户截图完毕并展示截图。In an embodiment of the present application, as shown in Figure 8, Figure 8 is an example schematic diagram of a user terminal displaying a target screenshot in the form of a card. After the screenshot is completed, the user terminal will display the target screenshot in the form of a card on the current interface to inform the user that the screenshot is completed and display the screenshot.

可选的,目标截图可以以卡片形式展示在当前界面的正中间。Optionally, the target screenshot can be displayed in the middle of the current interface in the form of a card.

S204、接收针对当前界面上所显示的目标截图的滑动指令,获取所述滑动指令对应的滑动方向。S204: Receive a sliding instruction for the target screenshot displayed on the current interface, and obtain a sliding direction corresponding to the sliding instruction.

具体过程如步骤S101所示,故在此不再赘述。The specific process is shown in step S101, so it will not be repeated here.

S205、当所述滑动方向为第一方向时,获取所述滑动指令对应的滑动停留位置。S205: When the sliding direction is the first direction, obtain a sliding stop position corresponding to the sliding instruction.

滑动停留位置在本申请实施例中可以理解为用户在向第一方向滑动目标截图后,用户手指停止滑动的位置。用户终端将根据滑动停留位置与用户终端屏幕中心的横向距离确定展示的截图中哪一张截图距离用户终端屏幕中心最近。In the embodiment of the present application, the sliding stop position can be understood as the position where the user's finger stops sliding after the user slides the target screenshot in the first direction. The user terminal will determine which of the displayed screenshots is closest to the center of the user terminal screen according to the horizontal distance between the sliding stop position and the center of the user terminal screen.

例如,如图9所示,图9是一种用户终端停止滑动目标截图的举例示意图。第一方向可以是左右方向,当用户左右滑动目标截图时,用户终端将根据滑动停留位置确定用户停止滑动时最接近屏幕中心处的截图是哪张截图。当用户停止滑动的位置为图示位置时,此时所展示的目标截图左边一张截图距离用户终端屏幕中心最近。在用户移开手指后,用户终端将切换展示该截图。For example, as shown in FIG9 , FIG9 is an example schematic diagram of a user terminal stopping sliding a target screenshot. The first direction may be left and right. When the user slides the target screenshot left and right, the user terminal will determine which screenshot is closest to the center of the screen when the user stops sliding according to the sliding stop position. When the position where the user stops sliding is the illustrated position, the screenshot on the left of the target screenshot displayed at this time is closest to the center of the user terminal screen. After the user removes his finger, the user terminal will switch to display the screenshot.

在本申请实施例中,当用户终端确定滑动方向为第一方向时,用户终端即认为用户想要切换展示的目标截图,此时用户终端将根据滑动指令获取其对应的滑动停留位置,以此来确认用户停止滑动时该展示哪一张截图。In an embodiment of the present application, when the user terminal determines that the sliding direction is the first direction, the user terminal believes that the user wants to switch the target screenshot to be displayed. At this time, the user terminal will obtain the corresponding sliding stop position according to the sliding instruction to confirm which screenshot should be displayed when the user stops sliding.

S206、在卡片集合中确定所述滑动停留位置对应的参考截图,将所述目标截图切换为所述参考截图。S206: Determine a reference screenshot corresponding to the sliding stop position in the card set, and switch the target screenshot to the reference screenshot.

所述卡片集合在本申请实施例中可以理解为以卡片形式展现于用户终端屏幕上的一组截图集合。The card collection in the embodiment of the present application can be understood as a set of screenshots displayed in the form of cards on the user terminal screen.

参考截图在本申请实施例中可以理解为以卡片形式展示在用户终端屏幕上的存储在图片数据库中的历史截图。In the embodiment of the present application, the reference screenshot can be understood as a historical screenshot stored in the image database and displayed in the form of a card on the user terminal screen.

在本申请实施例中,截图将以卡片集合的形式展示于当前界面中,即除了刚刚截取的目标截图外,参考截图也将按照一定的排列规律以卡片的形式展示。用户终端检测到用户希望切换目标截图时,将根据滑动停留位置确定应该切换的参考截图,并将目标截图切换为参考截图。In the embodiment of the present application, the screenshots will be displayed in the current interface in the form of a card set, that is, in addition to the target screenshot just captured, the reference screenshots will also be displayed in the form of cards according to a certain arrangement rule. When the user terminal detects that the user wants to switch the target screenshot, it will determine the reference screenshot to be switched according to the sliding stop position, and switch the target screenshot to the reference screenshot.

可选的,参考截图与目标截图按照截取图片的时间顺序从左到右横向排列。Optionally, the reference screenshots and the target screenshots are arranged horizontally from left to right in the chronological order of when the screenshots were taken.

可选的,当用户终端截取目标截图后,将目标截图与参考截图的卡片集合展示于当前界面上,使得用户在对目标截图进行滑动操作处理时可以看到曾经截取的参考截图。进而辅助用户发现曾经截取但现在已经无用的参考截图,并可以针对该参考截图向第二方向滑动来删除该无用的参考截图。使得用户能够在每次截取新的截图时顺便对曾经的参考截图进行快速便捷的清理,不会造成用户长期不清理截图导致无用截图的堆积。Optionally, after the user terminal captures the target screenshot, the card set of the target screenshot and the reference screenshot is displayed on the current interface, so that the user can see the reference screenshot that was captured when sliding the target screenshot. This helps the user find the reference screenshot that was captured but is now useless, and can delete the useless reference screenshot by sliding in the second direction with respect to the reference screenshot. This allows the user to quickly and conveniently clean up the previous reference screenshots every time a new screenshot is captured, and does not cause the user to not clean up the screenshots for a long time, resulting in the accumulation of useless screenshots.

S207、当所述滑动方向为第二方向时,展示针对所述目标截图的删除控件。S207: When the sliding direction is the second direction, display a delete control for the target screenshot.

所述控件用户可与之交互以输入或操作数据的对象。所述删除控件在本申请实施例中可以理解为用户可与用户终端交互以删除目标截图的对象。The control is an object with which the user can interact to input or operate data. The delete control in the embodiment of the present application can be understood as an object with which the user can interact with the user terminal to delete the target screenshot.

例如,如图10所示,图10是一种用户终端中删除控件的举例示意图。用户在对目标截图向上滑动后,用户终端将展示针对目标截图的删除控件,来提示用户是否要删除该目标截图。删除控件上可以包含有“确认是否删除”的文本内容。For example, as shown in FIG10 , FIG10 is an example schematic diagram of a delete control in a user terminal. After the user swipes upward on the target screenshot, the user terminal will display a delete control for the target screenshot to prompt the user whether to delete the target screenshot. The delete control may include text content "Confirm whether to delete".

在本申请实施例中,当用户终端确定滑动方向为第二方向时,用户终端将展示删除控件以供用户进行确认删除操作,防止用户在向第一方向滑动时误操作滑向第二方向而导致截图被删除的情况发生。In an embodiment of the present application, when the user terminal determines that the sliding direction is the second direction, the user terminal will display a delete control for the user to confirm the deletion operation, to prevent the user from accidentally sliding in the second direction when sliding in the first direction, causing the screenshot to be deleted.

在一种可实施方式中,步骤S207包括:In one possible implementation, step S207 includes:

当所述滑动方向为第二方向时,获取所述目标截图对应的显示时长;When the sliding direction is the second direction, obtaining the display time duration corresponding to the target screenshot;

当所述显示时长小于第一预设时长时,展示针对所述目标截图的删除控件。When the display time is less than a first preset time, a delete control for the target screenshot is displayed.

所述显示时长在本申请实施例中可以理解为目标截图开始展示于用户终端屏幕上的时刻到当前时刻所经过的时长。The display duration in the embodiment of the present application can be understood as the duration from the moment when the target screenshot begins to be displayed on the user terminal screen to the current moment.

在本申请实施例中,一般来说,截图后所展示的目标截图在持续一段时间未操作后将会隐去。为了避免用户在目标截图即将隐去的时候对目标截图进行操作而点击到了当前界面上的其他地方,用户终端在检测到滑动方向为第二方向时,首先将获取目标截图对应的显示时长来确定目标截图已经显示了多久,唯有当显示时长小于第一预设时长时用户终端才会展示删除控件。In the embodiment of the present application, generally speaking, the target screenshot displayed after taking a screenshot will disappear after no operation has been performed for a period of time. In order to prevent the user from operating the target screenshot when the target screenshot is about to disappear and clicking somewhere else on the current interface, when the user terminal detects that the sliding direction is the second direction, it first obtains the display time corresponding to the target screenshot to determine how long the target screenshot has been displayed. Only when the display time is less than the first preset time will the user terminal display the delete control.

可选的,在显示时长大于第一预设时长时,目标截图还可以展示但无法进行操作,当显示时长达到第三预设时长时,隐去目标截图。例如,当目标截图的显示时长超过第一预设时长(如5s),此时用户对目标截图进行滑动,无法对目标截图进行任何操作,当显示时长达到第三预设时长(如6s)时,隐去目标截图。Optionally, when the display time is longer than the first preset time, the target screenshot can still be displayed but cannot be operated, and when the display time reaches a third preset time, the target screenshot is hidden. For example, when the display time of the target screenshot exceeds the first preset time (such as 5 seconds), the user slides the target screenshot and cannot perform any operation on the target screenshot, and when the display time reaches the third preset time (such as 6 seconds), the target screenshot is hidden.

可选的,在显示时长等于第一预设时长时,用户终端将隐去目标截图。Optionally, when the display duration is equal to the first preset duration, the user terminal will hide the target screenshot.

S208、接收针对所述删除控件的确认指令,关闭所述删除控件并删除所述目标截图。S208: receiving a confirmation instruction for the deletion control, closing the deletion control and deleting the target screenshot.

所述确认指令在本申请实施例中可以理解为指挥用户终端对进行删除截图功能的代码,用户终端通过执行所述代码,可以关闭删除控件并删除目标截图。The confirmation instruction in the embodiment of the present application can be understood as a code that instructs the user terminal to perform a screenshot deletion function. By executing the code, the user terminal can close the deletion control and delete the target screenshot.

在本申请实施例中,用户在删除控件上点击确认删除后,用户终端将接收到确认指令,并响应确认指令关闭删除控件并删除目标截图。In an embodiment of the present application, after the user clicks on the delete control to confirm deletion, the user terminal will receive a confirmation instruction, and in response to the confirmation instruction, close the delete control and delete the target screenshot.

在一种可实施方式中,步骤S208之后,还包括:In one possible implementation, after step S208, the following steps are further included:

删除所述截图图片。Delete the screenshot image.

在本申请实施例中,由于展示的目标截图仅仅是截取的截图图片的缩略图,因此在删除缩略图后,用户终端还会将存储的截图图片删除。In the embodiment of the present application, since the target screenshot displayed is only a thumbnail of the captured screenshot image, after deleting the thumbnail, the user terminal will also delete the stored screenshot image.

S209、当所述滑动方向为第三方向时,展示针对所述目标截图的图片编辑页面。所述第三方向与所述第二方向以及所述第一方向不同。S209: When the sliding direction is a third direction, displaying a picture editing page for the target screenshot, wherein the third direction is different from the second direction and the first direction.

具体过程如步骤104所示,故在此不再赘述。The specific process is shown in step 104, so it will not be repeated here.

通过上述步骤,用户使用用户终端进行截图后,用户终端将会存储截图图片并将截图图片的缩略图以卡片形式展示于当前界面。用户终端在接收到用户针对目标截图的滑动指令后,将获取滑动指令对应的滑动方向来判断用户滑动的方向,并根据滑动方向的不同对目标截图进行切换、删除、编辑等操作。用户终端将根据滑动指令对应的滑动停留位置确定切换的参考截图。在删除目标截图前,用户终端将确定目标截图的显示时长是否超过预设时长。以此实现了用户能够直接对截图后终端中展示的目标截图进行操作处理,使用起来简单便捷,不需要进行多步操作处理才能完成。由于对目标截图进行操作的逻辑与手机通用的后台程序处理操作逻辑类似,用户学习使用成本低。Through the above steps, after the user uses the user terminal to take a screenshot, the user terminal will store the screenshot image and display the thumbnail of the screenshot image in the form of a card on the current interface. After receiving the user's sliding instruction for the target screenshot, the user terminal will obtain the sliding direction corresponding to the sliding instruction to determine the direction of the user's sliding, and switch, delete, edit, and other operations on the target screenshot according to the different sliding directions. The user terminal will determine the reference screenshot for switching according to the sliding stop position corresponding to the sliding instruction. Before deleting the target screenshot, the user terminal will determine whether the display time of the target screenshot exceeds the preset time. In this way, the user can directly operate the target screenshot displayed in the terminal after the screenshot is taken, which is simple and convenient to use and does not require multiple steps to complete. Since the logic of operating the target screenshot is similar to the background program processing operation logic commonly used in mobile phones, the user's learning and use cost is low.

下面将结合附图11,对本申请实施例提供的截图处理装置进行详细介绍。需要说明的是,附图11所示的截图处理装置,用于执行本申请图1、图7所示实施例的方法,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请图1、图7所示的实施例。The screenshot processing device provided in the embodiment of the present application will be described in detail below in conjunction with FIG. 11. It should be noted that the screenshot processing device shown in FIG. 11 is used to execute the method of the embodiment shown in FIG. 1 and FIG. 7 of the present application. For the convenience of description, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the embodiment shown in FIG. 1 and FIG. 7 of the present application.

请参见图11,图11是本申请实施例提供的一种截图处理装置的结构示意图。如图11所示,所述装置包括:Please refer to Figure 11, which is a schematic diagram of the structure of a screenshot processing device provided in an embodiment of the present application. As shown in Figure 11, the device includes:

接收模块1101,用于接收针对当前界面上所显示的目标截图的滑动指令,获取所述滑动指令对应的滑动方向;The receiving module 1101 is used to receive a sliding instruction for a target screenshot displayed on the current interface, and obtain a sliding direction corresponding to the sliding instruction;

第一方向确定模块1102,用于当所述滑动方向为第一方向时,切换所述目标截图;A first direction determining module 1102, configured to switch the target screenshot when the sliding direction is a first direction;

第二方向确定模块1103,用于当所述滑动方向为第二方向时,删除所述目标截图;所述第二方向与所述第一方向不同;A second direction determining module 1103, configured to delete the target screenshot when the sliding direction is a second direction; the second direction is different from the first direction;

第三方向确定模块1104,用于当所述滑动方向为第三方向时,展示针对所述目标截图的图片编辑页面;所述第三方向与所述第二方向以及所述第一方向不同。The third direction determining module 1104 is used to display a picture editing page for the target screenshot when the sliding direction is a third direction; the third direction is different from the second direction and the first direction.

在一种可实施方式中,所述装置还包括:In one possible implementation, the device further comprises:

存储模块,用于接收针对当前界面的截屏指令,生成并存储截图图片;The storage module is used to receive the screenshot instruction for the current interface, generate and store the screenshot image;

确定模块,用于获取所述截图图片的缩略图,将所述缩略图确定为目标截图;A determination module, used to obtain a thumbnail of the screenshot image and determine the thumbnail as a target screenshot;

显示模块,用于以卡片形式在当前界面上显示所述目标截图。The display module is used to display the target screenshot in the form of a card on the current interface.

在一种可实施方式中,所述第一方向确定模块1102具体用于:In one possible implementation, the first direction determining module 1102 is specifically configured to:

当所述滑动方向为第一方向时,获取所述滑动指令对应的滑动停留位置;When the sliding direction is the first direction, obtaining a sliding stop position corresponding to the sliding instruction;

在卡片集合中确定所述滑动停留位置对应的参考截图,将所述目标截图切换为所述参考截图。Determine a reference screenshot corresponding to the sliding stop position in the card set, and switch the target screenshot to the reference screenshot.

在一种可实施方式中,所述第二方向确定模块1103包括:In one possible implementation, the second direction determining module 1103 includes:

展示单元,用于当所述滑动方向为第二方向时,展示针对所述目标截图的删除控件;A display unit, configured to display a delete control for the target screenshot when the sliding direction is a second direction;

接收单元,用于接收针对所述删除控件的确认指令,关闭所述删除控件并删除所述目标截图。The receiving unit is used to receive a confirmation instruction for the deletion control, close the deletion control and delete the target screenshot.

在一种可实施方式中,所述接收单元还用于:In one possible implementation, the receiving unit is further used for:

删除所述截图图片。Delete the screenshot image.

在一种可实施方式中,所述展示单元具体用于:In one possible implementation, the display unit is specifically used for:

当所述滑动方向为第二方向时,获取所述目标截图对应的显示时长;When the sliding direction is the second direction, obtaining the display time duration corresponding to the target screenshot;

当所述显示时长小于第一预设时长时,展示针对所述目标截图的删除控件。When the display time is less than a first preset time, a delete control for the target screenshot is displayed.

在一种可实施方式中,所述装置还包括:In one embodiment, the device further comprises:

获取模块,用于接收针对所述目标截图的按压指令,获取所述按压指令对应的持续按压时长;An acquisition module, configured to receive a pressing instruction for the target screenshot, and acquire a continuous pressing duration corresponding to the pressing instruction;

操作模块,用于当所述持续按压时长大于第二预设时长时,对所述目标截图对应的显示画面进行长截图操作。The operation module is used to perform a long screenshot operation on the display screen corresponding to the target screenshot when the continuous pressing time is greater than a second preset time.

在一种可实施方式中,所述装置还包括:In one embodiment, the device further comprises:

编辑模块,用于在图片编辑页面上接收编辑指令,生成编辑图片;The editing module is used to receive editing instructions on the picture editing page and generate the edited picture;

删除模块,用于展示针对所述编辑图片对应的目标截图的删除控件。The deletion module is used to display a deletion control for the target screenshot corresponding to the edited image.

在一种可实施方式中,所述第一方向为左右方向,所述第二方向为向上方向,所述第三方向为向下方向。In one possible implementation, the first direction is a left-right direction, the second direction is an upward direction, and the third direction is a downward direction.

本领域的技术人员可以清楚地了解到本申请实施例的技术方案可借助软件和/或硬件来实现。本说明书中的“单元”和“模块”是指能够独立完成或与其他部件配合完成特定功能的软件和/或硬件,其中硬件例如可以是现场可编程门阵列(Field-ProgrammableGate Array,FPGA)、集成电路(Integrated Circuit,IC)等。Those skilled in the art can clearly understand that the technical solutions of the embodiments of the present application can be implemented with the help of software and/or hardware. The "unit" and "module" in this specification refer to software and/or hardware that can independently complete or cooperate with other components to complete specific functions, where the hardware can be, for example, a field programmable gate array (Field-Programmable Gate Array, FPGA), an integrated circuit (Integrated Circuit, IC), etc.

本申请实施例的各处理单元和/或模块,可通过实现本申请实施例所述的功能的模拟电路而实现,也可以通过执行本申请实施例所述的功能的软件而实现。Each processing unit and/or module of the embodiments of the present application may be implemented by an analog circuit that implements the functions described in the embodiments of the present application, or may be implemented by software that executes the functions described in the embodiments of the present application.

参见图12,其示出了本申请实施例所涉及的一种电子设备的结构示意图,该电子设备可以用于实施图1、图7所示实施例中的方法。如图12所示,电子设备1200可以包括:至少一个中央处理器1201,至少一个网络接口1204,用户接口1203,存储器1205,至少一个通信总线1202。Referring to FIG12, it shows a schematic diagram of the structure of an electronic device involved in an embodiment of the present application, and the electronic device can be used to implement the methods in the embodiments shown in FIG1 and FIG7. As shown in FIG12, the electronic device 1200 may include: at least one central processor 1201, at least one network interface 1204, a user interface 1203, a memory 1205, and at least one communication bus 1202.

其中,通信总线1202用于实现这些组件之间的连接通信。The communication bus 1202 is used to realize the connection and communication between these components.

其中,用户接口1203可以包括显示屏(Display)、摄像头(Camera),可选用户接口1203还可以包括标准的有线接口、无线接口。The user interface 1203 may include a display screen (Display) and a camera (Camera), and the optional user interface 1203 may also include a standard wired interface and a wireless interface.

其中,网络接口1204可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。The network interface 1204 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

其中,中央处理器1201可以包括一个或者多个处理核心。中央处理器1201利用各种接口和线路连接整个终端1200内的各个部分,通过运行或执行存储在存储器1205内的指令、程序、代码集或指令集,以及调用存储在存储器1205内的数据,执行终端1200的各种功能和处理数据。可选的,中央处理器1201可以采用数字信号处理(Digital SignalProcessing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。中央处理器1201可集成中央中央处理器(Central Processing Unit,CPU)、图像中央处理器(GraphicsProcessing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示屏所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到中央处理器1201中,单独通过一块芯片进行实现。Among them, the central processing unit 1201 may include one or more processing cores. The central processing unit 1201 uses various interfaces and lines to connect various parts in the entire terminal 1200, and executes various functions and processes data of the terminal 1200 by running or executing instructions, programs, code sets or instruction sets stored in the memory 1205, and calling data stored in the memory 1205. Optionally, the central processing unit 1201 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The central processing unit 1201 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics central processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the central processing unit 1201, and it can be implemented separately through a chip.

其中,存储器1205可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。可选的,该存储器1205包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器1205可用于存储指令、程序、代码、代码集或指令集。存储器1205可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等;存储数据区可存储上面各个方法实施例中涉及到的数据等。存储器1205可选的还可以是至少一个位于远离前述中央处理器1201的存储装置。如图12所示,作为一种计算机存储介质的存储器1205中可以包括操作系统、网络通信模块、用户接口模块以及程序指令。Among them, the memory 1205 may include a random access memory (Random Access Memory, RAM), and may also include a read-only memory (Read-Only Memory). Optionally, the memory 1205 includes a non-transitory computer-readable storage medium. The memory 1205 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 1205 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above various method embodiments, etc. The memory 1205 may also be at least one storage device located away from the aforementioned central processor 1201. As shown in Figure 12, the memory 1205 as a computer storage medium may include an operating system, a network communication module, a user interface module and program instructions.

在图12所示的电子设备1200中,用户接口1203主要用于为用户提供输入的接口,获取用户输入的数据;而处理器1201可以用于调用存储器1205中存储的截图处理应用程序,并具体执行以下操作:In the electronic device 1200 shown in FIG. 12 , the user interface 1203 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 1201 can be used to call the screenshot processing application stored in the memory 1205 and specifically perform the following operations:

接收针对当前界面上所显示的目标截图的滑动指令,获取所述滑动指令对应的滑动方向;Receiving a sliding instruction for a target screenshot displayed on the current interface, and obtaining a sliding direction corresponding to the sliding instruction;

当所述滑动方向为第一方向时,切换所述目标截图;When the sliding direction is the first direction, switching the target screenshot;

当所述滑动方向为第二方向时,删除所述目标截图;所述第二方向与所述第一方向不同;When the sliding direction is a second direction, deleting the target screenshot; the second direction is different from the first direction;

当所述滑动方向为第三方向时,展示针对所述目标截图的图片编辑页面;所述第三方向与所述第二方向以及所述第一方向不同。When the sliding direction is a third direction, a picture editing page for the target screenshot is displayed; the third direction is different from the second direction and the first direction.

本申请还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述方法的步骤。其中,计算机可读存储介质可以包括但不限于任何类型的盘,包括软盘、光盘、DVD、CD-ROM、微型驱动器以及磁光盘、ROM、RAM、EPROM、EEPROM、DRAM、VRAM、闪速存储器设备、磁卡或光卡、纳米系统(包括分子存储器IC),或适合于存储指令和/或数据的任何类型的媒介或设备。The present application also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD, a CD-ROM, a micro drive, and a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and/or data.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些服务接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in the present application, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which 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 service interfaces, and the indirect coupling or communication connection of devices or units can be electrical 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.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If 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 memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk, etc., and other media that can store program codes.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通进程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(Random AccessMemory,RAM)、磁盘或光盘等。A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by entering a program to instruct related hardware. The program may be stored in a computer-readable memory, and the memory may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

以上所述者,仅为本公开的示例性实施例,不能以此限定本公开的范围。即但凡依本公开教导所作的等效变化与修饰,皆仍属本公开涵盖的范围内。本领域技术人员在考虑说明书及实践这里的公开后,将容易想到本公开的其实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未记载的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的范围和精神由权利要求限定。The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure here, those skilled in the art will easily think of the implementation scheme of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field not recorded in the present disclosure. The description and examples are only regarded as exemplary, and the scope and spirit of the present disclosure are defined by the claims.

Claims (11)

1.一种截图处理方法,其特征在于,包括:1. A screenshot processing method, characterized by comprising: 接收针对当前界面上所显示的目标截图的滑动指令,获取所述滑动指令对应的滑动方向;Receiving a sliding instruction for a target screenshot displayed on the current interface, and obtaining a sliding direction corresponding to the sliding instruction; 当所述滑动方向为第一方向时,切换所述目标截图为历史时刻截取的参考截图;When the sliding direction is the first direction, switching the target screenshot to a reference screenshot taken at a historical moment; 当所述滑动方向为第二方向时,删除所述目标截图;所述第二方向与所述第一方向不同;When the sliding direction is a second direction, deleting the target screenshot; the second direction is different from the first direction; 当所述滑动方向为第三方向时,展示针对所述目标截图的图片编辑页面;所述第三方向与所述第二方向以及所述第一方向不同;When the sliding direction is a third direction, displaying a picture editing page for the target screenshot; the third direction is different from the second direction and the first direction; 其中,所述当所述滑动方向为第一方向时,切换所述目标截图为历史时刻截取的参考截图,包括:Wherein, when the sliding direction is the first direction, switching the target screenshot to a reference screenshot captured at a historical moment includes: 当所述滑动方向为第一方向时,获取所述滑动指令对应的滑动停留位置;When the sliding direction is the first direction, obtaining a sliding stop position corresponding to the sliding instruction; 在卡片集合中确定所述滑动停留位置对应的参考截图,将所述目标截图切换为所述参考截图;所述卡片集合用于指示以卡片形式展现于用户终端屏幕上的截图集合。Determine a reference screenshot corresponding to the sliding stop position in a card set, and switch the target screenshot to the reference screenshot; the card set is used to indicate a screenshot set displayed in the form of a card on the user terminal screen. 2.根据权利要求1所述的方法,其特征在于,所述接收针对当前界面上所显示的目标截图的滑动指令,获取所述滑动指令对应的滑动方向之前,还包括:2. The method according to claim 1, characterized in that before receiving the sliding instruction for the target screenshot displayed on the current interface and obtaining the sliding direction corresponding to the sliding instruction, it also includes: 接收针对当前界面的截屏指令,生成并存储截图图片;Receive screenshot instructions for the current interface, generate and store screenshot images; 获取所述截图图片的缩略图,将所述缩略图确定为目标截图;Obtaining a thumbnail of the screenshot image, and determining the thumbnail as a target screenshot; 以卡片形式在当前界面上显示所述目标截图。The target screenshot is displayed on the current interface in the form of a card. 3.根据权利要求2所述的方法,其特征在于,所述当所述滑动方向为第二方向时,删除所述目标截图,包括:3. The method according to claim 2, characterized in that when the sliding direction is the second direction, deleting the target screenshot comprises: 当所述滑动方向为第二方向时,展示针对所述目标截图的删除控件;When the sliding direction is the second direction, displaying a delete control for the target screenshot; 接收针对所述删除控件的确认指令,关闭所述删除控件并删除所述目标截图。A confirmation instruction for the deletion control is received, the deletion control is closed, and the target screenshot is deleted. 4.根据权利要求3所述的方法,其特征在于,所述接收针对所述删除控件的确认指令之后,还包括:4. The method according to claim 3, characterized in that after receiving the confirmation instruction for deleting the control, it also includes: 删除所述截图图片。Delete the screenshot image. 5.根据权利要求3所述的方法,其特征在于,所述当所述滑动方向为第二方向时,展示针对所述目标截图的删除控件,包括:5. The method according to claim 3, characterized in that when the sliding direction is the second direction, displaying a delete control for the target screenshot comprises: 当所述滑动方向为第二方向时,获取所述目标截图对应的显示时长;When the sliding direction is the second direction, obtaining the display time duration corresponding to the target screenshot; 当所述显示时长小于第一预设时长时,展示针对所述目标截图的删除控件。When the display time is less than a first preset time, a delete control for the target screenshot is displayed. 6.根据权利要求1所述的方法,其特征在于,所述接收针对当前界面上所显示的目标截图的滑动指令,获取所述滑动指令对应的滑动方向之后,还包括:6. The method according to claim 1, characterized in that after receiving a sliding instruction for a target screenshot displayed on the current interface and obtaining a sliding direction corresponding to the sliding instruction, the method further comprises: 接收针对所述目标截图的按压指令,获取所述按压指令对应的持续按压时长;Receiving a pressing instruction for the target screenshot, and obtaining a continuous pressing duration corresponding to the pressing instruction; 当所述持续按压时长大于第二预设时长时,对所述目标截图对应的显示画面进行长截图操作。When the continuous pressing time is longer than a second preset time, a long screenshot operation is performed on the display screen corresponding to the target screenshot. 7.根据权利要求1所述的方法,其特征在于,所述当所述滑动方向为第三方向时,展示针对所述目标截图的图片编辑页面之后,还包括:7. The method according to claim 1, characterized in that when the sliding direction is the third direction, after displaying the picture editing page for the target screenshot, it also includes: 在图片编辑页面上接收编辑指令,基于所述编辑指令生成编辑图片;Receiving an editing instruction on a picture editing page, and generating an edited picture based on the editing instruction; 展示针对所述编辑图片对应的目标截图的删除控件。A delete control for the target screenshot corresponding to the edited image is displayed. 8.根据权利要求1-7任一项所述的方法,其特征在于,所述第一方向为左右方向,所述第二方向为向上方向,所述第三方向为向下方向。8. The method according to any one of claims 1 to 7, characterized in that the first direction is a left-right direction, the second direction is an upward direction, and the third direction is a downward direction. 9.一种截图处理装置,其特征在于,包括:9. A screenshot processing device, comprising: 接收模块,用于接收针对当前界面上所显示的目标截图的滑动指令,获取所述滑动指令对应的滑动方向;A receiving module, used to receive a sliding instruction for a target screenshot displayed on the current interface, and obtain a sliding direction corresponding to the sliding instruction; 第一方向确定模块,用于当所述滑动方向为第一方向时,切换所述目标截图为历史时刻截取的参考截图;A first direction determining module, configured to switch the target screenshot to a reference screenshot taken at a historical moment when the sliding direction is the first direction; 第二方向确定模块,用于当所述滑动方向为第二方向时,删除所述目标截图;所述第二方向与所述第一方向不同;A second direction determining module, configured to delete the target screenshot when the sliding direction is a second direction; the second direction is different from the first direction; 第三方向确定模块,用于当所述滑动方向为第三方向时,展示针对所述目标截图的图片编辑页面;所述第三方向与所述第二方向以及所述第一方向不同;A third direction determination module, configured to display a picture editing page for the target screenshot when the sliding direction is a third direction; the third direction is different from the second direction and the first direction; 其中,所述第一方向确定模块具体用于:当所述滑动方向为第一方向时,获取所述滑动指令对应的滑动停留位置;在卡片集合中确定所述滑动停留位置对应的参考截图,将所述目标截图切换为所述参考截图;所述卡片集合用于指示以卡片形式展现于用户终端屏幕上的截图集合。Among them, the first direction determination module is specifically used to: when the sliding direction is the first direction, obtain the sliding stop position corresponding to the sliding instruction; determine the reference screenshot corresponding to the sliding stop position in the card set, and switch the target screenshot to the reference screenshot; the card set is used to indicate a screenshot collection displayed in the form of cards on the user terminal screen. 10.一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1-8任一项所述方法的步骤。10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method according to any one of claims 1 to 8 when executing the computer program. 11.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1-8任一项所述方法的步骤。11. A computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
CN202011065430.3A 2020-09-30 2020-09-30 Screenshot processing method, device, electronic device and storage medium Active CN112130738B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011065430.3A CN112130738B (en) 2020-09-30 2020-09-30 Screenshot processing method, device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011065430.3A CN112130738B (en) 2020-09-30 2020-09-30 Screenshot processing method, device, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN112130738A CN112130738A (en) 2020-12-25
CN112130738B true CN112130738B (en) 2024-09-06

Family

ID=73843724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011065430.3A Active CN112130738B (en) 2020-09-30 2020-09-30 Screenshot processing method, device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN112130738B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113360067A (en) * 2021-06-21 2021-09-07 维沃移动通信(杭州)有限公司 Screenshot cleaning method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105549891A (en) * 2016-01-12 2016-05-04 努比亚技术有限公司 Screenshot method based on back pressure sensor and mobile terminal
CN110764673A (en) * 2018-07-28 2020-02-07 华为技术有限公司 Method for scrolling screen capture and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105975170B (en) * 2016-06-20 2018-10-19 财付通支付科技有限公司 A kind of method and device of page load

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105549891A (en) * 2016-01-12 2016-05-04 努比亚技术有限公司 Screenshot method based on back pressure sensor and mobile terminal
CN110764673A (en) * 2018-07-28 2020-02-07 华为技术有限公司 Method for scrolling screen capture and electronic equipment

Also Published As

Publication number Publication date
CN112130738A (en) 2020-12-25

Similar Documents

Publication Publication Date Title
CN105955607B (en) Content sharing method and device
JP7042917B2 (en) Message processing method, unread message display method, and computer terminal
CN106658141B (en) A video processing method and mobile terminal
WO2019007227A1 (en) Method and apparatus for continuing to display view after switching pages
EP2565769A2 (en) Apparatus and method for changing an icon in a portable terminal
CN108549522A (en) It takes pictures setting method, device, mobile terminal and computer readable storage medium
US20130152024A1 (en) Electronic device and page zooming method thereof
CN111770288B (en) Video editing method, device, terminal and storage medium
CN105760102B (en) Terminal interaction control method and device and application program interaction control method
WO2017014800A1 (en) Video editing on mobile platform
US20140143717A1 (en) Electronic device and page zooming method thereof
CN106406739A (en) Note generating method and mobile terminal
CN113986083B (en) File processing method and electronic device
CN108984093A (en) Touch operation method and device, storage medium and electronic equipment
WO2020186814A1 (en) Page element highlighting method, apparatus, device and storage medium
CN106101597A (en) The image pickup method of a kind of video that fixes and mobile terminal
US20150264309A1 (en) Playback of Interconnected Videos
TWI595407B (en) Electronic apparatus and display switching method
CN110598027B (en) Image processing effect display method and device, electronic equipment and storage medium
CN110753251A (en) Video switching method and device and electronic equipment
CN112130738B (en) Screenshot processing method, device, electronic device and storage medium
KR101776674B1 (en) Apparatus for editing video and the operation method
WO2023030306A1 (en) Method and apparatus for video editing, and electronic device
WO2024153191A1 (en) Video generation method and apparatus, electronic device, and medium
CN105786365A (en) A photo album operation method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant