WO2018072413A1 - Terminal screenshot method and apparatus, and mobile terminal and storage medium - Google Patents

Terminal screenshot method and apparatus, and mobile terminal and storage medium Download PDF

Info

Publication number
WO2018072413A1
WO2018072413A1 PCT/CN2017/080912 CN2017080912W WO2018072413A1 WO 2018072413 A1 WO2018072413 A1 WO 2018072413A1 CN 2017080912 W CN2017080912 W CN 2017080912W WO 2018072413 A1 WO2018072413 A1 WO 2018072413A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen
image
reference area
capture
scrolling
Prior art date
Application number
PCT/CN2017/080912
Other languages
French (fr)
Chinese (zh)
Inventor
常喆
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to JP2019520861A priority Critical patent/JP2019533251A/en
Publication of WO2018072413A1 publication Critical patent/WO2018072413A1/en

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/0485Scrolling or panning
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/04
    • G06T3/14
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformation in the plane of the image
    • G06T3/40Scaling the whole image or part thereof
    • G06T3/4038Scaling the whole image or part thereof for image mosaicing, i.e. plane images composed of plane sub-images

Definitions

  • the embodiments of the present invention relate to the field of electronic technologies, and in particular, to a method and device for intercepting a terminal, a mobile terminal, and a storage medium.
  • the user often saves and shares some content of interest to the platform such as Weibo and WeChat. What is often needed is to display a section of the content rather than the whole article, and the content is often not fully displayed on a screen interface, so how to conveniently extract the content to save it locally or share it with friends becomes an urgent problem to be solved.
  • the existing tools of the mobile terminal are to manually screen the required content separately, then enter the tool, sort the pictures sequentially, and then splicing to generate a long picture.
  • this can automatically generate the expected long picture, there are obvious drawbacks: first, the need to use third-party applications; second, the operation steps are cumbersome, and also need to remember the order of the pictures; third, for non-full-screen content, Unable to process (for example, only want to capture a continuous long picture in a certain range in the middle of the screen).
  • the technical problem to be solved by the present invention is to provide a method and device for intercepting a terminal, a mobile terminal, and a storage medium, and the method for generating a long picture by the existing screen capture has the disadvantages of cumbersome operation steps and inability to handle non-full-screen content.
  • an embodiment of the present invention provides a method for a terminal screen capture, including:
  • the final screen shot image is output.
  • the step of determining, on the display interface of the terminal screen, that an area is a screen reference area comprises:
  • a touch operation of the user on the screen is detected, and the screen reference area is determined on a display interface of the screen according to a start position and an end position of the touch operation.
  • each time the screen scrolls a preset distance a screen capture is performed according to an image change of the screen cut reference area, and the image obtained according to the multiple screen shots and the initial screen capture image are acquired.
  • the steps of the final screen capture image include:
  • the spliced image that is scrolled from the outside of the screen reference area to the screen reference area is intercepted, and the spliced image is spliced according to the previously saved screen image, or the previously saved screen image is performed. Cropping, cropping an image of the preset distance from the previously saved screenshot image;
  • each stitched or cropped image is saved as a new screen capture image, and the screen is When the screen scrolls the preset distance for the first time, the initial screen capture image is used as the screenshot image saved last time;
  • the currently saved screen shot image is taken as the final screen shot image.
  • the method further includes: before the screen is stopped scrolling, before the currently saved screen capture image is the final screen capture image, the method further includes:
  • the spliced image that is scrolled from the outside of the screen reference area to the screen reference area is intercepted, and the spliced image is spliced according to the previously saved screen image, or the previously saved screen image is performed. Cropping, cropping the image of the distance that continues to scroll from the previously saved screenshot image.
  • the steps of splicing, or cropping the previously saved screenshot image include:
  • the scrolling direction of the screen is the positive direction of the preset screen capture
  • the spliced image that is scrolled from outside the screen reference area to the screen reference area is intercepted, and spliced according to the obtained spliced image and the previously saved screen image;
  • the scrolling direction of the screen is the opposite direction of the positive direction of the screen capture, the previously saved screen capture image is cropped.
  • the detecting a touch operation on the screen by the user, and determining the screen reference area on the display interface of the screen according to the start position and the end position of the touch operation The method further includes:
  • the positive direction of the screen is determined according to the start position and the end position of the touch operation.
  • an embodiment of the present invention further provides an apparatus for intercepting a terminal, including:
  • the determining module is configured to: after detecting that the terminal enters the screen capture mode, determine an area as a screen reference area on the display interface of the terminal screen, and acquire an image in the screen reference area as an initial screen capture image;
  • a screen capture module configured to detect a screen scrolling, perform a screen capture according to an image change of the screen capture reference area, and obtain an image according to the multiple screen captures and the initial screen capture image each time the screen is scrolled by a preset distance Final screenshot image;
  • An output module configured to output the final screenshot image.
  • the determining module includes:
  • the determining submodule is configured to detect a touch operation of the user on the screen, and determine the screen reference area on the display interface of the screen according to the start position and the end position of the touch operation.
  • the screen capture module is configured to:
  • the spliced image that is scrolled from the outside of the screen reference area to the screen reference area is intercepted, and the spliced image is spliced according to the previously saved screen image, or the previously saved screen image is performed. Cropping, cropping an image of the preset distance from the previously saved screenshot image;
  • the image after each stitching or clipping is saved as a new screen capture image, and when the screen scrolls the preset distance for the first time, the initial screen capture image is used as the screenshot image saved last time;
  • the currently saved screen shot image is taken as the final screen shot image.
  • the screen capture module is further configured to:
  • the spliced image that is scrolled from the outside of the screen reference area to the screen reference area is intercepted, and the spliced image is spliced according to the previously saved screen image, or the previously saved screen image is performed. Cropping, cropping the image of the distance that continues to scroll from the previously saved screenshot image.
  • an embodiment of the present invention further provides a mobile terminal, comprising: the apparatus for intercepting a terminal according to any one of the preceding claims.
  • an embodiment of the present invention provides a computer storage medium in which computer executable instructions are stored, the computer executable instructions being used to execute the above method of terminal screen capture.
  • an embodiment of the present invention provides a mobile terminal, including a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor implements the following steps when executing the program. :
  • the final screen shot image is output.
  • an area is determined as a screen capture reference area on the display interface of the terminal screen, and an image in the screen reference area is acquired as an initial screen capture image; when the screen scroll is detected, the screen is detected.
  • a screen capture is performed according to the image change of the screen reference area, and the image and the initial image are obtained according to the multiple screen shots.
  • the screenshot image captures the final screen capture image; finally, the final screen capture image is output.
  • the user only needs to swipe the screen to realize continuous screen capture and automatically splicing to generate long pictures, which is easy to operate and can intercept non-full-screen content, thereby providing users with a means for saving and sharing data more conveniently and quickly, thereby improving the user experience.
  • the method for generating a long picture by the existing screen capture has the problem that the third-party application needs to be used, the operation steps are cumbersome, and the non-full-screen content cannot be processed.
  • FIG. 1 is a flow chart of a method for intercepting a terminal of the present invention
  • FIG. 2 is a schematic diagram of a screen reference area of a method for intercepting a terminal of the present invention
  • FIG. 3 is a flow chart of an application method of a terminal screen capture of the present invention.
  • FIG. 5 is a schematic structural diagram of an apparatus for intercepting a terminal according to the present invention.
  • a method for screen capture of a terminal includes:
  • Step 101 After detecting that the terminal enters the screen capture mode, determine an area as a screen cut reference area on the display interface of the terminal screen, and acquire an image in the screen cut reference area as an initial screen capture image.
  • the screen reference area may be a full screen area or a part of the area on the screen display interface.
  • the shape of the screen reference area may be a rectangular frame.
  • the terminal may enter the screen capture mode after receiving an instruction to enter the screen capture mode input by the user through a certain combination button or an icon on the screen.
  • the combination button can be a combination of a power button and a volume button.
  • Step 102 when the screen scrolling is detected, each time the screen is scrolled by a preset distance, according to Performing a screen shot for the image change of the screen reference area, and acquiring the final screen image according to the image obtained by the multiple screen shots and the initial screen shot image.
  • a screen capture is performed according to the image change of the screen reference area, and the final screen capture image is obtained according to the image obtained by the multiple screen captures and the initial screen capture image.
  • Step 103 Output the final screenshot image.
  • the method for intercepting the screen of the terminal in the embodiment of the invention enables the user to realize continuous screen capture and automatically stitching and generate long pictures only by sliding the screen, which is easy to operate and can intercept non-full-screen content, thereby providing users with more convenient and quick storage and sharing.
  • the means of data enhances the user experience.
  • the method for generating a long picture by the existing screen capture has the problem that the third-party application needs to be used, the operation steps are cumbersome, and the non-full-screen content cannot be processed.
  • the step of determining an area as a screen reference area on the display interface of the terminal screen includes:
  • Step 1011 Detect a touch operation of the user on the screen, and determine the screen reference area on the display interface of the screen according to the start position and the end position of the touch operation.
  • the screen reference area is determined, so that the user can select the image content to be saved on the screen.
  • the screen reference area is a rectangular frame, as shown in FIG. 2, according to the coordinate point A of the starting position of the user's touch operation on the screen (ie, the finger first touches the coordinate point of the screen) Corresponding transverse line segment L1 (line segment along the screen transverse direction) and longitudinal line segment L2 (line segment along the longitudinal direction of the screen), coordinate point B of the end position position (ie, the coordinate point of the finger leaving the screen) corresponding to the transverse line segment L3 and the longitudinal line segment L4, Determine the rectangle, which is the size and position of the screen reference area.
  • step 102 includes:
  • Step 1021 when the screen scrolls a preset distance each time; according to the screen scrolling direction, the spliced image scrolled from outside the screen reference area to the screen reference area is intercepted, and according to The obtained stitched image is stitched with the previously saved screen capture image, or the previously saved screen capture image is cropped, and the image of the preset distance is cut out from the previously saved screen capture image.
  • the image after each stitching or clipping is saved as a new screen capture image, and when the screen scrolls the preset distance for the first time, the initial screen capture image is used as the screenshot image saved last time.
  • the stitched image is clipped for splicing or the screen cut image is cropped.
  • a screen may be set in the positive direction. If the screen scrolling direction is the positive direction of the screen, the stitched image is intercepted for splicing. If the screen scrolling direction is the direction in which the screen is in the opposite direction, the screen image is cropped.
  • the splicing or cropping is started from the tail of the image.
  • Step 1023 When the screen stops scrolling, the currently saved screen capture image is used as the final screen capture image.
  • the currently saved screen capture image is taken as the final screen capture image.
  • the user can continuously splicing the screen image by sliding the screen to obtain a long picture.
  • the screen image can be cropped by sliding the screen to remove the redundant image, thereby providing users with more convenient and quicker.
  • the means of saving and sharing data enhances the user experience.
  • the method may further include:
  • Step 10231 if the screen is scrolled by a preset distance, and then continues to scroll by a distance and stops, and the distance of continuing scrolling is less than the preset distance, when the screen continues to scroll; according to the screen scrolling direction, the interception is performed. Scrolling to the spliced image in the screen reference area outside the screen reference area, and splicing according to the obtained spliced image and the previously saved screen image, or cropping the previously saved screen image, from the previous saved screen capture An image whose length is the distance to continue scrolling is cropped in the image.
  • the image scrolled from the outside of the screen reference area to the screen image of the previous save is spliced into the previously saved screen image, or the previously saved crop image is cropped. If the screen continues to scroll for a distance after scrolling the preset distance, and the distance is less than the preset distance, the image is stitched again or the image is cropped when the screen continues to scroll.
  • the stitched image of the distance is intercepted to splicing or cropping the image of the distance to ensure a complete image of the expected range.
  • the capturing a stitched image from outside the screen reference area to the screen reference area according to the screen scrolling direction, and according to the obtained stitching include:
  • Step 1024 If the screen scrolling direction is the preset screen cutting direction, the spliced image that is scrolled from outside the screen reference area to the screen reference area is intercepted, and the spliced image is spliced according to the previously saved screen image. .
  • the image is stitched.
  • Step 1025 if the screen scrolling direction is the opposite direction of the positive direction of the screen capture, the previous time The saved screenshot image is cropped.
  • the image is cropped.
  • the user can select the image to be spliced or cropped according to the needs, which is convenient for the user's operation and use, and improves convenience and intelligence.
  • the method may further include:
  • Step 1012 Determine a positive direction of the screen according to the starting position and the ending position of the touch operation.
  • the positive direction of the screen can be determined according to the user's touch operation.
  • the horizontal line segment corresponding to the coordinate point of the start position of the touch operation may be used as the starting line
  • the horizontal line segment corresponding to the coordinate point of the end position of the touch operation may be used as the ending line
  • the direction from the ending line to the starting line is determined to be the positive direction of the screen.
  • L3 can be pointed in the direction of L1, that is, the screen is scrolled up as the positive direction of the screen
  • L1 is directed to the direction of L3, that is, the screen is scrolled downward as the opposite direction of the positive direction of the screen.
  • the direction of L1 pointing to L3 is taken as the positive direction of the screen, or L4 is pointed to the direction of L2, that is, the screen is scrolled to the left as the positive direction of the screen, or L2 is pointed to the direction of L4, that is, the screen is scrolled to the right.
  • the screen is in the right direction.
  • the preset distance is less than or equal to half of the length of the rectangular frame (the length along the lateral direction of the screen) or the height (the height along the longitudinal direction of the screen). Wherein, when the screen is scrolled downward or upward to the positive direction of the screen, the preset distance is less than or equal to half of the height of the rectangular frame. When the screen is scrolled left or right to the positive direction of the screen, the preset distance is less than or equal to the length of the rectangular frame. Half of it.
  • a method for screen capture of a terminal includes:
  • Step 301 the terminal receives the instruction that the user enters the screen capture mode by pressing the input of the power button and the volume key, and then enters the screen capture mode.
  • Step 302 Detect a touch operation on the screen by the user, and determine a rectangular frame according to a horizontal line segment and a vertical line segment corresponding to the coordinate point of the start position of the touch operation on the screen, and the horizontal line segment and the vertical line segment corresponding to the coordinate point of the end position position. , that is, the size and position of the screen reference area. And the image in the rectangular frame is acquired as the initial screen shot image F1.
  • Step 303 the horizontal line segment corresponding to the coordinate point of the starting position of the touch operation is used as the starting line, and the horizontal line segment corresponding to the coordinate point of the end position of the touch operation is used as the ending line, and the direction from the ending line to the starting line is determined as the positive direction of the screen. .
  • the general screen orientation is the direction in which the screen scrolls upward.
  • the positive direction of the screen can also be the direction in which the screen scrolls down, scrolls left or scrolls to the right.
  • Step 304 When the screen scrolling is detected, and the screen scrolling direction is the positive direction of the screen, the screen scrolls the preset distance H, and the stitched image is scrolled from the outside of the rectangular frame to the rectangular frame, and is spliced with the previously saved screen image. The stitched image is saved as a new screenshot.
  • i is an integer greater than or equal to 1.
  • Step 305 If the screen continues to scroll by a distance H0 (H0 ⁇ H) after stopping the preset distance H, the screen is scrolled H0, and the spliced image is scrolled from the outside of the rectangular frame to the rectangular frame. A saved screenshot of the screen is stitched together.
  • Step 306 when the screen stops scrolling, the currently saved screen capture image is output as the final screen capture image.
  • An application flow of the method for cropping the terminal screen capture according to the embodiment of the present invention is as follows.
  • a method for screen capture of a terminal includes:
  • Step 307 after performing the above step 305, when the screen scrolling is detected, and the screen scrolling direction is the opposite direction of the screen cutting direction, the screen is cut by the preset preset distance H, and the previously saved screen image is cropped, and saved from the previous time.
  • the end of the screen capture begins cropping the image of length H, and each cropped image is saved as a new screenshot.
  • F F1+F2+...-F(i-1)+Fi-F1'-F2'-...-F(r-1)'-Fr'.
  • r is an integer greater than or equal to one.
  • Step 308 if the screen continues to scroll a distance h0 (h0 ⁇ H) after a preset scroll distance H, and then stops, when the screen scrolls h0, the image of length h0 is trimmed from the tail of the previously saved screen capture image. The cropped image is saved as a new screenshot.
  • Step 309 when the screen stops scrolling, the currently saved screen capture image is output as the final screen capture image.
  • the method for intercepting a screen of a terminal in the embodiment of the present invention enables a user to continuously cut a screen and automatically stitch and generate a long picture by simply sliding the screen, which is easy to operate and can intercept non-full-screen content, thereby providing users with more convenient and quicker.
  • the means of saving and sharing data enhances the user experience.
  • the method for generating a long picture by the existing screen capture has the problem that the third-party application needs to be used, the operation steps are cumbersome, and the non-full-screen content cannot be processed.
  • the apparatus for intercepting a terminal of an embodiment of the present invention includes:
  • the determining module 501 is configured to: after detecting that the terminal enters the screen capture mode, determine an area as a screen reference area on the display interface of the terminal screen, and acquire an image in the screen reference area as an initial screen capture image;
  • the screen capture module 502 is configured to perform a screen capture according to an image change of the screen capture reference area when the screen is scrolled each time, and each time the preset distance is scrolled by the screen, and according to the multiple times Obtaining the image obtained by the screen capture and the initial screen capture image to obtain the final screen capture image;
  • the output module 503 is configured to output the final screenshot image.
  • the apparatus for intercepting the screen of the terminal of the embodiment of the invention enables the user to realize continuous screen capture and automatically splicing to generate long pictures only by sliding the screen, and the operation is simple, and the non-full-screen content can be intercepted, thereby providing the user with more convenient and quick storage and sharing.
  • the means of data enhances the user experience.
  • the method for generating a long picture by the existing screen capture has the problem that the third-party application needs to be used, the operation steps are cumbersome, and the non-full-screen content cannot be processed.
  • the determining module 501 includes:
  • the determining submodule is configured to detect a touch operation of the user on the screen, and determine the screen reference area on the display interface of the screen according to the start position and the end position of the touch operation.
  • the screen capture module 502 is configured to:
  • the spliced image that is scrolled from the outside of the screen reference area to the screen reference area is intercepted, and the spliced image is spliced according to the previously saved screen image, or the previously saved screen image is performed. Cropping, cropping an image of the preset distance from the previously saved screenshot image;
  • the image after each stitching or clipping is saved as a new screen capture image, and when the screen scrolls the preset distance for the first time, the initial screen capture image is used as the screenshot image saved last time;
  • the currently saved screen shot image is taken as the final screen shot image.
  • the screen capture module 502 is further configured to:
  • the spliced image that is scrolled from the outside of the screen reference area to the screen reference area is intercepted, and the spliced image is spliced according to the previously saved screen image, or the previously saved screen image is performed. Cropping, cropping the image of the distance that continues to scroll from the previously saved screenshot image.
  • the screen capture module 502 includes:
  • the splicing sub-module is configured to: if the screen scrolling direction is the preset screen-cutting direction, intercept the spliced image that is scrolled from the screen-out reference area to the screen-cut reference area, and according to the obtained spliced image and the previously saved screen capture Image stitching;
  • the cropping sub-module is configured to crop the screen image saved the previous time if the scrolling direction of the screen is the opposite direction of the positive direction of the screen capture.
  • the apparatus further includes:
  • the second determining module is configured to determine a positive direction of the screen according to the starting position and the ending position of the touch operation.
  • the apparatus for intercepting the screen of the terminal of the embodiment of the invention enables the user to realize continuous screen capture and automatically splicing to generate long pictures only by sliding the screen, and the operation is simple, and the non-full-screen content can be intercepted, thereby providing the user with more convenient and quick storage and sharing.
  • the means of data enhances the user experience.
  • the method for generating a long picture by the existing screen capture has the problem that the third-party application needs to be used, the operation steps are cumbersome, and the non-full-screen content cannot be processed.
  • the device for screen capture of the terminal is a device corresponding to the method for screen capture of the terminal, and all the implementation manners of the foregoing method embodiments are applicable to the embodiment of the device, and the same technical effect can be achieved.
  • the device for the terminal screen capture of the embodiment of the present invention is applied to the mobile terminal. Therefore, the embodiment of the present invention further provides a mobile terminal, including: the device for intercepting the terminal as described in the foregoing embodiment.
  • the mobile terminal of the present invention may be a mobile electronic device such as a mobile phone or a tablet computer.
  • the determining module, the screen capture module, the output module and the like in the device for intercepting the screen of the terminal provided by the embodiment of the present invention, and each submodule in each module can be implemented by a processor in the mobile terminal; of course, the specific logic can also be adopted. Circuit implementation; in the process of implementation, the processor can be a Central Processing Unit (CPU), a Micro Processor Unit (MPU), a Digital Signal Processor (DSP), or a field programmable Field Programmable Gate Array (FPGA), etc.
  • CPU Central Processing Unit
  • MPU Micro Processor Unit
  • DSP Digital Signal Processor
  • FPGA field programmable Field Programmable Gate Array
  • the method for terminal screen capture described above is implemented in the form of a software function module and sold or used as a stand-alone product, it may also be stored in a computer readable storage medium.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
  • a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
  • program codes such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
  • embodiments of the present invention provide a computer storage medium having stored therein computer executable instructions for performing the method of terminal screen capture described above.
  • embodiments of the present invention provide a mobile terminal including a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor implementing the program to implement the following steps:
  • determining an area on the display interface of the terminal screen is Screening the reference area, and acquiring an image in the screen reference area as an initial screen shot image;
  • the final screen shot image is output.
  • the modules may be implemented in software for execution by various types of processors.
  • an identified executable code module can comprise one or more physical or logical blocks of computer instructions, which can be constructed, for example, as an object, procedure, or function. Nonetheless, the executable code of the identified modules need not be physically located together, but may include different instructions stored in different bits that, when logically combined, constitute a module and implement the provisions of the module. purpose.
  • the executable code module can be a single instruction or a plurality of instructions, and can even be distributed across multiple different code segments, distributed among different programs, and distributed across multiple memory devices.
  • operational data may be identified within the modules and may be implemented in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set, or may be distributed at different locations (including on different storage devices), and may at least partially exist as an electronic signal on a system or network.
  • the module can be implemented by software, considering the level of the existing hardware process, the module can be implemented in software, and the technician can construct a corresponding hardware circuit to implement the corresponding function without considering the cost.
  • the hardware circuit includes a conventional Very Large Scale Integration (VLSI) circuit or gate array and existing semiconductors such as logic chips, transistors, and the like Or other discrete components.
  • VLSI Very Large Scale Integration
  • the modules can also be implemented with programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices, and the like.
  • an area is determined as a screen cut reference area on the display interface of the terminal screen, and an image in the screen cut reference area is acquired as an initial screen capture image; when the screen scroll is detected When the preset distance is scrolled by the screen, a screen capture is performed according to the image change of the screen reference area, and the final screen capture image is obtained according to the image obtained by the multiple screen captures and the initial screen capture image; the final screen capture image is obtained.
  • Output so that you can achieve continuous screenshots to generate long images by simply sliding the screen, which is easy to operate and can capture non-full-screen content, improving the user experience.

Abstract

Provided in the embodiments of the present invention are a terminal screenshot method and apparatus, and a mobile terminal and a storage medium, the method comprising: after detecting that a terminal has entered a screenshot mode, determining a first area on the display interface of the terminal screen to be a screenshot reference area, and acquiring the image in the screenshot reference area to serve as an initial screenshot image; when detecting scrolling of the screen, and on the basis of changes to the image of the screenshot reference area, taking a screenshot each time the screen scrolls a preset distance and, on the basis of the images obtained from the multiple screenshots and the initial screenshot image, acquiring a final screenshot image; and outputting the final screenshot image.

Description

一种终端截屏的方法、装置及移动终端、存储介质Method and device for terminal screen capture, mobile terminal and storage medium
相关申请的交叉引用Cross-reference to related applications
本申请基于申请号为201610912021.X、申请日为2016年10月19日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。The present application is based on a Chinese patent application filed on Jan. 19, 2016, the entire disclosure of which is hereby incorporated by reference.
技术领域Technical field
本发明实施例涉及电子技术领域,特别涉及一种终端截屏的方法、装置及移动终端、存储介质。The embodiments of the present invention relate to the field of electronic technologies, and in particular, to a method and device for intercepting a terminal, a mobile terminal, and a storage medium.
背景技术Background technique
在终端设备的使用过程中,用户经常会保存并分享一些自己感兴趣的内容到微博、微信等平台。往往需要的只是显示内容的一段而非全篇,而这些内容往往在一屏界面上无法完整显示,所以如何方便地将这些内容提取出来保存到本地或分享给朋友成为亟待解决的问题。During the use of the terminal device, the user often saves and shares some content of interest to the platform such as Weibo and WeChat. What is often needed is to display a section of the content rather than the whole article, and the content is often not fully displayed on a screen interface, so how to conveniently extract the content to save it locally or share it with friends becomes an urgent problem to be solved.
目前只能手动多次截屏拼接,或者干脆把多次截屏的图片直接按顺序一张一张逐次发布出去,让其他浏览者自己拼接阅读,这显然很不方便。At present, it is only possible to manually splicing multiple screens, or simply publishing multiple screenshots one by one in order, allowing other viewers to splicing and reading them themselves, which is obviously inconvenient.
而目前手机终端已有的工具,都是先手动把需要的内容分别截屏,然后进入工具,把这些图片依次排序后,再做拼接生成长图片。这样虽然也可以自动生成预期的长图片,但是存在明显的弊端:第一,需要借助第三方应用;第二,操作步骤繁琐,而且还需要记得图片的顺序;第三,对于非全屏的内容,无法处理(比如只希望截取屏幕中间某一个范围内的连续长图片)。 At present, the existing tools of the mobile terminal are to manually screen the required content separately, then enter the tool, sort the pictures sequentially, and then splicing to generate a long picture. Although this can automatically generate the expected long picture, there are obvious drawbacks: first, the need to use third-party applications; second, the operation steps are cumbersome, and also need to remember the order of the pictures; third, for non-full-screen content, Unable to process (for example, only want to capture a continuous long picture in a certain range in the middle of the screen).
发明内容Summary of the invention
本发明要解决的技术问题是提供一种终端截屏的方法、装置及移动终端、存储介质,解决现有截屏生成长图片的方法存在操作步骤繁琐、对于非全屏内容无法处理等弊端的问题。The technical problem to be solved by the present invention is to provide a method and device for intercepting a terminal, a mobile terminal, and a storage medium, and the method for generating a long picture by the existing screen capture has the disadvantages of cumbersome operation steps and inability to handle non-full-screen content.
为解决上述技术问题,本发明的实施例提供一种终端截屏的方法,包括:To solve the above technical problem, an embodiment of the present invention provides a method for a terminal screen capture, including:
检测到终端进入截屏模式后,在终端屏幕的显示界面上确定一区域为截屏参考区域,并获取所述截屏参考区域内的图像作为初始截屏图像;After detecting that the terminal enters the screen capture mode, determining an area as a screen reference area on the display interface of the terminal screen, and acquiring an image in the screen reference area as an initial screen capture image;
检测到屏幕滚动时,在所述屏幕每次滚动预设距离时,根据所述截屏参考区域的图像变化情况进行一次截屏,并根据多次截屏得到的图像与初始截屏图像获取最终截屏图像;When the screen scrolling is detected, each time the preset distance is scrolled by the screen, a screen capture is performed according to the image change of the screen reference area, and the final screen capture image is obtained according to the image obtained by the multiple screen captures and the initial screen capture image;
将所述最终截屏图像输出。The final screen shot image is output.
在本发明的其他实施例中,所述在终端屏幕的显示界面上确定一区域为截屏参考区域的步骤包括:In other embodiments of the present invention, the step of determining, on the display interface of the terminal screen, that an area is a screen reference area comprises:
检测用户在所述屏幕上的触摸操作,并根据所述触摸操作的起点位置和终点位置,在所述屏幕的显示界面上确定所述截屏参考区域。A touch operation of the user on the screen is detected, and the screen reference area is determined on a display interface of the screen according to a start position and an end position of the touch operation.
在本发明的其他实施例中,所述在所述屏幕每次滚动预设距离时,根据所述截屏参考区域的图像变化情况进行一次截屏,并根据多次截屏得到的图像与初始截屏图像获取最终截屏图像的步骤包括:In other embodiments of the present invention, each time the screen scrolls a preset distance, a screen capture is performed according to an image change of the screen cut reference area, and the image obtained according to the multiple screen shots and the initial screen capture image are acquired. The steps of the final screen capture image include:
在所述屏幕每次滚动预设距离时;When the screen is scrolled by a preset distance each time;
根据屏幕滚动方向,截取从所述截屏参考区域外滚动到所述截屏参考区域内的拼接图像,并根据得到的拼接图像与前一次保存的截屏图像进行拼接,或者对前一次保存的截屏图像进行裁剪,从前一次保存的截屏图像中裁剪掉长度为所述预设距离的图像;According to the scrolling direction of the screen, the spliced image that is scrolled from the outside of the screen reference area to the screen reference area is intercepted, and the spliced image is spliced according to the previously saved screen image, or the previously saved screen image is performed. Cropping, cropping an image of the preset distance from the previously saved screenshot image;
其中,每次拼接或裁减后的图像作为新的截屏图像保存,且在所述屏 幕第一次滚动预设距离时,将所述初始截屏图像作为所述前一次保存的截屏图像;Wherein, each stitched or cropped image is saved as a new screen capture image, and the screen is When the screen scrolls the preset distance for the first time, the initial screen capture image is used as the screenshot image saved last time;
在所述屏幕停止滚动时,将当前保存的截屏图像作为所述最终截屏图像。When the screen stops scrolling, the currently saved screen shot image is taken as the final screen shot image.
在本发明的其他实施例中,所述在所述屏幕停止滚动时,将当前保存的截屏图像作为所述最终截屏图像之前,所述方法还包括:In other embodiments of the present invention, the method further includes: before the screen is stopped scrolling, before the currently saved screen capture image is the final screen capture image, the method further includes:
若所述屏幕在一次滚动预设距离后,继续滚动一距离后停止,且继续滚动的距离小于所述预设距离,则在所述屏幕继续滚动时;If the screen continues to scroll by a distance after scrolling the preset distance once, and the distance to continue scrolling is less than the preset distance, when the screen continues to scroll;
根据屏幕滚动方向,截取从所述截屏参考区域外滚动到所述截屏参考区域内的拼接图像,并根据得到的拼接图像与前一次保存的截屏图像进行拼接,或者对前一次保存的截屏图像进行裁剪,从前一次保存的截屏图像中裁剪掉长度为所述继续滚动的距离的图像。According to the scrolling direction of the screen, the spliced image that is scrolled from the outside of the screen reference area to the screen reference area is intercepted, and the spliced image is spliced according to the previously saved screen image, or the previously saved screen image is performed. Cropping, cropping the image of the distance that continues to scroll from the previously saved screenshot image.
在本发明的其他实施例中,所述根据屏幕滚动方向,截取从所述截屏参考区域外滚动到所述截屏参考区域内的拼接图像,并根据得到的拼接图像与前一次保存的截屏图像进行拼接,或者对前一次保存的截屏图像进行裁剪的步骤包括:In other embodiments of the present invention, the splicing image scrolled from outside the screen reference area to the screen reference area according to the screen scrolling direction, and according to the obtained spliced image and the previously saved screen image. The steps of splicing, or cropping the previously saved screenshot image include:
若屏幕滚动方向为预设截屏正方向,则截取从所述截屏参考区域外滚动到所述截屏参考区域内的拼接图像,并根据得到的拼接图像与前一次保存的截屏图像进行拼接;If the scrolling direction of the screen is the positive direction of the preset screen capture, the spliced image that is scrolled from outside the screen reference area to the screen reference area is intercepted, and spliced according to the obtained spliced image and the previously saved screen image;
若屏幕滚动方向为所述截屏正方向的反方向,则对前一次保存的截屏图像进行裁剪。If the scrolling direction of the screen is the opposite direction of the positive direction of the screen capture, the previously saved screen capture image is cropped.
在本发明的其他实施例中,所述检测用户在所述屏幕上的触摸操作,并根据所述触摸操作的起点位置和终点位置,在所述屏幕的显示界面上确定所述截屏参考区域之后,所述方法还包括:In other embodiments of the present invention, the detecting a touch operation on the screen by the user, and determining the screen reference area on the display interface of the screen according to the start position and the end position of the touch operation The method further includes:
根据所述触摸操作的起点位置和终点位置,确定截屏正方向。 The positive direction of the screen is determined according to the start position and the end position of the touch operation.
为解决上述技术问题,本发明的实施例还提供一种终端截屏的装置,包括:In order to solve the above technical problem, an embodiment of the present invention further provides an apparatus for intercepting a terminal, including:
确定模块,配置为检测到终端进入截屏模式后,在终端屏幕的显示界面上确定一区域为截屏参考区域,并获取所述截屏参考区域内的图像作为初始截屏图像;The determining module is configured to: after detecting that the terminal enters the screen capture mode, determine an area as a screen reference area on the display interface of the terminal screen, and acquire an image in the screen reference area as an initial screen capture image;
截屏模块,配置为检测到屏幕滚动时,在所述屏幕每次滚动预设距离时,根据所述截屏参考区域的图像变化情况进行一次截屏,并根据多次截屏得到的图像与初始截屏图像获取最终截屏图像;a screen capture module configured to detect a screen scrolling, perform a screen capture according to an image change of the screen capture reference area, and obtain an image according to the multiple screen captures and the initial screen capture image each time the screen is scrolled by a preset distance Final screenshot image;
输出模块,配置为将所述最终截屏图像输出。An output module configured to output the final screenshot image.
在本发明的其他实施例中,所述确定模块包括:In other embodiments of the present invention, the determining module includes:
确定子模块,配置为检测用户在所述屏幕上的触摸操作,并根据所述触摸操作的起点位置和终点位置,在所述屏幕的显示界面上确定所述截屏参考区域。The determining submodule is configured to detect a touch operation of the user on the screen, and determine the screen reference area on the display interface of the screen according to the start position and the end position of the touch operation.
在本发明的其他实施例中,所述截屏模块配置为:In other embodiments of the present invention, the screen capture module is configured to:
在所述屏幕每次滚动预设距离时;When the screen is scrolled by a preset distance each time;
根据屏幕滚动方向,截取从所述截屏参考区域外滚动到所述截屏参考区域内的拼接图像,并根据得到的拼接图像与前一次保存的截屏图像进行拼接,或者对前一次保存的截屏图像进行裁剪,从前一次保存的截屏图像中裁剪掉长度为所述预设距离的图像;According to the scrolling direction of the screen, the spliced image that is scrolled from the outside of the screen reference area to the screen reference area is intercepted, and the spliced image is spliced according to the previously saved screen image, or the previously saved screen image is performed. Cropping, cropping an image of the preset distance from the previously saved screenshot image;
其中,每次拼接或裁减后的图像作为新的截屏图像保存,且在所述屏幕第一次滚动预设距离时,将所述初始截屏图像作为所述前一次保存的截屏图像;The image after each stitching or clipping is saved as a new screen capture image, and when the screen scrolls the preset distance for the first time, the initial screen capture image is used as the screenshot image saved last time;
在所述屏幕停止滚动时,将当前保存的截屏图像作为所述最终截屏图像。When the screen stops scrolling, the currently saved screen shot image is taken as the final screen shot image.
在本发明的其他实施例中,所述截屏模块还配置为: In other embodiments of the present invention, the screen capture module is further configured to:
若所述屏幕在一次滚动预设距离后,继续滚动一距离后停止,且继续滚动的距离小于所述预设距离,则在所述屏幕继续滚动时;If the screen continues to scroll by a distance after scrolling the preset distance once, and the distance to continue scrolling is less than the preset distance, when the screen continues to scroll;
根据屏幕滚动方向,截取从所述截屏参考区域外滚动到所述截屏参考区域内的拼接图像,并根据得到的拼接图像与前一次保存的截屏图像进行拼接,或者对前一次保存的截屏图像进行裁剪,从前一次保存的截屏图像中裁剪掉长度为所述继续滚动的距离的图像。According to the scrolling direction of the screen, the spliced image that is scrolled from the outside of the screen reference area to the screen reference area is intercepted, and the spliced image is spliced according to the previously saved screen image, or the previously saved screen image is performed. Cropping, cropping the image of the distance that continues to scroll from the previously saved screenshot image.
为解决上述技术问题,本发明的实施例还提供一种移动终端,包括:如上任一项所述的终端截屏的装置。In order to solve the above technical problem, an embodiment of the present invention further provides a mobile terminal, comprising: the apparatus for intercepting a terminal according to any one of the preceding claims.
为解决上述技术问题,本发明的实施例提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行上述的终端截屏的方法。In order to solve the above technical problem, an embodiment of the present invention provides a computer storage medium in which computer executable instructions are stored, the computer executable instructions being used to execute the above method of terminal screen capture.
为解决上述技术问题,本发明的实施例提供一种移动终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现以下步骤:In order to solve the above technical problem, an embodiment of the present invention provides a mobile terminal, including a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor implements the following steps when executing the program. :
检测到终端进入截屏模式后,在终端屏幕的显示界面上确定一区域为截屏参考区域,并获取所述截屏参考区域内的图像作为初始截屏图像;After detecting that the terminal enters the screen capture mode, determining an area as a screen reference area on the display interface of the terminal screen, and acquiring an image in the screen reference area as an initial screen capture image;
检测到屏幕滚动时,在所述屏幕每次滚动预设距离时,根据所述截屏参考区域的图像变化情况进行一次截屏,并根据多次截屏得到的图像与初始截屏图像获取最终截屏图像;When the screen scrolling is detected, each time the preset distance is scrolled by the screen, a screen capture is performed according to the image change of the screen reference area, and the final screen capture image is obtained according to the image obtained by the multiple screen captures and the initial screen capture image;
将所述最终截屏图像输出。The final screen shot image is output.
本发明实施例的上述技术方案的有益效果如下:The beneficial effects of the above technical solutions of the embodiments of the present invention are as follows:
本发明实施例中,检测到终端进入截屏模式后,在终端屏幕的显示界面上确定一区域为截屏参考区域,并获取截屏参考区域内的图像作为初始截屏图像;检测到屏幕滚动时,在屏幕每次滚动预设距离时,根据截屏参考区域的图像变化情况进行一次截屏,并根据多次截屏得到的图像与初始 截屏图像获取最终截屏图像;最后将最终截屏图像输出。这样,用户仅需滑动屏幕就能实现连续截屏并自动拼接生成长图片,操作简便,且能够截取非全屏内容,为用户提供了更便利、快捷地保存和分享数据的手段,提升了用户体验。解决了现有截屏生成长图片的方法存在需要借助第三方应用、操作步骤繁琐、对于非全屏内容无法处理等弊端的问题。In the embodiment of the present invention, after detecting that the terminal enters the screen capture mode, an area is determined as a screen capture reference area on the display interface of the terminal screen, and an image in the screen reference area is acquired as an initial screen capture image; when the screen scroll is detected, the screen is detected. Each time the preset distance is scrolled, a screen capture is performed according to the image change of the screen reference area, and the image and the initial image are obtained according to the multiple screen shots. The screenshot image captures the final screen capture image; finally, the final screen capture image is output. In this way, the user only needs to swipe the screen to realize continuous screen capture and automatically splicing to generate long pictures, which is easy to operate and can intercept non-full-screen content, thereby providing users with a means for saving and sharing data more conveniently and quickly, thereby improving the user experience. The method for generating a long picture by the existing screen capture has the problem that the third-party application needs to be used, the operation steps are cumbersome, and the non-full-screen content cannot be processed.
附图说明DRAWINGS
图1为本发明终端截屏的方法流程图;1 is a flow chart of a method for intercepting a terminal of the present invention;
图2为本发明终端截屏的方法截屏参考区域的示意图;2 is a schematic diagram of a screen reference area of a method for intercepting a terminal of the present invention;
图3为本发明终端截屏的方法一应用流程图;3 is a flow chart of an application method of a terminal screen capture of the present invention;
图4为本发明终端截屏的方法另一应用流程图;4 is a flow chart of another application of the method for intercepting a terminal of the present invention;
图5为本发明终端截屏的装置的结构示意图。FIG. 5 is a schematic structural diagram of an apparatus for intercepting a terminal according to the present invention.
具体实施方式detailed description
为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。The technical problems, the technical solutions, and the advantages of the present invention will be more clearly described in the following description.
如图1所示,本发明实施例的终端截屏的方法,包括:As shown in FIG. 1 , a method for screen capture of a terminal according to an embodiment of the present invention includes:
步骤101,检测到终端进入截屏模式后,在终端屏幕的显示界面上确定一区域为截屏参考区域,并获取所述截屏参考区域内的图像作为初始截屏图像。Step 101: After detecting that the terminal enters the screen capture mode, determine an area as a screen cut reference area on the display interface of the terminal screen, and acquire an image in the screen cut reference area as an initial screen capture image.
这里,截屏参考区域可以是全屏区域,也可以是屏幕显示界面上的一部分区域。截屏参考区域的形状如可以是一矩形框。Here, the screen reference area may be a full screen area or a part of the area on the screen display interface. The shape of the screen reference area may be a rectangular frame.
其中,终端可在接收到用户通过某组合按键或屏幕上的某图标输入的进入截屏模式的指令后,进入截屏模式。组合按键如可为电源键和音量键的组合。The terminal may enter the screen capture mode after receiving an instruction to enter the screen capture mode input by the user through a certain combination button or an icon on the screen. The combination button can be a combination of a power button and a volume button.
步骤102,检测到屏幕滚动时,在所述屏幕每次滚动预设距离时,根据 所述截屏参考区域的图像变化情况进行一次截屏,并根据多次截屏得到的图像与初始截屏图像获取最终截屏图像。 Step 102, when the screen scrolling is detected, each time the screen is scrolled by a preset distance, according to Performing a screen shot for the image change of the screen reference area, and acquiring the final screen image according to the image obtained by the multiple screen shots and the initial screen shot image.
这里,屏幕每滚动预设距离,根据截屏参考区域的图像变化情况进行一次截屏,并根据多次截屏得到的图像与初始截屏图像获取最终截屏图像。Here, each time the screen is scrolled by a preset distance, a screen capture is performed according to the image change of the screen reference area, and the final screen capture image is obtained according to the image obtained by the multiple screen captures and the initial screen capture image.
步骤103,将所述最终截屏图像输出。Step 103: Output the final screenshot image.
本发明实施例的终端截屏的方法,使用户仅需滑动屏幕就能实现连续截屏并自动拼接生成长图片,操作简便,且能够截取非全屏内容,为用户提供了更便利、快捷地保存和分享数据的手段,提升了用户体验。解决了现有截屏生成长图片的方法存在需要借助第三方应用、操作步骤繁琐、对于非全屏内容无法处理等弊端的问题。The method for intercepting the screen of the terminal in the embodiment of the invention enables the user to realize continuous screen capture and automatically stitching and generate long pictures only by sliding the screen, which is easy to operate and can intercept non-full-screen content, thereby providing users with more convenient and quick storage and sharing. The means of data enhances the user experience. The method for generating a long picture by the existing screen capture has the problem that the third-party application needs to be used, the operation steps are cumbersome, and the non-full-screen content cannot be processed.
在本发明的其他实施例中,上述步骤101中,所述在终端屏幕的显示界面上确定一区域为截屏参考区域的步骤包括:In other embodiments of the present invention, in the step 101, the step of determining an area as a screen reference area on the display interface of the terminal screen includes:
步骤1011,检测用户在所述屏幕上的触摸操作,并根据所述触摸操作的起点位置和终点位置,在所述屏幕的显示界面上确定所述截屏参考区域。Step 1011: Detect a touch operation of the user on the screen, and determine the screen reference area on the display interface of the screen according to the start position and the end position of the touch operation.
此时,根据用户在屏幕上触摸操作的起点位置和终端位置,确定截屏参考区域,方便用户在屏幕上选取想要保存的图像内容。At this time, according to the starting position and the terminal position of the user's touch operation on the screen, the screen reference area is determined, so that the user can select the image content to be saved on the screen.
在本发明的其他实施例中,假定截屏参考区域为一矩形框,如图2所示,可根据用户在屏幕上的触摸操作的起点位置的坐标点A(即手指先接触到屏幕的坐标点)对应的横向线段L1(沿屏幕横向的线段)和纵向线段L2(沿屏幕纵向的线段),终点位置的坐标点B(即手指离开屏幕的坐标点)对应的横向线段L3和纵向线段L4,确定矩形框,即截屏参考区域的大小及位置。In other embodiments of the present invention, it is assumed that the screen reference area is a rectangular frame, as shown in FIG. 2, according to the coordinate point A of the starting position of the user's touch operation on the screen (ie, the finger first touches the coordinate point of the screen) Corresponding transverse line segment L1 (line segment along the screen transverse direction) and longitudinal line segment L2 (line segment along the longitudinal direction of the screen), coordinate point B of the end position position (ie, the coordinate point of the finger leaving the screen) corresponding to the transverse line segment L3 and the longitudinal line segment L4, Determine the rectangle, which is the size and position of the screen reference area.
在本发明的其他实施例中,上述步骤102的步骤包括:In other embodiments of the present invention, the steps of step 102 above include:
步骤1021,在所述屏幕每次滚动预设距离时;根据屏幕滚动方向,截取从所述截屏参考区域外滚动到所述截屏参考区域内的拼接图像,并根据 得到的拼接图像与前一次保存的截屏图像进行拼接,或者对前一次保存的截屏图像进行裁剪,从前一次保存的截屏图像中裁剪掉长度为所述预设距离的图像。Step 1021: when the screen scrolls a preset distance each time; according to the screen scrolling direction, the spliced image scrolled from outside the screen reference area to the screen reference area is intercepted, and according to The obtained stitched image is stitched with the previously saved screen capture image, or the previously saved screen capture image is cropped, and the image of the preset distance is cut out from the previously saved screen capture image.
其中,每次拼接或裁减后的图像作为新的截屏图像保存,且在所述屏幕第一次滚动预设距离时,将所述初始截屏图像作为所述前一次保存的截屏图像。The image after each stitching or clipping is saved as a new screen capture image, and when the screen scrolls the preset distance for the first time, the initial screen capture image is used as the screenshot image saved last time.
这里,屏幕每滚动预设距离,根据屏幕滚动方法,截取拼接图像进行拼接或者对截屏图像进行裁剪。例如,可设定一截屏正方向,若屏幕滚动方向为截屏正方向,则截取拼接图像进行拼接,若屏幕滚动方向为截屏正方向相反的方向,则对截屏图像进行裁剪。Here, each time the screen scrolls by a preset distance, according to the screen scrolling method, the stitched image is clipped for splicing or the screen cut image is cropped. For example, a screen may be set in the positive direction. If the screen scrolling direction is the positive direction of the screen, the stitched image is intercepted for splicing. If the screen scrolling direction is the direction in which the screen is in the opposite direction, the screen image is cropped.
例如,假定屏幕第一次滚动预设距离时,得到拼接图像F2,则将F2与前一次保存的截屏图像,即初始截屏图像F1进行拼接,得到新的截屏图像F=F1+F2进行保存;假定屏幕第二次滚动预设距离时,对前一次保存的截屏图像进行裁剪,裁剪掉长度为预设距离的图像F3,得到新的截屏图像F=F1+F2-F3进行保存。For example, if the spliced image F2 is obtained when the screen scrolls the preset distance for the first time, F2 is spliced with the previously saved screen image, that is, the initial screen image F1, and a new screen image F=F1+F2 is obtained for saving; Assuming that the screen scrolls the preset distance for the second time, the previously saved screen capture image is cropped, the image F3 whose length is the preset distance is cropped, and a new screen capture image F=F1+F2-F3 is saved.
其中,对前一次保存的截屏图像进行拼接或裁剪时,都从图像的尾部开始拼接或裁剪。Among them, when splicing or cropping the previously saved screenshot image, the splicing or cropping is started from the tail of the image.
步骤1023,在所述屏幕停止滚动时,将当前保存的截屏图像作为所述最终截屏图像。Step 1023: When the screen stops scrolling, the currently saved screen capture image is used as the final screen capture image.
这里,屏幕停止滚动时,将当前保存的截屏图像作为最终截屏图像。Here, when the screen stops scrolling, the currently saved screen capture image is taken as the final screen capture image.
此时,用户可通过滑动屏幕对截屏图像连续拼接获得长图片,在截屏图像超出预期范围时,可通过滑动屏幕对截屏图像进行裁剪,移除多余的图像,从而为用户提供了更便利、快捷地保存和分享数据的手段,提升了用户体验。At this time, the user can continuously splicing the screen image by sliding the screen to obtain a long picture. When the screen image exceeds the expected range, the screen image can be cropped by sliding the screen to remove the redundant image, thereby providing users with more convenient and quicker. The means of saving and sharing data enhances the user experience.
由于用户在滑动屏幕截取图像的过程中,最后一帧图像的高度往往不 会恰好等于预设距离,为了保证得到预期的完整图像,在本发明的其他实施例中,上述步骤1023之前,所述方法还可以包括:Since the user intercepts the image on the sliding screen, the height of the last frame of the image is often not In the other embodiments of the present invention, before the step 1023, the method may further include:
步骤10231,若所述屏幕在一次滚动预设距离后,继续滚动一距离后停止,且继续滚动的距离小于所述预设距离,则在所述屏幕继续滚动时;根据屏幕滚动方向,截取从所述截屏参考区域外滚动到所述截屏参考区域内的拼接图像,并根据得到的拼接图像与前一次保存的截屏图像进行拼接,或者对前一次保存的截屏图像进行裁剪,从前一次保存的截屏图像中裁剪掉长度为所述继续滚动的距离的图像。Step 10231, if the screen is scrolled by a preset distance, and then continues to scroll by a distance and stops, and the distance of continuing scrolling is less than the preset distance, when the screen continues to scroll; according to the screen scrolling direction, the interception is performed. Scrolling to the spliced image in the screen reference area outside the screen reference area, and splicing according to the obtained spliced image and the previously saved screen image, or cropping the previously saved screen image, from the previous saved screen capture An image whose length is the distance to continue scrolling is cropped in the image.
这里,屏幕每次滚动预设距离后,从截屏参考区域外滚动到截屏参考区域内的图像都拼接到了前一次保存的截屏图像中,或者都对前一次保存的裁剪图像进行了裁剪。若屏幕在一次滚动预设距离后,继续滚动一段距离后停止,且这段距离小于预设距离,则在屏幕继续滚动这段距离时,再次拼接图像或者裁剪图像。Here, each time the screen is scrolled by the preset distance, the image scrolled from the outside of the screen reference area to the screen image of the previous save is spliced into the previously saved screen image, or the previously saved crop image is cropped. If the screen continues to scroll for a distance after scrolling the preset distance, and the distance is less than the preset distance, the image is stitched again or the image is cropped when the screen continues to scroll.
此时,在屏幕停止滚动前,若最后一次滚动的实际距离小于预设距离,则截取这段距离的拼接图像进行拼接或者裁剪掉这段距离的图像,以保证得到预期范围的完整图像。At this time, before the screen stops scrolling, if the actual distance of the last scroll is less than the preset distance, the stitched image of the distance is intercepted to splicing or cropping the image of the distance to ensure a complete image of the expected range.
在本发明的其他实施例中,上述步骤1021或上述步骤10231中,所述根据屏幕滚动方向,截取从所述截屏参考区域外滚动到所述截屏参考区域内的拼接图像,并根据得到的拼接图像与前一次保存的截屏图像进行拼接,或者对前一次保存的截屏图像进行裁剪的步骤包括:In another embodiment of the present invention, in the above step 1021 or the above step 10231, the capturing a stitched image from outside the screen reference area to the screen reference area according to the screen scrolling direction, and according to the obtained stitching The steps of splicing an image with a previously saved screenshot image, or cropping the previously saved screen capture image include:
步骤1024,若屏幕滚动方向为预设截屏正方向,则截取从所述截屏参考区域外滚动到所述截屏参考区域内的拼接图像,并根据得到的拼接图像与前一次保存的截屏图像进行拼接。Step 1024: If the screen scrolling direction is the preset screen cutting direction, the spliced image that is scrolled from outside the screen reference area to the screen reference area is intercepted, and the spliced image is spliced according to the previously saved screen image. .
这里,如果屏幕滚动方向为截屏正方向,则对图像进行拼接。Here, if the screen scroll direction is the positive direction of the screen, the image is stitched.
步骤1025,若屏幕滚动方向为所述截屏正方向的反方向,则对前一次 保存的截屏图像进行裁剪。Step 1025, if the screen scrolling direction is the opposite direction of the positive direction of the screen capture, the previous time The saved screenshot image is cropped.
这里,如果屏幕滚动方向为截屏正方向的反方向,则对图像进行裁剪。Here, if the screen scroll direction is the opposite direction of the positive direction of the screen, the image is cropped.
此时,用户可根据需求选择对图像进行拼接或者裁剪,方便了用户的操作和使用,提高了便利性和智能化。At this time, the user can select the image to be spliced or cropped according to the needs, which is convenient for the user's operation and use, and improves convenience and intelligence.
进一步的,上述步骤1011之后,所述方法还可以包括:Further, after the foregoing step 1011, the method may further include:
步骤1012,根据所述触摸操作的起点位置和终点位置,确定截屏正方向。Step 1012: Determine a positive direction of the screen according to the starting position and the ending position of the touch operation.
此时,可根据用户的触摸操作来确定截屏正方向。例如可将触摸操作的起点位置的坐标点对应的横向线段作为起点线,将触摸操作的终点位置的坐标点对应的横向线段作为终点线,确定从终点线指向起点线的方向为截屏正方向。如图2所示,可将L3指向L1的方向,即屏幕向上滚动作为截屏正方向,L1指向L3的方向,即屏幕向下滚动作为截屏正方向的反方向。当然,也可根据需求,将L1指向L3的方向作为截屏正方向,或者将L4指向L2的方向,即屏幕向左滚动作为截屏正方向,或者将L2指向L4的方向,即屏幕向右滚动作为截屏正方向。At this time, the positive direction of the screen can be determined according to the user's touch operation. For example, the horizontal line segment corresponding to the coordinate point of the start position of the touch operation may be used as the starting line, and the horizontal line segment corresponding to the coordinate point of the end position of the touch operation may be used as the ending line, and the direction from the ending line to the starting line is determined to be the positive direction of the screen. As shown in FIG. 2, L3 can be pointed in the direction of L1, that is, the screen is scrolled up as the positive direction of the screen, and L1 is directed to the direction of L3, that is, the screen is scrolled downward as the opposite direction of the positive direction of the screen. Of course, according to the demand, the direction of L1 pointing to L3 is taken as the positive direction of the screen, or L4 is pointed to the direction of L2, that is, the screen is scrolled to the left as the positive direction of the screen, or L2 is pointed to the direction of L4, that is, the screen is scrolled to the right. The screen is in the right direction.
进一步的,为了采样准确,所述预设距离小于或等于所述矩形框长度(沿屏幕横向的长度)或高度(沿屏幕纵向的高度)的一半。其中,当屏幕向下或向上滚动为截屏正方向时,预设距离小于或等于矩形框高度的一半,当屏幕向左或向右滚动为截屏正方向时,预设距离小于或等于矩形框长度的一半。Further, for accurate sampling, the preset distance is less than or equal to half of the length of the rectangular frame (the length along the lateral direction of the screen) or the height (the height along the longitudinal direction of the screen). Wherein, when the screen is scrolled downward or upward to the positive direction of the screen, the preset distance is less than or equal to half of the height of the rectangular frame. When the screen is scrolled left or right to the positive direction of the screen, the preset distance is less than or equal to the length of the rectangular frame. Half of it.
下面对本发明实施例的终端截屏的方法拼接处理的一应用流程举例说明如下。An application flow of the method for splicing the terminal screen capture of the embodiment of the present invention is exemplified as follows.
如图3所示,本发明实施例的终端截屏的方法,包括:As shown in FIG. 3, a method for screen capture of a terminal according to an embodiment of the present invention includes:
步骤301,终端接收到用户通过电源键和音量键组合按下输入的进入截屏模式的指令后,进入截屏模式。 Step 301, the terminal receives the instruction that the user enters the screen capture mode by pressing the input of the power button and the volume key, and then enters the screen capture mode.
步骤302,检测用户在屏幕上的触摸操作,根据用户在屏幕上的触摸操作的起点位置的坐标点对应的横向线段和纵向线段,终点位置的坐标点对应的横向线段和纵向线段,确定矩形框,即截屏参考区域的大小及位置。并获取矩形框内的图像作为初始截屏图像F1。Step 302: Detect a touch operation on the screen by the user, and determine a rectangular frame according to a horizontal line segment and a vertical line segment corresponding to the coordinate point of the start position of the touch operation on the screen, and the horizontal line segment and the vertical line segment corresponding to the coordinate point of the end position position. , that is, the size and position of the screen reference area. And the image in the rectangular frame is acquired as the initial screen shot image F1.
步骤303,将触摸操作的起点位置的坐标点对应的横向线段作为起点线,将触摸操作的终点位置的坐标点对应的横向线段作为终点线,确定从终点线指向起点线的方向为截屏正方向。 Step 303, the horizontal line segment corresponding to the coordinate point of the starting position of the touch operation is used as the starting line, and the horizontal line segment corresponding to the coordinate point of the end position of the touch operation is used as the ending line, and the direction from the ending line to the starting line is determined as the positive direction of the screen. .
这里,根据用户操作习惯,一般截屏正方向为屏幕向上滚动的方向。当然,截屏正方向也可为屏幕向下滚动、向左滚动或向右滚动的方向。Here, according to the user's operating habits, the general screen orientation is the direction in which the screen scrolls upward. Of course, the positive direction of the screen can also be the direction in which the screen scrolls down, scrolls left or scrolls to the right.
步骤304,检测到屏幕滚动,且屏幕滚动方向为截屏正方向时,屏幕每滚动预设距离H,截取从矩形框外滚动到矩形框内的拼接图像,与前一次保存的截屏图像拼接,每次拼接后的图像作为新的截屏图像保存。Step 304: When the screen scrolling is detected, and the screen scrolling direction is the positive direction of the screen, the screen scrolls the preset distance H, and the stitched image is scrolled from the outside of the rectangular frame to the rectangular frame, and is spliced with the previously saved screen image. The stitched image is saved as a new screenshot.
如屏幕第i次滚动预设距离H,截取从矩形框外滚动到矩形框内的拼接图像Fi,与前一次保存的截屏图像拼接,得到新的截屏图像F=F1+F2+…+F(i-1)+Fi。其中i为大于或等于1的整数。If the screen is scrolled by the preset distance H for the ith time, the spliced image Fi that is scrolled from outside the rectangular frame to the rectangular frame is intercepted, and spliced with the previously saved screenshot image to obtain a new screenshot image F=F1+F2+...+F(i -1) +Fi. Where i is an integer greater than or equal to 1.
步骤305,若屏幕在一次滚动预设距离H后,继续滚动一距离H0(H0<H)后停止,则在屏幕滚动H0时,截取从矩形框外滚动到矩形框内的拼接图像,与前一次保存的截屏图像拼接。Step 305: If the screen continues to scroll by a distance H0 (H0<H) after stopping the preset distance H, the screen is scrolled H0, and the spliced image is scrolled from the outside of the rectangular frame to the rectangular frame. A saved screenshot of the screen is stitched together.
步骤306,屏幕停止滚动时,将当前保存的截屏图像作为最终截屏图像输出。 Step 306, when the screen stops scrolling, the currently saved screen capture image is output as the final screen capture image.
至此,得到了多次截屏拼接的长图片。At this point, a long picture with multiple screen stitchings is obtained.
如果多次截屏拼接的图像超出预期范围,可以反方向滑动屏幕对多余的区域裁剪。下面对本发明实施例的终端截屏的方法裁剪处理的一应用流程举例说明如下。If the image stitched by multiple screens is out of the expected range, you can slide the screen in the opposite direction to crop the excess area. An application flow of the method for cropping the terminal screen capture according to the embodiment of the present invention is as follows.
如图4所示,本发明实施例的终端截屏的方法,包括: As shown in FIG. 4, a method for screen capture of a terminal according to an embodiment of the present invention includes:
步骤307,在执行上述步骤305后,检测到屏幕滚动,且屏幕滚动方向为截屏正方向的反方向时,屏幕每滚动预设距离H,对前一次保存的截屏图像进行裁剪,从前一次保存的截屏图像尾部开始裁剪掉长度为H的图像,每次裁剪后的图像作为新的截屏图像保存。 Step 307, after performing the above step 305, when the screen scrolling is detected, and the screen scrolling direction is the opposite direction of the screen cutting direction, the screen is cut by the preset preset distance H, and the previously saved screen image is cropped, and saved from the previous time. The end of the screen capture begins cropping the image of length H, and each cropped image is saved as a new screenshot.
如屏幕第r次滚动预设距离H,从前一次保存的截屏图像的尾部开始裁剪掉长度为H的图像Fr’,得到新的截屏图像:If the preset scroll distance H is scrolled for the rth time, the image Fr' of length H is cropped from the end of the previously saved screen capture image to obtain a new screen capture image:
F=F1+F2+…-F(i-1)+Fi-F1'-F2'-…-F(r-1)'-Fr'。F=F1+F2+...-F(i-1)+Fi-F1'-F2'-...-F(r-1)'-Fr'.
其中r为大于或等于1的整数。Where r is an integer greater than or equal to one.
步骤308,若屏幕在一次滚动预设距离H后,继续滚动一距离h0(h0<H)后停止,则在屏幕滚动h0时,从前一次保存的截屏图像的尾部开始裁剪掉长度为h0的图像,裁剪后的图像作为新的截屏图像保存。 Step 308, if the screen continues to scroll a distance h0 (h0 < H) after a preset scroll distance H, and then stops, when the screen scrolls h0, the image of length h0 is trimmed from the tail of the previously saved screen capture image. The cropped image is saved as a new screenshot.
步骤309,屏幕停止滚动时,将当前保存的截屏图像作为最终截屏图像输出。 Step 309, when the screen stops scrolling, the currently saved screen capture image is output as the final screen capture image.
至此,得到了裁剪后符合预期范围的长图片。At this point, a long picture that fits the expected range after cropping is obtained.
综上,本发明实施例的终端截屏的方法,使用户仅需滑动屏幕就能实现连续截屏并自动拼接生成长图片,操作简便,且能够截取非全屏内容,为用户提供了更便利、快捷地保存和分享数据的手段,提升了用户体验。解决了现有截屏生成长图片的方法存在需要借助第三方应用、操作步骤繁琐、对于非全屏内容无法处理等弊端的问题。In summary, the method for intercepting a screen of a terminal in the embodiment of the present invention enables a user to continuously cut a screen and automatically stitch and generate a long picture by simply sliding the screen, which is easy to operate and can intercept non-full-screen content, thereby providing users with more convenient and quicker. The means of saving and sharing data enhances the user experience. The method for generating a long picture by the existing screen capture has the problem that the third-party application needs to be used, the operation steps are cumbersome, and the non-full-screen content cannot be processed.
如图5所示,本发明实施例的终端截屏的装置,包括:As shown in FIG. 5, the apparatus for intercepting a terminal of an embodiment of the present invention includes:
确定模块501,配置为检测到终端进入截屏模式后,在终端屏幕的显示界面上确定一区域为截屏参考区域,并获取所述截屏参考区域内的图像作为初始截屏图像;The determining module 501 is configured to: after detecting that the terminal enters the screen capture mode, determine an area as a screen reference area on the display interface of the terminal screen, and acquire an image in the screen reference area as an initial screen capture image;
截屏模块502,配置为检测到屏幕滚动时,在所述屏幕每次滚动预设距离时,根据所述截屏参考区域的图像变化情况进行一次截屏,并根据多次 截屏得到的图像与初始截屏图像获取最终截屏图像;The screen capture module 502 is configured to perform a screen capture according to an image change of the screen capture reference area when the screen is scrolled each time, and each time the preset distance is scrolled by the screen, and according to the multiple times Obtaining the image obtained by the screen capture and the initial screen capture image to obtain the final screen capture image;
输出模块503,配置为将所述最终截屏图像输出。The output module 503 is configured to output the final screenshot image.
本发明实施例的终端截屏的装置,使用户仅需滑动屏幕就能实现连续截屏并自动拼接生成长图片,操作简便,且能够截取非全屏内容,为用户提供了更便利、快捷地保存和分享数据的手段,提升了用户体验。解决了现有截屏生成长图片的方法存在需要借助第三方应用、操作步骤繁琐、对于非全屏内容无法处理等弊端的问题。The apparatus for intercepting the screen of the terminal of the embodiment of the invention enables the user to realize continuous screen capture and automatically splicing to generate long pictures only by sliding the screen, and the operation is simple, and the non-full-screen content can be intercepted, thereby providing the user with more convenient and quick storage and sharing. The means of data enhances the user experience. The method for generating a long picture by the existing screen capture has the problem that the third-party application needs to be used, the operation steps are cumbersome, and the non-full-screen content cannot be processed.
在本发明的其他实施例中,所述确定模块501包括:In other embodiments of the present invention, the determining module 501 includes:
确定子模块,配置为检测用户在所述屏幕上的触摸操作,并根据所述触摸操作的起点位置和终点位置,在所述屏幕的显示界面上确定所述截屏参考区域。The determining submodule is configured to detect a touch operation of the user on the screen, and determine the screen reference area on the display interface of the screen according to the start position and the end position of the touch operation.
在本发明的其他实施例中,所述截屏模块502配置为:In other embodiments of the present invention, the screen capture module 502 is configured to:
在所述屏幕每次滚动预设距离时;When the screen is scrolled by a preset distance each time;
根据屏幕滚动方向,截取从所述截屏参考区域外滚动到所述截屏参考区域内的拼接图像,并根据得到的拼接图像与前一次保存的截屏图像进行拼接,或者对前一次保存的截屏图像进行裁剪,从前一次保存的截屏图像中裁剪掉长度为所述预设距离的图像;According to the scrolling direction of the screen, the spliced image that is scrolled from the outside of the screen reference area to the screen reference area is intercepted, and the spliced image is spliced according to the previously saved screen image, or the previously saved screen image is performed. Cropping, cropping an image of the preset distance from the previously saved screenshot image;
其中,每次拼接或裁减后的图像作为新的截屏图像保存,且在所述屏幕第一次滚动预设距离时,将所述初始截屏图像作为所述前一次保存的截屏图像;The image after each stitching or clipping is saved as a new screen capture image, and when the screen scrolls the preset distance for the first time, the initial screen capture image is used as the screenshot image saved last time;
在所述屏幕停止滚动时,将当前保存的截屏图像作为所述最终截屏图像。When the screen stops scrolling, the currently saved screen shot image is taken as the final screen shot image.
在本发明的其他实施例中,所述截屏模块502还配置为:In other embodiments of the present invention, the screen capture module 502 is further configured to:
若所述屏幕在一次滚动预设距离后,继续滚动一距离后停止,且继续滚动的距离小于所述预设距离,则在所述屏幕继续滚动时; If the screen continues to scroll by a distance after scrolling the preset distance once, and the distance to continue scrolling is less than the preset distance, when the screen continues to scroll;
根据屏幕滚动方向,截取从所述截屏参考区域外滚动到所述截屏参考区域内的拼接图像,并根据得到的拼接图像与前一次保存的截屏图像进行拼接,或者对前一次保存的截屏图像进行裁剪,从前一次保存的截屏图像中裁剪掉长度为所述继续滚动的距离的图像。According to the scrolling direction of the screen, the spliced image that is scrolled from the outside of the screen reference area to the screen reference area is intercepted, and the spliced image is spliced according to the previously saved screen image, or the previously saved screen image is performed. Cropping, cropping the image of the distance that continues to scroll from the previously saved screenshot image.
在本发明的其他实施例中,所述截屏模块502包括:In other embodiments of the present invention, the screen capture module 502 includes:
拼接子模块,配置为若屏幕滚动方向为预设截屏正方向,则截取从所述截屏参考区域外滚动到所述截屏参考区域内的拼接图像,并根据得到的拼接图像与前一次保存的截屏图像进行拼接;The splicing sub-module is configured to: if the screen scrolling direction is the preset screen-cutting direction, intercept the spliced image that is scrolled from the screen-out reference area to the screen-cut reference area, and according to the obtained spliced image and the previously saved screen capture Image stitching;
裁剪子模块,配置为若屏幕滚动方向为所述截屏正方向的反方向,则对前一次保存的截屏图像进行裁剪。The cropping sub-module is configured to crop the screen image saved the previous time if the scrolling direction of the screen is the opposite direction of the positive direction of the screen capture.
在本发明的其他实施例中,所述装置还包括:In other embodiments of the present invention, the apparatus further includes:
第二确定模块,配置为根据所述触摸操作的起点位置和终点位置,确定截屏正方向。The second determining module is configured to determine a positive direction of the screen according to the starting position and the ending position of the touch operation.
本发明实施例的终端截屏的装置,使用户仅需滑动屏幕就能实现连续截屏并自动拼接生成长图片,操作简便,且能够截取非全屏内容,为用户提供了更便利、快捷地保存和分享数据的手段,提升了用户体验。解决了现有截屏生成长图片的方法存在需要借助第三方应用、操作步骤繁琐、对于非全屏内容无法处理等弊端的问题。The apparatus for intercepting the screen of the terminal of the embodiment of the invention enables the user to realize continuous screen capture and automatically splicing to generate long pictures only by sliding the screen, and the operation is simple, and the non-full-screen content can be intercepted, thereby providing the user with more convenient and quick storage and sharing. The means of data enhances the user experience. The method for generating a long picture by the existing screen capture has the problem that the third-party application needs to be used, the operation steps are cumbersome, and the non-full-screen content cannot be processed.
需要说明的是,该终端截屏的装置是与上述终端截屏的方法相对应的装置,其中上述方法实施例中所有实现方式均适用于该装置的实施例中,也能达到同样的技术效果。It should be noted that the device for screen capture of the terminal is a device corresponding to the method for screen capture of the terminal, and all the implementation manners of the foregoing method embodiments are applicable to the embodiment of the device, and the same technical effect can be achieved.
由于本发明实施例的终端截屏的装置应用于移动终端,因此,本发明实施例还提供了一种移动终端,包括:如上述实施例中所述的终端截屏的装置。The device for the terminal screen capture of the embodiment of the present invention is applied to the mobile terminal. Therefore, the embodiment of the present invention further provides a mobile terminal, including: the device for intercepting the terminal as described in the foregoing embodiment.
其中,上述终端截屏的装置的所述实现实施例均适用于该移动终端的 实施例中,也能达到相同的技术效果。Wherein the implementation embodiments of the apparatus for intercepting the terminal are applicable to the mobile terminal. In the embodiment, the same technical effect can also be achieved.
本发明的移动终端如可以是手机、平板电脑等移动电子设备。The mobile terminal of the present invention may be a mobile electronic device such as a mobile phone or a tablet computer.
本发明实施例提供的终端截屏的装置中的确定模块、截屏模块、输出模块等模块,以及各模块中的各子模块都可以通过移动终端中的处理器来实现;当然也可通过具体的逻辑电路实现;在实施的过程中,处理器可以为中央处理器(Central Processing Unit,CPU)、微处理器(Micro Processor Unit,MPU)、数字信号处理器(Digital Signal Processor,DSP)或现场可编程门阵列(Field Programmable Gate Array,FPGA)等。The determining module, the screen capture module, the output module and the like in the device for intercepting the screen of the terminal provided by the embodiment of the present invention, and each submodule in each module can be implemented by a processor in the mobile terminal; of course, the specific logic can also be adopted. Circuit implementation; in the process of implementation, the processor can be a Central Processing Unit (CPU), a Micro Processor Unit (MPU), a Digital Signal Processor (DSP), or a field programmable Field Programmable Gate Array (FPGA), etc.
需要说明的是,本发明实施例中,如果以软件功能模块的形式实现上述的终端截屏的方法,并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read Only Memory,ROM)、磁碟或者光盘等各种可以存储程序代码的介质。这样,本发明实施例不限制于任何特定的硬件和软件结合。It should be noted that, in the embodiment of the present invention, if the method for terminal screen capture described above is implemented in the form of a software function module and sold or used as a stand-alone product, it may also be stored in a computer readable storage medium. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions. A computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention. The foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
相应地,本发明的实施例提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行上述的终端截屏的方法。Accordingly, embodiments of the present invention provide a computer storage medium having stored therein computer executable instructions for performing the method of terminal screen capture described above.
相应地,本发明的实施例提供一种移动终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现以下步骤:Accordingly, embodiments of the present invention provide a mobile terminal including a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor implementing the program to implement the following steps:
检测到终端进入截屏模式后,在终端屏幕的显示界面上确定一区域为 截屏参考区域,并获取所述截屏参考区域内的图像作为初始截屏图像;After detecting that the terminal enters the screen capture mode, determining an area on the display interface of the terminal screen is Screening the reference area, and acquiring an image in the screen reference area as an initial screen shot image;
检测到屏幕滚动时,在所述屏幕每次滚动预设距离时,根据所述截屏参考区域的图像变化情况进行一次截屏,并根据多次截屏得到的图像与初始截屏图像获取最终截屏图像;When the screen scrolling is detected, each time the preset distance is scrolled by the screen, a screen capture is performed according to the image change of the screen reference area, and the final screen capture image is obtained according to the image obtained by the multiple screen captures and the initial screen capture image;
将所述最终截屏图像输出。The final screen shot image is output.
在本发明的各种实施例中,应理解,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。In the various embodiments of the present invention, it should be understood that the size of the sequence numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be taken to the embodiments of the present invention. The implementation process constitutes any limitation.
本发明实施例中,模块可以用软件实现,以便由各种类型的处理器执行。举例来说,一个标识的可执行代码模块可以包括计算机指令的一个或多个物理或者逻辑块,举例来说,其可以被构建为对象、过程或函数。尽管如此,所标识模块的可执行代码无需物理地位于一起,而是可以包括存储在不同位里上的不同的指令,当这些指令逻辑上结合在一起时,其构成模块并且实现该模块的规定目的。In an embodiment of the invention, the modules may be implemented in software for execution by various types of processors. For example, an identified executable code module can comprise one or more physical or logical blocks of computer instructions, which can be constructed, for example, as an object, procedure, or function. Nonetheless, the executable code of the identified modules need not be physically located together, but may include different instructions stored in different bits that, when logically combined, constitute a module and implement the provisions of the module. purpose.
实际上,可执行代码模块可以是单条指令或者是许多条指令,并且甚至可以分布在多个不同的代码段上,分布在不同程序当中,以及跨越多个存储器设备分布。同样地,操作数据可以在模块内被识别,并且可以依照任何适当的形式实现并且被组织在任何适当类型的数据结构内。所述操作数据可以作为单个数据集被收集,或者可以分布在不同位置上(包括在不同存储设备上),并且至少部分地可以仅作为电子信号存在于系统或网络上。In practice, the executable code module can be a single instruction or a plurality of instructions, and can even be distributed across multiple different code segments, distributed among different programs, and distributed across multiple memory devices. As such, operational data may be identified within the modules and may be implemented in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set, or may be distributed at different locations (including on different storage devices), and may at least partially exist as an electronic signal on a system or network.
在模块可以利用软件实现时,考虑到现有硬件工艺的水平,所以可以以软件实现的模块,在不考虑成本的情况下,本领域技术人员都可以搭建对应的硬件电路来实现对应的功能,所述硬件电路包括常规的超大规模集成(VLSI)电路或者门阵列以及诸如逻辑芯片、晶体管之类的现有半导体 或者是其它分立的元件。模块还可以用可编程硬件设备,诸如现场可编程门阵列、可编程阵列逻辑、可编程逻辑设备等实现。When the module can be implemented by software, considering the level of the existing hardware process, the module can be implemented in software, and the technician can construct a corresponding hardware circuit to implement the corresponding function without considering the cost. The hardware circuit includes a conventional Very Large Scale Integration (VLSI) circuit or gate array and existing semiconductors such as logic chips, transistors, and the like Or other discrete components. The modules can also be implemented with programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices, and the like.
以上所述是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It should be considered as the scope of protection of the present invention.
工业实用性Industrial applicability
本发明实施例中,:检测到终端进入截屏模式后,在终端屏幕的显示界面上确定一区域为截屏参考区域,并获取所述截屏参考区域内的图像作为初始截屏图像;检测到屏幕滚动时,在所述屏幕每次滚动预设距离时,根据所述截屏参考区域的图像变化情况进行一次截屏,并根据多次截屏得到的图像与初始截屏图像获取最终截屏图像;将所述最终截屏图像输出,如此,仅需滑动屏幕就能实现连续截屏生成长图片,操作简便,且能够截取非全屏内容,提升了用户体验。 In the embodiment of the present invention, after detecting that the terminal enters the screen capture mode, an area is determined as a screen cut reference area on the display interface of the terminal screen, and an image in the screen cut reference area is acquired as an initial screen capture image; when the screen scroll is detected When the preset distance is scrolled by the screen, a screen capture is performed according to the image change of the screen reference area, and the final screen capture image is obtained according to the image obtained by the multiple screen captures and the initial screen capture image; the final screen capture image is obtained. Output, so that you can achieve continuous screenshots to generate long images by simply sliding the screen, which is easy to operate and can capture non-full-screen content, improving the user experience.

Claims (13)

  1. 一种终端截屏的方法,包括:A method for terminal screen capture, comprising:
    检测到终端进入截屏模式后,在终端屏幕的显示界面上确定一区域为截屏参考区域,并获取所述截屏参考区域内的图像作为初始截屏图像;After detecting that the terminal enters the screen capture mode, determining an area as a screen reference area on the display interface of the terminal screen, and acquiring an image in the screen reference area as an initial screen capture image;
    检测到屏幕滚动时,在所述屏幕每次滚动预设距离时,根据所述截屏参考区域的图像变化情况进行一次截屏,并根据多次截屏得到的图像与初始截屏图像获取最终截屏图像;When the screen scrolling is detected, each time the preset distance is scrolled by the screen, a screen capture is performed according to the image change of the screen reference area, and the final screen capture image is obtained according to the image obtained by the multiple screen captures and the initial screen capture image;
    将所述最终截屏图像输出。The final screen shot image is output.
  2. 根据权利要求1所述的方法,其中,所述在终端屏幕的显示界面上确定一区域为截屏参考区域的步骤包括:The method according to claim 1, wherein the step of determining an area as a screen reference area on the display interface of the terminal screen comprises:
    检测用户在所述屏幕上的触摸操作,并根据所述触摸操作的起点位置和终点位置,在所述屏幕的显示界面上确定所述截屏参考区域。A touch operation of the user on the screen is detected, and the screen reference area is determined on a display interface of the screen according to a start position and an end position of the touch operation.
  3. 根据权利要求1所述的方法,其中,所述在所述屏幕每次滚动预设距离时,根据所述截屏参考区域的图像变化情况进行一次截屏,并根据多次截屏得到的图像与初始截屏图像获取最终截屏图像的步骤包括:The method according to claim 1, wherein each time the screen is scrolled by a preset distance, a screen shot is performed according to an image change of the screen reference area, and an image and an initial screen shot are obtained according to the plurality of screen shots. The steps for obtaining an image of the final screenshot of the image include:
    在所述屏幕每次滚动预设距离时;When the screen is scrolled by a preset distance each time;
    根据屏幕滚动方向,截取从所述截屏参考区域外滚动到所述截屏参考区域内的拼接图像,并根据得到的拼接图像与前一次保存的截屏图像进行拼接,或者对前一次保存的截屏图像进行裁剪,从前一次保存的截屏图像中裁剪掉长度为所述预设距离的图像;According to the scrolling direction of the screen, the spliced image that is scrolled from the outside of the screen reference area to the screen reference area is intercepted, and the spliced image is spliced according to the previously saved screen image, or the previously saved screen image is performed. Cropping, cropping an image of the preset distance from the previously saved screenshot image;
    其中,每次拼接或裁减后的图像作为新的截屏图像保存,且在所述屏幕第一次滚动预设距离时,将所述初始截屏图像作为所述前一次保存的截屏图像;The image after each stitching or clipping is saved as a new screen capture image, and when the screen scrolls the preset distance for the first time, the initial screen capture image is used as the screenshot image saved last time;
    在所述屏幕停止滚动时,将当前保存的截屏图像作为所述最终截屏图像。 When the screen stops scrolling, the currently saved screen shot image is taken as the final screen shot image.
  4. 根据权利要求3所述的方法,其中,所述在所述屏幕停止滚动时,将当前保存的截屏图像作为所述最终截屏图像之前,所述方法还包括:The method according to claim 3, wherein the method further comprises: before the screen is stopped scrolling, before the currently saved screen capture image is the final screen capture image, the method further comprises:
    若所述屏幕在一次滚动预设距离后,继续滚动一距离后停止,且继续滚动的距离小于所述预设距离,则在所述屏幕继续滚动时;If the screen continues to scroll by a distance after scrolling the preset distance once, and the distance to continue scrolling is less than the preset distance, when the screen continues to scroll;
    根据屏幕滚动方向,截取从所述截屏参考区域外滚动到所述截屏参考区域内的拼接图像,并根据得到的拼接图像与前一次保存的截屏图像进行拼接,或者对前一次保存的截屏图像进行裁剪,从前一次保存的截屏图像中裁剪掉长度为所述继续滚动的距离的图像。According to the scrolling direction of the screen, the spliced image that is scrolled from the outside of the screen reference area to the screen reference area is intercepted, and the spliced image is spliced according to the previously saved screen image, or the previously saved screen image is performed. Cropping, cropping the image of the distance that continues to scroll from the previously saved screenshot image.
  5. 根据权利要求3或4所述的方法,其中,所述根据屏幕滚动方向,截取从所述截屏参考区域外滚动到所述截屏参考区域内的拼接图像,并根据得到的拼接图像与前一次保存的截屏图像进行拼接,或者对前一次保存的截屏图像进行裁剪的步骤包括:The method according to claim 3 or 4, wherein the scrolling from the outside of the screen reference area to the stitched image in the screen reference area is performed according to a screen scrolling direction, and the previous stitched image is saved according to the previous stitching image The steps of splicing the screenshot image or cropping the previously saved screenshot image include:
    若屏幕滚动方向为预设截屏正方向,则截取从所述截屏参考区域外滚动到所述截屏参考区域内的拼接图像,并根据得到的拼接图像与前一次保存的截屏图像进行拼接;If the scrolling direction of the screen is the positive direction of the preset screen capture, the spliced image that is scrolled from outside the screen reference area to the screen reference area is intercepted, and spliced according to the obtained spliced image and the previously saved screen image;
    若屏幕滚动方向为所述截屏正方向的反方向,则对前一次保存的截屏图像进行裁剪。If the scrolling direction of the screen is the opposite direction of the positive direction of the screen capture, the previously saved screen capture image is cropped.
  6. 根据权利要求2所述的方法,其中,所述检测用户在所述屏幕上的触摸操作,并根据所述触摸操作的起点位置和终点位置,在所述屏幕的显示界面上确定所述截屏参考区域之后,所述方法还包括:The method according to claim 2, wherein said detecting a touch operation of said user on said screen, and determining said screen shot reference on said display interface of said screen according to a start position and an end position of said touch operation After the area, the method further includes:
    根据所述触摸操作的起点位置和终点位置,确定截屏正方向。The positive direction of the screen is determined according to the start position and the end position of the touch operation.
  7. 一种终端截屏的装置,包括:A device for intercepting a terminal, comprising:
    确定模块,配置为检测到终端进入截屏模式后,在终端屏幕的显示界面上确定一区域为截屏参考区域,并获取所述截屏参考区域内的图像作为初始截屏图像; The determining module is configured to: after detecting that the terminal enters the screen capture mode, determine an area as a screen reference area on the display interface of the terminal screen, and acquire an image in the screen reference area as an initial screen capture image;
    截屏模块,配置为检测到屏幕滚动时,在所述屏幕每次滚动预设距离时,根据所述截屏参考区域的图像变化情况进行一次截屏,并根据多次截屏得到的图像与初始截屏图像获取最终截屏图像;a screen capture module configured to detect a screen scrolling, perform a screen capture according to an image change of the screen capture reference area, and obtain an image according to the multiple screen captures and the initial screen capture image each time the screen is scrolled by a preset distance Final screenshot image;
    输出模块,配置为将所述最终截屏图像输出。An output module configured to output the final screenshot image.
  8. 根据权利要求7所述的装置,其中,所述确定模块包括:The apparatus of claim 7, wherein the determining module comprises:
    确定子模块,配置为检测用户在所述屏幕上的触摸操作,并根据所述触摸操作的起点位置和终点位置,在所述屏幕的显示界面上确定所述截屏参考区域。The determining submodule is configured to detect a touch operation of the user on the screen, and determine the screen reference area on the display interface of the screen according to the start position and the end position of the touch operation.
  9. 根据权利要求7所述的装置,其中,所述截屏模块配置为:The apparatus of claim 7, wherein the screen capture module is configured to:
    在所述屏幕每次滚动预设距离时;When the screen is scrolled by a preset distance each time;
    根据屏幕滚动方向,截取从所述截屏参考区域外滚动到所述截屏参考区域内的拼接图像,并根据得到的拼接图像与前一次保存的截屏图像进行拼接,或者对前一次保存的截屏图像进行裁剪,从前一次保存的截屏图像中裁剪掉长度为所述预设距离的图像;According to the scrolling direction of the screen, the spliced image that is scrolled from the outside of the screen reference area to the screen reference area is intercepted, and the spliced image is spliced according to the previously saved screen image, or the previously saved screen image is performed. Cropping, cropping an image of the preset distance from the previously saved screenshot image;
    其中,每次拼接或裁减后的图像作为新的截屏图像保存,且在所述屏幕第一次滚动预设距离时,将所述初始截屏图像作为所述前一次保存的截屏图像;The image after each stitching or clipping is saved as a new screen capture image, and when the screen scrolls the preset distance for the first time, the initial screen capture image is used as the screenshot image saved last time;
    在所述屏幕停止滚动时,将当前保存的截屏图像作为所述最终截屏图像。When the screen stops scrolling, the currently saved screen shot image is taken as the final screen shot image.
  10. 根据权利要求9所述的装置,其中,所述截屏模块还配置为:The apparatus of claim 9, wherein the screen capture module is further configured to:
    若所述屏幕在一次滚动预设距离后,继续滚动一距离后停止,且继续滚动的距离小于所述预设距离,则在所述屏幕继续滚动时;If the screen continues to scroll by a distance after scrolling the preset distance once, and the distance to continue scrolling is less than the preset distance, when the screen continues to scroll;
    根据屏幕滚动方向,截取从所述截屏参考区域外滚动到所述截屏参考区域内的拼接图像,并根据得到的拼接图像与前一次保存的截屏图像进行拼接,或者对前一次保存的截屏图像进行裁剪,从前一次保存的截 屏图像中裁剪掉长度为所述继续滚动的距离的图像。According to the scrolling direction of the screen, the spliced image that is scrolled from the outside of the screen reference area to the screen reference area is intercepted, and the spliced image is spliced according to the previously saved screen image, or the previously saved screen image is performed. Crop, cut from the previous save An image whose length is the distance to continue scrolling is cropped in the screen image.
  11. 一种移动终端,包括:如权利要求7-10任一项所述的终端截屏的装置。A mobile terminal comprising: the apparatus for intercepting a terminal according to any one of claims 7-10.
  12. 一种移动终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现以下步骤:A mobile terminal includes a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor implementing the program to implement the following steps:
    检测到终端进入截屏模式后,在终端屏幕的显示界面上确定一区域为截屏参考区域,并获取所述截屏参考区域内的图像作为初始截屏图像;After detecting that the terminal enters the screen capture mode, determining an area as a screen reference area on the display interface of the terminal screen, and acquiring an image in the screen reference area as an initial screen capture image;
    检测到屏幕滚动时,在所述屏幕每次滚动预设距离时,根据所述截屏参考区域的图像变化情况进行一次截屏,并根据多次截屏得到的图像与初始截屏图像获取最终截屏图像;When the screen scrolling is detected, each time the preset distance is scrolled by the screen, a screen capture is performed according to the image change of the screen reference area, and the final screen capture image is obtained according to the image obtained by the multiple screen captures and the initial screen capture image;
    将所述最终截屏图像输出。The final screen shot image is output.
  13. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行权利要求1至6任一项所述的终端截屏的方法。 A computer storage medium having stored therein computer executable instructions for performing the method of terminal screen capture according to any one of claims 1 to 6.
PCT/CN2017/080912 2016-10-19 2017-04-18 Terminal screenshot method and apparatus, and mobile terminal and storage medium WO2018072413A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019520861A JP2019533251A (en) 2016-10-19 2017-04-18 Terminal screen shot method, apparatus, mobile terminal, and storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610912021.X 2016-10-19
CN201610912021.XA CN107967099A (en) 2016-10-19 2016-10-19 A kind of method, device and mobile terminal of terminal screenshotss

Publications (1)

Publication Number Publication Date
WO2018072413A1 true WO2018072413A1 (en) 2018-04-26

Family

ID=61996407

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/080912 WO2018072413A1 (en) 2016-10-19 2017-04-18 Terminal screenshot method and apparatus, and mobile terminal and storage medium

Country Status (3)

Country Link
JP (1) JP2019533251A (en)
CN (1) CN107967099A (en)
WO (1) WO2018072413A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109618224A (en) * 2018-12-18 2019-04-12 腾讯科技(深圳)有限公司 Video data handling procedure, device, computer readable storage medium and equipment
CN109934769A (en) * 2019-04-26 2019-06-25 努比亚技术有限公司 Method, terminal and the storage medium of the long screenshot of screen
CN110032314A (en) * 2019-03-12 2019-07-19 中国平安人寿保险股份有限公司 A kind of long screenshotss method, apparatus, storage medium and terminal device
CN110058918A (en) * 2019-04-29 2019-07-26 努比亚技术有限公司 Image processing method, wearable device and computer readable storage medium
CN110475016A (en) * 2019-07-10 2019-11-19 努比亚技术有限公司 A kind of long screenshotss control method, terminal and computer readable storage medium
CN111880707A (en) * 2020-07-29 2020-11-03 珠海格力电器股份有限公司 Long screenshot method, system, device, computer and storage medium
CN112183121A (en) * 2019-09-20 2021-01-05 华为技术有限公司 Method and electronic device for machine translation
CN114489429A (en) * 2022-01-29 2022-05-13 青岛海信移动通信技术股份有限公司 Terminal device, long screen capture method and storage medium

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109101178A (en) * 2018-07-23 2018-12-28 Oppo(重庆)智能科技有限公司 Screenshotss method, apparatus and mobile terminal
CN109324735A (en) * 2018-08-23 2019-02-12 珠海格力电器股份有限公司 A kind of method and device of screenshot capture
CN110888576A (en) * 2018-09-10 2020-03-17 珠海格力电器股份有限公司 Screenshot method and device
CN109509240A (en) * 2018-11-28 2019-03-22 湖南新云网科技有限公司 A kind of smart machine display methods, readable storage medium storing program for executing and smart machine
CN110007833A (en) * 2019-02-27 2019-07-12 深圳点猫科技有限公司 A kind of intelligence programming implementation method and device realized terminal screen and roll screenshot
CN110297681A (en) * 2019-06-24 2019-10-01 腾讯科技(深圳)有限公司 Image processing method, device, terminal and storage medium
CN112150361A (en) * 2020-09-17 2020-12-29 珠海格力电器股份有限公司 Rolling screen capture method, device, equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013108027A1 (en) * 2012-01-20 2013-07-25 The Other Media Limited A method of activating activatable content on an electronic device display
CN103984502A (en) * 2014-05-30 2014-08-13 天津三星通信技术研究有限公司 Method for capturing screen content and portable terminal
CN105094617A (en) * 2015-08-24 2015-11-25 北京锤子数码科技有限公司 Screen capturing method and device
CN105278824A (en) * 2014-07-31 2016-01-27 维沃移动通信有限公司 Screen capturing method of terminal equipment and terminal equipment thereof
CN105487766A (en) * 2015-11-24 2016-04-13 努比亚技术有限公司 Picture capture method and apparatus
CN105808107A (en) * 2016-03-28 2016-07-27 努比亚技术有限公司 Picture processing device and method

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11224344A (en) * 1998-02-06 1999-08-17 Casio Comput Co Ltd Output controller and storage medium
US20080125220A1 (en) * 2006-11-27 2008-05-29 Hironobu Sakaguchi System and method of a game that shares a specific property of a character with team members
KR102172354B1 (en) * 2013-06-28 2020-10-30 삼성전자주식회사 Image file generating method and apparatus thereof
JP6168352B2 (en) * 2013-08-12 2017-07-26 コニカミノルタ株式会社 Image forming apparatus and program
CN103473012A (en) * 2013-09-09 2013-12-25 华为技术有限公司 Screen capturing method, device and terminal equipment
CN103472999B (en) * 2013-09-30 2016-08-24 宇龙计算机通信科技(深圳)有限公司 A kind of screenshot method and mobile terminal thereof
CN104615343A (en) * 2013-11-04 2015-05-13 中兴通讯股份有限公司 Terminal printscreen method and device
CN105302429A (en) * 2014-07-31 2016-02-03 维沃移动通信有限公司 Mobile terminal screen capture method and mobile terminal adopting same

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013108027A1 (en) * 2012-01-20 2013-07-25 The Other Media Limited A method of activating activatable content on an electronic device display
CN103984502A (en) * 2014-05-30 2014-08-13 天津三星通信技术研究有限公司 Method for capturing screen content and portable terminal
CN105278824A (en) * 2014-07-31 2016-01-27 维沃移动通信有限公司 Screen capturing method of terminal equipment and terminal equipment thereof
CN105094617A (en) * 2015-08-24 2015-11-25 北京锤子数码科技有限公司 Screen capturing method and device
CN105487766A (en) * 2015-11-24 2016-04-13 努比亚技术有限公司 Picture capture method and apparatus
CN105808107A (en) * 2016-03-28 2016-07-27 努比亚技术有限公司 Picture processing device and method

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109618224A (en) * 2018-12-18 2019-04-12 腾讯科技(深圳)有限公司 Video data handling procedure, device, computer readable storage medium and equipment
CN109618224B (en) * 2018-12-18 2021-03-09 腾讯科技(深圳)有限公司 Video data processing method, device, computer readable storage medium and equipment
CN110032314B (en) * 2019-03-12 2022-06-10 中国平安人寿保险股份有限公司 Long screen capture method and device, storage medium and terminal equipment
CN110032314A (en) * 2019-03-12 2019-07-19 中国平安人寿保险股份有限公司 A kind of long screenshotss method, apparatus, storage medium and terminal device
CN109934769A (en) * 2019-04-26 2019-06-25 努比亚技术有限公司 Method, terminal and the storage medium of the long screenshot of screen
CN109934769B (en) * 2019-04-26 2023-09-19 努比亚技术有限公司 Method, terminal and storage medium for long screenshot of screen
CN110058918A (en) * 2019-04-29 2019-07-26 努比亚技术有限公司 Image processing method, wearable device and computer readable storage medium
CN110058918B (en) * 2019-04-29 2023-09-19 努比亚技术有限公司 Picture processing method, wearable device and computer readable storage medium
CN110475016A (en) * 2019-07-10 2019-11-19 努比亚技术有限公司 A kind of long screenshotss control method, terminal and computer readable storage medium
CN112183121A (en) * 2019-09-20 2021-01-05 华为技术有限公司 Method and electronic device for machine translation
CN112183121B (en) * 2019-09-20 2022-02-25 华为技术有限公司 Method and electronic device for machine translation
US11847314B2 (en) 2019-09-20 2023-12-19 Huawei Technologies Co., Ltd. Machine translation method and electronic device
CN111880707A (en) * 2020-07-29 2020-11-03 珠海格力电器股份有限公司 Long screenshot method, system, device, computer and storage medium
CN114489429A (en) * 2022-01-29 2022-05-13 青岛海信移动通信技术股份有限公司 Terminal device, long screen capture method and storage medium
CN114489429B (en) * 2022-01-29 2024-04-19 青岛海信移动通信技术有限公司 Terminal equipment, long screen capturing method and storage medium

Also Published As

Publication number Publication date
CN107967099A (en) 2018-04-27
JP2019533251A (en) 2019-11-14

Similar Documents

Publication Publication Date Title
WO2018072413A1 (en) Terminal screenshot method and apparatus, and mobile terminal and storage medium
WO2017107441A1 (en) Method and device for capturing continuous video pictures
CN107172346B (en) Virtualization method and mobile terminal
US9313444B2 (en) Relational display of images
US10430456B2 (en) Automatic grouping based handling of similar photos
US8856656B2 (en) Systems and methods for customizing photo presentations
CN106791437B (en) Panoramic image shooting method and mobile terminal
CN107748615B (en) Screen control method and device, storage medium and electronic equipment
CN112004032B (en) Video processing method, terminal device and storage medium
WO2023045207A1 (en) Task processing method and apparatus, electronic device, storage medium, and computer program
CN107360375B (en) Shooting method and mobile terminal
KR20230058458A (en) Picture processing method and apparatus, device and storage medium
WO2023143531A1 (en) Photographing method and apparatus, and electronic device
CN113794834A (en) Image processing method and device and electronic equipment
CN111064930B (en) Split screen display method, display terminal and storage device
TW202121154A (en) Operation display method for image positioning, electronic device and computer-readable storage medium
US10832369B2 (en) Method and apparatus for determining the capture mode following capture of the content
CN112822394A (en) Display control method and device, electronic equipment and readable storage medium
CN111954076A (en) Resource display method and device and electronic equipment
WO2014082595A1 (en) Method and apparatus for uploading an attachment
CN113473012A (en) Virtualization processing method and device and electronic equipment
WO2016101768A1 (en) Terminal and touch operation-based search method and device
TW201535235A (en) Methods for generating and manipulating the grouped photos and apparatuses using the same
CN113056905A (en) System and method for taking tele-like images
US20230138241A1 (en) Method and apparatus for processing multimedia data, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17862191

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2019520861

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17862191

Country of ref document: EP

Kind code of ref document: A1