WO2020063091A1 - Picture processing method and terminal device - Google Patents

Picture processing method and terminal device Download PDF

Info

Publication number
WO2020063091A1
WO2020063091A1 PCT/CN2019/098264 CN2019098264W WO2020063091A1 WO 2020063091 A1 WO2020063091 A1 WO 2020063091A1 CN 2019098264 W CN2019098264 W CN 2019098264W WO 2020063091 A1 WO2020063091 A1 WO 2020063091A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
input
terminal device
screenshot
picture
Prior art date
Application number
PCT/CN2019/098264
Other languages
French (fr)
Chinese (zh)
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 WO2020063091A1 publication Critical patent/WO2020063091A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/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

Definitions

  • Embodiments of the present invention relate to the field of communications technologies, and in particular, to a picture processing method and a terminal device.
  • a user can trigger a terminal device to take a screenshot of the terminal device's display screen to obtain a screenshot image containing the content displayed on the display screen.
  • the user can trigger the terminal device to process the screen shot image through various sub-functions in the screen capture function to obtain the processed picture; for example, the user can trigger the terminal device to perform the graffiti processing on the screen shot image through the graffiti sub function in the screen capture function , Or the user can trigger the terminal device to trim the screenshot picture by using the trim sub-function in the screenshot function.
  • the trimming sub-function the user can trigger the terminal device to trim a region from the screenshot picture through the trimming sub-function to obtain a picture containing the region.
  • the pictures obtained by the trimming sub-function in the screenshot function may include areas that the user does not want to keep. If these areas are to be trimmed, the picture processing software in the terminal device can be used to The picture is reprocessed to trim out these areas. This results in tedious and complicated processing of screenshots.
  • Embodiments of the present invention provide a picture processing method and a terminal device, so as to solve the problem of tedious and complicated processing of the existing screen shot pictures.
  • the present invention is implemented as follows:
  • an embodiment of the present invention provides a picture processing method, which is applied to a terminal device.
  • the method includes: receiving a first input from a user on the screen shot interface when the screen shot interface of the terminal device displays a target screen shot picture. And in response to the first input, determining N target regions in the target screenshot, and generating a target image according to the content of the N target regions, where N is an integer greater than or equal to 2.
  • an embodiment of the present invention provides a terminal device.
  • the terminal device includes a receiving module and a processing module.
  • the receiving module is configured to receive a first input of the user on the screen capture interface when the screen capture interface of the terminal device displays the target screen capture image;
  • the processing module is configured to determine the target screen capture in response to the first input received by the receiving module.
  • N target regions in the picture and generate a target picture according to the content of the N target regions, where N may be an integer greater than or equal to 2.
  • an embodiment of the present invention provides a terminal device.
  • the terminal device includes a processor, a memory, and a computer program stored on the memory and executable on the processor.
  • the computer program is executed by the processor, the first embodiment is implemented. Steps of the picture processing method in one aspect.
  • an embodiment of the present invention provides a computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the steps of the picture processing method in the first aspect are implemented.
  • N in the target screenshot image is determined in response to the first input.
  • Target areas and generate a target picture according to the content of the N target areas (N may be an integer greater than or equal to 2).
  • Target areas namely, the N target areas described above
  • target pictures according to the contents of the at least two target areas (ie, the content required by the user), so it can be directly extracted from the target screenshot pictures displayed on the screenshot interface
  • the content that meets the user's needs is produced, that is, the content in the target picture that is finally generated is all that meets the user's needs.
  • the user only needs to input the picture displayed during the screen capture process to trigger the terminal device to process the picture displayed during the screen capture process to meet user needs, and the terminal The device can synthesize the processed one or more pictures to obtain a screenshot picture that meets the user's needs, without having to process the screenshot picture by other picture processing software, thereby simplifying the process of processing the screenshot picture.
  • FIG. 1 is a schematic structural diagram of a possible Android operating system according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a picture processing method according to an embodiment of the present invention.
  • FIG. 3 is one of the interface schematic diagrams of an application of a picture processing method according to an embodiment of the present invention.
  • FIG. 4 is a second schematic interface diagram of an application of a picture processing method according to an embodiment of the present invention.
  • FIG. 5 is a third schematic interface diagram of an application of a picture processing method according to an embodiment of the present invention.
  • FIG. 6 is a second schematic diagram of a picture processing method according to an embodiment of the present invention.
  • FIG. 7 is a third schematic diagram of a picture processing method according to an embodiment of the present invention.
  • FIG. 8 is a fourth schematic interface diagram of an application of a picture processing method according to an embodiment of the present invention.
  • FIG. 9 is a fifth schematic interface diagram of an application of a picture processing method according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a terminal device according to an embodiment of the present invention.
  • FIG. 11 is a second schematic structural diagram of a terminal device according to an embodiment of the present invention.
  • FIG. 12 is a hardware schematic diagram of a terminal device according to an embodiment of the present invention.
  • first and second in the specification and claims of this application are used to distinguish different objects, rather than to describe a specific order of the objects.
  • first input, the second input, etc. are used to distinguish different inputs, not to describe a specific order of the inputs.
  • words such as “exemplary” or “for example” are used as examples, illustrations or illustrations. Any embodiment or design described as “exemplary” or “for example” in the embodiments of the present invention should not be construed as more preferred or more advantageous than other embodiments or designs. Rather, the use of the words “exemplary” or “for example” is intended to present the relevant concept in a concrete manner.
  • a plurality refers to two or more than two, for example, a plurality of processing units refers to two or more processing units and the like.
  • An embodiment of the present invention provides a picture processing method and a terminal device.
  • a target screen shot image is displayed on a screen shot interface of the terminal device
  • a user's first input on the screen shot interface is received, and in response to the first input, a determination is made.
  • the N target regions in the target screenshot are generated according to the content of the N target regions (N may be an integer greater than or equal to 2).
  • Target areas namely, the N target areas described above
  • target pictures according to the contents of the at least two target areas (ie, the content required by the user), so it can be directly extracted from the target screenshot pictures displayed on the screenshot interface
  • the content that meets the user's needs is produced, that is, the content in the target picture that is finally generated is all that meets the user's needs.
  • the user only needs to input the picture displayed during the screen capture process to trigger the terminal device to process the picture displayed during the screen capture process to meet user needs, and the terminal The device can synthesize the processed one or more pictures to obtain a screenshot picture that meets the user's needs, without having to process the screenshot picture by other picture processing software, thereby simplifying the process of processing the screenshot picture.
  • the terminal device in the embodiment of the present invention may be a terminal device having an operating system.
  • the operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present invention.
  • an Android operating system is taken as an example to introduce a software environment applied to a picture processing method provided by an embodiment of the present invention.
  • FIG. 1 it is a schematic architecture diagram of a possible Android operating system provided by an embodiment of the present invention.
  • the architecture of the Android operating system includes 4 layers, respectively: an application program layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, it can be a Linux kernel layer).
  • the application layer includes various applications (including system applications and third-party applications) in the Android operating system.
  • the application framework layer is the framework of the application, and developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
  • the system runtime library layer includes a library (also called a system library) and an Android operating system operating environment.
  • the library mainly provides various resources needed by the Android operating system.
  • the Android operating system operating environment is used to provide a software environment for the Android operating system.
  • the kernel layer is the operating system layer of the Android operating system and belongs to the lowest layer of the Android operating system software layer.
  • the kernel layer is based on the Linux kernel and provides core system services and hardware-related drivers for the Android operating system.
  • a developer can develop a software program that implements the picture processing method provided by the embodiment of the present invention based on the system architecture of the Android operating system shown in FIG. 1, so that the picture The processing method can be based on the Android operating system shown in FIG. 1. That is, the processor or the terminal device can implement the picture processing method provided by the embodiment of the present invention by running the software program in an Android operating system.
  • the terminal device in this embodiment of the present invention may be a mobile terminal device or a non-mobile terminal device.
  • the mobile terminal device may be a mobile phone, a tablet computer, a laptop computer, a handheld computer, a car terminal device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant, PDA, etc.
  • the non-mobile terminal device may be a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which are not specifically limited in the embodiment of the present invention.
  • the execution subject of the picture processing method provided by the embodiment of the present invention may be the foregoing terminal device, or may be a functional module and / or a functional entity in the terminal device that can implement the picture processing method, which may be specifically determined according to actual use requirements.
  • the embodiment of the present invention is not limited. The following uses a terminal device as an example to describe a picture processing method provided by an embodiment of the present invention.
  • an embodiment of the present invention provides a picture processing method, and the picture processing method may include the following S200-S201.
  • the terminal device receives a first input from the user on the screenshot interface.
  • the user can input on the terminal device when the terminal device is in an unlocked state (for example, press the power button and the volume down button on the terminal device at the same time, or click on the terminal device "Screen capture” controls, etc.) to trigger the terminal device to take a screenshot of the terminal device's display.
  • an unlocked state for example, press the power button and the volume down button on the terminal device at the same time, or click on the terminal device "Screen capture" controls, etc.
  • the user may input a target screenshot picture displayed in the screenshot interface of the terminal device to trigger the terminal device to process the picture displayed in the screenshot interface to meet user requirements.
  • the above screen capture interface may be an interface during a long screen capture, a screen capture editing interface after a long screen capture, or a screen capture editing interface after a short screen capture, which may be specifically based on actual use requirements. It is determined that the embodiment of the present invention is not limited.
  • the above target screenshot picture may be a picture displayed during a long screenshot process, and the picture may be used to synthesize a long screenshot picture.
  • the terminal device can display the interface during the long screenshot process (that is, Screen capture interface described above), and pictures during the long screen capture process are displayed on this interface.
  • the screen capture interface may include an "exit” control, a "next screen” control, a “save” control, and the like.
  • the user can input the "Exit” control to trigger the terminal device to exit the screen capture interface; the user can also input to the "Next Screen” control to trigger the terminal device to take a screen shot of this screen image displayed during the long screen capture process to get this Screenshot of the screen, and the next screen picture in the long screen shot process is displayed on the interface; the user can also input the "Save” control to trigger the terminal device to synthesize one or more of the screen shot pictures obtained into a long screen picture, And save the long screenshot.
  • the screen capture interface may further include an "Undo” control, a “Resume” control, and the like (as shown by various icons in the top area 31 in FIG. 3). Furthermore, the user can input pictures displayed during the long screen capture process and input the above-mentioned controls to trigger the terminal device to process the pictures displayed during the long screen capture process to meet user requirements.
  • the above target screenshot picture may be a screenshot picture obtained by taking a short screenshot of the display screen of the terminal device (hereinafter referred to as a short screenshot picture), or a screenshot picture obtained by taking a long screenshot of the display screen by the terminal device. (Hereafter referred to as a long screenshot).
  • the short screenshot picture may include content obtained by taking a screenshot of the terminal device's display when the display screen displays an interface
  • the long screenshot picture may include content obtained by taking a screenshot of the terminal device's display when the display screen continuously displays multiple interfaces. .
  • the terminal device may display a screenshot editing interface on the display screen in response to the user's input, and display the screenshot picture (for example, the above target screenshot picture) on the screenshot editing interface.
  • the user can trigger the terminal device to perform trimming processing on the screen shot image through the trimming sub-function by inputting the "trim” control.
  • the user can trigger the terminal device to trim out multiple areas (or content in multiple areas) in the screenshot picture that the user does not need to retain through the trimming sub-function to obtain the target picture.
  • trim and splice multiple areas (or content within multiple areas) that the user needs to keep in the screenshot to get the target picture.
  • it can be determined according to actual use requirements, and the embodiment of the present invention is not limited.
  • the user can trigger the terminal device to take a screenshot of the terminal device's display screen and click the "long screenshot" control (or “scroll screenshot” control) in the screenshot function.
  • the terminal device may obtain a long screenshot picture (that is, the above target screenshot picture) in response to the user's input.
  • the user can click the "Edit” control in the screen capture function.
  • the terminal device can respond to the user's input to display the screen capture editing interface on the screen of the terminal device, and display the long screen on the screen capture editing interface.
  • a screenshot is taken, and the user can process the long screenshot in the screenshot editing interface.
  • FIG. 4 shows a schematic diagram of displaying a target screen shot image on a screen shot editing interface of a terminal device in a short screen shot form.
  • the terminal device may respond to the input and display a short screenshot picture and a screenshot function on the display screen.
  • the first sub-function controls such as the "share” control, the "edit” control, and the "long screen” control shown in (a) of FIG. 4.
  • the content in the short screenshot image is content obtained by taking a screenshot of the display screen of the terminal device when the display screen displays an interface.
  • the terminal device may respond to the user's input to display a screen-editing interface on the display screen, and display the short-screen image (that is, the above target screen-image) on the screen-editing interface.
  • the terminal device can also display various picture processing controls on the screen editing interface, such as the “trim” control, the “doodle” control, and the “mosaic” control shown in (b) of FIG. 4.
  • the terminal device may also display a second sub-function control of the screen capture function on the screen-editing interface, for example, in FIG.
  • the second sub-function control shown in the top area 41 of the display screen includes “ “Exit” control, "Undo” control, “Restore” control, “Share” control, “Save” control, etc. (as shown by each icon in the top area 41 in (b) in Fig. 4).
  • FIG. 5 shows a schematic diagram of displaying a target screenshot picture on a screenshot editing interface of a terminal device in a long screenshot form.
  • the terminal device may respond to the input and display a long screen shot image and a screen capture function.
  • the first sub-function control is, for example, a "share” control, an "edit” control, and a "delete” control shown in (a) of FIG. 5.
  • the content in the long screenshot may be content obtained by the terminal device taking a screenshot of the display screen when the display screen continuously displays multiple interfaces.
  • the terminal device may display a screen capture editing interface on the display screen and display the long screen capture image (that is, the above target screen capture image) on the screen capture editing interface in response to the user's input.
  • the terminal device can also display various picture processing controls on the screen editing interface, such as the “trim” control, “doodle” control, and “mosaic” control shown in (b) of FIG. 5.
  • the terminal device may also display a second sub-function control of the screen capture function on the screen-editing interface, for example, in FIG.
  • the second sub-function control shown in the top area 51 of the display screen includes " "Exit” control, "Undo” control, "Restore” control, "Share” control, “Save” control, etc. (as shown by each icon in the top area 51 in (b) in Fig. 5).
  • the first input of the user on the screen capture interface may be a tap input (such as a single-click input or a double-click input), or a long-press input (such as pressing a preset time on the screen capture interface). ), Can also be drag input, or any other possible input, which can be determined according to actual use requirements, which is not limited in the embodiment of the present invention.
  • the terminal device determines N target areas in the target screen shot picture; and generates a target picture according to the content of the N target areas.
  • N may be an integer greater than or equal to two.
  • M selection boxes may be displayed by default on the screenshot interface, where M may be a positive integer.
  • the M selection boxes can be used by the user to select the content of a region in the target screenshot.
  • the size and shape of the above M selection boxes and their positions on the screen capture interface can be set by the system by default or customized by the user as needed. Specifically, it can be determined according to actual use requirements.
  • This embodiment of the present invention does not make limited. It can be understood that the user may trigger the terminal device to drag the selection box to the target position by dragging the input to at least one of the M selection boxes, or may use the zoom input to at least one of the M selection boxes to Trigger the terminal device to scale the marquee to the target size.
  • the first input may include any one of (1) to (6) listed below: (1) drag input; (2) zoom input; (3) drag input And zoom input; (4) drag input and save input (for example, click the "Save” control); (5) zoom input and save input; (6) drag input, zoom input, and save input.
  • the terminal device when the target screenshot picture is displayed on the screenshot interface of the terminal device, the terminal device can receive the user's input (ie, the first input) to the selection box on the screenshot interface, In the case where the first input is not received within a preset time period (for example, 5 seconds), after the preset time period, the terminal device may respond to the first input to determine the N target areas in the target screenshot image, and according to the The content of the N target regions generates a target picture.
  • a preset time period for example, 5 seconds
  • the terminal device may respond to the user's input to the selection box on the screenshot interface and the "Save" control ( (Ie, the first input), determine N target regions in the target screenshot, and generate a target picture according to the content of the N target regions.
  • the first input may also include any other possible forms of input, such as the “undo” of the screen capture function.
  • the input of a sub-function control such as a control or a "restore" control may be specifically determined according to actual use requirements, and is not limited in the embodiment of the present invention.
  • the user can trigger the terminal device to determine at least two target areas (that is, the N target areas described above) in the target screenshot by using the input (that is, the first input described above), and according to the at least two targets,
  • the content of the area that is, the content required by the user
  • the target picture displayed on the screen capture interface, that is, the content of the target picture that is finally generated is Content that meets user needs.
  • a target screenshot picture is displayed on a screenshot interface of a terminal device
  • a user's first input on the screenshot interface is received, and the target screenshot picture is determined in response to the first input.
  • N target regions are generated according to the content of the N target regions (N may be an integer greater than or equal to 2).
  • Target areas namely, the N target areas described above
  • target pictures according to the contents of the at least two target areas (ie, the content required by the user), so it can be directly extracted from the target screenshot pictures displayed on the screenshot interface
  • the content that meets the user's needs is produced, that is, the content in the target picture that is finally generated is all that meets the user's needs.
  • the user only needs to input the picture displayed during the screen capture process to trigger the terminal device to process the picture displayed during the screen capture process to meet user needs, and the terminal The device can synthesize the processed one or more pictures to obtain a screenshot picture that meets the user's needs, without having to process the screenshot picture by other picture processing software, thereby simplifying the process of processing the screenshot picture.
  • the terminal device may also display the M selection boxes on the screen capture interface in response to the user's second input on the screen capture interface. Specifically, the terminal device may respond to the user's second input on the screen capture interface, and display M selection boxes (that is, at least two selection boxes) in the area corresponding to the second input, and then the terminal device may respond to the user on the screen capture interface.
  • the first input on the N target area is used to determine N target areas (that is, at least two target areas) in the target screenshot, so that the terminal device can generate a target picture according to the content of the N target areas.
  • the image processing method provided by the embodiment of the present invention may further include S202 and S203 described below.
  • the terminal device receives a second input from the user on the screenshot interface.
  • the user when the screen shot interface of the terminal device displays the target screen shot picture, the user may trigger the terminal device to display at least two check boxes in the area corresponding to the second input through the second input, and the check box may be used for The user selects the area in the target screenshot.
  • the terminal device In response to the second input, the terminal device displays M selection boxes in a region corresponding to the second input.
  • Each of the M selection boxes can correspond to a first area in the target screenshot, and each selection box can be used to select the content of a first area in the target screenshot.
  • M Can be a positive integer.
  • the first input received by the terminal device in the foregoing S200 may be used to trigger the terminal device to determine the N target areas through the M selection boxes.
  • the above selection frame may be superimposed and displayed on the target screenshot.
  • the selection frame may be superimposed and displayed on the target screenshot with a first transparency.
  • the first transparency is described as T1
  • the value range of T1 may be 0% ⁇ T1 ⁇ 100%.
  • the shape of the selection frame may be any possible shape such as rectangle, circle, triangle, diamond, or polygon, and may be specifically determined according to actual use requirements, which is not limited in the embodiment of the present invention.
  • the number of the above selection frames may be two, or three or more, which may be specifically determined according to actual use requirements, which are not limited in the embodiment of the present invention.
  • the second input may include M sub-inputs of the user on the screen capture interface (for example, sub-input 1, sub-input 2, ... sub-input M), and accordingly, the terminal device responds to the M For each sub-input, a selection box can be displayed in the area corresponding to each of the M sub-inputs.
  • the second input of the user on the screen capture interface may be a tap input (such as a single-click input or a double-click input), or a long-press input (such as pressing a preset time on the screen capture interface).
  • the preset time may be different from the preset time corresponding to the first input described in the above embodiment when the long-press input is used), or it may be a sliding input, or any other possible form of input, which can be specifically based on actual use
  • the requirements are determined, and the embodiments of the present invention are not limited.
  • the terminal device when the target screenshot picture is displayed on the screenshot interface of the terminal device, the terminal device receives a sub-input 1 (for example, After the user clicks an area in the target screenshot), the terminal device can respond to the sub-input 1 and display a marquee 1 in the area corresponding to the sub-input 1. The terminal device receives the user's sub-input 2 on the screenshot interface.
  • a sub-input 1 for example, After the user clicks an area in the target screenshot
  • the terminal device can respond to the sub-input 1 and display a marquee 1 in the area corresponding to the sub-input 1.
  • the terminal device receives the user's sub-input 2 on the screenshot interface.
  • the terminal device can respond to the sub-input 2 and display the selection box 2 in the area corresponding to the sub-input 2; in this way, the terminal device receives the user's After the sub-input M on the screenshot interface (for example, the user can click another area in the target screenshot picture), the terminal device may respond to the sub-input M and display a selection box M in the area corresponding to the sub-input M. Therefore, the terminal device may display M selection boxes in a region corresponding to the second input in response to the second input (including the M sub-inputs) on the screen capture interface of the user.
  • the terminal device may respond to the user's sliding input in different directions on the screen capture interface, and the second input corresponds to the second input.
  • the area displays different types of marquees with different effects.
  • the terminal device may respond to a user's rightward swipe input on the screen capture interface, and display a delete category check box in the area corresponding to the second input, which indicates deletion of the area and the content of the area, or the terminal device may respond to The user swipes an input to the left on the screen capture interface, and displays a reserved selection box indicating that the area and the content in the area are retained in the area corresponding to the second input.
  • it can be determined according to actual use requirements, and the embodiment of the present invention is not limited.
  • the user may trigger the terminal device to display different types of selection boxes in the selection box already displayed on the screen capture interface.
  • the terminal device may respond to the user's input of the reserved class selection box displayed on the screen capture interface.
  • the delete class marquee is displayed.
  • the terminal device may merge multiple selection boxes of the same type, of which the same type The overlapping areas of multiple selection boxes are merged into one area.
  • the terminal device may respond to the multiple sub-inputs of the user on the screen capture interface, and respectively display a selection box in the area corresponding to the multiple sub-inputs, which is convenient for the user to process the target screenshot picture on the screen capture interface. And because the user can process at least two areas in the target screenshot picture, based on being able to simplify the process of processing the screenshot picture, it improves the user's flexibility in using the terminal device to process the screenshot picture.
  • the above S203 may be specifically implemented by the following S203a.
  • the terminal device In response to the second input, the terminal device displays M selection boxes in a region corresponding to the second input in the first display state.
  • the terminal device may control both the selection frame and the selection frame to be displayed in the first display state.
  • the display state inside the selection box is the same as the display state outside the selection box, the user can determine the position of the selection box according to the boundary line of the selection box.
  • the terminal device may control the selection box to display in a first display state and the selection box to display in a second display state, wherein the first display state is different from the second display state.
  • the display state (that is, the first display state) in the M selection frames and the display state (that is, the second display state) of other regions except the M selection frames in the target screenshot may be different.
  • the first display state and the second display state may be represented by different color characteristics.
  • the first display state and the second display state may be distinguished and represented by at least one of color characteristics such as chroma, brightness, and saturation.
  • the first display state and the second display state are represented by brightness characteristics as an example (that is, the first display state indicates the first brightness and the second display state indicates the second brightness), then optionally, the first One brightness may be greater than the second brightness, or the above-mentioned first brightness may be smaller than the second brightness.
  • the inside of the selection box may be displayed at a default brightness
  • the outside of the selection box may be displayed at a brightness lower than the default brightness (for example, gray display); or, outside the selection box, it may be displayed at a default brightness.
  • the selection box can be displayed with a brightness higher than the default brightness (such as highlighting).
  • the inside of the selection box may be displayed at the default brightness, and the outside of the selection box may be displayed at a brightness higher than the default brightness (for example, highlighting); or the outside of the selection box may be displayed at the default brightness, the selection box Can be displayed at a brightness lower than the default brightness (for example, grayed out).
  • the default brightness for example, highlighting
  • the selection box Can be displayed at a brightness lower than the default brightness (for example, grayed out).
  • the terminal device may respond to the user's rightward swipe input on the target screenshot picture, and delete the category selection box with low brightness display (eg, gray display) in the area corresponding to the swipe right input.
  • low brightness display eg, gray display
  • the selection box is a deletion class selection box displayed after the user swipes right on the target screenshot picture, and the deletion class selection box is displayed with default brightness.
  • the terminal device may respond to the user's swipe left input on the target screenshot picture, and retain the category selection box in a high brightness display (eg, highlight display) in the area corresponding to the swipe left input.
  • a high brightness display eg, highlight display
  • the selection box is a reserved selection box displayed after the user swipes left on the target screenshot picture, and the reserved selection box is displayed with default brightness.
  • the reserved selection box Display at a brightness lower than the default brightness (for example, grayed out).
  • the delete category selection box is grayed out on the screen capture interface, and when the user swipes left to input on the screen capture interface, The screen capture interface highlights the reserved class selection box as an example for illustration.
  • the inside and outside of the selection box can be controlled to be displayed in different display states, which is convenient for the user to identify the selected multiple areas when multiple areas are selected on the target screen shot image, thereby making it easier for the user to
  • the target screenshot is processed to improve the convenience of human-computer interaction.
  • the terminal device may control the selection frame to move on the target screenshot image in response to the user's dragging input to the selection frame, that is, the user may place the target screenshot image on the target screenshot image according to personal requirements.
  • the marquee is dragged in all directions.
  • the user can drag the selection box up or down, or drag the selection box left or right, or drag the selection box clockwise or counterclockwise.
  • clockwise direction, counterclockwise direction, up, down, left, and right are all based on the operation of the user on the display screen of the terminal device relative to the display screen of the terminal device or the terminal device.
  • the initial value of the size of the selection box may be set by the system by default, or may be customized by the user according to needs, and may be specifically determined according to actual use requirements, which is not limited in the embodiment of the present invention.
  • the selection box is a rectangular selection box as an example, and the initial values of the length and width of the rectangular selection box may be length 1 and width 1, respectively, or taking the selection box as a circular selection box as an example, the circular selection box
  • the initial value of the radius of the box may be radius 1.
  • the terminal device may respond to the user's rightward sliding input (ie, the second input) of the target screenshot image, and display a rectangular deletion class selection box of a default size in a region corresponding to the second input, as shown in graying in FIG. 8 As shown in the rectangular area.
  • the initial value of the size of the selection box can be adjusted (eg, reduced) adaptively.
  • the terminal device may control the selection box to be reduced or enlarged in response to a user's input to the selection box (for example, it may be a boundary line of the selection box).
  • the selection box is still a rectangular selection box as an example.
  • the user can drag any one of the four boundary lines of the rectangular selection box to trigger the terminal device to move the boundary line in the rectangular selection box. Reduction or enlargement of rectangular selection box.
  • the user can drag the upper border line of the rectangular selection box upward to trigger the terminal device to move the upper border line of the rectangular selection box upward, and then the rectangular selection box can be enlarged.
  • the user can also simultaneously drag or sequentially drag at least two of the four boundary lines of the rectangular selection box in different directions to trigger the terminal device to move the at least two boundary lines of the rectangular selection box, and further You can reduce or enlarge the rectangular marquee.
  • the user can drag the upper border line of the rectangular marquee box upward and drag the lower border line of the rectangular marquee box downward to trigger the terminal device to move the upper border line of the rectangular marquee box upward and the lower border line downward, and thus can Enlarge the rectangular marquee.
  • the above-mentioned second input and determining the N target areas in the target screen shot picture may be implemented in different ways.
  • the following takes three possible implementations (for example, the first possible implementation manner, the second possible implementation manner, and the third possible implementation manner described below) as examples, combining different forms of the second input and different
  • the picture processing method provided by the embodiment of the present invention is described exemplarily.
  • the above-mentioned M selection boxes may be reserved class selection boxes.
  • the N target regions may be M first regions corresponding to the M selection frames in the target screenshot.
  • the user can swipe left on the screen capture interface to select the M first regions (ie, the second input) in the target screen capture image, and the terminal device can respond to the second input and enter the second input in the second input.
  • Corresponding regions ie, M first regions
  • the M reserved selection boxes that is, M first regions
  • the terminal device can determine the M first regions (including the content that the user needs to keep) selected by the user as N target regions, and can generate the content including the content that the user needs to retain based on the content of the M first regions. Target picture.
  • the user can swipe left on the target screenshot picture, and the terminal device can respond to the user's swipe left input to display two retention class selection boxes in two areas (as shown in FIG. 8).
  • the highlighted rectangular area in (8) indicates that the content of the area needs to be retained).
  • the two reserved selection boxes correspond to two first regions.
  • the terminal device may determine the two first areas in the target screenshot picture as two target areas, and generate a target picture according to the content of the two target areas.
  • the above-mentioned M selection frames may be deletion-type selection frames.
  • the N target areas may be K second areas in the above target screenshot, and the K second areas The area is an area other than the M first areas corresponding to the M selection frames, and K may be an integer greater than or equal to 2.
  • the user can swipe input on the screen capture interface to the right to select the M first regions (ie, the second input) in the target screen capture image, and the terminal device can respond to the second input and input the second input in the second input.
  • Corresponding areas ie, M first areas
  • the areas in the picture other than the M first areas corresponding to the M selection frames ie, the K second areas
  • the terminal device may determine the K second regions (including the content that the user needs to keep) other than the M first regions (including the content that the user does not need to keep) selected as the N target regions, and may The content of the K second regions generates a target picture including content that the user needs to keep.
  • M selection boxes are all deletion-type selection boxes (for example, the user swipes the input on the target screenshot picture to the right) as an example.
  • the user can swipe right on the target screenshot picture, and the terminal device can respond to the user's swipe right input to display three delete category selection boxes in three areas (as shown in FIG. 8).
  • the gray rectangular area in (a) indicates that the content of the area can be trimmed off).
  • the area other than the above-mentioned three deletion-type selection boxes includes three areas (that is, three second areas).
  • the terminal device may determine the above three second areas in the target screenshot picture as three target areas, and generate a target picture according to the content of the three target areas.
  • the foregoing second input may include a first sub-input and a second sub-input.
  • the above M selection boxes may include K reserved class selection boxes corresponding to the first sub-input and M-K deletion class selection boxes corresponding to the second sub-input.
  • the class selection box can be nested and deleted in the reserved class selection box, and the class selection box can be nested in the deleted class selection box.
  • the above N target areas can be the target screenshots, except for the areas corresponding to the K retention class selection boxes, except for the areas corresponding to the MK deletion class selection boxes. Outside area. Further, the terminal device may generate a target picture according to the contents of the N target areas.
  • the terminal device may display K reserved selection boxes in response to the user's leftward sliding input on the target screenshot picture.
  • the terminal device may also display M-K deletion class selection boxes in response to the user's rightward sliding input in the K retention class selection boxes. In this way, the terminal device can display the deletion class selection box nested within the reserved class selection box.
  • the above N target regions may be the first target region and the second target region in the target screenshot, and the first target region may be the division class with MK deletion classes.
  • the area other than the area corresponding to the selection frame, the second target area may be an area corresponding to the K retention type selection frames among the areas corresponding to the MK deletion type selection frames, and M may be an integer greater than or equal to 2.
  • the terminal device may generate a target picture according to the contents of the N target areas.
  • the terminal device may display M-K deletion category selection boxes in response to a user's rightward swipe input on the target screenshot picture.
  • the terminal device may also display K retention class selection boxes in response to a user's leftward sliding input in the M-K deletion class selection boxes. In this way, the terminal device can display the reserved class selection box nested within the deleted class selection box.
  • the terminal device can determine the target screenshot area including the content that the user needs to keep as the target area, and the terminal device can generate the target picture including the content that the user needs to keep according to the content of the target area, thereby simplifying the processing of the screenshot image. Based on this process, users can further enhance the flexibility of using the terminal device to handle screenshots.
  • the step of the terminal device generating a target picture according to the contents of the N target areas may be specifically implemented by the following S201c and S201d.
  • S201c The terminal device generates N sub-pictures according to the contents of the N target areas.
  • S201d The terminal device stitches the N sub-pictures to obtain a target picture.
  • the terminal device may generate N sub-pictures correspondingly according to the content of the determined N target regions, and sequentially stitch the N sub-pictures (for example, using a stitching technique) to obtain the target picture.
  • the terminal device may display three deletion-type selection boxes (such as the gray rectangular area in (a) of FIG. 9) in response to the user's rightward sliding input.
  • the area other than the above-mentioned three deletion-type selection boxes includes three areas (that is, three second areas).
  • the terminal device may determine the above three second areas as the three target areas in the target screenshot picture, and may generate three sub-pictures based on the content of the three target areas, and the terminal device may stitch the three sub-pictures, A target picture as shown in (b) in FIG. 9 is obtained.
  • the terminal device may stitch multiple sub-pictures generated according to the content of multiple target areas to obtain the target picture, thereby further improving the flexibility of the user in processing the screenshot picture using the terminal device.
  • an embodiment of the present invention provides a terminal device 300.
  • the terminal device 300 may include a receiving module 301 and a processing module 302.
  • the receiving module 301 is configured to receive a first input of a user on the screen capture interface when the screen capture interface of the terminal device 300 displays a target screen shot image;
  • the processing module 302 is configured to respond to the first input received by the receiving module 301, Determine N target regions in the target screenshot, and generate a target image according to the content of the N target regions.
  • N may be an integer greater than or equal to 2.
  • the terminal device 300 provided by the embodiment of the present invention may further include a display module 303.
  • the receiving module 301 is further configured to receive a second input of the user on the screen capture interface before receiving the first input of the user;
  • the display module 303 is configured to respond to the second input received by the receiving module 301 and
  • the corresponding area displays M selection boxes, where each selection box can correspond to a first area in the target screenshot, and each selection box can be used to select a first area in the target screenshot.
  • M can be a positive integer.
  • the first input may be used to trigger the terminal device 300 to determine the N target areas through the M selection boxes.
  • all of the M selection boxes described above may be reserved selection boxes.
  • the N target areas may be M first areas corresponding to the M selection frames in the target screenshot.
  • the above-mentioned M selection boxes may all be delete-type selection boxes.
  • the N target regions may be K second regions in the target screenshot, and the K second regions are regions other than the M first regions corresponding to the M selection frames.
  • the second input may include a first sub-input and a second sub-input.
  • the M selection boxes may include K reserved selection boxes corresponding to the first sub-input and M-K deleted selection boxes corresponding to the second sub-input.
  • the above N target regions may be regions other than the regions corresponding to the M-K deletion class selection boxes in the region corresponding to the K retention class selection boxes in the target screenshot.
  • the N target areas may be the first target area and the second target area in the target screenshot, and the first target area may be an area other than the area corresponding to the MK deletion class selection frames.
  • the target area may be an area corresponding to the K retained selection boxes among the areas corresponding to the MK deleted selection boxes, and M may be an integer greater than or equal to 2.
  • the processing module 302 is specifically configured to generate N sub-pictures according to the content of the N target areas, and stitch the N sub-pictures to obtain the target picture.
  • the display module 303 is specifically configured to display the M selection boxes in the first display state in the area corresponding to the second input, and the display state in the M selection boxes and the target screenshot are divided by the M The display status of other areas outside the marquee can be different.
  • the above target screenshot picture may be a picture displayed during a long screenshot process, and the picture may be used to synthesize a long screenshot picture.
  • the target screenshot picture may be a long screenshot picture.
  • the terminal device provided by the embodiment of the present invention can implement the processes implemented by the terminal device in the foregoing method embodiments. To avoid repetition, details are not described herein again.
  • the terminal device provided by the embodiment of the present invention can receive a user's first input on the screen capture interface when the target screen shot image is displayed on the screen capture interface of the terminal device, and the terminal device can determine the target in response to the first input.
  • N target regions in the screenshot, and a target image is generated according to the content of the N target regions N may be an integer greater than or equal to 2).
  • Target areas namely, the N target areas described above
  • Target pictures namely, the N target areas described above
  • the content that meets the user's needs is produced, that is, the content in the target picture that is finally generated is all that meets the user's needs.
  • the user only needs to input the picture displayed during the long screen capture process to trigger the terminal device to process the picture displayed during the long screen capture process to meet user requirements.
  • the terminal device can synthesize the processed one or more pictures to obtain a long screenshot picture that meets the user's needs, without processing the screenshot picture by other picture processing software, thereby simplifying the process of processing the screenshot picture.
  • FIG. 12 is a schematic diagram of a hardware structure of a terminal device implementing various embodiments of the present invention.
  • the terminal device 800 includes, but is not limited to, a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, and a memory 809 , Processor 810, and power supply 811.
  • a radio frequency unit 801 includes, but is not limited to, a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, and a memory 809 , Processor 810, and power supply 811.
  • the terminal device may include more or fewer components than shown in the figure, or some components may be combined, or different components. Layout.
  • the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm
  • the user input unit 807 is configured to receive a first input of the user on the screen capture interface when the target screen capture picture is displayed on the screen capture interface of the terminal device; and the processor 810 is configured to respond to the first input received by the user input unit 807.
  • N target regions in the target screenshot are determined, and a target image is generated according to the content of the N target regions.
  • N may be an integer greater than or equal to 2.
  • An embodiment of the present invention provides a terminal device.
  • the terminal device may receive a first input from a user on the screen capture interface when the screen capture interface of the terminal device displays a target screen capture picture, and the terminal device may respond to the first input. , Determine N target regions in the target screenshot, and generate a target image according to the content of the N target regions (N may be an integer greater than or equal to 2).
  • N may be an integer greater than or equal to 2.
  • Target areas namely, the N target areas described above
  • Target pictures namely, the N target areas described above
  • the content that meets the user's needs is produced, that is, the content in the target picture that is finally generated is all that meets the user's needs.
  • the user only needs to input the picture displayed during the screen capture process to trigger the terminal device to process the picture displayed during the screen capture process to meet user needs, and the terminal The device can synthesize the processed pictures to obtain screenshots that meet user needs, without having to process the screenshots through other image processing software, thereby simplifying the process of processing screenshots.
  • the radio frequency unit 801 may be used to receive and send signals during the process of receiving and sending information or during a call. Specifically, the downlink data from the base station is received and processed by the processor 810; The uplink data is sent to the base station.
  • the radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 801 can also communicate with a network and other devices through a wireless communication system.
  • the terminal device provides users with wireless broadband Internet access through the network module 802, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into audio signals and output them as sound. Moreover, the audio output unit 803 may also provide audio output (for example, call signal reception sound, message reception sound, etc.) related to a specific function performed by the terminal device 800.
  • the audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 804 is used to receive audio or video signals.
  • the input unit 804 may include a graphics processing unit (GPU) 8041 and a microphone 8042.
  • the graphics processor 8041 pairs images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frames may be displayed on a display unit 806.
  • the image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802.
  • the microphone 8042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 801 in the case of a telephone call mode.
  • the terminal device 800 further includes at least one sensor 805, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 8061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 8061 and the display panel 8061 when the terminal device 800 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when it is stationary, which can be used to identify the attitude of the terminal device (such as horizontal and vertical screen switching, related games , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc .; sensor 805 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, Infrared sensors, etc. are not repeated here.
  • the display unit 806 is configured to display information input by the user or information provided to the user.
  • the display unit 806 may include a display panel 8061.
  • the display panel 8061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
  • the user input unit 807 may be used to receive inputted numeric or character information, and generate key signal inputs related to user settings and function control of the terminal device.
  • the user input unit 807 includes a touch panel 8071 and other input devices 8072.
  • Touch panel 8071 also known as touch screen, can collect user's touch operations on or near it (such as the user using a finger, stylus, etc. any suitable object or accessory on touch panel 8071 or near touch panel 8071 operating).
  • the touch panel 8071 may include a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, and detects the signal caused by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into contact coordinates, and sends it
  • the processor 810 receives and executes a command sent by the processor 810.
  • various types such as resistive, capacitive, infrared, and surface acoustic wave can be used to implement the touch panel 8071.
  • the user input unit 807 may further include other input devices 8072.
  • other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, and details are not described herein again.
  • the touch panel 8071 may be overlaid on the display panel 8061.
  • the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch panel 8071 transmits the touch operation to the processor 810 to determine the type of the touch event.
  • the type of event provides corresponding visual output on the display panel 8061.
  • the touch panel 8071 and the display panel 8061 are implemented as two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated. The implementation of the input and output functions of the terminal device is not specifically limited here.
  • the interface unit 808 is an interface for connecting an external device with the terminal device 800.
  • the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, and audio input / output (I / O) port, video I / O port, headphone port, and more.
  • the interface unit 808 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal device 800 or may be used to connect the terminal device 800 and the external Transfer data between devices.
  • the memory 809 may be used to store software programs and various data.
  • the memory 809 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application required by a function (such as a sound playback function, an image playback function, etc.), etc .; the storage data area may store data according to Data (such as audio data, phone book, etc.) created by the use of mobile phones.
  • the memory 809 may include a high-speed random access memory, and may further include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 810 is a control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire terminal device. By running or executing software programs and / or modules stored in the memory 809, and calling data stored in the memory 809, , To perform various functions of the terminal device and process data, so as to monitor the terminal device as a whole.
  • the processor 810 may include one or more processing units; optionally, the processor 810 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, etc.
  • the tuning processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 810.
  • the terminal device 800 may further include a power source 811 (such as a battery) for supplying power to various components.
  • a power source 811 such as a battery
  • the power source 811 may be logically connected to the processor 810 through a power management system, thereby implementing management of charging, discharging, and power consumption through the power management system. Management and other functions.
  • the terminal device 800 includes some functional modules that are not shown, and details are not described herein again.
  • an embodiment of the present invention further provides a terminal device, which includes a processor 810 and a memory 809 as shown in FIG. 12, and a computer program stored in the memory 809 and executable on the processor 810.
  • the computer When the program is executed by the processor 810, each process of the embodiment of the picture processing method is implemented, and the same technical effects can be achieved. To avoid repetition, details are not described herein again.
  • An embodiment of the present invention further provides a computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the processes of the foregoing image processing method embodiments are implemented, and the same technology can be achieved. Effect, in order to avoid repetition, it will not be repeated here.
  • the computer-readable storage medium may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
  • the methods in the above embodiments can be implemented by means of software plus a necessary universal hardware platform, and of course, also by hardware, but in many cases the former is better.
  • Implementation Based on such an understanding, the technical solution of the present invention, in essence, or a part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, The optical disc) includes a plurality of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the embodiments of the present invention.
  • a terminal device which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

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)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Disclosed are a picture processing method and a terminal device, which relate to the technical field of communications, and which solve the problem of a process for processing a screenshot picture in an existing terminal device being tedious and complex. The method comprises: when a screenshot interface of a terminal device displays a target screenshot picture, receiving a first input of a user on the screenshot interface; and in response to the first input, determining N target regions in the target screenshot picture, and generating a target picture according to the content of the N target regions, wherein N is an integer greater than or equal to 2. The method can be applied in a scenario in which a screenshot picture is processed.

Description

一种图片处理方法及终端设备Picture processing method and terminal equipment
本申请要求于2018年09月27日提交中国国家知识产权局、申请号为201811133596.7、申请名称为“一种图片处理方法及终端设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed on September 27, 2018 with the State Intellectual Property Office of China, with the application number 201811133596.7, and the application name being "a picture processing method and terminal device", the entire contents of which are incorporated herein by reference. In this application.
技术领域Technical field
本发明实施例涉及通信技术领域,尤其涉及一种图片处理方法及终端设备。Embodiments of the present invention relate to the field of communications technologies, and in particular, to a picture processing method and a terminal device.
背景技术Background technique
随着终端设备技术的不断发展,终端设备中的各个功能的应用越来越广泛。With the continuous development of terminal equipment technology, the application of various functions in terminal equipment is becoming more and more widespread.
以截屏功能为例,目前,用户可以触发终端设备对终端设备的显示屏截屏,以得到包含该显示屏上显示的内容的截屏图片。并且,用户可以触发终端设备通过截屏功能中的各个子功能对该截屏图片进行处理,以得到处理后的图片;例如用户可以触发终端设备通过截屏功能中的涂鸦子功能对该截屏图片进行涂鸦处理,或者用户可以触发终端设备通过截屏功能中的修剪子功能对该截屏图片进行修剪处理等。以修剪子功能为例,用户可以触发终端设备通过该修剪子功能从截屏图片中修剪一个区域,以得到包含该区域的图片。Taking the screenshot function as an example, at present, a user can trigger a terminal device to take a screenshot of the terminal device's display screen to obtain a screenshot image containing the content displayed on the display screen. In addition, the user can trigger the terminal device to process the screen shot image through various sub-functions in the screen capture function to obtain the processed picture; for example, the user can trigger the terminal device to perform the graffiti processing on the screen shot image through the graffiti sub function in the screen capture function , Or the user can trigger the terminal device to trim the screenshot picture by using the trim sub-function in the screenshot function. Taking the trimming sub-function as an example, the user can trigger the terminal device to trim a region from the screenshot picture through the trimming sub-function to obtain a picture containing the region.
然而,在上述截屏图片的处理方法中,通过截屏功能中的修剪子功能修剪得到的图片中可能包含用户不想保留的区域,如果要修剪掉这些区域,则可以通过终端设备中的图片处理软件对该图片进行二次处理,以修剪掉这些区域。这样导致截屏图片的处理过程繁琐且复杂。However, in the above-mentioned method for processing screenshot images, the pictures obtained by the trimming sub-function in the screenshot function may include areas that the user does not want to keep. If these areas are to be trimmed, the picture processing software in the terminal device can be used to The picture is reprocessed to trim out these areas. This results in tedious and complicated processing of screenshots.
发明内容Summary of the Invention
本发明实施例提供一种图片处理方法及终端设备,以解决现有截屏图片的处理过程繁琐且复杂的问题。Embodiments of the present invention provide a picture processing method and a terminal device, so as to solve the problem of tedious and complicated processing of the existing screen shot pictures.
为了解决上述技术问题,本发明是这样实现的:In order to solve the above technical problems, the present invention is implemented as follows:
第一方面,本发明实施例提供了一种图片处理方法,应用于终端设备,该方法包括:在终端设备的截屏界面显示目标截屏图片的情况下,接收用户在该截屏界面上的第一输入;并响应于该第一输入,确定该目标截屏图片中的N个目标区域,且根据该N个目标区域的内容,生成目标图片,N为大于或等于2的整数。In a first aspect, an embodiment of the present invention provides a picture processing method, which is applied to a terminal device. The method includes: receiving a first input from a user on the screen shot interface when the screen shot interface of the terminal device displays a target screen shot picture. And in response to the first input, determining N target regions in the target screenshot, and generating a target image according to the content of the N target regions, where N is an integer greater than or equal to 2.
第二方面,本发明实施例提供了一种终端设备,该终端设备包括接收模块和处理模块。接收模块,用于在终端设备的截屏界面显示目标截屏图片的情况下,接收用户在该截屏界面上的第一输入;处理模块,用于响应于接收模块接收的第一输入,确定该目标截屏图片中的N个目标区域;并根据该N个目标区域的内容,生成目标图片,N可以为大于或等于2的整数。In a second aspect, an embodiment of the present invention provides a terminal device. The terminal device includes a receiving module and a processing module. The receiving module is configured to receive a first input of the user on the screen capture interface when the screen capture interface of the terminal device displays the target screen capture image; the processing module is configured to determine the target screen capture in response to the first input received by the receiving module. N target regions in the picture; and generate a target picture according to the content of the N target regions, where N may be an integer greater than or equal to 2.
第三方面,本发明实施例提供了一种终端设备,该终端设备包括处理器、存储器及存储在存储器上并可在处理器上运行的计算机程序,该计算机程序被处理器执行时实现上述第一方面中的图片处理方法的步骤。According to a third aspect, an embodiment of the present invention provides a terminal device. The terminal device includes a processor, a memory, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, the first embodiment is implemented. Steps of the picture processing method in one aspect.
第四方面,本发明实施例提供了一种计算机可读存储介质,该计算机可读存储介质上存储计算机程序,该计算机程序被处理器执行时实现上述第一方面中的图片处理方法的步骤。According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the steps of the picture processing method in the first aspect are implemented.
在本发明实施例中,可以在终端设备的截屏界面显示目标截屏图片的情况下,接收用户在该截屏界面上的第一输入,并响应于该第一输入,确定该目标截屏图片中的N个目标区域,且根据该N个目标区域的内容,生成目标图片(N可以为大于或等于2的整数)。通过该方案,当用户需要对截屏图片处理,即用户触发终端设备在截屏界面显示目标截屏图片时,由于用户可以通过输入(即上述的第一输入)触发终端设备在目标截屏图片中确定至少两个目标区域(即上述的N个目标区域),并根据该至少两个目标区域的内容(即用户需求的内容),生成目标图片,因此,可以实现从截屏界面显示的目标截屏图片中直接提取出满足用户需求的内容,即使得最终生成的该目标图片中的内容均为满足用户需求的内容。如此,与现有技术相比,本发明实施例中,用户只需通过对截屏过程中显示的图片的输入,即可触发终端设备对截屏过程中显示的图片进行满足用户需求的处理,进而终端设备可以将处理后的一个或多个图片合成得到满足用户需求的截屏图片,而无需再通过其它图片处理软件对截屏图片进行处理,从而能够简化对截屏图片处理的过程。In the embodiment of the present invention, when the target screenshot image is displayed on the screenshot interface of the terminal device, a first input from the user on the screenshot interface is received, and N in the target screenshot image is determined in response to the first input. Target areas, and generate a target picture according to the content of the N target areas (N may be an integer greater than or equal to 2). With this solution, when the user needs to process the screenshot picture, that is, the user triggers the terminal device to display the target screenshot picture on the screenshot interface, because the user can trigger the terminal device to determine at least two in the target screenshot picture by input (that is, the first input described above). Target areas (namely, the N target areas described above), and generate target pictures according to the contents of the at least two target areas (ie, the content required by the user), so it can be directly extracted from the target screenshot pictures displayed on the screenshot interface The content that meets the user's needs is produced, that is, the content in the target picture that is finally generated is all that meets the user's needs. In this way, compared with the prior art, in the embodiment of the present invention, the user only needs to input the picture displayed during the screen capture process to trigger the terminal device to process the picture displayed during the screen capture process to meet user needs, and the terminal The device can synthesize the processed one or more pictures to obtain a screenshot picture that meets the user's needs, without having to process the screenshot picture by other picture processing software, thereby simplifying the process of processing the screenshot picture.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本发明实施例提供的一种可能的安卓操作系统的架构示意图;FIG. 1 is a schematic structural diagram of a possible Android operating system according to an embodiment of the present invention; FIG.
图2为本发明实施例提供的图片处理方法的示意图之一;2 is a schematic diagram of a picture processing method according to an embodiment of the present invention;
图3为本发明实施例提供的图片处理方法应用的界面示意图之一;FIG. 3 is one of the interface schematic diagrams of an application of a picture processing method according to an embodiment of the present invention; FIG.
图4为本发明实施例提供的图片处理方法应用的界面示意图之二;FIG. 4 is a second schematic interface diagram of an application of a picture processing method according to an embodiment of the present invention; FIG.
图5为本发明实施例提供的图片处理方法应用的界面示意图之三;FIG. 5 is a third schematic interface diagram of an application of a picture processing method according to an embodiment of the present invention; FIG.
图6为本发明实施例提供的图片处理方法的示意图之二;6 is a second schematic diagram of a picture processing method according to an embodiment of the present invention;
图7为本发明实施例提供的图片处理方法的示意图之三;7 is a third schematic diagram of a picture processing method according to an embodiment of the present invention;
图8为本发明实施例提供的图片处理方法应用的界面示意图之四;FIG. 8 is a fourth schematic interface diagram of an application of a picture processing method according to an embodiment of the present invention; FIG.
图9为本发明实施例提供的图片处理方法应用的界面示意图之五;FIG. 9 is a fifth schematic interface diagram of an application of a picture processing method according to an embodiment of the present invention; FIG.
图10为本发明实施例提供的终端设备的结构示意图之一;10 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
图11为本发明实施例提供的终端设备的结构示意图之二;11 is a second schematic structural diagram of a terminal device according to an embodiment of the present invention;
图12为本发明实施例提供的终端设备的硬件示意图。FIG. 12 is a hardware schematic diagram of a terminal device according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In the following, the technical solutions in the embodiments of the present invention will be clearly and completely described with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present application, but not all of them. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
本文中术语“和/或”,是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中符号“/”表示关联对象是或者的关系,例如A/B表示A或者B。The term "and / or" herein is an association relationship describing an associated object, which means that there can be three kinds of relationships, for example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone These three situations. The symbol "/" in this text indicates that the associated object is or, for example, A / B means A or B.
本申请的说明书和权利要求书中的术语“第一”和“第二”等是用于区别不同的对象,而不是用于描述对象的特定顺序。例如,第一输入和第二输入等是用于区别不 同的输入,而不是用于描述输入的特定顺序。The terms "first" and "second" in the specification and claims of this application are used to distinguish different objects, rather than to describe a specific order of the objects. For example, the first input, the second input, etc. are used to distinguish different inputs, not to describe a specific order of the inputs.
在本发明实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本发明实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present invention, words such as “exemplary” or “for example” are used as examples, illustrations or illustrations. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present invention should not be construed as more preferred or more advantageous than other embodiments or designs. Rather, the use of the words "exemplary" or "for example" is intended to present the relevant concept in a concrete manner.
在本发明实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个处理单元是指两个或者两个以上的处理单元等。In the description of the embodiments of the present invention, unless otherwise stated, the meaning of “a plurality” refers to two or more than two, for example, a plurality of processing units refers to two or more processing units and the like.
本发明实施例提供一种图片处理方法及终端设备,可以在终端设备的截屏界面显示目标截屏图片的情况下,接收用户在该截屏界面上的第一输入,并响应于该第一输入,确定该目标截屏图片中的N个目标区域,且根据该N个目标区域的内容,生成目标图片(N可以为大于或等于2的整数)。通过该方案,当用户需要对截屏图片处理,即用户触发终端设备在截屏界面显示目标截屏图片时,由于用户可以通过输入(即上述的第一输入)触发终端设备在目标截屏图片中确定至少两个目标区域(即上述的N个目标区域),并根据该至少两个目标区域的内容(即用户需求的内容),生成目标图片,因此,可以实现从截屏界面显示的目标截屏图片中直接提取出满足用户需求的内容,即使得最终生成的该目标图片中的内容均为满足用户需求的内容。如此,与现有技术相比,本发明实施例中,用户只需通过对截屏过程中显示的图片的输入,即可触发终端设备对截屏过程中显示的图片进行满足用户需求的处理,进而终端设备可以将处理后的一个或多个图片合成得到满足用户需求的截屏图片,而无需再通过其它图片处理软件对截屏图片进行处理,从而能够简化对截屏图片处理的过程。An embodiment of the present invention provides a picture processing method and a terminal device. When a target screen shot image is displayed on a screen shot interface of the terminal device, a user's first input on the screen shot interface is received, and in response to the first input, a determination is made. The N target regions in the target screenshot are generated according to the content of the N target regions (N may be an integer greater than or equal to 2). With this solution, when the user needs to process the screenshot picture, that is, the user triggers the terminal device to display the target screenshot picture on the screenshot interface, because the user can trigger the terminal device to determine at least two in the target screenshot picture by input (that is, the first input described above). Target areas (namely, the N target areas described above), and generate target pictures according to the contents of the at least two target areas (ie, the content required by the user), so it can be directly extracted from the target screenshot pictures displayed on the screenshot interface The content that meets the user's needs is produced, that is, the content in the target picture that is finally generated is all that meets the user's needs. In this way, compared with the prior art, in the embodiment of the present invention, the user only needs to input the picture displayed during the screen capture process to trigger the terminal device to process the picture displayed during the screen capture process to meet user needs, and the terminal The device can synthesize the processed one or more pictures to obtain a screenshot picture that meets the user's needs, without having to process the screenshot picture by other picture processing software, thereby simplifying the process of processing the screenshot picture.
本发明实施例中的终端设备可以为具有操作系统的终端设备。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本发明实施例不作具体限定。The terminal device in the embodiment of the present invention may be a terminal device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present invention.
下面以安卓操作系统为例,介绍一下本发明实施例提供的图片处理方法所应用的软件环境。In the following, an Android operating system is taken as an example to introduce a software environment applied to a picture processing method provided by an embodiment of the present invention.
如图1所示,为本发明实施例提供的一种可能的安卓操作系统的架构示意图。在图1中,安卓操作系统的架构包括4层,分别为:应用程序层、应用程序框架层、系统运行库层和内核层(具体可以为Linux内核层)。As shown in FIG. 1, it is a schematic architecture diagram of a possible Android operating system provided by an embodiment of the present invention. In FIG. 1, the architecture of the Android operating system includes 4 layers, respectively: an application program layer, an application framework layer, a system runtime layer, and a kernel layer (specifically, it can be a Linux kernel layer).
其中,应用程序层包括安卓操作系统中的各个应用程序(包括系统应用程序和第三方应用程序)。The application layer includes various applications (including system applications and third-party applications) in the Android operating system.
应用程序框架层是应用程序的框架,开发人员可以在遵守应用程序的框架的开发原则的情况下,基于应用程序框架层开发一些应用程序。The application framework layer is the framework of the application, and developers can develop some applications based on the application framework layer while complying with the development principles of the application framework.
系统运行库层包括库(也称为系统库)和安卓操作系统运行环境。库主要为安卓操作系统提供其所需的各类资源。安卓操作系统运行环境用于为安卓操作系统提供软件环境。The system runtime library layer includes a library (also called a system library) and an Android operating system operating environment. The library mainly provides various resources needed by the Android operating system. The Android operating system operating environment is used to provide a software environment for the Android operating system.
内核层是安卓操作系统的操作系统层,属于安卓操作系统软件层次的最底层。内核层基于Linux内核为安卓操作系统提供核心系统服务和与硬件相关的驱动程序。The kernel layer is the operating system layer of the Android operating system and belongs to the lowest layer of the Android operating system software layer. The kernel layer is based on the Linux kernel and provides core system services and hardware-related drivers for the Android operating system.
以安卓操作系统为例,本发明实施例中,开发人员可以基于上述如图1所示的安卓操作系统的系统架构,开发实现本发明实施例提供的图片处理方法的软件程序,从 而使得该图片处理方法可以基于如图1所示的安卓操作系统运行。即处理器或者终端设备可以通过在安卓操作系统中运行该软件程序实现本发明实施例提供的图片处理方法。Taking the Android operating system as an example, in the embodiment of the present invention, a developer can develop a software program that implements the picture processing method provided by the embodiment of the present invention based on the system architecture of the Android operating system shown in FIG. 1, so that the picture The processing method can be based on the Android operating system shown in FIG. 1. That is, the processor or the terminal device can implement the picture processing method provided by the embodiment of the present invention by running the software program in an Android operating system.
本发明实施例中的终端设备可以为移动终端设备,也可以为非移动终端设备。示例性的,移动终端设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动终端设备可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本发明实施例不作具体限定。The terminal device in this embodiment of the present invention may be a mobile terminal device or a non-mobile terminal device. Exemplarily, the mobile terminal device may be a mobile phone, a tablet computer, a laptop computer, a handheld computer, a car terminal device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant, PDA, etc., the non-mobile terminal device may be a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which are not specifically limited in the embodiment of the present invention.
本发明实施例提供的图片处理方法的执行主体可以为上述的终端设备,也可以为该终端设备中能够实现该图片处理方法的功能模块和/或功能实体,具体的可以根据实际使用需求确定,本发明实施例不作限定。下面以终端设备为例,对本发明实施例提供的图片处理方法进行示例性的说明。The execution subject of the picture processing method provided by the embodiment of the present invention may be the foregoing terminal device, or may be a functional module and / or a functional entity in the terminal device that can implement the picture processing method, which may be specifically determined according to actual use requirements. The embodiment of the present invention is not limited. The following uses a terminal device as an example to describe a picture processing method provided by an embodiment of the present invention.
如图2所示,本发明实施例提供一种图片处理方法,该图片处理方法可以包括下述的S200-S201。As shown in FIG. 2, an embodiment of the present invention provides a picture processing method, and the picture processing method may include the following S200-S201.
S200、在终端设备的截屏界面显示目标截屏图片的情况下,终端设备接收用户在该截屏界面上的第一输入。S200. In a case where the target screenshot image is displayed on the screenshot interface of the terminal device, the terminal device receives a first input from the user on the screenshot interface.
本发明实施例中,如果用户需要使用终端设备截屏,那么用户可以在终端设备处于解锁状态下时,在终端设备上输入(例如同时按压终端设备的电源键和音量减键、或者点击终端设备中的“截屏”控件等)以触发终端设备对终端设备的显示屏截屏。In the embodiment of the present invention, if the user needs to take a screenshot of the terminal device, the user can input on the terminal device when the terminal device is in an unlocked state (for example, press the power button and the volume down button on the terminal device at the same time, or click on the terminal device "Screen capture" controls, etc.) to trigger the terminal device to take a screenshot of the terminal device's display.
进一步的,用户可以对终端设备的截屏界面中显示的目标截屏图片输入,以触发终端设备对截屏界面中显示的图片进行满足用户需求的处理。Further, the user may input a target screenshot picture displayed in the screenshot interface of the terminal device to trigger the terminal device to process the picture displayed in the screenshot interface to meet user requirements.
可选的,本发明实施例中,上述截屏界面可以是长截屏过程中的界面,也可以是长截屏之后的截屏编辑界面,还可以是短截屏之后的截屏编辑界面,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in the embodiment of the present invention, the above screen capture interface may be an interface during a long screen capture, a screen capture editing interface after a long screen capture, or a screen capture editing interface after a short screen capture, which may be specifically based on actual use requirements. It is determined that the embodiment of the present invention is not limited.
可选的,上述目标截屏图片可以为长截屏过程中显示的一个图片,该图片可以用于合成长截屏图片。Optionally, the above target screenshot picture may be a picture displayed during a long screenshot process, and the picture may be used to synthesize a long screenshot picture.
示例性的,以截屏界面为长截屏过程中的界面为例,如图3所示,在用户触发终端设备对终端设备的显示屏长截屏之后,终端设备可以显示长截屏过程中的界面(即上述的截屏界面),并在该界面上显示长截屏过程中的图片。Exemplarily, taking the screenshot interface as the interface during the long screenshot process, as shown in FIG. 3, after the user triggers the terminal device to take a long screenshot of the terminal device's display screen, the terminal device can display the interface during the long screenshot process (that is, Screen capture interface described above), and pictures during the long screen capture process are displayed on this interface.
如图3所示,该截屏界面可以包括“退出”控件、“下一屏”控件和“保存”控件等。其中,用户可以对“退出”控件输入以触发终端设备退出该截屏界面;用户也可以对“下一屏”控件输入以触发终端设备对长截屏过程中显示的这一屏图片截屏,得到这一屏的截屏图片,并且在该界面上显示长截屏过程中的下一屏图片;用户还可以对“保存”控件输入以触发终端设备将得到的一个或多个截屏图片合成为一个长截屏图片,并保存该长截屏图片。该截屏界面还可以包括“撤销”控件和“恢复”控件等(如图3中的顶部区域31中的各个图标所示)。进而,用户可以对长截屏过程中显示的图片输入以及对上述控件的输入,以触发终端设备对长截屏过程中显示的图片进行满足用户需求的处理。As shown in FIG. 3, the screen capture interface may include an "exit" control, a "next screen" control, a "save" control, and the like. Among them, the user can input the "Exit" control to trigger the terminal device to exit the screen capture interface; the user can also input to the "Next Screen" control to trigger the terminal device to take a screen shot of this screen image displayed during the long screen capture process to get this Screenshot of the screen, and the next screen picture in the long screen shot process is displayed on the interface; the user can also input the "Save" control to trigger the terminal device to synthesize one or more of the screen shot pictures obtained into a long screen picture, And save the long screenshot. The screen capture interface may further include an "Undo" control, a "Resume" control, and the like (as shown by various icons in the top area 31 in FIG. 3). Furthermore, the user can input pictures displayed during the long screen capture process and input the above-mentioned controls to trigger the terminal device to process the pictures displayed during the long screen capture process to meet user requirements.
可选的,本发明实施例中,上述目标截屏图片可以是终端设备对显示屏短截屏得 到的截屏图片(以下称为短截屏图片),也可以是终端设备对显示屏长截屏得到的截屏图片(以下称为长截屏图片)。具体的,短截屏图片可以包括在显示屏显示一个界面时对终端设备的显示屏截屏得到的内容,长截屏图片可以包括在显示屏连续显示多个界面时对终端设备的显示屏截屏得到的内容。Optionally, in the embodiment of the present invention, the above target screenshot picture may be a screenshot picture obtained by taking a short screenshot of the display screen of the terminal device (hereinafter referred to as a short screenshot picture), or a screenshot picture obtained by taking a long screenshot of the display screen by the terminal device. (Hereafter referred to as a long screenshot). Specifically, the short screenshot picture may include content obtained by taking a screenshot of the terminal device's display when the display screen displays an interface, and the long screenshot picture may include content obtained by taking a screenshot of the terminal device's display when the display screen continuously displays multiple interfaces. .
示例性的,以截屏界面为长截屏或短截屏之后的截屏编辑界面为例,在终端设备对显示屏截屏得到截屏图片之后,用户可以在终端设备上输入(例如点击截屏功能中的“编辑”控件)以触发终端设备对该截屏图片进行处理。相应地,终端设备可以响应于用户的该输入,在显示屏上显示截屏编辑界面,并在该截屏编辑界面上显示该截屏图片(例如上述目标截屏图片)。Exemplarily, taking the screenshot interface as a screenshot editing interface after a long screenshot or a short screenshot, as an example, after the terminal device obtains a screenshot image of the display screenshot, the user can input on the terminal device (for example, click "Edit" in the screenshot function) Control) to trigger the terminal device to process the screenshot picture. Accordingly, the terminal device may display a screenshot editing interface on the display screen in response to the user's input, and display the screenshot picture (for example, the above target screenshot picture) on the screenshot editing interface.
可以理解,该截屏编辑界面上除了显示截屏图片之外,还可以显示用于处理截屏图片的各个图片处理控件(例如“修剪”控件,对应于截屏功能中的修剪子功能),进而用户可以根据个人需求,在该截屏编辑界面下选择不同的图片处理控件对该截屏图片进行处理。It can be understood that in addition to displaying screenshot pictures on the screenshot editing interface, various picture processing controls (such as “trim” controls corresponding to the trimming sub-functions in the screenshot function) for processing the screenshot pictures can also be displayed. Personal requirements, select different picture processing controls to process the screenshot in the screenshot editing interface.
示例性的,以上述“修剪”控件为例,用户可以通过对“修剪”控件输入,触发终端设备通过修剪子功能,对截屏图片进行修剪处理。具体的,本发明实施例提供的图片处理方法中,用户可以触发终端设备通过修剪子功能,将截屏图片中用户无需保留的多个区域(或者多个区域内的内容)修剪掉以得到目标图片,或者将截屏图片中用户需要保留的多个区域(或者多个区域内的内容)修剪并拼接得到目标图片。具体可以根据实际使用需求确定,本发明实施例不作限定。Exemplarily, taking the above-mentioned "trim" control as an example, the user can trigger the terminal device to perform trimming processing on the screen shot image through the trimming sub-function by inputting the "trim" control. Specifically, in the picture processing method provided by the embodiment of the present invention, the user can trigger the terminal device to trim out multiple areas (or content in multiple areas) in the screenshot picture that the user does not need to retain through the trimming sub-function to obtain the target picture. , Or trim and splice multiple areas (or content within multiple areas) that the user needs to keep in the screenshot to get the target picture. Specifically, it can be determined according to actual use requirements, and the embodiment of the present invention is not limited.
示例性的,以用户触发终端设备截屏得到长截屏图片为例,用户可以触发终端设备对终端设备的显示屏截屏,并点击截屏功能中的“长截屏”控件(或“滚动截屏”控件),终端设备可以响应于用户的该输入,获取长截屏图片(即上述目标截屏图片)。进一步的,用户可以点击截屏功能中的“编辑”控件,相应地,终端设备可以响应于用户的该输入,在终端设备的显示屏上显示截屏编辑界面,并在该截屏编辑界面上显示该长截屏图片,进而用户可以在该截屏编辑界面下对该长截屏图片进行处理。Exemplarily, taking a user triggering a screenshot of a terminal device to obtain a long screenshot picture as an example, the user can trigger the terminal device to take a screenshot of the terminal device's display screen and click the "long screenshot" control (or "scroll screenshot" control) in the screenshot function. The terminal device may obtain a long screenshot picture (that is, the above target screenshot picture) in response to the user's input. Further, the user can click the "Edit" control in the screen capture function. Accordingly, the terminal device can respond to the user's input to display the screen capture editing interface on the screen of the terminal device, and display the long screen on the screen capture editing interface. A screenshot is taken, and the user can process the long screenshot in the screenshot editing interface.
示例性的,先以短截屏为例进行说明,图4示出了在短截屏形式下,在终端设备的截屏编辑界面显示目标截屏图片的示意图。Exemplarily, a short screen shot is taken as an example for illustration. FIG. 4 shows a schematic diagram of displaying a target screen shot image on a screen shot editing interface of a terminal device in a short screen shot form.
具体的,在终端设备接收到用户的用于触发短截屏的输入之后,如图4中的(a)所示,终端设备可以响应于该输入,在显示屏上显示短截屏图片以及截屏功能的第一子功能控件,例如图4中的(a)所示的“分享”控件、“编辑”控件和“长截屏”控件等。其中,该短截屏图片中内容为在显示屏显示一个界面时对终端设备的显示屏截屏得到的内容。Specifically, after the terminal device receives a user's input for triggering a short screenshot, as shown in (a) of FIG. 4, the terminal device may respond to the input and display a short screenshot picture and a screenshot function on the display screen. The first sub-function controls, such as the "share" control, the "edit" control, and the "long screen" control shown in (a) of FIG. 4. The content in the short screenshot image is content obtained by taking a screenshot of the display screen of the terminal device when the display screen displays an interface.
若用户对“编辑”控件输入,那么终端设备可以响应于用户的该输入,在显示屏上显示截屏编辑界面,并在截屏编辑界面上显示该短截屏图片(即上述目标截屏图片)。并且,终端设备也可以在截屏编辑界面显示各个图片处理控件,例如图4中的(b)中示出的“修剪”控件、“涂鸦”控件和“马赛克”控件等。可选的,终端设备还可以在截屏编辑界面上显示截屏功能的第二子功能控件,例如图4中的(b)中,显示屏的顶部区域41示出的第二子功能控件,包括“退出”控件、“撤销”控件、“恢复”控件、“分享”控件和“保存”控件等(如图4中的(b)的顶部区域41中的各个图标所示)。If the user inputs an "edit" control, the terminal device may respond to the user's input to display a screen-editing interface on the display screen, and display the short-screen image (that is, the above target screen-image) on the screen-editing interface. In addition, the terminal device can also display various picture processing controls on the screen editing interface, such as the “trim” control, the “doodle” control, and the “mosaic” control shown in (b) of FIG. 4. Optionally, the terminal device may also display a second sub-function control of the screen capture function on the screen-editing interface, for example, in FIG. 4 (b), the second sub-function control shown in the top area 41 of the display screen includes “ "Exit" control, "Undo" control, "Restore" control, "Share" control, "Save" control, etc. (as shown by each icon in the top area 41 in (b) in Fig. 4).
再示例性的,再以长截屏为例进行说明,图5示出了在长截屏形式下,在终端设备的截屏编辑界面显示目标截屏图片的示意图。As another example, a long screenshot is taken as an example for illustration. FIG. 5 shows a schematic diagram of displaying a target screenshot picture on a screenshot editing interface of a terminal device in a long screenshot form.
具体的,在终端设备接收到用户的用于触发长截屏的输入之后,如图5中的(a)所示,终端设备可以响应于该输入,在显示屏上显示长截屏图片以及截屏功能的第一子功能控件,例如图5中的(a)所示的“分享”控件、“编辑”控件和“删除”控件等。其中,该长截屏图片中的内容可以为在显示屏连续显示多个界面时终端设备对显示屏截屏得到的内容。Specifically, after the terminal device receives a user's input for triggering a long screen capture, as shown in (a) of FIG. 5, the terminal device may respond to the input and display a long screen shot image and a screen capture function. The first sub-function control is, for example, a "share" control, an "edit" control, and a "delete" control shown in (a) of FIG. 5. The content in the long screenshot may be content obtained by the terminal device taking a screenshot of the display screen when the display screen continuously displays multiple interfaces.
若用户对“编辑”控件输入,那么终端设备可以响应于用户的该输入,在显示屏上显示截屏编辑界面,并在截屏编辑界面上显示该长截屏图片(即上述目标截屏图片)。并且,终端设备也可以在截屏编辑界面上显示各个图片处理控件,例如图5中的(b)中示出的“修剪”控件、“涂鸦”控件和“马赛克”控件等。可选的,终端设备还可以在截屏编辑界面上显示截屏功能的第二子功能控件,例如图5中的(b)中,显示屏的顶部区域51示出的第二子功能控件,包括“退出”控件、“撤销”控件、“恢复”控件、“分享”控件和“保存”控件等(如图5中的(b)中的顶部区域51中的各个图标所示)。If the user inputs an "edit" control, the terminal device may display a screen capture editing interface on the display screen and display the long screen capture image (that is, the above target screen capture image) on the screen capture editing interface in response to the user's input. In addition, the terminal device can also display various picture processing controls on the screen editing interface, such as the “trim” control, “doodle” control, and “mosaic” control shown in (b) of FIG. 5. Optionally, the terminal device may also display a second sub-function control of the screen capture function on the screen-editing interface, for example, in FIG. 5 (b), the second sub-function control shown in the top area 51 of the display screen includes " "Exit" control, "Undo" control, "Restore" control, "Share" control, "Save" control, etc. (as shown by each icon in the top area 51 in (b) in Fig. 5).
可选的,本发明实施例中,上述用户在截屏界面上的第一输入可以为点击输入(例如单击输入或双击输入),可以为长按输入(例如在截屏界面上按下预设时间),也可以为拖动输入,还可以是其它任意可能形式的输入,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in the embodiment of the present invention, the first input of the user on the screen capture interface may be a tap input (such as a single-click input or a double-click input), or a long-press input (such as pressing a preset time on the screen capture interface). ), Can also be drag input, or any other possible input, which can be determined according to actual use requirements, which is not limited in the embodiment of the present invention.
S201、终端设备响应于第一输入,确定目标截屏图片中的N个目标区域;并根据该N个目标区域的内容,生成目标图片。S201. In response to the first input, the terminal device determines N target areas in the target screen shot picture; and generates a target picture according to the content of the N target areas.
其中,N可以为大于或等于2的整数。Wherein, N may be an integer greater than or equal to two.
可选的,本发明实施例中,在终端设备的截屏界面显示目标截屏图片的情况下,在截屏界面上可以默认显示M个选取框,其中M可以为正整数。该M个选取框分别可以用于用户选中目标截屏图片中的一个区域的内容。Optionally, in the embodiment of the present invention, when the target screenshot image is displayed on the screenshot interface of the terminal device, M selection boxes may be displayed by default on the screenshot interface, where M may be a positive integer. The M selection boxes can be used by the user to select the content of a region in the target screenshot.
可选的,上述M个选取框的大小、形状及其在截屏界面上的位置可以由系统默认设置,也可以由用户根据需要自定义设置,具体可以根据实际使用需求确定,本发明实施例不作限定。可以理解,用户可以通过对M个选取框中的至少一者的拖动输入来触发终端设备将选取框拖动到目标位置,也可以通过对M个选取框中的至少一者的缩放输入来触发终端设备将选取框缩放到目标尺寸。Optionally, the size and shape of the above M selection boxes and their positions on the screen capture interface can be set by the system by default or customized by the user as needed. Specifically, it can be determined according to actual use requirements. This embodiment of the present invention does not make limited. It can be understood that the user may trigger the terminal device to drag the selection box to the target position by dragging the input to at least one of the M selection boxes, or may use the zoom input to at least one of the M selection boxes to Trigger the terminal device to scale the marquee to the target size.
可选的,本发明实施例中,上述第一输入可以包括以下列举的(1)-(6)中任一项:(1)拖动输入;(2)缩放输入;(3)拖动输入和缩放输入;(4)拖动输入和保存输入(例如点击“保存”控件);(5)缩放输入和保存输入;(6)拖动输入、缩放输入和保存输入。Optionally, in the embodiment of the present invention, the first input may include any one of (1) to (6) listed below: (1) drag input; (2) zoom input; (3) drag input And zoom input; (4) drag input and save input (for example, click the "Save" control); (5) zoom input and save input; (6) drag input, zoom input, and save input.
对于上述的(1)、(2)或(3):在终端设备的截屏界面显示目标截屏图片的情况下,终端设备可以接收用户对截屏界面上的选取框的输入(即第一输入),在预设时长(例如5秒)内未接收到第一输入的情况下,则在预设时长后,终端设备可以响应于第一输入,确定目标截屏图片中的N个目标区域,并根据该N个目标区域的内容,生成目标图片。For the above (1), (2), or (3): when the target screenshot picture is displayed on the screenshot interface of the terminal device, the terminal device can receive the user's input (ie, the first input) to the selection box on the screenshot interface, In the case where the first input is not received within a preset time period (for example, 5 seconds), after the preset time period, the terminal device may respond to the first input to determine the N target areas in the target screenshot image, and according to the The content of the N target regions generates a target picture.
对于上述的(4)、(5)或(6):在终端设备的截屏界面显示目标截屏图片的情况下,终端设备可以响应于用户对截屏界面上的选取框以及“保存”控件的输入(即第一输入),确定目标截屏图片中的N个目标区域,并根据该N个目标区域的内容,生成目标图片。For the above (4), (5), or (6): In the case where the target screenshot picture is displayed on the screenshot interface of the terminal device, the terminal device may respond to the user's input to the selection box on the screenshot interface and the "Save" control ( (Ie, the first input), determine N target regions in the target screenshot, and generate a target picture according to the content of the N target regions.
需要说明的是,为了便于说明,上面示例性地列举了第一输入的几种可能的形式,可 以理解,该第一输入还可以包括其它任意可能形式的输入,例如对截屏功能的“撤销”控件或“恢复”控件等子功能控件的输入,具体可以根据实际使用需求确定,本发明实施例不做限定。It should be noted that, for the convenience of description, the above has exemplarily listed several possible forms of the first input. It can be understood that the first input may also include any other possible forms of input, such as the “undo” of the screen capture function. The input of a sub-function control such as a control or a "restore" control may be specifically determined according to actual use requirements, and is not limited in the embodiment of the present invention.
本发明实施例中,由于用户可以通过输入(即上述的第一输入)触发终端设备在目标截屏图片中确定至少两个目标区域(即上述的N个目标区域),并根据该至少两个目标区域的内容(即用户需求的内容),生成目标图片,因此,可以实现从截屏界面显示的目标截屏图片中直接提取出满足用户需求的内容,即使得最终生成的该目标图片中的内容均为满足用户需求的内容。In the embodiment of the present invention, since the user can trigger the terminal device to determine at least two target areas (that is, the N target areas described above) in the target screenshot by using the input (that is, the first input described above), and according to the at least two targets, The content of the area (that is, the content required by the user) generates the target picture. Therefore, it is possible to directly extract the content that meets the user's needs from the target screenshot picture displayed on the screen capture interface, that is, the content of the target picture that is finally generated is Content that meets user needs.
本发明实施例提供的图片处理方法,可以在终端设备的截屏界面显示目标截屏图片的情况下,接收用户在该截屏界面上的第一输入,并响应于该第一输入,确定该目标截屏图片中的N个目标区域,且根据该N个目标区域的内容,生成目标图片(N可以为大于或等于2的整数)。通过该方案,当用户需要对截屏图片处理,即用户触发终端设备在截屏界面显示目标截屏图片时,由于用户可以通过输入(即上述的第一输入)触发终端设备在目标截屏图片中确定至少两个目标区域(即上述的N个目标区域),并根据该至少两个目标区域的内容(即用户需求的内容),生成目标图片,因此,可以实现从截屏界面显示的目标截屏图片中直接提取出满足用户需求的内容,即使得最终生成的该目标图片中的内容均为满足用户需求的内容。如此,与现有技术相比,本发明实施例中,用户只需通过对截屏过程中显示的图片的输入,即可触发终端设备对截屏过程中显示的图片进行满足用户需求的处理,进而终端设备可以将处理后的一个或多个图片合成得到满足用户需求的截屏图片,而无需再通过其它图片处理软件对截屏图片进行处理,从而能够简化对截屏图片处理的过程。According to the picture processing method provided in the embodiment of the present invention, when a target screenshot picture is displayed on a screenshot interface of a terminal device, a user's first input on the screenshot interface is received, and the target screenshot picture is determined in response to the first input. Of the N target regions, and a target picture is generated according to the content of the N target regions (N may be an integer greater than or equal to 2). With this solution, when the user needs to process the screenshot picture, that is, the user triggers the terminal device to display the target screenshot picture on the screenshot interface, because the user can trigger the terminal device to determine at least two in the target screenshot picture by input (that is, the first input described above). Target areas (namely, the N target areas described above), and generate target pictures according to the contents of the at least two target areas (ie, the content required by the user), so it can be directly extracted from the target screenshot pictures displayed on the screenshot interface The content that meets the user's needs is produced, that is, the content in the target picture that is finally generated is all that meets the user's needs. In this way, compared with the prior art, in the embodiment of the present invention, the user only needs to input the picture displayed during the screen capture process to trigger the terminal device to process the picture displayed during the screen capture process to meet user needs, and the terminal The device can synthesize the processed one or more pictures to obtain a screenshot picture that meets the user's needs, without having to process the screenshot picture by other picture processing software, thereby simplifying the process of processing the screenshot picture.
可选的,本发明实施例中,除了默认显示M个选取框之外,终端设备还可以响应于用户在截屏界面上的第二输入,在截屏界面上显示M个选取框。具体的,终端设备可以响应于用户在截屏界面上的第二输入,在该第二输入对应的区域显示M个选取框(即至少两个选取框),然后终端设备可以响应于用户在截屏界面上的第一输入,确定目标截屏图片中的N个目标区域(即至少两个目标区域),从而终端设备可以根据该N个目标区域的内容,生成目标图片。Optionally, in the embodiment of the present invention, in addition to displaying the M selection boxes by default, the terminal device may also display the M selection boxes on the screen capture interface in response to the user's second input on the screen capture interface. Specifically, the terminal device may respond to the user's second input on the screen capture interface, and display M selection boxes (that is, at least two selection boxes) in the area corresponding to the second input, and then the terminal device may respond to the user on the screen capture interface. The first input on the N target area is used to determine N target areas (that is, at least two target areas) in the target screenshot, so that the terminal device can generate a target picture according to the content of the N target areas.
示例性的,结合图2,如图6所示,在上述的S200中终端设备接收用户的第一输入之前,本发明实施例提供的图片处理方法还可以包括下述的S202和S203。For example, in conjunction with FIG. 2 and FIG. 6, before the terminal device receives the first input from the user in S200 described above, the image processing method provided by the embodiment of the present invention may further include S202 and S203 described below.
S202、在终端设备的截屏界面显示目标截屏图片的情况下,终端设备接收用户在截屏界面上的第二输入。S202. In a case where the target screenshot image is displayed on the screenshot interface of the terminal device, the terminal device receives a second input from the user on the screenshot interface.
本发明实施例中,在终端设备的截屏界面显示目标截屏图片的情况下,用户可以通过第二输入触发终端设备在该第二输入对应的区域显示至少两个选取框,该选取框可以用于用户选中目标截屏图片中的区域。In the embodiment of the present invention, when the screen shot interface of the terminal device displays the target screen shot picture, the user may trigger the terminal device to display at least two check boxes in the area corresponding to the second input through the second input, and the check box may be used for The user selects the area in the target screenshot.
S203、终端设备响应于第二输入,在该第二输入对应的区域显示M个选取框。S203. In response to the second input, the terminal device displays M selection boxes in a region corresponding to the second input.
其中,M个选取框中的每个选取框分别可以对应上述目标截屏图片中的一个第一区域,且每个选取框分别可以用于选中上述目标截屏图片中的一个第一区域的内容,M可以为正整数。Each of the M selection boxes can correspond to a first area in the target screenshot, and each selection box can be used to select the content of a first area in the target screenshot. M Can be a positive integer.
相应地,上述的S200中终端设备接收的第一输入可以用于触发终端设备通过该M 个选取框确定上述N个目标区域。Accordingly, the first input received by the terminal device in the foregoing S200 may be used to trigger the terminal device to determine the N target areas through the M selection boxes.
可选的,本发明实施例中,上述选取框可以叠加显示在目标截屏图片上。具体的,选取框可以以第一透明度叠加显示在目标截屏图片上。例如,如果上述第一透明度记为T1,那么T1的取值范围可以为0%<T1<100%。Optionally, in the embodiment of the present invention, the above selection frame may be superimposed and displayed on the target screenshot. Specifically, the selection frame may be superimposed and displayed on the target screenshot with a first transparency. For example, if the first transparency is described as T1, the value range of T1 may be 0% <T1 <100%.
可选的,本发明实施例中,上述选取框的形状可以为矩形、圆形、三角形、菱形或者多边形等任意可能的形状,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in the embodiment of the present invention, the shape of the selection frame may be any possible shape such as rectangle, circle, triangle, diamond, or polygon, and may be specifically determined according to actual use requirements, which is not limited in the embodiment of the present invention.
可选的,本发明实施例中,上述选取框的数量可以为2个,也可以为3个及3个以上,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in the embodiment of the present invention, the number of the above selection frames may be two, or three or more, which may be specifically determined according to actual use requirements, which are not limited in the embodiment of the present invention.
可选的,本发明实施例中,上述第二输入可以包括用户在该截屏界面上的M个子输入(例如子输入1、子输入2…子输入M),相应地,终端设备响应于该M个子输入,可以在该M个子输入中的每个子输入对应的区域分别显示一个选取框。Optionally, in the embodiment of the present invention, the second input may include M sub-inputs of the user on the screen capture interface (for example, sub-input 1, sub-input 2, ... sub-input M), and accordingly, the terminal device responds to the M For each sub-input, a selection box can be displayed in the area corresponding to each of the M sub-inputs.
可选的,本发明实施例中,上述用户在截屏界面上的第二输入可以为点击输入(例如单击输入或双击输入),可以为长按输入(例如在截屏界面上按下预设时间,该预设时间可以和上述实施例中描述的第一输入为长按输入时对应的预设时间不同),也可以为滑动输入,还可以是其它任意可能形式的输入,具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, in the embodiment of the present invention, the second input of the user on the screen capture interface may be a tap input (such as a single-click input or a double-click input), or a long-press input (such as pressing a preset time on the screen capture interface). , The preset time may be different from the preset time corresponding to the first input described in the above embodiment when the long-press input is used), or it may be a sliding input, or any other possible form of input, which can be specifically based on actual use The requirements are determined, and the embodiments of the present invention are not limited.
示例性的,以第二输入为点击输入为例,本发明实施例中,在终端设备的截屏界面显示目标截屏图片的情况下,在终端设备接收用户在该截屏界面上的子输入1(例如用户可以点击目标截屏图片中的一个区域)之后,终端设备可以响应于该子输入1,在该子输入1对应的区域显示选取框1;在终端设备接收用户在该截屏界面上的子输入2(例如用户可以点击目标截屏图片中的另一个区域)之后,终端设备可以响应于该子输入2,在该子输入2对应的区域显示选取框2;以此方式,在终端设备接收用户在该截屏界面上的子输入M(例如用户可以点击目标截屏图片中的又一个区域)之后,终端设备可以响应于该子输入M,在该子输入M对应的区域显示选取框M。由此,终端设备可以响应于用户在该截屏界面上的第二输入(包括上述M个子输入),在该第二输入对应的区域显示M个选取框。Exemplarily, taking the second input as a click input as an example, in the embodiment of the present invention, when the target screenshot picture is displayed on the screenshot interface of the terminal device, the terminal device receives a sub-input 1 (for example, After the user clicks an area in the target screenshot), the terminal device can respond to the sub-input 1 and display a marquee 1 in the area corresponding to the sub-input 1. The terminal device receives the user's sub-input 2 on the screenshot interface. (For example, the user can click another area in the target screenshot picture), the terminal device can respond to the sub-input 2 and display the selection box 2 in the area corresponding to the sub-input 2; in this way, the terminal device receives the user's After the sub-input M on the screenshot interface (for example, the user can click another area in the target screenshot picture), the terminal device may respond to the sub-input M and display a selection box M in the area corresponding to the sub-input M. Therefore, the terminal device may display M selection boxes in a region corresponding to the second input in response to the second input (including the M sub-inputs) on the screen capture interface of the user.
可选的,以第二输入为用户在截屏界面上的滑动输入为例,本发明实施例中,终端设备可以响应于用户在截屏界面上沿不同方向的滑动输入,在该第二输入对应的区域显示具有不同作用的不同类型的选取框。示例性的,终端设备可以响应于用户在截屏界面上的向右滑动输入,在该第二输入对应的区域显示表示删除该区域及该区域的内容的删除类选取框,或者终端设备可以响应于用户在截屏界面上的向左滑动输入,在该第二输入对应的区域显示表示保留该区域及区域内的内容的保留类选取框。具体可以根据实际使用需求确定,本发明实施例不作限定。Optionally, taking the second input as the user's sliding input on the screen capture interface as an example, in this embodiment of the present invention, the terminal device may respond to the user's sliding input in different directions on the screen capture interface, and the second input corresponds to the second input. The area displays different types of marquees with different effects. Exemplarily, the terminal device may respond to a user's rightward swipe input on the screen capture interface, and display a delete category check box in the area corresponding to the second input, which indicates deletion of the area and the content of the area, or the terminal device may respond to The user swipes an input to the left on the screen capture interface, and displays a reserved selection box indicating that the area and the content in the area are retained in the area corresponding to the second input. Specifically, it can be determined according to actual use requirements, and the embodiment of the present invention is not limited.
可选的,本发明实施例中,用户可以触发终端设备在截屏界面上已显示的选取框内显示不同类型的选取框。示例性的,如果用户在截屏界面上已显示的保留类选取框内向右滑动输入(即第二输入),则终端设备可以响应于用户的该输入,在截屏界面上已显示的保留类选取框内显示删除类选取框。Optionally, in the embodiment of the present invention, the user may trigger the terminal device to display different types of selection boxes in the selection box already displayed on the screen capture interface. Exemplarily, if the user slides an input (that is, the second input) to the right of the reserved class selection box displayed on the screen capture interface, the terminal device may respond to the user's input of the reserved class selection box displayed on the screen capture interface. The delete class marquee is displayed.
可选的,本发明实施例中,如果同一类型(例如上述的删除类选取框或保留类选取框)的多个选取框重叠,则终端设备可以合并同一类型的多个选取框,其中同一类型的多个选 取框中的重叠区域被合并为一个区域。Optionally, in the embodiment of the present invention, if multiple selection boxes of the same type (for example, the above-mentioned delete class selection box or reserved class selection box) overlap, the terminal device may merge multiple selection boxes of the same type, of which the same type The overlapping areas of multiple selection boxes are merged into one area.
本发明实施例中,终端设备可以响应于用户在截屏界面上的多个子输入,在该多个子输入对应的区域分别显示选取框,便于用户在截屏界面上对目标截屏图片进行处理。并且由于用户可以针对目标截屏图片中至少两个区域进行处理,因此可以在能够简化对截屏图片处理的过程的基础上,提升了用户使用终端设备处理截屏图片的灵活性。In the embodiment of the present invention, the terminal device may respond to the multiple sub-inputs of the user on the screen capture interface, and respectively display a selection box in the area corresponding to the multiple sub-inputs, which is convenient for the user to process the target screenshot picture on the screen capture interface. And because the user can process at least two areas in the target screenshot picture, based on being able to simplify the process of processing the screenshot picture, it improves the user's flexibility in using the terminal device to process the screenshot picture.
可选的,结合图6,如图7所示,上述的S203具体可以通过下述的S203a实现。Optionally, in conjunction with FIG. 6, as shown in FIG. 7, the above S203 may be specifically implemented by the following S203a.
S203a、终端设备响应于第二输入,以第一显示状态在第二输入对应的区域显示M个选取框。S203a. In response to the second input, the terminal device displays M selection boxes in a region corresponding to the second input in the first display state.
可选的,本发明实施例中,终端设备可以控制选取框内和选取框外均以第一显示状态显示。在此情况下,由于选取框内的显示状态与选取框外的显示状态相同,因此用户可以根据选取框的边界线来确定选取框的位置。Optionally, in the embodiment of the present invention, the terminal device may control both the selection frame and the selection frame to be displayed in the first display state. In this case, since the display state inside the selection box is the same as the display state outside the selection box, the user can determine the position of the selection box according to the boundary line of the selection box.
可选的,本发明实施例中,终端设备可以控制选取框内以第一显示状态显示,选取框外以第二显示状态显示,其中,第一显示状态与第二显示状态不同。具体的,上述M个选取框内的显示状态(即第一显示状态)与目标截屏图片中除该M个选取框之外的其它区域的显示状态(即第二显示状态)可以不同。Optionally, in the embodiment of the present invention, the terminal device may control the selection box to display in a first display state and the selection box to display in a second display state, wherein the first display state is different from the second display state. Specifically, the display state (that is, the first display state) in the M selection frames and the display state (that is, the second display state) of other regions except the M selection frames in the target screenshot may be different.
可选的,本发明实施例中,上述第一显示状态和第二显示状态可以以不同的颜色特征表示。例如,上述第一显示状态和第二显示状态可以分别以色度、亮度和饱和度等颜色特征中的至少一者区分表示。Optionally, in the embodiment of the present invention, the first display state and the second display state may be represented by different color characteristics. For example, the first display state and the second display state may be distinguished and represented by at least one of color characteristics such as chroma, brightness, and saturation.
示例性的,假设以第一显示状态和第二显示状态用亮度特征表示为例(即第一显示状态指示第一亮度,第二显示状态指示第二亮度),那么可选的,上述的第一亮度可以大于第二亮度,或者,上述的第一亮度可以小于第二亮度。具体的,若第一亮度大于第二亮度,那么选取框内可以以默认亮度显示,选取框外可以以低于默认亮度的亮度显示(例如置灰显示);或者,选取框外可以以默认亮度显示,选取框内可以以高于默认亮度的亮度显示(例如高亮显示)。若第一亮度小于第二亮度,那么选取框内可以以默认亮度显示,选取框外可以以高于默认亮度的亮度显示(例如高亮显示);或者选取框外可以以默认亮度显示,选取框内可以以低于默认亮度的亮度显示(例如置灰显示)。具体的,可以根据实际使用需求确定,本发明实施例不作限定。Exemplarily, assuming that the first display state and the second display state are represented by brightness characteristics as an example (that is, the first display state indicates the first brightness and the second display state indicates the second brightness), then optionally, the first One brightness may be greater than the second brightness, or the above-mentioned first brightness may be smaller than the second brightness. Specifically, if the first brightness is greater than the second brightness, the inside of the selection box may be displayed at a default brightness, and the outside of the selection box may be displayed at a brightness lower than the default brightness (for example, gray display); or, outside the selection box, it may be displayed at a default brightness. Display, the selection box can be displayed with a brightness higher than the default brightness (such as highlighting). If the first brightness is smaller than the second brightness, the inside of the selection box may be displayed at the default brightness, and the outside of the selection box may be displayed at a brightness higher than the default brightness (for example, highlighting); or the outside of the selection box may be displayed at the default brightness, the selection box Can be displayed at a brightness lower than the default brightness (for example, grayed out). Specifically, it may be determined according to actual use requirements, which are not limited in the embodiment of the present invention.
可选的,本发明实施例中,终端设备可以响应于用户在目标截屏图片上的向右滑动输入,在向右滑动输入对应的区域以低亮度显示(例如置灰显示)删除类选取框。示例性的,如图8中的(a)所示,假设选取框为用户在目标截屏图片上的向右滑动输入后显示的删除类选取框,该删除类选取框外以默认亮度显示,该删除类选取框内以低于默认亮度的亮度显示(例如置灰显示)。Optionally, in the embodiment of the present invention, the terminal device may respond to the user's rightward swipe input on the target screenshot picture, and delete the category selection box with low brightness display (eg, gray display) in the area corresponding to the swipe right input. For example, as shown in (a) of FIG. 8, it is assumed that the selection box is a deletion class selection box displayed after the user swipes right on the target screenshot picture, and the deletion class selection box is displayed with default brightness. Delete the category selection box and display it at a brightness lower than the default brightness (for example, display it in gray).
可选的,本发明实施例中,终端设备可以响应于用户在目标截屏图片上的向左滑动输入,在向左滑动输入对应的区域以高亮度显示(例如高亮显示)保留类选取框。如图8中的(b)所示,假设选取框为用户在目标截屏图片上的向左滑动输入后显示的保留类选取框,该保留类选取框内以默认亮度显示,该保留类选取框外以低于默认亮度的亮度显示(例如置灰显示)。Optionally, in the embodiment of the present invention, the terminal device may respond to the user's swipe left input on the target screenshot picture, and retain the category selection box in a high brightness display (eg, highlight display) in the area corresponding to the swipe left input. As shown in (b) of FIG. 8, it is assumed that the selection box is a reserved selection box displayed after the user swipes left on the target screenshot picture, and the reserved selection box is displayed with default brightness. The reserved selection box Display at a brightness lower than the default brightness (for example, grayed out).
需要说明的是,本发明上下文中均以在用户在截屏界面上的向右滑动输入时,在截屏界面置灰显示删除类选取框,以及在用户在截屏界面上的向左滑动输入时,在截屏界面高 亮显示保留类选取框为例进行示例性的说明。It should be noted that in the context of the present invention, when the user swipes to the right on the screen capture interface, the delete category selection box is grayed out on the screen capture interface, and when the user swipes left to input on the screen capture interface, The screen capture interface highlights the reserved class selection box as an example for illustration.
本发明实施例中,可以通过控制选取框内和选取框外以不同的显示状态显示,便于用户在目标截屏图片上选中多个区域的情况下辨识已选中的多个区域,进而更易于用户对目标截屏图片进行处理,从而可以提升人机交互的便捷性。In the embodiment of the present invention, the inside and outside of the selection box can be controlled to be displayed in different display states, which is convenient for the user to identify the selected multiple areas when multiple areas are selected on the target screen shot image, thereby making it easier for the user to The target screenshot is processed to improve the convenience of human-computer interaction.
可选的,本发明实施例中,终端设备可以响应于用户对选取框的拖动输入,控制选取框在目标截屏图片上移动,也就是说,用户可以根据个人需求,在目标截屏图片上将选取框向各个方向拖动。Optionally, in the embodiment of the present invention, the terminal device may control the selection frame to move on the target screenshot image in response to the user's dragging input to the selection frame, that is, the user may place the target screenshot image on the target screenshot image according to personal requirements. The marquee is dragged in all directions.
示例性的,在终端设备的显示屏上,用户可以向上或向下拖动选取框,也可以向左或向右拖动选取框,还可以向顺时针方向或逆时针方向拖动选取框,具体的可以根据实际使用需求确定,本发明实施例不作限定。需要说明的是,顺时针方向、逆时针方向、上、下、左以及右等均是以用户在终端设备的显示屏上的操作相对于终端设备或者终端设备的显示屏而言的。For example, on the display screen of the terminal device, the user can drag the selection box up or down, or drag the selection box left or right, or drag the selection box clockwise or counterclockwise. Specifically, it can be determined according to actual use requirements, and the embodiment of the present invention is not limited. It should be noted that clockwise direction, counterclockwise direction, up, down, left, and right are all based on the operation of the user on the display screen of the terminal device relative to the display screen of the terminal device or the terminal device.
可选的,本发明实施例中,上述选取框的尺寸的初始值可以是系统默认设置的,也可以由用户根据需要自定义设置,具体可以根据实际使用需求确定,本发明实施例不作限定。示例性的,以选取框为矩形选取框为例,该矩形选取框的长度和宽度的初始值可以分别为长度1和宽度1,或者以选取框为圆形选取框为例,该圆形选取框的半径的初始值可以为半径1。示例性的,终端设备可以响应于用户对目标截屏图片的向右滑动输入(即第二输入),在第二输入对应的区域显示默认尺寸的矩形删除类选取框,如图8中的置灰矩形区域所示。可选的,上述选取框的大小的初始值可以自适应地调节(例如减小)。Optionally, in the embodiment of the present invention, the initial value of the size of the selection box may be set by the system by default, or may be customized by the user according to needs, and may be specifically determined according to actual use requirements, which is not limited in the embodiment of the present invention. Exemplarily, the selection box is a rectangular selection box as an example, and the initial values of the length and width of the rectangular selection box may be length 1 and width 1, respectively, or taking the selection box as a circular selection box as an example, the circular selection box The initial value of the radius of the box may be radius 1. Exemplarily, the terminal device may respond to the user's rightward sliding input (ie, the second input) of the target screenshot image, and display a rectangular deletion class selection box of a default size in a region corresponding to the second input, as shown in graying in FIG. 8 As shown in the rectangular area. Optionally, the initial value of the size of the selection box can be adjusted (eg, reduced) adaptively.
可选的,本发明实施例中,终端设备可以响应于用户对选取框(例如可以为选取框的边界线)的输入,控制选取框缩小或放大。示例性的,仍然以选取框为矩形选取框为例,用户可以拖动矩形选取框的四个边界线中的任一个边界线,以触发终端设备移动矩形选取框中的该边界线,进而可以实现矩形选取框的缩小或放大。例如,用户可以向上拖动矩形选取框的上边界线,以触发终端设备将矩形选取框中的上边界线向上移动,进而可以放大该矩形选取框。Optionally, in the embodiment of the present invention, the terminal device may control the selection box to be reduced or enlarged in response to a user's input to the selection box (for example, it may be a boundary line of the selection box). Exemplarily, the selection box is still a rectangular selection box as an example. The user can drag any one of the four boundary lines of the rectangular selection box to trigger the terminal device to move the boundary line in the rectangular selection box. Reduction or enlargement of rectangular selection box. For example, the user can drag the upper border line of the rectangular selection box upward to trigger the terminal device to move the upper border line of the rectangular selection box upward, and then the rectangular selection box can be enlarged.
可以理解,用户还可以沿不同方向同时拖动或依次拖动矩形选取框的四个边界线中的至少两个边界线,以触发终端设备移动矩形选取框中的该至少两个边界线,进而可以实现矩形选取框的缩小或放大。例如,用户可以向上拖动矩形选取框的上边界线并且向下拖动矩形选取框的下边界线,以触发终端设备将矩形选取框中的上边界线向上移动且下边界线向下移动,进而可以放大该矩形选取框。It can be understood that the user can also simultaneously drag or sequentially drag at least two of the four boundary lines of the rectangular selection box in different directions to trigger the terminal device to move the at least two boundary lines of the rectangular selection box, and further You can reduce or enlarge the rectangular marquee. For example, the user can drag the upper border line of the rectangular marquee box upward and drag the lower border line of the rectangular marquee box downward to trigger the terminal device to move the upper border line of the rectangular marquee box upward and the lower border line downward, and thus can Enlarge the rectangular marquee.
本发明实施例中,本发明实施例提供的图片处理方法中,上述第二输入,以及确定目标截屏图片中的N个目标区域可以通过不同的方式实现。下面分别以三种可能的实现方式(例如下述的第一种可能的实现方式、第二种可能的实现方式和第三中可能的实现方式)为例,结合不同形式的第二输入以及不同的确定目标截屏图片中的N个目标区域的方式,对本发明实施例提供的图片处理方法进行示例性的描述。In the embodiment of the present invention, in the picture processing method provided by the embodiment of the present invention, the above-mentioned second input and determining the N target areas in the target screen shot picture may be implemented in different ways. The following takes three possible implementations (for example, the first possible implementation manner, the second possible implementation manner, and the third possible implementation manner described below) as examples, combining different forms of the second input and different In a manner of determining N target regions in a target screen shot picture, the picture processing method provided by the embodiment of the present invention is described exemplarily.
第一种可能的实现方式The first possible way
在第一种可能的实现方式中,上述M个选取框均可以为保留类选取框。相应地,上述N个目标区域可以为上述目标截屏图片中,与该M个选取框对应的M个第一区域。In a first possible implementation manner, the above-mentioned M selection boxes may be reserved class selection boxes. Correspondingly, the N target regions may be M first regions corresponding to the M selection frames in the target screenshot.
本发明实施例中,用户可以在截屏界面上向左滑动输入以选中目标截屏图片中的M个第一区域(即第二输入),终端设备可以响应于该第二输入,在该第二输入对应的区域(即M个第一区域)显示M个保留类选取框。其中,该M个保留类选取框(即M个第一区域)内均包括用户需要保留的内容。进一步的,终端设备可以将目标截屏图片中与该M个选取框对应的M个第一区域确定为N个目标区域(即N=M)。In the embodiment of the present invention, the user can swipe left on the screen capture interface to select the M first regions (ie, the second input) in the target screen capture image, and the terminal device can respond to the second input and enter the second input in the second input. Corresponding regions (ie, M first regions) display M reserved selection boxes. Wherein, the M reserved selection boxes (that is, M first regions) all include content that the user needs to retain. Further, the terminal device may determine the M first regions corresponding to the M selection frames in the target screenshot as the N target regions (that is, N = M).
可以理解,终端设备可以将用户选中的M个第一区域(包括用户需要保留的内容)确定为N个目标区域,并可以根据该M个第一区域的内容,生成包括用户需要保留的内容的目标图片。It can be understood that the terminal device can determine the M first regions (including the content that the user needs to keep) selected by the user as N target regions, and can generate the content including the content that the user needs to retain based on the content of the M first regions. Target picture.
示例性的,下面结合图8中的(b)、以M个选取框均为保留类选取框(例如用户在目标截屏图片上向左滑动输入)为例进行示例性的说明。Exemplarily, the following description is made by taking (b) in FIG. 8 as an example where M selection boxes are all reserved selection boxes (for example, the user swipes left on the target screenshot picture to input).
如图8中的(b)所示,用户可以在目标截屏图片上向左滑动输入,终端设备可以响应于用户的向左滑动输入,分别在2个区域显示2个保留类选取框(如图8中的(b)的高亮矩形区域,表示该区域的内容需要保留)。其中,上述2个保留类选取框对应2个第一区域。As shown in FIG. 8 (b), the user can swipe left on the target screenshot picture, and the terminal device can respond to the user's swipe left input to display two retention class selection boxes in two areas (as shown in FIG. 8). (B) The highlighted rectangular area in (8) indicates that the content of the area needs to be retained). Wherein, the two reserved selection boxes correspond to two first regions.
进一步的,终端设备可以将目标截屏图片中的上述2个第一区域确定为2个目标区域,并根据该2个目标区域的内容,生成目标图片。Further, the terminal device may determine the two first areas in the target screenshot picture as two target areas, and generate a target picture according to the content of the two target areas.
第二种可能的实现方式The second possible implementation
在第二种可能的实现方式中,上述M个选取框均可以为删除类选取框,相应地,上述N个目标区域可以为上述目标截屏图片中的K个第二区域,该K个第二区域为除与该M个选取框对应的M个第一区域之外的区域,K可以为大于或等于2的整数。In a second possible implementation manner, the above-mentioned M selection frames may be deletion-type selection frames. Accordingly, the N target areas may be K second areas in the above target screenshot, and the K second areas The area is an area other than the M first areas corresponding to the M selection frames, and K may be an integer greater than or equal to 2.
本发明实施例中,用户可以在截屏界面上向右滑动输入以选中目标截屏图片中的M个第一区域(即第二输入),终端设备可以响应于该第二输入,在该第二输入对应的区域(即M个第一区域)显示M个删除类选取框,其中,该M个删除类选取框(即M个第一区域)内均包括用户无需保留的内容,相应地,目标截屏图片中除与M个选取框对应的M个第一区域之外的区域(即K个第二区域)包括用户需要保留的内容。进一步的,终端设备可以将目标截屏图片中的K个第二区域为N个目标区域(即N=K)。In the embodiment of the present invention, the user can swipe input on the screen capture interface to the right to select the M first regions (ie, the second input) in the target screen capture image, and the terminal device can respond to the second input and input the second input in the second input. Corresponding areas (ie, M first areas) display M deletion category selection boxes, where the M deletion category selection boxes (ie M first areas) include content that the user does not need to keep, and accordingly, the target screenshot The areas in the picture other than the M first areas corresponding to the M selection frames (ie, the K second areas) include content that the user needs to keep. Further, the terminal device may use the K second regions in the target screenshot as N target regions (that is, N = K).
可以理解,终端设备可以将除了用户选中的M个第一区域(包括用户无需保留的内容)之外的K个第二区域(包括用户需要保留的内容)确定为N个目标区域,并可以根据该K个第二区域的内容,生成包括用户需要保留的内容的目标图片。It can be understood that the terminal device may determine the K second regions (including the content that the user needs to keep) other than the M first regions (including the content that the user does not need to keep) selected as the N target regions, and may The content of the K second regions generates a target picture including content that the user needs to keep.
示例性的,下面结合图8中的(a)、以M个选取框均为删除类选取框(例如用户在目标截屏图片上向右滑动输入)为例进行示例性的说明。Exemplarily, the following description is made by taking (a) in FIG. 8 as an example where M selection boxes are all deletion-type selection boxes (for example, the user swipes the input on the target screenshot picture to the right) as an example.
如图8中的(a)所示,用户可以在目标截屏图片上向右滑动输入,终端设备可以响应于用户的向右滑动输入,分别在3个区域显示3个删除类选取框(如图8中的(a)的置灰矩形区域,表示该区域的内容可以修剪掉)。其中,除上述3个删除类选取框之外的区域包括3个区域(即3个第二区域)。As shown in (a) of FIG. 8, the user can swipe right on the target screenshot picture, and the terminal device can respond to the user's swipe right input to display three delete category selection boxes in three areas (as shown in FIG. 8). (A) The gray rectangular area in (a) indicates that the content of the area can be trimmed off). The area other than the above-mentioned three deletion-type selection boxes includes three areas (that is, three second areas).
进一步,终端设备可以将目标截屏图片中的上述3个第二区域确定为3个目标区域,并根据该3个目标区域的内容,生成目标图片。Further, the terminal device may determine the above three second areas in the target screenshot picture as three target areas, and generate a target picture according to the content of the three target areas.
第三种可能的实现方式Third possible implementation
在第三种可能的实现方式中,上述第二输入可以包括第一子输入和第二子输入。相应 地,上述M个选取框可以包括与第一子输入对应的K个保留类选取框和与第二子输入对应的M-K个删除类选取框。其中,保留类选取框内可以嵌套删除类选取框,删除类选取框内也可以嵌套保留类选取框。In a third possible implementation manner, the foregoing second input may include a first sub-input and a second sub-input. Correspondingly, the above M selection boxes may include K reserved class selection boxes corresponding to the first sub-input and M-K deletion class selection boxes corresponding to the second sub-input. Among them, the class selection box can be nested and deleted in the reserved class selection box, and the class selection box can be nested in the deleted class selection box.
对于保留类选取框内嵌套删除类选取框的情况,上述N个目标区域可以为目标截屏图片中,与K个保留类选取框对应的区域中除与M-K个删除类选取框对应的区域之外的区域。进而,终端设备可以根据该N个目标区域的内容,生成目标图片。For the case of nested deletion class selection boxes in the retention class selection box, the above N target areas can be the target screenshots, except for the areas corresponding to the K retention class selection boxes, except for the areas corresponding to the MK deletion class selection boxes. Outside area. Further, the terminal device may generate a target picture according to the contents of the N target areas.
具体的,终端设备可以响应于用户在目标截屏图片上的向左滑动输入,显示K个保留类选取框。并且,终端设备还可以响应于用户在K个保留类选取框中的向右滑动输入,显示M-K个删除类选取框。如此,终端设备可以在保留类选取框内嵌套地显示删除类选取框。Specifically, the terminal device may display K reserved selection boxes in response to the user's leftward sliding input on the target screenshot picture. In addition, the terminal device may also display M-K deletion class selection boxes in response to the user's rightward sliding input in the K retention class selection boxes. In this way, the terminal device can display the deletion class selection box nested within the reserved class selection box.
对于删除类选取框内嵌套保留类选取框的情况,上述N个目标区域可以为目标截屏图片中的第一目标区域和第二目标区域,该第一目标区域可以为除与M-K个删除类选取框对应的区域之外的区域,该第二目标区域可以为与M-K个删除类选取框对应的区域中与K个保留类选取框对应的区域,M可以为大于或等于2的整数。进而,终端设备可以根据该N个目标区域的内容,生成目标图片。For the case of retaining the class selection box nested in the deletion class selection box, the above N target regions may be the first target region and the second target region in the target screenshot, and the first target region may be the division class with MK deletion classes. The area other than the area corresponding to the selection frame, the second target area may be an area corresponding to the K retention type selection frames among the areas corresponding to the MK deletion type selection frames, and M may be an integer greater than or equal to 2. Further, the terminal device may generate a target picture according to the contents of the N target areas.
具体的,终端设备可以响应于用户在目标截屏图片上的向右滑动输入,显示M-K个删除类选取框。并且,终端设备还可以响应于用户在M-K个删除类选取框中的向左滑动输入,显示K个保留类选取框。如此,终端设备可以在删除类选取框内嵌套地显示保留类选取框。Specifically, the terminal device may display M-K deletion category selection boxes in response to a user's rightward swipe input on the target screenshot picture. In addition, the terminal device may also display K retention class selection boxes in response to a user's leftward sliding input in the M-K deletion class selection boxes. In this way, the terminal device can display the reserved class selection box nested within the deleted class selection box.
本发明实施例中,无论用户通过选中包括用户需要保留的内容的区域的方式来对目标截屏图片进行修剪,还是通过选中包括用户无需保留的内容的区域的方式来对目标截屏图片进行修剪,终端设备均可以将目标截屏图片中包括用户需要保留的内容的区域确定为目标区域,进而终端设备可以根据目标区域的内容,生成包括用户需要保留的内容的目标图片,从而可以在简化对截屏图片处理的过程的基础上,进一步提升用户使用终端设备处理截屏的灵活性。In the embodiment of the present invention, whether the user trims the target screenshot picture by selecting the area including the content that the user needs to keep, or trims the target screenshot picture by selecting the area including the content that the user does not need to keep, the terminal The device can determine the target screenshot area including the content that the user needs to keep as the target area, and the terminal device can generate the target picture including the content that the user needs to keep according to the content of the target area, thereby simplifying the processing of the screenshot image. Based on this process, users can further enhance the flexibility of using the terminal device to handle screenshots.
可选的,本发明实施例中,上述的S201中,终端设备根据N个目标区域的内容,生成目标图片的步骤具体可以通过下述的S201c和S201d实现。Optionally, in the embodiment of the present invention, in the above-mentioned S201, the step of the terminal device generating a target picture according to the contents of the N target areas may be specifically implemented by the following S201c and S201d.
S201c、终端设备根据N个目标区域的内容,生成N个子图片。S201c: The terminal device generates N sub-pictures according to the contents of the N target areas.
S201d、终端设备拼接该N个子图片,得到目标图片。S201d: The terminal device stitches the N sub-pictures to obtain a target picture.
本发明实施例中,终端设备可以根据确定的N个目标区域的内容,对应生成N个子图片,并将该N个子图片依次拼接(例如采用拼接技术),得到目标图片。In the embodiment of the present invention, the terminal device may generate N sub-pictures correspondingly according to the content of the determined N target regions, and sequentially stitch the N sub-pictures (for example, using a stitching technique) to obtain the target picture.
示例性的,下面以第二输入为用户在目标截屏图片上的向右滑动输入为例,结合图9对生成目标图片的过程进行示例性的说明。如图9中的(a)所示,终端设备可以响应于用户的向右滑动输入,分别显示3个删除类选取框(如图9中的(a)中的置灰矩形区域)。其中,除上述3个删除类选取框之外的区域包括3个区域(即3个第二区域)。进一步,终端设备可以将上述3个第二区域确定为目标截屏图片中的3个目标区域,并可以根据该3个目标区域的内容,生成3个子图片,并且终端设备可以拼接该3个子图片,得到如图9中的(b)所示的目标图片。Exemplarily, the following uses the second input as the user's rightward sliding input on the target screenshot picture as an example, and the process of generating the target picture is exemplarily described with reference to FIG. 9. As shown in (a) of FIG. 9, the terminal device may display three deletion-type selection boxes (such as the gray rectangular area in (a) of FIG. 9) in response to the user's rightward sliding input. The area other than the above-mentioned three deletion-type selection boxes includes three areas (that is, three second areas). Further, the terminal device may determine the above three second areas as the three target areas in the target screenshot picture, and may generate three sub-pictures based on the content of the three target areas, and the terminal device may stitch the three sub-pictures, A target picture as shown in (b) in FIG. 9 is obtained.
本发明实施例中,终端设备可以将根据多个目标区域的内容生成的多个子图片拼接得到目标图片,从而可以进一步提升用户使用终端设备处理截屏图片的灵活性。In the embodiment of the present invention, the terminal device may stitch multiple sub-pictures generated according to the content of multiple target areas to obtain the target picture, thereby further improving the flexibility of the user in processing the screenshot picture using the terminal device.
如图10所示,本发明实施例提供一种终端设备300,该终端设备300可以包括接收模 块301和处理模块302。接收模块301,用于在终端设备300的截屏界面显示目标截屏图片的情况下,接收用户在该截屏界面上的第一输入;处理模块302,用于响应于接收模块301接收的第一输入,确定该目标截屏图片中的N个目标区域,并根据该N个目标区域的内容,生成目标图片,N可以为大于或等于2的整数。As shown in FIG. 10, an embodiment of the present invention provides a terminal device 300. The terminal device 300 may include a receiving module 301 and a processing module 302. The receiving module 301 is configured to receive a first input of a user on the screen capture interface when the screen capture interface of the terminal device 300 displays a target screen shot image; the processing module 302 is configured to respond to the first input received by the receiving module 301, Determine N target regions in the target screenshot, and generate a target image according to the content of the N target regions. N may be an integer greater than or equal to 2.
可选的,结合图10,如图11所示,本发明实施例提供的终端设备300还可以包括显示模块303。接收模块301,还用于在接收用户的第一输入之前,接收用户在该截屏界面上的第二输入;显示模块303,用于响应于接收模块301接收的第二输入,在该第二输入对应的区域显示M个选取框,其中,每个选取框分别可以对应该目标截屏图片中的一个第一区域,且每个选取框分别可以用于选中该目标截屏图片中的一个第一区域的内容,M可以为正整数。上述第一输入可以用于触发终端设备300通过该M个选取框确定上述N个目标区域。Optionally, in conjunction with FIG. 10, as shown in FIG. 11, the terminal device 300 provided by the embodiment of the present invention may further include a display module 303. The receiving module 301 is further configured to receive a second input of the user on the screen capture interface before receiving the first input of the user; the display module 303 is configured to respond to the second input received by the receiving module 301 and The corresponding area displays M selection boxes, where each selection box can correspond to a first area in the target screenshot, and each selection box can be used to select a first area in the target screenshot. Content, M can be a positive integer. The first input may be used to trigger the terminal device 300 to determine the N target areas through the M selection boxes.
可选的,一种可能的实现方式中,上述M个选取框均可以为保留类选取框。上述N个目标区域可以为目标截屏图片中,与该M个选取框对应的M个第一区域。Optionally, in a possible implementation manner, all of the M selection boxes described above may be reserved selection boxes. The N target areas may be M first areas corresponding to the M selection frames in the target screenshot.
另一种可能的实现方式中,上述M个选取框均可以为删除类选取框。上述N个目标区域可以为目标截屏图片中的K个第二区域,该K个第二区域为除与该M个选取框对应的M个第一区域之外的区域。In another possible implementation manner, the above-mentioned M selection boxes may all be delete-type selection boxes. The N target regions may be K second regions in the target screenshot, and the K second regions are regions other than the M first regions corresponding to the M selection frames.
再一种可能的实现方式中,上述第二输入可以包括第一子输入和第二子输入。上述M个选取框可以包括与第一子输入对应的K个保留类选取框和与第二子输入对应的M-K个删除类选取框。In another possible implementation manner, the second input may include a first sub-input and a second sub-input. The M selection boxes may include K reserved selection boxes corresponding to the first sub-input and M-K deleted selection boxes corresponding to the second sub-input.
可选的,上述N个目标区域可以为目标截屏图片中,与K个保留类选取框对应的区域中除与M-K个删除类选取框对应的区域之外的区域。或者,上述N个目标区域可以为目标截屏图片中的第一目标区域和第二目标区域,该第一目标区域可以为除与M-K个删除类选取框对应的区域之外的区域,该第二目标区域可以为与M-K个删除类选取框对应的区域中与K个保留类选取框对应的区域,M可以为大于或等于2的整数。Optionally, the above N target regions may be regions other than the regions corresponding to the M-K deletion class selection boxes in the region corresponding to the K retention class selection boxes in the target screenshot. Alternatively, the N target areas may be the first target area and the second target area in the target screenshot, and the first target area may be an area other than the area corresponding to the MK deletion class selection frames. The target area may be an area corresponding to the K retained selection boxes among the areas corresponding to the MK deleted selection boxes, and M may be an integer greater than or equal to 2.
可选的,处理模块302,具体用于根据上述N个目标区域的内容,生成N个子图片;并拼接该N个子图片,得到目标图片。Optionally, the processing module 302 is specifically configured to generate N sub-pictures according to the content of the N target areas, and stitch the N sub-pictures to obtain the target picture.
可选的,显示模块303,具体用于以第一显示状态在上述第二输入对应的区域显示上述M个选取框,其中,该M个选取框内的显示状态与目标截屏图片中除该M个选取框之外的其它区域的显示状态可以不同。Optionally, the display module 303 is specifically configured to display the M selection boxes in the first display state in the area corresponding to the second input, and the display state in the M selection boxes and the target screenshot are divided by the M The display status of other areas outside the marquee can be different.
可选的,上述目标截屏图片可以为长截屏过程中显示的图片,该图片可以用于合成长截屏图片。或者,目标截屏图片可以为长截屏图片。Optionally, the above target screenshot picture may be a picture displayed during a long screenshot process, and the picture may be used to synthesize a long screenshot picture. Alternatively, the target screenshot picture may be a long screenshot picture.
本发明实施例提供的终端设备能够实现上述方法实施例中终端设备实现的各个过程,为避免重复,这里不再赘述。The terminal device provided by the embodiment of the present invention can implement the processes implemented by the terminal device in the foregoing method embodiments. To avoid repetition, details are not described herein again.
本发明实施例提供的终端设备,可以在终端设备的截屏界面显示目标截屏图片的情况下,接收用户在该截屏界面上的第一输入,并且终端设备可以响应于该第一输入,确定该目标截屏图片中的N个目标区域,且根据该N个目标区域的内容,生成目标图片(N可以为大于或等于2的整数)。通过该方案,当用户需要对截屏图片处理,即用户触发终端设备在截屏界面显示目标截屏图片时,由于用户可以通过输入(即上述的第一输入)触发终端设备在目标截屏图片中确定至少两个目标区域(即上述的N个目标区域),并根据该至 少两个目标区域的内容(即用户需求的内容),生成目标图片,因此,可以实现从截屏界面显示的目标截屏图片中直接提取出满足用户需求的内容,即使得最终生成的该目标图片中的内容均为满足用户需求的内容。如此,与现有技术相比,本发明实施例中,用户只需通过对长截屏过程中显示的图片的输入,即可触发终端设备对长截屏过程中显示的图片进行满足用户需求的处理,进而终端设备可以将处理后的一个或多个图片合成得到满足用户需求的长截屏图片,而无需再通过其它图片处理软件对截屏图片进行处理,从而能够简化对截屏图片处理的过程。The terminal device provided by the embodiment of the present invention can receive a user's first input on the screen capture interface when the target screen shot image is displayed on the screen capture interface of the terminal device, and the terminal device can determine the target in response to the first input. N target regions in the screenshot, and a target image is generated according to the content of the N target regions (N may be an integer greater than or equal to 2). With this solution, when the user needs to process the screenshot picture, that is, the user triggers the terminal device to display the target screenshot picture on the screenshot interface, because the user can trigger the terminal device to determine at least two in the target screenshot picture by input (that is, the first input described above). Target areas (namely, the N target areas described above), and generate target pictures according to the contents of the at least two target areas (ie, the content required by the user), so it can be directly extracted from the target screenshot pictures displayed on the screenshot interface The content that meets the user's needs is produced, that is, the content in the target picture that is finally generated is all that meets the user's needs. In this way, compared with the prior art, in the embodiment of the present invention, the user only needs to input the picture displayed during the long screen capture process to trigger the terminal device to process the picture displayed during the long screen capture process to meet user requirements. Furthermore, the terminal device can synthesize the processed one or more pictures to obtain a long screenshot picture that meets the user's needs, without processing the screenshot picture by other picture processing software, thereby simplifying the process of processing the screenshot picture.
图12为实现本发明各个实施例的一种终端设备的硬件结构示意图。如图12所示,该终端设备800包括但不限于:射频单元801、网络模块802、音频输出单元803、输入单元804、传感器805、显示单元806、用户输入单元807、接口单元808、存储器809、处理器810、以及电源811等部件。本领域技术人员可以理解,图12中示出的终端设备结构并不构成对终端设备的限定,终端设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,终端设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端设备、可穿戴设备、以及计步器等。FIG. 12 is a schematic diagram of a hardware structure of a terminal device implementing various embodiments of the present invention. As shown in FIG. 12, the terminal device 800 includes, but is not limited to, a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, and a memory 809 , Processor 810, and power supply 811. Those skilled in the art can understand that the structure of the terminal device shown in FIG. 12 does not constitute a limitation on the terminal device. The terminal device may include more or fewer components than shown in the figure, or some components may be combined, or different components. Layout. In the embodiment of the present invention, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a vehicle-mounted terminal device, a wearable device, and a pedometer.
其中,用户输入单元807,用于在终端设备的截屏界面显示目标截屏图片的情况下,接收用户在该截屏界面上的第一输入;处理器810,用于响应于用户输入单元807接收的第一输入,确定该目标截屏图片中的N个目标区域,并根据该N个目标区域的内容,生成目标图片,N可以为大于或等于2的整数。The user input unit 807 is configured to receive a first input of the user on the screen capture interface when the target screen capture picture is displayed on the screen capture interface of the terminal device; and the processor 810 is configured to respond to the first input received by the user input unit 807. Upon input, N target regions in the target screenshot are determined, and a target image is generated according to the content of the N target regions. N may be an integer greater than or equal to 2.
本发明实施例提供一种终端设备,该终端设备可以在终端设备的截屏界面显示目标截屏图片的情况下,接收用户在该截屏界面上的第一输入,并且终端设备可以响应于该第一输入,确定该目标截屏图片中的N个目标区域,且根据该N个目标区域的内容,生成目标图片(N可以为大于或等于2的整数)。通过该方案,当用户需要对截屏图片处理,即用户触发终端设备在截屏界面显示目标截屏图片时,由于用户可以通过输入(即上述的第一输入)触发终端设备在目标截屏图片中确定至少两个目标区域(即上述的N个目标区域),并根据该至少两个目标区域的内容(即用户需求的内容),生成目标图片,因此,可以实现从截屏界面显示的目标截屏图片中直接提取出满足用户需求的内容,即使得最终生成的该目标图片中的内容均为满足用户需求的内容。如此,与现有技术相比,本发明实施例中,用户只需通过对截屏过程中显示的图片的输入,即可触发终端设备对截屏过程中显示的图片进行满足用户需求的处理,进而终端设备可以将处理后的图片合成得到满足用户需求的截屏图片,而无需再通过其它图片处理软件对截屏图片进行处理,从而能够简化对截屏图片处理的过程。An embodiment of the present invention provides a terminal device. The terminal device may receive a first input from a user on the screen capture interface when the screen capture interface of the terminal device displays a target screen capture picture, and the terminal device may respond to the first input. , Determine N target regions in the target screenshot, and generate a target image according to the content of the N target regions (N may be an integer greater than or equal to 2). With this solution, when the user needs to process the screenshot picture, that is, the user triggers the terminal device to display the target screenshot picture on the screenshot interface, because the user can trigger the terminal device to determine at least two in the target screenshot picture by input (that is, the first input described above). Target areas (namely, the N target areas described above), and generate target pictures according to the contents of the at least two target areas (ie, the content required by the user), so it can be directly extracted from the target screenshot pictures displayed on the screenshot interface The content that meets the user's needs is produced, that is, the content in the target picture that is finally generated is all that meets the user's needs. In this way, compared with the prior art, in the embodiment of the present invention, the user only needs to input the picture displayed during the screen capture process to trigger the terminal device to process the picture displayed during the screen capture process to meet user needs, and the terminal The device can synthesize the processed pictures to obtain screenshots that meet user needs, without having to process the screenshots through other image processing software, thereby simplifying the process of processing screenshots.
应理解的是,本发明实施例中,射频单元801可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器810处理;另外,将上行的数据发送给基站。通常,射频单元801包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元801还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in the embodiment of the present invention, the radio frequency unit 801 may be used to receive and send signals during the process of receiving and sending information or during a call. Specifically, the downlink data from the base station is received and processed by the processor 810; The uplink data is sent to the base station. Generally, the radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 801 can also communicate with a network and other devices through a wireless communication system.
终端设备通过网络模块802为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The terminal device provides users with wireless broadband Internet access through the network module 802, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元803可以将射频单元801或网络模块802接收的或者在存储器809中存 储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元803还可以提供与终端设备800执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元803包括扬声器、蜂鸣器以及受话器等。The audio output unit 803 may convert audio data received by the radio frequency unit 801 or the network module 802 or stored in the memory 809 into audio signals and output them as sound. Moreover, the audio output unit 803 may also provide audio output (for example, call signal reception sound, message reception sound, etc.) related to a specific function performed by the terminal device 800. The audio output unit 803 includes a speaker, a buzzer, a receiver, and the like.
输入单元804用于接收音频或视频信号。输入单元804可以包括图形处理器(graphics processing unit,GPU)8041和麦克风8042,图形处理器8041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元806上。经图形处理器8041处理后的图像帧可以存储在存储器809(或其它存储介质)中或者经由射频单元801或网络模块802进行发送。麦克风8042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元801发送到移动通信基站的格式输出。The input unit 804 is used to receive audio or video signals. The input unit 804 may include a graphics processing unit (GPU) 8041 and a microphone 8042. The graphics processor 8041 pairs images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed. The processed image frames may be displayed on a display unit 806. The image frames processed by the graphics processor 8041 may be stored in the memory 809 (or other storage medium) or transmitted via the radio frequency unit 801 or the network module 802. The microphone 8042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be transmitted to a mobile communication base station via the radio frequency unit 801 in the case of a telephone call mode.
终端设备800还包括至少一种传感器805,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板8061的亮度,接近传感器可在终端设备800移动到耳边时,关闭显示面板8061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别终端设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器805还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The terminal device 800 further includes at least one sensor 805, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 8061 according to the brightness of the ambient light. The proximity sensor can close the display panel 8061 and the display panel 8061 when the terminal device 800 is moved to the ear. / Or backlight. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three axes), and can detect the magnitude and direction of gravity when it is stationary, which can be used to identify the attitude of the terminal device (such as horizontal and vertical screen switching, related games , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc .; sensor 805 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, Infrared sensors, etc. are not repeated here.
显示单元806用于显示由用户输入的信息或提供给用户的信息。显示单元806可包括显示面板8061,可以采用液晶显示器(liquid crystal display,LCD)、有机发光二极管(organic light-emitting diode,OLED)等形式来配置显示面板8061。The display unit 806 is configured to display information input by the user or information provided to the user. The display unit 806 may include a display panel 8061. The display panel 8061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
用户输入单元807可用于接收输入的数字或字符信息,以及产生与终端设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元807包括触控面板8071以及其他输入设备8072。触控面板8071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板8071上或在触控面板8071附近的操作)。触控面板8071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器810,接收处理器810发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板8071。除了触控面板8071,用户输入单元807还可以包括其他输入设备8072。具体地,其他输入设备8072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 807 may be used to receive inputted numeric or character information, and generate key signal inputs related to user settings and function control of the terminal device. Specifically, the user input unit 807 includes a touch panel 8071 and other input devices 8072. Touch panel 8071, also known as touch screen, can collect user's touch operations on or near it (such as the user using a finger, stylus, etc. any suitable object or accessory on touch panel 8071 or near touch panel 8071 operating). The touch panel 8071 may include a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, and detects the signal caused by the touch operation, and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into contact coordinates, and sends it The processor 810 receives and executes a command sent by the processor 810. In addition, various types such as resistive, capacitive, infrared, and surface acoustic wave can be used to implement the touch panel 8071. In addition to the touch panel 8071, the user input unit 807 may further include other input devices 8072. Specifically, other input devices 8072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, and details are not described herein again.
进一步的,触控面板8071可覆盖在显示面板8061上,当触控面板8071检测到在其上或附近的触摸操作后,传送给处理器810以确定触摸事件的类型,随后处理器810根据触摸事件的类型在显示面板8061上提供相应的视觉输出。虽然在图12中,触控面板8071与显示面板8061是作为两个独立的部件来实现终端设备的输入和输出功能,但是在某些实施例中,可以将触控面板8071与显示面板8061集成而实现终端设备的输入和输出功能,具体此处不做限定。Further, the touch panel 8071 may be overlaid on the display panel 8061. When the touch panel 8071 detects a touch operation on or near the touch panel 8071, the touch panel 8071 transmits the touch operation to the processor 810 to determine the type of the touch event. The type of event provides corresponding visual output on the display panel 8061. Although in FIG. 12, the touch panel 8071 and the display panel 8061 are implemented as two independent components to implement the input and output functions of the terminal device, in some embodiments, the touch panel 8071 and the display panel 8061 may be integrated. The implementation of the input and output functions of the terminal device is not specifically limited here.
接口单元808为外部装置与终端设备800连接的接口。例如,外部装置可以包括有线 或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元808可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到终端设备800内的一个或多个元件或者可以用于在终端设备800和外部装置之间传输数据。The interface unit 808 is an interface for connecting an external device with the terminal device 800. For example, the external device may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, and audio input / output (I / O) port, video I / O port, headphone port, and more. The interface unit 808 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the terminal device 800 or may be used to connect the terminal device 800 and the external Transfer data between devices.
存储器809可用于存储软件程序以及各种数据。存储器809可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器809可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 809 may be used to store software programs and various data. The memory 809 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, at least one application required by a function (such as a sound playback function, an image playback function, etc.), etc .; the storage data area may store data according to Data (such as audio data, phone book, etc.) created by the use of mobile phones. In addition, the memory 809 may include a high-speed random access memory, and may further include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器810是终端设备的控制中心,利用各种接口和线路连接整个终端设备的各个部分,通过运行或执行存储在存储器809内的软件程序和/或模块,以及调用存储在存储器809内的数据,执行终端设备的各种功能和处理数据,从而对终端设备进行整体监控。处理器810可包括一个或多个处理单元;可选的,处理器810可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器810中。The processor 810 is a control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire terminal device. By running or executing software programs and / or modules stored in the memory 809, and calling data stored in the memory 809, , To perform various functions of the terminal device and process data, so as to monitor the terminal device as a whole. The processor 810 may include one or more processing units; optionally, the processor 810 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and an application program, etc. The tuning processor mainly handles wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 810.
终端设备800还可以包括给各个部件供电的电源811(比如电池),可选的,电源811可以通过电源管理系统与处理器810逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The terminal device 800 may further include a power source 811 (such as a battery) for supplying power to various components. Optionally, the power source 811 may be logically connected to the processor 810 through a power management system, thereby implementing management of charging, discharging, and power consumption through the power management system. Management and other functions.
另外,终端设备800包括一些未示出的功能模块,在此不再赘述。In addition, the terminal device 800 includes some functional modules that are not shown, and details are not described herein again.
可选的,本发明实施例还提供一种终端设备,包括如图12所示的处理器810,存储器809,存储在存储器809上并可在所述处理器810上运行的计算机程序,该计算机程序被处理器810执行时实现上述图片处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present invention further provides a terminal device, which includes a processor 810 and a memory 809 as shown in FIG. 12, and a computer program stored in the memory 809 and executable on the processor 810. The computer When the program is executed by the processor 810, each process of the embodiment of the picture processing method is implemented, and the same technical effects can be achieved. To avoid repetition, details are not described herein again.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述图片处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,该计算机可读存储介质可以包括只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等。An embodiment of the present invention further provides a computer-readable storage medium. A computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the processes of the foregoing image processing method embodiments are implemented, and the same technology can be achieved. Effect, in order to avoid repetition, it will not be repeated here. The computer-readable storage medium may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this article, the terms "including", "including" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, It also includes other elements not explicitly listed, or elements inherent to such a process, method, article, or device. Without more restrictions, an element limited by the sentence "including a ..." does not exclude that there are other identical elements in the process, method, article, or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算 机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods in the above embodiments can be implemented by means of software plus a necessary universal hardware platform, and of course, also by hardware, but in many cases the former is better. Implementation. Based on such an understanding, the technical solution of the present invention, in essence, or a part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, The optical disc) includes a plurality of instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the embodiments of the present invention.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the specific implementations described above, and the specific implementations described above are only schematic and not restrictive. Those of ordinary skill in the art at Under the enlightenment of this application, many forms can be made without departing from the scope of the present application and the scope of protection of the claims, which all fall into the protection of this application.

Claims (14)

  1. 一种图片处理方法,应用于终端设备,其特征在于,所述方法包括:A picture processing method applied to a terminal device is characterized in that the method includes:
    在所述终端设备的截屏界面显示目标截屏图片的情况下,接收用户在所述截屏界面上的第一输入;Receiving a first input from a user on the screen capture interface when the screen capture interface of the terminal device displays a target screen capture picture;
    响应于所述第一输入,确定所述目标截屏图片中的N个目标区域;Determining N target regions in the target screenshot in response to the first input;
    根据所述N个目标区域的内容,生成目标图片,N为大于或等于2的整数。A target picture is generated according to the content of the N target regions, where N is an integer greater than or equal to 2.
  2. 根据权利要求1所述的方法,其特征在于,所述接收用户的第一输入之前,所述方法还包括:The method according to claim 1, wherein before the receiving a first input from a user, the method further comprises:
    接收用户在所述截屏界面上的第二输入;Receiving a second input from a user on the screen capture interface;
    响应于所述第二输入,在所述第二输入对应的区域显示M个选取框,其中,每个选取框分别对应所述目标截屏图片中的一个第一区域,且每个选取框分别用于选中所述目标截屏图片中的一个第一区域的内容,M为正整数;In response to the second input, M selection frames are displayed in an area corresponding to the second input, where each selection frame corresponds to a first area in the target screenshot picture, and each selection frame is used with For selecting the content of a first area in the target screenshot, M is a positive integer;
    所述第一输入用于触发所述终端设备通过所述M个选取框确定所述N个目标区域。The first input is used to trigger the terminal device to determine the N target areas through the M selection boxes.
  3. 根据权利要求2所述的方法,其特征在于,所述M个选取框均为保留类选取框;所述N个目标区域为所述目标截屏图片中,与所述M个选取框对应的M个第一区域;The method according to claim 2, wherein the M selection boxes are all reserved selection boxes; and the N target regions are M corresponding to the M selection boxes in the target screenshot picture. First area
    或者,or,
    所述M个选取框均为删除类选取框;所述N个目标区域为所述目标截屏图片中的K个第二区域,所述K个第二区域为除与所述M个选取框对应的M个第一区域之外的区域,K为大于或等于2的整数;The M selection boxes are all deletion-type selection boxes; the N target regions are K second regions in the target screenshot, and the K second regions correspond to the M selection boxes except In areas other than the M first areas, K is an integer greater than or equal to 2;
    或者,or,
    所述第二输入包括第一子输入和第二子输入;所述M个选取框包括与第一子输入对应的K个保留类选取框和与第二子输入对应的M-K个删除类选取框;所述N个目标区域为所述目标截屏图片中,与所述K个保留类选取框对应的区域中除与所述M-K个删除类选取框对应的区域之外的区域;或者,所述N个目标区域为所述目标截屏图片中的第一目标区域和第二目标区域,所述第一目标区域为除与M-K个删除类选取框对应的区域之外的区域,所述第二目标区域为与所述M-K个删除类选取框对应的区域中与所述K个保留类选取框对应的区域,M为大于或等于2的整数。The second input includes a first sub-input and a second sub-input; the M selection boxes include K reserved class selection boxes corresponding to the first sub-input and MK deletion class selection boxes corresponding to the second sub-input The N target regions are regions other than the regions corresponding to the MK deletion class selection boxes in the target screenshots, corresponding to the K reserved class selection boxes; or, the N target regions are a first target region and a second target region in the target screenshot, and the first target region is a region other than a region corresponding to MK deletion class selection frames, and the second target region is A region is a region corresponding to the K retained selection boxes among the regions corresponding to the MK deleted selection boxes, and M is an integer greater than or equal to 2.
  4. 根据权利要求1至3中任一项所述的方法,其特征在于,所述根据所述N个目标区域的内容,生成目标图片,包括:The method according to any one of claims 1 to 3, wherein the generating a target picture according to the content of the N target areas comprises:
    根据所述N个目标区域的内容,生成N个子图片;Generate N sub-pictures according to the content of the N target regions;
    拼接所述N个子图片,得到所述目标图片。The N sub-pictures are stitched to obtain the target picture.
  5. 根据权利要求2所述的方法,其特征在于,所述在所述第二输入对应的区域显示M个选取框,包括:The method according to claim 2, wherein the displaying M selection boxes in an area corresponding to the second input comprises:
    以第一显示状态在所述第二输入对应的区域显示所述M个选取框,其中,所述M个选取框内的显示状态与所述目标截屏图片中除所述M个选取框之外的其它区域的显示状态不同。Displaying the M selection boxes in a region corresponding to the second input in a first display state, wherein a display state in the M selection boxes and the target screen shot picture except the M selection boxes The display status of other areas is different.
  6. 根据权利要求1所述的方法,其特征在于,所述目标截屏图片为长截屏过程中显示的图片,所述图片用于合成长截屏图片。The method according to claim 1, wherein the target screenshot picture is a picture displayed during a long screenshot process, and the picture is used to synthesize a long screenshot picture.
  7. 一种终端设备,其特征在于,所述终端设备包括接收模块和处理模块;A terminal device, characterized in that the terminal device includes a receiving module and a processing module;
    所述接收模块,用于在所述终端设备的截屏界面显示目标截屏图片的情况下,接收用户在所述截屏界面上的第一输入;The receiving module is configured to receive a first input from a user on the screen capture interface when a screen shot image of a target is displayed on the screen capture interface of the terminal device;
    所述处理模块,用于响应于所述接收模块接收的所述第一输入,确定所述目标截屏图片中的N个目标区域;并根据所述N个目标区域的内容,生成目标图片,N为大于或等于2的整数。The processing module is configured to determine N target regions in the target screenshot in response to the first input received by the receiving module; and generate a target image according to the content of the N target regions, N Is an integer greater than or equal to 2.
  8. 根据权利要求7所述的终端设备,其特征在于,所述终端设备还包括显示模块;The terminal device according to claim 7, wherein the terminal device further comprises a display module;
    所述接收模块,还用于在接收用户的第一输入之前,接收用户在所述截屏界面上的第二输入;The receiving module is further configured to receive a second input of the user on the screen capture interface before receiving the first input of the user;
    所述显示模块,用于响应于所述接收模块接收的所述第二输入,在所述第二输入对应的区域显示M个选取框,其中,每个选取框分别对应所述目标截屏图片中的一个第一区域,且每个选取框分别用于选中所述目标截屏图片中的一个第一区域的内容,M为正整数;所述第一输入用于触发所述终端设备通过所述M个选取框确定所述N个目标区域。The display module is configured to display M selection frames in a region corresponding to the second input in response to the second input received by the receiving module, where each selection frame corresponds to the target screenshot picture respectively. A first region of each and each selection box is used to select the content of a first region in the target screenshot, M is a positive integer; the first input is used to trigger the terminal device to pass the M Selection frames determine the N target regions.
  9. 根据权利要求8所述的终端设备,其特征在于,所述M个选取框均为保留类选取框;所述N个目标区域为所述目标截屏图片中,与所述M个选取框对应的M个第一区域;The terminal device according to claim 8, wherein the M selection frames are all reserved selection frames; and the N target areas are corresponding to the M selection frames in the target screenshot. M first regions;
    或者,or,
    所述M个选取框均为删除类选取框;所述N个目标区域为所述目标截屏图片中的K个第二区域,所述K个第二区域为除与所述M个选取框对应的M个第一区域之外的区域;The M selection boxes are all deletion-type selection boxes; the N target regions are K second regions in the target screenshot, and the K second regions correspond to the M selection boxes except Areas outside the M first areas;
    或者,or,
    所述第二输入包括第一子输入和第二子输入;所述M个选取框包括与第一子输入对应的K个保留类选取框和与第二子输入对应的M-K个删除类选取框;所述N个目标区域为所述目标截屏图片中,与所述K个保留类选取框对应的区域中除与所述M-K个删除类选取框对应的区域之外的区域;或者,所述N个目标区域为所述目标截屏图片中的第一目标区域和第二目标区域,所述第一目标区域为除与M-K个删除类选取框对应的区域之外的区域,所述第二目标区域为与所述M-K个删除类选取框对应的区域中与所述K个保留类选取框对应的区域,M为大于或等于2的整数。The second input includes a first sub-input and a second sub-input; the M selection boxes include K reserved class selection boxes corresponding to the first sub-input and MK deletion class selection boxes corresponding to the second sub-input The N target regions are regions other than the regions corresponding to the MK deletion class selection boxes in the target screenshots, corresponding to the K reserved class selection boxes; or, the N target regions are a first target region and a second target region in the target screenshot, and the first target region is a region other than a region corresponding to MK deletion class selection frames, and the second target region is A region is a region corresponding to the K retained selection boxes among the regions corresponding to the MK deleted selection boxes, and M is an integer greater than or equal to 2.
  10. 根据权利要求7至9中任一项所述的终端设备,其特征在于,所述处理模块,具体用于根据所述N个目标区域的内容,生成N个子图片;并拼接所述N个子图片,得到所述目标图片。The terminal device according to any one of claims 7 to 9, wherein the processing module is specifically configured to generate N sub-pictures according to the content of the N target areas; and stitch the N sub-pictures To obtain the target picture.
  11. 根据权利要求8所述的终端设备,其特征在于,所述显示模块,具体用于以第一显示状态在所述第二输入对应的区域显示所述M个选取框,其中,所述M个选取框内的显示状态与所述目标截屏图片中除所述M个选取框之外的其它区域的显示状态不同。The terminal device according to claim 8, wherein the display module is specifically configured to display the M selection frames in a region corresponding to the second input in a first display state, wherein the M The display state in the selection frame is different from the display state of other regions in the target screenshot except the M selection frames.
  12. 根据权利要求7所述的终端设备,其特征在于,所述目标截屏图片为长截屏过程中显示的一个图片,所述一个图片用于合成长截屏图片。The terminal device according to claim 7, wherein the target screenshot picture is a picture displayed during a long screenshot process, and the one picture is used to synthesize the long screenshot picture.
  13. 一种终端设备,其特征在于,包括处理器、存储器及存储在所述存储器上并 可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至6中任一项所述的图片处理方法的步骤。A terminal device, comprising a processor, a memory, and a computer program stored on the memory and executable on the processor. When the computer program is executed by the processor, the device is implemented as claimed in claim 1 Steps of the picture processing method according to any one of 6 to 6.
  14. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现如权利要求1至6中任一项所述的图片处理方法的步骤。A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the picture processing method according to any one of claims 1 to 6 is implemented A step of.
PCT/CN2019/098264 2018-09-27 2019-07-30 Picture processing method and terminal device WO2020063091A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811133596.7 2018-09-27
CN201811133596.7A CN109460177A (en) 2018-09-27 2018-09-27 A kind of image processing method and terminal device

Publications (1)

Publication Number Publication Date
WO2020063091A1 true WO2020063091A1 (en) 2020-04-02

Family

ID=65607078

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/098264 WO2020063091A1 (en) 2018-09-27 2019-07-30 Picture processing method and terminal device

Country Status (2)

Country Link
CN (1) CN109460177A (en)
WO (1) WO2020063091A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210117073A1 (en) * 2019-10-17 2021-04-22 Samsung Electronics Co., Ltd. Electronic device and method for operating screen capturing by electronic device
EP4155888A4 (en) * 2020-05-19 2023-11-15 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Screen capturing method, terminal, and non-volatile computer-readable storage medium

Families Citing this family (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109460177A (en) * 2018-09-27 2019-03-12 维沃移动通信有限公司 A kind of image processing method and terminal device
CN110232174A (en) * 2019-04-22 2019-09-13 维沃移动通信有限公司 A kind of content chooses method and terminal device
CN110209324B (en) * 2019-04-30 2020-11-10 维沃移动通信有限公司 Display method and terminal equipment
CN110209456A (en) * 2019-05-31 2019-09-06 努比亚技术有限公司 Method, mobile terminal and the computer readable storage medium of the long screenshot of screen interface
CN110502293B (en) * 2019-07-10 2022-02-01 维沃移动通信有限公司 Screen capturing method and terminal equipment
CN110750200A (en) * 2019-09-30 2020-02-04 维沃移动通信有限公司 Screenshot picture processing method and terminal equipment
CN110908750B (en) * 2019-10-28 2021-10-26 维沃移动通信有限公司 Screen capturing method and electronic equipment
CN111124231B (en) * 2019-12-26 2021-02-12 维沃移动通信有限公司 Picture generation method and electronic equipment
CN111383175A (en) * 2020-03-02 2020-07-07 维沃移动通信有限公司 Picture acquisition method and electronic equipment
CN111638844A (en) * 2020-05-22 2020-09-08 维沃移动通信有限公司 Screen capturing method and device and electronic equipment
CN112764624B (en) * 2021-01-26 2022-09-09 维沃移动通信有限公司 Information screen display method and device
CN113296661B (en) * 2021-03-18 2023-10-27 维沃移动通信有限公司 Image processing method, device, electronic equipment and readable storage medium
CN113093960B (en) * 2021-04-16 2022-08-02 南京维沃软件技术有限公司 Image editing method, editing device, electronic device and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102663791A (en) * 2012-03-20 2012-09-12 上海量明科技发展有限公司 Method aimed at editing screenshot area and client-side thereof
US8601172B2 (en) * 2011-05-19 2013-12-03 International Business Machines Corporation Recognition techniques to enhance automation in a computing environment
CN104571865A (en) * 2015-01-06 2015-04-29 深圳市金立通信设备有限公司 Terminal
CN106502533A (en) * 2016-10-21 2017-03-15 上海与德信息技术有限公司 A kind of screenshotss method and device
CN107678648A (en) * 2017-09-27 2018-02-09 北京小米移动软件有限公司 Screenshotss processing method and processing device
CN108037871A (en) * 2017-11-07 2018-05-15 维沃移动通信有限公司 Screenshotss method and mobile terminal
CN109460177A (en) * 2018-09-27 2019-03-12 维沃移动通信有限公司 A kind of image processing method and terminal device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8555185B2 (en) * 2009-06-08 2013-10-08 Apple Inc. User interface for multiple display regions
CN106502524A (en) * 2016-09-27 2017-03-15 乐视控股(北京)有限公司 Screenshotss method and device
CN107678644B (en) * 2017-09-18 2020-06-02 维沃移动通信有限公司 Image processing method and mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8601172B2 (en) * 2011-05-19 2013-12-03 International Business Machines Corporation Recognition techniques to enhance automation in a computing environment
CN102663791A (en) * 2012-03-20 2012-09-12 上海量明科技发展有限公司 Method aimed at editing screenshot area and client-side thereof
CN104571865A (en) * 2015-01-06 2015-04-29 深圳市金立通信设备有限公司 Terminal
CN106502533A (en) * 2016-10-21 2017-03-15 上海与德信息技术有限公司 A kind of screenshotss method and device
CN107678648A (en) * 2017-09-27 2018-02-09 北京小米移动软件有限公司 Screenshotss processing method and processing device
CN108037871A (en) * 2017-11-07 2018-05-15 维沃移动通信有限公司 Screenshotss method and mobile terminal
CN109460177A (en) * 2018-09-27 2019-03-12 维沃移动通信有限公司 A kind of image processing method and terminal device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20210117073A1 (en) * 2019-10-17 2021-04-22 Samsung Electronics Co., Ltd. Electronic device and method for operating screen capturing by electronic device
US11842039B2 (en) * 2019-10-17 2023-12-12 Samsung Electronics Co., Ltd. Electronic device and method for operating screen capturing by electronic device
EP4155888A4 (en) * 2020-05-19 2023-11-15 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Screen capturing method, terminal, and non-volatile computer-readable storage medium

Also Published As

Publication number Publication date
CN109460177A (en) 2019-03-12

Similar Documents

Publication Publication Date Title
WO2020063091A1 (en) Picture processing method and terminal device
CN111596845B (en) Display control method and device and electronic equipment
WO2021104365A1 (en) Object sharing method and electronic device
CN111142730B (en) Split-screen display method and electronic equipment
WO2021083132A1 (en) Icon moving method and electronic device
WO2020151460A1 (en) Object processing method and terminal device
WO2021083087A1 (en) Screen capturing method and terminal device
WO2021129536A1 (en) Icon moving method and electronic device
WO2021036531A1 (en) Screenshot method and terminal device
WO2021004327A1 (en) Method for setting application permission, and terminal device
WO2020151525A1 (en) Message sending method, and terminal device
WO2021136136A1 (en) Screenshot method and electronic device
WO2021012927A1 (en) Icon display method and terminal device
CN111078076A (en) Application program switching method and electronic equipment
WO2021104163A1 (en) Icon arrangement method and electronic device
WO2020173235A1 (en) Task switching method and terminal device
CN108920226B (en) Screen recording method and device
WO2021057290A1 (en) Information control method and electronic device
WO2020192297A1 (en) Screen interface switching method and terminal device
CN111026299A (en) Information sharing method and electronic equipment
WO2021057301A1 (en) File control method and electronic device
WO2020181956A1 (en) Method for displaying application identifier, and terminal apparatus
CN110908554B (en) Long screenshot method and terminal device
CN110944236B (en) Group creation method and electronic device
WO2020215969A1 (en) Content input method and terminal device

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19866410

Country of ref document: EP

Kind code of ref document: A1