CN112527176A - Screen capturing method and screen capturing device - Google Patents

Screen capturing method and screen capturing device Download PDF

Info

Publication number
CN112527176A
CN112527176A CN202011401431.0A CN202011401431A CN112527176A CN 112527176 A CN112527176 A CN 112527176A CN 202011401431 A CN202011401431 A CN 202011401431A CN 112527176 A CN112527176 A CN 112527176A
Authority
CN
China
Prior art keywords
image
screen capture
screen
sub
target
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
CN202011401431.0A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011401431.0A priority Critical patent/CN112527176A/en
Publication of CN112527176A publication Critical patent/CN112527176A/en
Priority to PCT/CN2021/132979 priority patent/WO2022116886A1/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/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
    • 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/0485Scrolling or panning

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 application discloses a screen capture method and a screen capture device, and belongs to the technical field of communication. The method comprises the following steps: receiving a first input a plurality of times; in response to a first input, respectively displaying a plurality of image sub-regions of a target file on a screen of the electronic device; under the condition that a screen capture triggering condition is met, screen capture is carried out to obtain a screen capture subimage corresponding to the target image subregion; outputting a screen capture target image based on the screen capture subimages; and taking at least one of the image subareas as a target image subarea. According to the screen capture method and the screen capture device, the target content in the large file can be captured for multiple times according to the selection of the user, and then the screen capture images are combined and spliced to obtain the complete and clear large file screen capture, so that the selection requirement of the user on the screen capture content can be met, and the quality of the screen capture images is effectively improved.

Description

Screen capturing method and screen capturing device
Technical Field
The application belongs to the technical field of communication, and particularly relates to a screen capturing method and a screen capturing device.
Background
At present, after a large document such as excel is edited on electronic equipment, because the large document has a lot of file contents and one screen cannot be completely captured, if the large document needs to be subjected to screenshot operation, a page can only be reduced, and screenshot is carried out when all contents are in the screen, or a long screenshot function of the electronic equipment is triggered, so that the display contents in the display screen are displayed in a rolling manner in one direction, and then all the contents displayed in the rolling manner are combined into one long screenshot.
In the process of implementing the present application, the inventor finds that at least the following problems exist in the prior art: the method of reducing the page and then capturing the screen can cause the captured screen image to be very fuzzy or distorted; by adopting the long screenshot function, the page content can only be scrolled up and down, and the requirement of clearly and completely screenshot on the documents with different sizes cannot be met.
Disclosure of Invention
The embodiment of the application aims to provide a screen capturing method and device, and the defect that the screen capturing of a large file cannot be clearly and completely realized in the prior art can be overcome.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a screen capture method, where the method includes:
receiving a first input a plurality of times;
in response to the first input, respectively displaying a plurality of image sub-regions of a target file on a screen of the electronic device;
under the condition that a screen capture triggering condition is met, screen capture is carried out to obtain a screen capture subimage corresponding to the target image subregion;
outputting a screen capture target image based on the screen capture subimage;
wherein the image size of the target file is larger than the screen size of the electronic equipment, and at least one of the image sub-regions is taken as the target image sub-region.
In a second aspect, an embodiment of the present application provides a screen capture device, including:
the first receiving module receives a plurality of times of first input;
the first response module is used for responding to the first input and respectively displaying a plurality of image sub-areas of the target file on a screen of the electronic equipment;
the screen capture processing module is used for capturing a screen to obtain a screen capture sub-image corresponding to the target image subregion under the condition that the screen capture triggering condition is met;
an image processing unit that outputs a screen capture target image based on the screen capture sub-image;
wherein the image size of the target file is larger than the screen size of the electronic equipment, and at least one of the image sub-regions is taken as the target image sub-region.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the screen capturing method according to any one of the first aspect.
In a fourth aspect, the present application provides a readable storage medium, on which a program or instructions are stored, and when executed by a processor, the program or instructions implement the steps of the screen capture method according to any one of the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the steps of the screen capturing method according to any one of the first aspect.
According to the screen capture method, the screen capture device, the electronic equipment and the storage medium, the target content in the large file can be captured for multiple times according to the selection of the user, and then the screen capture images are combined and spliced to obtain the complete and clear large file screen capture, so that the selection requirement of the user on the screen capture content can be met, and the quality of the screen capture images is effectively improved.
Drawings
FIG. 1 is a schematic flow chart of a screen capture method provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of a target document a provided by the present application being displayed in a partitioned manner on a screen of an electronic device;
FIG. 3 is a schematic view of a flowchart interface for performing a screen capture operation according to an embodiment of the present application;
fig. 4 is a second flowchart of a screen capture method provided in the embodiment of the present application;
FIG. 5 is a third flowchart illustrating a screen capture method according to an embodiment of the present application;
FIG. 6 is a schematic structural diagram of a screen capture device provided in an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 8 is a second schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The screen capture method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a schematic flowchart of a screen capture method provided in an embodiment of the present application, and as shown in fig. 1, the screen capture method may include the following steps:
step 11: the electronic device receives a plurality of first inputs from a user.
The application scenario of the screen capture method provided by the application can be as follows: when a user uses document editing tools such as wps or other APPs on electronic equipment to realize large document editing processing, after document processing work is completed, if screenshot processing is to be performed on a processed document, a target screenshot image can be acquired through screenshot operation on the electronic equipment.
The large document as described herein refers to a document that cannot be completely displayed on the screen of the electronic device without zooming when it is displayed using the electronic device.
In addition, a processing object of the screen capture method can be a target file with any image size, and particularly, the defect that the screen capture processing on a large-size and large-content document cannot be realized in the conventional screen capture technology to obtain a clear and complete screen capture can be overcome.
Wherein the first input made by the user to the electronic device is for adjusting the content of the target file displayed on the screen of the electronic device.
In the application, when the image size of the target file is larger than the screen size of the electronic device, the electronic device can perform regional display on the whole target file, that is, only a partial region of the target file is displayed on the screen of the current electronic device. Fig. 2 is a schematic diagram of a target document a provided by the present application being displayed by a screen of an electronic device in different areas, as shown by a dotted area in fig. 2, assuming that an image of a certain target document (hereinafter referred to as target document a) is 43cm long and 32cm wide; as shown in the filled area in fig. 2, it is assumed that the screen of the electronic device for processing is 16cm long and 9cm wide.
Optionally, as shown in fig. 2, according to a proportional relationship between the image size of the target file a and the screen size of the electronic device, the image of the entire target file a may be divided into 12 image sub-areas in total, 4 × 3, and one of the 12 image sub-areas is displayed on the screen of the electronic device. Wherein the image size of each image sub-area is the same as the screen size of the electronic device. The image subarea displayed on the screen of the electronic equipment can be changed and adjusted according to the first input, so that all contents of the target file can be completely displayed.
Alternatively, the first input may be a sliding input of the user's finger to the left, right, up, or down on the screen, i.e., similar to an operation when reading an electronic book on the electronic device.
Alternatively, the first input may be an operation of inputting one of the page numbers to the electronic device selected by the user based on the total number of pages required to be displayed by the image of the target document. If the total number of pages required to be displayed on the screen of the electronic device by the image of the target file is 10, the user can directly jump to page 2 of the 10 pages by inputting the number 2 to the electronic device.
Optionally, a horizontal scroll bar and a vertical scroll bar may be arranged on the screen of the electronic device corresponding to the paging situations of the target file in the upper horizontal direction and the vertical direction of the electronic device. Accordingly, the first input may be a slide input after long-pressing the scroll bar, or a click input in a slide track area of the scroll bar.
Step 12: and responding to the first input, and respectively displaying a plurality of image subareas of the target file on a screen of the electronic equipment.
And displaying the target file on a screen of the electronic equipment corresponding to the first input. The portion of the object file that is displayed on the screen of the electronic device at a time is referred to as an image sub-area.
Alternatively, assuming that the first input is a leftward input on the screen by the user with a finger, in response to the first input, the content of the target file displayed on the screen of the electronic device may be changed accordingly according to the direction of the sliding input and the input trajectory to display a series of image sub-regions on the screen of the electronic device.
Alternatively, the user may jump to each image subregion unit according to the direction of the slide input and the input track, and sequentially display a plurality of image subregions corresponding to the target file on the screen of the electronic device.
Step 13: and under the condition that the screen capture triggering condition is met, screen capture is carried out to obtain a screen capture sub-image corresponding to the target image subregion. Wherein at least one of the image sub-regions is the target image sub-region.
In responding to the first input, the number of image sub-regions of the target document displayed on the screen of the electronic device is generally large, for example: and if the first input is a sliding input, displaying an image corresponding to a series of image sub-areas on a screen of the electronic equipment.
Different from a method for capturing a screen of content displayed on a screen of an electronic device adopted by a long screen capturing method in the prior art, in the screen capturing method provided by the application, a user can select a part of target image sub-regions from a plurality of displayed image sub-regions according to actual needs to capture one or more screen capturing sub-images.
Specifically, from the perspective of the electronic device, in the process that the screen of the electronic device sequentially displays the plurality of image sub-regions, if it is determined that the currently displayed image sub-region meets the screen capture trigger condition, the currently displayed image sub-region is taken as a screen capture object, and the screen capture process is performed on the currently displayed image sub-region.
Optionally, the condition that the screen capture trigger condition is met may be that a user screen capture operation instruction is received, for example, a user presses a preset shortcut key or interactively inputs a preset sliding track on a screen of the electronic device by a finger, and the like.
Optionally, the meeting of the screen capture trigger condition may be that the screen capture operation is automatically executed by the electronic device according to a preset time interval.
Optionally, the meeting of the screen capture trigger condition may be that, when the duration of time for determining that the currently displayed content of the screen of the electronic device remains unchanged exceeds a first preset duration, a screen capture operation is performed once. If the duration that the currently displayed content of the screen of the electronic equipment is kept unchanged is judged to be 3 seconds, and the first preset duration is 2 seconds, the currently displayed content of the screen of the electronic equipment is determined to be a target screen capture sub-image planned by a user, so that one screen capture operation is performed on the currently displayed content of the screen of the electronic equipment.
Step 14: and outputting a screen capture target image based on the screen capture subimage.
At least one frame of screen capture sub-image may be acquired, via step 13.
If the screen capture target image required by the user is only one target image subregion in the image subregions of the target file, when the target image subregion is displayed on the screen of the electronic equipment, the user inputs a screen capture operation to the electronic equipment, so that the screen capture trigger condition is met, and the screen capture sub-image corresponding to the target image subregion can be acquired.
If the screenshot target image of the user is a screenshot image corresponding to a plurality of image sub-areas of the target file, that is, if the target image sub-area is multiple, in the process of sequentially displaying each image sub-area of the target file on the screen of the electronic device, the user can input a screenshot operation to the electronic device under the condition that the target image sub-area appears each time, so as to perform a screenshot operation on the target image sub-area appearing each time, and thus, a plurality of frame screenshot sub-images can be acquired.
And finally, performing image processing on all screen capture sub-images, for example, performing image stitching processing, so as to obtain a screen capture target image formed by all screen capture sub-images.
If the screenshot target image of the user is the full screenshot image of the target file, the user can respectively perform screenshot operations on all image sub-regions to acquire the full screenshot image of the target file under the condition that all regions of the target file can be formed by the union set of all the image sub-regions.
Further, after the user acquires the screen capture target image, the user can view, edit and share the screen capture target image.
According to the screen capture method, the target content in the large file can be captured for multiple times according to the selection of the user, and then the screen capture images are combined and spliced to obtain the complete and clear large file screen capture, so that the selection requirement of the user on the screen capture content can be met, and the quality of the screen capture images is effectively improved.
Based on the content of the above embodiment, as an optional embodiment, a progress bar identifier is displayed on a screen of the electronic device, where the progress bar identifier includes a vertical progress bar identifier and a horizontal progress bar identifier;
the total sliding track of the horizontal progress bar mark is matched with the image width of the target file;
the total sliding track of the vertical progress bar mark is matched with the image length of the target file;
and marking the screen-captured part and the screen-non-captured part of the target file through different progress bar intervals on the progress bar mark.
Fig. 3 is a schematic view of a flow interface for performing a screen capture operation according to an embodiment of the present application, and as shown in fig. 3, in the screen capture method provided by the present application, in order to facilitate screen capture control of a user, a progress bar identifier is set on a screen capture interface of a screen of an electronic device. According to the screen capture method, full screen capture or partial screen capture can be performed on a large document with the image size larger than the screen size of the electronic equipment, the image sub-area of a target file currently displayed on the screen of the electronic equipment is mainly controlled through first input of a user, the screen capture sub-images corresponding to the target image sub-area are obtained through selective screen capture of the image sub-area, and finally all the screen capture sub-images are combined into the screen capture target image.
Optionally, in the screen capture method provided by the application, the progress bar identifier is set on the screen capture interface, so that a user can input the progress bar identifier (such as sliding input or jog input), and thus switching of the image sub-region of the target file displayed in the screen is achieved.
Since the length of the image of the target document is not only greater than the screen length of the electronic device, but also the width of the image is often greater than the screen width of the electronic device, in the prior art, the image of the target document is generally zoomed to have the same length as the screen length of the electronic device, and then the screen capture is performed. In order to overcome the defect that the screen capture method in the prior art may cause distortion of a screen capture target image, the screen capture method provided by the application does not need to zoom an image of a target document, and by setting a vertical progress bar identifier and a horizontal progress bar identifier on a screen of an electronic device, a user is not only provided to operate display of the target document in a vertical direction through the vertical progress bar identifier, but also provided to operate display of the target document in a horizontal direction through the horizontal progress bar identifier, so that different image sub-regions displayed in the screen of the electronic device are conveniently captured, and the screen capture target image which does not need to be zoomed is finally obtained.
Accordingly, the first input in step 11 may be a drag operation after the user long-presses at least one of the vertical progress bar indicator and the horizontal progress bar indicator with one finger.
Further, the progress bar identification may be a bar structure, in which the horizontal progress bar identification is parallel to the bottom side of the screen of the electronic device, and the vertical progress bar identification is parallel to the side of the screen of the electronic device.
Further, the horizontal progress bar mark may be disposed at the top or the bottom of the screen of the electronic device, and the horizontal progress bar mark may be disposed at the left or the right side of the screen of the electronic device, which is not specifically limited in this application.
Further, the total sliding track of the horizontal progress bar mark is matched with the image width of the target file, and the total sliding track of the vertical progress bar mark is matched with the image length of the target file.
Because the lengths of the horizontal length bar mark and the vertical length bar mark are not changed, the image size of the target file can be obtained firstly, then the first proportion of the total image width of the target file to the length of the horizontal progress bar mark is determined, and the second proportion of the total image length of the target file to the length of the vertical progress bar mark is determined. Then, the first scale is used as an adaptive scale for the total sliding track of the horizontal progress bar mark and the image width of the target file, and the second scale is used as an adaptive scale for the total sliding track of the vertical progress bar mark and the image length of the target file.
Furthermore, according to the screen capture method provided by the application, different progress bar intervals can be marked on the progress bar identification through different progress bar hues, different progress bar shapes and the like, and according to the actual screen capture progress, the different progress bar intervals are used for indicating the screen captured part and the non-screen captured part of the target file.
As shown in fig. 3, the process bar section represented by the dotted line is used to mark the screen-captured part of the whole target file, and the process bar section represented by the solid line is used to mark the screen-captured part of the whole target file, and all the process bar sections constitute all the areas of the target file.
Further, it is also possible to mark the portion of the whole target document that has been subjected to screen capturing with one color-tone progress bar interval (e.g. red), and mark the portion of the whole target document that has been subjected to screen capturing with another color-tone progress bar interval (e.g. yellow), which is not limited in this application.
According to the screen capture method, the progress bar identification is arranged on the screen of the electronic equipment, different progress bar intervals are arranged on the progress bar identification, the target file is displayed to a user and is captured by the screen capture part and the screen capture part, the user can know the screen capture progress in time, the user can be directly positioned to the screen capture part, the user does not need to check and confirm the whole target file again, and the user can check the screen capture state and the screen capture content conveniently.
Based on the content of the foregoing embodiment, as an optional embodiment, respectively displaying a plurality of image sub-regions of a target file on a screen of an electronic device specifically includes:
adjusting a sub-region of an image displayed on a screen of the electronic equipment in response to positioning operations of two cursor identifiers by a user;
the two vernier marks are respectively positioned in the vertical direction progress bar and the horizontal direction progress bar;
and the image sub-region is determined according to the positions of the two cursor marks after the positioning operation in the vertical direction progress bar and the horizontal direction progress bar.
Specifically, in the screen capture method provided by the application, in the process of sliding the cursor mark (Ya) on the vertical progress bar mark from the starting point to the end point of the vertical progress bar mark at a constant speed, the operation of converting the target file from the starting point position in the vertical direction to the end point position in the vertical direction at a constant speed can be realized.
Correspondingly, in the process that the cursor mark (Xa) positioned on the horizontal progress bar mark slides from the starting point to the end point of the horizontal progress bar mark at a constant speed, the operation of converting the target file from the starting point position in the horizontal direction to the end point position in the horizontal direction at a constant speed is realized.
Correspondingly, if the vertical progress bar identifier and the cursor identifier on the horizontal progress bar identifier are adjusted at the same time, the display content of the target file on the screen of the electronic device can be adjusted in the horizontal direction and the vertical direction at the same time, so as to display the corresponding image sub-region of the target file.
Based on the content of the above embodiment, as an optional embodiment, a page identifier is provided on a screen of the electronic device, where the page identifier mainly includes a first page identifier and a second page identifier;
displaying the total number of horizontal pages and the number of horizontal pages on the first page identifier; the total number of horizontal pages is determined according to the ratio of the image width of the target file to the screen width of the electronic equipment; the horizontal page number is the page number of the display content of the screen of the electronic equipment in the horizontal direction;
displaying the total number of the vertical pages and the number of the vertical pages on the second page identifier; the total number of the vertical pages is determined according to the ratio of the image length of the target file to the screen length of the electronic equipment; the vertical page number is the page number of the display content of the screen of the electronic equipment in the vertical direction at present.
As shown in fig. 3, in the screen capture method provided by the present application, in order to facilitate a user to intuitively obtain a location of a currently displayed image sub-region on a screen of an electronic device in a target file, a page identifier is set on a screen capture interface of the screen of the electronic device, a first page identifier (Xb) is configured for a horizontal direction, and a second page identifier (Yb) is configured for a vertical direction.
As shown in fig. 3, the content displayed on the first page number identifier (Xb) is 2/3, specifically: the target document has 3 pages in total in the horizontal direction of the screen of the electronic device, and the page number corresponding to the image sub-area displayed on the screen of the electronic device is the 2 nd page of the 3 pages. The content displayed on the second page number identifier (Yb) is 1/2, specifically: the target document has 2 pages in the vertical direction of the screen of the electronic equipment, and the page number corresponding to the image subarea currently displayed on the screen of the electronic equipment is the 1 st page in the 2 pages.
Further, the present application also provides a method for determining the total number of pages, as shown in fig. 2, wherein the dotted area can be understood as the image area of the target document a, and the image size is set to be 43cm long and 32cm wide; the filled area represents the area occupied by the screen of the electronic equipment, and the length of the screen of the electronic equipment is 16cm, and the width of the screen of the electronic equipment is 9 cm. Acquiring the ratio of the image length of the target file a to the screen length of the electronic equipment as 43/16, and acquiring the ratio of the image width of the target file a to the screen width of the electronic equipment as 32/9; and because both the two ratios have remainders, the two ratios are rounded and added with 1 to be used as the total number of the horizontal pages and the total number of the vertical pages.
If any ratio has no remainder, the integral ratio is directly taken as the total number of the pages in the horizontal or vertical direction.
The following can be obtained by the method: the total number of horizontal pages and the total number of vertical pages of the target file shown in fig. 2 are 4 and 3, respectively.
Further, the determination of the number of horizontal pages and the number of vertical pages can be determined according to the position of the content displayed in the center position of the screen of the electronic device in all the contents of the target file; the number of vertical pages can also be determined according to the position of the content displayed at the top of the screen of the electronic equipment in all the contents of the target file; the horizontal page number can also be determined according to the position of the displayed content at the leftmost side of the screen of the electronic equipment in all the content of the target file.
According to the screen capture method, the page number identification is arranged on the screen of the electronic equipment, and the total page number and the current page number are displayed on the page number identification, so that the positioning of the image sub-region currently displayed on the screen of the electronic equipment in the target file is displayed for a user, the user can know the current screen capture state in time conveniently, the user can check conveniently, and the screen capture efficiency of the user is improved.
Further, the displaying, on the screen of the electronic device, a plurality of image sub-regions of the target file, respectively, in response to the first input may include:
adjusting a sub-area of an image displayed on a screen of the electronic device in response to a user modification input to at least one of the two page number identifiers;
the image sub-area is the content determined in the target file according to the two page number identifications after the modification input.
Specifically, the user may directly modify the number of current page numbers displayed in the page number identifier to directly locate to the target image sub-area.
As shown in fig. 3, the user may modify the first page identifier 2/3 to 1/3 and keep the second page identifier unchanged, so that the target file may be turned forward in the horizontal direction (adjusted from page 2 to page 1) and displayed on the screen of the electronic device as an image sub-area.
Alternatively, the user may modify the second page identifier 1/2 to 2/2 and keep the first page identifier unchanged, so that the target file is turned back in the vertical direction (from page 1 to page 2) and displayed on the screen of the electronic device as an image sub-region.
Alternatively, the user may modify the first page identifier 2/3 to 1/3 and the second page identifier 1/2 to 2/2, so that the target file can be turned forward in the horizontal direction and turned backward in the vertical direction and displayed on the screen of the electronic device as an image sub-region.
According to the screen capture method, the page number identification is arranged on the screen capture interface, so that a user can directly position the current display content of the screen of the electronic equipment through setting the page number identification, and particularly, when the user captures a large document with more total pages, the user can quickly position the target image sub-region, so that convenience is provided for acquiring the corresponding target image sub-region, and the screen capture efficiency of the user is effectively improved.
Based on the content of the foregoing embodiment, as an optional embodiment, in a case that a screen capture trigger condition is satisfied in a process of displaying the plurality of image sub-regions, the screen capturing to obtain a screen capture sub-image corresponding to the target image sub-region includes:
in the process of sequentially displaying the plurality of image sub-areas on the screen of the electronic equipment, under the condition of receiving a second input of a user, responding to the second input, and acquiring a screen capture sub-image corresponding to the target image sub-area by screen capture;
or, when the time length for displaying any image subregion on the screen of the electronic device exceeds a first preset time length, acquiring a screen capture sub-image corresponding to the target image subregion by screen capture.
On one hand, in the process of performing screen capture processing on the target document, after the target image subregion is displayed on the screen of the electronic device, the user can control the electronic device to perform screen capture operation on the image subregion displayed in the screen of the electronic device through the second input.
Alternatively, the second input may be a preset shortcut key, such as: the second input may be that the user presses a photo button on the electronic device, and the electronic device, in response to the second input, captures a sub-region of an image displayed in a screen of the electronic device.
Optionally, the second input may be a click, a long press, a sliding operation, or the like on a screen of the electronic device by the user, and the application is not particularly limited.
On the other hand, to further reduce the operation complexity of the user, a first preset time duration, such as 2 seconds, may also be set, and when the time duration for displaying the current content on the screen of the electronic device exceeds 2 seconds, the image sub-area displayed on the screen of the electronic device is automatically captured.
Optionally, the first preset duration may be set by a user according to a personal use habit, and if the user is not set, screen capture control is performed according to an optimal duration recommended by the system.
According to the screen capture control method and device, the screen capture operation can be automatically realized by setting the first preset time, the screen capture control mode completely accords with the use habit of a user, the screen capture efficiency can be effectively improved, and the operation of the user is facilitated.
Based on the content of the above embodiment, as an optional embodiment, the outputting the screenshot target image based on the screenshot sub-image includes:
performing image synthesis on the two screen capture subimages, and outputting a temporary screen capture image;
under the condition that a screen capture stop condition is met, taking the temporary screen capture image as a screen capture target image, and outputting the screen capture target image;
under the condition that the screen capture stopping condition is not met, continuing to synthesize the temporary screen capture image and another screen capture subimage, and taking an output image as a new temporary screen capture image;
the screen capture stop condition includes: receiving a third input of the user or determining that the temporary screen capture image is a complete screen capture image of the target file.
The application provides a method for acquiring a screenshot target image, wherein a user can control an image sub-area displayed on a screen of electronic equipment through first input, the image sub-area displayed on the screen of the electronic equipment is changed in the horizontal direction, and horizontal screenshot control is achieved; and the image subarea displayed on the screen of the electronic equipment can be changed in the vertical direction, so that the screenshot control in the vertical direction is realized.
Fig. 4 is a second flowchart of the screen capture method provided in the present application, and as shown in fig. 4, the process of the screen capture operation performed by the user may be:
step 1: under the condition that a user displays an image subregion on a screen of the electronic device, if the image subregion is not a target image subregion, changing the content displayed on the screen of the electronic device in the vertical direction through first input until the target image subregion appears, and then capturing the target image subregion to realize screenshot in the horizontal direction and obtain a screenshot image P1;
step 2: the user can continue to realize screenshot in the vertical direction or screenshot in the horizontal direction according to the method in the step 1, and the acquired screenshot sub-image is set as P2;
and step 3: carrying out image synthesis on the screen capture sub-image P1 and the screen capture sub-image P2 to generate a temporary screen capture image P' 1;
and 4, step 4: if the user judges that the temporary screenshot image P '1 is not the screenshot target image, continuing to iteratively execute the step 1-the step 3 to output a temporary screenshot image P' 2; the screenshot target image can be a full screenshot image of the target file or a partial screenshot image of the target file.
And 5: if the user determines that the temporary screen capture image P '2 is the screen capture target image, the user may instruct the electronic device to stop screen capture and output the temporary screen capture image P' 2 as the screen capture target image through a third input.
It should be noted that the automatic screen capture operation of the electronic device may be preset until the acquired temporary screen capture image is a full screen capture image of the target file, or a user instruction to stop screen capture is received.
Alternatively, the third input may be a click, press, or slide input on the screen of the electronic device, or the like in a case where the user displays a screen capture interface on the screen, such as: the present application is not particularly limited to the case where a trajectory in the shape of a "T" or a trajectory in the shape of an "X" is input by sliding with a finger on the screen of the electronic device.
It should be noted that, with the screen capture method provided by the present application, a user can determine whether each operation is to perform a vertical screen capture or a horizontal screen capture according to the actual screen capture requirement. As shown in fig. 4, in step 1, the user may also perform a horizontal screenshot first, and then perform a vertical screenshot or a horizontal screenshot successively, which is not specifically limited in this application.
Fig. 5 is a third schematic flow diagram of a screen capture method provided in the embodiment of the present application, and as shown in fig. 5 and fig. 3, the present application provides another screen capture operation method, which is described by taking as an example that a user starts to capture a screen from a vertical direction step by step, and the steps mainly include, but are not limited to:
step 1: a user takes a screenshot of a sub-region of an image on a screen of an electronic device. After screen capture, the user displays a captured interval Y1 and an un-captured interval Y2 on the vertical progress bar, wherein the second page number is r 1/t. At the moment, the user displays a screenshot zone X1 and an screenshot-free zone X2 on the horizontal progress bar, wherein the first page number is marked as j 1/k; the generated screenshot image is P1.
Step 2: after the user performs screen capture in the horizontal direction, screen capture is performed in the vertical direction. After screen capture, the user displays a captured interval X3 on the horizontal progress bar, an uncoded interval is X4, and the first page number is marked as j 2/k. The user displays a screenshot zone Y3 on the vertical progress bar, an screenshot zone is not displayed, the screenshot zone is Y4, and the second page number is marked as r 2/t; after the captured image is acquired, the captured image is synthesized with P1 in step 1, and a temporary captured image P2 is generated.
And step 3: the user slides to the un-screenshot part Y2 or Yn through a cursor mark on the vertical progress bar mark in the vertical direction, and the current second page number mark is set as r 3/t; at the moment, the screenshot part in the horizontal direction is Xn; sliding to an un-screenshot part Xn +1 through a cursor mark on a horizontal progress bar mark, and setting a current first page number mark as j 3/k; after the display content on the screen of the electronic device is changed through the cursor identification, a new screenshot image is obtained, the new screenshot image is synthesized with the temporary screenshot image obtained in the previous step, and the temporary screenshot image P3 is output.
And 4, step 4: the user slides to a non-screenshot part X2 through a cursor identifier on a horizontal progress bar identifier in the horizontal direction, wherein the non-screenshot part is Xn, and a current first page identifier is jn/k; at the moment, the screenshot part in the horizontal direction is Yn, the screenshot part slides to the screenshot-free part Yn +1 through the cursor mark on the vertical progress bar mark, and the current second page mark is rn/t; after the display content on the screen of the electronic device is changed through the cursor identification, a new screenshot image is obtained, the new screenshot image is synthesized with the temporary screenshot image obtained in the previous step, and the temporary screenshot image P4 is output.
And 5: and (5) iteratively executing the steps 1 to 4 until a screen capture stop condition is met. Wherein the screen capture stop condition may be: receiving a third input of the user or determining that the temporary screen capture image is a complete screen capture image of the target file.
Step 6: and the user views, edits and shares the acquired screenshot target image.
According to the screen capture method, the screen capture sub-images acquired by each screen capture operation are respectively synthesized with the temporary screen capture images formed by all the screen capture sub-images before, so that the screen capture target image is generated step by step, in the process, a user can clearly know the progress state of the screen capture operation, interference control is performed on the screen capture content, the screen capture speed and the like according to actual progress, the screen capture requirements of different users can be met, and especially partial screen capture of the target file can be realized.
Based on the content of the foregoing embodiment, as an optional embodiment, the image synthesizing at least two screen capture sub-images and outputting a temporary screen capture image includes:
and according to the sequence of the screen capturing time of each screen capturing subimage, sequentially carrying out image synthesis on each screen capturing subimage, and outputting a temporary screen capturing image.
According to the screen capture method provided by the application, the screen capture sub-images acquired later are sequentially synthesized with the temporary screen capture images synthesized by all the screen capture sub-images before according to the acquisition time of the screen capture sub-images, and finally, the screen capture target image is generated and output.
It should be noted that, with this synthesis method, the adopted picture synthesis method is to splice two frame screenshot sub-images in time sequence, and although the size of the finally output screenshot target image is generally different from the image size of the target file, the screenshot speed can be effectively increased for the user who only needs to acquire all the screenshot images and has low requirements on image synthesis.
Further, the image composition of at least two of the screen capture sub-images and outputting the temporary screen capture image mainly includes:
respectively determining first zone bit information and second zone bit information of the two screen capture sub-images in the screen capture target image according to the position information of the image sub-area corresponding to each screen capture sub-image in the target file;
and performing image synthesis on the two screen capture subimages based on the first flag bit information and the second flag bit information, and outputting the temporary screen capture image.
The screen capture method provided by the application realizes the image synthesis according to the position information of the acquired screen capture sub-images in the target file at the front and back time points.
Specifically, taking the example shown in fig. 2 as an example, it is assumed that the two acquired screen capture sub-images are P1 and P2 in fig. 2, respectively. Since the sizes of the two frame screen capture sub-images P1 and P2 are the same as the size of the screen of the electronic device, the actual positions of P1 and P2 in the target file can be determined according to the image sub-areas corresponding to P1 and P2.
In the screen capture method provided by the application, the position information of the P1 and the P2 in the screen capture target image can be acquired and recorded as the first flag bit information and the second flag bit information according to the actual position information of the image subareas corresponding to P1 and P2 in the target file.
Further, the two frame screenshot sub-images may be synthesized according to the first flag information and the second flag information. For example: respectively splicing the two frames of screen capture subimages to the first marker bit and the second marker bit if the two frames of screen capture subimages do not have an intersection area; if an intersection region exists between the two frame screen capture sub-images, the position of the synthesized temporary screen capture image in the screen capture target image can be ensured according to the union set of the first marker bit information and the second marker bit information of the two frame screen capture sub-images.
Further, in the screen capture method provided by the present application, the image synthesizing the two screen capture sub-images based on the first flag information and the second flag information, and outputting the temporary screen capture image includes:
synthesizing the two screen capture subimages into the temporary screen capture image based on the first flag bit information and the second flag bit information;
in the case that an unfilled region corresponding to the target file non-screenshot region exists in the temporary screenshot image, filling the unfilled region with a blank image; the size of the screen capture target image is the same as the image size of the target file.
Specifically, the screen capture method provided by the application requires that the size of the captured screen capture target image is the same as the image size of the target file.
Under the condition that the screen capture target image to be acquired is a partial screen capture image of the target document, filling a blank image in the area which does not contain the screen capture image of the target document in the screen capture target image to ensure that the size of the finally output screen capture target image is the same as the image size of the target document,
according to the screen capture method, in the synthesis process of the screen capture target image, the area of the screen capture image which does not contain the target document is filled, the size of the acquired screen capture target image can be ensured to be the same as the image size of the target document, so that a user can clearly know the specific position of the screen capture part in the target document, the user can conveniently recheck the finally acquired screen capture target image, and the integrity of the screen capture target image is ensured.
Further, in the screen capture method provided by the present application, the image synthesis is performed on the two screen capture sub-images based on the first flag bit information and the second flag bit information, and the temporary screen capture image is output, where:
synthesizing the two screen capture subimages into the temporary screen capture image based on the first flag bit information and the second flag bit information;
and in the case that an unfilled region corresponding to the non-screenshot region of the target file exists in the temporary screenshot image, representing the unfilled region by a separation line.
Compared with the synthesis method of the temporary screen capture image provided in the above embodiment, particularly in the case where the screen capture target image to be acquired is a partial screen capture image of the target document, the two synthesis methods are different mainly in that:
according to the screen capture method provided by the application, firstly, according to the method of the embodiment, in the synthesis process of the screen capture target image, after a new frame of screen capture sub-image is obtained, the corresponding position of the screen capture sub-image in the target file can be determined according to the zone bit information of the screen capture sub-image, and therefore the zone bit information of the screen capture sub-image in the screen capture target image is determined, so that the screen capture sub-image is synthesized to the zone bit. The difference of the application is that after the screen capture subimages are synthesized to the flag bit, whether an area which is not filled by the screen capture image exists between the screen capture subimage and other adjacent screen capture subimages needs to be further judged; and if an unfilled area corresponding to the target file non-screenshot area exists, representing the unfilled area by using a separator.
According to the screen capture method, the areas of the screen capture images which do not contain the target document are combined and marked by the separation line, so that the size of the screen capture target images can be effectively reduced, a user can conveniently check the screen capture target images, the user can determine the position relation among the screen capture images according to the screen capture target images, the user can conveniently recheck the screen capture target images, and the correctness of the screen capture target images is guaranteed.
Fig. 6 is a schematic structural diagram of a screen capture device provided in an embodiment of the present application, and as shown in fig. 6, the screen capture device provided in the present application mainly includes: a first receiving module 61, a first responding module 62, a screen capture processing module 63 and an image processing unit 64;
the first receiving module 601 is mainly used for receiving a plurality of times of first inputs of a user;
the first response module 602 is mainly configured to respectively display a plurality of image sub-regions of the target file on a screen of the electronic device in response to the first input;
the screen capture processing module 603 is mainly used for capturing a screen to obtain a screen capture sub-image corresponding to the target image subregion under the condition that the screen capture trigger condition is met;
the image processing unit 604 is mainly configured to output a screenshot target image based on the screenshot sub-image;
wherein the image size of the target file is larger than the screen size of the electronic equipment, and at least one of the image sub-regions is taken as the target image sub-region.
Specifically, the processing object of the screen capture processing device provided by the application can be a target file with any image size, and especially, the screen capture processing of a large-size and large-content document can be realized, so that the defect that a clear and complete screen capture cannot be realized in the existing screen capture technology is overcome.
The first input received by the first receiving module 601 may be a sliding input of a finger on the screen by a user to the left, the right, the up or the down, through which an adjustment of the display content on the screen of the electronic device can be achieved. Wherein, the display content on the screen of the electronic equipment is a certain image subarea of the target file.
Further, assuming that the first input is a sliding input on a screen line of the electronic device, the first response module 602 may adjust display contents on the screen of the electronic device according to a direction of the first input, a track of the input, and the like, so as to respectively display different image sub-areas of the target file.
Further, in the process of sequentially displaying the plurality of image sub-regions on the screen of the electronic device, the screen capture processing module 603 is mainly configured to collect information for the currently displayed image sub-regions, and determine whether the current screen capture state meets the screen capture trigger condition. And under the condition that the screen capture triggering condition is satisfied, taking the image subarea displayed on the screen of the electronic equipment as a screen capture object, and executing screen capture operation.
Finally, the image processing unit 604 is configured to synthesize the screen capture sub-image with the temporary screen capture image obtained by synthesizing all the screen capture sub-images before, after a new screen capture sub-image is obtained each time, so as to achieve the purpose of outputting the screen capture target image.
The screen capture device provided by the application can capture the target content in the large file for multiple times according to the selection of a user, and then combines and splices the screen capture images to obtain a complete and clear large file screen capture, so that the selection requirement of the user on the screen capture content can be met, and the quality of the screen capture images is effectively improved.
Optionally, a progress bar identifier is displayed on a screen of the electronic device, and the progress bar identifier includes a vertical progress bar identifier and a horizontal progress bar identifier;
the total sliding track of the horizontal progress bar mark is matched with the image width of the target file; the total sliding track of the vertical progress bar mark is matched with the image length of the target file;
and marking the screen-captured part and the screen-non-captured part of the target file through different progress bar intervals on the progress bar mark.
The screen capture system provided by the application sets up the progress bar sign on electronic equipment's screen, and through setting up different progress bar intervals at the progress bar sign, show the target file to the user and have been caught the screen capturing part with not being caught the screen capturing part, convenience of customers in time knows the progress of screen capture, and can the direct positioning to not being caught the screen capturing part, need not the user and look over again the confirmation to whole target file, improved the efficiency of user screenshot.
Optionally, the first response module is specifically configured to:
adjusting a sub-region of an image displayed on a screen of the electronic equipment in response to positioning operations of two cursor identifiers by a user;
the two vernier marks are respectively positioned in the vertical direction progress bar and the horizontal direction progress bar;
and the image sub-region is determined according to the positions of the two cursor marks after the positioning operation in the vertical direction progress bar and the horizontal direction progress bar.
The screen capture system provided by the application sets the progress bar marks on the screen of the electronic equipment, and sets a cursor mark on each progress bar mark, so that a user can directly position the current display content of the screen of the electronic equipment through the position of the cursor mark on the progress bar marks, convenience is provided for the user to rapidly position the target image sub-region to obtain the corresponding target image sub-region, and the screen capture efficiency of the user is effectively improved.
Optionally, page identifiers are displayed on a screen of the electronic device, and the page identifiers include a first page identifier and a second page identifier;
displaying the total number of horizontal pages and the number of horizontal pages on the first page identifier; the total number of horizontal pages is determined according to the ratio of the image width of the target file to the screen width of the electronic equipment; the horizontal page number is the page number of the display content of the screen of the electronic equipment in the horizontal direction;
displaying the total number of the vertical pages and the number of the vertical pages on the second page identifier; the total number of the vertical pages is determined according to the ratio of the image length of the target file to the screen length of the electronic equipment; the vertical page number is the page number of the display content of the screen of the electronic equipment in the vertical direction at present.
The screen capture system provided by the application has the advantages that the page number identification is arranged on the screen of the electronic equipment, the total page number and the current page number are displayed on the page number identification, the positioning of the sub-region of the image displayed on the screen of the electronic equipment in a target file is displayed for a user, the user can know the current screen capture state in time, the user can check the screen capture system conveniently, and the screen capture efficiency of the user is also improved.
Optionally, the first response module is specifically configured to:
adjusting a sub-area of an image displayed on the terminal screen in response to a modification input of at least one of the two page number identifiers by a user;
the image sub-area is the content determined in the target file according to the two page number identifications after the modification input.
The screen capture system provided by the application sets the page number identification on the screen capture interface, so that a user can directly position the current display content of the screen of the electronic equipment through setting the page number identification, especially, the user can conveniently position the sub-region of the target image rapidly when capturing the screen of a large document with more total pages, and meanwhile, the user can conveniently obtain the corresponding sub-region of the target image, and the screen capture efficiency of the user is effectively improved.
Optionally, the screen capture processing module is specifically configured to:
in the process of sequentially displaying the plurality of image sub-areas on the screen of the electronic equipment, under the condition of receiving a second input of a user, responding to the second input, and acquiring a screen capture sub-image corresponding to the target image sub-area by screen capture;
or, under the condition that the time length for displaying the current image subregion on the screen of the electronic equipment exceeds a first preset time length, determining the current image subregion as the target image subregion; and screen capture is carried out to obtain a screen capture sub-image corresponding to the target image subregion.
Optionally, the image processing unit is specifically configured to:
performing image synthesis on the two screen capture subimages, and outputting a temporary screen capture image;
taking the temporary screen capture image as a screen capture target image and outputting the screen capture target image when the screen capture stop condition is met;
under the condition that the screen capture stopping condition is not met, continuing to synthesize the temporary screen capture image and another screen capture subimage, and taking an output image as a new temporary screen capture image; performing image synthesis on the other screen capture sub-image, and taking an output image as a new temporary screen capture image;
the screen capture stop condition includes: receiving a third input of the user or determining that the temporary screen capture image is a complete screen capture image of the target file.
Optionally, the image processing unit is further specifically configured to: and according to the sequence of the screen capturing time of each screen capturing subimage, sequentially carrying out image synthesis on each screen capturing subimage, and outputting a temporary screen capturing image.
Optionally, the image processing unit is further specifically configured to:
respectively determining first zone bit information and second zone bit information of the two screen capture sub-images in the screen capture target image according to the position information of the image sub-area corresponding to each screen capture sub-image in the target file;
and performing image synthesis on the two screen capture subimages based on the first flag bit information and the second flag bit information, and outputting the temporary screen capture image.
According to the screen capture system, the screen capture sub-images acquired by each screen capture operation are respectively synthesized with the temporary screen capture images formed by all the screen capture sub-images before, so that the screen capture target images are generated step by step, and in the process, a user can clearly know the progress state of the screen capture operation, so that the screen capture content, the screen capture speed and the like can be controlled according to the actual progress state, therefore, the screen capture requirements of different users can be met, and especially, partial screen capture of the target file can be realized.
Optionally, the image processing unit is further specifically configured to:
synthesizing the two screen capture subimages into the temporary screen capture image based on the first flag bit information and the second flag bit information;
filling an unfilled region with a blank image when the unfilled region corresponding to the non-screenshot region of the target file exists in the temporary screenshot image;
the size of the screen capture target image is the same as the image size of the target file.
According to the screen capture system, in the synthesis process of the screen capture target image, the method for filling the area of the screen capture image without the target document is adopted, so that the size of the acquired screen capture target image is the same as the size of the image of the target document, a user can conveniently and clearly master the specific position of the screen capture part in the target document, the user can conveniently recheck the finally acquired screen capture target image, and the integrity of the screen capture target image is ensured.
Optionally, the image processing unit is further specifically configured to:
synthesizing the two screen capture subimages into the temporary screen capture image based on the first flag bit information and the second flag bit information;
and when an unfilled region corresponding to the non-screenshot region of the target file exists in the temporary screenshot image, representing the unfilled region by a separation line.
The screen capture system provided by the application combines the areas of the screen capture images which do not contain the target document, marks the areas by using a separation line, can effectively reduce the size of the screen capture target images, is convenient for a user to check, and the user can determine the position relation among the screen capture images according to the screen capture target images, so that the user can conveniently recheck the screen capture target images, and the correctness of the screen capture target images is ensured.
It should be noted that the screen capturing device provided in the foregoing embodiment of the present application can implement all the method steps of the foregoing screen capturing method embodiment and achieve the same technical effect, and details are not repeated herein.
The electronic device in the embodiment of the present application may be an apparatus, and may also be a component, an integrated circuit, or a chip in the electronic device. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The screen capture device in the embodiment of the application can be a device with an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The screen capture device provided in the embodiment of the present application can implement each process implemented by the screen capture device in the method embodiments of fig. 1 to 8, and is not described here again to avoid repetition.
Optionally, an electronic device 70 is further provided in this embodiment of the present application, as shown in fig. 7, and includes a processor 72, a memory 71, and a program or an instruction stored in the memory 71 and executable on the processor 72, where the program or the instruction is executed by the processor 72 to implement each process of the foregoing screenshot method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and the non-mobile electronic devices described above.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 800 includes, but is not limited to: a radio frequency unit 801, a network module 802, an audio output unit 803, an input unit 804, a sensor 805, a display unit 806, a user input unit 807, an interface unit 808, a memory 809, and a processor 810.
Those skilled in the art will appreciate that the electronic device 800 may further comprise a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 810 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
It should be understood that in the embodiment of the present application, the input Unit 804 may include a Graphics Processing Unit (GPU) 841 and a microphone 842, and the Graphics Processing Unit 841 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 806 may include a display panel 861, and the display panel 861 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 807 includes a touch panel 871 and other input devices 872. Touch panel 871, also referred to as a touch screen. The touch panel 871 may include two parts of a touch detection device and a touch controller. Other input devices 872 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 809 may be used to store software programs as well as various data including, but not limited to, application programs and operating systems. The processor 810 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 810.
Wherein, the user input unit 807 is used for receiving a plurality of first inputs; the processor 810 is configured to display a plurality of image sub-regions of the target file on a screen of the electronic device, respectively, in response to the first input; the processor 810 is further configured to capture a screen to obtain a screen capture sub-image corresponding to the target image sub-region when the screen capture trigger condition is met; the processor 810 is further configured to output a screenshot target image based on the screenshot sub-image;
wherein the image size of the target file is larger than the screen size of the electronic equipment, and at least one of the image sub-regions is taken as the target image sub-region.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the foregoing screenshot method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the foregoing screenshot method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (16)

1. A screen capture method, comprising:
receiving a first input a plurality of times;
in response to the first input, respectively displaying a plurality of image sub-regions of a target file on a screen of the electronic device;
under the condition that a screen capture triggering condition is met, screen capture is carried out to obtain a screen capture subimage corresponding to the target image subregion;
outputting a screen capture target image based on the screen capture subimage;
wherein the image size of the target file is larger than the screen size of the electronic equipment, and at least one of the image sub-regions is taken as the target image sub-region.
2. The screen capture method according to claim 1, wherein a progress bar mark is displayed on the screen of the electronic device, and the progress bar mark comprises a vertical progress bar mark and a horizontal progress bar mark;
the total sliding track of the horizontal progress bar mark is matched with the image width of the target file;
the total sliding track of the vertical progress bar mark is matched with the image length of the target file;
and marking the screen-captured part and the screen-non-captured part of the target file through different progress bar intervals on the progress bar mark.
3. The screen capture method of claim 2, wherein the displaying, in response to the first input, a plurality of image subregions of the target file on the screen of the electronic device respectively comprises:
adjusting a sub-region of an image displayed on a screen of the electronic equipment in response to positioning operations of two cursor identifiers by a user;
the two vernier marks are respectively positioned in the vertical direction progress bar and the horizontal direction progress bar;
and the image sub-region is determined according to the positions of the two cursor marks after the positioning operation in the vertical direction progress bar and the horizontal direction progress bar.
4. The screen capture method according to claim 1, wherein page identifiers are arranged on a screen of the electronic device, and the page identifiers comprise a first page identifier and a second page identifier;
displaying the total number of horizontal pages and the number of horizontal pages on the first page identifier; the total number of horizontal pages is determined according to the ratio of the image width of the target file to the screen width of the electronic equipment; the horizontal page number is the page number of the display content of the screen of the electronic equipment in the horizontal direction;
displaying the total number of the vertical pages and the number of the vertical pages on the second page identifier; the total number of the vertical pages is determined according to the ratio of the image length of the target file to the screen length of the electronic equipment; the vertical page number is the page number of the display content of the screen of the electronic equipment in the vertical direction at present.
5. The screen capture method of claim 1, wherein in a case that a screen capture trigger condition is met during the process of displaying the plurality of image sub-regions, the screen capture obtaining a screen capture sub-image corresponding to a target image sub-region comprises:
in the process of sequentially displaying the plurality of image sub-areas on the screen of the electronic equipment, under the condition of receiving a second input, responding to the second input, and acquiring a screen capture sub-image corresponding to the target image sub-area by screen capture;
or, when the time length of any image subregion displayed on the screen of the electronic device exceeds a first preset time length, acquiring a screen capture subimage corresponding to the target image subregion by screen capture.
6. The screen capture method of claim 1, wherein outputting the screen capture target image based on the screen capture sub-image comprises:
performing image synthesis on the two screen capture subimages, and outputting a temporary screen capture image;
under the condition that a screen capture stop condition is met, taking the temporary screen capture image as a screen capture target image, and outputting the screen capture target image;
under the condition that the screen capture stopping condition is not met, continuing to synthesize the temporary screen capture image and another screen capture subimage, and taking an output image as a new temporary screen capture image;
the screen capture stop condition includes: receiving a third input or determining the temporary screenshot image to be a complete screenshot image of the target file.
7. The screen capture method of claim 6, wherein the image synthesizing at least two of the screen capture sub-images and outputting a temporary screen capture image comprises:
and according to the sequence of the screen capturing time of each screen capturing subimage, sequentially carrying out image synthesis on each screen capturing subimage, and outputting a temporary screen capturing image.
8. The screen capture method of claim 6, wherein the image synthesizing at least two of the screen capture sub-images and outputting a temporary screen capture image comprises:
respectively determining first zone bit information and second zone bit information of the two screen capture sub-images in the screen capture target image according to the position information of the image sub-area corresponding to each screen capture sub-image in the target file;
and performing image synthesis on the two screen capture subimages based on the first flag bit information and the second flag bit information, and outputting the temporary screen capture image.
9. A screen capture device, comprising:
the first receiving module is used for receiving a first input for multiple times;
the first response module is used for responding to the first input and respectively displaying a plurality of image sub-areas of the target file on a screen of the electronic equipment;
the screen capture processing module is used for capturing a screen to obtain a screen capture sub-image corresponding to the target image subregion under the condition that the screen capture triggering condition is met;
an image processing unit for outputting a screen capture target image based on the screen capture sub-image;
wherein the image size of the target file is larger than the screen size of the electronic equipment, and at least one of the image sub-regions is taken as the target image sub-region.
10. The screen capturing device of claim 9, wherein a progress bar mark is displayed on the screen of the electronic equipment, and the progress bar mark comprises a vertical progress bar mark and a horizontal progress bar mark;
the total sliding track of the horizontal progress bar mark is matched with the image width of the target file; the total sliding track of the vertical progress bar mark is matched with the image length of the target file;
and marking the screen-captured part and the screen-non-captured part of the target file through different progress bar intervals on the progress bar mark.
11. The screen capture device of claim 10, wherein the first response module is specifically configured to:
adjusting a sub-region of an image displayed on a screen of the electronic equipment in response to positioning operations of two cursor identifiers by a user;
the two vernier marks are respectively positioned in the vertical direction progress bar and the horizontal direction progress bar;
and the image sub-region is determined according to the positions of the two cursor marks after the positioning operation in the vertical direction progress bar and the horizontal direction progress bar.
12. The screen capturing device according to claim 9, wherein page identifiers are displayed on the screen of the electronic device, and the page identifiers include a first page identifier and a second page identifier;
displaying the total number of horizontal pages and the number of horizontal pages on the first page identifier; the total number of horizontal pages is determined according to the ratio of the image width of the target file to the screen width of the electronic equipment; the horizontal page number is the page number of the display content of the screen of the electronic equipment in the horizontal direction;
displaying the total number of the vertical pages and the number of the vertical pages on the second page identifier; the total number of the vertical pages is determined according to the ratio of the image length of the target file to the screen length of the electronic equipment; the vertical page number is the page number of the display content of the screen of the electronic equipment in the vertical direction at present.
13. The screen capture device of claim 9, wherein the screen capture processing module is specifically configured to:
in the process of sequentially displaying the image sub-areas on the screen of the electronic equipment, under the condition of receiving a second input, responding to the second input, and acquiring a screen capture sub-image corresponding to the target image sub-area by screen capture;
or, under the condition that the time length of the current image subregion displayed on the screen of the electronic equipment exceeds a first preset time length, determining the current image subregion as the target image subregion; and screen capture is carried out to obtain a screen capture sub-image corresponding to the target image subregion.
14. The screen capture device of claim 9, wherein the image processing unit is specifically configured to:
performing image synthesis on the two screen capture subimages, and outputting a temporary screen capture image;
under the condition that a screen capture stop condition is met, taking the temporary screen capture image as a screen capture target image, and outputting the screen capture target image;
under the condition that the screen capture stopping condition is not met, continuing to synthesize the temporary screen capture image and another screen capture subimage, and taking an output image as a new temporary screen capture image; performing image synthesis on the other screen capture sub-image, and taking an output image as a new temporary screen capture image;
the screen capture stop condition includes: receiving a third input or determining the temporary screenshot image to be a complete screenshot image of the target file.
15. The screen capture device of claim 14, wherein the image processing unit is further specifically configured to: and according to the sequence of the screen capturing time of each screen capturing subimage, sequentially carrying out image synthesis on each screen capturing subimage, and outputting a temporary screen capturing image.
16. The screen capture device of claim 14, wherein the image processing unit is further specifically configured to:
respectively determining first zone bit information and second zone bit information of the two screen capture sub-images in the screen capture target image according to the position information of the image sub-area corresponding to each screen capture sub-image in the target file;
and performing image synthesis on the two screen capture subimages based on the first flag bit information and the second flag bit information, and outputting the temporary screen capture image.
CN202011401431.0A 2020-12-02 2020-12-02 Screen capturing method and screen capturing device Pending CN112527176A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011401431.0A CN112527176A (en) 2020-12-02 2020-12-02 Screen capturing method and screen capturing device
PCT/CN2021/132979 WO2022116886A1 (en) 2020-12-02 2021-11-25 Screenshot method and screenshot apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011401431.0A CN112527176A (en) 2020-12-02 2020-12-02 Screen capturing method and screen capturing device

Publications (1)

Publication Number Publication Date
CN112527176A true CN112527176A (en) 2021-03-19

Family

ID=74997987

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011401431.0A Pending CN112527176A (en) 2020-12-02 2020-12-02 Screen capturing method and screen capturing device

Country Status (2)

Country Link
CN (1) CN112527176A (en)
WO (1) WO2022116886A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113689778A (en) * 2021-08-03 2021-11-23 厦门卫星定位应用股份有限公司 High-precision map generation method for bus route
CN114119375A (en) * 2022-01-25 2022-03-01 广州市玄武无线科技股份有限公司 Method and system for realizing automatic generation of long screenshot at iOS (internet operating system) end
WO2022116886A1 (en) * 2020-12-02 2022-06-09 维沃移动通信有限公司 Screenshot method and screenshot apparatus
WO2023030307A1 (en) * 2021-08-31 2023-03-09 维沃移动通信有限公司 Screenshot method and apparatus, and electronic device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324439A (en) * 2013-06-27 2013-09-25 广东欧珀移动通信有限公司 Method and device for batch marking of files in electronic equipment with touch screen
CN105739873A (en) * 2016-03-10 2016-07-06 努比亚技术有限公司 Screen capturing method and terminal
CN107015739A (en) * 2017-03-07 2017-08-04 惠州Tcl移动通信有限公司 A kind of method and system for intercepting long length screen content
CN108307036A (en) * 2017-12-11 2018-07-20 维沃移动通信有限公司 A kind of screenshotss method and terminal device
US20180349107A1 (en) * 2017-06-05 2018-12-06 Apptimize, Inc. Preview Changes To Mobile Applications At Different Display Resolutions
CN110045892A (en) * 2019-04-19 2019-07-23 维沃移动通信有限公司 Display methods and terminal device
CN110568973A (en) * 2019-09-09 2019-12-13 网易(杭州)网络有限公司 screenshot method, screenshot device, storage medium and terminal equipment
CN111586237A (en) * 2020-04-30 2020-08-25 维沃移动通信有限公司 Image display method and electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112527176A (en) * 2020-12-02 2021-03-19 维沃移动通信有限公司 Screen capturing method and screen capturing device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324439A (en) * 2013-06-27 2013-09-25 广东欧珀移动通信有限公司 Method and device for batch marking of files in electronic equipment with touch screen
CN105739873A (en) * 2016-03-10 2016-07-06 努比亚技术有限公司 Screen capturing method and terminal
CN107015739A (en) * 2017-03-07 2017-08-04 惠州Tcl移动通信有限公司 A kind of method and system for intercepting long length screen content
US20180349107A1 (en) * 2017-06-05 2018-12-06 Apptimize, Inc. Preview Changes To Mobile Applications At Different Display Resolutions
CN108307036A (en) * 2017-12-11 2018-07-20 维沃移动通信有限公司 A kind of screenshotss method and terminal device
CN110045892A (en) * 2019-04-19 2019-07-23 维沃移动通信有限公司 Display methods and terminal device
CN110568973A (en) * 2019-09-09 2019-12-13 网易(杭州)网络有限公司 screenshot method, screenshot device, storage medium and terminal equipment
CN111586237A (en) * 2020-04-30 2020-08-25 维沃移动通信有限公司 Image display method and electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022116886A1 (en) * 2020-12-02 2022-06-09 维沃移动通信有限公司 Screenshot method and screenshot apparatus
CN113689778A (en) * 2021-08-03 2021-11-23 厦门卫星定位应用股份有限公司 High-precision map generation method for bus route
WO2023030307A1 (en) * 2021-08-31 2023-03-09 维沃移动通信有限公司 Screenshot method and apparatus, and electronic device
CN114119375A (en) * 2022-01-25 2022-03-01 广州市玄武无线科技股份有限公司 Method and system for realizing automatic generation of long screenshot at iOS (internet operating system) end

Also Published As

Publication number Publication date
WO2022116886A1 (en) 2022-06-09

Similar Documents

Publication Publication Date Title
CN112527176A (en) Screen capturing method and screen capturing device
US6700612B1 (en) Reviewing and navigating among images on an image capture unit using a thumbnail position memory bar
CN112492212B (en) Photographing method and device, electronic equipment and storage medium
CN112135049B (en) Image processing method and device and electronic equipment
CN112995500B (en) Shooting method, shooting device, electronic equipment and medium
CN113794829B (en) Shooting method and device and electronic equipment
CN111857512A (en) Image editing method and device and electronic equipment
US20060033884A1 (en) Projection device projection system, and image obtainment method
CN112449110B (en) Image processing method and device and electronic equipment
US20240143148A1 (en) Display control method and apparatus
CN115454365A (en) Picture processing method and device, electronic equipment and medium
CN114302009A (en) Video processing method, video processing device, electronic equipment and medium
CN116501222A (en) Image display method and device and electronic equipment
CN112822394B (en) Display control method, display control device, electronic equipment and readable storage medium
CN112333395A (en) Focusing control method and device and electronic equipment
US20150206282A1 (en) Image processing device, image processing method, and image processing program
CN112162805B (en) Screenshot method and device and electronic equipment
CN113873081B (en) Method and device for sending associated image and electronic equipment
CN114327173A (en) Information processing method and device and electronic equipment
CN112333389B (en) Image display control method and device and electronic equipment
CN112764632B (en) Image sharing method and device and electronic equipment
JP6120541B2 (en) Display control apparatus and control method thereof
CN113986080A (en) Multimedia file editing method and device and electronic equipment
CN114827471B (en) Shooting method, display method, shooting device and display device
JP2008301274A (en) Information processing apparatus and method, and program

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