CN113641286A - Screen capturing method, electronic equipment and computer storage medium - Google Patents

Screen capturing method, electronic equipment and computer storage medium Download PDF

Info

Publication number
CN113641286A
CN113641286A CN202110875158.3A CN202110875158A CN113641286A CN 113641286 A CN113641286 A CN 113641286A CN 202110875158 A CN202110875158 A CN 202110875158A CN 113641286 A CN113641286 A CN 113641286A
Authority
CN
China
Prior art keywords
screen
screen capture
images
instruction
capturing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110875158.3A
Other languages
Chinese (zh)
Inventor
高澍
张亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202110875158.3A priority Critical patent/CN113641286A/en
Publication of CN113641286A publication Critical patent/CN113641286A/en
Pending legal-status Critical Current

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
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

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

Abstract

The embodiment of the application discloses a screen capture method, which comprises the following steps: acquiring a screen capturing instruction; responding to a screen capture instruction, and continuously obtaining at least two screen capture images; displaying thumbnails of the screenshot images; and selecting and saving the target screenshot image from the thumbnail of each screenshot image. Meanwhile, an electronic device and a computer storage medium are also provided.

Description

Screen capturing method, electronic equipment and computer storage medium
Technical Field
The present application relates to the field of terminals, and in particular, to a screen capture method, an electronic device, and a computer storage medium.
Background
At present, people usually retain or transmit some important information through screen capture of a terminal screen. In a traditional screen capture mode, a screen capture function of a terminal is generally started through a combined key of the terminal, and a screen picture at the current moment is generally captured.
However, in some special cases, a user needs to capture a screen picture of an emergency, for example, we want to capture a picture of toast, because toast pop-up is a dynamic process, it is difficult to accurately capture an accurate optimal screen capture time based on a conventional screen capture mode, and therefore it is difficult to capture the screen picture needed by the user.
Disclosure of Invention
To solve the foregoing technical problems, embodiments of the present application are directed to providing a screen capture method, an electronic device, and a computer storage medium.
The technical scheme of the application is realized as follows:
the embodiment of the application provides a screen capture method, which comprises the following steps:
acquiring a screen capturing instruction;
responding to a screen capture instruction, and continuously obtaining at least two screen capture images;
displaying thumbnails of the screenshot images;
and selecting and saving the target screenshot image from the thumbnail of each screenshot image.
An embodiment of the present application provides an electronic device, which includes:
the acquisition unit is used for acquiring a screen capture instruction;
the response unit is used for responding to the screen capturing instruction and continuously obtaining at least two screen capturing images;
the display unit is used for displaying the thumbnails of the screenshot images;
and the selection unit is used for selecting and saving the target screen capture image from the thumbnail of each screen capture image.
An embodiment of the present application provides an electronic device, which includes:
a display screen;
a processor to obtain a screen capture instruction; responding to the screen capturing instruction, and continuously obtaining at least two screen capturing images; displaying thumbnails of the screenshot images; and selecting and saving the target screen capture image from the thumbnail of each screen capture image.
An embodiment of the present application provides a computer-readable storage medium, which stores a program, and when the program is executed by a processor, the program implements the screen capture method as described above.
The screen capturing method provided by the embodiment of the application obtains the screen capturing instruction; responding to a screen capture instruction, and continuously obtaining at least two screen capture images; displaying thumbnails of the screenshot images; and selecting and saving the target screen capture image from the thumbnail of each screen capture image. Therefore, after the continuous screen capture of the screen image is realized based on the continuous screen capture processing, the obtained thumbnails of the screen capture images can be displayed, and the screen capture images required by the user can be accurately selected and stored from the displayed thumbnails.
Drawings
FIG. 1 is a diagram of a Toast message scenario;
fig. 2 is a first schematic flow chart illustrating an implementation of a screen capture method according to an embodiment of the present application;
FIG. 3 is a schematic view of a display scene of a thumbnail of a screenshot image provided in an embodiment of the present application;
FIG. 4 is a schematic view of a scene in which a screenshot image is selected to be saved according to an embodiment of the present application;
fig. 5 is a schematic flow chart illustrating an implementation process of a screen capturing method according to an embodiment of the present application;
fig. 6 is a schematic flow chart illustrating an implementation of a screen capture method according to an embodiment of the present application;
fig. 7 is a schematic flow chart illustrating an implementation of a screen capture method according to an embodiment of the present application;
fig. 8 is a schematic flow chart of an implementation of the screen capturing method provided in the embodiment of the present application;
fig. 9 is a first schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objectives, technical solutions and advantages of the present application clearer, the present application will be described in further detail with reference to the attached drawings, the described embodiments should not be considered as limiting the present application, and all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is 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.
In the following description, references to the terms "first \ second \ third" are only to distinguish similar objects and do not denote a particular order, but rather the terms "first \ second \ third" are used to interchange specific orders or sequences, where appropriate, so as to enable the embodiments of the application described herein to be practiced in other than the order shown or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the application.
Before further detailed description of the embodiments of the present application, terms and expressions referred to in the embodiments of the present application will be described, and the terms and expressions referred to in the embodiments of the present application will be used for the following explanation.
1) Toast popup: also known as dialog boxes, are one of the common ways that APPs interact with users. Toast in Android is a simple message prompt box, which pops up a small message as a reminder and message feedback, and is generally used for displaying an operation result or changing an application state. Wherein, the time displayed by Toast is limited, and the Toast will disappear automatically after a certain time, such as a few seconds.
As shown in fig. 1, when the device performs APP registration in response to user operation, there are many items of content that need to be filled, such as name, certificate type, certificate number, mobile phone number, and the like, and if one item of the certificate number in the appearing item is not filled, the system pops up a Toast message whose content is "certificate number cannot be empty" to remind the user and disappear quickly and automatically.
At present, with the function of electronic equipment being rich, many electronic equipment have a screen capture function, and people can capture a screen of a terminal through the screen capture function to retain or transmit some important information. In a traditional screen capture mode, a terminal responds to a user to start an operation of a peripheral combination key or a screen capture key on a screen to enable a screen capture function of the terminal, and a screen picture at the current moment is captured usually.
However, in some special cases, the terminal needs to capture an image of a sudden event, i.e., a flash-type or fast-changing screen display content, for example, a shot that flashes in a fast-playing video, a toast message that pops out for 500ms and disappears, and the like.
In view of the above, how to accurately capture the screen image required by the user is the content to be discussed in the embodiments of the present application, the following embodiments will be described below.
The embodiment of the application provides a screen capturing method, electronic equipment and a computer storage medium, wherein a screen capturing instruction is obtained; responding to a screen capture instruction, and continuously obtaining at least two screen capture images; displaying thumbnails of the screenshot images; and selecting and saving the target screen capture image from the thumbnail of each screen capture image. Therefore, the method and the device can not only realize continuous screen capture of the screen image based on continuous screen capture processing, but also display the obtained thumbnails of all screen capture images, and further realize accurate selection from the thumbnails and save the screen capture images required by the user.
The screen capture method provided by the embodiment of the application is applied to electronic equipment. An 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 may be implemented as a Mobile phone, a notebook computer, a tablet computer, a desktop computer, a smart television, a vehicle-mounted device, a wearable device, and other Mobile Internet Devices (MID), and the embodiment of the present application is not limited thereto. The electronic equipment is provided with a display screen for displaying the content visually.
In the following, the technical solutions in the embodiments of the present application will be clearly and completely described with reference to the drawings in the embodiments of the present application.
An embodiment of the present application provides a screen capture method, and fig. 2 is a schematic implementation flow diagram of the screen capture method provided in the embodiment of the present application, as shown in fig. 2, in the embodiment of the present application, a method for performing generation of a three-dimensional bounding box identifier may include the following steps:
and S101, acquiring a screen capture instruction.
In the embodiment of the application, the electronic device can respond to a specific trigger operation to acquire the screen capture instruction.
It should be noted that, in the embodiment of the present application, the electronic device may acquire the screen capture instruction based on an operation object of the electronic device, in other words, a user of the electronic device performs a specific trigger operation.
The electronic device may set a physical key, such as a single screen capture key or a combination key, for triggering the screen capture, so that the screen capture instruction may be received in response to the pressing operation of the physical key by the user.
The electronic equipment can collect a specific gesture action executed by a user on the display interface, so that a screen capture instruction is received in response to the specific gesture action.
On the other hand, the electronic device may also receive a screen capture instruction in response to other operations performed by the user, such as voice operations and the like.
It should be noted that, in the embodiment of the present application, the screen capture instruction may be a continuous screen capture instruction or an ordinary single screen capture instruction.
It can be understood that, in order to avoid false triggering operation, one or more operation information corresponding to a first operation meeting a screen capture trigger condition may be preconfigured, when a control operation of a user for an electronic device is obtained, the control operation may be compared with operation information of the first operation meeting the screen capture trigger condition, if the control operation information is the same as the operation information of the first operation, it is determined that the control operation meets the preset screen capture trigger condition, and the electronic device may obtain a screen capture instruction in response to the control operation executed by the user; otherwise, the operation is other operations or misoperation.
Here, the operation information may include an operation type and an operation event; the operation type can be a pressing operation, a voice operation or a gesture operation, and the operation event can comprise a pressing parameter, voice content and gesture content.
S102, responding to the screen capturing instruction, and continuously obtaining at least two screen capturing images.
In an embodiment of the application, after the screen capture instruction is acquired, the electronic device may respond to the screen capture instruction to continuously acquire a plurality of screen capture images.
Optionally, in an embodiment of the present application, the screen capture instruction may be a continuous screen capture instruction obtained by an operation object of the electronic device performing a specific trigger operation; or the operation object of the electronic device may continuously execute a specific trigger operation, for example, a single screen capture instruction continuously acquired by a user pressing a screen capture physical key for a long time.
When a continuous screen capture instruction is acquired by responding to an operation object of the electronic equipment to execute a specific trigger operation, the electronic equipment can respond to the continuous screen capture instruction to perform continuous screen capture processing on a current display interface, and then continuously acquire a plurality of screen capture images.
When the operation object of the electronic equipment continuously executes the specific trigger operation, and thus a single screen capture instruction is continuously acquired, the electronic equipment can continuously respond to the acquired screen capture instruction, continuously perform screen capture processing on the current display interface, and further continuously acquire a plurality of screen capture images.
Here, the current display interface is the current screen display content of the electronic device, and the screen display content is not specifically limited in the present application and may be the screen display content in any operating scene.
It should be noted that during the continuous screen capture process, the screen display content of the electronic device is updated over time. Therefore, the continuous screen capture process is a screen capture process of screen display contents updated with the lapse of time.
Here, in order to avoid omission of the screen display contents of the electronic device at the time of screen capturing, the screen capturing frequency of continuously capturing the screen display contents of the electronic device may be greater than or equal to the frame frequency displayed when the electronic device is normally operated, in other words, the time interval of continuous screen capturing may be less than or equal to the display image frame interval.
It should be understood that the main chip in the electronic device may send image data to be displayed on the screen to the display card in the electronic device, and the display card refreshes the display parameters of the screen according to the frame frequency, so as to perform image visualization display on the screen in a dynamic or static manner. Here, when the screen capture instruction is acquired, we can respond to the screen capture instruction to directly read the image data displayed on the screen from the interface of the display card, which is equivalent to screen capture processing on the display content of the screen.
And S103, displaying the thumbnail of each screen capture image.
In the embodiment of the application, the electronic device responds to the screen capture instruction, and after a plurality of screen capture images are obtained continuously, the thumbnail of each screen capture image can be displayed.
Here, the thumbnail of each screen shot image is displayed as an independent image, and correspondingly, the thumbnails of the plurality of screen shot images are displayed as a plurality of independent images.
In some embodiments, after completing the continuous screen capture of the screen display content, the obtained thumbnails of the plurality of screen capture images may be directly presented on the screen of the electronic device, wherein the thumbnail of each of the plurality of screen capture images may be presented on the screen.
In other embodiments, the electronic device may trigger a transition to a picture editing mode in which a thumbnail of each of the plurality of screen capture images is displayed on the screen after completing the continuous screen capture of the screen display content.
Optionally, in an embodiment of the present application, the thumbnail of each screenshot image may be displayed according to a preset display rule. For example, the thumbnails of each screenshot image are sequentially displayed one by one in a front-to-back longitudinal arrangement manner according to the corresponding screenshot time, or the thumbnails of each screenshot image are sequentially displayed one by one in a front-to-back transverse arrangement manner according to the corresponding screenshot time, which is not specifically limited in this application.
Illustratively, as shown in fig. 3, the thumbnails are presented in a vertical arrangement according to the chronological order of the screen capture.
And S104, selecting and saving the target screen capture image from the thumbnail of each screen capture image.
In the embodiment of the application, after the electronic device displays the thumbnail of each screenshot image, the target screenshot image can be selected from the thumbnails of the screenshot images and saved.
Specifically, in the embodiment of the application, the electronic device may execute a specific selection operation based on an operation object of the electronic device to obtain the selection instruction.
In one embodiment, the electronic device may receive a selection instruction in response to a press-and-click operation by a user on a thumbnail of a target screenshot image in a screen showing thumbnails of the screenshot images. Correspondingly, the electronic equipment can respond to the selection instruction, store the target screen capture image, and automatically delete the rest other screen capture images.
For example, as shown in fig. 4, the electronic device may receive a selection instruction based on a click operation of a user on any thumbnail and save a corresponding screenshot image.
In another embodiment, if all current screen shots need to be saved, the electronic device does not need to acquire any operation performed by the user. In other words, in the screen displaying the thumbnail of each screenshot image, if the electronic device does not acquire any operation of the user within a preset time period, the electronic device may automatically save all the screenshot images, in other words, the target screenshot image is the acquired all the screenshot images.
Or, if no screenshot image required by the user exists in all current screenshot images, the user may not need to perform any operation, that is, in a screen displaying thumbnails of the screenshot images, if the electronic device does not acquire any operation of the user within a preset time period, the electronic device automatically deletes all the screenshot images.
It should be noted that, in the embodiment of the present application, before the electronic device saves the target screenshot image, the electronic device may save the target screenshot image after editing the target screenshot image in the picture editing mode, or may save the target screenshot image directly without editing.
The application provides a screen capture method, which comprises the steps of obtaining a screen capture instruction; responding to a screen capture instruction, and continuously obtaining at least two screen capture images; displaying thumbnails of the screenshot images; and selecting and saving the target screen capture image from the thumbnail of each screen capture image. Therefore, after the continuous screen capture of the screen image is realized based on the continuous screen capture processing, the obtained thumbnails of the screen capture images can be displayed, and the screen capture images required by the user can be accurately selected and stored from the displayed thumbnails.
Based on the foregoing embodiment, in yet another embodiment of the present application, fig. 5 is a schematic view of an implementation flow chart of a screen capturing method provided in the embodiment of the present application, and as shown in fig. 5, the method for the electronic device to capture a screen includes the following steps:
s201, detecting a current operation scene.
S202, if the current running scene meets the preset continuous screen capture condition, enabling the continuous screen capture function when the control operation obtained on the display interface is the first operation matched with the preset screen capture trigger condition, and obtaining a screen capture instruction.
In the embodiment of the application, the current operation scene of the electronic equipment can be detected.
It can be understood that, when the electronic device is in a specific operating scenario, a scenario of the pop-up Toast message, such as a login or registration scenario of the APP, may generally require a continuous screen capture operation on the pop-up Toast message. Or, the video or animation performs display output or projects a scene of screen output. Therefore, in the embodiment of the present application, the terminal may be preconfigured with a plurality of specific operation scenarios that support the continuous screen capture operation. Accordingly, the continuous screen capture function can be disabled only in the specific operation scene supporting the continuous screen capture operation.
Specifically, in the embodiment of the application, the electronic device may detect the current running scene, and if the current running scene is any one of multiple preset specific running scenes supporting continuous screen capturing operation, it may be determined that the current running scene meets the preset continuous screen capturing condition, and then when the received control operation is matched with the first operation of the preset screen capturing trigger condition, the continuous screen capturing function is enabled. And when the current running scene does not meet the preset continuous screen capture condition, only enabling the common screen capture mode when receiving the screen capture instruction operation.
Specifically, in the embodiment of the application, parameters related to the current screen display content of the electronic device, such as a currently running application, interface display data, and the like, may be obtained in real time, and then an operation scene where the electronic device is currently located may be determined in real time based on the related parameters.
Further, if it is determined that the current running scene meets the preset continuous screen capture condition, it is determined that the current running scene supports continuous screen capture operation, and after the screen capture function is enabled, the operation can be responded when the specific trigger operation that the user meets the preset screen capture trigger condition is obtained, so that a screen capture instruction is obtained.
S203, responding to the first operation continuously obtained on the display interface, and continuously obtaining the screen capture instruction.
It can be understood that, in the normal screen capture mode, no matter the short-time pressing of the screen capture combination key or the long-time pressing of the combination key, a screen capture instruction is acquired in response to a specific trigger operation, and a screen capture operation is executed.
In the embodiment of the application, under the condition that it is determined that the current running scene supports continuous screen capturing operations, if a specific trigger operation meeting a preset screen capturing trigger condition is continuously acquired, for example, a user presses a screen capturing combination key for a long time or presses a screen capturing button in a display interface for a long time, the electronic device may continuously acquire multiple screen capturing instructions in response to the operation. And the multiple screen capture instruction is used for carrying out multiple continuous screen capture processing on the current display interface.
And S204, continuously responding to the screen capturing instruction, and continuously capturing the screen of the display interface to obtain at least two screen capturing images.
Specifically, in the embodiment of the application, in response to continuously obtaining the first operation on the display interface, the electronic device may enter a continuous screen capture mode, continuously respond to the screen capture instruction, and continuously perform screen capture processing on the current display interface, so as to continuously obtain multiple screen capture images.
Here, when the screen capture command is continuously acquired, once the screen capture command is received, image data displayed on the current screen is read from the video card interface, which is equivalent to continuously capturing the display content of the screen.
It should be noted that during the continuous screen capture process, the screen display content of the electronic device is updated over time.
S205, responding to the second operation obtained on the display interface, closing the screen capture function, and displaying the thumbnail of each screen capture image on the display interface; wherein the second operation is different from the first operation.
And S206, selecting and saving the target screen capture image from the thumbnail of each screen capture image.
In an embodiment of the application, during the process of continuously detecting the first operation to continuously perform the continuous screen capturing process on the display content of the screen, once a second operation different from the first operation meeting the preset screen capturing condition is detected, such as the user releases the pressed screen capturing combination key with a hand or releases the screen capturing key pressed in the display screen, the electronic device may close the screen capturing function in response to the second operation, and stop the screen capturing process on the display content of the current screen.
It should be noted that once the electronic device stops the screen capture process, the electronic device may display the thumbnails of all screen capture images obtained in this continuous screen capture process stage in the current screen, or jump to the picture editing mode and display in the screen in the picture editing mode.
The thumbnail of each screen capture image is displayed as an independent image, and the thumbnails of a plurality of screen capture images are correspondingly displayed as a plurality of independent images. In other words, several screen capture images are acquired, and thumbnails of the several screen capture images can be displayed in the current display interface while the screen capture process is stopped.
It should be understood that during the continuous screen capture process, the screen display content of the electronic device is updated over time, and the resulting captured image changes over time.
Further, in the embodiment of the application, after the electronic device displays the thumbnail of each screenshot image, the electronic device may receive a selection instruction in response to a specific selection operation, such as a click operation, of the user on the thumbnail of the target screenshot image in the screen displaying the thumbnail of each screenshot image. Correspondingly, the electronic equipment can respond to the selection instruction to store the target screen capture image, and the rest other screen capture images are automatically deleted.
In another embodiment, it should be understood that the current operating scene is an operating scene satisfying a preset continuous screen capture condition, and if the electronic device does not acquire any operation of the user within a preset time length in a screen displaying thumbnails of the screen capture images, it indicates that no user needs to be in the currently acquired screen capture images, and the electronic device may automatically delete all screen capture images.
Therefore, in the embodiment of the application, the electronic device can detect the current running scene, continuously obtain the screen capture instruction in response to the continuously obtained first operation under the condition that the current running scene supports the continuous screen capture function, continuously respond to the screen capture instruction to continuously capture the screen and the display content, and further obtain a plurality of screen capture images; and when a second operation different from the first operation is detected, stopping the continuous screen capture processing, displaying the obtained thumbnails of the screen capture images in the screen, and accurately selecting and saving the screen capture images required by the user from the thumbnails.
Based on the foregoing embodiment, in yet another embodiment of the present application, fig. 6 is a schematic flow chart of an implementation of a screen capturing method provided in the embodiment of the present application, and as shown in fig. 6, the method for the electronic device to capture a screen includes the following steps:
s301, acquiring a screen capture instruction.
And S302, determining a screen capturing mode according to the screen capturing instruction.
S303, if the screen capture mode is the continuous screen capture mode, continuous screen capture processing is carried out on the display interface within a preset time length corresponding to the screen capture mode, and at least two screen capture images are obtained.
In the embodiment of the application, different screen capturing instructions correspond to different screen capturing modes, and the electronic device can acquire the screen capturing instructions corresponding to the different screen capturing modes in response to different specific trigger operations executed by a user.
For example, the electronic device determines that a screen capture mode corresponding to a single-finger-joint double-click screen operation of the user acquired in the display interface is a common screen capture mode, and determines that a screen capture mode corresponding to a double-finger-joint double-click screen operation of the user acquired in the display interface is a continuous screen capture mode; or determining that the screen capture mode corresponding to the single finger of the user for drawing the C graph is the common screen capture mode and the screen capture mode corresponding to the S graph is the continuous screen capture mode.
The screen capture mode can comprise a common screen capture mode and a continuous screen capture mode, wherein the common screen capture mode is that only one screen picture at the current moment can be captured in response to screen capture operation; the continuous screen capture mode is to respond to screen capture operation, and can perform continuous screen capture processing to continuously acquire a plurality of screen pictures.
Specifically, in the embodiment of the application, after the electronic device acquires the screen capturing instruction in response to the specific trigger operation of the user, it needs to further determine whether the screen capturing mode corresponding to the screen capturing instruction is the normal screen capturing mode or the continuous screen capturing mode.
It should be understood that the electronic device may preset a time length of the continuous screen capturing, for example, the continuous screen capturing time length is 3 seconds, and if it is determined that the current screen capturing instruction corresponds to the continuous screen capturing mode, the electronic device may determine a preset screen capturing time length corresponding to the continuous screen capturing mode, and then perform continuous screen capturing on the screen content that changes according to time lapse within the preset time length, so as to obtain multiple screen capturing images.
Here, when the screen capture instruction is acquired and it is determined that the screen capture instruction corresponds to the continuous screen capture mode, the electronic device may continuously read image data displayed on the screen from the video card interface multiple times, which is equivalent to continuously capturing the display content of the screen.
In some embodiments, the electronic device may detect a current operating scene, and when the screen capture instruction is acquired, may determine the screen capture mode in combination with the current operating scene and the screen capture instruction. For example, in a common operation scene, for example, a chat interface of WeChat or web browsing, the screen capture mode corresponding to the single-user-finger-drawing C graphic acquired by the electronic device on the display interface is a common screen capture mode, and in the operation scene of APP login or registration, the screen capture mode corresponding to the single-user-finger-drawing C graphic acquired by the electronic device on the display interface is a continuous screen capture mode.
Furthermore, the electronic device performs screen capture processing on the screen display content within a preset time length, after a plurality of screen capture images are obtained, thumbnails of the screen capture images can be displayed in the current screen, and a target screen capture image is determined and stored based on selection of a user.
Therefore, the screen capture method can respond to the acquired specific screen capture instruction to start the continuous screen capture mode so as to perform continuous screen capture processing on the screen display content, and further acquire a plurality of screen capture images. And displaying the obtained thumbnail of each screen capture image in a screen, and realizing accurate selection from the thumbnails and saving the screen capture images required by the user.
Based on the foregoing embodiment, in yet another embodiment of the present application, fig. 7 is a schematic flow chart of an implementation of a screen capture method provided in the embodiment of the present application, and as shown in fig. 7, a method for continuously obtaining at least two screen capture images by an electronic device in response to a screen capture instruction includes the following steps:
s401, capturing image display parameters of the current frame in the display interface in real time.
S402, when the image display parameters of the current frame are different from those of the previous frame, screen capture processing is carried out on the display interface to obtain at least two screen capture images.
It should be understood that in the embodiment of the present application, a part of the screenshot images obtained by the continuous screenshot process may exist, such multiple repeated still images are not significant, and in order to reduce the power consumption of the electronic device, the electronic device may perform the screenshot process only when the content displayed on the screen changes dynamically.
Specifically, in the embodiment of the application, the image data of the display content of the current screen may be obtained in real time according to a time lapse sequence, that is, the image display parameter of the current frame in the current screen may be captured at the interface of the display card in real time, and compared with the image display parameter of the adjacent previous frame or the image display parameter of the previous frame captured last time, and whether the screen capture process is currently performed is determined based on the comparison result.
If the comparison results are different, the representation screen display content is dynamically changed, and the electronic equipment automatically performs screen capture processing on the screen display content corresponding to the current frame; if the comparison result is the same, the screen display content is not dynamically changed, and the electronic equipment does not perform screen capture processing of the current screen display content.
It should be understood that, in order to avoid that the display content of the screen captured at a certain time is not clear enough, the electronic device may start at the initial time when the display content of the screen is determined to be changed, and continuously perform the screen capturing process for a preset number of times at a preset time interval, for example, capture 3 images each time the display content of the screen is determined to be changed. Therefore, each screen display content has a preset number of screen capture images, and a user can select the screen capture image with better definition when selecting a target screen capture image subsequently.
Based on the foregoing embodiment, in yet another embodiment of the present application, fig. 8 is a schematic flow chart of an implementation of a screen capture method provided in the embodiment of the present application, and as shown in fig. 8, a method for continuously obtaining at least two screen capture images by an electronic device in response to a screen capture instruction includes the following steps:
s501, receiving a selection instruction.
And S502, responding to the selection instruction, determining a target thumbnail from the thumbnails of all screen capturing images, and storing the target thumbnail as the target screen capturing image.
Specifically, in the embodiment of the application, the electronic device may execute a specific selection operation based on an operation object of the electronic device to obtain the selection instruction.
In an embodiment, the electronic device may receive a selection instruction in response to a user's click operation on a thumbnail of a target screenshot image in a screen on which thumbnails of the respective screenshot images are displayed while the thumbnails are displayed in a current screen at the continuous screenshot stop time. Correspondingly, the electronic equipment can respond to the selection instruction, store the target screen capture image, and automatically delete the rest other screen capture images.
It should be noted that, in the embodiment of the present application, after receiving a selection instruction of a user for a thumbnail of a target screenshot image, an electronic device may jump to an editing mode of the target screenshot image in response to the selection instruction, and perform a preprocessing operation on the target screenshot image in the editing mode, for example, an operation such as resolution reduction, clipping, or mosaic or text addition, to obtain the edited target screenshot image, and then store the target screenshot image.
In another embodiment, when the thumbnail is displayed in a screen in the picture editing mode to which the user directly jumps at the continuous screen capture stop time, the electronic device may respond to a click operation of the user on the thumbnail of the target screen capture image, receive a selection instruction, may respond to the selection instruction to start an editing process of the target screen capture image, perform a preprocessing operation, such as a resolution reduction operation, a clipping operation, or a mosaic operation or a text addition operation, to obtain the edited target screen capture image, and then save the target screen capture image.
And the rest other screen capture images are not edited and cannot be edited, and the target screen capture image is automatically deleted while being saved.
The embodiment of the application provides a screen capture method, which can display thumbnails of all acquired screen capture images, and further realize accurate selection from the thumbnails and storage of the screen capture images required by a user.
The connection screen capture mode in the embodiment of the application is different from the mode that the long screen capture needs to be spliced to form a long screen capture image for storage, but after the multiple screen capture images are obtained through multiple screen capture, the multiple screen capture images are displayed at one time to prompt a user to determine a final target screen capture image for storage.
Based on the foregoing embodiments, in an embodiment of the present application, fig. 9 is a first schematic structural diagram of an electronic device provided in the present application, and as shown in fig. 9, the electronic device 10 includes:
a first obtaining unit 11, configured to obtain a screen capture instruction;
the second acquiring unit 12 is configured to respond to the screen capturing instruction and continuously acquire at least two screen capturing images;
a display unit 13 configured to display thumbnails of the screen capture images;
a saving unit 14 configured to select and save a target screen capture image from the thumbnails of the screen capture images.
In some embodiments, the electronic device 10 further comprises:
a detection unit 15, configured to detect a current operation scene;
the first obtaining unit 11 is specifically configured to enable a screen capturing function and obtain the screen capturing instruction when the control operation obtained on the display interface is a first operation matched with a preset screen capturing trigger condition if the current operating scene meets a preset continuous screen capturing condition.
In some embodiments of the present invention, the,
the first obtaining unit 11 is further configured to continuously obtain the screen capture instruction in response to continuously obtaining the first operation on the display interface.
The second obtaining unit 12 is further configured to continuously respond to the screen capture instruction, and perform continuous screen capture processing on the display interface to obtain the at least two screen capture images.
In some embodiments, the electronic device 10 further comprises:
the closing unit 16 is used for responding to the second operation obtained on the display interface and closing the screen capture function; wherein the second operation is different from the first operation.
And the display unit 13 is specifically configured to display the thumbnail of each screenshot image on the display interface.
In some embodiments, the second obtaining unit 12 is specifically configured to determine a screen capture mode according to the screen capture instruction; and if the screen capture mode is a continuous screen capture mode, performing continuous screen capture processing on the display interface within a preset time length corresponding to the screen capture mode to obtain the at least two screen capture images.
In some embodiments, the second obtaining unit 12 is further specifically configured to capture, in real time, image display parameters of a current frame in the display interface; and when the image display parameters of the current frame are different from those of the previous frame, performing screen capture processing on the display interface to obtain the at least two screen capture images.
In some embodiments, the saving unit 14 is specifically configured to receive a selection instruction; and responding to the selection instruction, determining a target thumbnail from the thumbnails of all the screen capturing images and saving the target thumbnail as the target screen capturing image.
In an embodiment of the present application, further, fig. 10 is a schematic view of a composition structure of an electronic device provided in the present application, as shown in fig. 10, the electronic device 10 provided in the embodiment of the present application may further include a processor 17 and a memory 18 storing executable instructions of the processor 17, and further, the electronic device 10 may further include a communication interface 19, and a bus 110 for connecting the processor 17, the memory 18, and the communication interface 19.
In an embodiment of the present Application, the Processor 17 may 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 is understood that the electronic devices for implementing the above processor functions may be other devices, and the embodiments of the present application are not limited in particular. The electronic device 10 may further comprise a memory 18, which memory 18 may be connected to the processor 17, wherein the memory 18 is adapted to store executable program code comprising computer operating instructions, and wherein the memory 18 may comprise a high speed RAM memory and may further comprise a non-volatile memory, such as at least two disk memories.
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 intercommunication among these devices.
In an embodiment of the present application, the memory 18 is used for storing instructions and data.
Further, in the embodiment of the present application, the processor 17 is configured to obtain a screen capture instruction; responding to the screen capturing instruction, and continuously obtaining at least two screen capturing images; displaying thumbnails of the screenshot images; and selecting and saving the target screen capture image from the thumbnail of each screen capture image.
In practical applications, the Memory 18 may be a volatile Memory (volatile Memory), such as a Random-Access Memory (RAM); or a non-volatile Memory (non-volatile Memory), such as a Read-Only Memory (ROM), a flash Memory (flash Memory), a Hard Disk (Hard Disk Drive, HDD) or a Solid-State Drive (SSD); or a combination of the above types of memories and provides instructions and data to the processor 17.
In addition, each functional module in this embodiment may be integrated into one recommendation unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware or a form of a software functional module.
Based on the understanding that the technical solution of the present embodiment essentially or a part contributing 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 and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part S of the method of the present embodiment. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The embodiment of the application provides electronic equipment, which obtains a screen capture instruction; responding to a screen capture instruction, and continuously obtaining at least two screen capture images; displaying thumbnails of the screenshot images; and selecting and saving the target screen capture image from the thumbnail of each screen capture image. Therefore, after the continuous screen capture of the screen image is realized based on the continuous screen capture processing, the obtained thumbnails of the screen capture images can be displayed, and the screen capture images required by the user can be accurately selected and stored from the displayed thumbnails.
An embodiment of the present application provides a computer-readable storage medium, on which a program is stored, which when executed by a processor implements the screen capture method as described above.
Specifically, the program instructions corresponding to a screen capture method in the present embodiment may be stored on a storage medium such as an optical disc, a hard disc, a usb disk, or the like, and when the program instructions corresponding to a screen capture method in the storage medium are read or executed by an electronic device, the method includes the following steps:
acquiring a screen capturing instruction;
responding to the screen capturing instruction, and continuously obtaining at least two screen capturing images;
displaying thumbnails of the screenshot images;
and selecting and saving the target screen capture image from the thumbnail of each screen capture image.
Accordingly, an embodiment of the present application further provides a computer program product, where the computer program product 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.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of implementations of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart block or blocks and/or flowchart block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks in the flowchart and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present application, and is not intended to limit the scope of the present application.

Claims (10)

1. A method of screen capture, the method comprising:
acquiring a screen capturing instruction;
responding to the screen capturing instruction, and continuously obtaining at least two screen capturing images;
displaying thumbnails of the screenshot images;
and selecting and saving the target screen capture image from the thumbnail of each screen capture image.
2. The method of claim 1, further comprising:
detecting a current operation scene;
the acquiring of the screen capture instruction comprises:
and if the current operation scene meets the preset continuous screen capturing condition, enabling the screen capturing function and acquiring the screen capturing instruction when the control operation acquired by the display interface is the first operation matched with the preset screen capturing trigger condition.
3. The method of claim 2, further comprising:
responding to the first operation continuously obtained on the display interface, and continuously obtaining the screen capture instruction;
the response of the screen capture instruction continuously obtains at least two screen capture images, and the steps comprise:
and continuously responding to the screen capturing instruction, and continuously performing screen capturing processing on the display interface to obtain the at least two screen capturing images.
4. The method of claim 3, further comprising:
responding to a second operation obtained on the display interface, closing the screen capture function, and displaying the thumbnail of each screen capture image on the display interface; wherein the second operation is different from the first operation.
5. The method of claim 2, wherein obtaining at least two screenshot images in succession in response to the screenshot command comprises:
determining a screen capturing mode according to the screen capturing instruction;
and if the screen capture mode is a continuous screen capture mode, continuously capturing the screen of the display interface within a preset time length corresponding to the screen capture mode to obtain the at least two screen capture images.
6. The method according to claim 4 or 5, wherein the continuously obtaining at least two screen capture images in response to the screen capture instruction comprises:
capturing image display parameters of a current frame in the display interface in real time;
and when the image display parameters of the current frame are different from those of the previous frame, performing screen capture processing on the display interface to obtain the at least two screen capture images.
7. The method according to claim 1, wherein the selecting and saving a target screenshot image from the thumbnail images of the screenshot images comprises:
receiving a selection instruction;
and responding to the selection instruction, determining a target thumbnail from the thumbnails of all screen capturing images and saving the target thumbnail as the target screen capturing image.
8. An electronic device, characterized in that the electronic device comprises:
a display screen;
a processor to obtain a screen capture instruction; responding to the screen capturing instruction, and continuously obtaining at least two screen capturing images; displaying thumbnails of the screenshot images; and selecting and saving the target screen capture image from the thumbnail of each screen capture image.
9. An electronic device, characterized in that the electronic device comprises:
the first acquisition unit is used for acquiring a screen capture instruction;
the second acquisition unit is used for responding to the screen capturing instruction and continuously acquiring at least two screen capturing images;
the display unit is used for displaying the thumbnails of the screenshot images;
and the selection unit is used for selecting and saving the target screen capture image from the thumbnail of each screen capture image.
10. A computer-readable storage medium, on which a program is stored, for use in an electronic device, wherein the program, when executed by a processor, implements the method of any one of claims 1-7.
CN202110875158.3A 2021-07-30 2021-07-30 Screen capturing method, electronic equipment and computer storage medium Pending CN113641286A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110875158.3A CN113641286A (en) 2021-07-30 2021-07-30 Screen capturing method, electronic equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110875158.3A CN113641286A (en) 2021-07-30 2021-07-30 Screen capturing method, electronic equipment and computer storage medium

Publications (1)

Publication Number Publication Date
CN113641286A true CN113641286A (en) 2021-11-12

Family

ID=78419134

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110875158.3A Pending CN113641286A (en) 2021-07-30 2021-07-30 Screen capturing method, electronic equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN113641286A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115695937A (en) * 2022-10-26 2023-02-03 努比亚技术有限公司 Video-based screenshot jigsaw method, equipment and computer-readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109597556A (en) * 2018-12-12 2019-04-09 维沃移动通信有限公司 A kind of screenshotss method and terminal
CN113038218A (en) * 2021-03-19 2021-06-25 厦门理工学院 Video screenshot method, device, equipment and readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109597556A (en) * 2018-12-12 2019-04-09 维沃移动通信有限公司 A kind of screenshotss method and terminal
CN113038218A (en) * 2021-03-19 2021-06-25 厦门理工学院 Video screenshot method, device, equipment and readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115695937A (en) * 2022-10-26 2023-02-03 努比亚技术有限公司 Video-based screenshot jigsaw method, equipment and computer-readable storage medium

Similar Documents

Publication Publication Date Title
JP6363736B2 (en) Intelligent terminal control method
CN107797739B (en) Mobile terminal, display control method and device thereof, and computer-readable storage medium
CN107748615B (en) Screen control method and device, storage medium and electronic equipment
WO2014201832A1 (en) Page turning method, page turning apparatus and terminal as well as computer readable medium
CN112422817B (en) Image processing method and device
CN111770386A (en) Video processing method, video processing device and electronic equipment
CN105871696B (en) Information sending and receiving method and mobile terminal
CN113613054B (en) Information prompting method, device, electronic equipment and computer readable storage medium
CN112950738B (en) Rendering engine processing method and device, storage medium and electronic equipment
CN114153346A (en) Picture processing method and device, storage medium and electronic equipment
CN113641286A (en) Screen capturing method, electronic equipment and computer storage medium
CN110321042B (en) Interface information display method and device and electronic equipment
CN107291564B (en) Information copying and pasting method and device and electronic equipment
CN110798521B (en) File sharing method and device, electronic equipment and storage medium
CN106201467B (en) Screenshot labeling interface display method and device
CN112734661A (en) Image processing method and device
CN113312662B (en) Message processing method and device and electronic equipment
US11600300B2 (en) Method and device for generating dynamic image
CN105022737A (en) Microblog information display method and device
CN112130738A (en) Screenshot processing method and device, electronic equipment and storage medium
CN113726953B (en) Display content acquisition method and device
CN111273989A (en) Application program control method, device, terminal and storage medium
CN112214762A (en) Event information processing method and device and electronic equipment
CN116775191A (en) Information prompting method and device and electronic equipment
CN116074580A (en) Video processing method and device

Legal Events

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