CN109271087A - A kind of screenshot method and device - Google Patents
A kind of screenshot method and device Download PDFInfo
- Publication number
- CN109271087A CN109271087A CN201811051752.5A CN201811051752A CN109271087A CN 109271087 A CN109271087 A CN 109271087A CN 201811051752 A CN201811051752 A CN 201811051752A CN 109271087 A CN109271087 A CN 109271087A
- Authority
- CN
- China
- Prior art keywords
- horizontally slips
- display area
- control
- image
- horizontally
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04845—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/0485—Scrolling or panning
Abstract
The embodiment of the present application provides a kind of screenshot method and device, it is related to technical field of image processing, it include: in the screenshot request for receiving user's input, intercept the first image currently shown in the display area that horizontally slips in current display interface, then it controls the corresponding control that horizontally slips in display area that horizontally slips and slides into predeterminated position, and intercept the second image of the display area update that horizontally slips under the control for the control that horizontally slips, first image and second image are spliced, the screenshot of screenshot request is generated.Due to when receiving the access request of user's input, not only intercept the first image shown in the display area that horizontally slips in current display interface, and the control that horizontally slips is controlled after intercepting the first image and slides the image updated in the display area that horizontally slips, then the image updated in the display area that horizontally slips and the first image mosaic output screenshot are intercepted, it realizes and screenshot is carried out to the multiple regions to horizontally slip, meet the screenshot demand of user.
Description
Technical field
The present invention relates to image technique field more particularly to a kind of screenshot methods and device.
Background technique
During the smart machines such as routine use mobile phone, there are the updates that can horizontally slip for certain application interfaces
Region.Sometimes user needs to preserve at the interface of the multiple regions to horizontally slip together screenshotss, and uses intelligence now
Can equipment when carrying out screenshot to interface, the interface that current screen is shown can only be intercepted, to not be able to satisfy user to horizontally slipping
Multiple regions screenshotss together demand.
Summary of the invention
Since in the prior art, when smart machine is to interface screenshot, the interface that current screen is shown can only be intercepted, and cannot
The problem of meeting demand of the user to the multiple regions to horizontally slip together screenshotss, the embodiment of the present application provides a kind of screenshot side
Method and device.
First invention, the embodiment of the present application provide a kind of screenshot method, comprising: receive the screenshot request of user's input;
Intercept the first image currently shown in the display area that horizontally slips in current display interface;
The corresponding control that horizontally slips in display area that horizontally slips described in control slides into predeterminated position, and intercepts described
Horizontally slip the second image of the display area update that horizontally slips under the control of control;
The first image and second image are spliced, the screenshot of the screenshot request is generated.
Optionally, the predeterminated position is that the sliding distance of the control that horizontally slips is equal to the viewing area that horizontally slips
The position of the width in domain;
The corresponding control that horizontally slips in display area that horizontally slips described in the control slides into predeterminated position, and intercepts
Second image of the display area update that horizontally slips under the control of the control that horizontally slips, comprising:
The control that horizontally slips described in control is slided with preset step-length to the predeterminated position from initial position, described in determination
When the distance of the control that horizontally slips sliding is equal to the width of the display area that horizontally slips, horizontally slip viewing area described in interception
The second image currently shown in domain.
Optionally, the predeterminated position is the sliding distance etc. that the multiple and described predeterminated position is the control that horizontally slips
In the position of the width of the display area that horizontally slips;
The corresponding control that horizontally slips in display area that horizontally slips described in the control slides into predeterminated position, and intercepts
Second image of the display area update that horizontally slips under the control of the control that horizontally slips, comprising:
For each predeterminated position, the control that horizontally slips described in control is from initial position with preset step-length to the default position
Sliding is set, when the distance for the control sliding that horizontally slips described in the determination is equal to the width of the display area that horizontally slips, interception
The second image currently shown in the display area that horizontally slips;
The first image and second image are spliced, comprising:
The first image and multiple second images are spliced.
Optionally, horizontally slip in the interception current display interface the first image for currently showing in display area it
Before, further includes:
The setting regions of the current display interface is determined as the display area that horizontally slips;Or
The region interacted in the current display interface with user is determined as the display area that horizontally slips;Or
Horizontally slip display area according to screenshot request determination from the current display interface.
Second aspect, the embodiment of the present application provide a kind of screenshot device, comprising:
Receiving module, for receiving the screenshot request of user's input;
Screen capture module, for intercepting the first image currently shown in the display area that horizontally slips in current display interface;
Processing module slides into default position for controlling the corresponding control that horizontally slips in display area that horizontally slips
It sets, the screen capture module is used to intercept under the control of the control that horizontally slips that the display area that horizontally slips to update the
Two images;
Splicing module generates the screenshot request for splicing the first image and second image
Screenshot.
Optionally, the predeterminated position is that the sliding distance of the control that horizontally slips is equal to the viewing area that horizontally slips
The position of the width in domain;
The processing module is specifically used for: the control that horizontally slips described in control is from initial position with preset step-length to described pre-
If position is slided;
The screen capture module is specifically used for: the distance for the control sliding that horizontally slips described in the determination is equal to described horizontally slip
When the width of display area, the second image for currently being shown in the display area that horizontally slips described in interception.
Optionally, the predeterminated position is the sliding distance etc. that the multiple and described predeterminated position is the control that horizontally slips
In the position of the width of the display area that horizontally slips;
The processing module is specifically used for: being directed to each predeterminated position, the control that horizontally slips described in control is from initial position
Slided with preset step-length to the predeterminated position, the screen capture module is specifically used for: horizontally slip described in the determination control sliding
Distance when being equal to the width of the display area that horizontally slips, the currently shown in the display area that horizontally slips described in interception
Two images;
The splicing module is specifically used for:
The first image and multiple second images are spliced.
Optionally, the processing module is also used to:
The first image currently shown in the display area that horizontally slips in current display interface is intercepted in the screen capture module
Before, the setting regions of the current display interface is determined as the display area that horizontally slips;Or
The region interacted in the current display interface with user is determined as the display area that horizontally slips;Or
Horizontally slip display area according to screenshot request determination from the current display interface.
The third aspect, the embodiment of the present application provide a kind of terminal device, including at least one processing unit and at least
One storage unit, wherein the storage unit is stored with computer program, when described program is executed by the processing unit
When, so that the step of processing unit executes first aspect the method.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, and being stored with can be set by terminal
The standby computer program executed, when described program is run on the terminal device, so that the terminal device executes first
The step of aspect the method.
In the embodiment of the present application, in the screenshot request for receiving user's input, intercepts left and right in current display interface and slide
Then the first image currently shown in dynamic display area controls the corresponding control sliding that horizontally slips in the display area that horizontally slips
To predeterminated position, and the second image of the display area update that horizontally slips under the control for the control that horizontally slips is intercepted, by first
Image and second image are spliced, and the screenshot of screenshot request is generated.Due in the access request for receiving user's input
When, the first image shown in the display area that horizontally slips in current display interface is not only intercepted, but also intercepting the first image
The control that horizontally slips is controlled afterwards and slides the image updated in the display area that horizontally slips, is then intercepted in the display area that horizontally slips
The image of update and the first image mosaic export screenshot, realize and carry out screenshot to the multiple regions to horizontally slip, meet user's
Screenshot demand.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this
For the those of ordinary skill in field, without any creative labor, it can also be obtained according to these attached drawings
His attached drawing.
Fig. 1 is a kind of flow diagram of screenshot method provided by the embodiments of the present application;
Fig. 2 is a kind of schematic diagram of display interface provided by the embodiments of the present application;
Fig. 3 is a kind of schematic diagram of display interface provided by the embodiments of the present application;
Fig. 4 is a kind of flow diagram of screenshot method provided by the embodiments of the present application;
Fig. 5 is a kind of structural schematic diagram of screenshot device provided by the embodiments of the present application;
Fig. 6 is a kind of structural schematic diagram of terminal device provided by the embodiments of the present application.
Specific embodiment
In order to which the purpose of the present invention, technical solution and beneficial effect is more clearly understood, below in conjunction with attached drawing and implementation
Example, the present invention will be described in further detail.It should be appreciated that specific embodiment described herein is only used to explain this hair
It is bright, it is not intended to limit the present invention.
Technical solution in the embodiment of the present application is suitable for the screenshot of terminal device, wherein terminal device includes but unlimited
In mobile phone, tablet computer, portable computer.
Fig. 1 illustrates the embodiment of the present application and provides a kind of process of screenshot method, and the process of this method can be with
It is executed by screenshot device, as shown in Figure 1, comprising the following steps:
Step S101 receives the screenshot request of user's input.
In a kind of possible embodiment, the corresponding shortcut key combinations of screenshot is preset, for example pins power key simultaneously
And volume key receives the screenshot request of user's input when user pins shortcut key combinations.
In a kind of possible embodiment, screenshot icon is set in the display page in advance, shows the page when the user clicks
Screenshot icon, receive user input screenshot request.
Step S102 intercepts the first image currently shown in the display area that horizontally slips in current display interface.
Specifically, it is determined that the display area that horizontally slips in current display interface is including at least following several embodiments:
In a kind of possible embodiment, the setting regions of current display interface is determined as the display area that horizontally slips.
Illustratively, setting includes multiple controls that horizontally slip in current display interface, each control that horizontally slips is one corresponding
The maximum region of area in the corresponding region of the control that horizontally slips each in current display interface is determined as horizontally slipping by region
Display area.
In a kind of possible embodiment, the region interacted in current display interface with user is determined as left and right and is slided
Dynamic display area.Illustratively, set includes multiple controls that horizontally slip, each control that horizontally slips in current display interface
Control a corresponding region, before the shortcut key combinations that user is pinned to screenshot, the region that finger last time touches is determined
For the region that horizontally slips.
In a kind of possible embodiment, the viewing area that horizontally slips is determined from current display interface according to screenshot request
Domain.Illustratively, setting in current display interface includes that first control and second that horizontally slips horizontally slips control, each is left
Right sliding control controls a corresponding region, respectively first area and second area, when user pin simultaneously power key and
When volume increases key, first area is determined as the display area that horizontally slips, when user pins volume down key and volume simultaneously
When increasing key, second area is determined as the display area that horizontally slips.
Step S103 controls the corresponding control that horizontally slips in display area that horizontally slips and slides into predeterminated position, and intercepts
Horizontally slip under the control for the control that horizontally slips display area update the second image.
In a kind of possible embodiment, predeterminated position be horizontally slip control sliding distance be equal to horizontally slip it is aobvious
Show the position of the width in region, controls the control that horizontally slips and slided from initial position with preset step-length to predeterminated position, in determination
When the distance of the control that horizontally slips sliding is equal to the width for the display area that horizontally slips, intercept current in the display area that horizontally slips
Second image of display.Illustratively, the control that horizontally slips is called to slide from right to left, then the start bit for the control that horizontally slips
It is set to the rightmost side for the display area that horizontally slips, the predeterminated position for the control that horizontally slips is the most left of display area that horizontally slip
Side, the image that the display area that horizontally slips currently is shown are as shown in Figure 2.When the control that horizontally slips is from the display area that horizontally slips
When the rightmost side slides into the leftmost side for the display area that horizontally slips, the image shown in the display area that horizontally slips is all updates
Image, as shown in figure 3, directly interception horizontally slips the second image currently shown in display area.
In a kind of possible embodiment, predeterminated position be horizontally slip control sliding distance be preset value position
It sets, wherein the preset value is less than the width for the display area that horizontally slips.The control that horizontally slips is controlled from initial position with default step
Length is slided to predeterminated position, when determining that the distance for the control sliding that horizontally slips is equal to preset value, intercepts the viewing area that horizontally slips
The second image updated in domain.Illustratively, it is to horizontally slip viewing area that predeterminated position, which is the horizontally slip sliding distance of control,
The position of the half of the width in domain sets the control that horizontally slips and slides from right to left, then the initial position for the control that horizontally slips
For the rightmost side for the display area that horizontally slips, the predeterminated position for the control that horizontally slips is the interposition of display area of horizontally slipping
It sets, when the middle position for the display area that horizontally slips that horizontally slips control from the rightmost side for the display area that horizontally slips and slide into
When, the original image of the image and half that the image shown in the display area that horizontally slips is updated by half forms, then interception is worked as
The picture that the half of preceding display updates is as the second image.
In a kind of possible embodiment, predeterminated position be multiple and predeterminated position be horizontally slip control sliding away from
Position from the width for being equal to the display area that horizontally slips.For each predeterminated position, control horizontally slips control from start bit
It sets and is slided with preset step-length to predeterminated position, be equal to the display area that horizontally slips in the distance for determining the control sliding that horizontally slips
When width, the second image currently shown in the display area that horizontally slips is intercepted.Illustratively, predeterminated position is set as two,
Each predeterminated position be horizontally slip control sliding distance be equal to horizontally slip display area width position.Call left and right
Sliding control slides from right to left, and the initial position for the control that horizontally slips is the rightmost side of display area of horizontally slipping, and left and right is slided
The predeterminated position of dynamic control is the leftmost side of display area of horizontally slipping.When the control that horizontally slips is from the display area that horizontally slips
When the rightmost side slides into the leftmost side for the display area that horizontally slips, the image shown in the display area that horizontally slips is all updates
Image.Directly intercept the second image currently shown in the display area that horizontally slips.Then the control that horizontally slips is called again
It slides from right to left, horizontally slip display area more new images, intercepts the second figure currently shown in the display area that horizontally slips
Picture.
Step S104 splices the first image and the second image, generates the screenshot of screenshot request.
When the second image of interception is one, by the first image and the second image mosaic, the screenshot of screenshot request is generated.
When the second image of interception is multiple, by the first image and multiple second image mosaics, screenshot request is generated
Screenshot.
Optionally, when the image for the display area that horizontally slips is cyclically updated under the control for the control that horizontally slips, i.e. left and right
Sliding control can slide always, at this point it is possible to preset the quantity of the second image of interception, for example the second image is one
It is a.When the image for the display area that horizontally slips cannot be cyclically updated under the control for the control that horizontally slips, that is, horizontally slip control
It cannot be slided again after sliding certain distance, at this point it is possible to pre-set the distance that the control that horizontally slips slides every time as sliding
When the width of display area, the second image of the display area update that horizontally slips is intercepted, control cannot be slided again until horizontally slipping
It is dynamic.
Due to intercepting the image that the display area that horizontally slips currently is shown, then in the screenshot request for receiving user
Control horizontally slips control sliding to realize the image update for the display area that horizontally slips, and then intercepts the display area that horizontally slips
The second image updated is realized finally by the first image and the second image mosaic to repeatedly updating in the display area that horizontally slips
Image screenshot together effect, to meet the screenshot request of user.
Embodiment in order to preferably explain the present invention describes the embodiment of the present invention below with reference to specific implement scene and provides
A kind of screenshot method, if Fig. 4 shows, method includes the following steps:
Step S401, user call the screenshotss that horizontally slip by system process A in software interface.
Step S402, system are transferred in management of process class by striding course, find the process B for being currently at front end.
Step S403 finds the interface in display (focus) state in process B.
Step S404 is traversed since the top layer at the interface shows control, from top to bottom until finding the control that horizontally slips
Until.
Coordinate if finding multiple controls that horizontally slip in the interface, when selection is clicked according to user's last time
The corresponding control that horizontally slips.
Step S405 records the apex coordinate (x, y), width (w), height (h) of the control that horizontally slips.
Step S406, process B are called by striding course into window management class, and figure at current display window is found
Layer section [a, b].
Step S407, process B by the apex coordinate (x, y) for the control that horizontally slips, width (w), height (h), display window
The figure layer section [a, b] at place is sent to process A by broadcast mechanism.
Step S408, process A by broadcast back to come data cutout specify figure layer section specify region in the first image.
Step S409, simulation sends a sliding touch event to left or right in process B, and the touch event pair is arranged
The control that should horizontally slip slides 1 pixel every time.
Whether step S410, the horizontally slip distance d of control sliding of judgement are equal to the width in the region that horizontally slips, if so,
S411 is thened follow the steps, it is no to then follow the steps S409.
Step S411, process B by the apex coordinate (x, y) for the control that horizontally slips, width (w), height (h), display window
The figure layer section [a, b] at place, the distance d of the control that horizontally slips sliding are sent to process A by broadcast mechanism.
Step S412, process A by broadcast back to come data cutout specify figure layer section in, specify region in the second figure
Picture.
Process A intercepts the picture specified in region in specified figure layer section, can the realization of calling system screenshotss function.
Step S413, by the first image and the second image mosaic at being exported after a whole figure.
Conceived based on same technique, the embodiment of the present application provides a kind of screenshot device, as shown in figure 5, the device 500 wraps
It includes:
Receiving module 501, for receiving the screenshot request of user's input;
Screen capture module 502, for intercepting the first figure currently shown in the display area that horizontally slips in current display interface
Picture;
Processing module 503, for control the corresponding control that horizontally slips in display area that horizontally slips slide into it is default
Position, the screen capture module are used to intercept the display area update that horizontally slips under the control of the control that horizontally slips
Second image;
Splicing module 504 generates the screenshot request for splicing the first image and second image
Screenshot.
Optionally, the predeterminated position is that the sliding distance of the control that horizontally slips is equal to the viewing area that horizontally slips
The position of the width in domain;
The processing module 503 is specifically used for: the control that horizontally slips described in control is from initial position with preset step-length to institute
State predeterminated position sliding.
The screen capture module 502 is specifically used for: the distance for the control sliding that horizontally slips described in the determination is equal to the left and right
Horizontally slip the second image currently shown in display area when sliding the width of display area, described in interception.
Optionally, the predeterminated position is the sliding distance etc. that the multiple and described predeterminated position is the control that horizontally slips
In the position of the width of the display area that horizontally slips;
The processing module 503 is specifically used for: being directed to each predeterminated position, the control that horizontally slips described in control is from start bit
Set and slided with preset step-length to the predeterminated position, the screen capture module is specifically used for: the control that horizontally slips described in the determination is sliding
When dynamic distance is equal to the width of the display area that horizontally slips, currently shown in the display area that horizontally slips described in interception
Second image;
The splicing module 504 is specifically used for:
The first image and multiple second images are spliced.
Optionally, the processing module 503 is also used to:
The first image currently shown in the display area that horizontally slips in current display interface is intercepted in the screen capture module
Before, the setting regions of the current display interface is determined as the display area that horizontally slips;Or
The region interacted in the current display interface with user is determined as the display area that horizontally slips;Or
Horizontally slip display area according to screenshot request determination from the current display interface.
Based on the same technical idea, the embodiment of the present application provides a kind of terminal device, as shown in fig. 6, including at least
One processor 601, and the memory 602 connecting at least one processor do not limit processor in the embodiment of the present application
Specific connection medium between 601 and memory 602 is connected as in Fig. 6 by bus between processor 601 and memory 602
Example.Bus can be divided into address bus, data/address bus, control bus etc..
In the embodiment of the present application, memory 602 is stored with the instruction that can be executed by least one processor 601, at least
The instruction that one processor 601 is stored by executing memory 602, can execute step included in screenshot method above-mentioned
Suddenly.
Wherein, processor 601 is the control centre of terminal device, can use various interfaces and connection access control
The various pieces of equipment are stored in memory 602 by running or executing the instruction being stored in memory 602 and calling
Data, realize screenshot.Optionally, processor 601 may include one or more processing units, and processor 601 can integrate application
Processor and modem processor, wherein the main processing operation system of application processor, user interface and application program etc.,
Modem processor mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into
In processor 601.In some embodiments, processor 601 and memory 602 can be realized on the same chip, in some realities
It applies in example, they can also be realized respectively on independent chip.
Processor 601 can be general processor, such as central processing unit (CPU), digital signal processor, dedicated integrated
Circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array or other can
Perhaps transistor logic, discrete hardware components may be implemented or execute the application implementation for programmed logic device, discrete gate
Each method, step and logic diagram disclosed in example.General processor can be microprocessor or any conventional processor
Deng.The step of method in conjunction with disclosed in the embodiment of the present application, can be embodied directly in hardware processor and execute completion, Huo Zheyong
Hardware and software module combination in processor execute completion.
Memory 602 is used as a kind of non-volatile computer readable storage medium storing program for executing, can be used for storing non-volatile software journey
Sequence, non-volatile computer executable program and module.Memory 602 may include the storage medium of at least one type,
It such as may include flash memory, hard disk, multimedia card, card-type memory, random access storage device (Random Access
Memory, RAM), static random-access memory (Static Random Access Memory, SRAM), may be programmed read-only deposit
Reservoir (Programmable Read Only Memory, PROM), read-only memory (Read Only Memory, ROM), band
Electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory,
EEPROM), magnetic storage, disk, CD etc..Memory 602 can be used for carrying or storing have instruction or data
The desired program code of structure type and can by any other medium of computer access, but not limited to this.The application is real
Applying the memory 602 in example can also be circuit or other devices that arbitrarily can be realized store function, for storing program
Instruction and/or data.
Based on the same inventive concept, the embodiment of the present application provides a kind of computer readable storage medium, and being stored with can
The computer program executed by terminal device, when described program is run on the terminal device, so that the step of the screenshot method
Suddenly.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method or computer program product.
Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the present invention
Form.It is deposited moreover, the present invention can be used to can be used in the computer that one or more wherein includes computer usable program code
The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art
Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies
Within, then the present invention is also intended to include these modifications and variations.
Claims (10)
1. a kind of screenshot method characterized by comprising
Receive the screenshot request of user's input;
Intercept the first image currently shown in the display area that horizontally slips in current display interface;
The corresponding control that horizontally slips in display area that horizontally slips described in control slides into predeterminated position, and intercepts in the left and right
Slide the second image of the display area update that horizontally slips under the control of control;
The first image and second image are spliced, the screenshot of the screenshot request is generated.
2. the method as described in claim 1, which is characterized in that the predeterminated position be the control that horizontally slips sliding away from
Position from the width for being equal to the display area that horizontally slips;
The corresponding control that horizontally slips in display area that horizontally slips described in the control slides into predeterminated position, and intercepts described
Horizontally slip the second image of the display area update that horizontally slips under the control of control, comprising:
The control that horizontally slips described in control is slided with preset step-length to the predeterminated position from initial position, is determining the left and right
When the distance of sliding control sliding is equal to the width of the display area that horizontally slips, in the display area that horizontally slips described in interception
The second image currently shown.
3. the method as described in claim 1, which is characterized in that the predeterminated position is that the multiple and described predeterminated position is described
Horizontally slip control sliding distance be equal to the display area that horizontally slips width position;
The corresponding control that horizontally slips in display area that horizontally slips described in the control slides into predeterminated position, and intercepts described
Horizontally slip the second image of the display area update that horizontally slips under the control of control, comprising:
For each predeterminated position, the control that horizontally slips described in control is sliding to the predeterminated position with preset step-length from initial position
It is dynamic, when the distance for the control sliding that horizontally slips described in the determination is equal to the width of the display area that horizontally slips, described in interception
Horizontally slip the second image currently shown in display area;
The first image and second image are spliced, comprising:
The first image and multiple second images are spliced.
4. the method as described in claims 1 to 3 is any, which is characterized in that horizontally slip in the interception current display interface
Before the first image currently shown in display area, further includes:
The setting regions of the current display interface is determined as the display area that horizontally slips;Or
The region interacted in the current display interface with user is determined as the display area that horizontally slips;Or
Horizontally slip display area according to screenshot request determination from the current display interface.
5. a kind of screenshot device characterized by comprising
Receiving module, for receiving the screenshot request of user's input;
Screen capture module, for intercepting the first image currently shown in the display area that horizontally slips in current display interface;
Processing module slides into predeterminated position for controlling the corresponding control that horizontally slips in display area that horizontally slips, institute
Screen capture module is stated for intercepting the second figure of the display area update that horizontally slips under the control of the control that horizontally slips
Picture;
Splicing module generates the screenshot of the screenshot request for splicing the first image and second image.
6. device as claimed in claim 5, which is characterized in that the predeterminated position be the control that horizontally slips sliding away from
Position from the width for being equal to the display area that horizontally slips;
The processing module is specifically used for: the control that horizontally slips described in control is from initial position with preset step-length to the default position
Set sliding;
The screen capture module is specifically used for: the distance for the control sliding that horizontally slips described in the determination is equal to the display that horizontally slips
When the width in region, the second image for currently being shown in the display area that horizontally slips described in interception.
7. device as claimed in claim 5, which is characterized in that the predeterminated position is that the multiple and described predeterminated position is described
Horizontally slip control sliding distance be equal to the display area that horizontally slips width position;
The processing module is specifically used for: being directed to each predeterminated position, the control that horizontally slips described in control is from initial position with pre-
If step-length is slided to the predeterminated position, the screen capture module is specifically used for: the control sliding that horizontally slips described in the determination away from
When from the width for being equal to the display area that horizontally slips, the second figure for currently being shown in the display area that horizontally slips described in interception
Picture;
The splicing module is specifically used for:
The first image and multiple second images are spliced.
8. the device as described in claim 5 to 7 is any, which is characterized in that the processing module is also used to:
Before the screen capture module intercepts the first image currently shown in the display area that horizontally slips in current display interface,
The setting regions of the current display interface is determined as the display area that horizontally slips;Or
The region interacted in the current display interface with user is determined as the display area that horizontally slips;Or
Horizontally slip display area according to screenshot request determination from the current display interface.
9. a kind of terminal device, which is characterized in that including at least one processing unit and at least one storage unit, wherein
The storage unit is stored with computer program, when described program is executed by the processing unit, so that the processing unit
Perform claim requires the step of 1~4 any claim the method.
10. a kind of computer readable storage medium, which is characterized in that it is stored with the computer journey that can be executed by terminal device
Sequence, when described program is run on the terminal device, so that terminal device perform claim requirement 1~4 is any described
The step of method.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811051752.5A CN109271087A (en) | 2018-09-10 | 2018-09-10 | A kind of screenshot method and device |
PCT/CN2019/099190 WO2020052373A1 (en) | 2018-09-10 | 2019-08-05 | Screenshot method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811051752.5A CN109271087A (en) | 2018-09-10 | 2018-09-10 | A kind of screenshot method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109271087A true CN109271087A (en) | 2019-01-25 |
Family
ID=65188456
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811051752.5A Pending CN109271087A (en) | 2018-09-10 | 2018-09-10 | A kind of screenshot method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109271087A (en) |
WO (1) | WO2020052373A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020052373A1 (en) * | 2018-09-10 | 2020-03-19 | 珠海格力电器股份有限公司 | Screenshot method and device |
WO2020220999A1 (en) * | 2019-04-29 | 2020-11-05 | 维沃移动通信有限公司 | Screenshot method and terminal device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105045485A (en) * | 2015-07-06 | 2015-11-11 | 魅族科技(中国)有限公司 | Screen capture method and mobile terminal |
CN106527906A (en) * | 2016-10-31 | 2017-03-22 | 维沃移动通信有限公司 | Picture capture method and mobile terminal |
CN106610831A (en) * | 2015-10-26 | 2017-05-03 | 北京国双科技有限公司 | Webpage screenshot method and device |
CN108319484A (en) * | 2017-05-17 | 2018-07-24 | 腾讯科技(深圳)有限公司 | A kind of processing method of five application page, device and storage medium |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104423851B (en) * | 2013-08-22 | 2019-12-20 | 深圳富泰宏精密工业有限公司 | System and method for adjusting picture display |
CN105278824B (en) * | 2014-07-31 | 2018-06-26 | 维沃移动通信有限公司 | The screenshotss method and its terminal device of a kind of terminal device |
CN106843665B (en) * | 2015-12-04 | 2021-10-01 | 北京奇虎科技有限公司 | Screenshot method and device and terminal equipment |
CN106873883A (en) * | 2015-12-14 | 2017-06-20 | 北京奇虎科技有限公司 | A kind of method, device across screen sectional drawing long based on gesture |
CN106843700B (en) * | 2017-01-13 | 2020-03-20 | 珠海市魅族科技有限公司 | Screenshot method and device |
CN109271087A (en) * | 2018-09-10 | 2019-01-25 | 珠海格力电器股份有限公司 | A kind of screenshot method and device |
-
2018
- 2018-09-10 CN CN201811051752.5A patent/CN109271087A/en active Pending
-
2019
- 2019-08-05 WO PCT/CN2019/099190 patent/WO2020052373A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105045485A (en) * | 2015-07-06 | 2015-11-11 | 魅族科技(中国)有限公司 | Screen capture method and mobile terminal |
CN106610831A (en) * | 2015-10-26 | 2017-05-03 | 北京国双科技有限公司 | Webpage screenshot method and device |
CN106527906A (en) * | 2016-10-31 | 2017-03-22 | 维沃移动通信有限公司 | Picture capture method and mobile terminal |
CN108319484A (en) * | 2017-05-17 | 2018-07-24 | 腾讯科技(深圳)有限公司 | A kind of processing method of five application page, device and storage medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020052373A1 (en) * | 2018-09-10 | 2020-03-19 | 珠海格力电器股份有限公司 | Screenshot method and device |
WO2020220999A1 (en) * | 2019-04-29 | 2020-11-05 | 维沃移动通信有限公司 | Screenshot method and terminal device |
US11740769B2 (en) | 2019-04-29 | 2023-08-29 | Vivo Mobile Communication Co., Ltd. | Screenshot method and terminal device |
Also Published As
Publication number | Publication date |
---|---|
WO2020052373A1 (en) | 2020-03-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105353936B (en) | A kind of display methods and electronic equipment | |
CN103530220A (en) | Display method and system and terminal for application program icons | |
CN107193440A (en) | A kind of method for showing interface and device, computer installation and readable storage medium storing program for executing | |
CN111782030A (en) | Setting method of three-dimensional icon, electronic device and readable storage medium | |
CN109271087A (en) | A kind of screenshot method and device | |
KR102237520B1 (en) | Method of providing virtual exhibition space for efficient data management | |
CN110928397B (en) | User interface refreshing method and device, storage medium and electronic device | |
CN105760458A (en) | Picture processing method and electronic equipment | |
CN110102048A (en) | A kind of virtual costume rendering method and device | |
CN107247550A (en) | One kind application switching method and device, computer installation, readable storage medium storing program for executing | |
CN110764862A (en) | Desktop wallpaper display method and device, terminal equipment and storage medium | |
US9710210B2 (en) | Image forming system, information processing device, tally information transmission method, and non-transitory computer readable recording medium | |
CN104317561A (en) | Method of interface operation | |
CN112698793A (en) | Data storage method and device, machine readable medium and equipment | |
CN109298813A (en) | A kind of application methods of exhibiting, device, terminal and readable storage medium storing program for executing | |
WO2020052374A1 (en) | Screenshot method and device | |
CN109683798B (en) | Text determination method, terminal and computer readable storage medium | |
RU2644117C2 (en) | Method for user and terminal authentication | |
CN109710278A (en) | A kind of method, apparatus and terminal device unloading application program | |
CN104267875A (en) | Photo mode display method and device | |
CN115460448A (en) | Media resource editing method and device, electronic equipment and storage medium | |
WO2020253201A1 (en) | Method and apparatus for upgrading application, terminal device, and storage medium | |
CN110168601B (en) | Image correction method and system by analyzing correction mode | |
CN104216710A (en) | Terminal | |
CN109669750A (en) | A kind of icon display method and terminal, storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190125 |
|
RJ01 | Rejection of invention patent application after publication |