CN111399735B - Screen capturing method, screen capturing device, electronic equipment and storage medium - Google Patents

Screen capturing method, screen capturing device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111399735B
CN111399735B CN202010298328.1A CN202010298328A CN111399735B CN 111399735 B CN111399735 B CN 111399735B CN 202010298328 A CN202010298328 A CN 202010298328A CN 111399735 B CN111399735 B CN 111399735B
Authority
CN
China
Prior art keywords
screen
screen capture
image
display
frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010298328.1A
Other languages
Chinese (zh)
Other versions
CN111399735A (en
Inventor
钟文杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202010298328.1A priority Critical patent/CN111399735B/en
Publication of CN111399735A publication Critical patent/CN111399735A/en
Application granted granted Critical
Publication of CN111399735B publication Critical patent/CN111399735B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Landscapes

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

Abstract

The embodiment of the application discloses a screen capture method, which comprises the following steps: obtaining a first operation; when the first operation is determined to be the target operation, screen capturing is carried out on display content in a display screen of the electronic equipment based on the first operation, and a frame of first image is obtained; when the first operation is determined to be continuously obtained, entering a continuous screen capture mode, and carrying out multiple screen capture on display contents in a display screen to obtain a multi-frame second image, wherein the second image is different from the first image; and obtaining a second operation different from the first operation, and exiting the continuous screen capture mode. The embodiment of the application also discloses a screen capture device, electronic equipment and a storage medium.

Description

Screen capturing method, screen capturing device, electronic equipment and storage medium
Technical Field
The present application relates to, but not limited to, the field of screen capture technologies, and in particular, to a screen capture method, a screen capture apparatus, an electronic device, and a storage medium.
Background
With the continuous abundance of functions of electronic devices, many electronic devices have a screen capture function. A user can capture a screen through a physical key of the electronic equipment; however, in the process of screen capture, the electronic device only supports capturing one frame of image, and cannot continuously capture multiple frames of images.
Disclosure of Invention
The embodiment of the application expects to provide a screenshot method, a screenshot device, electronic equipment and a storage medium, has solved in the correlation technique electronic equipment in the process of screenshot, only supports intercepting a frame of image, can't intercept the problem of multiframe image in succession, realizes in the in-process of screenshot, accurate control screenshot mode, ensures to intercept single frame image under the scene of instant screenshot, intercepts multiframe image under the mode of continuous screenshot, and then promotes user experience.
The technical scheme of the application is realized as follows:
a method of screen capture, the method comprising:
obtaining a first operation;
when the first operation is determined to be the target operation, screen capturing is carried out on display content in a display screen of the electronic equipment based on the first operation, and a frame of first image is obtained;
when the first operation is determined to be continuously obtained, entering a continuous screen capture mode, and carrying out multiple screen capture on the display content in the display screen to obtain a multi-frame second image, wherein the second image is different from the first image;
and obtaining a second operation different from the first operation, and exiting the continuous screen capture mode.
Optionally, the performing multiple screen shots on the display content in the display screen to obtain multiple frames of second images includes:
determining screen capture frequency corresponding to attribute information of display content in the display screen;
and performing screen capture on the display content in the display screen for multiple times based on the screen capture frequency to obtain multiple frames of the second image.
Optionally, the attribute information is used to characterize a correlation coefficient between a plurality of sub-display contents included in the display contents in the display screen; the variation direction of the correlation coefficient is the same as that of the screen capture frequency.
Optionally, the first operation is a pressing operation of a plurality of physical keys of the electronic device at the same time.
Optionally, the second operation is to perform an operation of stopping pressing on at least one of the plurality of physical keys at the same time.
Optionally, the method further includes:
and after entering the continuous screen capture mode, displaying prompt information on a status bar of the display screen, wherein the prompt information comprises screen capture prompt information.
Optionally, when it is determined that the first operation is the target operation, after the display content in the display screen of the electronic device is captured based on the first operation to obtain a frame of the first image, the method further includes:
and when the first operation is determined not to be continuously obtained, displaying a screen capture editing window, wherein the screen capture editing window is used for editing the first image, and the first image is displayed on the screen capture editing window.
Optionally, the method further includes:
after entering the continuous screen capture mode, obtaining a third operation;
changing the display content in the display screen at least based on the third operation in the process of continuous screen capture;
the plurality of frames of second images comprise at least one frame of third image and at least one frame of fourth image, the third image is from the display content in the display screen before the change, and the fourth image is from the display content in the display screen after the change.
A screen capture device, the screen capture device comprising:
an obtaining module for obtaining a first operation;
the first processing module is used for capturing the display content in the display screen of the electronic equipment based on the first operation to obtain a frame of first image when the first operation is determined to be the target operation;
the second processing module is used for entering a continuous screen capture mode when the first operation is determined to be continuously obtained, and performing multiple screen capture on the display content in the display screen to obtain a multi-frame second image, wherein the second image is different from the first image;
the obtaining module is further configured to obtain a second operation different from the first operation;
and the third processing module is used for exiting the continuous screen capture mode.
An electronic device, the electronic device comprising: a processor, a memory, and a communication bus;
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is used for executing the screen capture program stored in the memory so as to realize the steps of the screen capture method.
A storage medium storing one or more programs executable by one or more processors to perform the steps of the screen capturing method described above.
The screen capturing method, the screen capturing device, the electronic equipment and the storage medium provided by the embodiment of the application obtain a first operation; when the first operation is determined to be the target operation, screen capturing is carried out on display content in a display screen of the electronic equipment based on the first operation, and a frame of first image is obtained; when the first operation is determined to be continuously obtained, entering a continuous screen capture mode, and carrying out multiple screen capture on display contents in a display screen to obtain a multi-frame second image, wherein the second image is different from the first image; obtaining a second operation different from the first operation, and exiting the continuous screen capture mode; therefore, the problem that in the related art, electronic equipment only supports capturing one frame of image and cannot continuously capture multiple frames of images in the screen capturing process is solved, the screen capturing mode is accurately controlled in the screen capturing process, the single frame of image is captured in the instant screen capturing scene, multiple frames of images are captured in the continuous screen capturing mode, and user experience is improved.
Drawings
Fig. 1 is a schematic flowchart of a screen capture method provided in an embodiment of the present application;
FIG. 2 is a schematic flow chart diagram illustrating another screen capture method provided by an embodiment of the present application;
FIG. 3 is a schematic flow chart diagram illustrating another screen capturing method provided by an embodiment of the present application;
fig. 4 is a schematic structural diagram of a screen capture device provided in an embodiment of the present application;
fig. 5 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.
In the related art, the electronic device only supports capturing one frame of screen image, and cannot continuously capture multiple frames of images. For example, pressing the power key and the volume down key simultaneously can only capture one frame of screen image, and if a user wants to capture the display content of a flash type or a fast-changing type screen, for example, a certain interface will disappear immediately after popping out for 500ms in the using process, or the screen image will change once every 500ms, so that it is difficult to precisely capture the image of the target time point. This phenomenon is particularly obvious in development and debugging, for example, in the process of touch screen debugging, ghost points and skip points appear at times, and this special point only lasts for a short period of time, and when the user responds to the situation to perform instantaneous screen capture, the phenomenon is already disappeared, so that a lot of time is consumed to repeat the instantaneous screen capture operation to capture a live image. Therefore, in the process of screen capture, the electronic device only supports capturing one frame of image, and cannot continuously capture multiple frames of images.
An embodiment of the present application provides a screen capture method applied to an electronic device, and referring to fig. 1, the method includes the following steps:
step 101, a first operation is obtained.
In the embodiment of the present application, the electronic device may include a mobile terminal device such as a mobile phone, a tablet computer, a notebook computer, a Personal Digital Assistant (PDA), a camera, a wearable device, and a fixed terminal device such as a desktop computer.
In some embodiments of the present application, the first operation includes a pressing operation of an operation object of the electronic device on a physical key of the electronic device.
In other embodiments of the present application, the first operation includes the gesture operation acquired by the electronic device after an operation object of the electronic device performs a specific gesture operation.
Of course, the first operation in the embodiment of the present application may also include other operations, such as a voice operation, and the type of the first operation is not specifically limited in the embodiment of the present application.
And 102, when the first operation is determined to be the target operation, screen capturing is carried out on display contents in a display screen of the electronic equipment based on the first operation, and a frame of first image is obtained.
In the embodiment of the application, after obtaining the first operation, the electronic device compares the first operation with the target operation, where comparing the first operation with the target operation may be understood as comparing operation information of the first operation with operation information of the target operation. Further, the electronic device determines that the operation information of the first operation is the same as the operation information of the target operation, determines that the first operation is the target operation, and performs screen capture, namely instant screen capture, on the display content in the display screen of the electronic device based on the first operation to obtain a frame of the first image. Illustratively, the operation information includes an operation type and an operation event, wherein the operation type includes a press operation, a voice operation, a gesture operation, and the like, and the operation event includes a press parameter, voice content, gesture content, and the like.
And 103, when the first operation is determined to be continuously obtained, entering a continuous screen capturing mode, and capturing the display content in the display screen for multiple times to obtain a multi-frame second image.
Wherein the second image is different from the first image. Here, the electronic device continuously obtains the first operation representation and acquires the first operation as time goes by from the moment when the first operation is detected.
In the embodiment of the application, after the electronic device performs the instant screen capture, the electronic device continues to detect, that is, performs the delay judgment, and when it is determined that the first operation is continuously obtained, for example, the first operation is continuously detected after the first operation is obtained, the electronic device enters a continuous screen capture mode, and performs multiple screen capture on the display content in the display screen to obtain the multi-frame second image.
It should be noted that, in the process of continuous detection by the electronic device, the display content in the display screen of the electronic device is also updated over time.
And 104, acquiring a second operation different from the first operation, and exiting the continuous screen capture mode.
Here, the operation types of the second operation and the first operation may be the same or different, but the second operation and the first operation are both operations related to controlling the screen capture mode.
In the embodiment of the application, after the electronic device obtains the first operation, the electronic device continues to detect, and if the electronic device detects that the first operation is continuously obtained, the electronic device enters the continuous screen capture mode. That is to say, when detecting a first operation identical to the target operation, the electronic device triggers to enter an instant screen capture mode, and captures the display content in the display screen at the moment; then, as time goes on, the electronic equipment continuously detects the first operation, triggers mode switching, enters a continuous screen capture mode, and captures display contents in a multi-frame display screen; finally, when the electronic equipment detects second operation different from the first operation, the operation of quitting the connection screen capture mode is triggered, and the continuous screen capture mode is quitted; so, realize at the in-process of screenshot, accurate control screenshot mode ensures that the single frame image of intercepting under the scene of screenshot in the twinkling of an eye, intercepts multiframe image under continuous screenshot mode, and then promotes user experience.
According to the screen capture method provided by the embodiment of the application, a first operation is obtained; when the first operation is determined to be the target operation, screen capturing is carried out on display content in a display screen of the electronic equipment based on the first operation, and a frame of first image is obtained; when the first operation is determined to be continuously obtained, entering a continuous screen capture mode, and carrying out multiple screen capture on display contents in a display screen to obtain a multi-frame second image, wherein the second image is different from the first image; obtaining a second operation different from the first operation, and exiting the continuous screen capture mode; therefore, the problem that in the related art, electronic equipment only supports capturing one frame of image and cannot continuously capture multiple frames of images in the screen capturing process is solved, the screen capturing mode is accurately controlled in the screen capturing process, the single frame of image is captured in the instant screen capturing scene, multiple frames of images are captured in the continuous screen capturing mode, and user experience is improved.
An embodiment of the present application provides a screen capture method applied to an electronic device, and as shown in fig. 2, the method includes the following steps:
step 201, a first operation is obtained.
In the embodiment of the application, the first operation is a pressing operation of a plurality of physical keys of the electronic device at the same time. Here, the electronic device is provided with a plurality of physical keys, where the functions of the physical keys are not exactly the same. It should be noted that, the pressing operation of the multiple physical keys is used as the judgment basis of the screen capture mode, so that the situation that the electronic device judges by mistake due to the mistaken touch of a single physical key can be avoided.
Step 202, when it is determined that the first operation is the target operation, performing screen capture on display content in a display screen of the electronic device based on the first operation to obtain a frame of first image.
Step 203, when it is determined that the first operation is continuously obtained, entering a continuous screen capturing mode, and determining a screen capturing frequency corresponding to the attribute information of the display content in the display screen.
In the embodiment of the application, the attribute information is used for representing a correlation coefficient among a plurality of sub-display contents included in the display contents in the display screen; the variation direction of the correlation coefficient is the same as the variation direction of the screen capture frequency.
Here, the correlation coefficient refers to the degree of closeness of the association between the plurality of sub-display contents included in the display content, and a larger correlation coefficient indicates a higher degree of closeness of the association between the plurality of sub-display contents. The same direction of variation of the correlation coefficient as the direction of variation of the screen capture frequency means that the larger the correlation coefficient, the larger the screen capture frequency, and the smaller the correlation coefficient, the smaller the screen capture frequency.
Illustratively, when the display content is video content, the correlation coefficient between a plurality of frames of images included in the video content is large. When the display content is interface content, the correlation coefficient between a plurality of interfaces included in the interface content is small. Of course, in the embodiment of the present application, the correlation coefficient between a plurality of sub-display contents included in different types of display contents may be set; for example, in different scenes, the display content respectively includes a movie playing interface, a novel reading interface, and a mail processing interface, and in the embodiment of the present application, the correlation coefficients of a plurality of sub-display contents included in the different types of display contents are preset, where the correlation coefficient of the plurality of sub-display contents of the movie playing interface is S1, the correlation coefficient of the novel reading interface is S2, and the correlation coefficient of the mail processing interface is S3, and S1> S2> S3 is not included. At this time, the screen capture frequency corresponding to S1 is P1, the screen capture frequency corresponding to S2 is P2, the screen capture frequency corresponding to S3 is P3, and P1> P2> P3. In this way, the multi-frame image suitable for the current scene is intercepted based on the screen interception frequency corresponding to the attribute information of the display content.
In other embodiments of the present application, after the electronic device enters the continuous screen capture mode, prompt information is displayed in a status bar of the display screen, where the prompt information includes screen capture prompt information. And the screen capture prompt message comprises the frame number of the captured image. Of course, the prompt message may also include other messages, such as communication messages received by the electronic device and sent by other electronic devices. Here, the screen capture prompt information is displayed in the status bar of the display screen, so that the situation that the images captured in the subsequent screen capture process are still mainly the display content updated in real time can be avoided.
In other embodiments of the present application, when the electronic device determines that the first operation is not continuously obtained, a screen capture editing window is displayed, where the screen capture editing window is used to edit the first image, and the first image is displayed in the screen capture editing window. Therefore, the captured first image is displayed in the screen capture editing window of the display screen after the instant screen capture according to the actual requirements of the user, the user can conveniently edit the first image in time, and the edited first image is stored in the electronic equipment or sent to other electronic equipment.
And step 204, performing multiple screen shots on the display content in the display screen based on the screen shot frequency to obtain a plurality of frames of second images.
Wherein the second image is different from the first image.
In the embodiment of the application, the electronic equipment obtains batch images after continuous screen capture, the images can be used for making dynamic images, compared with the screen recording function, the images captured by the method have less space for the electronic equipment, the use scene is more flexible, and the images can be sent in various chatting software.
In other embodiments of the application, after the electronic device enters the continuous screen capture mode, a third operation is obtained; during the continuous screen capture, the electronic equipment changes the display content in the display screen at least based on the third operation. In this scenario, the plurality of frames of the second image include at least one frame of the third image and at least one frame of the fourth image, the third image is from the display content in the display screen before the change, and the fourth image is from the display content in the display screen after the change. That is to say, after the electronic device enters the continuous screen capture mode, the user can still flexibly control the display content of the electronic device, for example, change the display content in the display screen, thereby ensuring that the electronic device can capture the multi-frame image meeting the user requirement in the continuous screen capture mode. Here, the operation type of the third operation may be the same as or different from that of the first operation. For example, the third operation may be an operation of an operator of the electronic device holding the electronic device for shaking, and the electronic device may open a second application different from the first application corresponding to the currently displayed content after detecting the operation of shaking, so as to intercept at least one frame of image in the displayed content of the second application.
And step 205, acquiring a second operation different from the first operation, and exiting the continuous screen capture mode.
In this embodiment of the application, the second operation is to perform an operation of stopping pressing on at least one of the plurality of physical keys at the same time. Here, the electronic device obtains a second operation different from the first operation while continuously detecting the user operation, and exits the continuous screen capture mode. Therefore, the screen capture mode is accurately controlled to be opened and closed, and the intelligent degree of the electronic equipment is improved.
According to the content, the screen capturing method provided by the embodiment of the application solves the problem that in the screen capturing process of the electronic equipment in the related technology, only one frame of image is supported to be captured, and multiple frames of images cannot be captured continuously, realizes that in the screen capturing process, the screen capturing mode is accurately controlled, single frame of image is captured in the scene of instant screen capturing, multiple frames of images are captured in the continuous screen capturing mode, and further improves user experience.
It should be noted that, for the descriptions of the same steps and the same contents in this embodiment as those in other embodiments, reference may be made to the descriptions in other embodiments, which are not described herein again.
An embodiment of the present application provides a screen capture method applied to an electronic device, and as shown in fig. 3, the method includes the following steps:
for example, in the present embodiment, the first operation is a pressing operation of two physical keys of the electronic device at the same time, the two physical keys being a power key and a volume down key. The second operation is an operation of stopping pressing at the same time on at least one physical key of the power key and the volume down key.
Step 301, the electronic device detects that the volume down key and the power key are pressed simultaneously, and performs screen capture on the current screen display content.
Step 302, the electronic device detects whether at least one key of the volume down key and the power key is lifted within 500 ms.
Step 303, the electronic device detects that at least one key of the volume down-regulation key and the power key is lifted within 500ms, and a screen capture editing window is displayed in a display screen of the electronic device
And step 304, when the electronic equipment detects that at least one key of the volume down key and the power key is not lifted within 500ms, triggering a continuous screen capture function, and displaying screen capture prompt information on the status bar.
Here, the electronic equipment triggers the continuous screen capture mode, the screen capture editing window cannot pop up, the continuity of screen capture is ensured, and meanwhile continuous screen capture prompt information pops up in the status bar.
And 305, the electronic equipment performs a second screen capturing operation.
Step 306, after the electronic device performs the second screen capturing, the screen capturing operation is performed every 200ms, that is, the screen capturing is performed every 200ms with 200ms as the detection period under the condition that the operation is not changed, until at least one of the volume down-adjustment key and the power key is raised, and the continuous screen capturing is stopped immediately.
It should be noted that, during the continuous screen capture, the user is not affected to continue operating the screen with the other hand.
Therefore, the screen capturing method provided by the embodiment of the application can be applied to screen contents which are short in appearance time and difficult to master at a time point, in such a scene, a single screen capturing is difficult to accurately capture the desired contents, at the moment, the electronic equipment with the continuous screen capturing function can be used for screening after batch capturing, one piece of the contents which are successfully captured is reserved, and the rest of the contents are deleted.
In an implementation scenario, a user may want to continuously intercept screen display contents of a certain time period, but based on a scheme that only one screen can be intercepted in each screen capture in the related art, the user has to continuously and quickly press down and release a power supply and a volume down key at the same time, so that the user operation is complicated, and the time interval of screen capture is unstable; however, with the screen capture method provided by the embodiment of the application, as long as the power supply and the volume down key are continuously pressed, the continuous screen capture mode can be entered, and the electronic device can select the matched screen capture frequency to capture the screen based on the attribute information of the display content, so that the multi-frame image meeting the user requirements can be flexibly captured.
In another implementation scenario, when a problem of the touch screen is debugged, if ghost points, skip points, failure points, multiple points and other conditions caused by poor signals of the touch screen are met, the oppo log tool provides a method for capturing and storing the capacitance value signals of the touch screen while capturing the screen by using the combined keys. However, the problem usually lasts for a relatively short time and disappears soon, and if the problem occurs, screen capture is always missed because of no time to respond, so that the problem can be repeatedly retested until valid information is captured, and the time is very long. By utilizing the continuous screen capture function, the problems of silence and the like can be solved only by continuously pressing the combination key, then continuous capture can be performed frame by frame, each screen capture has corresponding capacity value signal data, and the data corresponding to the screen capture can be checked again as long as the moment that the problem is successfully recorded by finding which screen capture in the process is searched, so that a favorable basis is provided for analyzing the problem.
It should be noted that, for the descriptions of the same steps and the same contents in this embodiment as those in other embodiments, reference may be made to the descriptions in other embodiments, which are not described herein again.
An embodiment of the present application provides a screen capture device, which may be applied to a screen capture method provided in the embodiment corresponding to fig. 1 to 2, and as shown in fig. 4, the screen capture device 4 includes:
an obtaining module 41, configured to obtain a first operation;
the first processing module 42 is configured to, when it is determined that the first operation is the target operation, perform screen capture on display content in a display screen of the electronic device based on the first operation to obtain a frame of first image;
the second processing module 43 is configured to enter a continuous screen capture mode when it is determined that the first operation is continuously obtained, and perform multiple screen capture on the display content in the display screen to obtain a multi-frame second image, where the second image is different from the first image;
an obtaining module 41, configured to obtain a second operation different from the first operation;
and a third processing module 44 for exiting the continuous screen capture mode.
In other embodiments of the present application, the second processing module 43 is further configured to determine a screen capture frequency corresponding to attribute information of display content in the display screen; and performing screen capture on the display content in the display screen for multiple times based on the screen capture frequency to obtain a multi-frame second image.
In other embodiments of the present application, the attribute information is used to characterize a correlation coefficient between a plurality of sub-display contents included in the display contents in the display screen; the variation direction of the correlation coefficient is the same as the variation direction of the screen capture frequency.
In other embodiments of the present application, the first operation is a pressing operation of a plurality of physical keys of the electronic device at the same time.
In other embodiments of the present application, the second operation is an operation of stopping pressing at least one of the plurality of physical keys at the same time.
In other embodiments of the present application, the display screen of the electronic device is configured to display a prompt message on a status bar of the display screen after entering the continuous screen capture mode, where the prompt message includes a screen capture prompt message.
In other embodiments of the present application, the display screen of the electronic device is further configured to display a screenshot editing window when it is determined that the first operation is not continuously obtained, where the screenshot editing window is used for editing the first image, and the screenshot editing window displays the first image.
In other embodiments of the present application, the obtaining module 41 is further configured to obtain a third operation after entering the continuous screen capture mode;
in other embodiments of the present application, the third processing module 44 is further configured to change the display content in the display screen based on at least the third operation during the continuous screen capturing; the multi-frame second image comprises at least one frame of third image and at least one frame of fourth image, the third image is from the display content in the display screen before the change, and the fourth image is from the display content in the display screen after the change.
According to the screen capture device, the problem that in the screen capture process of electronic equipment in the related art, only one frame of image is supported to be captured, and multiple frames of images cannot be captured continuously is solved, the screen capture mode is accurately controlled in the screen capture process, the single frame of image is captured in the scene of instant screen capture, multiple frames of images are captured in the continuous screen capture mode, and user experience is improved.
It should be noted that, in the embodiment, a specific implementation process of the step executed by the processor may refer to an implementation process in the screen capturing method provided in the embodiment corresponding to fig. 1 to 2, and details are not described here.
An embodiment of the present application provides an electronic device, which may be applied to the screen capturing method provided in the embodiment corresponding to fig. 1-2, and as shown in fig. 5, the electronic device 5 (the electronic device 5 in fig. 5 corresponds to the screen capturing device 4 in fig. 4) includes: a processor 51, a memory 52, and a communication bus 53, wherein:
the communication bus 53 is used to realize a communication connection between the processor 51 and the memory 52.
The processor 51 is configured to execute the screen capture program stored in the memory 52 to implement the following steps:
obtaining a first operation;
when the first operation is determined to be the target operation, screen capturing is carried out on display content in a display screen of the electronic equipment based on the first operation, and a frame of first image is obtained;
when the first operation is determined to be continuously obtained, entering a continuous screen capture mode, and carrying out multiple screen capture on display contents in a display screen to obtain a multi-frame second image, wherein the second image is different from the first image;
and obtaining a second operation different from the first operation, and exiting the continuous screen capture mode.
In other embodiments of the present application, the processor 51 is configured to execute a screen capture program stored in the memory 52 to implement the following steps:
determining screen capture frequency corresponding to attribute information of display content in a display screen;
and performing screen capture on the display content in the display screen for multiple times based on the screen capture frequency to obtain a multi-frame second image.
In other embodiments of the present application, the attribute information is used to characterize a correlation coefficient between a plurality of sub-display contents included in the display contents in the display screen; the variation direction of the correlation coefficient is the same as the variation direction of the screen capture frequency.
In other embodiments of the present application, the first operation is a pressing operation of a plurality of physical keys of the electronic device at the same time.
In other embodiments of the present application, the second operation is an operation of stopping pressing at least one of the plurality of physical keys at the same time.
In other embodiments of the present application, the processor 51 is configured to execute a screen capture program stored in the memory 52 to implement the following steps:
and after entering the continuous screen capture mode, displaying prompt information on a status bar of the display screen, wherein the prompt information comprises screen capture prompt information.
In other embodiments of the present application, the processor 51 is configured to execute a screen capture program stored in the memory 52 to implement the following steps:
and when the first operation is determined not to be continuously obtained, displaying a screen capture editing window, wherein the screen capture editing window is used for editing the first image, and the first image is displayed on the screen capture editing window.
In other embodiments of the present application, the processor 51 is configured to execute a screen capture program stored in the memory 52 to implement the following steps:
after entering a continuous screen capture mode, obtaining a third operation;
changing the display content in the display screen based on at least the third operation in the continuous screen capturing process;
the multi-frame second image comprises at least one frame of third image and at least one frame of fourth image, the third image is from the display content in the display screen before the change, and the fourth image is from the display content in the display screen after the change.
By way of example, the Processor may be an integrated circuit chip having Signal processing capabilities, such as a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like, wherein the general purpose Processor may be a microprocessor or any conventional Processor or the like.
According to the content, the electronic equipment provided by the embodiment of the application solves the problem that the electronic equipment only supports capturing one frame of image and cannot continuously capture multiple frames of images in the screen capturing process in the related art, realizes the accurate control of the screen capturing mode in the screen capturing process, ensures that a single frame of image is captured in the scene of instant screen capturing, captures multiple frames of images in the continuous screen capturing mode, and further improves the user experience.
It should be noted that, in the embodiment, a specific implementation process of the step executed by the processor may refer to an implementation process in the screen capturing method provided in the embodiment corresponding to fig. 1 to 2, and details are not described here.
Embodiments of the application provide a computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of:
obtaining a first operation;
when the first operation is determined to be the target operation, screen capturing is carried out on display content in a display screen of the electronic equipment based on the first operation, and a frame of first image is obtained;
when the first operation is determined to be continuously obtained, entering a continuous screen capture mode, and carrying out multiple screen capture on display contents in a display screen to obtain a multi-frame second image, wherein the second image is different from the first image;
and obtaining a second operation different from the first operation, and exiting the continuous screen capture mode.
In other embodiments of the present application, the one or more programs are executable by the one or more processors and further implement the steps of:
determining screen capture frequency corresponding to attribute information of display content in a display screen;
and performing screen capture on the display content in the display screen for multiple times based on the screen capture frequency to obtain a multi-frame second image.
In other embodiments of the present application, the attribute information is used to characterize a correlation coefficient between a plurality of sub-display contents included in the display contents in the display screen; the variation direction of the correlation coefficient is the same as the variation direction of the screen capture frequency.
In other embodiments of the present application, the first operation is a pressing operation of a plurality of physical keys of the electronic device at the same time.
In other embodiments of the present application, the second operation is an operation of stopping pressing at least one of the plurality of physical keys at the same time.
In other embodiments of the present application, the one or more programs are executable by the one or more processors and further implement the steps of:
and after entering the continuous screen capture mode, displaying prompt information on a status bar of the display screen, wherein the prompt information comprises screen capture prompt information.
In other embodiments of the present application, the one or more programs are executable by the one or more processors and further implement the steps of:
and when the first operation is determined not to be continuously obtained, displaying a screen capture editing window, wherein the screen capture editing window is used for editing the first image, and the first image is displayed on the screen capture editing window.
In other embodiments of the present application, the one or more programs are executable by the one or more processors and further implement the steps of:
after entering a continuous screen capture mode, obtaining a third operation;
changing the display content in the display screen based on at least the third operation in the continuous screen capturing process;
the multi-frame second image comprises at least one frame of third image and at least one frame of fourth image, the third image is from the display content in the display screen before the change, and the fourth image is from the display content in the display screen after the change.
It should be noted that, in the embodiment, a specific implementation process of the step executed by the processor may refer to an implementation process in the screen capturing method provided in the embodiment corresponding to fig. 1 to 2, and details are not described here.
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 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 flow or flows and/or block diagram 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 flow or flows and/or block diagram 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 flow or flows 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 (9)

1. A method of screen capture, the method comprising:
obtaining a first operation;
when the first operation is determined to be the target operation, screen capturing is carried out on display content in a display screen of the electronic equipment based on the first operation, and a frame of first image is obtained;
when the first operation is determined to be continuously obtained, entering a continuous screen capture mode, and determining a screen capture frequency corresponding to the attribute information of the display content in the display screen;
performing screen capture on display content in the display screen for multiple times based on the screen capture frequency to obtain a multi-frame second image, wherein the second image is different from the first image; the attribute information is used for representing a correlation coefficient among a plurality of sub-display contents included in the display contents in the display screen; the variation direction of the correlation coefficient is the same as that of the screen capture frequency;
and obtaining a second operation different from the first operation, and exiting the continuous screen capture mode.
2. The method according to claim 1, wherein the first operation is a pressing operation of a plurality of physical keys of the electronic device at the same time.
3. The method according to claim 2, wherein the second operation is an operation of stopping pressing at least one of the plurality of physical keys at the same time.
4. The method according to any one of claims 1 to 3, further comprising:
and after entering the continuous screen capture mode, displaying prompt information on a status bar of the display screen, wherein the prompt information comprises screen capture prompt information.
5. The method according to any one of claims 1 to 3, wherein when it is determined that the first operation is a target operation, after the display content in the display screen of the electronic device is captured based on the first operation to obtain a frame of first image, the method further comprises:
and when the first operation is determined not to be continuously obtained, displaying a screen capture editing window, wherein the screen capture editing window is used for editing the first image, and the first image is displayed on the screen capture editing window.
6. The method according to any one of claims 1 to 3, further comprising:
after entering the continuous screen capture mode, obtaining a third operation;
changing the display content in the display screen at least based on the third operation in the process of continuous screen capture;
the plurality of frames of second images comprise at least one frame of third image and at least one frame of fourth image, the third image is from the display content in the display screen before the change, and the fourth image is from the display content in the display screen after the change.
7. A screen capture device, the screen capture device comprising:
an obtaining module for obtaining a first operation;
the first processing module is used for capturing the display content in the display screen of the electronic equipment based on the first operation to obtain a frame of first image when the first operation is determined to be the target operation;
the second processing module is used for entering a continuous screen capture mode when the first operation is determined to be continuously obtained, and determining the screen capture frequency corresponding to the attribute information of the display content in the display screen;
performing screen capture on the display content in the display screen for multiple times based on the screen capture frequency to obtain a multi-frame second image; wherein the second image is different from the first image; the attribute information is used for representing a correlation coefficient among a plurality of sub-display contents included in the display contents in the display screen; the variation direction of the correlation coefficient is the same as that of the screen capture frequency;
the obtaining module is further configured to obtain a second operation different from the first operation;
and the third processing module is used for exiting the continuous screen capture mode.
8. An electronic device, characterized in that the electronic device comprises: a processor, a memory, and a communication bus;
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is used for executing the screen capture program stored in the memory to realize the steps of the screen capture method according to any one of claims 1 to 6.
9. A storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps of the screen capturing method as claimed in any one of claims 1 to 6.
CN202010298328.1A 2020-04-16 2020-04-16 Screen capturing method, screen capturing device, electronic equipment and storage medium Active CN111399735B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010298328.1A CN111399735B (en) 2020-04-16 2020-04-16 Screen capturing method, screen capturing device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010298328.1A CN111399735B (en) 2020-04-16 2020-04-16 Screen capturing method, screen capturing device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111399735A CN111399735A (en) 2020-07-10
CN111399735B true CN111399735B (en) 2022-04-12

Family

ID=71429565

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010298328.1A Active CN111399735B (en) 2020-04-16 2020-04-16 Screen capturing method, screen capturing device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111399735B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112801876A (en) * 2021-02-07 2021-05-14 联想(北京)有限公司 Information processing method, information processing device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103544021A (en) * 2013-11-01 2014-01-29 锤子科技(北京)有限公司 Screen capturing method and device for screen content of mobile terminal
CN104035684A (en) * 2013-03-06 2014-09-10 腾讯科技(深圳)有限公司 Dynamic screen capture method and system applicable to mobile terminal
CN105045485A (en) * 2015-07-06 2015-11-11 魅族科技(中国)有限公司 Screen capture method and mobile terminal
CN105718181A (en) * 2016-01-21 2016-06-29 上海斐讯数据通信技术有限公司 Screenshot method for mobile terminal and mobile terminal
CN106557239A (en) * 2016-11-29 2017-04-05 深圳铂睿智恒科技有限公司 The screenshotss method of touch panel device, system and touch panel device
CN107817933A (en) * 2017-10-18 2018-03-20 维沃移动通信有限公司 A kind of screenshotss method and mobile terminal
CN109976631A (en) * 2019-03-11 2019-07-05 河南发明哥知识产权代理有限公司 A kind of method and device of screenshot capture

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8584044B2 (en) * 2007-11-16 2013-11-12 Microsoft Corporation Localized thumbnail preview of related content during spatial browsing
CN105045823B (en) * 2015-06-26 2019-02-01 上海卓易科技股份有限公司 A kind of generation method and device of the mobile terminal demonstration document based on screenshot
CN107229402B (en) * 2017-05-22 2021-08-10 努比亚技术有限公司 Dynamic screen capturing method and device of terminal and readable storage medium
CN109358791A (en) * 2018-09-10 2019-02-19 珠海格力电器股份有限公司 A kind of screenshot method, device, storage medium and mobile terminal
CN110597437A (en) * 2019-08-20 2019-12-20 维沃移动通信有限公司 Screen capturing method and terminal equipment
CN110737386A (en) * 2019-09-06 2020-01-31 华为技术有限公司 screen capturing method and related equipment
CN110750200A (en) * 2019-09-30 2020-02-04 维沃移动通信有限公司 Screenshot picture processing method and terminal equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104035684A (en) * 2013-03-06 2014-09-10 腾讯科技(深圳)有限公司 Dynamic screen capture method and system applicable to mobile terminal
CN103544021A (en) * 2013-11-01 2014-01-29 锤子科技(北京)有限公司 Screen capturing method and device for screen content of mobile terminal
CN105045485A (en) * 2015-07-06 2015-11-11 魅族科技(中国)有限公司 Screen capture method and mobile terminal
CN105718181A (en) * 2016-01-21 2016-06-29 上海斐讯数据通信技术有限公司 Screenshot method for mobile terminal and mobile terminal
CN106557239A (en) * 2016-11-29 2017-04-05 深圳铂睿智恒科技有限公司 The screenshotss method of touch panel device, system and touch panel device
CN107817933A (en) * 2017-10-18 2018-03-20 维沃移动通信有限公司 A kind of screenshotss method and mobile terminal
CN109976631A (en) * 2019-03-11 2019-07-05 河南发明哥知识产权代理有限公司 A kind of method and device of screenshot capture

Also Published As

Publication number Publication date
CN111399735A (en) 2020-07-10

Similar Documents

Publication Publication Date Title
CN106970754B (en) Screen capture processing method and device
CN104503740A (en) Memory management method and device
CN107870712B (en) Screenshot processing method and device
CN105338409A (en) Network video pre-loading method and device
EP4109878A1 (en) Content operation method and device, terminal, and storage medium
CN105487680B (en) Method, apparatus and terminal for terminal screenshotss
CN105786507B (en) Display interface switching method and device
CN112540821A (en) Information sending method and electronic equipment
WO2021179803A1 (en) Content sharing method and apparatus, electronic device and storage medium
US20240214618A1 (en) Video stream playing control method and apparatus, and storage medium
CN104991910A (en) Album creation method and apparatus
CN104536787B (en) Resource preloads method and device
CN106354504A (en) Message display method and device thereof
CN111614990B (en) Method and device for acquiring loading duration and electronic equipment
CN111831205A (en) Device control method, device, storage medium and electronic device
CN105511777A (en) Session display method and device of touch display screen
CN104376075A (en) Data storage method and device
CN104407981B (en) EMS memory management process and device
CN111399735B (en) Screen capturing method, screen capturing device, electronic equipment and storage medium
CN105320747A (en) Method and apparatus for stopping web page refreshing and terminal device
US11600300B2 (en) Method and device for generating dynamic image
CN111427449A (en) Interface display method, device and storage medium
CN110321042B (en) Interface information display method and device and electronic equipment
CN114205447A (en) Rapid setting method and device of electronic equipment, storage medium and electronic equipment
WO2024104113A1 (en) Screen capture method, screen capture apparatus, electronic device, and readable storage medium

Legal Events

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