Screen capture method, electronic device, and computer storage medium

By continuously taking screenshots and displaying thumbnails, the problem of difficulty in capturing dynamic screen content in traditional screenshot methods is solved, and accurate screenshots and selection of dynamic screen content are achieved.

CN113641286BActive Publication Date: 2025-01-24LENOVO (BEIJING) LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110875158.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-30
Publication Date
2025-01-24
Estimated Expiration
2041-07-30

AI Technical Summary

Technical Problem

Traditional screen capture methods are difficult to accurately capture screen pictures during dynamic processes, such as screenshots of toast messages, and it is difficult to take screenshots at the best moments.

Method used

By obtaining a screenshot instruction, the response instructions are continuously obtained from at least two screenshots, showing the thumbnails of these images, and selecting the target screenshot image from the narrowing diagram.

Benefits of technology

It realizes accurate screenshots of dynamic screen content, allows users to select the best screenshot image among thumbnails, and solves the problem that traditional screenshot methods are difficult to capture the dynamic process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113641286B_ABST
    Figure CN113641286B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a screenshot method, which includes: obtaining a screenshot instruction; responding to the screenshot instruction, continuously obtaining at least two screenshot images; displaying thumbnails of each screenshot image; selecting and saving a target screenshot image from the thumbnails of each screenshot image. At the same time, an electronic device and a computer storage medium are also proposed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminals, and in particular to a screenshot method and electronic device, and a computer storage medium. Background Art

[0002] At present, people usually save or transmit some important information by taking screenshots of terminal screens. The traditional screenshot method generally starts the screenshot function of the terminal by pressing a combination of keys on the terminal, and usually only captures a screen image at the current moment.

[0003] However, in some special cases, users need to capture a screenshot of an emergency. For example, we want to capture a toast screen. Since the toast pop-up is a dynamic process, it is difficult for us to accurately capture the best moment for screenshots based on traditional screenshot methods. Therefore, it is difficult to capture the screen images that users need. Summary of the invention

[0004] In order to solve the above technical problems, the embodiments of the present application hope to provide a screenshot method and electronic device, and a computer storage medium.

[0005] The technical solution of this application is implemented as follows:

[0006] The present application embodiment provides a screenshot method, including:

[0007] Get screenshot instructions;

[0008] In response to a screenshot instruction, continuously obtain at least two screenshot images;

[0009] Display thumbnails of each screenshot image;

[0010] Select and save a target screenshot image from the thumbnails of each screenshot image.

[0011] An embodiment of the present application provides an electronic device, the electronic device comprising:

[0012] An acquisition unit, used to obtain a screenshot instruction;

[0013] A response unit, used for responding to the screenshot instruction and continuously obtaining at least two screenshot images;

[0014] A display unit, used to display thumbnails of each screenshot image;

[0015] The selection unit is used to select and save a target screenshot image from the thumbnails of the screenshot images.

[0016] An embodiment of the present application provides an electronic device, the electronic device comprising:

[0017] Display screen;

[0018] A processor is used to obtain a screenshot instruction; in response to the screenshot instruction, continuously obtain at least two screenshot images; display thumbnails of each screenshot image; and select and save a target screenshot image from the thumbnails of each screenshot image.

[0019] An embodiment of the present application provides a computer-readable storage medium storing a program, which, when executed by a processor, implements the screenshot method as described above.

[0020] The screenshot method provided in the embodiment of the present application obtains a screenshot instruction; responds to the screenshot instruction, continuously obtains at least two screenshot images; displays thumbnails of each screenshot image; and selects and saves the target screenshot image from the thumbnails of each screenshot image. In this way, after the continuous capture of the screen image is realized based on the continuous screenshot processing, the thumbnails of each screenshot image obtained can be displayed, thereby realizing accurate selection and saving of the screenshot image required by the user from each displayed thumbnail. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 This is a schematic diagram of the Toast message scenario;

[0022] Figure 2 Schematic diagram of the implementation process of the screenshot method provided in the embodiment of the present application Figure 1 ;

[0023] Figure 3 A schematic diagram of a display scenario of a thumbnail of a screenshot image provided in an embodiment of the present application;

[0024] Figure 4 A schematic diagram of a scene for selecting and saving a screenshot image provided in an embodiment of the present application;

[0025] Figure 5 Schematic diagram of the implementation process of the screenshot method provided in the embodiment of the present application Figure 2 ;

[0026] Figure 6 Schematic diagram of the implementation process of the screenshot method provided in the embodiment of the present application Figure 3 ;

[0027] Figure 7 Schematic diagram of the implementation process of the screenshot method provided in the embodiment of the present application Figure 4 ;

[0028] Figure 8 Schematic diagram of the implementation process of the screenshot method provided in the embodiment of the present application Figure 5 ;

[0029] Fig. 9 A schematic diagram of the structure of the electronic device proposed in the embodiment of the present application Figure 1 ;

[0030] Fig.10 A schematic diagram of the structure of the electronic device proposed in the embodiment of the present application Figure 2 . DETAILED DESCRIPTION

[0031] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.

[0032] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0033] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.

[0034] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0035] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.

[0036] 1) Toast pop-up: Also known as a dialog box, it is one of the common ways for APP to interact with users. Toast in Android is a simple message prompt box that pops up a small message as a reminder and message feedback. It is generally used to display operation results or changes in application status. Among them, Toast is displayed for a limited time and will automatically disappear after a certain period of time, such as a few seconds.

[0037] like Figure 1As shown, when the device responds to user operations to register an APP, there will be multiple items that need to be filled in, such as name, ID type, ID number, mobile phone number, etc. If the ID number option is not filled in, the system will pop up a Toast message with the content "ID number cannot be empty" to remind the user and disappear quickly and automatically.

[0038] At present, as the functions of electronic devices are constantly enriched, many electronic devices have a screenshot function, and people usually use this screenshot function to capture the terminal screen to preserve or transmit some important information. The traditional screenshot method generally enables the terminal's screenshot function in response to the user's start operation of a combination key of an external device or a screenshot key on the screen, and usually captures a screen picture at the current moment.

[0039] However, in some special cases, the terminal needs to capture an image of a sudden event, that is, a flashing or rapidly changing screen display content, such as a flashing shot in a fast-playing video, a toast message that pops up and disappears after 500ms, etc. Since the target object to be captured is a dynamic process, it is difficult for us to accurately capture an accurate best moment for screenshot based on traditional screenshot methods, so it is difficult to capture the screen image required by the user.

[0040] In view of this, how to accurately capture the screen image required by the user is the content to be discussed in the embodiments of this application, which will be explained in conjunction with the following specific embodiments.

[0041] The embodiment of the present application provides a screenshot method and electronic device, and a computer storage medium, by obtaining a screenshot instruction; responding to the screenshot instruction, continuously obtaining at least two screenshot images; displaying thumbnails of each screenshot image; and selecting and saving a target screenshot image from the thumbnails of each screenshot image. In this way, the present application can not only realize continuous capture of screen images based on continuous screenshot processing, but also display thumbnails of each screenshot image obtained, thereby realizing accurate selection and saving of the screenshot image required by the user from the thumbnails.

[0042] The screenshot method provided in the embodiment of the present application is applied to an electronic device. The exemplary application of the electronic device provided in the embodiment of the present application is described below. The electronic device provided in the embodiment of the present application can be implemented as a mobile phone, a laptop computer, a tablet computer, a desktop computer, a smart TV, a vehicle-mounted device, a wearable device, and other mobile Internet devices (Mobile Internet Devices, MID), and the embodiment of the present application is not limited thereto. Among them, the electronic device is equipped with a display screen for visual display of content.

[0043] Below, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the drawings in the embodiments of the present application.

[0044] An embodiment of the present application provides a screenshot method. Figure 2 Schematic diagram of the implementation process of the screenshot method proposed in this application embodiment Figure 1 ,like Figure 2 As shown, in an embodiment of the present application, the method for generating a three-dimensional bounding box mark may include the following steps:

[0045] S101, obtaining a screenshot instruction.

[0046] In an embodiment of the present application, the electronic device can respond to a specific trigger operation and obtain a screenshot instruction.

[0047] It should be noted that, in the embodiment of the present application, the electronic device can obtain the screenshot instruction based on the operation object of the electronic device, in other words, the user of the electronic device performs a specific trigger operation.

[0048] Among them, the electronic device can be provided with a physical button for triggering screenshot, such as a single screenshot button or a combination of buttons, so that the screenshot instruction can be received in response to the user pressing the physical button.

[0049] Among them, the electronic device can collect specific gesture actions performed by the user on the display interface, thereby responding to the specific gesture actions and receiving a screenshot instruction.

[0050] On the other hand, the electronic device may also respond to other operations performed by the user, such as voice operations, and thereby receive a screenshot instruction.

[0051] It should be noted that in the embodiment of the present application, the screenshot instruction can be a continuous screenshot instruction or a common single screenshot instruction.

[0052] It can be understood that in order to avoid false triggering operations, one or more operation information corresponding to the first operation that meets the screenshot trigger condition can be pre-configured. When the user's control operation on the electronic device is obtained, the operation information of the control operation can be compared with the operation information of the preset first operation that meets the screenshot trigger condition. If the control operation information is the same as the operation information of the first operation, then it is determined that the control operation meets the preset screenshot trigger condition, and the electronic device can obtain the screenshot instruction in response to the control operation performed by the user; otherwise, it is other operations or an erroneous operation.

[0053] Here, the operation information may include an operation type and an operation event; the operation type may be a pressing operation, a voice operation or a gesture operation, and the operation event may include a pressing parameter, a voice content, and a gesture content.

[0054] S102: Respond to a screenshot instruction and continuously obtain at least two screenshot images.

[0055] In an embodiment of the present application, after obtaining a screenshot instruction, the electronic device can respond to the screenshot instruction and continuously obtain multiple screenshot images.

[0056] Optionally, in an embodiment of the present application, the screenshot instruction may be a continuous screenshot instruction obtained by an operating object of the electronic device executing a specific trigger operation; or it may be a single screenshot instruction obtained continuously by an operating object of the electronic device continuously executing a specific trigger operation, such as a user long pressing a physical screenshot button.

[0057] Among them, when the operating object of the electronic device performs a specific trigger operation and obtains a continuous screenshot instruction, the electronic device can respond to the continuous screenshot instruction to continuously capture the current display interface, thereby continuously obtaining multiple screenshot images.

[0058] Among them, when the operating object of the electronic device continuously performs specific trigger operations and continuously obtains single screenshot instructions, the electronic device can continuously respond to the obtained screenshot instructions, continuously perform screenshot processing on the current display interface, and then continuously obtain multiple screenshot images.

[0059] Here, the current display interface refers to the current screen display content of the electronic device. This application does not specifically limit the screen display content, and it can be the screen display content in any operating scenario.

[0060] It should be noted that, in the continuous screenshot processing, the screen display content of the electronic device is updated over time. Therefore, the continuous screenshot processing is to perform screenshot processing on the screen display content updated over time.

[0061] Here, in order to avoid omission of the screen display content of the electronic device when taking screenshots, the frequency of continuous screenshots of the screen display content of the electronic device can be greater than or equal to the frame frequency displayed when the electronic device is operating normally. In other words, the time interval of continuous screenshots can be less than or equal to the display image frame interval.

[0062] It should be understood that the main chip in the electronic device can send the image data to be displayed on the screen to the graphics card in the electronic device, and the graphics card refreshes the display parameters of the screen according to the frame frequency, and displays the image visually on the screen in a dynamic or static manner. Here, when the screenshot instruction is obtained, we can respond to the screenshot instruction and directly read the image data displayed on the screen from the interface of the graphics card, which is equivalent to screenshot processing of the display content of the screen.

[0063] S103: Display thumbnails of each screenshot image.

[0064] In an embodiment of the present application, the electronic device responds to a screenshot instruction, and after continuously obtaining multiple screenshot images, a thumbnail of each screenshot image can be displayed.

[0065] Here, the thumbnail of each screenshot image is displayed as an independent image, and accordingly, the thumbnails of multiple screenshot images are displayed as multiple independent images.

[0066] In some embodiments, after completing continuous screenshots of the screen display content, thumbnails of the obtained multiple screenshot images can be directly displayed on the screen of the electronic device, wherein a thumbnail of each of the multiple screenshot images can be displayed on the screen.

[0067] In other embodiments, after completing continuous screenshots of the screen display content, the electronic device can trigger a jump to a picture editing mode, and display a thumbnail of each of the multiple screenshot images on the screen in the picture editing mode.

[0068] Optionally, in an embodiment of the present application, the thumbnails of each screenshot image may be displayed according to a preset display rule. For example, the thumbnails of each screenshot image may be displayed one by one in a vertical arrangement from front to back according to the corresponding screenshot time, or the thumbnails of each screenshot image may be displayed one by one in a horizontal arrangement from front to back according to the corresponding screenshot time, and the present application does not make specific limitations on this.

[0069] For example, Figure 3 As shown, the thumbnails are displayed in a vertical arrangement in the order of the screenshot time.

[0070] S104: Select and save a target screenshot image from the thumbnails of the screenshot images.

[0071] In an embodiment of the present application, after the electronic device displays the thumbnail of each screenshot image, a target screenshot image can be selected and saved from the thumbnails of multiple screenshot images.

[0072] Specifically, in an embodiment of the present application, the electronic device may acquire a selection instruction based on an operation object of the electronic device performing a specific selection operation.

[0073] In one embodiment, the electronic device may receive a selection instruction in response to a user pressing and clicking a thumbnail of a target screenshot image on a screen displaying thumbnails of screenshot images. Accordingly, the electronic device may respond to the selection instruction and save the target screenshot image, while automatically deleting the remaining other screenshot images.

[0074] For example, Figure 4As shown, the electronic device can receive a selection instruction based on a user's click operation on any thumbnail and save the corresponding screenshot image.

[0075] In another embodiment, if all current screenshot images need to be saved, the electronic device does not need to obtain any operation performed by the user. In other words, in the screen showing thumbnails of each screenshot image, if the electronic device does not obtain any operation of the user within a preset time period, the electronic device can automatically save all screenshot images. In other words, the target screenshot images are all the obtained screenshot images.

[0076] In other words, if the screenshot image required by the user does not exist among all the current screenshot images, the user may not need to perform any operation. That is, in the screen displaying the thumbnails of each screenshot image, if the electronic device does not obtain any operation from the user within the preset time, the electronic device will automatically delete all the screenshot images.

[0077] It should be noted that, in an embodiment of the present application, before saving the target screenshot image, the electronic device may edit the target screenshot image in a picture editing mode and then save it, or may directly save it without editing.

[0078] The present application proposes a screenshot method, which includes obtaining a screenshot instruction; responding to the screenshot instruction, continuously obtaining at least two screenshot images; displaying thumbnails of each screenshot image; and selecting and saving a target screenshot image from the thumbnails of each screenshot image. In this way, after the continuous capture of the screen image is realized based on the continuous screenshot processing, the thumbnails of each screenshot image obtained can be displayed, thereby realizing accurate selection and saving of the screenshot image required by the user from each displayed thumbnail.

[0079] Based on the above embodiment, in yet another embodiment of the present application, Figure 5 Schematic diagram of the implementation process of the screenshot method proposed in this application embodiment Figure 2 ,like Figure 5 As shown, the method for taking screenshots by an electronic device includes the following steps:

[0080] S201, detecting the current running scene.

[0081] S202: If the current running scenario meets the preset continuous screenshot condition, when the control operation obtained on the display interface is the first operation matching the preset screenshot trigger condition, enable the continuous screenshot function and obtain the screenshot instruction.

[0082] In an embodiment of the present application, the current operating scenario of the electronic device may be detected.

[0083] It is understandable that when the electronic device is in a specific operating scenario, the scenario of the pop-up toast message, such as the login or registration scenario of the APP, generally requires the pop-up toast message to be continuously screenshot. Or, the scene of the video or animation display output or screen projection output. Therefore, in an embodiment of the present application, the terminal can pre-configure a variety of specific operating scenarios that support continuous screenshot operations. Accordingly, the continuous screenshot function can be enabled only in the specific operating scenario that supports the continuous screenshot operation.

[0084] Specifically, in the embodiment of the present application, the electronic device can detect the current running scene. If the current running scene is any one of the preset multiple specific running scenes that support continuous screenshot operations, it can be determined that the current running scene meets the preset continuous screenshot conditions, and then when the received control operation matches the first operation of the preset screenshot trigger condition, the continuous screenshot function is enabled. If the current running scene does not meet the preset continuous screenshot conditions, only the normal screenshot mode is enabled when the screenshot instruction operation is received.

[0085] Specifically, in an embodiment of the present application, parameters related to the current screen display content of the electronic device, such as the currently running application, interface display data, etc., can be obtained in real time, and then the current operating scenario of the electronic device can be determined in real time based on these related parameters.

[0086] Furthermore, if it is determined that the current running scene meets the preset continuous screenshot conditions, then it is determined that the current running scene supports continuous screenshot operations. After enabling the screenshot function, when a specific trigger operation of the user that meets the preset screenshot trigger conditions is obtained, the operation can be responded to and a screenshot instruction can be obtained.

[0087] S203: In response to continuously obtaining the first operation on the display interface, continuously obtain a screenshot instruction.

[0088] It can be understood that in the normal screenshot mode, whether the screenshot combination button is short pressed or long pressed, a screenshot instruction is obtained in response to a specific trigger operation and a screenshot operation is performed.

[0089] In an embodiment of the present application, when it is determined that the current running scene supports continuous screenshot operations, if a specific trigger operation that meets the preset screenshot trigger condition is obtained continuously, such as a user long pressing a screenshot combination key or a user long pressing a screenshot button in the display interface, the electronic device can respond to the operation and continuously obtain multiple screenshot instructions. The multiple screenshot instructions are used to continuously perform multiple screenshots on the current display interface.

[0090] S204, continuously responding to the screenshot instruction, continuously performing screenshot processing on the display interface, and obtaining at least two screenshot images.

[0091] Specifically, in an embodiment of the present application, in response to continuously obtaining a first operation on a display interface and continuously obtaining a screenshot instruction, the electronic device can enter a continuous screenshot mode, continuously respond to the screenshot instruction, and continuously perform screenshot processing on the current display interface, thereby continuously acquiring multiple screenshot images.

[0092] Here, in the case where the screenshot instructions are continuously obtained, each time the screenshot instruction is received, the image data displayed on the current screen is read from the graphics card interface once, which is equivalent to continuously taking screenshots of the displayed content on the screen.

[0093] It should be noted that, during the continuous screenshot processing, the screen display content of the electronic device is updated over time.

[0094] S205. In response to obtaining a second operation on the display interface, turning off the screenshot function, and displaying thumbnails of each screenshot image on the display interface; wherein the second operation is different from the first operation.

[0095] S206: Select and save a target screenshot image from the thumbnails of the screenshot images.

[0096] In an embodiment of the present application, when the electronic device continuously detects a first operation to continuously perform screenshot processing on the displayed content on the screen, once a second operation different from the first operation that satisfies the preset screenshot condition is detected, such as the user releasing the screenshot combination key pressed by the user, or releasing the screenshot button pressed on the display screen, the electronic device can respond to the second operation, turn off the screenshot function, and stop screenshot processing on the current screen display content.

[0097] It should be noted that once the electronic device stops the screenshot processing, it can display thumbnails of all screenshot images obtained in this continuous screenshot processing stage on the current screen, or jump to the picture editing mode and display them on the screen in the picture editing mode.

[0098] Each screenshot image thumbnail is displayed as an independent image, and multiple screenshot images thumbnails are displayed as independent images. In other words, after obtaining several screenshot images, the thumbnails of these screenshot images can be displayed in the current display interface while stopping the screenshot processing.

[0099] It should be understood that during the continuous screenshot processing, the screen display content of the electronic device is updated over time, so the screenshot images obtained will also change over time.

[0100] Further, in an embodiment of the present application, after the electronic device displays the thumbnail of each screenshot image, the electronic device can receive a selection instruction in response to a user's specific selection operation, such as a click operation, on a thumbnail of a target screenshot image on the screen displaying the thumbnails of the screenshot images. Accordingly, the electronic device can save the target screenshot image in response to the selection instruction, and automatically delete the remaining other screenshot images.

[0101] In another embodiment, it should be understood that the current running scenario is a running scenario that meets the preset continuous screenshot conditions. If the electronic device does not obtain any user operation within the preset time length on the screen displaying the thumbnails of each screenshot image, it indicates that the currently obtained screenshot images do not contain what the user needs, and the electronic device can automatically delete all screenshot images.

[0102] It can be seen that in the embodiment of the present application, the electronic device can detect the current running scene, and when the current running scene supports the continuous screenshot function, in response to the continuously obtained first operation, continuously obtain the screenshot instruction, and then continuously respond to the screenshot instruction to continuously perform screenshot processing on the screen and the displayed content, thereby obtaining multiple screenshot images; and when a second operation different from the first operation is detected, the continuous screenshot processing is stopped, and thumbnails of each obtained screenshot image are displayed on the screen, and the screenshot image required by the user can be accurately selected and saved from the thumbnail.

[0103] Based on the above embodiment, in yet another embodiment of the present application, Figure 6 Schematic diagram of the implementation process of the screenshot method proposed in this application embodiment Figure 3 ,like Figure 6 As shown, the method for taking screenshots by an electronic device includes the following steps:

[0104] S301, obtaining a screenshot instruction.

[0105] S302: Determine a screenshot mode according to the screenshot instruction.

[0106] S303: If the screenshot mode is a continuous screenshot mode, continuously take screenshots of the display interface within a preset time period corresponding to the screenshot mode to obtain at least two screenshot images.

[0107] In an embodiment of the present application, different screenshot instructions correspond to different screenshot modes, and the electronic device can obtain screenshot instructions corresponding to different screenshot modes in response to different specific trigger operations performed by the user.

[0108] For example, the electronic device determines that the screenshot mode corresponding to the operation of double-clicking the screen with a single finger joint obtained in the display interface is the normal screenshot mode, and determines that the screenshot mode corresponding to the operation of double-clicking the screen with two finger joints obtained in the display interface is the continuous screenshot mode; or determines that the screenshot mode corresponding to the user drawing a C graphic with a single finger in the display interface is the normal screenshot mode, and the screenshot mode corresponding to drawing an S graphic is the continuous screenshot mode.

[0109] Among them, the screenshot mode can include a normal screenshot mode and a continuous screenshot mode. The normal screenshot mode means that in response to the screenshot operation, only one screen image can be captured at the current moment; the continuous screenshot mode means that in response to the screenshot operation, continuous screenshot processing can be performed to realize continuous acquisition of multiple screen images.

[0110] Specifically, in an embodiment of the present application, after the electronic device obtains a screenshot instruction in response to a specific trigger operation of the user, it is necessary to further determine whether the screenshot mode corresponding to the screenshot instruction is a normal screenshot mode or a continuous screenshot mode.

[0111] It should be understood that the electronic device can pre-set the time length for continuous screenshots, for example, the continuous screenshot time length is 3 seconds. If it is determined that the current screenshot instruction corresponds to the continuous screenshot mode, then the electronic device can determine the preset screenshot time length corresponding to the continuous screenshot mode, and then perform continuous screenshot processing on the screen content that changes over time within the preset time length, thereby obtaining multiple screenshot images.

[0112] Here, when a screenshot instruction is obtained and it is determined that the screenshot instruction corresponds to a continuous screenshot mode, the electronic device can read the image data displayed on the screen from the graphics card interface for multiple consecutive times, which is equivalent to continuously taking screenshots of the displayed content on the screen.

[0113] In some embodiments, the electronic device can detect the current running scene, and when the screenshot instruction is obtained, the screenshot mode can be determined in combination with the current running scene and the screenshot instruction. For example, in a normal running scene, such as the WeChat chat interface or web browsing, the screenshot mode corresponding to the user's single finger drawing C graphic obtained by the electronic device on the display interface is the normal screenshot mode, while in the running scene of APP application login or registration, the screenshot mode corresponding to the user's single finger drawing C graphic obtained by the electronic device on the display interface is the continuous screenshot mode.

[0114] Furthermore, the electronic device takes screenshots of the screen display content within a preset time period. After obtaining multiple screenshot images, the thumbnail of each screenshot image can be displayed on the current screen, and the target screenshot image can be determined and saved based on the user's selection.

[0115] It can be seen that the present application proposes a screenshot method, which can respond to a specific screenshot instruction to start a continuous screenshot mode, so as to continuously screenshot the screen display content, thereby obtaining multiple screenshot images. The thumbnails of each screenshot image obtained are displayed on the screen, so as to accurately select and save the screenshot image required by the user from the thumbnails.

[0116] Based on the above embodiment, in yet another embodiment of the present application, Figure 7 Schematic diagram of the implementation process of the screenshot method proposed in this application embodiment Figure 4 ,like Figure 7 As shown, the method for an electronic device to continuously obtain at least two screenshot images in response to a screenshot instruction includes the following steps:

[0117] S401, capturing image display parameters of the current frame in the display interface in real time.

[0118] S402: When the image display parameters of the current frame are different from the image display parameters of the previous frame, a screenshot process is performed on the display interface to obtain at least two screenshot images.

[0119] It should be understood that in the embodiments of the present application, among the screenshot images obtained by continuous screenshot processing, there may be a part of static repeated screenshot images. Such multiple repeated static images are of little significance. In order to reduce the power consumption of the electronic device, the electronic device can perform screenshot processing only when the screen display content changes dynamically.

[0120] Specifically, in an embodiment of the present application, image data of the current screen display content can be acquired in real time in a time-lapse order, that is, the image display parameters of the current frame in the current screen can be captured in real time at the graphics card interface, and compared with the image display parameters of the adjacent previous frame or the image display parameters of the previous frame captured last time, and based on the comparison result, it is determined whether to perform screenshot processing at present.

[0121] Among them, if the comparison result is different, indicating that the screen display content has changed dynamically, the electronic device automatically takes a screenshot of the screen display content corresponding to the current frame; if the comparison result is the same, it means that the screen display content has not changed dynamically, and the electronic device does not take a screenshot of the current screen display content.

[0122] It should be understood that in order to avoid the screen display content captured at a certain moment being not clear enough, the electronic device can start from the initial moment of determining the screen display content change, and continuously perform a preset number of screenshots at a preset time interval, for example, capturing 3 images each time the screen display content is determined to change. In this way, there are a preset number of screenshot images for each screen display content, and the user can select a better definition when selecting a target screenshot image later.

[0123] Based on the above embodiment, in yet another embodiment of the present application, Figure 8 Schematic diagram of the implementation process of the screenshot method proposed in this application embodiment Figure 5 ,like Figure 8 As shown, the method for an electronic device to continuously obtain at least two screenshot images in response to a screenshot instruction includes the following steps:

[0124] S501: Receive a selection instruction.

[0125] S502 . In response to the selection instruction, determine a target thumbnail from the thumbnails of the screenshot images and save it as the target screenshot image.

[0126] Specifically, in an embodiment of the present application, the electronic device may acquire a selection instruction based on an operation object of the electronic device performing a specific selection operation.

[0127] In one embodiment, when the thumbnails are displayed on the current screen at the time when the continuous screenshots are stopped, the electronic device can receive a selection instruction in response to the user clicking on the thumbnail of the target screenshot image on the screen displaying the thumbnails of the screenshot images. Accordingly, the electronic device can respond to the selection instruction and save the target screenshot image, and automatically delete the remaining other screenshot images.

[0128] It should be noted that in an embodiment of the present application, after the electronic device receives a user's selection instruction for a thumbnail of a target screenshot image, it can first respond to the selection instruction to jump to the editing mode of the target screenshot image, and perform pre-processing operations on the target screenshot image in the editing mode, such as reducing the resolution, cropping, or mosaic or adding text, to obtain the edited target screenshot image, and then save the target screenshot image.

[0129] In another embodiment, when the thumbnail display is in the screen in the picture editing mode that jumps directly to when the continuous screenshot stops, the electronic device can respond to the user's click operation on the thumbnail of the target screenshot image, receive a selection instruction, and can first respond to the selection instruction to start the editing process of the target screenshot image, perform preprocessing operations, such as resolution reduction, cropping, or mosaic or text addition, and then obtain the edited target screenshot image, and then save the target screenshot image.

[0130] The remaining screenshot images are not edited and cannot be edited, and are automatically deleted when the target screenshot image is saved.

[0131] The embodiment of the present application proposes a screenshot method, which can display thumbnails of each screenshot image obtained, and then accurately select and save the screenshot image required by the user from the thumbnails.

[0132] The connected screenshot mode in the embodiment of the present application is different from the long screenshot which requires the screenshot images obtained multiple times to be stitched together to form a long screenshot image for storage. Instead, after multiple screenshot images are obtained through multiple screenshots, multiple screenshot images are displayed at one time to prompt the user to determine the final target screenshot image for storage.

[0133] Based on the above embodiments, in one embodiment of the present application, Fig. 9 A schematic diagram of the structure of the electronic device proposed in the embodiment of the present application Figure 1 ,like Fig. 9 As shown, the electronic device 10 includes:

[0134] A first acquisition unit 11 is used to obtain a screenshot instruction;

[0135] A second acquisition unit 12 is used to respond to the screenshot instruction and continuously obtain at least two screenshot images;

[0136] A display unit 13, used to display thumbnails of each screenshot image;

[0137] The saving unit 14 is used to select and save a target screenshot image from the thumbnails of the screenshot images.

[0138] In some embodiments, the electronic device 10 further includes:

[0139] A detection unit 15, used to detect the current running scene;

[0140] The first acquisition unit 11 is specifically used to enable the screenshot function and acquire the screenshot instruction if the current running scene meets the preset continuous screenshot condition and the control operation obtained on the display interface is the first operation matching the preset screenshot trigger condition.

[0141] In some embodiments,

[0142] The first acquisition unit 11 is further configured to continuously acquire the screenshot instruction in response to continuously acquiring the first operation on the display interface.

[0143] The second acquisition unit 12 is further used to continuously respond to the screenshot instruction, perform continuous screenshot processing on the display interface, and obtain the at least two screenshot images.

[0144] In some embodiments, the electronic device 10 further includes:

[0145] A closing unit 16 is configured to close the screen capture function in response to obtaining a second operation on the display interface; wherein the second operation is different from the first operation.

[0146] The display unit 13 is specifically configured to display thumbnails of the screenshot images on the display interface.

[0147] In some embodiments, the second acquisition unit 12 is specifically used to determine the screenshot mode according to the screenshot instruction; and if the screenshot mode is a continuous screenshot mode, the display interface is continuously screenshotted within a preset time length corresponding to the screenshot mode to obtain the at least two screenshot images.

[0148] In some embodiments, the second acquisition unit 12 is further specifically used to capture the image display parameters of the current frame in the display interface in real time; and when the image display parameters of the current frame are different from the image display parameters of the previous frame, the display interface is screenshoted to obtain the at least two screenshot images.

[0149] In some embodiments, the saving unit 14 is specifically configured to receive a selection instruction; and in response to the selection instruction, determine a target thumbnail from the thumbnails of the screenshot images and save it as the target screenshot image.

[0150] In the embodiments of the present application, further, Fig.10 Schematic diagram of the composition structure of the electronic device proposed in this application Figure 2 ,like Fig.10 As shown, the electronic device 10 proposed in the embodiment of the present application may also include a processor 17 and a memory 18 storing executable instructions of the processor 17. Further, the electronic device 10 may also include a communication interface 19 and a bus 110 for connecting the processor 17, the memory 18 and the communication interface 19.

[0151] In the embodiment of the present application, the processor 17 can be at least one of an application-specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a central processing unit (CPU), a controller, a microcontroller, and a microprocessor. It can be understood that for different devices, the electronic device used to implement the above-mentioned processor function can also be other, and the embodiment of the present application is not specifically limited. The electronic device 10 can also include a memory 18, which can be connected to the processor 17, wherein the memory 18 is used to store executable program code, the program code includes computer operation instructions, and the memory 18 may include a high-speed RAM memory, and may also include a non-volatile memory, for example, at least two disk memories.

[0152] In the embodiment of the present application, the bus 110 is used to connect the communication interface 19, the processor 17 and the memory 18, and the mutual communication between these devices.

[0153] In the embodiment of the present application, the memory 18 is used to store instructions and data.

[0154] Furthermore, in an embodiment of the present application, the processor 17 is used to obtain a screenshot instruction; in response to the screenshot instruction, continuously obtain at least two screenshot images; display thumbnails of each screenshot image; and select and save a target screenshot image from the thumbnails of each screenshot image.

[0155] In practical applications, the memory 18 may be a volatile memory, such as a random access memory (RAM); or a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk (HDD) or a solid-state drive (SSD); or a combination of the above types of memory, and provide instructions and data to the processor 17.

[0156] In addition, each functional module in this embodiment can be integrated into a recommended unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above integrated unit can be implemented in the form of hardware or software functional modules.

[0157] If the integrated unit is implemented in the form of a software function module and is not sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the method of this embodiment S. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.

[0158] The embodiment of the present application provides an electronic device, which obtains a screenshot instruction; responds to the screenshot instruction, continuously obtains at least two screenshot images; displays thumbnails of each screenshot image; and selects and saves a target screenshot image from the thumbnails of each screenshot image. In this way, after the continuous capture of the screen image is realized based on the continuous screenshot processing, the thumbnails of each screenshot image obtained can be displayed, thereby realizing accurate selection and saving of the screenshot image required by the user from each displayed thumbnail.

[0159] An embodiment of the present application provides a computer-readable storage medium on which a program is stored. When the program is executed by a processor, the screenshot method as described above is implemented.

[0160] Specifically, the program instructions corresponding to a screenshot method in this embodiment can be stored in a storage medium such as a CD, a hard disk, a USB flash drive, etc. When the program instructions corresponding to a screenshot method in the storage medium are read or executed by an electronic device, the following steps are included:

[0161] Get screenshot instructions;

[0162] In response to the screenshot instruction, continuously obtaining at least two screenshot images;

[0163] Display thumbnails of each screenshot image;

[0164] A target screenshot image is selected from the thumbnails of the screenshot images and saved.

[0165] Accordingly, an embodiment of the present application further provides a computer program product, which includes computer executable instructions, and the computer executable instructions are used to implement the steps in the three-dimensional bounding box identification method provided in the embodiment of the present application.

[0166] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of hardware embodiments, software embodiments, or embodiments in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.

[0167] The present application is described with reference to implementation flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0168] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which is implemented in the implementation flow diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0169] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operation steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing the steps in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0170] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.

Claims

1. A screenshot method, characterized in that: The method comprises: Get screenshot instructions; Responding to the screenshot instruction; If the current running scene meets the continuous screenshot condition, continuously obtain at least two screenshot images; display thumbnails of each screenshot image; select and save a target screenshot image from the thumbnails of each screenshot image; If the current running scene does not meet the continuous screenshot condition, obtaining a screenshot image; and displaying a thumbnail of the screenshot image; The input operation for triggering the screenshot instruction is an input operation for obtaining the one screenshot image.

2. The method according to claim 1, characterized in that The method further comprises: Detecting the current running scenario; The continuously obtaining at least two screenshot images comprises: If the current running scene meets the preset continuous screenshot condition, when the control operation obtained on the display interface is the first operation matching the preset screenshot trigger condition, the screenshot function is enabled to obtain at least two screenshot images continuously.

3. The method according to claim 2, characterized in that The method further comprises: In response to continuously obtaining the first operation on the display interface, continuously obtaining the screenshot instruction; The continuously obtaining at least two screenshot images comprises: Continuously respond to the screenshot instruction, perform continuous screenshot processing on the display interface, and obtain the at least two screenshot images.

4. The method according to claim 3, characterized in that The method further comprises: In response to obtaining a second operation on the display interface, the screenshot function is turned off, and thumbnails of the screenshot images are displayed on the display interface; wherein the second operation is different from the first operation.

5. The method according to claim 2, characterized in that: The continuously obtaining at least two screenshot images comprises: Determine the screenshot mode according to the screenshot instruction; If the screenshot mode is a continuous screenshot mode, the display interface is continuously screenshoted within a preset time period corresponding to the screenshot mode to obtain the at least two screenshot images.

6. The method according to claim 4 or 5, characterized in that: The continuously obtaining at least two screenshot images comprises: Capturing the image display parameters of the current frame in the display interface in real time; When the image display parameters of the current frame are different from the image display parameters of the previous frame, a screenshot process is performed on the display interface to obtain the at least two screenshot images.

7. The method according to claim 1, characterized in that The step of selecting and saving a target screenshot image from the thumbnails of the screenshot images comprises: receiving a selection instruction; In response to the selection instruction, a target thumbnail is determined from the thumbnails of the screenshot images and saved as the target screenshot image.

8. An electronic device, characterized in that: The electronic device comprises: Display screen; A processor, the processor is used to obtain a screenshot instruction; in response to the screenshot instruction, if the current running scene meets the continuous screenshot condition, continuously obtain at least two screenshot images; display thumbnails of each screenshot image; select and save a target screenshot image from the thumbnails of each screenshot image; if the current running scene does not meet the continuous screenshot condition, obtain a screenshot image; display a thumbnail of the screenshot image; wherein the input operation that triggers the screenshot instruction is the input operation of obtaining the screenshot image.

9. An electronic device, characterized in that: The electronic device comprises: A first acquisition unit is used to obtain a screenshot instruction; wherein the input operation that triggers the screenshot instruction is an input operation of obtaining a screenshot image; A second acquisition unit is used to respond to the screenshot instruction and continuously obtain at least two screenshot images if the current running scene meets the continuous screenshot condition; A display unit, used to display thumbnails of each screenshot image; A selection unit, used for selecting and saving a target screenshot image from the thumbnails of the screenshot images; The second acquisition unit is further configured to obtain a screenshot image if the current running scene does not meet the continuous screenshot condition; The display unit is also used to display a thumbnail of the screenshot image.

10. A computer-readable storage medium having a program stored thereon, applied to an electronic device, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • A screen capture method and a terminal

    CN109597556A