The content of the invention
In order to solve the above technical problems, the embodiment of the present application provide a kind of mobile terminal screen content screenshotss method and
Its corresponding intrument, so that mobile terminal can carry out full screen and/or part using this method to the screen content of mobile terminal
Formula screenshotss are operated, and meet real needs.
The screenshotss method for the mobile terminal screen content that the embodiment of the present application is provided, this method includes:
The DOWN events of mobile terminal specified button are monitored, when the DOWN events for listening to specified button described in mobile terminal
During generation, very first time stamp is recorded as at the time of DOWN events are occurred;
The UP events of specified button described in mobile terminal are monitored, when the UP events for listening to specified button described in mobile terminal
During generation, the second timestamp is recorded as at the time of UP events are occurred;
The difference that second timestamp is stabbed with the very first time is compared with preset time threshold values, if less than described default
Time threshold values, then carry out full frame screenshotss operation to the screen content of mobile terminal or region screenshotss operated;If greater than described pre-
If time threshold values, then region screenshotss are carried out to the screen content of mobile terminal or full frame screenshotss are operated, the full frame screenshotss operation
Full screen printscreen is obtained for whole intercept operations that carry out to mobile terminal screen content, the region screenshotss are operated for moving
The selected scope of dynamic terminal screen content carries out intercept operation and obtains region sectional drawing.
Preferably, the screen content to mobile terminal, which carries out full frame screenshotss operation, includes:
The actual size interface of mobile terminal screen is obtained, the actual size interface is that mobile terminal can be presented most
Big physical screen;
Diminution processing is carried out to the actual size interface, the diminution comprising mobile terminal screen content after processing is complete
Screen sectional drawing is defined as final full screen printscreen.
It is further preferred that the operating system that the mobile terminal is installed is Android system,
The actual size interface for obtaining mobile terminal screen is specially to call Android system
Surface.screenshot functions obtain the bitmap at the actual size interface of mobile terminal screen;
It is described to actual size interface carry out diminution processing, the diminution comprising mobile terminal screen content after processing is complete
Screen sectional drawing is specially to call bitmap described in the animatorset function pairs of Android system to carry out as final full screen printscreen
Diminution is handled, and the view for loading the bitmap after diminution processing is added into the bitmap presented in current form, the forms for most
Whole full screen printscreen.
It is further preferred that the screen content of mobile terminal is carried out full frame screenshotss operation by systemUI apply in the
One serviced component is completed.
Preferably, the screen content to mobile terminal, which carries out the operation of region screenshotss, includes:
Receive the selected scope to mobile terminal screen regional area;
Draw the figure layer of the selected scope, the transparency and mobile terminal screen of the figure layer of the selected scope of the drafting
The transparency in the region outside the upper selected scope is different;The corresponding screen content of figure layer of the selected scope is defined as
Final region sectional drawing.
Preferably, the operating system that the mobile terminal is installed is Android system,
Described receive be specially to the selected scope of mobile terminal screen regional area:Receive to for demarcating selected scope
Rectangle frame TOUCH events, call the change of scalegesturedetectoron function check rectangle frames, in rectangle frame not
When mobile, call back function smartisanscalelistener functions are called to calculate the selected scope where rectangle frame;
The figure layer for drawing the selected scope is specially that the invalidate functions for calling view draw selected scope
Figure layer.
It is further preferred that the screen content of mobile terminal is carried out region screenshotss operation by systemUI apply in the
Two serviced components are completed.
Preferably, the difference the second timestamp stabbed with the very first time is compared with preset time threshold values, if less than
Or more than the preset time threshold values, then being presented on mobile terminal screen, there is full frame screenshotss function to trigger focus and region
Screenshotss function triggers the control strip of focus, is triggered according to region screenshotss function triggering focus or full frame screenshotss function on control strip
The selection of focus, performs the step of being operated to the screen content progress region screenshotss of mobile terminal or full frame screenshotss.
It is further preferred that the mobile terminal specified button is an entity key or function key for mobile terminal, or
The combination of two entity keys, two function keys or an entity key and One function key.
It is further preferred that the combination for being combined as power key and reset key of described two entity keys.
The embodiment of the present application also provides a kind of screen video recorder of mobile terminal screen content.The device includes:First monitors
Unit, the first recording unit, the second monitoring unit, the second recording unit, timestamp comparation unit, full frame screenshotss unit or region
Screenshotss unit, wherein:
First monitoring unit, the DOWN events for monitoring mobile terminal specified button;
First recording unit, will during for occurring in the DOWN events for listening to specified button described in mobile terminal
DOWN events are recorded as the very first time stamp at the time of generation;
Second monitoring unit, the UP events for monitoring specified button described in mobile terminal;
Second recording unit, during for occurring in the UP events for listening to specified button described in mobile terminal, by UP
Event is recorded as the second timestamp at the time of generation;
The timestamp comparation unit, difference and preset time threshold values for the second timestamp to be stabbed with the very first time enter
Row compares, and if less than the preset time threshold values, then triggers full frame screenshotss unit or region screenshotss unit;If greater than described
Preset time threshold values, then toggle area screenshotss unit or full frame screenshotss unit;
The full frame screenshotss unit, full frame screenshotss operation, described full frame section are carried out for the screen content to mobile terminal
Screen operation is used to obtain full screen printscreen to whole intercept operations that carry out of mobile terminal screen content;
The region screenshotss unit, region screenshotss operation is carried out for the screen content to mobile terminal, and the region is cut
The selected scope progress intercept operation that screen operation is used for mobile terminal screen content obtains region sectional drawing.
Preferably, the full frame screenshotss unit includes interface acquisition subelement and interface processing subelement, wherein:
The interface obtains subelement, the actual size interface for obtaining mobile terminal screen, actual size circle
Face is the greatest physical screen that mobile terminal can be presented;
The interface processing subelement, for carrying out diminution processing to the actual size interface, by including after processing
The diminution full screen printscreen of mobile terminal screen content is defined as final full screen printscreen.
Preferably, the region screenshotss unit includes range reception subelement and figure layer draws subelement, wherein:
The range reception subelement, for receiving the selected scope to mobile terminal screen regional area;
The figure layer draws subelement, the figure layer for drawing the selected scope, the figure of the selected scope of the drafting
The transparency of layer is different from the transparency in the region outside the selected scope on mobile terminal screen;By the selected scope
The corresponding screen content of figure layer is defined as final region sectional drawing.
Preferably, described device also includes control strip display unit, for the difference stabbed in the second timestamp and the very first time
When value is less or greater than the preset time threshold values, being presented on mobile terminal screen, there is full frame screenshotss function to trigger focus
The control strip of focus is triggered with region screenshotss function, so that region screenshotss unit or full frame screenshotss unit are according to area on control strip
Domain screenshotss function triggering focus or full frame screenshotss function trigger the selection of focus, perform and the screen content of mobile terminal screen is entered
The step of row region screenshotss or full frame screenshotss are operated.
The embodiment of the present application is by the monitoring of DOWN events and UP events to specified button and to Time To Event
Record, determines the time tolerance of specified button, is then carried out according to the relation between the difference and preset time threshold values to moving
The operation of full frame screenshotss or the operation of region screenshotss of dynamic terminal screen content.Compared with prior art, the embodiment of the present application is not only
The screenshotss operation of screen content can be carried out on mobile terminals and obtains snapshot, and can be according to being set in advance in difference
Screenshotss mode(Full screen screenshotss and region-type screenshotss)Between switch, make screenshotss operation can more meet user the need for, Jin Erti
High Consumer's Experience.
Embodiment
In order that those skilled in the art more fully understand the technical scheme in the application, it is real below in conjunction with the application
The accompanying drawing in example is applied, the technical scheme in the embodiment of the present application is clearly and completely described, it is clear that described implementation
Example only some embodiments of the present application, rather than whole embodiments.Based on the embodiment in the application, this area is common
The every other embodiment that technical staff is obtained under the premise of creative work is not made, should all belong to the application protection
Scope.
Referring to Fig. 1, one embodiment of the screenshotss method of the mobile terminal screen content provided the figure shows the application
Flow.The flow includes:
Step S101:Monitor the DOWN events of mobile terminal specified button;
Mobile terminal has multiple buttons, and different key has different inherent functions(Mobile terminal is preset itself
Elementary Function), such as power key, long-press power key is by turning-off mobile terminal.Also such as, HOME keys, pressing HOME keys will be from
Other states of mobile terminal are turned back to basic status.The entity of mobile terminal physical physically is actually existed in except this kind of
Outside button, mobile terminal especially intelligent mobile terminal is generally also provided with functionality buttons, and functionality buttons belong to virtual key,
Do not have the smart mobile phone of physical keyboard such as, when needing to carry out word input, it will be presented empty on mobile terminal screen
The button intended on keyboard, the dummy keyboard is virtual key., can be in advance from these in order to realize present invention purpose
The object for specifying one or more buttons whether to occur as monitoring corresponding event in button.The button specified can only be one
The combination of entity key or a virtual key or two entity keys or two virtual keys, can also be an entity key
With the combination of a virtual key.Certainly, according to more key combinations can also be determined the need for actual conditions as here
Specified button.However, generally preferable two buttons of the application are combined, such as the combination of power key and HOME keys.Why
It is preferred that the combination of two buttons, its reason is:If single button is only selected as specified button, because single button is usual
Corresponding function has been pre-defined, New function is set on the basis of a button, function has on the one hand been easily caused and obscures, inconvenience
In user operation, on the other hand switched between the difference in functionality of same key implemented in technology it is also complex,
Extra cost will be increased;If the button for selecting more than two is combined as specified button, although be more convenient for defining
Different from the New function of preset function, but user is needed when being operated while press multiple buttons, extremely inconvenient.
Step S102:When the DOWN events for listening to specified button described in mobile terminal occur, DOWN events are occurred
At the time of be recorded as the very first time stamp;
In the terminal, generally information exchange, the user couple of mobile terminal can be carried out using event-driven mechanism
Some operation of mobile terminal will trigger an event, and the event triggers the corresponding program in mobile terminal again(Function or function
Module)Corresponding operating is performed, the function of setting is completed.The present embodiment start to foregoing specified mobile terminal some(A bit)Press
After key is monitored, when listening to specified button generation DOWN events, the time of origin to the DOWN events is recorded.
DOWN events and follow-up UP events are associated with to the operation of button in itself, it is generally the case that to some button
Operation can have it is a variety of, such as,(In short-term)Press, long-press(Persistently press), compartment is consecutively pressed(It is quick repeatedly to click on)
Deng different modes of operation can correspond to different events, in the present embodiment, the generation of DOWN events, generally mean that this
Specified button is pressed;The generation of UP events, generally means that the specified button is upspring.
Step S103:Monitor the UP events of specified button described in mobile terminal;
Step S104:When listen to specified button described in mobile terminal UP events occur when, by UP events occur when
It is recorded as the second timestamp quarter;
Step S105:The difference that second timestamp is stabbed with the very first time is compared with preset time threshold values, if small
In the preset time threshold values, then step S106 is performed;If greater than the preset time threshold values, then step S107 is performed;
, can be to time of the two events by the record of the two class Time To Events to specified button same as before
Difference is calculated, and the situation of the time difference can reflect the operation carried out to the specified button.In the present embodiment, set
One preset time threshold values, the difference of the threshold values and two timestamps is compared, the time tolerance and preset time valve
Relation situation between value is determined for following corresponding different operating:If time tolerance is less than preset time valve
Value, then triggering performs full frame screenshotss operation;If time tolerance is more than preset time threshold values, triggering performs region screenshotss behaviour
Make.It should be noted that preset time threshold values here can be determined as the case may be, such as 5s, 4s etc..
Step S106:Carry out full frame screenshotss operation to the screen content of mobile terminal, the full frame screenshotss operate for pair
Whole intercept operations that carry out of mobile terminal screen content obtain full screen printscreen, terminate flow;
Step S107:Carry out region screenshotss operation to the screen content of mobile terminal, the region screenshotss operate for pair
The selected scope of mobile terminal screen content carries out intercept operation and obtains region sectional drawing, terminates flow.
According to the relation between time tolerance and preset time threshold values, if triggering enters step S106, carry out complete
Shield intercept operation, carried out by the screen content to mobile terminal after full frame intercept operation, full screen printscreen can be obtained, the sectional drawing
It is the whole of mobile terminal screen content, i.e. content in the range of mobile terminal physical display screen, this mode is referred to as full frame
Formula is intercepted, and full screen interception can retain the state in current screen to greatest extent, provide the user complete current picture.
If triggering enters step S107, region intercept operation is carried out, region interception is carried out by the screen content to mobile terminal
After operation, region sectional drawing can be obtained, the sectional drawing is some part in mobile terminal physical display screen, this mode is referred to as
Region-type is intercepted, the need for region-type interception can meet user to point of interest.The characteristics of above two mode is had nothing in common with each other:Entirely
Although the interception of screen formula can obtain all the elements on physical display screen, it is this operate the picture that is generally truncated to compared with
Greatly, on the one hand to for computer system, operational capability can not possibly the strong mobile terminal of Mrs bring pressure, the opposing party
Face will take larger memory space when being stored;Although region-type interception disclosure satisfy that user to special interests content
Need, reducing the computing pressure and storage pressure, still, the point of interest of user of mobile terminal often has diversity and migration
Property, such as, when needing to obtain multiple points of interest on same screen picture, it will be unable to timely and accurately meet the requirement, or
Person, by certain time, wants on video pictures where obtaining previous point of interest again after in the region of one point of interest of interception
Another point of interest, at this moment because the frame where the picture has been finished, will be unable to be truncated to another point of interest, also not
The need for user being met.
Monitoring of the present embodiment by DOWN events and UP events to specified button and the record to Time To Event,
The time tolerance of specified button is determined, end panel is then moved according to the relation between the difference and preset time threshold values
The operation of full frame screenshotss or the operation of region screenshotss of curtain content.Compared with prior art, the embodiment of the present application can not only moved
Screenshotss operation is carried out in dynamic terminal to screen content and obtains snapshot, and different screenshotss modes can be arranged on according to advance
(Full screen screenshotss and region screenshotss)Between switch, overcome what only full screen screenshotss or region-type screenshotss were individually present to lack
Fall into, both seamless connections are got up so that the need for screenshotss operation more disclosure satisfy that user, so as to be conducive to improving user's body
Test.
It should be noted that in the aforementioned embodiment, full screen is intercepted to the mode combined with region-type interception is:
When time tolerance is less than preset time threshold values, full frame screenshotss operation is triggered;When time tolerance is more than preset time threshold values
When, the operation of toggle area screenshotss, still, the magnitude relationship between this time tolerance and preset time threshold values is with being that triggering is complete
Shield the corresponding relation between screenshotss operation or the operation of region screenshotss, however it is not limited to foregoing situation, in actual applications can be with
It is determined as the case may be.Such as, can be when time tolerance be less than preset time threshold values, triggering carries out region screenshotss
Operation, and when more than preset time threshold values, triggering carries out full frame intercept operation.It should also be noted that, as previously mentioned, for
The selection of specified button can be the combination of a button or multiple buttons, if a button and button is
Power key, in this case, it is necessary to which the operation that common long-press power key is triggered into shutdown is distinguished with the application:Long-press
Power key is to monitor some event, when the monitored incident duration reaches time threshold as defined in system i.e.
Trigger power-off operation, and the triggering of the screenshotss of the application be receive the Up events of power key when just go calculating timestamp it is poor
Value, can interrupt the continuous of down events this when due to the generation of Up events, it is possible to evade long-press power key triggering pass
Machine is operated.
In the aforementioned embodiment, the need for based on reality, previous embodiment can also be further improved to obtain more
Good technique effect.Exemplarily provide two kinds of improved procedures below, those skilled in the art the application core content it
On, other variant embodiments can also be derived, these embodiments for deforming out are within the protection domain of the application.
One of improved procedure:Processing is zoomed in and out to full screen interception.In the aforementioned embodiment, it is generally the case that pass through
The full screen printscreen that full screen intercept operation is obtained is identical with the physical interface size of mobile terminal display screen curtain, and in such case
Under, it is easily caused user and cannot be distinguished by the genuine interface of mobile terminal display screen curtain and the interface of interception, so as to makes it possible to
Think that full frame intercept operation does not succeed, and repeat the operation, waste process resource.Therefore, referring to Fig. 2, the application is excellent
The full frame intercept operation for the screen content that choosing realizes mobile terminal in the following manner, it constitutes another implementation of the application
Example, the embodiment is different only in step S106 from previous embodiment, i.e., the S106 steps of above-described embodiment are entered one by the present embodiment
Step optimization, other steps S101~S105 and S107 are identical with previous embodiment, so using identical reference numerals:
Step S208:The actual size interface of mobile terminal screen is obtained, the actual size interface is mobile terminal energy
The greatest physical screen enough presented;
Step S209:Diminution processing is carried out to the actual size interface, by including in mobile terminal screen after processing
The diminution full screen printscreen of appearance is defined as final full screen printscreen.
The genuine interface of mobile terminal display screen curtain can be distinguished with being truncated to full screen printscreen in this way,
I.e. genuine interface is maximum, and full frame interception figure is within the maximum genuine interface, and user can substantially distinguish two interfaces accordingly,
So as to being appreciated that whether full frame intercept operation operates success, it is to avoid repeat and multi-pass operation.
If what the mobile terminal of user was installed is Android system, said process is when implementing, it is possible to use
Some functions in Android system(Or method)Realize in storehouse.Specifically, when triggering carries out full frame intercept operation, android
System calls surface.screenshot functions(Functional form is:surface.screenshot(Int width, int
height))The bitmap at the actual size interface of mobile terminal screen is obtained, the animatorset of Android system is then called
Function(Functional form is:animatorset(Int width, int height))Diminution processing is carried out to the bitmap, will be filled
It is final full screen printscreen that the view of bitmap after load diminution processing, which is added to the bitmap presented in current form, the forms,.
The two of improved procedure:Selected by the progress of user's localized region, using selected region as region screenshotss model
Enclose.In the aforementioned embodiment, the region for how obtaining region screenshotss is not limited, in actual application, can be taken many
The mode of kind is realized, such as, by the possible interest region of mobile terminal automatic identification user, then regard the interest region as region
The scope of screenshotss.Generally, it is that most probable covers valuable content in a range of region in middle part of mobile terminal screen
Region, the object that mobile terminal automatically can intercept in the region as region., can also be pre- at automatic identification interest region
Some conditions are first set, the most probable interest region of user is determined by matching these conditions, condition here can be system
Meter analyzes the result of the historical custom formation of user or for particular configuration set in advance.But, no matter move end
How end intelligently obtains interest region according to these conditions, in actual application, is likely to occur inaccurate phenomenon.
It is desirable for this purpose that mode be that suitable regional extent is determined by user oneself.The application preferably carries out area in the following manner
Domain screenshotss operation:
Receive the selected scope to mobile terminal screen regional area;Draw the figure layer of the selected scope, the drafting
Selected scope figure layer transparency it is different from the transparency in the region outside the selected scope on mobile terminal screen;Will
The corresponding screen content of figure layer of the selected scope is defined as final region sectional drawing.
Pass through and this receive the selected of mobile terminal user's localized region so that the administrative division map being finally truncated to relative to
For the interest region of user, it will not go wrong again.In addition, here by selection area and the different transparencies in non-selected region
To make a distinction, be conducive to user visually clearly to determine the scope of selection area, also allow for user and enter on this basis
The further adjustment of row regional extent.
If what the mobile terminal of user was installed is Android system, said process is when implementing, it is possible to use
Some functions in Android system(Or method)Realize above-mentioned functions in storehouse.Specifically, Android system is received to for marking
Surely the touch events of the rectangle frame of scope are selected, scalegesturedetectoron function check rectangle frames are then called
Change, when rectangle frame is not moved, call call back function smartisanscalelistener functions calculate rectangle frame where
Selected scope;Call view invalidate()Function draws the figure layer of selected scope.The function is to be based on Android system
Smartisancutscreemshot classes(The Similar integral is in ImageView)By the onDraw for rewriteeing ImageView
(Canvas)What method was realized.
Foregoing two kinds of improved procedures, be able to can also both be combined separately as the example example for realizing the present application purpose
Realize the embodiment of present invention purpose together.When both are combined, if using android systems
System, in order to ensure independent, the reduction system degree of coupling of service logic, the application is preferably for different in SystemUI applications
Interception way is realized using different functional modules, such as, using two different service(Android standard group
Part), one is used to realize region screenshotss operation, and one is used to realize full frame screenshotss operation.
It should be noted that previous embodiment and the embodiment of respective improved procedure formation are with presetting in timestamp
After time threshold values magnitude relationship is determined, full frame intercept operation or region intercept operation are directly triggered.But, in some cases,
The user of mobile terminal may be not intended to this corresponding only by the relatively i.e. more direct triggering progress to the specified button time
Operation because user excessively may can not accurately hold to the time of the pressing operation of specified button, make a fault, lose
When occurring by mistake, aforesaid way will be performed inevitably automatically, if the user desired that this error of correction, then need restarting
The process of the application, it is extremely inconvenient.Therefore, the application further preferably using the magnitude relationship of time tolerance and preset time as
Triggering triggers the condition of the control strip of focus and region screenshotss function triggering focus with full frame screenshotss function, i.e., poor in timestamp
When value is less or greater than preset time threshold values, being presented on mobile terminal screen, there is full frame screenshotss function to trigger focus and area
Domain screenshotss function triggers the control strip of focus, the corresponding function triggering focus on control strip is triggered by user, if touched
Send out full frame and intercept function focus, then perform full frame intercept operation, if toggle area screenshotss function focus, toggle area interception
Operation.This mode both make use of mobile terminal user to the button operation of specified button, also respect fully user itself
Selection, is conducive to strengthening Consumer's Experience.Certainly, in actual application, mobile terminal user preferably foregoing may also implement
The mode of example, because triggering control strip may bring operational delay on the one hand due to needing the selection of wait user, makes to cut
Shield operating efficiency reduction;On the other hand due to needing the operation of progress user's selection, extra step is added, screenshotss are operated
Complicate.Mobile terminal user can be according to the foregoing different implementation of own situation.
The above describes the screenshotss method of the mobile terminal screen content of the application in detail, correspondingly, and the application is also
There is provided a kind of screen video recorder embodiment of mobile terminal screen content.Referring to Fig. 3, the figure shows the mobile terminal of the application
The structured flowchart of screen video recorder.The device includes:First monitoring unit 301, the first recording unit 302, the second monitoring unit
303rd, the second recording unit 304, timestamp comparation unit 305, full frame screenshotss unit 306 or region screenshotss unit 307, wherein:
First monitoring unit 301, the DOWN events for monitoring mobile terminal specified button;
First recording unit 302, will during for occurring in the DOWN events for listening to specified button described in mobile terminal
DOWN events are recorded as the very first time stamp at the time of generation;
Second monitoring unit 303, the UP events for monitoring specified button described in mobile terminal;
Second recording unit 304, during for occurring in the UP events for listening to specified button described in mobile terminal, by UP things
Part is recorded as the second timestamp at the time of generation;
Timestamp comparation unit 305, difference and preset time threshold values for the second timestamp to be stabbed with the very first time enter
Row compares, and if less than the preset time threshold values, then triggers full frame screenshotss unit or region screenshotss unit;If greater than described
Preset time threshold values, then toggle area screenshotss unit or full frame screenshotss unit;
Full frame screenshotss unit 306, full frame screenshotss operation, the full frame screenshotss are carried out for the screen content to mobile terminal
Operate and obtain full screen printscreen for whole intercept operations that carry out to mobile terminal screen content;
Region screenshotss unit 307, region screenshotss operation, the region screenshotss are carried out for the screen content to mobile terminal
Operate and obtain region sectional drawing for the selected scope progress intercept operation to mobile terminal screen content.
The course of work of present apparatus embodiment is:First monitoring unit 301 monitors the DOWN things of mobile terminal specified button
Part, when the first monitoring unit 301 occurs in the DOWN events for listening to specified button described in mobile terminal, by the first record
Member 302 is recorded as the very first time stamp at the time of DOWN events are occurred;Second monitoring unit 303 is monitored and specified described in mobile terminal
The UP events of button, when the second monitoring unit occurs in the UP events for listening to specified button described in mobile terminal, by second
Recording unit 304 is recorded as the second timestamp at the time of UP events are occurred;Then, by timestamp comparation unit 305 by second
The difference that timestamp is stabbed with the very first time is compared with preset time threshold values, if less than preset time threshold values, is then triggered complete
Shield screenshotss unit 306 and full frame screenshotss operation, or the 307 pairs of shiftings of toggle area screenshotss unit are carried out to the screen content of mobile terminal
The screen content of dynamic terminal carries out region screenshotss operation;If greater than preset time threshold values, then 306 pairs of toggle area screenshotss unit
The selected scope of mobile terminal screen content carries out intercept operation and obtains region sectional drawing, or triggers full frame 307 pairs of screenshotss unit
Whole intercept operations that carry out of mobile terminal screen content obtain full screen printscreen.
Present apparatus embodiment is by the monitoring of DOWN events and UP events to specified button and to Time To Event
Record, determines the time tolerance of specified button, is then moved according to the relation between the difference and preset time threshold values
The operation of full frame screenshotss or the operation of region screenshotss of terminal screen content.Compared with prior art, present apparatus embodiment not only may be used
Snapshot is obtained to carry out screen shot operation on mobile terminals, and different screenshotss modes can be arranged on according to advance
(Full screen screenshotss and region screenshotss)Between switch so that screenshotss operation can more meet user the need for, improve Consumer's Experience.
Full frame screenshotss unit 306 can have different inside groups based on different implementations in aforementioned means embodiment
Into structure.Such as, full frame interception unit 306 can include:Interface obtains subelement 3061 and interface processing subelement 3062, its
In:Interface obtains subelement 3061, the actual size interface for obtaining mobile terminal screen, and the actual size interface is shifting
The greatest physical screen that dynamic terminal can be presented;Interface processing subelement 3062, for being contracted to the actual size interface
Small processing, final full screen printscreen is defined as by the diminution full screen printscreen comprising mobile terminal screen content after processing.Equally
Ground, region screenshotss unit 307 can include range reception subelement 3071 and figure layer draws subelement 3072, wherein:Scope connects
Subelement 3071 is received, for receiving the selected scope to mobile terminal screen regional area;Figure layer draws subelement 3072, is used for
Draw the choosing in the figure layer of the selected scope, the transparency and mobile terminal screen of the figure layer of the selected scope of the drafting
Determine the transparency difference in the region outside scope;The corresponding screen content of figure layer of the selected scope is defined as final area
Domain sectional drawing.
In addition, said apparatus can also include control strip display unit, for what is stabbed in the second timestamp and the very first time
When difference is less or greater than the preset time threshold values, being presented on mobile terminal screen, there is full frame screenshotss function to trigger Jiao
Point and region screenshotss function trigger the control strip of focus, so that region screenshotss unit or full frame screenshotss unit are according to on control strip
Region screenshotss function triggering focus or full frame screenshotss function trigger the selection of focus, perform the screen content to mobile terminal screen
The step of progress region screenshotss or full frame screenshotss are operated.
It should be noted that:For the simplicity of narration, above-described embodiment of this specification and the various modifications of embodiment
What implementation was stressed is all identical similar between the difference with other embodiment or mode of texturing, each situation
Part mutually referring to.For several improved procedures of device embodiment, because it is substantially similar to method reality
Example is applied, so describing fairly simple, the relevent part can refer to the partial explaination of embodiments of method.Device described above
The each unit of embodiment can be or may not be physically separate, can both be located at place, or can also
It is distributed under multiple network environments.In actual application, part therein can be selected according to the actual needs or complete
Portion's unit realizes the purpose of this embodiment scheme, those of ordinary skill in the art without creative efforts,
It is appreciated that and implements.
Described above is only the embodiment of the application, it is noted that for the ordinary skill people of the art
For member, on the premise of the application principle is not departed from, some improvements and modifications can also be made, these improvements and modifications also should
It is considered as the protection domain of the application.