WO2017118391A1 - 屏幕截图方法及屏幕截图装置 - Google Patents

屏幕截图方法及屏幕截图装置 Download PDF

Info

Publication number
WO2017118391A1
WO2017118391A1 PCT/CN2017/070192 CN2017070192W WO2017118391A1 WO 2017118391 A1 WO2017118391 A1 WO 2017118391A1 CN 2017070192 W CN2017070192 W CN 2017070192W WO 2017118391 A1 WO2017118391 A1 WO 2017118391A1
Authority
WO
WIPO (PCT)
Prior art keywords
screenshot
screen
area
application
terminal device
Prior art date
Application number
PCT/CN2017/070192
Other languages
English (en)
French (fr)
Inventor
熊飞
张旭
张涛
李强
吴少勤
Original Assignee
腾讯科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN201610005638.3A external-priority patent/CN106940621B/zh
Priority claimed from CN201610035836.4A external-priority patent/CN105718143A/zh
Application filed by 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2017118391A1 publication Critical patent/WO2017118391A1/zh

Links

Images

Classifications

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

Definitions

  • the present application relates to the field of image processing, and in particular to a screen capture method and a screen capture device.
  • the user can share the content displayed by the terminal device with the friend through various interactive channels such as instant communication.
  • a user when a user views a good web or image, they may want to share it with other friends, which is usually done by sending a web link or screenshot of the web or image.
  • a user When a user sends a network link of a web page or a picture to a friend, the network type of the friend and the user may be different, and the friend may not be able to view the web page or the picture through the network link.
  • a user sends a screenshot of a webpage or a picture to a friend if the size of the webpage or the image exceeds the range of one screen of the terminal device, the user needs to perform multiple screenshots and sending operations to complete the sharing of the webpage or the image. This results in a cumbersome screenshot operation, and the screen shot of the web or image that the friend sees is poor.
  • the embodiment of the present invention provides a screen capture method and a screen capture device to solve the technical problem that the screenshot operation is cumbersome and the display effect of the screenshot is poor in the prior art solution.
  • An embodiment of the present application provides a screen capture method, including:
  • the embodiment of the present application further provides a screenshot device, including:
  • a screenshot box generating module configured to receive a screenshot start instruction, and generate a screenshot box according to the screenshot start instruction, where the screenshot box includes at least part of the display content on the terminal device screen;
  • a display content adjustment module configured to receive a screenshot content adjustment instruction, and adjust the display content in the screenshot frame according to the screenshot content adjustment instruction;
  • a first screenshot module configured to display the image in the screenshot box according to the size of the screenshot box Performing a screenshot operation to obtain a first screenshot sub-screen; performing a screenshot operation on the adjusted display content according to the size of the screenshot frame to obtain at least one second screenshot sub-screen;
  • a boundary obtaining module configured to receive a screenshot boundary determination instruction, and acquire a screenshot boundary of the display content on the screen of the terminal device according to the screenshot boundary determination instruction;
  • a synthesis module configured to receive a screenshot end instruction, and synthesize the first screenshot sub-picture and the at least one second screenshot sub-picture into a screen to be screened;
  • the second screenshot module is configured to perform a screenshot operation on the screen to be screened according to the screenshot boundary to obtain a screenshot screen.
  • the screen capture method and the screenshot device provided by the embodiment of the present application can be seen, by adjusting the display content in the screenshot box, and performing a screenshot operation on the adjusted display content, multiple screenshot sub-screens can be obtained; and then multiple screenshots are taken.
  • the sub-picture is synthesized into a screen to be screened, and a screenshot operation is performed on the screenshot screen, and the screenshot screen can be obtained. In this way, even if the size of the display content that the user wants to intercept exceeds the range of one screen of the terminal device, a complete screenshot screen can be obtained.
  • the screen shot method and the screenshot device provided by the embodiment of the present application the entire screen shot operation is simple, convenient, and fast, and the screen shot display effect is better.
  • FIG. 1 is a flowchart of a screen capture method according to an embodiment of the present application
  • FIG. 2 is a flowchart of another screen capture method according to an embodiment of the present application.
  • FIG. 3 is a flowchart of a method for processing a screenshot provided by an embodiment of the present application
  • FIG. 4 is a screen cut diagram of a screen of a terminal device in a split screen state according to an embodiment of the present disclosure. Diagram processing method flow chart;
  • FIG. 5 is a schematic diagram of a screen of a terminal device in a split screen state according to an embodiment of the present application
  • FIG. 6 is a schematic diagram of a screen shot provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of another screenshot provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram of another screenshot provided by an embodiment of the present application.
  • FIG. 9 is a schematic diagram of another screenshot provided by an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a screen capture device according to an embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of another screen capture apparatus according to an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of a first screenshot module of a screenshot device according to an embodiment of the present application.
  • FIGS. 13A-13E are schematic diagrams of a screen capture method and a specific implementation of a screen capture device according to an embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of another screen capture apparatus according to an embodiment of the present disclosure.
  • 15 is a schematic structural diagram of hardware of a terminal device for implementing a screen capture method according to an embodiment of the present application
  • FIG. 16 is a schematic structural diagram of a working environment of an electronic device where a screenshot device is provided according to an embodiment of the present disclosure.
  • the screenshot device of the embodiment of the present application may be implemented using various types of terminal devices having display devices, including but not limited to personal computers, server computers, Handheld or laptop devices, mobile devices (such as mobile phones, personal digital assistants (PDAs), media players, etc.), multi-processor systems, consumer electronics, small computers, mainframe computers, including any of the above systems or The distributed computing environment of the device, and so on.
  • the terminal device is usually a personal computer or a personal mobile device, so that the user can more conveniently and quickly perform screen shot operations and screenshot transmission on the display content in the larger display area.
  • FIG. 1 is a flowchart of a screen capture method according to an embodiment of the present application.
  • the screen shot method of the present embodiment can be implemented using any type of terminal device having a display device as described above.
  • the screenshot method includes:
  • Step S101 Receive a screenshot start instruction, and generate a screenshot frame according to the screenshot start instruction, where the screenshot frame includes at least part of the display content on the terminal device screen;
  • Step S102 Perform a screenshot operation on the display content in the screenshot box according to the size of the screenshot frame to obtain the first screenshot sub-picture;
  • Step S103 receiving a screenshot content adjustment instruction, adjusting the display content in the screenshot box according to the screenshot content adjustment instruction, and performing a screenshot operation on the adjusted display content according to the size of the screenshot frame to obtain at least one second screenshot.
  • Step S104 receiving a screenshot boundary determination instruction, and acquiring a screenshot boundary of the display content on the screen of the terminal device according to the screenshot boundary determination instruction;
  • Step S105 receiving a screenshot end instruction, synthesizing the first screenshot sub-picture and the at least one second screenshot sub-picture into a screen to be screened;
  • Step S106 performing a screenshot operation on the screenshot screen according to the screenshot boundary to obtain a screenshot screen.
  • step S101 the screenshot device receives a screenshot start instruction issued by the user, and the screenshot start instruction refers to an instruction that the user requests to take a screenshot of at least part of the display content in the terminal device screen.
  • the screenshot device then starts to instruct the screen of the terminal device according to the screenshot.
  • a screenshot box is generated, and the screenshot box includes at least part of the display content on the screen of the terminal device.
  • step S102 the screenshot device performs a screenshot operation on the display content in the screenshot box according to the size of the screenshot frame, and obtains a screenshot sub-screen, which is called a first screenshot sub-screen.
  • the screenshot device receives the screenshot content adjustment instruction issued by the user, and the screenshot content adjustment instruction refers to an instruction for the user to adjust the display content in the screenshot frame by dragging the display content on the screen of the terminal device.
  • the screenshot device then adjusts the display content according to the screenshot content to adjust the display content in the screenshot box.
  • the screenshot device performs a screenshot operation on the adjusted display content in the screenshot frame according to the size of the screenshot frame to obtain at least one second screenshot sub-screen.
  • each screenshot sub-picture is the same as the size of the screenshot frame, and the display content included in each screenshot sub-picture is continuous and different.
  • step S104 the screenshot device receives a screenshot boundary determination instruction of the user, and the screenshot boundary determination instruction refers to an instruction of the user to determine a screenshot boundary of the display content on the screen of the terminal device.
  • the screenshot device then obtains a screenshot boundary of the display content on the screen of the terminal device according to the screenshot boundary determination instruction.
  • step S105 the screenshot device receives a screenshot end instruction of the user, and the screenshot end instruction is an instruction for the user to complete the acquisition operation of the screenshot boundary of the display content.
  • the user can make changes to the screenshot boundaries of the display content on the terminal device screen before receiving the screenshot end instruction.
  • the screenshot device combines the first screenshot sub-screen acquired in step 102 and the at least one second screenshot sub-screen acquired in step S103 into a screen to be screened according to the screenshot end instruction.
  • step S106 the screenshot device performs a screenshot operation on the screen to be screenshot acquired in step S105 according to the screenshot boundary acquired in step S104, thereby acquiring a screenshot screen.
  • the screenshot method by adjusting the display content in the screenshot box and performing a screenshot operation on the adjusted display content, multiple screenshots can be obtained. Screen; then combine multiple screenshots into a screen to be screened, and take a screenshot operation on the screenshot screen to get the screenshot screen. In this way, even if the size of the display content that the user wants to intercept exceeds the range of one screen of the terminal device, a complete screenshot screen can be obtained.
  • the entire screen shot operation is simple, convenient, and fast, and the screen shot display effect is better.
  • FIG. 2 is a flowchart of another screen capture method according to an embodiment of the present application.
  • the screenshot method of this embodiment can be implemented by using any type of terminal device as described above, and the screenshot method includes:
  • Step S201 receiving a screenshot start instruction, and generating a screenshot box according to the screenshot start instruction, where the screenshot frame includes at least part of the display content on the terminal device screen;
  • Step S202 receiving a screenshot frame adjustment instruction, and adjusting the size and position of the screenshot frame according to the screenshot frame adjustment instruction;
  • Step S203 performing a screenshot operation on the display content in the screenshot box according to the size of the screenshot frame to obtain the first screenshot sub-picture;
  • Step S204 receiving a screenshot content adjustment instruction, and adjusting the display content in the screenshot box according to the screenshot content adjustment instruction; according to the adjustment direction of the display content on the screen of the terminal device, according to the size of the screenshot frame, the adjusted display in the screenshot frame
  • the content is subjected to a screenshot operation to obtain at least one second screenshot sub-picture
  • Step S205 determining a screenshot boundary determination instruction according to a click instruction of the user on the display content on the screen of the terminal device, and acquiring a screenshot boundary of the display content on the screen of the terminal device according to the screenshot boundary determination instruction;
  • Step S206 receiving a screenshot end instruction, and synthesizing the first screenshot sub-picture and the at least one second screenshot sub-picture into a to-be-screened picture according to the screenshot end instruction;
  • Step S207 performing a screenshot operation on the screenshot screen according to the screenshot boundary to obtain a screenshot screen
  • Step S208 receiving an annotation instruction, and adding an annotation to the screenshot screen according to the annotation instruction.
  • step S201 the screenshot device receives a screenshot start instruction issued by the user, and the screenshot start instruction refers to an instruction that the user requests to take a screenshot of at least part of the display content in the screen of the terminal device. Then, the screenshot device generates a screenshot frame on the screen of the terminal device according to the screenshot start instruction, and the screenshot frame includes at least part of the display content of the terminal device.
  • the screenshot device receives the user's screenshot box adjustment instruction, and the screenshot frame adjustment instruction refers to an instruction that the user requests to adjust the size and position of the screenshot frame.
  • the screenshot device then adjusts the size (eg, height or width) and position of the screenshot frame according to the screenshot box adjustment instruction, so that the user can select the content of the screenshot.
  • step S203 the screenshot device performs a screenshot operation on the display content in the screenshot frame according to the size of the screenshot frame, and obtains a screenshot sub-screen, which is called a first screenshot sub-screen.
  • the screenshot device receives the screenshot content adjustment instruction issued by the user, and the screenshot content adjustment instruction refers to an instruction for the user to adjust the display content in the screenshot frame by dragging the display content on the screen of the terminal device.
  • the screenshot device then adjusts the display content according to the screenshot content to adjust the display content in the screenshot box.
  • the screenshot device performs a screenshot operation on the adjusted display content in the screenshot frame according to the adjustment direction of the display content on the screen of the terminal device to obtain at least one second screenshot sub-screen.
  • the method for the screenshot device to perform the screenshot operation on the adjusted display content in the screenshot frame according to the adjustment direction of the display content on the screen of the terminal device to obtain the at least one second screenshot sub-screen includes:
  • the screenshot device screens the display content on the screen of the terminal device from top to bottom according to the size of the screenshot frame; specifically, when the display content on the screen of the terminal device moves upwards by more than n
  • the height of the screenshot box is less than the height of n+1 screenshot frames, and the height of the n+1 screenshot frame and the width of one screenshot frame are set for the terminal.
  • the display content on the standby screen is n+1 screenshot operations from top to bottom to obtain n+1 second screenshot sub-pictures, where n is an integer greater than or equal to 0.
  • the screenshot device screens the display content on the screen of the terminal device from bottom to top according to the size of the screenshot frame; specifically, when the display content on the screen of the terminal device moves downwards, the content is larger than
  • the height of the n screenshot frames is less than the height of n+1 screenshot frames, n+1 for the display content on the screen of the terminal device from bottom to top according to the height of n+1 screenshot frames and the width of one screenshot frame.
  • the screenshot device screens the display content on the screen of the terminal device from left to right according to the size of the screenshot frame; specifically, when the display content on the screen of the terminal device moves to the left is greater than
  • the width of the n screenshot frames is less than the width of n+1 screenshot frames.
  • the width of n+1 screenshot frames and the height of one screenshot frame are n+1 from left to right on the screen of the terminal device.
  • the screenshot device screens the display content on the screen of the terminal device from right to left according to the size of the screenshot frame; specifically, when the display content on the screen of the terminal device moves to the right is greater than
  • the width of the n screenshot frames is less than the width of n+1 screenshot frames.
  • the width of n+1 screenshot frames and the height of one screenshot frame are n+1 for right-to-left display on the screen of the terminal device.
  • the size of each screenshot sub-picture thus obtained is the same as the size of the screenshot frame and the display content contained in each screenshot sub-picture is continuous and different.
  • the screenshot device receives a screenshot boundary determination instruction of the user, and the screenshot boundary determination instruction refers to an instruction of the user to determine a screenshot boundary of the display content on the screen of the terminal device.
  • the screenshot boundary determination instruction may be for the user to display on the screen of the terminal device Click command.
  • the screenshot device obtains the screenshot boundary of the display content on the screen of the terminal device according to the screenshot boundary determination instruction, such as the upper screenshot boundary, the lower screenshot boundary, the left screenshot boundary, and the right screenshot boundary of the display content.
  • step S206 the screenshot device receives a screenshot end instruction of the user, the screenshot end instruction is an instruction for the user to determine an acquisition operation to complete the screenshot boundary of the displayed content.
  • the user can make changes to the screenshot boundaries of the display content on the terminal device screen before receiving the screenshot end instruction.
  • the screenshot device then synthesizes the first screenshot sub-screen acquired in step 202 and the at least one second screenshot sub-screen obtained in step S204 into a screen to be screened according to the screenshot end instruction.
  • step S207 the screenshot device performs a screenshot operation on the screen to be screenshot acquired in step S206 according to the screenshot boundary acquired in step S205, thereby acquiring a screenshot screen.
  • the screenshot device receives an annotation instruction issued by the user, the annotation instruction is an instruction for the user to add an annotation on the screenshot screen, and the annotation instruction is used to add an annotation associated with the content of the screenshot screen on the screenshot screen, and then The screenshot device adds a corresponding annotation to the screenshot screen acquired in step S207 according to the annotation instruction.
  • the annotation can be a text description of the screenshot screen and the source of the screenshot screen. In this way, the user can send the screenshot screen and the annotation to other users at the same time, so that other users can understand the content of the screenshot screen more quickly.
  • the screenshot method of the embodiment improves the effectiveness of the screenshot operation by adjusting the size and position of the display frame and performing the screenshot operation on the display content on the screen of the terminal device. Invalid screenshot operation. At the same time, by adding annotations to the screenshot screen, the display effect of the screenshot is improved.
  • the size of each of the captured screenshots is the same.
  • the content of each screenshot sub-screen can be displayed in the screenshot screen, so that Screenshot screens with continuous content and different content.
  • the user may find that part of the content of a screenshot sub-picture in multiple screenshot sub-pictures is not intended to be sent to other users.
  • the terminal device has a split screen function
  • two applications can be simultaneously displayed and run on one screen, such as a split screen display browser and instant messaging.
  • the screenshot device performs a screenshot operation on the screen in the split screen state to obtain a plurality of screenshot sub-pictures
  • the user may find that he only wants to send the content displayed by the browser in a certain screenshot sub-picture to the friend, and does not want to Instant messaging content is sent to friends.
  • the screenshot sub-screen can only be edited using the image editing tool.
  • the process of the image editing tool processing the screenshot sub-picture is cumbersome, and the efficiency of processing the screenshot sub-picture is relatively low.
  • the embodiment of the present application further proposes a method for processing a screenshot sub-picture, so as to remove content that the user does not want to keep in the screenshot sub-picture.
  • the method can be implemented by any type of terminal device having a display device.
  • the method may be set in a system of the terminal device, executed by a system of the terminal device, or set in an application of the terminal device, and executed by an application in the terminal device.
  • the method of processing the screenshot sub-picture may be performed before step S105; in conjunction with the embodiment shown in FIG. 2, the method of processing the screenshot sub-picture may be performed before step S206.
  • step S105 or step S206 it is first determined whether there is a screenshot sub-screen to be cropped in the first screenshot sub-screen and the at least one second screenshot sub-screen; if there is no screenshot sub-screen to be cropped, the screenshot end instruction is received; if the screenshot is to be cropped
  • the screen performs the method steps of processing the screenshot sub-picture.
  • the method for processing the screenshot sub-picture is as shown in FIG. 3, and includes the following steps:
  • Step S301 determining an area to be cropped in the screenshot sub-picture to be cropped in the screenshot sub-picture
  • Step S302 cutting out the to-be-cut in the area from the to-be-cropped screenshot sub-picture Rong.
  • the content displayed on the screen of the terminal device includes at least a first split screen and a second split screen
  • the screenshot to be cropped includes the first An interface diagram of the application displayed in the split screen and the second split screen.
  • the split screen state is that the terminal device displays the application in the terminal device in at least two split screens. As shown in FIG. 5, two split screens are displayed on the screen of one terminal device, and an interface diagram of an application is displayed on each split screen.
  • the left side screen shows the interface diagram of the application 1, and the right side screen shows the interface diagram of the application 2.
  • the screen shot method provided by the above embodiment is used to intercept the content displayed on the screen of the terminal device, and the obtained screenshot is as shown in FIG. 6.
  • the screenshot shown in FIG. 6 may be one of the plurality of screenshot sub-pictures mentioned in the above embodiment.
  • the first split screen and the second split screen on the screen of one terminal device respectively display interface diagrams of the application 1 and the application 2.
  • the area of the first split screen on the screenshot is used to display the interface diagram of the application 1, and the area of the second split screen on the screenshot is used to display the interface diagram of the application 2.
  • the screen to be cropped includes the interface diagram of the application displayed in at least two split screens. If the user does not want to retain the interface map of an application, the clip is to be cropped.
  • the content is the interface diagram of the application to be cropped.
  • the screenshot sub-picture to be cropped is referred to as a screenshot
  • the method for processing the screenshot sub-picture shown in FIG. 3 is referred to as a screenshot processing method.
  • FIG. 4 shows a screenshot processing method in which the screen of the terminal device is in a split screen state, and the method includes the following steps:
  • Step S401 determining an area in the application in which the interface diagram of the application to be cropped is in the screenshot.
  • the application to be cropped in the application may be the default application. It can also be a user-specified application.
  • the default application can be the application itself that runs the screenshot processing method.
  • the user-specified application can be any of the applications displayed on the terminal device screen.
  • the interface map of the application to be tailored is determined by specifying an area in the screenshot in which the interface diagram of the application to be cropped is located.
  • the interface diagram of the application to be cropped is the interface diagram of the image to be cropped displayed on the screen of the terminal device in the screenshot.
  • the screenshot processing method can be executed in the application 2, and the interface diagram of the application 2 is determined by default as an interface diagram of the application to be tailored.
  • the user may also specify that the interface diagram of the application 1 is an interface map of the application to be tailored.
  • step S402 the interface diagram of the application to be cropped located in the area is cropped from the screenshot.
  • the interface map in the area determined in step S401 is trimmed from the screenshot, thereby enabling editing of the screenshot.
  • the interface diagram of the application 2 shown in FIG. 6 is cropped.
  • the interface diagram of the application that needs to be cropped is determined from the screenshot and cropped, and the screenshot processing is processed without using the image processing software, which simplifies the processing of the screenshot. , improve the processing efficiency of the screenshot.
  • the area specified by the user may be used as an area of the interface diagram of the application to be tailored in the screenshot, that is, an area of the screen in the screenshot in which the interface of the application to be tailored in the application is determined.
  • Methods include:
  • the area in the screenshot of the interface diagram of the first application is determined as the area in the screenshot of the interface diagram of the application to be cropped.
  • any area in the screenshot can be selected as the area to be cropped by the area selection instruction.
  • Select an interface diagram for any of the applications in the screenshot The area in the screenshot is the area to be cropped, that is, the area in the screenshot as the interface diagram of the application to be cropped.
  • the interface diagram of the first application is the interface diagram of any application in the screenshot.
  • the screenshot includes an interface diagram of two applications, that is, an interface diagram of the application 1 and an interface diagram of the application 2.
  • the area where the interface diagram of the application 1 is located is selected according to the area selection instruction, the area of the interface diagram of the application 1 in the screenshot is determined as the area of the interface diagram of the application to be cropped in the screenshot, and the application is The interface diagram of 1 is cropped in the area in the screenshot; when the area selection instruction selects the area where the interface diagram of the application 2 is located, the area of the interface diagram of the application 2 in the screenshot is determined as the interface of the application to be tailored.
  • the interface map of the application can be tailored by receiving the region selection instruction, thereby simplifying the processing process of the screenshot and improving the flexibility of the screenshot cropping.
  • the default area may be used as an area in the screenshot in the interface diagram of the application to be tailored.
  • the method for determining an area of the application to be tailored in the screen in the screenshot includes:
  • the default area prompt information is displayed, where the default area prompt information is used to prompt to determine the area of the interface diagram of the second application in the application in the screenshot as the default candidate area;
  • the first application is the same as or different from the second application.
  • the default candidate area is the area of the default application's interface diagram in the screenshot.
  • the default application is the second application.
  • the default application can be the same program as the application corresponding to the interface diagram of the application specified by the user, or it can be a different application.
  • the default area prompt information to prompt the interface diagram of the application to be cropped. If the user confirms that the default candidate area indicated by the default area prompt information is cropped, the default candidate area is cropped after receiving the confirmation information of the user. If the user issues an area selection command to crop the interface map of the application in another area, the area selected by the area selection command is cropped.
  • the application selected by the area selection command can also be the same as the default candidate area.
  • the confirmation information may also be an area selection instruction issued by the user, that is, the user selects a default candidate area through the area selection instruction, or another area other than the default candidate area.
  • the default area prompt information may be displayed in the screen shot in the screenshot of the interface diagram of the application to be cropped in the screenshot, or the screen may be used to prompt the application screen of the application to be cropped on the screen.
  • the way to display the default area hint information can also be used to display the area selected according to the area selection command.
  • the default candidate area may be an area in which an interface diagram of an application containing user privacy information or other inconvenient information is located, such as an area in which an instant session interface diagram of an instant messaging application is located.
  • the default candidate area can also be an interface diagram of other applications.
  • the user is prompted to crop the default candidate area.
  • the default candidate area is the area that the user wants to crop.
  • the display of the default area prompt information can reduce the user's area selection command, making the cutting of the screenshot more convenient and fast.
  • determining an area of the interface diagram of the application to be cropped in the application in the screenshot includes:
  • the split screen mode of 5:5 or the split screen of 3:7 can be used, and the split screen mode of other ratios can also be adopted. If the terminal device displays more than two split screens in the split screen state, the split screen mode of 3:4:3 may be used, or the split screen mode of 2:3:5 and the split screen mode of other ratios may be adopted.
  • Each split screen displays an interface diagram of an application, and the proportion of each split screen to the screen of the terminal device is determined when the interface diagram of the application is displayed, and then the ratio of the interface map of each application to the screenshot is It is also ok.
  • the screenshots can be divided according to the proportion of each screen occupying the screen of the terminal device to divide the area of the interface diagram of each application in the screenshot.
  • FIG. 7 is a schematic diagram of another screenshot provided by an embodiment of the present application, the screenshot includes three split screens and a split screen ratio of 3:4:3. The screenshots are divided according to the split screen ratio. As shown in FIG. 7, the interface diagram of each application is divided into 3:4:3 ratios in the screen shots.
  • the terminal device usually has two modes, a horizontal screen display and a vertical screen display.
  • the terminal device may be The screen shots are divided by different display methods.
  • the display mode of the terminal device in the split screen state may be acquired, where the display mode includes a horizontal screen display mode and a vertical screen display mode; and the display mode of the terminal device is determined to be in a horizontal display mode or a vertical display mode;
  • the horizontal screen display mode the long side of the screenshot is divided according to the scale, so that the interface diagram in the application displayed in each split screen is in the screenshot.
  • Area when the display mode is the portrait display mode, the short side of the screenshot is divided according to the scale to obtain the area of the interface diagram in the application displayed in each split screen in the screenshot.
  • the terminal device screen is in the split screen state of 3:7 ratio
  • the long side of the screenshot is proportionally divided
  • the vertical screen as shown in FIG. 8 is adopted
  • the short side of the screenshot is proportionally divided. Since the height and width of the screenshot are determined, the area of each application's interface map in the screenshot is determined after dividing the long side or the short side.
  • the screenshots are divided according to the corresponding split screen ratio, and the area of the interface diagram of each application in the screenshot can be obtained, so as to display the default area prompt information, or For the user to issue a zone selection command.
  • the area selection instruction is used by the user to determine the area to be cropped according to the content of the screenshot.
  • the default candidate area can be determined as follows. Specifically, determining the area of the interface diagram of the second application in the screenshot as the default candidate area includes:
  • split screen state of the screen of the terminal device is a uniform split screen, determining, according to the second application, the area of the interface diagram of the second application in the screenshot in the running state before the screen of the terminal device is split, and determining the area As the default candidate area;
  • the area in the screen of the second application is determined according to the area of the interface of the second application according to the interface diagram of the second application, and the determined area is used as the area The default candidate area.
  • the second application is the application corresponding to the default candidate area. If the terminal device The screen is evenly split, and the terminal device cannot confirm the position of the split screen where the second application is located on the screen according to the current split ratio. Then, the position of the split screen of the second application in the screen needs to be determined according to the running state of the second application before the screen of the terminal device is split, thereby further determining the area of the interface diagram of the second application on the screenshot. . If the screen of the terminal device is not evenly split, the terminal device can determine the interface diagram of the application displayed on each of the split screens according to the split screen ratio in the current split screen state, thereby determining the interface of the second application. The area on the screenshot.
  • the area of the interface diagram of the second application in the screenshot may be determined according to whether the terminal device screen is not displayed or is displayed in full screen before being screened according to the screenshot of the second application. Specifically, determining, according to the running state of the second application, that the interface image of the second application is in the screenshot in the operating state before the screen of the terminal device is split:
  • the screen is full screen, it is determined that the second application is in the first split screen, the area of the first split screen on the screen of the terminal device is corresponding to the first area in the screenshot, and the first area is determined as the second application.
  • the area of the interface diagram of the second application in the screenshot is determined according to whether the screen of the previous terminal device is in the split screen state on the terminal device screen in the interface diagram of the second application.
  • the terminal device displays the interface diagram of the application 1 and the interface diagram of the application 2 in a split screen state in a split screen state.
  • the split screen displayed in the interface diagram of the application 1 shown in FIG. 9 is displayed (ie, In a split screen), the split screen corresponds to the first area on the screenshot; another interface diagram of the application is displayed in the figure The split screen where the interface diagram of the application 2 shown in Fig. 9 is located.
  • the interface diagram of the second application is determined according to whether the terminal device screen is in a split screen state on the terminal device screen according to the interface diagram of the second application. The area in the screenshot.
  • determining, according to whether the interface image of the second application is in a split screen state on the screen of the second application, the area of the interface diagram of the second application in the screenshot includes:
  • the screen of the terminal device is in the split screen state, detecting a split screen displaying the interface diagram of the second application, and correspondingly detecting the area of the split screen on the screen of the terminal device to the second area in the screenshot, and the second The area is determined as an area of the interface diagram of the second application in the screenshot;
  • the terminal device screen is not in the split screen state, determining that the second application is in the second split screen, the area of the second split screen on the screen of the terminal device is corresponding to the third area in the screenshot, and determining the third area The area in the screenshot for the second application's interface diagram.
  • the terminal device screen is in the full screen display state, that is, other applications than the second application program are displayed in full screen.
  • the second application and other applications are simultaneously displayed on the terminal device screen, and the interface diagrams of other applications are displayed in the split screen where the application 1 shown in FIG. 9 is located, and the second application
  • the interface diagram of the program is displayed in the split screen (ie, the third split screen) where the application 2 shown in FIG. 9 is located, and the corresponding area of the split screen on the screenshot is the third area.
  • the terminal device screen displays the application 1 and the application as shown in FIG. 9 before the second application is displayed. 2. If the second application replaces the application 1 for display, the interface diagram of the second application is displayed in the split screen (ie, the second split screen) of the application 1 in the terminal device screen, and the split screen is on the screenshot. The corresponding area is the second area; if the second application replaces the application 2 for display, the interface diagram of the second application is displayed in the split screen (ie, the second split screen) of the application 2 in the terminal device screen, The corresponding area of the split screen on the screenshot is the second area.
  • the display state of the application and the display state of the terminal device screen according to the default area prompt information can determine the position of the interface diagram of the application on the screenshot. Therefore, after the screenshot is obtained, the default area prompt information is displayed to prompt the user to crop the area indicated by the default area prompt information, which can solve the technical problem that the editing operation of the screen shot is complicated and low in the prior art, and the technical problem is achieved. The technical effect of improving the processing efficiency of the screenshot.
  • the medium e.g., ROM/RAM, disk, optical disk
  • a terminal device which may be a cell phone, a computer, a server, or a network device, etc.
  • the embodiment of the present application further provides a screenshot device, please refer to FIG.
  • FIG. 10 is a schematic structural diagram of a screen capture device according to an embodiment of the present application.
  • the screen shot device of this embodiment can be implemented based on the screen shot method shown in FIG. 1.
  • the screenshot device 1000 includes a screenshot frame generation module 1001, a display content adjustment module 1002, a first screenshot module 1003, a boundary acquisition module 1004, a synthesis module 1005, and a second screenshot module 1006.
  • the screenshot box generating module 1001 is configured to receive a screenshot start instruction, and generate a screenshot box according to the screenshot start instruction, where the screenshot frame includes at least part of the display content on the terminal device screen.
  • the display content adjustment module 1002 is configured to receive a screenshot content adjustment instruction, and adjust the display content in the screenshot frame according to the screenshot content adjustment instruction.
  • the first screenshot module 1003 is configured to perform a screenshot operation on the display content in the screenshot box according to the size of the screenshot frame to obtain a first screenshot sub-screen; and perform a screenshot operation on the adjusted display content according to the size of the screenshot frame. To obtain at least one second screenshot sub-picture.
  • the boundary obtaining module 1004 is configured to receive a screenshot boundary determination instruction, and obtain a screenshot boundary of the display content on the screen of the terminal device according to the screenshot boundary determination instruction.
  • the synthesizing module 1005 is configured to receive a screenshot end instruction, and synthesize the first screenshot sub-picture and the at least one second screenshot sub-picture into a to-be-screened picture.
  • the second screenshot module 1006 is configured to perform a screenshot operation on the screenshot screen according to the screenshot boundary to obtain a screenshot screen.
  • the screenshot box generating module 1001 receives a screenshot start instruction issued by the user, and the screenshot start instruction refers to an instruction that the user requests to take a screenshot of at least part of the display content in the terminal device screen. Then the screenshot box generation module The 1001 generates a screenshot box on the screen of the terminal device according to the screenshot start instruction, and the screenshot frame includes at least part of the display content on the screen of the terminal device.
  • the first screenshot module 1003 After the screenshot box generating module 1001 generates the screenshot box, the first screenshot module 1003 performs a screenshot operation on the display content in the screenshot box according to the size of the screenshot frame, and obtains a screenshot sub-screen, which is called a first screenshot sub-screen.
  • the display content adjustment module 1002 receives the screenshot content adjustment instruction issued by the user, where the screenshot content adjustment instruction refers to an instruction for the user to adjust the display content in the screenshot frame by dragging the display content on the screen of the terminal device. Then, the display content adjustment module 1002 adjusts the display content in the screenshot frame according to the screenshot content adjustment instruction.
  • the first screenshot module 1003 performs a screenshot operation on the adjusted display content in the screenshot frame according to the size of the screenshot frame to obtain at least one second screenshot sub-screen.
  • the size of each screenshot sub-picture is the same as the size of the screenshot box and the display content contained in each screenshot sub-picture is continuous and different.
  • the boundary acquisition module 1004 receives a screenshot boundary determination instruction of the user, and the screenshot boundary determination instruction refers to an instruction of the user to determine a screenshot boundary of the display content on the screen of the terminal device. The boundary acquisition module 1004 then acquires a screenshot boundary of the display content on the screen of the terminal device according to the screenshot boundary determination instruction.
  • the composition module 1005 receives a user's screenshot end instruction, which is an instruction for the user to determine an acquisition operation to complete the screenshot boundary of the displayed content. The user can make changes to the screenshot boundaries of the display content on the terminal device screen before receiving the screenshot end instruction.
  • the synthesis module 1005 then synthesizes the first screenshot sub-picture and the at least one second screenshot sub-picture acquired by the first screenshot module 1003 into a to-be-screened picture according to the screenshot end instruction.
  • the second screenshot module 1006 performs a screenshot operation on the screen to be screenshot acquired by the synthesis module 1005 according to the screenshot boundary acquired by the boundary acquisition module 1004, thereby acquiring a screenshot screen.
  • the screen capture device provided by the embodiment is visible through the display content in the screenshot box.
  • the adjustment is performed, and the adjusted display content is subjected to a screenshot operation, and multiple screenshot sub-pictures can be obtained; then, the plurality of screenshot sub-pictures are synthesized into a screen to be screened, and a screenshot operation is performed on the screenshot screen, and the screenshot screen can be obtained.
  • a complete screenshot screen can be obtained.
  • FIG. 11 is a schematic structural diagram of a screen capture apparatus according to an embodiment of the present application.
  • the screen shot device of this embodiment can be implemented based on the screen shot method shown in FIG. 2.
  • the screenshot device 1100 includes a screenshot frame generation module 1001, a display content adjustment module 1002, a first screenshot module 1003, a boundary acquisition module 1004, a synthesis module 1005, and a second screenshot module 1006, as shown in FIG. 10, and further includes a screenshot frame.
  • the module 1101 and the annotation module 1102 are adjusted.
  • the screenshot box generating module 1001 is configured to receive a screenshot start instruction, and generate a screenshot box according to the screenshot start instruction, where the screenshot frame includes at least part of the display content on the terminal device screen.
  • the screenshot frame adjustment module 1101 is configured to receive a screenshot frame adjustment instruction, and adjust the size and position of the screenshot frame according to the screenshot frame adjustment instruction.
  • the display content adjustment module 1002 is configured to receive a screenshot content adjustment instruction, and adjust the display content in the screenshot frame according to the screenshot content adjustment instruction.
  • the first screenshot module 1003 is configured to perform a screenshot operation on the display content in the screenshot box according to the size of the screenshot frame to obtain the first screenshot sub-screen; according to the adjustment direction of the display content on the screen of the terminal device, press the size of the screenshot frame Perform a screenshot operation on the adjusted display content in the screenshot box to obtain at least one second screenshot sub-picture.
  • the boundary obtaining module 1004 is configured to determine a screenshot boundary determination instruction according to a click instruction of the user on the display content on the screen of the terminal device, and obtain a screenshot boundary of the display content on the screen of the terminal device according to the screenshot boundary determination instruction.
  • the synthesizing module 1005 is configured to receive a screenshot end instruction, and synthesize the first screenshot sub-picture and the at least one second screenshot sub-picture into a to-be-screened picture according to the screenshot end instruction.
  • the second screenshot module 1006 is configured to perform a screenshot operation on the screenshot screen according to the screenshot boundary to obtain a screenshot screen.
  • the annotation module 1102 is configured to receive an annotation instruction and add an annotation to the screenshot screen according to the annotation instruction.
  • FIG. 12 is a schematic structural diagram of a first screenshot module of a screenshot device according to an embodiment of the present disclosure.
  • the first screenshot module 1003 includes an upward screenshot unit 1201, a downward screenshot unit 1202, a left screenshot unit 1203, and a right screenshot unit 1204.
  • the upward screening unit 1201 is configured to: when the display content on the screen of the terminal device moves upward, perform screenshots on the display content on the screen of the terminal device from top to bottom according to the size of the screenshot frame;
  • the downward screening unit 1202 is configured to: when the display content on the screen of the terminal device moves downward, screen the display content on the screen of the terminal device from bottom to top according to the size of the screenshot frame;
  • the left screenshot unit 1203 is configured to screen the display content on the screen of the terminal device from left to right according to the size of the screenshot box when the display content on the screen of the terminal device moves to the left;
  • the right screenshot unit 1204 is configured to screen the display content on the screen of the terminal device from right to left according to the size of the screenshot box when the display content on the screen of the terminal device moves to the right.
  • the screenshot box generating module 1001 receives a screenshot start instruction issued by the user, and the screenshot start instruction refers to an instruction that the user requests to take a screenshot of at least part of the display content in the terminal device screen.
  • the screenshot box generating module 1001 then generates a screenshot box on the screen of the terminal device according to the screenshot start instruction, and the screenshot box includes at least part of the display content on the screen of the terminal device.
  • the screenshot box adjustment module 1101 receives a user's screenshot box adjustment instruction, and the screenshot frame adjustment instruction refers to an instruction that the user requests to adjust the size and position of the screenshot frame.
  • the screenshot frame adjustment module 1101 then adjusts the size of the image frame (eg, height or width) according to the screenshot frame. Degree) and position adjustment to allow the user to select the content of the screenshot.
  • the first screenshot module 1003 After the size and position of the screenshot frame are determined, the first screenshot module 1003 performs a screenshot operation on the display content in the screenshot box according to the size of the screenshot frame, and obtains a screenshot sub-screen, which is called a first screenshot sub-screen.
  • the display content adjustment module 1002 receives the screenshot content adjustment instruction issued by the user, where the screenshot content adjustment instruction refers to an instruction for the user to adjust the display content in the screenshot frame by dragging the display content on the screen of the terminal device. Then, the display content adjustment module 1002 adjusts the display content in the screenshot frame according to the screenshot content adjustment instruction.
  • the first screenshot module 1003 performs a screenshot operation on the adjusted display content in the screenshot box according to the adjustment direction of the display content on the screen of the terminal device to obtain at least one second screenshot sub-screen.
  • the upward screenshot unit 1201 of the first screenshot module 1003 performs a screenshot on the display content on the screen of the terminal device from top to bottom according to the size of the screenshot frame. For example, when the display content on the screen of the terminal device moves upwards by more than the height of the n screenshot frames, less than the height of the n+1 screenshot frames, the upward screenshot unit 1201 presses the height of the n+1 screenshot frames and the 1 screenshot frame.
  • the width performs n+1 screenshot operations on the display content on the screen of the terminal device from top to bottom to obtain n+1 second screenshot sub-pictures, where n is an integer greater than or equal to 0.
  • the downward screenshot unit 1202 of the first screenshot module 1003 takes a screenshot from the bottom to the top of the display content on the screen of the terminal device according to the size of the screenshot frame. For example, when the display content on the screen of the terminal device moves downwards by more than the height of n screenshot frames, less than the height of n+1 screenshot frames, the downward screenshot unit 1202 presses the height of n+1 screenshot frames and 1 screenshot. The width of the frame performs n+1 screenshot operations on the display content on the screen of the terminal device from bottom to top to obtain n+1 second screenshot sub-pictures, where n is an integer greater than or equal to 0.
  • the left screenshot unit 1203 of the first screenshot module 1003 performs a screenshot from left to right on the display content on the screen of the terminal device according to the size of the screenshot frame. For example, when the display content on the screen of the terminal device moves to the left by more than the width of n screenshot frames, less than the width of n+1 screenshot frames, the left screenshot unit 1203 presses the width of n+1 screenshot frames and 1 screenshot. The height of the box performs n+1 screenshot operations from left to right on the display content on the screen of the terminal device to obtain n+1 second screenshot sub-pictures, where n is an integer greater than or equal to 0.
  • the right screenshot unit 1204 of the first screenshot module 1003 performs a screenshot from right to left on the display content on the screen of the terminal device according to the size of the screenshot frame. For example, when the display content on the screen of the terminal device moves to the right by more than the width of n screenshot frames, less than the width of n+1 screenshot frames, the right screenshot unit 1204 presses the width of n+1 screenshot frames and 1 screenshot.
  • the height of the box is n+1 screenshots from right to left on the display content on the screen of the terminal device to obtain n+1 second screenshot sub-pictures, where n is an integer greater than or equal to 0.
  • the size of each screenshot sub-picture thus obtained is the same as the size of the screenshot frame and the display content contained in each screenshot sub-picture is continuous and different.
  • the boundary acquisition module 1004 receives a screenshot boundary determination instruction of the user, and the screenshot boundary determination instruction refers to an instruction of the user to determine a screenshot boundary of the display content on the screen of the terminal device.
  • the screenshot boundary determination instruction may be a click instruction of the user on the display content on the screen of the terminal device.
  • the boundary obtaining module 1004 obtains a screenshot boundary of the display content on the screen of the terminal device according to the screenshot boundary determination instruction, such as an upper screenshot boundary, a lower screenshot boundary, a left screenshot boundary, and a right screenshot boundary of the display content.
  • the composition module 1005 receives a user's screenshot end instruction, which is an instruction for the user to determine an acquisition operation to complete the screenshot boundary of the displayed content. The user can make changes to the screenshot boundaries of the display content on the terminal device screen before receiving the screenshot end instruction.
  • the synthesis module 1005 then synthesizes the first screenshot sub-picture and the at least one second screenshot sub-picture acquired by the first screenshot module 1003 into a to-be-screened picture according to the screenshot end instruction.
  • the second screenshot module 1006 performs a screenshot operation on the screen to be screenshot acquired by the synthesis module 1005 according to the screenshot boundary acquired by the boundary acquisition module 1004, thereby acquiring a screenshot screen.
  • the annotation module 1102 receives an annotation instruction issued by the user, the annotation instruction is an instruction for the user to add an annotation on the screenshot screen, the annotation instruction is used to add an annotation associated with the content of the screenshot screen on the screenshot screen, and then the annotation module 1102 is configured according to the annotation
  • the annotation instruction adds a corresponding annotation to the screenshot screen acquired by the second screenshot module 1006.
  • the annotation can be a text description of the screenshot screen and the source of the screenshot screen. In this way, the user can send the screenshot screen and the annotation to other users at the same time, so that other users can understand the content of the screenshot screen more quickly.
  • the screenshot device of the embodiment improves the effectiveness of the screenshot operation by adjusting the size and position of the display frame to perform a screenshot operation on the display content on the screen of the terminal device. Avoid invalid screenshot operations. At the same time, by adding annotations to the screenshot screen, the display effect of the screenshot is improved.
  • FIGS. 13A-13E are schematic diagrams of a screen capture method and a specific implementation of a screen capture device according to an embodiment of the present application.
  • the above-described screenshot process is implemented by the mobile terminal.
  • the screen of the terminal device includes display content, for example, the display content is part of the content of the science fiction.
  • the user clicks the screenshot button or the shortcut physical button on the screen to issue a screenshot start command, at which time the screenshot device generates a screenshot box 1301 on the screen of the mobile terminal.
  • the screenshot device performs a screenshot operation on the display content in the screenshot box according to the size of the screenshot frame, and obtains the first screenshot sub-picture, which is called the first screenshot sub-picture.
  • the first screenshot sub-screen includes lines 1-7 of the display content.
  • the screenshot device After receiving the screenshot content adjustment instruction issued by the user, the screenshot device adjusts the display content in the screenshot box 1301. As shown in FIG. 13B, the display content in the screenshot frame is adjusted by moving the display content on the screen of the terminal device upward.
  • the screenshot device performs a screenshot operation on the display content in the screenshot box.
  • the screenshot operation is not performed.
  • the screenshot device does not Take a screenshot operation.
  • the screenshot device performs a screenshot operation on the current display content according to the size of the screenshot frame.
  • the screenshot device when the display content in the screenshot box 1301 is the content of the 8th-14th row, the screenshot device performs a second screenshot operation on the content displayed in the screenshot box to obtain a second screenshot sub-picture, which is called For the second screenshot sprite.
  • the second screenshot sub-screen includes lines 8-14 of the displayed content.
  • the content of the first screenshot sub-screen and the second screenshot sub-screen are continuous but different. That is to say, when the display content in the screenshot frame 1301 is adjusted to the content shown in FIG. 13C, only the screenshot operation occurs twice.
  • the third screenshot operation will only be performed when the display content in the screenshot box 1301 in FIG. 13C is adjusted.
  • the screenshot device After the screenshot device performs two screenshot operations, two screenshot sub-screens are acquired.
  • the screenshot device receives the user's screenshot boundary determination instructions to determine the screenshot boundaries of the display content on the terminal device screen.
  • the left boundary of the screenshot frame is the left boundary of the display content
  • the right boundary of the screenshot frame is the right boundary of the display content
  • the boundary indicated by the straight line A in FIG. 13A is the upper boundary of the display content
  • FIG. 13C The boundary indicated by the straight line B is the lower boundary of the display content.
  • the screenshot device receives the user's screenshot end instruction and will end the instruction according to the screenshot.
  • the two screenshots that were previously acquired are combined into a screen to be screened. As shown in Figure 13D.
  • the screenshot device performs a screenshot operation on the screen to be screened as shown in FIG. 13D according to the determined screenshot boundary to obtain a screenshot screen, as shown in the left diagram of FIG. 13E.
  • the user can also add annotations to the screenshot screen through the screenshot device, such as the description or address of the screenshot screen, and then send the annotated screenshot screen to other users completely, as shown in the right diagram of FIG. 13E.
  • the screen capture method and the screenshot device provided by the embodiment of the present application can be seen, by adjusting the display content in the screenshot box, and performing a screenshot operation on the adjusted display content, multiple screenshot sub-screens can be obtained; and then multiple screenshots are taken.
  • the sub-picture is synthesized into a screen to be screened, and a screenshot operation is performed on the screenshot screen, and the screenshot screen can be obtained. In this way, even if the size of the display content that the user wants to intercept exceeds the range of one screen of the terminal device, a complete screenshot screen can be obtained.
  • the screen shot method and the screenshot device provided by the embodiment of the present application the entire screen shot operation is simple, convenient, and fast, and the screen shot display effect is better.
  • the user may find that part of the content of one of the screenshot sub-pictures is not intended to be sent to other users.
  • the terminal device has a split screen function
  • two applications can be simultaneously displayed and run on one screen, such as a split screen display browser and instant messaging.
  • the screenshot device performs a screenshot operation on the screen in the split screen state to obtain a plurality of screenshot sub-pictures
  • the user may find that he only wants to send the content displayed by the browser in a certain screenshot sub-picture to the friend, and does not want to Instant messaging content is sent to friends.
  • the embodiment of the present application further provides a screen capture device, as shown in FIG. 14 .
  • the device further includes a judging module 1401, an area determining module 1402, and a cropping module 1303 for processing the screenshot sub-picture in order to remove the content that the user does not want to retain in the screenshot sub-picture, in addition to the module shown in FIG.
  • the screenshot device can be set at In the terminal device.
  • the determining module 1401 is configured to determine whether the screenshot sub-picture is to be cropped in the first screenshot sub-picture and the at least one second screenshot sub-picture.
  • the area determining module 1402 is configured to determine, in the determining module 1401, that the to-be-trimmed content in the screenshot sub-picture is in an area to be cropped in the screenshot sub-picture.
  • the cropping module 1403 is configured to crop the to-be-cut content located in the area from the to-be-cropped screenshot sub-picture.
  • the content displayed on the screen of the terminal device includes at least a first split screen and a second split screen
  • the screenshot to be cropped includes An interface diagram of the application displayed in the first split screen and the second split screen.
  • the split screen state is that the terminal device displays the application in the terminal device in at least two split screens. As shown in FIG. 5, two split screens are displayed on the screen of one terminal device, and an interface diagram of an application is displayed on each split screen.
  • the left side screen shows the interface diagram of the application 1, and the right side screen shows the interface diagram of the application 2.
  • the screenshot device provided by the above embodiment is used to intercept the content displayed on the screen of the terminal device, and the obtained screenshot is as shown in FIG. 6.
  • the screenshot shown in FIG. 6 may be one of the plurality of screenshot sub-pictures mentioned in the above embodiment.
  • the first split screen and the second split screen on the screen of one terminal device respectively display interface diagrams of the application 1 and the application 2.
  • the area of the first split screen on the screenshot is used to display the interface diagram of the application 1, and the area of the second split screen on the screenshot is used to display the interface diagram of the application 2.
  • the screen to be cropped includes the interface diagram of the application displayed in at least two split screens. If the user does not want to retain the interface map of an application, the clip is to be cropped.
  • the content is the interface diagram of the application to be cropped.
  • the screen to be cropped is called a screenshot.
  • the area determining module 1402 is configured to determine an area in the application in which the interface diagram of the application to be cropped is in the screenshot.
  • the application to be tailored in the application may be a default application or a user-specified application.
  • the default application can be the application itself that runs the above screenshot processing method.
  • the user-specified application can be any of the applications displayed on the terminal device screen.
  • the interface map of the application to be tailored is determined by specifying an area in the screenshot in which the interface diagram of the application to be cropped is located.
  • the interface diagram of the application to be cropped is the interface diagram of the image to be cropped displayed on the screen of the terminal device in the screenshot.
  • the above screenshot processing method can be executed in the application 2, and the interface diagram of the application 2 is determined by default as an interface diagram of the application to be tailored.
  • the user may also specify that the interface diagram of the application 1 is an interface map of the application to be tailored.
  • the cropping module 1403 is configured to crop the interface map of the application to be cropped in the area from the screenshot.
  • the editing of the screenshot is achieved by cutting out the interface map in the determined area from the screenshot.
  • the interface diagram of the application 2 shown in FIG. 6 is cropped.
  • the interface diagram of the application that needs to be cropped is determined from the screenshot and cropped, and the screenshot processing is processed without using the image processing software, which simplifies the processing of the screenshot. , improve the processing efficiency of the screenshot.
  • the following unit may be called to use the area specified by the user as the area in the screenshot of the interface diagram of the application to be tailored.
  • the region determination module 1402 includes:
  • a receiving unit configured to receive an area selection instruction, and select an area in the screenshot of the interface diagram of the first application in the application according to the area selection instruction;
  • a determining unit configured to determine an area of the interface diagram of the first application in the screenshot as an area in the screenshot of the interface diagram of the application to be cropped.
  • any area in the screenshot can be selected as the area to be cropped by the area selection instruction.
  • Select the interface diagram of any one of the screenshots in the screenshot as the area to be cropped that is, the area in the screenshot as the interface diagram of the application to be cropped.
  • the interface diagram of the first application is the interface diagram of any application in the screenshot.
  • the screenshot includes an interface diagram of two applications, that is, an interface diagram of the application 1 and an interface diagram of the application 2.
  • the area where the interface diagram of the application 1 is located is selected according to the area selection instruction, the area of the interface diagram of the application 1 in the screenshot is determined as the area of the interface diagram of the application to be cropped in the screenshot, and the application is The interface diagram of 1 is cropped in the area in the screenshot; when the area selection instruction selects the area where the interface diagram of the application 2 is located, the area of the interface diagram of the application 2 in the screenshot is determined as the interface of the application to be tailored.
  • the interface map of the application can be tailored by receiving the region selection instruction, thereby simplifying the processing process of the screenshot and improving the flexibility of the screenshot cropping.
  • the following unit may be called to use the default area as an area in the screenshot of the interface diagram of the application to be tailored.
  • the region determining module 1402 further includes:
  • a display unit configured to display default area prompt information before the receiving unit receives the area selection instruction, where the default area prompt information is used to prompt to determine the area of the interface image of the second application in the application in the screenshot as the default Area to be selected;
  • the determining unit is configured to: when receiving the confirmation information of the default area prompt information, The default candidate area is determined as the area of the screenshot of the application to be cropped in the screenshot.
  • the first application is the same as or different from the second application.
  • the default candidate area is the area of the default application's interface diagram in the screenshot.
  • the default application is the second application.
  • the default application can be the same program as the application corresponding to the interface diagram of the application specified by the user, or it can be a different application.
  • the default area prompt information to prompt the interface diagram of the application to be cropped. If the user confirms that the default candidate area indicated by the default area prompt information is cropped, the default candidate area is cropped after receiving the confirmation information of the user. If the user issues an area selection command to crop the interface map of the application in another area, the area selected by the area selection command is cropped.
  • the application selected by the area selection command can also be the same as the default candidate area.
  • the confirmation information may also be an area selection instruction issued by the user, that is, the user selects a default candidate area through the area selection instruction, or another area other than the default candidate area.
  • the default area prompt information may be displayed in the screen shot in the screenshot of the interface diagram of the application to be cropped in the screenshot, or the screen may be used to prompt the application screen of the application to be cropped on the screen.
  • the way to display the default area hint information can also be used to display the area selected according to the area selection command.
  • the default candidate area may be an area in which an interface diagram of an application containing user privacy information or other inconvenient information is located, such as an area in which an instant session interface diagram of an instant messaging application is located.
  • the default candidate area can also be an interface diagram of other applications.
  • the user is prompted to crop the default candidate area.
  • the default candidate area is the area that the user wants to crop.
  • the display of the default area prompt information can reduce the user's area selection command, making the cutting of the screenshot more convenient and fast.
  • the area determining module 1402 includes:
  • An obtaining unit configured to acquire, before receiving the area selection instruction, a proportion of each screen on the screen of the terminal device occupying a screen of the terminal device;
  • a dividing unit for dividing the area of the interface diagram of the application displayed in each of the split screens in the screenshot.
  • the split screen mode of 5:5 or the split screen of 3:7 can be used, and the split screen mode of other ratios can also be adopted. If the terminal device displays more than two split screens in the split screen state, the split screen mode of 3:4:3 may be used, or the split screen mode of 2:3:5 and the split screen mode of other ratios may be adopted.
  • Each split screen displays an interface diagram of an application, and the proportion of each split screen to the screen of the terminal device is determined when the interface diagram of the application is displayed, and then the ratio of the interface map of each application to the screenshot is It is also ok.
  • the screenshots can be divided according to the proportion of each screen occupying the screen of the terminal device to divide the area of the interface diagram of each application in the screenshot.
  • the screenshot shown in Figure 7 includes three split screens and a split screen ratio of 3:4:3.
  • the screenshots are divided according to the split screen ratio.
  • the interface diagram of each application is divided into 3:4:3 ratios in the screen shots.
  • the terminal device usually has two modes, a horizontal screen display and a vertical screen display.
  • the terminal device may be The screen shots are divided by different display methods. Specifically, the display mode of the terminal device in the split screen state may be acquired, and the display mode includes a horizontal screen display mode.
  • the vertical screen display mode determining whether the display mode of the terminal device is in the horizontal display mode or the vertical display mode; when the display mode is the horizontal display mode, the long side of the screenshot is divided according to the ratio to obtain each split screen
  • the area of the application in the application is displayed in the area of the screenshot; when the display mode is the vertical display mode, the short side of the screenshot is divided proportionally to obtain the application displayed in each split screen.
  • the terminal device screen is in the split screen state of 3:7 ratio
  • the long side of the screenshot is proportionally divided
  • the vertical screen as shown in FIG. 8 is adopted
  • the short side of the screenshot is proportionally divided. Since the height and width of the screenshot are determined, the area of each application's interface map in the screenshot is determined after dividing the long side or the short side.
  • the screenshots are divided according to the corresponding split screen ratio, and the area of the interface diagram of each application in the screenshot can be obtained, so as to display the default area prompt information, or For the user to issue a zone selection command.
  • the area selection instruction is used by the user to determine the area to be cropped according to the content of the screenshot.
  • the default area to be selected it is necessary to determine whether it is the area to be cropped before receiving the area selection instruction. Therefore, before displaying the default area prompt information, the following sub-units can be called to determine the default candidate area.
  • the determining unit includes:
  • the determining subunit is configured to determine whether the split screen state of the screen of the terminal device is a uniform split screen, wherein the uniform split screen has the same proportion of each split screen occupying the screen of the terminal device;
  • a first determining subunit configured to determine, according to the second application, an interface diagram of the second application according to an operating state of the second application before the screen of the terminal device is split, when the determining subunit determines that the split screen state of the terminal device is a uniform split screen
  • a second determining subunit configured to determine, in the determining subunit, a split screen state of the terminal device screen
  • the area of the screen of the second application in the screen shot is determined according to the area of the screen in which the interface diagram of the second application is located, and the determined area is selected as the default candidate. region.
  • the second application is the application corresponding to the default candidate area. If the screen of the terminal device is evenly split, the terminal device cannot confirm the position of the split screen where the second application is located on the screen according to the current split ratio. Then, the position of the split screen of the second application in the screen needs to be determined according to the running state of the second application before the screen of the terminal device is split, thereby further determining the area of the interface diagram of the second application on the screenshot. . If the screen of the terminal device is not evenly split, the terminal device can determine the interface diagram of the application displayed on each of the split screens according to the split screen ratio in the current split screen state, thereby determining the interface of the second application. The area on the screenshot.
  • the area of the interface diagram of the second application in the screenshot may be determined according to whether the terminal device screen is not displayed or is displayed in full screen before being screened according to the screenshot of the second application.
  • the first determining subunit includes:
  • a determining sub-module configured to determine whether the interface diagram of the second application is displayed in full screen or not before the screen of the terminal device is split;
  • a first determining submodule configured to determine, when the determining submodule determines to be a full screen display, that the second application is in the first split screen, and the area of the first split screen on the screen of the terminal device corresponds to the first area in the screenshot And determining the first area as an area of the interface diagram of the second application in the screenshot;
  • a second determining sub-module configured to determine, according to the interface diagram of the second application, whether the screen of the terminal device is in a split screen state before the determining sub-module determines that the sub-module is not displayed, to determine an interface diagram of the second application.
  • the area in the screenshot is configured to determine, according to the interface diagram of the second application, whether the screen of the terminal device is in a split screen state before the determining sub-module determines that the sub-module is not displayed, to determine an interface diagram of the second application.
  • the terminal device displays the interface diagram of the application 1 and the interface diagram of the application 2 in a split screen state in a split screen state.
  • the second application is on the terminal device screen Before the screen is displayed in full screen, the second application is displayed in the split screen state, and is displayed in the split screen (ie, the first split screen) where the interface diagram of the application 1 shown in FIG. 9 is located.
  • the screen corresponds to the first area on the screenshot; another interface diagram of the application is displayed in the split screen where the interface diagram of the application 2 shown in FIG.
  • the interface diagram of the second application is determined according to whether the terminal device screen is in a split screen state on the terminal device screen according to the interface diagram of the second application. The area in the screenshot.
  • the second determining submodule includes:
  • Determining a small module configured to determine whether the interface device of the second application is in a split screen state before being displayed on the screen of the terminal device;
  • the detecting small module is configured to detect, when the small module determines that the terminal device screen is in the split screen state, detect a split screen displaying the interface diagram of the second application, and correspondingly display the detected split screen on the screen of the terminal device to the screenshot. a second area in the middle area, and determining the second area as an area of the interface diagram of the second application in the screenshot;
  • Determining a small module when determining that the small module determines that the terminal device screen is not in the split screen state, determining that the second application is in the second split screen, and mapping the area of the second split screen on the screen of the terminal device to the screenshot
  • the third area is determined as the area in the screenshot of the interface diagram of the second application.
  • the terminal device screen is in the full screen display state, that is, other applications than the second application program are displayed in full screen.
  • the second application and other applications are simultaneously displayed on the terminal device screen, and the interface diagrams of other applications are displayed in the split screen where the application 1 shown in FIG. 9 is located, and the second application
  • the interface diagram of the program is displayed in the split screen (ie, the third split screen) where the application 2 shown in FIG. 9 is located, and the corresponding area of the split screen on the screenshot is the third area.
  • the terminal device screen displays the application 1 and the application 2 as shown in FIG. 9 before the second application is displayed, if the second application replaces the application
  • the program 1 is displayed, and the interface diagram of the second application is displayed in the split screen (ie, the second split screen) of the application 1 in the screen of the terminal device, and the corresponding area of the split screen on the screenshot is the second area;
  • the second application replaces the application 2 for display, and the interface diagram of the second application is displayed on the split screen (ie, the second split screen) of the application 2 in the terminal device screen, and the split screen corresponds to the area on the screenshot. For the second area.
  • the display state of the application and the display state of the terminal device screen according to the default area prompt information can determine the position of the interface diagram of the application on the screenshot. Therefore, after the screenshot is obtained, the default area prompt information is displayed to prompt the user to crop the area indicated by the default area prompt information, which can solve the technical problem that the editing operation of the screen shot is complicated and low in the prior art, and the technical problem is achieved. The technical effect of improving the processing efficiency of the screenshot.
  • FIG. 15 is a schematic structural diagram of hardware of a terminal device for implementing a screen capture method according to an embodiment of the present application.
  • the terminal device includes a processor 1501, a display 1502, a memory 1503, and a network interface 1504.
  • the display 1502 is configured to display any content that can be displayed by a user, such as a document, a webpage, a picture, an application, a screenshot, and the like. If the terminal device has a split screen function, the interface map of the plurality of applications can also be displayed in a split screen.
  • the memory 1503 is a non-volatile memory for storing computer readable instructions, including: a screenshot box generation instruction, a display content adjustment instruction, a first screenshot instruction, a boundary acquisition instruction, a synthesis instruction, and a second screenshot instruction.
  • the network interface 1504 is used to communicate communication data when communicating with a server or other device as needed.
  • the processor 1501 is configured to read the screenshot frame generation instruction, the display content adjustment instruction, the first screenshot instruction, the boundary acquisition instruction, the synthesis instruction, and the second screenshot instruction stored in the memory 1503 to perform the steps of the screenshot method shown in FIG. And implementing the functions of the modules in the screen shot device shown in FIG.
  • the computer readable instructions further include: a screenshot box adjustment instruction and an annotation instruction.
  • the processor 1501 is configured to read the screenshot frame generation instruction, the display content adjustment instruction, the first screenshot instruction, the boundary acquisition instruction, the synthesis instruction, the second screenshot instruction, the screenshot frame adjustment instruction, and the annotation instruction stored in the memory 1503, to execute FIG. 2
  • the computer readable instructions further include: a determination instruction, an area determination instruction, and a cropping instruction.
  • the processor 1501 is configured to read the screenshot box generation instruction, the display content adjustment instruction, the first screenshot instruction, the boundary acquisition instruction, the synthesis instruction, the second screenshot instruction, the determination instruction, the area determination instruction, and the cropping instruction stored in the memory 1503 to execute The steps of the screen shot processing method shown in FIGS. 3 and 4 and the functions of the modules in the screen shot device shown in FIG.
  • Embodiments of the present application also provide a non-volatile storage medium.
  • the non-volatile storage medium is arranged to store program code for performing the method steps of the embodiment shown in Figures 1-4.
  • the foregoing storage medium may include, but is not limited to: a USB flash drive, a read-only storage A device that can store program code, such as a ROM (Read-Only Memory), a random access memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
  • ROM Read-Only Memory
  • RAM random access memory
  • the processor executes the screenshot method according to the stored program code in the storage medium.
  • the modules or units in the above embodiments may be stored in the above-described computer readable storage medium if they are implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present application, in essence or the contribution to the prior art, or all or part of the technical solution may be embodied in the form of a software product, which is stored in a storage medium. A number of instructions are included to cause one or more computer devices (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the various embodiments of the present application.
  • ком ⁇ онент can be, but is not limited to being, a process running on a processor, a processor, an object, an executable application, a thread of execution, a program, and/or a computer.
  • a component can be, but is not limited to being, a process running on a processor, a processor, an object, an executable application, a thread of execution, a program, and/or a computer.
  • an application running on a controller and the controller can be a component.
  • One or more components can reside within a process and/or thread of execution, and a component can be located on a computer and/or distributed between two or more computers.
  • the claimed subject matter can be implemented as a method, apparatus, or article of manufacture that uses standard programming and/or engineering techniques to produce software, firmware, hardware, or any combination thereof, to control a computer to implement the disclosed subject matter.
  • article of manufacture as used herein is intended to encompass a computer program accessible from any computer-readable device, carrier, or media.
  • FIG. 16 is a working diagram of an electronic device where a screenshot device is provided according to an embodiment of the present application; Schematic diagram of environmental structure.
  • the electronic device is the terminal device in the above embodiment.
  • the working environment of Figure 16 is only one example of a suitable working environment and is not intended to suggest any limitation as to the scope of use or function of the working environment.
  • Example electronic device 1602 includes, but is not limited to, a personal computer, a server computer, a handheld or laptop device, a mobile device (such as a mobile phone, a personal digital assistant (PDA), a media player, etc.), a multi-processor system, a consumer Electronic devices, small computers, mainframe computers, distributed computing environments including any of the above systems or devices, and the like.
  • PDA personal digital assistant
  • Computer readable instructions may be distributed via computer readable media (discussed below).
  • Computer readable instructions may be implemented as program modules, such as functions, objects, application programming interfaces (APIs), data structures, etc. that perform particular tasks or implement particular abstract data types.
  • program modules such as functions, objects, application programming interfaces (APIs), data structures, etc. that perform particular tasks or implement particular abstract data types.
  • APIs application programming interfaces
  • data structures such as lists, etc. that perform particular tasks or implement particular abstract data types.
  • the functionality of the computer readable instructions can be combined or distributed at will in various environments.
  • FIG. 16 illustrates an example of an electronic device 1602 that includes one or more embodiments of a screenshot device of the present application.
  • electronic device 1602 includes at least one processing unit 1606 and memory 1608.
  • memory 1608 can be volatile (such as RAM), non-volatile (such as ROM, flash memory, etc.) or some combination of the two. This configuration is illustrated in Figure 16 by dashed line 1604.
  • electronic device 1602 can include additional features and/or functionality.
  • electronic device 1602 can also include additional storage devices (eg, removable and/or non-removable) including, but not limited to, magnetic storage devices, optical storage devices, and the like.
  • additional storage is illustrated by storage device 1610 in FIG.
  • computer readable instructions for implementing one or more embodiments provided herein may be in storage device 1610.
  • Storage device 1610 may also store other computer readable instructions for implementing an operating system, applications, and the like.
  • Computer readable instructions may be loaded into memory 1608 by, for example Processing unit 1606 executes.
  • Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions or other data.
  • Memory 1608 and storage device 1610 are examples of computer storage media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical storage device, magnetic tape cassette, magnetic tape, magnetic disk storage device or other magnetic storage device, Or any other medium that can be used to store desired information and that can be accessed by electronic device 1602. Any such computer storage media may be part of the electronic device 1602.
  • the electronic device 1602 can also include a communication connection 1616 that allows the electronic device 1602 to communicate with other devices.
  • Communication connection 1616 may include, but is not limited to, a modem, a network interface card (NIC), an integrated network interface, a radio frequency transmitter/receiver, an infrared port, a USB connection, or other interface for connecting electronic device 1602 to other electronic devices.
  • Communication connection 1616 can include a wired connection or a wireless connection.
  • Communication connection 1616 can transmit and/or receive communication media.
  • Computer readable medium can include a communication medium.
  • Communication media typically embodies computer readable instructions or other data in a “modulated data signal” such as a carrier wave or other transport mechanism, and includes any information delivery media.
  • modulated data signal can include a signal that one or more of the signal characteristics are set or changed in such a manner as to encode the information into the signal.
  • the electronic device 1602 can include an input device 1614 such as a keyboard, mouse, pen, voice input device, touch input device, infrared camera, video input device, and/or any other input device.
  • Output device 1612 may also be included in electronic device 1602, such as one or more displays, speakers, printers, and/or any other output device.
  • Input device 1614 And output device 1612 can be coupled to electronic device 1602 via a wired connection, a wireless connection, or any combination thereof.
  • an input device or output device from another electronic device can be used as the input device 1614 or output device 1612 of the electronic device 1602.
  • the components of electronic device 1602 can be connected by various interconnects, such as a bus.
  • interconnects may include Peripheral Component Interconnect (PCI) (such as Fast PCI), Universal Serial Bus (USB), Firewire (IEEE 1394), optical bus architecture, and the like.
  • PCI Peripheral Component Interconnect
  • USB Universal Serial Bus
  • Firewire IEEE 1394
  • optical bus architecture and the like.
  • the components of electronic device 1602 can be interconnected by a network.
  • memory 1608 can be comprised of multiple physical memory units that are interconnected by a network located in different physical locations.
  • storage devices for storing computer readable instructions may be distributed across a network.
  • electronic device 1620 accessible via network 1618 can store computer readable instructions for implementing one or more embodiments provided herein.
  • the electronic device 1602 can access the electronic device 1620 and download a portion or all of the computer readable instructions for execution.
  • electronic device 1602 can download a plurality of computer readable instructions as needed, or some of the instructions can be executed at electronic device 1602 and some of the instructions can be executed at electronic device 1620.
  • the one or more operations may constitute computer readable instructions stored on one or more computer readable media that, when executed by an electronic device, cause the computing device to perform the operations.
  • the order in which some or all of the operations are described should not be construed as implying that the operations must be sequential. Those skilled in the art will appreciate alternative rankings that have the benefit of this specification. Moreover, it should be understood that not all operations must be present in every embodiment provided herein.
  • Each functional unit in the embodiment of the present application may be integrated into one processing module, or each unit may exist physically separately, or two or more units may be integrated into one module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
  • the integrated modules, if implemented in the form of software functional modules and sold or used as stand-alone products, may also be stored in a computer readable storage medium.
  • the above mentioned storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division. In actual implementation, there may be another division manner.
  • multiple units or components may be combined or may be integrated into Another system, or some features can be ignored or not executed.
  • the communication connection may be an indirect coupling or communication connection through some interface, unit or module, and may be in electrical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.

Landscapes

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

Abstract

一种屏幕截图方法,包括:接收截图开始指令,并根据所述截图开始指令生成截图框,其中所述截图框中包括至少部分终端设备屏幕上的显示内容(S101);根据所述截图框的尺寸,对所述截图框中的显示内容进行截图操作,以获取第一截图子画面(S102);接收截图内容调整指令,根据所述截图内容调整指令对所述截图框中的显示内容进行调整,并根据所述截图框的尺寸,对调整后的显示内容进行截图操作,以获取至少一个第二截图子画面(S103);接收截图边界确定指令,并根据所述截图边界确定指令获取所述终端设备屏幕上的显示内容的截图边界(S104);接收截图结束指令,并将所述第一截图子画面和至少一个第二截图子画面合成为待截图画面(S105);根据所述截图边界对所述待截图画面进行截图操作,以获取截图画面(S106)。

Description

屏幕截图方法及屏幕截图装置
本申请要求于2016年1月19日提交中国专利局、申请号为201610035836.4、发明名称为“屏幕截图方法及屏幕截图装置”的中国专利申请的优先权以及2016年1月5日提交中国专利局、申请号为201610005638.3、发明名称为“图片处理的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及图片处理领域,特别是涉及一种屏幕截图方法及屏幕截图装置。
发明背景
随着科技的发展,用户通过终端设备上安装的各种应用程序进行交互的场合越来越多。用户可以通过即时通信等各种交互渠道与好友分享终端设备显示的内容。
例如,当用户查看到一篇比较好的网文或图片时,可能想要将其分享给其他好友,而这通常通过发送网文或图片的网络链接或屏幕截图的方式来实现。
当用户发送网文或图片的网络链接给好友时,由于好友与用户所在的网络类型可能不同,导致好友可能无法通过该网络链接查看到该网文或图片。当用户发送网文或图片的屏幕截图给好友时,如果该网文或图片的大小超过终端设备一个屏幕的范围,则用户需要进行多次屏幕截图和发送操作才能完成网文或图片的分享,这导致屏幕截图操作繁琐,而且好友看到的该网文或图片的屏幕截图的显示效果较差。
发明内容
本申请实施例提供一种屏幕截图方法及屏幕截图装置,以解决现有技术方案中屏幕截图操作繁琐以及屏幕截图的显示效果较差的技术问题。
本申请实施例提供一种屏幕截图方法,其包括:
接收截图开始指令,并根据所述截图开始指令生成截图框,其中所述截图框中包括至少部分终端设备屏幕上的显示内容;
根据所述截图框的尺寸,对所述截图框中的显示内容进行截图操作,以获取第一截图子画面;
接收截图内容调整指令,根据所述截图内容调整指令对所述截图框中的显示内容进行调整,并根据所述截图框的尺寸,对调整后的显示内容进行截图操作,以获取至少一个第二截图子画面;
接收截图边界确定指令,并根据所述截图边界确定指令获取所述终端设备屏幕上的显示内容的截图边界;
接收截图结束指令,并将所述第一截图子画面和至少一个第二截图子画面合成为待截图画面;
根据所述截图边界对所述待截图画面进行截图操作,以获取截图画面。
本申请实施例还提供一种屏幕截图装置,其包括:
截图框生成模块,用于接收截图开始指令,并根据所述截图开始指令生成截图框,其中所述截图框中包括至少部分终端设备屏幕上的显示内容;
显示内容调整模块,用于接收截图内容调整指令,并根据所述截图内容调整指令对所述截图框中的显示内容进行调整;
第一截图模块,用于根据所述截图框的尺寸,对所述截图框中的显 示内容进行截图操作,以获取第一截图子画面;根据所述截图框的尺寸,对调整后的显示内容进行截图操作,以获取至少一个第二截图子画面;
边界获取模块,用于接收截图边界确定指令,并根据所述截图边界确定指令获取所述终端设备屏幕上的显示内容的截图边界;
合成模块,用于接收截图结束指令,并将所述第一截图子画面和至少一个第二截图子画面合成为待截图画面;
第二截图模块,用于根据所述截图边界对所述待截图画面进行截图操作,以获取截图画面。
由本申请实施例提供的屏幕截图方法及屏幕截图装置可见,通过对截图框中的显示内容进行调整,并对调整后的显示内容进行截图操作,可以获取多个截图子画面;然后将多个截图子画面合成为待截图画面,并对待截图画面进行截图操作,就可以获取到截图画面。这样,即使用户想要截取的显示内容的大小超过终端设备一个屏幕的范围,也可以获取到完整的截图画面。利用本申请实施例提供的屏幕截图方法及屏幕截图装置,整个屏幕截图操作简单、方便、快捷,且屏幕截图的显示效果较好。
附图简要说明
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:
图1为本申请实施例提供的一种屏幕截图方法的流程图;
图2为本申请实施例提供的另一种屏幕截图方法的流程图;
图3为本申请实施例提供的屏幕截图处理方法的流程图;
图4为本申请实施例提供的终端设备屏幕处于分屏状态下的屏幕截 图处理方法流程图;
图5为本申请实施例提供的分屏状态下的终端设备屏幕的显示示意图;
图6为本申请实施例提供的一屏幕截图的示意图;
图7为本申请实施例提供的另一屏幕截图的示意图;
图8为本申请实施例提供的另一屏幕截图的示意图;
图9为本申请实施例提供的另一屏幕截图的示意图;
图10为本申请实施例提供的一种屏幕截图装置的结构示意图;
图11为本申请实施例提供的另一种屏幕截图装置的结构示意图;
图12为本申请实施例提供的屏幕截图装置的第一截图模块的结构示意图;
图13A-13E为本申请实施例提供的屏幕截图方法及屏幕截图装置的具体实现的示意图;
图14为本申请实施例提供的另一种屏幕截图装置的结构示意图;
图15是本申请实施例提供的用于实现屏幕截图方法的终端设备的硬件结构示意图;
图16为本申请实施例提供的屏幕截图装置所在的电子设备的工作环境结构示意图。
实施本发明的方式
为了使本领域技术人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。
需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解,这样使用的术语在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备,不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
请参照图式,其中相同的组件符号代表相同的组件,本申请的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所例示的本申请具体实施例,其不应被视为限制本申请未在此详述的其它具体实施例。
在以下的说明中,本申请的具体实施例将参考由一部或多部计算机所执行之作业的步骤及符号来说明,除非另有述明。因此,其将可了解到这些步骤及操作,其中有数次提到为由计算机执行,包括了由代表了以一结构化型式中的数据之电子信号的计算机处理单元所操纵。此操纵转换该数据或将其维持在该计算机之内存系统中的位置处,其可重新配置或另外以本领域技术人员所熟知的方式来改变该计算机之运作。该数据所维持的数据结构为该内存之实体位置,其具有由该数据格式所定义的特定特性。但是,本申请原理以上述文字来说明,其并不代表为一种限制,本领域技术人员将可了解到以下所述的多种步骤及操作亦可实施在硬件当中。
本申请实施例的屏幕截图装置可使用具有显示装置的各种类型的终端设备进行实施,该终端设备包括但不限于个人计算机、服务器计算机、 手持式或膝上型设备、移动设备(比如移动电话、个人数字助理(PDA)、媒体播放器等等)、多处理器系统、消费型电子设备、小型计算机、大型计算机、包括上述任意系统或设备的分布式计算环境,等等。但该终端设备通常为个人计算机或个人移动设备,以便用户可以更加方便快捷地对较大显示区域中的显示内容进行屏幕截图操作以及屏幕截图发送。
图1为本申请实施例提供的一种屏幕截图方法的流程图。本实施例的屏幕截图方法可使用上述的具有显示装置的任意类型的终端设备进行实施。该屏幕截图方法包括:
步骤S101,接收截图开始指令,并根据截图开始指令生成截图框,其中截图框中包括至少部分终端设备屏幕上的显示内容;
步骤S102,根据截图框的尺寸,对截图框中的显示内容进行截图操作,以获取第一截图子画面;
步骤S103,接收截图内容调整指令,根据截图内容调整指令对截图框中的显示内容进行调整,并根据截图框的尺寸,对调整后的显示内容进行截图操作,以获取至少一个第二个截图子画面;
步骤S104,接收截图边界确定指令,并根据截图边界确定指令获取终端设备屏幕上的显示内容的截图边界;
步骤S105,接收截图结束指令,将第一截图子画面和至少一个第二截图子画面合成为待截图画面;
步骤S106,根据截图边界对待截图画面进行截图操作,以获取截图画面。
下面将详细说明本实施例的屏幕截图方法的各步骤的具体流程。
在步骤S101中,屏幕截图装置接收用户发出的截图开始指令,该截图开始指令是指用户请求对终端设备屏幕中的至少部分显示内容进行截图的指令。随后屏幕截图装置根据该截图开始指令在终端设备的屏幕 上生成截图框,截图框中包括至少部分终端设备屏幕上的显示内容。
在步骤S102中,屏幕截图装置根据截图框的尺寸,对截图框中的显示内容进行截图操作,获得一幅截图子画面,称为第一截图子画面。
在步骤S103中,屏幕截图装置接收用户发出的截图内容调整指令,该截图内容调整指令是指用户通过拖动终端设备屏幕上的显示内容对截图框中的显示内容进行调整的指令。随后屏幕截图装置根据截图内容调整指令,对截图框中的显示内容进行调整。在对截图框中的显示内容的调整过程中,屏幕截图装置根据截图框的尺寸,对截图框中调整后的显示内容进行截图操作,以获取至少一个第二截图子画面。
在本实施例中,每个截图子画面的尺寸与截图框的尺寸相同且每个截图子画面包含的显示内容连续且均不相同。
在步骤S104中,屏幕截图装置接收用户的截图边界确定指令,该截图边界确定指令是指用户确定终端设备屏幕上的显示内容的截图边界的指令。随后屏幕截图装置根据该截图边界确定指令,获取终端设备屏幕上的显示内容的截图边界。
在步骤S105中,屏幕截图装置接收用户的截图结束指令,该截图结束指令为用户确定完成显示内容的截图边界的获取操作的指令。在接收到该截图结束指令之前,用户可以对终端设备屏幕上的显示内容的截图边界进行更改。随后屏幕截图装置根据该截图结束指令将步骤102获取的第一截图子画面和步骤S103获取的至少一个第二截图子画面合成为待截图画面。
在步骤S106中,屏幕截图装置根据步骤S104获取的截图边界,对步骤S105获取的待截图画面进行截图操作,从而获取截图画面。
由本实施例提供的屏幕截图方法可见,通过对截图框中的显示内容进行调整,并对调整后的显示内容进行截图操作,可以获取多个截图子 画面;然后将多个截图子画面合成为待截图画面,并对待截图画面进行截图操作,就可以获取到截图画面。这样,即使用户想要截取的显示内容的大小超过终端设备一个屏幕的范围,也可以获取到完整的截图画面。利用本实施例提供的屏幕截图方法,整个屏幕截图操作简单、方便、快捷,且屏幕截图的显示效果较好。
图2为本申请实施例提供的另一种屏幕截图方法的流程图。本实施例的屏幕截图方法可使用上述的任意类型的终端设备进行实施,该屏幕截图方法包括:
步骤S201,接收截图开始指令,并根据截图开始指令生成截图框,其中截图框中包括至少部分终端设备屏幕上的显示内容;
步骤S202,接收截图框调整指令,并根据截图框调整指令对截图框的大小以及位置进行调整;
步骤S203,根据截图框的尺寸,对截图框中的显示内容进行截图操作,以获取第一截图子画面;
步骤S204,接收截图内容调整指令,根据截图内容调整指令对截图框中的显示内容进行调整;根据终端设备屏幕上的显示内容的调整方向,按截图框的尺寸对截图框中的调整后的显示内容进行截图操作,以获取至少一个第二截图子画面;
步骤S205,根据用户在终端设备屏幕上的显示内容上的点击指令确定截图边界确定指令,并根据截图边界确定指令获取终端设备屏幕上的显示内容的截图边界;
步骤S206,接收截图结束指令,并根据截图结束指令将第一截图子画面和至少一个第二截图子画面合成为待截图画面;
步骤S207,根据截图边界对待截图画面进行截图操作,以获取截图画面;
步骤S208,接收批注指令,并根据批注指令给截图画面添加批注。
下面详细说明本实施例的屏幕截图方法的各步骤的具体流程。
在步骤S201中,屏幕截图装置接收用户发出的截图开始指令,该截图开始指令是指用户请求对终端设备的屏幕中的至少部分显示内容进行截图的指令。随后屏幕截图装置根据该截图开始指令在终端设备的屏幕上生成截图框,截图框中包括至少部分终端设备的显示内容。
在步骤S202中,屏幕截图装置接收用户的截图框调整指令,该截图框调整指令是指用户请求对截图框的尺寸以及位置进行调整的指令。随后屏幕截图装置根据该截图框调整指令对截图框的大小(例如高度或宽度)以及位置进行调整,以便用户进行截图内容的选择。
在步骤S203,屏幕截图装置根据截图框的尺寸,对截图框中的显示内容进行截图操作,获得一幅截图子画面,称为第一截图子画面。
在步骤S204中,屏幕截图装置接收用户发出的截图内容调整指令,该截图内容调整指令是指用户通过拖动终端设备屏幕上的显示内容对截图框中的显示内容进行调整的指令。随后屏幕截图装置根据截图内容调整指令,对截图框中的显示内容进行调整。屏幕截图装置根据终端设备屏幕上的显示内容的调整方向,按截图框的尺寸对截图框中的调整后的显示内容进行截图操作,以获取至少一个第二截图子画面。
其中,屏幕截图装置根据终端设备屏幕上的显示内容的调整方向,按截图框的尺寸对截图框中的调整后的显示内容进行截图操作,以获取至少一个第二截图子画面的方法包括:
当终端设备屏幕上的显示内容向上移动时,屏幕截图装置按截图框的尺寸对终端设备屏幕上的显示内容从上到下进行截图;具体为当终端设备屏幕上的显示内容向上移动大于n个截图框的高度,小于n+1个截图框的高度时,按n+1个截图框的高度以及1个截图框的宽度对终端设 备屏幕上的显示内容从上到下进行n+1次截图操作,以获取n+1个第二截图子画面,其中n为大于等于0的整数。
当终端设备屏幕上的显示内容向下移动时,屏幕截图装置按截图框的尺寸对终端设备屏幕上的显示内容从下到上进行截图;具体为当终端设备屏幕上的显示内容向下移动大于n个截图框的高度,小于n+1个截图框的高度时,按n+1个截图框的高度以及1个截图框的宽度对终端设备屏幕上的显示内容从下到上进行n+1次截图操作,以获取n+1个第二截图子画面,其中n为大于等于0的整数。
当终端设备屏幕上的显示内容向左移动时,屏幕截图装置按截图框的尺寸对终端设备屏幕上的显示内容从左到右进行截图;具体为当终端设备屏幕上的显示内容向左移动大于n个截图框的宽度,小于n+1个截图框的宽度时,按n+1个截图框的宽度以及1个截图框的高度对终端设备屏幕上的显示内容从左到右进行n+1次截图操作,以获取n+1个第二截图子画面,其中n为大于等于0的整数。
当终端设备屏幕上的显示内容向右移动时,屏幕截图装置按截图框的尺寸对终端设备屏幕上的显示内容从右到左进行截图;具体为当终端设备屏幕上的显示内容向右移动大于n个截图框的宽度,小于n+1个截图框的宽度时,按n+1个截图框的宽度以及1个截图框的高度对终端设备屏幕上的显示内容从右到左进行n+1次截图,以获取n+1个第二截图子画面,其中n为大于等于0的整数。
这样获取的每个截图子画面的尺寸与截图框的尺寸相同且每个截图子画面包含的显示内容连续且均不相同。
在步骤S205中,屏幕截图装置接收用户的截图边界确定指令,该截图边界确定指令是指用户确定终端设备屏幕上的显示内容的截图边界的指令。该截图边界确定指令可为用户在终端设备屏幕上的显示内容上 的点击指令。随后屏幕截图装置根据该截图边界确定指令,获取终端设备屏幕上的显示内容的截图边界,如显示内容的上截图边界、下截图边界、左截图边界以及右截图边界等。
在步骤S206中,屏幕截图装置接收用户的截图结束指令,该截图结束指令为用户确定完成显示内容的截图边界的获取操作的指令。在接收到该截图结束指令之前,用户可以对终端设备屏幕上的显示内容的截图边界进行更改。随后屏幕截图装置根据该截图结束指令将步骤202获取的第一截图子画面和步骤S204获取的至少一个第二截图子画面合成为待截图画面。
在步骤S207中,屏幕截图装置根据步骤S205获取的截图边界,对步骤S206获取的待截图画面进行截图操作,从而获取截图画面。
在步骤S208中,屏幕截图装置接收用户发出的批注指令,该批注指令为用户请求在截图画面上添加批注的指令,该批注指令用于在截图画面上添加与截图画面的内容关联的批注,随后屏幕截图装置根据该批注指令给步骤S207获取的截图画面添加相应的批注。该批注可为截图画面的文字说明以及截图画面的出处等。这样用户可将截图画面以及批注同时发送给其他用户,以便其他用户更快的对截图画面的内容进行理解。
在图1所示实施例的基础上,本实施例的屏幕截图方法通过对显示框的大小以及位置进行调整,对终端设备屏幕上的显示内容进行截图操作,提高了截图操作的有效性,避免了无效的截图操作。同时,通过对截图画面添加批注,提高了屏幕截图的显示效果。
在上述实施例中,当截图框的尺寸确定之后,获取的每个截图子画面的尺寸都是相同的。这样,当将所有的截图子画面合成并进行截图之后,每个截图子画面的内容就都可以显示在截图画面中,从而可以获得 内容连续且均不相同的截图画面。但是,在某些情况下,用户可能发现多个截图子画面中的某个截图子画面的部分内容是其不想发送给其他用户的。
例如,当终端设备具有分屏功能时,在一个屏幕上能同时显示并运行两个应用程序,例如分屏显示浏览器和即时通信。当屏幕截图装置对处于分屏状态的屏幕进行截图操作而获得多个截图子画面后,用户可能发现其只想将某个截图子画面中的浏览器显示的内容发送给好友,而不希望将即时通信的内容发送给好友。此时,只能利用图片编辑工具对该截图子画面进行编辑。然而,图片编辑工具处理截图子画面的过程比较繁琐,导致处理该截图子画面的效率比较低。
针对这种情况,本申请实施例又提出了一种处理截图子画面的方法,以便移除截图子画面中用户不想保留的内容。该方法可由具有显示装置的任意类型的终端设备实施。例如,该方法可以设置在终端设备的系统中,由终端设备的系统来执行,或者设置在终端设备的应用程序中,由终端设备中的应用程序来执行。
结合图1所示的实施例,该处理截图子画面的方法可以在步骤S105之前执行;结合图2所示的实施例,该处理截图子画面的方法可以在步骤S206之前执行。在步骤S105或步骤S206之前,先判断第一截图子画面和至少一个第二截图子画面中是否有待裁剪截图子画面;如果没有待裁剪截图子画面,则接收截图结束指令;如果有待裁剪截图子画面,则执行该处理截图子画面的方法步骤。
该处理截图子画面的方法如图3所示,包括如下步骤:
步骤S301,确定待裁剪截图子画面中的待裁剪内容在待裁剪截图子画面中的区域;
步骤S302,从待裁剪截图子画面中裁剪掉位于该区域中的待裁剪内 容。
在本实施例中,当终端设备屏幕上同时显示并运行至少两个应用程序时,终端设备的屏幕上显示的内容至少包括第一分屏和第二分屏,则待裁剪截图子画面包括第一分屏和第二分屏中显示的应用程序的界面图。
分屏状态是终端设备在至少两个分屏中展示终端设备中的应用程序。如图5所示,一个终端设备的屏幕上显示两个分屏,并且每个分屏上展示一个应用程序的界面图。左侧分屏展示应用程序1的界面图,右侧分屏展示应用程序2的界面图。利用上述实施例提供的屏幕截图方法截取终端设备屏幕上所显示的内容,得到的屏幕截图如图6所示。图6所示的屏幕截图可以为上述实施例中提到的多个截图子画面中的一个。在图6中,一个终端设备屏幕上的第一分屏和第二分屏分别展示应用程序1和应用程序2的界面图。第一分屏在屏幕截图上的区域用于展示应用程序1的界面图,第二分屏在屏幕截图上的区域用于展示应用程序2的界面图。
在终端设备屏幕显示至少两个分屏的应用场景中,待裁剪截图子画面包括至少两个分屏中显示的应用程序的界面图,如果用户不想保留某个应用程序的界面图,则待裁剪内容为该待裁剪应用程序的界面图。为了描述方便,在下面的实施例中,待裁剪截图子画面称为屏幕截图,图3所示的处理截图子画面的方法称为屏幕截图处理方法。图4示出了一种终端设备屏幕处于分屏状态下的屏幕截图处理方法,该方法包括如下步骤:
步骤S401,确定应用程序中待裁剪应用程序的界面图在屏幕截图中的区域。
在本实施例中,应用程序中待裁剪应用程序可以是默认的应用程序, 也可以是用户指定的应用程序。默认的应用程序可以是运行该屏幕截图处理方法的应用程序本身。用户指定的应用程序可以是终端设备屏幕上展示的应用程序中的任意一个。通过指定屏幕截图中该待裁剪应用程序的界面图所在的区域确定待裁剪应用程序的界面图。待裁剪应用程序的界面图是屏幕截图中待裁剪应用程序在终端设备屏幕上显示的界面图。如图6所示,该屏幕截图处理方法可以在应用程序2中执行,默认将应用程序2的界面图确定为待裁剪应用程序的界面图。在另一实施例中,用户也可以指定应用程序1的界面图为待裁剪应用程序的界面图。
步骤S402,从屏幕截图中裁剪掉位于区域中的待裁剪应用程序的界面图。
从屏幕截图中裁剪掉步骤S401中确定的区域内的界面图,从而实现了对屏幕截图的编辑。例如,裁剪掉图6所示的应用程序2的界面图。
通过上述实施例,在获取到屏幕截图之后,从屏幕截图中确定需要裁剪的应用程序的界面图并将其裁剪掉,无需再利用图片处理软件对屏幕截图进行处理,简化了屏幕截图的处理过程,提高了屏幕截图的处理效率。
在本申请实施例中,可以采用以下方式将用户指定的区域作为待裁剪应用程序的界面图在屏幕截图中的区域,即确定应用程序中待裁剪应用程序的界面图在屏幕截图中的区域的方法包括:
接收区域选择指令,根据区域选择指令选择应用程序中的第一应用程序的界面图在屏幕截图中的区域;
将第一应用程序的界面图在屏幕截图中的区域确定为待裁剪应用程序的界面图在屏幕截图中的区域。
在本实施例中,通过区域选择指令可以选择屏幕截图中的任意一个区域作为待裁剪的区域。选择屏幕截图中的任意一个应用程序的界面图 在屏幕截图中的区域作为待裁剪的区域,即作为待裁剪应用程序的界面图在屏幕截图中的区域。第一应用程序的界面图就是屏幕截图中任意一个应用程序的界面图。
如图6所示,屏幕截图包括两个应用程序的界面图,也就是应用程序1的界面图和应用程序2的界面图。当根据区域选择指令选择应用程序1的界面图所在的区域时,将应用程序1的界面图在屏幕截图中的区域确定为待裁剪应用程序的界面图在屏幕截图中的区域,并将应用程序1的界面图在屏幕截图中的区域裁剪掉;当区域选择指令选择应用程序2的界面图所在的区域时,将应用程序2的界面图在屏幕截图中的区域确定为待裁剪应用程序的界面图在屏幕截图中的区域,并将应用程序2的界面图在屏幕截图中的区域裁剪掉。
在本实施例中,可以通过接收区域选择指令对应用程序的界面图进行裁剪,从而简化了屏幕截图的处理过程,提高了屏幕截图裁剪的灵活性。
在本申请实施例中,可以采用以下方式将默认的区域作为待裁剪应用程序的界面图在屏幕截图中的区域。具体地,在接收区域选择指令之前,该确定应用程序中待裁剪应用程序的界面图在屏幕截图中的区域的方法还包括:
显示默认区域提示信息,其中,默认区域提示信息用于提示将应用程序中的第二应用程序的界面图在屏幕截图中的区域确定为默认的待选区域;
当接收到对默认区域提示信息的确认信息时,将默认的待选区域确定为待裁剪应用程序的界面图在待裁剪截图子画面中的区域;
其中,第一应用程序与第二应用程序相同或不同。
在获取到屏幕截图之后,可以在屏幕截图上提示默认的待选区域。 默认的待选区域是默认的应用程序的界面图在屏幕截图中的区域。在本实施例中,默认的应用程序为第二应用程序。默认的应用程序可以与用户指定的应用程序的界面图所对应的应用程序为相同的程序,也可以是不同的应用程序。
在获取屏幕截图之后,可以先显示默认区域提示信息,以提示将要裁剪的应用程序的界面图。若用户确认对默认区域提示信息所提示的默认的待选区域进行裁剪,则接收到用户的确认信息后对默认的待选区域进行裁剪。若用户发出了区域选择指令对其他区域的应用程序的界面图进行裁剪,则对区域选择指令所选择的区域进行裁剪。区域选择指令所选的应用程序也可以与默认的待选区域相同。在本实施例中,确认信息也可以是用户发出的区域选择指令,即用户通过区域选择指令选择默认的待选区域,或者默认的待选区域以外的其他区域。
在本申请实施例中,显示默认区域提示信息可以采用虚线圈出屏幕截图中待裁剪应用程序的界面图在屏幕截图中的区域,也可以采用不同颜色来提示待裁剪应用程序的界面图在屏幕截图中的区域,还可以采用不同深浅的图层来展示待裁剪应用程序的界面图在屏幕截图中区域。显示默认区域提示信息的方式也可以用来显示根据区域选择指令所选择的区域。默认的待选区域可以是包含有用户隐私信息或者其他不便公开的信息的应用程序的界面图所在的区域,如即时通讯的应用程序的即时会话的界面图所在的区域。当然,默认的待选区域也可以是其他应用程序的界面图。
在上述实施例中,在获取屏幕截图后提示用户将要对默认的待选区域进行裁剪。通常,默认的待选区域就是用户希望裁剪掉的区域,显示默认区域提示信息可以减少用户发出区域选择指令,使得对屏幕截图的裁剪更加方便、快捷。
在本申请实施例中,在接收区域选择指令之前,确定应用程序中待裁剪应用程序的界面图在屏幕截图中的区域包括:
获取终端设备屏幕上的每个分屏占终端设备屏幕的比例;
按照比例划分每个分屏中显示的应用程序的界面图在屏幕截图中的区域。
如果终端设备在分屏状态下显示两个分屏,可以采用5∶5的分屏方式,也可以采用3∶7分屏的方式,还可以采用其他比例的分屏方式。若终端设备在分屏状态下显示两个以上的分屏,可以采用3∶4∶3的分屏方式,也可以采用2∶3∶5的分屏方式及其他比例的分屏方式。每个分屏显示一个应用程序的界面图,并且每个分屏占终端设备屏幕的比例在显示应用程序的界面图时是已经确定的,那么,每个应用程序的界面图占屏幕截图的比例也是确定的。根据每个分屏占终端设备屏幕的比例就能对屏幕截图进行划分,以划分出每个应用程序的界面图在屏幕截图中的区域。
图7示出了本申请实施例提供的另一屏幕截图的示意图,该屏幕截图包括三个分屏并且分屏比例为3∶4∶3。按照分屏比例对屏幕截图进行划分,如图7所示,每个应用程序的界面图在屏幕截图中的区域按照3∶4∶3的比例划分得到。
在本申请实施例中,终端设备通常有横屏显示和竖屏显示这两种方式,在按照比例确定每个分屏中显示的应用程中的界面图在屏幕截图中的区域时,可以根据不同的显示方式对屏幕截图进行划分。具体地,可以获取终端设备在分屏状态下的显示模式,显示模式包括横屏显示模式和竖屏显示模式;判断终端设备的显示模式处于横屏显示模式还是竖屏显示模式;在显示模式为横屏显示模式时,按照比例对屏幕截图的长边进行划分,以得到每个分屏中显示的应用程序中的界面图在屏幕截图中 的区域;在显示模式为竖屏显示模式时,按照比例对屏幕截图的短边进行划分,以得到每个分屏中显示的应用程序中的界面图在屏幕截图中的区域。
例如,在终端设备屏幕处于3∶7比例的分屏状态时,当采用如图6所示的横屏显示模式时,对屏幕截图的长边按比例划分;当采用如图8所示的竖屏显示时,对屏幕截图的短边按比例划分。由于屏幕截图的高和宽是确定的,对长边或者短边划分后就确定了每个应用程序的界面图在屏幕截图中的区域。
根据终端设备不同的分屏状态和显示模式,按照相应的分屏比例对屏幕截图进行划分,就能获得每个应用程序的界面图在屏幕截图中的区域,以便于显示默认区域提示信息,或者供用户发出区域选择指令。
在本申请实施例中,区域选择指令用于用户根据屏幕截图的内容确定待裁剪区域,对于默认的待选区域,在接收到区域选择指令之前就需要确定是否为待裁剪区域。因此,在显示默认区域提示信息之前,可以按照以下方式确定默认的待选区域。具体地,将第二应用程序的界面图在屏幕截图中的区域确定为默认的待选区域包括:
判断终端设备的屏幕的分屏状态是否为均匀分屏,其中,均匀分屏为每个分屏占终端设备屏幕的比例相同;
若终端设备屏幕的分屏状态为均匀分屏,则根据第二应用程序在终端设备屏幕被分屏前的运行状态确定第二应用程序的界面图在屏幕截图中的区域,并将确定的区域作为默认的待选区域;
若终端设备屏幕的分屏状态不是均匀分屏,则根据第二应用程序的界面图在终端设备屏幕中的区域确定第二应用程序的界面图在屏幕截图中的区域,并将确定的区域作为默认的待选区域。
第二应用程序为默认的待选区域所对应的应用程序。若终端设备的 屏幕被均匀分屏,则终端设备无法根据当前的分屏比例来确认第二应用程序所在的分屏在屏幕上的位置。那么,需要根据第二应用程序在终端设备屏幕被分屏前的运行状态来确定第二应用程序的分屏在屏幕中的位置,从而进一步确定第二应用程序的界面图在屏幕截图上的区域。若终端设备的屏幕没有被均匀分屏,则终端设备根据当前分屏状态下的分屏比例就能确定每个分屏上显示的应用程序的界面图,也就确定了第二应用程序的界面图在屏幕截图上的区域。
在均匀分屏的分屏状态,可以根据第二应用程序的截图在终端设备屏幕被分屏之前是否没有显示或是否全屏显示来确定第二应用程序的界面图在屏幕截图中的区域。具体地,根据第二应用程序在终端设备屏幕被分屏前的运行状态确定第二应用程序的界面图在屏幕截图中的区域包括:
判断第二应用程序的界面图在终端设备屏幕被分屏之前为全屏显示还是没有显示;
若为全屏显示,则确定第二应用程序处于第一分屏,将第一分屏在终端设备屏幕上的区域对应到屏幕截图中的第一区域,并将第一区域确定为第二应用程序的界面图在屏幕截图中的区域;
若没有显示,则根据在第二应用程序的界面图在终端设备屏幕上显示之前终端设备的屏幕是否处于分屏状态来确定第二应用程序的界面图在屏幕截图中的区域。
如图9所示,终端设备在分屏状态下采用均匀分屏的方式显示应用程序1的界面图和应用程序2的界面图。若第二应用程序在终端设备屏幕被分屏之前为全屏显示,则第二应用程序在分屏状态下显示时,显示在图9所示的应用程序1的界面图所在的分屏(即第一分屏)中,该分屏对应到屏幕截图上的第一区域;另外一个应用程序的界面图显示在图 9所示的应用程序2的界面图所在的分屏。若第二应用程序在终端设备屏幕被分屏之前没有显示,则根据第二应用程序的界面图在终端设备屏幕上显示之前终端设备屏幕是否处于分屏的状态来确定第二应用程序的界面图在屏幕截图中的区域。
在本实施例中,根据在第二应用程序的界面图在终端设备屏幕上显示之前终端设备屏幕是否处于分屏状态来确定第二应用程序的界面图在屏幕截图中的区域包括:
判断第二应用程序的界面图在终端设备屏幕上显示之前终端设备屏幕是否处于分屏状态;
若终端设备屏幕处于分屏状态,则检测显示第二应用程序的界面图的分屏,将检测到的分屏在终端设备屏幕上的区域对应到屏幕截图中的第二区域,并将第二区域确定为第二应用程序的界面图在屏幕截图中的区域;
若终端设备屏幕不处于分屏状态,则确定第二应用程序处于第二分屏,将第二分屏在终端设备屏幕上的区域对应到屏幕截图中的第三区域,并将第三区域确定为第二应用程序的界面图在屏幕截图中的区域。
如图9所示,若在第二应用程序显示前,终端设备屏幕没有处于分屏状态,则终端设备屏幕处于全屏显示状态,也就是说第二应用程序以外的其他应用程序全屏显示。当终端设备屏幕处于分屏状态时,第二应用程序和其他应用程序同时显示在终端设备屏幕上,其他应用程序的界面图显示在图9所示的应用程序1所在的分屏,第二应用程序的界面图显示在图9所示的应用程序2所在的分屏(即第三分屏),该分屏在屏幕截图上对应的区域为第三区域。
若在第二应用程序显示前,终端设备屏幕处于分屏状态,则在第二应用程序显示前终端设备屏幕显示如图9所示的应用程序1和应用程序 2,若第二应用程序取代应用程序1进行显示,则第二应用程序的界面图显示在应用程序1在终端设备屏幕中的分屏(即第二分屏),该分屏在屏幕截图上对应的区域为第二区域;若第二应用程序取代应用程序2进行显示,则第二应用程序的界面图显示在应用程序2在终端设备屏幕中的分屏(即第二分屏),该分屏在屏幕截图上对应的区域为第二区域。
通过上述实施例可知,根据默认区域提示信息所提示的应用程序的显示状态和终端设备屏幕的显示状态能够确定该应用程序的界面图在屏幕截图上的位置。因此,在获取屏幕截图后显示默认区域提示信息,以提示用户对默认区域提示信息所提示的区域进行裁剪,能够解决现有技术中对屏幕截图的编辑操作复杂、效率低的技术问题,达到了提高屏幕截图的处理效率的技术效果。
在从屏幕截图中裁剪掉位于待裁剪应用程序的界面图之后,还可以对裁剪后的屏幕截图进行进一步的编辑,如裁切、旋转、添加文字、添加滤镜等,并且还可以选择将屏幕截图分享到其他应用程序,例如微博、朋友圈、云存储空间等等。
对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所涉及的动作和模块并不一定是本申请所必须的。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储 介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例的方法。
本申请实施例还提供一种屏幕截图装置,请参照图10。图10为本申请实施例提供的一种屏幕截图装置的结构示意图。本实施例的屏幕截图装置可基于图1所示的屏幕截图方法来实现。该屏幕截图装置1000包括截图框生成模块1001、显示内容调整模块1002、第一截图模块1003、边界获取模块1004、合成模块1005以及第二截图模块1006。
截图框生成模块1001,用于接收截图开始指令,并根据截图开始指令生成截图框,其中截图框中包括至少部分终端设备屏幕上的显示内容。
显示内容调整模块1002,用于接收截图内容调整指令,并根据截图内容调整指令对截图框中的显示内容进行调整。
第一截图模块1003,用于根据截图框的尺寸,对截图框中的显示内容进行截图操作,以获取第一截图子画面;根据所述截图框的尺寸,对调整后的显示内容进行截图操作,以获取至少一个第二截图子画面。
边界获取模块1004,用于接收截图边界确定指令,并根据截图边界确定指令获取终端设备屏幕上的显示内容的截图边界。
合成模块1005,用于接收截图结束指令,并将第一截图子画面和至少一个第二截图子画面合成为待截图画面。
第二截图模块1006,用于根据截图边界对待截图画面进行截图操作,以获取截图画面。
在本实施例中,当屏幕截图装置1000使用时,截图框生成模块1001接收用户发出的截图开始指令,该截图开始指令是指用户请求对终端设备屏幕中的至少部分显示内容进行截图的指令。随后截图框生成模块 1001根据该截图开始指令在终端设备的屏幕上生成截图框,截图框中包括至少部分终端设备屏幕上的显示内容。
当截图框生成模块1001生成截图框后,第一截图模块1003根据截图框的尺寸,对截图框中的显示内容进行截图操作,获得一幅截图子画面,称为第一截图子画面。
显示内容调整模块1002接收用户发出的截图内容调整指令,该截图内容调整指令是指用户通过拖动终端设备屏幕上的显示内容对截图框中的显示内容进行调整的指令。随后显示内容调整模块1002根据截图内容调整指令,对截图框中的显示内容进行调整。
在对截图框中的显示内容的调整过程中,第一截图模块1003根据截图框的尺寸,对截图框中调整后的显示内容进行截图操作,以获取至少一个第二截图子画面。每个截图子画面的尺寸与截图框的尺寸相同且每个截图子画面包含的显示内容连续且均不相同。
边界获取模块1004接收用户的截图边界确定指令,该截图边界确定指令是指用户确定终端设备屏幕上的显示内容的截图边界的指令。随后边界获取模块1004根据该截图边界确定指令,获取终端设备屏幕上的显示内容的截图边界。
合成模块1005接收用户的截图结束指令,该截图结束指令为用户确定完成显示内容的截图边界的获取操作的指令。在接收到该截图结束指令之前,用户可以对终端设备屏幕上的显示内容的截图边界进行更改。随后合成模块1005根据该截图结束指令将第一截图模块1003获取的第一截图子画面和至少一个第二截图子画面合成为待截图画面。
第二截图模块1006根据边界获取模块1004获取的截图边界,对合成模块1005获取的待截图画面进行截图操作,从而获取截图画面。
由本实施例提供的屏幕截图装置可见,通过对截图框中的显示内容 进行调整,并对调整后的显示内容进行截图操作,可以获取多个截图子画面;然后将多个截图子画面合成为待截图画面,并对待截图画面进行截图操作,就可以获取到截图画面。这样,即使用户想要截取的显示内容的大小超过终端设备一个屏幕的范围,也可以获取到完整的截图画面。利用本实施例提供的屏幕截图方法,整个屏幕截图操作简单、方便、快捷,且屏幕截图的显示效果较好。
图11为本申请实施例提供的一种屏幕截图装置的结构示意图。本实施例的屏幕截图装置可基于图2所示的屏幕截图方法来实现。该屏幕截图装置1100包括如图10所示的截图框生成模块1001、显示内容调整模块1002、第一截图模块1003、边界获取模块1004、合成模块1005和第二截图模块1006,还进一步包括截图框调整模块1101和批注模块1102。
截图框生成模块1001,用于接收截图开始指令,并根据截图开始指令生成截图框,其中截图框中包括至少部分终端设备屏幕上的显示内容。
截图框调整模块1101,用于接收截图框调整指令,并根据截图框调整指令对截图框的大小以及位置进行调整。
显示内容调整模块1002,用于接收截图内容调整指令,并根据截图内容调整指令对截图框中的显示内容进行调整。
第一截图模块1003,用于根据截图框的尺寸,对截图框中的显示内容进行截图操作,以获取第一截图子画面;根据终端设备屏幕上的显示内容的调整方向,按截图框的尺寸对截图框中的调整后的显示内容进行截图操作,以获取至少一个第二截图子画面。
边界获取模块1004,用于根据用户在终端设备屏幕上的显示内容上的点击指令确定截图边界确定指令,并根据截图边界确定指令获取终端设备屏幕上的显示内容的截图边界。
合成模块1005,用于接收截图结束指令,并根据截图结束指令将第一截图子画面和至少一个第二截图子画面合成为待截图画面。
第二截图模块1006,用于根据截图边界对待截图画面进行截图操作,以获取截图画面。
批注模块1102,用于接收批注指令,并根据批注指令给截图画面添加批注。
图12为本申请实施例提供的屏幕截图装置的第一截图模块的结构示意图。在本实施例中,第一截图模块1003包括向上截图单元1201、向下截图单元1202、向左截图单元1203以及向右截图单元1204。
向上截图单元1201,用于当终端设备屏幕上的显示内容向上移动时,按截图框的尺寸对终端设备屏幕上的显示内容从上到下进行截图;
向下截图单元1202,用于当终端设备屏幕上的显示内容向下移动时,按截图框的尺寸对终端设备屏幕上的显示内容从下到上进行截图;
向左截图单元1203,用于当终端设备屏幕上的显示内容向左移动时,按截图框的尺寸对终端设备屏幕上的显示内容从左到右进行截图;
向右截图单元1204,用于当终端设备屏幕上的显示内容向右移动时,按截图框的尺寸对终端设备屏幕上的显示内容从右到左进行截图。
在本实施例中,当屏幕截图装置1100使用时,截图框生成模块1001接收用户发出的截图开始指令,该截图开始指令是指用户请求对终端设备屏幕中的至少部分显示内容进行截图的指令。随后截图框生成模块1001根据该截图开始指令在终端设备的屏幕上生成截图框,截图框中包括至少部分终端设备屏幕上的显示内容。
截图框调整模块1101接收用户的截图框调整指令,该截图框调整指令是指用户请求对截图框的尺寸以及位置进行调整的指令。随后截图框调整模块1101根据该截图框调整指令对截图框的大小(例如高度或宽 度)以及位置进行调整,以便用户进行截图内容的选择。
当截图框的大小和位置确定之后,第一截图模块1003根据截图框的尺寸,对截图框中的显示内容进行截图操作,获得一幅截图子画面,称为第一截图子画面。
显示内容调整模块1002接收用户发出的截图内容调整指令,该截图内容调整指令是指用户通过拖动终端设备屏幕上的显示内容对截图框中的显示内容进行调整的指令。随后显示内容调整模块1002根据截图内容调整指令,对截图框中的显示内容进行调整。
随后,第一截图模块1003根据终端设备屏幕上的显示内容的调整方向,按截图框的尺寸对截图框中的调整后的显示内容进行截图操作,以获取至少一个第二截图子画面。
具体地,当终端设备屏幕上的显示内容向上移动时,第一截图模块1003的向上截图单元1201按截图框的尺寸对终端设备屏幕上的显示内容从上到下进行截图。例如,当终端设备屏幕上的显示内容向上移动大于n个截图框的高度,小于n+1个截图框的高度时,向上截图单元1201按n+1个截图框的高度以及1个截图框的宽度对终端设备屏幕上的显示内容从上到下进行n+1次截图操作,以获取n+1个第二截图子画面,其中n为大于等于0的整数。
当终端设备屏幕上的显示内容向下移动时,第一截图模块1003的向下截图单元1202按截图框的尺寸对终端设备屏幕上的显示内容从下到上进行截图。例如,当终端设备屏幕上的显示内容向下移动大于n个截图框的高度,小于n+1个截图框的高度时,向下截图单元1202按n+1个截图框的高度以及1个截图框的宽度对终端设备屏幕上的显示内容从下到上进行n+1次截图操作,以获取n+1个第二截图子画面,其中n为大于等于0的整数。
当终端设备屏幕上的显示内容向左移动时,第一截图模块1003的向左截图单元1203按截图框的尺寸对终端设备屏幕上的显示内容从左到右进行截图。例如,当终端设备屏幕上的显示内容向左移动大于n个截图框的宽度,小于n+1个截图框的宽度时,向左截图单元1203按n+1个截图框的宽度以及1个截图框的高度对终端设备屏幕上的显示内容从左到右进行n+1次截图操作,以获取n+1个第二截图子画面,其中n为大于等于0的整数。
当终端设备屏幕上的显示内容向右移动时,第一截图模块1003的向右截图单元1204按截图框的尺寸对终端设备屏幕上的显示内容从右到左进行截图。例如,当终端设备屏幕上的显示内容向右移动大于n个截图框的宽度,小于n+1个截图框的宽度时,向右截图单元1204按n+1个截图框的宽度以及1个截图框的高度对终端设备屏幕上的显示内容从右到左进行n+1次截图,以获取n+1个第二截图子画面,其中n为大于等于0的整数。
这样获取的每个截图子画面的尺寸与截图框的尺寸相同且每个截图子画面包含的显示内容连续且均不相同。
边界获取模块1004接收用户的截图边界确定指令,该截图边界确定指令是指用户确定终端设备屏幕上的显示内容的截图边界的指令。该截图边界确定指令可为用户在终端设备屏幕上的显示内容上的点击指令。随后边界获取模块1004根据该截图边界确定指令,获取终端设备屏幕上的显示内容的截图边界,如显示内容的上截图边界、下截图边界、左截图边界以及右截图边界等。
合成模块1005接收用户的截图结束指令,该截图结束指令为用户确定完成显示内容的截图边界的获取操作的指令。在接收到该截图结束指令之前,用户可以对终端设备屏幕上的显示内容的截图边界进行更改。 随后合成模块1005根据该截图结束指令将第一截图模块1003获取的第一截图子画面和至少一个第二截图子画面合成为待截图画面。
第二截图模块1006根据边界获取模块1004获取的截图边界,对合成模块1005获取的待截图画面进行截图操作,从而获取截图画面。
批注模块1102接收用户发出的批注指令,该批注指令为用户请求在截图画面上添加批注的指令,该批注指令用于在截图画面上添加与截图画面的内容关联的批注,随后批注模块1102根据该批注指令给第二截图模块1006获取的截图画面添加相应的批注。该批注可为截图画面的文字说明以及截图画面的出处等。这样用户可将截图画面以及批注同时发送给其他用户,以便其他用户更快的对截图画面的内容进行理解。
在图10所示的实施例的基础上,本实施例的屏幕截图装置通过对显示框的大小以及位置进行调整,对终端设备屏幕上的显示内容进行截图操作,提高了截图操作的有效性,避免了无效的截图操作。同时,通过对截图画面添加批注,提高了屏幕截图的显示效果。
下面通过一实施例说明本申请的屏幕截图方法及屏幕截图装置的具体实现过程。
图13A-13E为本申请实施例提供的屏幕截图方法及屏幕截图装置的具体实现的示意图。在本实施例中,通过移动终端实现上述的屏幕截图过程。
如图13A所示,终端设备的屏幕上包括显示内容,例如,显示内容为科幻小说的部分内容。用户点击屏幕上的截图键或快捷物理键发出截图开始指令,这时屏幕截图装置在移动终端的屏幕上生成截图框1301。屏幕截图装置根据截图框的尺寸,对截图框中的显示内容进行截图操作,获得第一幅截图子画面,称为第一截图子画面。在图13A中,该第一截图子画面包括显示内容的第1-7行。
当接收到用户发出的截图内容调整指令后,屏幕截图装置对截图框1301中的显示内容进行调整。如图13B所示,通过对终端设备屏幕上的显示内容向上移动,来调整截图框中的显示内容。
在对截图框中的显示内容进行调整的过程中,屏幕截图装置会对截图框中的显示内容进行截图操作。但是,只要截图框1301中的调整后的显示内容包括之前获取的截图子画面中的内容,则不进行截图操作。例如,当终端设备屏幕上的显示内容向上移动至图13B所示的位置,此时截图框1301中显示的内容包括第一截图子画面中包含的第2-7行内容,则屏幕截图装置不进行截图操作。当终端设备屏幕上的显示内容向上移动至截图框1301中的显示内容与第一截图子画面不同但连续时,则屏幕截图装置按截图框的尺寸对当前显示内容进行截图操作。如图13C所示,当截图框1301中的显示内容为第8-14行的内容时,屏幕截图装置对截图框中显示的内容进行第二次截图操作,获得第二幅截图子画面,称为第二截图子画面。该第二截图子画面包括显示内容的第8-14行。第一截图子画面和第二截图子画面包含的内容连续但不同。也就是说,当截图框1301中的显示内容调整为图13C所示的内容时,只发生两次截图操作。只有当图13C中的截图框1301中的显示内容调整时,才会进行第三次截图操作。
屏幕截图装置进行两次截图操作后,获取了两个截图子画面。然后屏幕截图装置接收用户的截图边界确定指令,以确定终端设备屏幕上的显示内容的截图边界。在本实施例中,以截图框的左边界为显示内容的左边界,截图框的右边界为显示内容的右边界,以图13A中的直线A标示的边界为显示内容的上边界,图13C中的直线B标示的边界为显示内容的下边界。
屏幕截图装置接收用户的截图结束指令,并根据该截图结束指令将 之前获取的两个截图子画面合成为待截图画面。如图13D所示。
屏幕截图装置根据上述确定的截图边界对图13D所示的待截图画面进行截图操作,从而获取截图画面,如图13E的左侧图所示。
随后用户还可通过屏幕截图装置给该截图画面添加批注,如对该截图画面的说明或地址等,随后将批注好的截图画面完整的发送至其他用户,如图13E右侧图所示。
由本申请实施例提供的屏幕截图方法及屏幕截图装置可见,通过对截图框中的显示内容进行调整,并对调整后的显示内容进行截图操作,可以获取多个截图子画面;然后将多个截图子画面合成为待截图画面,并对待截图画面进行截图操作,就可以获取到截图画面。这样,即使用户想要截取的显示内容的大小超过终端设备一个屏幕的范围,也可以获取到完整的截图画面。利用本申请实施例提供的屏幕截图方法及屏幕截图装置,整个屏幕截图操作简单、方便、快捷,且屏幕截图的显示效果较好。
通过上述屏幕截图装置获取多个截图子画面后,用户可能发现其中的某个截图子画面的部分内容是其不想发送给其他用户的。
例如,当终端设备具有分屏功能时,在一个屏幕上能同时显示并运行两个应用程序,例如分屏显示浏览器和即时通信。当屏幕截图装置对处于分屏状态的屏幕进行截图操作而获得多个截图子画面后,用户可能发现其只想将某个截图子画面中的浏览器显示的内容发送给好友,而不希望将即时通信的内容发送给好友。
针对这种情况,本申请实施例又提供了一种屏幕截图装置,如图14所示。该装置除了包括图10所示的模块之外,还进一步包括判断模块1401,区域确定模块1402和裁剪模块1303,用于处理截图子画面,以便移除截图子画面中用户不想保留的内容。该屏幕截图装置可以设置在 终端设备中。
判断模块1401,用于判断第一截图子画面和至少一个第二截图子画面中是否有待裁剪截图子画面。
区域确定模块1402,用于在判断模块1401确定有待裁剪截图子画面时,确定待裁剪截图子画面中的待裁剪内容在待裁剪截图子画面中的区域。
裁剪模块1403,用于从待裁剪截图子画面中裁剪掉位于该区域中的待裁剪内容。
在本申请实施例中,当终端设备屏幕上同时显示并运行至少两个应用程序时,终端设备的屏幕上显示的内容至少包括第一分屏和第二分屏,则待裁剪截图子画面包括第一分屏和第二分屏中显示的应用程序的界面图。
分屏状态是终端设备在至少两个分屏中展示终端设备中的应用程序。如图5所示,一个终端设备的屏幕上显示两个分屏,并且每个分屏上展示一个应用程序的界面图。左侧分屏展示应用程序1的界面图,右侧分屏展示应用程序2的界面图。利用上述实施例提供的屏幕截图装置截取终端设备屏幕上所显示的内容,得到的屏幕截图如图6所示。图6所示的屏幕截图可以为上述实施例中提到的多个截图子画面中的一个。在图6中,一个终端设备屏幕上的第一分屏和第二分屏分别展示应用程序1和应用程序2的界面图。第一分屏在屏幕截图上的区域用于展示应用程序1的界面图,第二分屏在屏幕截图上的区域用于展示应用程序2的界面图。
在终端设备屏幕显示至少两个分屏的应用场景中,待裁剪截图子画面包括至少两个分屏中显示的应用程序的界面图,如果用户不想保留某个应用程序的界面图,则待裁剪内容为该待裁剪应用程序的界面图。为 了描述方便,在下面的实施例中,待裁剪截图子画面称为屏幕截图。
在本实施例中,区域确定模块1402用于确定应用程序中待裁剪应用程序的界面图在屏幕截图中的区域。
在本实施例中,应用程序中待裁剪应用程序可以是默认的应用程序,也可以是用户指定的应用程序。默认的应用程序可以是运行上述屏幕截图处理方法的应用程序本身。用户指定的应用程序可以是终端设备屏幕上展示的应用程序中的任意一个。通过指定屏幕截图中该待裁剪应用程序的界面图所在的区域确定待裁剪应用程序的界面图。待裁剪应用程序的界面图是屏幕截图中待裁剪应用程序在终端设备屏幕上显示的界面图。如图6所示,上述屏幕截图处理方法可以在应用程序2中执行,默认将应用程序2的界面图确定为待裁剪应用程序的界面图。在另一实施例中,用户也可以指定应用程序1的界面图为待裁剪应用程序的界面图。
裁剪模块1403用于从屏幕截图中裁剪掉位于区域中的待裁剪应用程序的界面图。
从屏幕截图中裁剪掉确定区域内的界面图,从而实现了对屏幕截图的编辑。例如,裁剪掉图6所示的应用程序2的界面图。
通过上述实施例,在获取到屏幕截图之后,从屏幕截图中确定需要裁剪的应用程序的界面图并将其裁剪掉,无需再利用图片处理软件对屏幕截图进行处理,简化了屏幕截图的处理过程,提高了屏幕截图的处理效率。
在本申请实施例中,可以调用以下单元将用户指定的区域作为待裁剪应用程序的界面图在屏幕截图中的区域。例如,区域确定模块1402包括:
接收单元,用于接收区域选择指令,根据区域选择指令选择应用程序中的第一应用程序的界面图在屏幕截图中的区域;
确定单元,用于将第一应用程序的界面图在屏幕截图中的区域确定为待裁剪应用程序的界面图在屏幕截图中的区域。
在本实施例中,通过区域选择指令可以选择屏幕截图中的任意一个区域作为待裁剪的区域。选择屏幕截图中的任意一个应用程序的界面图在屏幕截图中的区域作为待裁剪的区域,即作为待裁剪应用程序的界面图在屏幕截图中的区域。第一应用程序的界面图就是屏幕截图中任意一个应用程序的界面图。
如图6所示,屏幕截图包括两个应用程序的界面图,也就是应用程序1的界面图和应用程序2的界面图。当根据区域选择指令选择应用程序1的界面图所在的区域时,将应用程序1的界面图在屏幕截图中的区域确定为待裁剪应用程序的界面图在屏幕截图中的区域,并将应用程序1的界面图在屏幕截图中的区域裁剪掉;当区域选择指令选择应用程序2的界面图所在的区域时,将应用程序2的界面图在屏幕截图中的区域确定为待裁剪应用程序的界面图在屏幕截图中的区域,并将应用程序2的界面图在屏幕截图中的区域裁剪掉。
在本实施例中,可以通过接收区域选择指令对应用程序的界面图进行裁剪,从而简化了屏幕截图的处理过程,提高了屏幕截图裁剪的灵活性。
在本申请实施例中,可以调用以下单元将默认的区域作为待裁剪应用程序的界面图在屏幕截图中的区域。例如,区域确定模块1402还包括:
显示单元,用于在接收单元接收区域选择指令之前,显示默认区域提示信息,其中,默认区域提示信息用于提示将应用程序中的第二应用程序的界面图在屏幕截图中的区域确定为默认的待选区域;
确定单元用于,当接收到对所述默认区域提示信息的确认信息时, 将默认的待选区域确定为待裁剪应用程序的界面图在屏幕截图中的区域。
其中,第一应用程序与第二应用程序相同或不同。
在获取到屏幕截图之后,可以在屏幕截图上提示默认的待选区域。默认的待选区域是默认的应用程序的界面图在屏幕截图中的区域。在本实施例中,默认的应用程序为第二应用程序。默认的应用程序可以与用户指定的应用程序的界面图所对应的应用程序为相同的程序,也可以是不同的应用程序。
在获取屏幕截图之后,可以先显示默认区域提示信息,以提示将要裁剪的应用程序的界面图。若用户确认对默认区域提示信息所提示的默认的待选区域进行裁剪,则接收到用户的确认信息后对默认的待选区域进行裁剪。若用户发出了区域选择指令对其他区域的应用程序的界面图进行裁剪,则对区域选择指令所选择的区域进行裁剪。区域选择指令所选的应用程序也可以与默认的待选区域相同。在本实施例中,确认信息也可以是用户发出的区域选择指令,即用户通过区域选择指令选择默认的待选区域,或者默认的待选区域以外的其他区域。
在本申请实施例中,显示默认区域提示信息可以采用虚线圈出屏幕截图中待裁剪应用程序的界面图在屏幕截图中的区域,也可以采用不同颜色来提示待裁剪应用程序的界面图在屏幕截图中的区域,还可以采用不同深浅的图层来展示待裁剪应用程序的界面图在屏幕截图中区域。显示默认区域提示信息的方式也可以用来显示根据区域选择指令所选择的区域。默认的待选区域可以是包含有用户隐私信息或者其他不便公开的信息的应用程序的界面图所在的区域,如即时通讯的应用程序的即时会话的界面图所在的区域。当然,默认的待选区域也可以是其他应用程序的界面图。
在上述实施例中,在获取屏幕截图后提示用户将要对默认的待选区域进行裁剪。通常,默认的待选区域就是用户希望裁剪掉的区域,显示默认区域提示信息可以减少用户发出区域选择指令,使得对屏幕截图的裁剪更加方便、快捷。
在本申请实施例中,区域确定模块1402包括:
获取单元,用于接收单元在接收区域选择指令之前,获取终端设备屏幕上的每个分屏占终端设备屏幕的比例;
划分单元,用于按照比例划分每个分屏中显示的应用程序的界面图在屏幕截图中的区域。
如果终端设备在分屏状态下显示两个分屏,可以采用5∶5的分屏方式,也可以采用3∶7分屏的方式,还可以采用其他比例的分屏方式。若终端设备在分屏状态下显示两个以上的分屏,可以采用3∶4∶3的分屏方式,也可以采用2∶3∶5的分屏方式及其他比例的分屏方式。每个分屏显示一个应用程序的界面图,并且每个分屏占终端设备屏幕的比例在显示应用程序的界面图时是已经确定的,那么,每个应用程序的界面图占屏幕截图的比例也是确定的。根据每个分屏占终端设备屏幕的比例就能对屏幕截图进行划分,以划分出每个应用程序的界面图在屏幕截图中的区域。
图7示出的屏幕截图包括三个分屏并且分屏比例为3∶4∶3。按照分屏比例对屏幕截图进行划分,如图7所示,每个应用程序的界面图在屏幕截图中的区域按照3∶4∶3的比例划分得到。
在本申请实施例中,终端设备通常有横屏显示和竖屏显示这两种方式,在按照比例确定每个分屏中显示的应用程中的界面图在屏幕截图中的区域时,可以根据不同的显示方式对屏幕截图进行划分。具体地,可以获取终端设备在分屏状态下的显示模式,显示模式包括横屏显示模式 和竖屏显示模式;判断终端设备的显示模式处于横屏显示模式还是竖屏显示模式;在显示模式为横屏显示模式时,按照比例对屏幕截图的长边进行划分,以得到每个分屏中显示的应用程序中的界面图在屏幕截图中的区域;在显示模式为竖屏显示模式时,按照比例对屏幕截图的短边进行划分,以得到每个分屏中显示的应用程序中的界面图在屏幕截图中的区域。
例如,在终端设备屏幕处于3∶7比例的分屏状态时,当采用如图6所示的横屏显示模式时,对屏幕截图的长边按比例划分;当采用如图8所示的竖屏显示时,对屏幕截图的短边按比例划分。由于屏幕截图的高和宽是确定的,对长边或者短边划分后就确定了每个应用程序的界面图在屏幕截图中的区域。
根据终端设备不同的分屏状态和显示模式,按照相应的分屏比例对屏幕截图进行划分,就能获得每个应用程序的界面图在屏幕截图中的区域,以便于显示默认区域提示信息,或者供用户发出区域选择指令。
在本申请实施例中,区域选择指令用于用户根据屏幕截图的内容确定待裁剪区域,对于默认的待选区域,在接收到区域选择指令之前就需要确定是否为待裁剪区域。因此,在显示默认区域提示信息之前,可以调用以下子单元确定默认的待选区域。例如,确定单元包括:
判断子单元,用于判断终端设备的屏幕的分屏状态是否为均匀分屏,其中,均匀分屏为每个分屏占终端设备屏幕的比例相同;
第一确定子单元,用于在判断子单元确定终端设备的分屏状态为均匀分屏时,根据第二应用程序在终端设备屏幕被分屏前的运行状态确定第二应用程序的界面图在屏幕截图中的区域,并将确定的区域作为默认的待选区域;
第二确定子单元,用于在判断子单元确定终端设备屏幕的分屏状态 不是均匀分屏时,根据第二应用程序的界面图所在的分屏在终端设备屏幕中的区域确定第二应用程序的界面图在屏幕截图中的区域,并将确定的区域作为默认的待选区域。
第二应用程序为默认的待选区域所对应的应用程序。若终端设备的屏幕被均匀分屏,则终端设备无法根据当前的分屏比例来确认第二应用程序所在的分屏在屏幕上的位置。那么,需要根据第二应用程序在终端设备屏幕被分屏前的运行状态来确定第二应用程序的分屏在屏幕中的位置,从而进一步确定第二应用程序的界面图在屏幕截图上的区域。若终端设备的屏幕没有被均匀分屏,则终端设备根据当前分屏状态下的分屏比例就能确定每个分屏上显示的应用程序的界面图,也就确定了第二应用程序的界面图在屏幕截图上的区域。
在均匀分屏的分屏状态,可以根据第二应用程序的截图在终端设备屏幕被分屏之前是否没有显示或是否全屏显示来确定第二应用程序的界面图在屏幕截图中的区域。例如,第一确定子单元包括:
判断子模块,用于判断第二应用程序的界面图显示在终端设备屏幕被分屏之前为全屏显示还是没有显示;
第一确定子模块,用于在判断子模块确定为全屏显示时,确定第二应用程序处于第一分屏,将第一分屏在终端设备屏幕上的区域对应到屏幕截图中的第一区域,并将第一区域确定为第二应用程序的界面图在屏幕截图中的区域;
第二确定子模块,用于在判断子模块确定为没有显示时,根据第二应用程序的界面图在终端设备屏幕上显示之前终端设备屏幕是否处于分屏状态来确定第二应用程序的界面图在屏幕截图中的区域。
如图9所示,终端设备在分屏状态下采用均匀分屏的方式显示应用程序1的界面图和应用程序2的界面图。若第二应用程序在终端设备屏 幕被分屏之前为全屏显示,则第二应用程序在分屏状态下显示时,显示在图9所示的应用程序1的界面图所在的分屏(即第一分屏)中,该分屏对应到屏幕截图上的第一区域;另外一个应用程序的界面图显示在图9所示的应用程序2的界面图所在的分屏。若第二应用程序在终端设备屏幕被分屏之前没有显示,则根据第二应用程序的界面图在终端设备屏幕上显示之前终端设备屏幕是否处于分屏的状态来确定第二应用程序的界面图在屏幕截图中的区域。
在本实施例中,第二确定子模块包括:
判断小模块,用于判断第二应用程序的界面图在终端设备屏幕上显示之前终端设备是否处于分屏状态;
检测小模块,用于在判断小模块确定终端设备屏幕处于分屏状态时,检测显示第二应用程序的界面图的分屏,将检测到的分屏在终端设备屏幕上的区域对应到屏幕截图中的第二区域,并将第二区域确定为第二应用程序的界面图在屏幕截图中的区域;
确定小模块,用于在判断小模块确定终端设备屏幕不处于分屏状态时,确定第二应用程序处于第二分屏,将第二分屏在终端设备屏幕上的区域对应到屏幕截图中的第三区域,并将第三区域确定为第二应用程序的界面图在屏幕截图中的区域。
如图9所示,若在第二应用程序显示前,终端设备屏幕没有处于分屏状态,则终端设备屏幕处于全屏显示状态,也就是说第二应用程序以外的其他应用程序全屏显示。当终端设备屏幕处于分屏状态时,第二应用程序和其他应用程序同时显示在终端设备屏幕上,其他应用程序的界面图显示在图9所示的应用程序1所在的分屏,第二应用程序的界面图显示在图9所示的应用程序2所在的分屏(即第三分屏),该分屏在屏幕截图上对应的区域为第三区域。
若在第二应用程序显示前,终端设备屏幕处于分屏状态,则在第二应用程序显示前终端设备屏幕显示如图9所示的应用程序1和应用程序2,若第二应用程序取代应用程序1进行显示,则第二应用程序的界面图显示在应用程序1在终端设备屏幕中的分屏(即第二分屏),该分屏在屏幕截图上对应的区域为第二区域;若第二应用程序取代应用程序2进行显示,则第二应用程序的界面图显示在应用程序2在终端设备屏幕中的分屏(即第二分屏),该分屏在屏幕截图上对应的区域为第二区域。
通过上述实施例可知,根据默认区域提示信息所提示的应用程序的显示状态和终端设备屏幕的显示状态能够确定该应用程序的界面图在屏幕截图上的位置。因此,在获取屏幕截图后显示默认区域提示信息,以提示用户对默认区域提示信息所提示的区域进行裁剪,能够解决现有技术中对屏幕截图的编辑操作复杂、效率低的技术问题,达到了提高屏幕截图的处理效率的技术效果。
在从屏幕截图中裁剪掉位于待裁剪应用程序的界面图之后,还可以对裁剪后的屏幕截图进行进一步的编辑,如裁切、旋转、添加文字、添加滤镜等,并且还可以选择将屏幕截图分享到其他应用程序,例如微博、朋友圈、云存储空间等等。
本申请实施例还提供了一种用于实施上述屏幕截图方法的终端设备,该终端设备包括上述的屏幕截图装置。图15是本申请实施例提供的用于实现屏幕截图方法的终端设备的硬件结构示意图。如图15所示,该终端设备包括:处理器1501、显示器1502、存储器1503和网络接口1504。
显示器1502用于显示用户打开的文档、网页、图片、应用程序、屏幕截图等任何可以显示的内容,如果终端设备具有分屏功能,还可以分屏显示多个应用程序的界面图。
存储器1503为非易失性存储器,用于存储计算机可读指令,所述计算机可读指令包括:截图框生成指令、显示内容调整指令、第一截图指令、边界获取指令、合成指令和第二截图指令。
网络接口1504用于在需要时与服务器或其它设备进行通信时,以进行通讯数据的传输。
处理器1501用于读取存储器1503存储的截图框生成指令、显示内容调整指令、第一截图指令、边界获取指令、合成指令和第二截图指令,以执行图1所示的屏幕截图方法的步骤和实现图10所示的屏幕截图装置中各模块的功能。
进一步地,所述计算机可读指令还包括:截图框调整指令和批注指令。
处理器1501用于读取存储器1503存储的截图框生成指令、显示内容调整指令、第一截图指令、边界获取指令、合成指令、第二截图指令、截图框调整指令和批注指令,以执行图2所示的屏幕截图方法的步骤和实现图11所示的屏幕截图装置中各模块的功能。
进一步地,所述计算机可读指令还包括:判断指令、区域确定指令和裁剪指令。
处理器1501用于读取存储器1503存储的截图框生成指令、显示内容调整指令、第一截图指令、边界获取指令、合成指令、第二截图指令、判断指令、区域确定指令和裁剪指令,以执行图3和4所示的屏幕截图处理方法的步骤和实现图14所示的屏幕截图装置中各模块的功能。
本申请的实施例还提供了一种非易失性存储介质。在本实施例中,非易失性存储介质被设置为存储用于执行图1-4所示实施例的方法步骤的程序代码。
在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储 器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。
在本实施例中,处理器根据存储介质中已存储的程序代码执行屏幕截图方法。
上述实施例中的模块或单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在上述计算机可读取的存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在存储介质中,包括若干指令用以使得一台或多台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例方法的全部或部分步骤。
本申请实施例所使用的术语“组件”、“模块”、“系统”、“接口”、“进程”等等一般地旨在指计算机相关实体:硬件、硬件和软件的组合、软件或执行中的软件。例如,组件可以是但不限于是运行在处理器上的进程、处理器、对象、可执行应用、执行的线程、程序和/或计算机。通过图示,运行在控制器上的应用和该控制器二者都可以是组件。一个或多个组件可以有在于执行的进程和/或线程内,并且组件可以位于一个计算机上和/或分布在两个或更多计算机之间。
而且,要求保护的主题可以被实现为使用标准编程和/或工程技术产生软件、固件、硬件或其任意组合以控制计算机实现所公开的主题的方法、装置或制造品。本文所使用的术语“制造品”旨在包含可从任意计算机可读设备、载体或介质访问的计算机程序。当然,本领域技术人员将认识到可以对该配置进行许多修改,而不脱离要求保护的主题的范围或精神。
图16为本申请实施例提供的屏幕截图装置所在的电子设备的工作 环境结构示意图。该电子设备即为上述实施例中的终端设备。图16的工作环境仅仅是适当的工作环境的一个实例并且不旨在建议关于工作环境的用途或功能的范围的任何限制。实例电子设备1602包括但不限于个人计算机、服务器计算机、手持式或膝上型设备、移动设备(比如移动电话、个人数字助理(PDA)、媒体播放器等等)、多处理器系统、消费型电子设备、小型计算机、大型计算机、包括上述任意系统或设备的分布式计算环境,等等。
尽管没有要求,但是在“计算机可读指令”被一个或多个电子设备执行的通用背景下描述实施例。计算机可读指令可以经由计算机可读介质来分布(下文讨论)。计算机可读指令可以实现为程序模块,比如执行特定任务或实现特定抽象数据类型的功能、对象、应用编程接口(API)、数据结构等等。典型地,该计算机可读指令的功能可以在各种环境中随意组合或分布。
图16图示了包括本申请的屏幕截图装置的一个或多个实施例的电子设备1602的实例。在一种配置中,电子设备1602包括至少一个处理单元1606和存储器1608。根据电子设备的确切配置和类型,存储器1608可以是易失性的(比如RAM)、非易失性的(比如ROM、闪存等)或二者的某种组合。该配置在图16中由虚线1604图示。
在其他实施例中,电子设备1602可以包括附加特征和/或功能。例如,电子设备1602还可以包括附加的存储装置(例如可移除和/或不可移除的),其包括但不限于磁存储装置、光存储装置等等。这种附加存储装置在图16中由存储装置1610图示。在一个实施例中,用于实现本文所提供的一个或多个实施例的计算机可读指令可以在存储装置1610中。存储装置1610还可以存储用于实现操作系统、应用程序等的其他计算机可读指令。计算机可读指令可以载入存储器1608中由例如 处理单元1606执行。
本文所使用的术语“计算机可读介质”包括计算机存储介质。计算机存储介质包括以用于存储诸如计算机可读指令或其他数据之类的信息的任何方法或技术实现的易失性和非易失性、可移除和不可移除介质。存储器1608和存储装置1610是计算机存储介质的实例。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字通用盘(DVD)或其他光存储装置、盒式磁带、磁带、磁盘存储装置或其他磁存储设备、或可以用于存储期望信息并可以被电子设备1602访问的任何其他介质。任意这样的计算机存储介质可以是电子设备1602的一部分。
电子设备1602还可以包括允许电子设备1602与其他设备通信的通信连接1616。通信连接1616可以包括但不限于调制解调器、网络接口卡(NIC)、集成网络接口、射频发射器/接收器、红外端口、USB连接或用于将电子设备1602连接到其他电子设备的其他接口。通信连接1616可以包括有线连接或无线连接。通信连接1616可以发射和/或接收通信媒体。
术语“计算机可读介质”可以包括通信介质。通信介质典型地包含计算机可读指令或诸如载波或其他传输机构之类的“已调制数据信号”中的其他数据,并且包括任何信息递送介质。术语“已调制数据信号”可以包括这样的信号:该信号特性中的一个或多个按照将信息编码到信号中的方式来设置或改变。
电子设备1602可以包括输入设备1614,比如键盘、鼠标、笔、语音输入设备、触摸输入设备、红外相机、视频输入设备和/或任何其他输入设备。电子设备1602中也可以包括输出设备1612,比如一个或多个显示器、扬声器、打印机和/或任意其他输出设备。输入设备1614 和输出设备1612可以经由有线连接、无线连接或其任意组合连接到电子设备1602。在一个实施例中,来自另一个电子设备的输入设备或输出设备可以被用作电子设备1602的输入设备1614或输出设备1612。
电子设备1602的组件可以通过各种互连(比如总线)连接。这样的互连可以包括外围组件互连(PCI)(比如快速PCI)、通用串行总线(USB)、火线(IEEE 1394)、光学总线结构等等。在另一个实施例中,电子设备1602的组件可以通过网络互连。例如,存储器1608可以由位于不同物理位置中的、通过网络互连的多个物理存储器单元构成。
本领域技术人员将认识到,用于存储计算机可读指令的存储设备可以跨越网络分布。例如,可经由网络1618访问的电子设备1620可以存储用于实现本申请所提供的一个或多个实施例的计算机可读指令。电子设备1602可以访问电子设备1620并且下载计算机可读指令的一部分或所有以供执行。可替代地,电子设备1602可以按需要下载多条计算机可读指令,或者一些指令可以在电子设备1602处执行并且一些指令可以在电子设备1620处执行。
本文提供了实施例的各种操作。在一个实施例中,所述的一个或多个操作可以构成一个或多个计算机可读介质上存储的计算机可读指令,其在被电子设备执行时将使得计算设备执行所述操作。描述一些或所有操作的顺序不应当被解释为暗示这些操作必需是顺序相关的。本领域技术人员将理解具有本说明书的益处的可替代的排序。而且,应当理解,不是所有操作必需在本文所提供的每个实施例中存在。
如本申请中所使用的术语“或”旨在意指包含的“或”而非排除的“或”。即,除非另外指定或从上下文中清楚,“X使用A或B”意指自然包括排列的任意一个。即,如果X使用A;X使用B;或X使用A和B二者,则“X使用A或B”在前述任一示例中得到满足。
而且,尽管已经相对于一个或多个实现方式示出并描述了本公开,但是本领域技术人员基于对本说明书和附图的阅读和理解将会想到等价变型和修改。本公开包括所有这样的修改和变型,并且仅由所附权利要求的范围限制。特别地关于由上述组件(例如元件、资源等)执行的各种功能,用于描述这样的组件的术语旨在对应于执行所述组件的指定功能(例如其在功能上是等价的)的任意组件(除非另外指示),即使在结构上与执行本文所示的本公开的示范性实现方式中的功能的公开结构不等同。此外,尽管本公开的特定特征已经相对于若干实现方式中的仅一个被公开,但是这种特征可以与如可以对给定或特定应用而言是期望和有利的其他实现方式的一个或多个其他特征组合。而且,就术语“包括”、“具有”、“含有”或其变形被用在具体实施方式或权利要求中而言,这样的术语旨在以与术语“包含”相似的方式包括。
本申请实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。上述提到的存储介质可以是只读存储器,磁盘或光盘等。上述的各装置或系统,可以执行相应方法实施例中的方法。
在本申请的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。
以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或 通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
以上所述仅是本申请的实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。

Claims (28)

  1. 一种屏幕截图方法,其特征在于,包括:
    接收截图开始指令,并根据所述截图开始指令生成截图框,其中所述截图框中包括至少部分终端设备屏幕上的显示内容;
    根据所述截图框的尺寸,对所述截图框中的显示内容进行截图操作,以获取第一截图子画面;
    接收截图内容调整指令,根据所述截图内容调整指令对所述截图框中的显示内容进行调整,并根据所述截图框的尺寸,对调整后的显示内容进行截图操作,以获取至少一个第二截图子画面;
    接收截图边界确定指令,并根据所述截图边界确定指令获取所述终端设备屏幕上的显示内容的截图边界;
    接收截图结束指令,并将所述第一截图子画面和至少一个第二截图子画面合成为待截图画面;
    根据所述截图边界对所述待截图画面进行截图操作,以获取截图画面。
  2. 根据权利要求1所述的屏幕截图方法,其特征在于,所述根据所述截图框的尺寸,对调整后的显示内容进行截图操作,以获取至少一个第二截图子画面包括:
    根据所述终端设备屏幕上的显示内容的调整方向,按截图框的尺寸对所述截图框中的调整后的显示内容进行截图操作,以获取至少一个第二截图子画面。
  3. 根据权利要求2所述的屏幕截图方法,其特征在于,所述根据所述终端设备屏幕上的显示内容的调整方向,按截图框的尺寸对所述截图框中的调整后的显示内容进行截图操作,以获取至少一个第二截图子 画面包括:
    当所述终端设备屏幕上的显示内容向上移动大于n个所述截图框的高度,小于n+1个所述截图框的高度时,按n+1个所述截图框的高度对所述终端设备屏幕上的显示内容从上到下进行n+1次截图操作,以获取n+1个第二截图子画面;
    当所述终端设备屏幕上的显示内容向下移动大于n个所述截图框的高度,小于n+1个所述截图框的高度时,按n+1个所述截图框的高度对所述终端设备屏幕上的显示内容从下到上进行n+1次截图操作,以获取n+1个第二截图子画面;
    当所述终端设备屏幕上的显示内容向左移动大于n个所述截图框的宽度,小于n+1个所述截图框的宽度时,按n+1个所述截图框的宽度对所述终端设备屏幕上的显示内容从左到右进行n+1次截图操作,以获取n+1个第二截图子画面;
    当所述终端设备屏幕上的显示内容向右移动大于n个所述截图框的宽度,小于n+1个所述截图框的宽度时,按n+1个所述截图框的宽度对所述终端设备屏幕上的显示内容从右到左进行n+1次截图操作,以获取n+1个第二截图子画面;
    其中,n为大于等于0的整数。
  4. 根据权利要求1所述屏幕截图方法,其特征在于,所述接收截图边界确定指令,并根据所述截图边界确定指令获取所述终端设备屏幕上的显示内容的截图边界包括:
    根据在所述终端设备屏幕上的显示内容上的点击指令确定所述截图边界确定指令,并根据所述截图边界确定指令获取所述终端设备屏幕上的显示内容的截图边界。
  5. 根据权利要求1所述的屏幕截图方法,其特征在于,所述根据 所述截图开始指令生成截图框之后,进一步包括:
    接收截图框调整指令,并根据所述截图框调整指令对所述截图框的大小以及位置进行调整。
  6. 根据权利要求1所述的屏幕截图方法,其特征在于,所述根据所述截图边界对所述待截图画面进行截图操作,以获取截图画面之后,进一步包括:
    接收批注指令,并根据所述批注指令给所述截图画面添加批注。
  7. 根据权利要求1所述的屏幕截图方法,其特征在于,在接收所述截图结束指令之前,进一步包括:
    判断所述第一截图子画面和至少一个第二截图子画面中是否有待裁剪截图子画面;
    如果有待裁剪截图子画面,则确定所述待裁剪截图子画面中的待裁剪内容在所述待裁剪截图子画面中的区域,并从所述待裁剪截图子画面中裁剪掉位于所述区域中的所述待裁剪内容。
  8. 根据权利要求7所述的屏幕截图方法,其特征在于,所述终端设备屏幕上的显示内容至少包括第一分屏和第二分屏,所述待裁剪截图子画面包括所述第一分屏和所述第二分屏中显示的应用程序的界面图;
    所述确定所述待裁剪截图子画面中的待裁剪内容在所述待裁剪截图子画面中的区域,并从所述待裁剪截图子画面中裁剪掉位于所述区域中的所述待裁剪内容包括:
    确定所述应用程序中待裁剪应用程序的界面图在所述待裁剪截图子画面中的区域;
    从所述待裁剪截图子画面中裁剪掉位于所述区域中的所述待裁剪应用程序的界面图。
  9. 根据权利要求8所述的屏幕截图方法,其特征在于,所述确定 所述应用程序中待裁剪应用程序的界面图在所述待裁剪截图子画面中的区域包括:
    接收区域选择指令,根据所述区域选择指令选择所述应用程序中的第一应用程序的界面图在所述待裁剪截图子画面中的区域;
    将所述第一应用程序的界面图在所述待裁剪截图子画面中的区域确定为所述待裁剪应用程序的界面图在所述待裁剪截图子画面中的区域。
  10. 根据权利要求9所述的屏幕截图方法,其特征在于,在接收所述区域选择指令之前,进一步包括:
    显示默认区域提示信息,其中,所述默认区域提示信息用于提示将所述应用程序中的第二应用程序的界面图在所述待裁剪截图子画面中的区域确定为默认的待选区域;
    当接收到对所述默认区域提示信息的确认信息时,将所述默认的待选区域确定为所述待裁剪应用程序的界面图在所述待裁剪截图子画面中的区域;
    其中,所述第一应用程序与所述第二应用程序相同或不同。
  11. 根据权利要求8所述的屏幕截图方法,其特征在于,所述确定所述应用程序中待裁剪应用程序的界面图在所述待裁剪截图子画面中的区域包括:
    获取所述终端设备屏幕上的每个分屏占所述终端设备屏幕的比例;
    按照所述比例划分每个分屏中显示的应用程序的界面图在所述待裁剪截图子画面中的区域。
  12. 根据权利要求11所述的屏幕截图方法,其特征在于,所述按照所述比例确定每个分屏中显示的应用程序的界面图在所述待裁剪截图子画面中的区域包括:
    获取所述终端设备在分屏状态下的显示模式,所述显示模式包括横屏显示模式和竖屏显示模式;
    在所述显示模式为所述横屏显示模式时,按照所述比例对所述待裁剪截图子画面的长边进行划分,得到每个分屏中显示的应用程序的界面图在所述待裁剪截图子画面中的区域;
    在所述显示模式为所述竖屏显示模式时,按照所述比例对所述待裁剪截图子画面的短边进行划分,得到每个分屏中显示的应用程序的界面图在所述待裁剪截图子画面中的区域。
  13. 根据权利要求10所述的屏幕截图方法,其特征在于,所述将所述应用程序中的第二应用程序的界面图在所述待裁剪截图子画面中的区域确定为默认的待选区域包括:
    判断所述终端设备屏幕的分屏状态是否为均匀分屏,其中,所述均匀分屏为所述每个分屏占所述终端设备屏幕的比例相同;
    若所述终端设备屏幕的分屏状态为均匀分屏,则根据所述第二应用程序在所述终端设备屏幕被分屏前的运行状态确定所述第二应用程序的界面图在所述待裁剪截图子画面中的区域,并将所述确定的区域作为所述默认的待选区域;
    若所述终端设备屏幕的分屏状态不是均匀分屏,则根据所述第二应用程序的界面图所在的分屏在所述终端设备屏幕中的区域确定所述第二应用程序的界面图在所述待裁剪截图子画面中的区域,并将所述确定的区域作为所述默认的待选区域。
  14. 根据权利要求13所述的屏幕截图方法,其特征在于,根据所述第二应用程序在所述终端设备屏幕被分屏前的运行状态确定所述第二应用程序的界面图在所述待裁剪截图子画面中的区域包括:
    判断所述第二应用程序的界面图在所述终端设备屏幕被分屏之前 为全屏显示还是没有显示;
    若为全屏显示,则确定所述第二应用程序处于所述第一分屏,将所述第一分屏在所述终端设备屏幕上的区域对应到所述待裁剪截图子画面中的第一区域,并将所述第一区域确定为所述第二应用程序的界面图在所述待裁剪截图子画面中的区域;
    若没有显示,则根据所述第二应用程序的界面图在所述终端设备屏幕上显示之前所述终端设备屏幕是否处于分屏状态来确定所述第二应用程序的界面图在所述待裁剪截图子画面中的区域;
    若所述终端设备屏幕处于所述分屏状态,则检测显示所述第二应用程序的界面图的分屏,将检测到的分屏在所述终端设备屏幕上的区域对应到所述待裁剪截图子画面中的第二区域,并将所述第二区域确定为所述第二应用程序的界面图在所述待裁剪截图子画面中的区域;
    若所述终端设备屏幕不处于所述分屏状态,则确定所述第二应用程序处于所述第二分屏,将所述第二分屏在所述终端设备屏幕上的区域对应到所述待裁剪截图子画面中的第三区域,并将所述第三区域确定为所述第二应用程序的界面图在所述待裁剪截图子画面中的区域。
  15. 一种屏幕截图装置,其特征在于,包括:
    截图框生成模块,用于接收截图开始指令,并根据所述截图开始指令生成截图框,其中所述截图框中包括至少部分终端设备屏幕上的显示内容;
    显示内容调整模块,用于接收截图内容调整指令,并根据所述截图内容调整指令对所述截图框中的显示内容进行调整;
    第一截图模块,用于根据所述截图框的尺寸,对所述截图框中的显示内容进行截图操作,以获取第一截图子画面;根据所述截图框的尺寸,对调整后的显示内容进行截图操作,以获取至少一个第二截图子画面;
    边界获取模块,用于接收截图边界确定指令,并根据所述截图边界确定指令获取所述终端设备屏幕上的显示内容的截图边界;
    合成模块,用于接收截图结束指令,并将所述第一截图子画面和至少一个第二截图子画面合成为待截图画面;
    第二截图模块,用于根据所述截图边界对所述待截图画面进行截图操作,以获取截图画面。
  16. 根据权利要求15所述的屏幕截图装置,其特征在于,所述第一截图模块用于,根据所述终端设备屏幕上的显示内容的调整方向,按截图框的尺寸对所述截图框中的调整后的显示内容进行截图操作,以获取至少一个第二截图子画面。
  17. 根据权利要求16所述的屏幕截图装置,其特征在于,所述第一截图模块包括:
    向上截图单元,用于当所述终端设备屏幕上的显示内容向上移动大于n个所述截图框的高度,小于n+1个所述截图框的高度时,按n+1个所述截图框的高度对所述终端设备屏幕上的显示内容从上到下进行n+1次截图操作,以获取n+1个第二截图子画面;
    向下截图单元,用于当所述终端设备屏幕上的显示内容向下移动大于n个所述截图框的高度,小于n+1个所述截图框的高度时,按n+1个所述截图框的高度对所述终端设备屏幕上的显示内容从下到上进行n+1次截图操作,以获取n+1个第二截图子画面;
    向左截图单元,用于当所述终端设备屏幕上的显示内容向左移动大于n个所述截图框的宽度,小于n+1个所述截图框的宽度时,按n+1个所述截图框的宽度对所述终端设备屏幕上的显示内容从左到右进行n+1次截图操作,以获取n+1个第二截图子画面;
    向右截图单元,用于当所述终端设备屏幕上的显示内容向右移动大 于n个所述截图框的宽度,小于n+1个所述截图框的宽度时,按n+1个所述截图框的宽度对所述终端设备屏幕上的显示内容从右到左进行n+1次截图操作,以获取n+1个第二截图子画面;
    其中,n为大于等于0的整数。
  18. 根据权利要求15所述的屏幕截图装置,其特征在于,所述边界获取模块用于,根据在所述终端设备屏幕上的显示内容上的点击指令确定所述截图边界确定指令,并根据所述截图边界确定指令获取所述终端设备屏幕上的显示内容的截图边界。
  19. 根据权利要求15所述的屏幕截图装置,其特征在于,进一步包括:
    截图框调整模块,用于接收截图框调整指令,并根据所述截图框调整指令对所述截图框的大小以及位置进行调整。
  20. 根据权利要求15所述的屏幕截图装置,其特征在于,进一步包括:
    批注模块,用于接收批注指令,并根据所述批注指令给所述截图画面添加批注。
  21. 根据权利要求15所述的屏幕截图装置,其特征在于,进一步包括:
    判断模块,用于判断所述第一截图子画面和至少一个第二截图子画面中是否有待裁剪截图子画面;
    区域确定模块,用于在所述判断模块确定有待裁剪截图子画面时,确定所述待裁剪截图子画面中的待裁剪内容在所述待裁剪截图子画面中的区域;
    裁剪模块,用于从所述待裁剪截图子画面中裁剪掉位于所述区域中的所述待裁剪内容。
  22. 根据权利要求21所述的屏幕截图装置,其特征在于,所述终端设备屏幕上的显示内容至少包括第一分屏和第二分屏,所述待裁剪截图子画面包括所述第一分屏和所述第二分屏中显示的应用程序的界面图;
    所述区域确定模块用于,确定所述应用程序中待裁剪应用程序的界面图在所述待裁剪截图子画面中的区域;
    所述裁剪模块用于,从所述待裁剪截图子画面中裁剪掉位于所述区域中的所述待裁剪应用程序的界面图。
  23. 根据权利要求22所述的屏幕截图装置,其特征在于,所述区域确定模块包括:
    接收单元,用于接收区域选择指令,根据所述区域选择指令选择所述应用程序中的第一应用程序的界面图在所述待裁剪截图子画面中的区域;
    确定单元,用于将所述第一应用程序的界面图在所述待裁剪截图子画面中的区域确定为所述待裁剪应用程序的界面图在所述待裁剪截图子画面中的区域。
  24. 根据权利要求23所述的屏幕截图装置,其特征在于,所述区域确定模块进一步包括:
    显示单元,用于在接收单元接收区域选择指令之前,显示默认区域提示信息,其中,所述默认区域提示信息用于提示将所述应用程序中的第二应用程序的界面图在所述待裁剪截图子画面中的区域确定为默认的待选区域;
    所述确定单元用于,当接收到对所述默认区域提示信息的确认信息时,将所述默认的待选区域确定为所述待裁剪应用程序的界面图在所述待裁剪截图子画面中的区域;
    其中,所述第一应用程序与所述第二应用程序相同或不同。
  25. 根据权利要求22所述的屏幕截图装置,其特征在于,所述区域确定模块包括:
    获取单元,用于获取所述终端设备屏幕上的每个分屏占所述终端设备屏幕的比例;
    划分单元,用于按照所述比例划分每个分屏中显示的应用程序的界面图在所述待裁剪截图子画面中的区域。
  26. 根据权利要求25所述的屏幕截图装置,其特征在于,所述划分单元包括:
    获取子单元,用于获取所述终端设备在分屏状态下的显示模式,所述显示模式包括横屏显示模式和竖屏显示模式;
    第一划分子单元,用于在所述显示模式为所述横屏显示模式时,按照所述比例对所述待裁剪截图子画面的长边进行划分,得到每个分屏中显示的应用程序的界面图在所述待裁剪截图子画面中的区域;
    第二划分子单元,用于在所述显示模式为所述竖屏显示模式时,按照所述比例对所述待裁剪截图子画面的短边进行划分,得到每个分屏中显示的应用程序中的界面图在所述待裁剪截图子画面中的区域。
  27. 根据权利要求24所述的屏幕截图装置,其特征在于,所述确定单元包括:
    判断子单元,用于判断所述终端设备屏幕的分屏状态是否为均匀分屏,其中,所述均匀分屏为每个分屏占所述终端设备屏幕的比例相同;
    第一确定子单元,用于在所述判断子单元确定所述终端设备屏幕的分屏状态为均匀分屏时,根据所述第二应用程序在所述终端设备屏幕被分屏前的运行状态确定所述第二应用程序的界面图在所述待裁剪截图子画面中的区域,并将所述确定的区域作为所述默认的待选区域;
    第二确定子单元,用于在所述判断子单元确定所述终端设备屏幕的分屏状态不是均匀分屏时,根据所述第二应用程序的界面图所在的分屏在所述终端设备屏幕中的区域确定所述第二应用程序的界面图在所述待裁剪截图子画面中的区域,并将所述确定的区域作为所述默认的待选区域。
  28. 根据权利要求27所述的屏幕截图装置,其特征在于,所述第一确定子单元包括:
    判断子模块,用于判断所述第二应用程序的界面图在所述终端设备屏幕被分屏之前为全屏显示还是没有显示;
    第一确定子模块,用于在所述判断子模块确定为全屏显示时,确定所述第二应用程序处于所述第一分屏,将所述第一分屏在所述终端设备屏幕上的区域对应到所述待裁剪截图子画面中的第一区域,并将所述第一区域确定为所述第二应用程序的界面图在所述待裁剪截图子画面中的区域;
    第二确定子模块,用于在判断子模块确定为没有显示时,根据所述第二应用程序的界面图在所述终端设备屏幕上显示之前所述终端设备屏幕是否处于分屏状态来确定所述第二应用程序的界面图在所述待裁剪截图子画面中的区域;
    若所述终端设备屏幕处于所述分屏状态,则检测显示所述第二应用程序的界面图的分屏,将检测到的分屏在所述终端设备屏幕上的区域对应到所述待裁剪截图子画面中的第二区域,并将所述第二区域确定为所述第二应用程序的界面图在所述待裁剪截图子画面中的区域;
    若所述终端设备屏幕不处于所述分屏状态,则确定所述第二应用程序处于所述第二分屏,将所述第二分屏在所述设备屏幕上的区域对应到所述待裁剪截图子画面中的第三区域,并将所述第三区域确定为所述第 二应用程序的界面图在所述待裁剪截图子画面中的区域。
PCT/CN2017/070192 2016-01-05 2017-01-05 屏幕截图方法及屏幕截图装置 WO2017118391A1 (zh)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201610005638.3 2016-01-05
CN201610005638.3A CN106940621B (zh) 2016-01-05 2016-01-05 图片处理的方法和装置
CN201610035836.4A CN105718143A (zh) 2016-01-19 2016-01-19 屏幕截图方法及屏幕截图装置
CN201610035836.4 2016-01-19

Publications (1)

Publication Number Publication Date
WO2017118391A1 true WO2017118391A1 (zh) 2017-07-13

Family

ID=59273676

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/070192 WO2017118391A1 (zh) 2016-01-05 2017-01-05 屏幕截图方法及屏幕截图装置

Country Status (1)

Country Link
WO (1) WO2017118391A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020220991A1 (zh) * 2019-04-30 2020-11-05 维沃移动通信有限公司 截屏方法、终端设备及计算机可读存储介质
CN114020387A (zh) * 2021-11-03 2022-02-08 杭州逗酷软件科技有限公司 终端的截屏方法及装置、存储介质和电子设备
CN114270302A (zh) * 2019-09-06 2022-04-01 华为技术有限公司 一种屏幕截取方法及相关设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104503687A (zh) * 2014-12-22 2015-04-08 上海斐讯数据通信技术有限公司 截屏方法及移动终端
CN104766271A (zh) * 2015-04-13 2015-07-08 广东欧珀移动通信有限公司 屏幕截图的方法、装置及电子设备
CN105045823A (zh) * 2015-06-26 2015-11-11 上海卓易科技股份有限公司 一种基于截图的移动终端演示文件的生成方法及装置
CN105094617A (zh) * 2015-08-24 2015-11-25 北京锤子数码科技有限公司 一种截屏方法及装置
US20150339038A1 (en) * 2014-05-21 2015-11-26 Jacoh Llc System and method for capturing occluded graphical user interfaces
CN105718143A (zh) * 2016-01-19 2016-06-29 腾讯科技(深圳)有限公司 屏幕截图方法及屏幕截图装置

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150339038A1 (en) * 2014-05-21 2015-11-26 Jacoh Llc System and method for capturing occluded graphical user interfaces
CN104503687A (zh) * 2014-12-22 2015-04-08 上海斐讯数据通信技术有限公司 截屏方法及移动终端
CN104766271A (zh) * 2015-04-13 2015-07-08 广东欧珀移动通信有限公司 屏幕截图的方法、装置及电子设备
CN105045823A (zh) * 2015-06-26 2015-11-11 上海卓易科技股份有限公司 一种基于截图的移动终端演示文件的生成方法及装置
CN105094617A (zh) * 2015-08-24 2015-11-25 北京锤子数码科技有限公司 一种截屏方法及装置
CN105718143A (zh) * 2016-01-19 2016-06-29 腾讯科技(深圳)有限公司 屏幕截图方法及屏幕截图装置

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020220991A1 (zh) * 2019-04-30 2020-11-05 维沃移动通信有限公司 截屏方法、终端设备及计算机可读存储介质
CN114270302A (zh) * 2019-09-06 2022-04-01 华为技术有限公司 一种屏幕截取方法及相关设备
US11922005B2 (en) 2019-09-06 2024-03-05 Huawei Technologies Co., Ltd. Screen capture method and related device
CN114020387A (zh) * 2021-11-03 2022-02-08 杭州逗酷软件科技有限公司 终端的截屏方法及装置、存储介质和电子设备

Similar Documents

Publication Publication Date Title
KR102155688B1 (ko) 사용자 단말 장치 및 이의 디스플레이 방법
US9560414B1 (en) Method, apparatus and system for dynamic content
JP6167703B2 (ja) 表示制御装置、プログラム及び記録媒体
JP2019194896A (ja) ページの一部領域を利用したデータ処理方法及び装置
US20150227166A1 (en) User terminal device and displaying method thereof
KR102243855B1 (ko) 전자 장치에서 이미지 운영 방법 및 장치
KR101969424B1 (ko) 촬영된 이미지를 표시하는 촬영 장치 및 그 촬영 방법
EP2811731B1 (en) Electronic device for editing dual image and method thereof
USRE47812E1 (en) Adaptive determination of information display
KR20160133781A (ko) 이동단말기 및 그 제어방법
CN105320509B (zh) 图片处理方法及图片处理装置
CN113286191B (zh) 内容协同方法、装置、电子设备以及存储介质
KR20170026272A (ko) 콘텐츠 편집 장치 및 편집 방법
US10866714B2 (en) User terminal device and method for displaying thereof
US20180253824A1 (en) Picture processing method and apparatus, and storage medium
US20140333422A1 (en) Display apparatus and method of providing a user interface thereof
WO2019242274A1 (zh) 一种内容处理方法及装置
WO2017118391A1 (zh) 屏幕截图方法及屏幕截图装置
KR20130142310A (ko) 전자장치에서 이미지 변경 방법 및 장치
JP2015509633A (ja) アプリケーション表示方法および端末
EP4178193A1 (en) Image processing method, image processing apparatus, electronic device, and storage medium
TW201525936A (zh) 用於處理與裁切圖像的使用者體驗
TW201608385A (zh) 用於媒體共同作業群組之方法及系統
TWI776348B (zh) 病理切片圖像的展示方法、電子設備和儲存介質
US9870619B2 (en) Electronic device and method for synthesizing continuously taken images

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

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

Country of ref document: EP

Kind code of ref document: A1