CN106970752A - A kind of screenshotss method and mobile terminal - Google Patents
A kind of screenshotss method and mobile terminal Download PDFInfo
- Publication number
- CN106970752A CN106970752A CN201710114958.7A CN201710114958A CN106970752A CN 106970752 A CN106970752 A CN 106970752A CN 201710114958 A CN201710114958 A CN 201710114958A CN 106970752 A CN106970752 A CN 106970752A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- angle
- screenshotss
- adjustment
- inclination
- 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.)
- Granted
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
-
- 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/0487—Interaction 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
Abstract
The embodiments of the invention provide a kind of screenshotss method and mobile terminal.This method includes:After screenshotss are started, the angle of inclination of the mobile terminal is detected;According to the angle of inclination, adjustment screenshotss region;According to the screenshotss region after adjustment, screenshotss are carried out.Angle of inclination of the invention by detecting mobile terminal, and screenshotss region is adjusted according to the angle of inclination, and screenshotss are carried out to the screenshotss region after adjustment, it is easy to user's one-handed performance, and suitable for the mobile terminal of various screen types, improve interactive versatility and Consumer's Experience sense.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of screenshotss method and mobile terminal.
Background technology
At present, screenshotss have become the indispensable function of intelligent terminal, and Android native systems provide the fast of screenshotss
Prompt mode, but whole screen can only be intercepted, it is impossible to by region screenshotss.And most of Android manufacturers are all built-in " super section
The function of screen ", specifically comprising functions such as long screenshotss, entertaining screenshotss, rectangle screenshotss, record screens.
And super screenshotss are all by region screenshotss, specifically, can select to cut by finger dragging under most scenes
Shield region.But, it is desirable to not necessarily hung down between the position in the position for the target area being dragged to and the region of initial screenshotss
The line of straight or level, it is also possible to oblique line.
If that being oblique line, then user needs multiple drag operation, can just adjust screenshotss region to precalculated position;
If moreover, the screen of mobile terminal includes Curved screen, then be also not easy to drag screenshotss region in screen edge, make
It is difficult to realize into drag operation;In addition, needing bimanualness when dragging screenshotss region, then once any one hand of user
It is being busy with other affairs, is will be unable to complete the adjustment operation in screenshotss region.
Therefore, screenshotss scheme generally existing of the prior art poor universality and singlehanded can not adjust screenshotss region
Problem.
The content of the invention
The embodiment of the present invention provides a kind of screenshotss method and mobile terminal, is deposited with solving screenshotss scheme of the prior art
Poor universality and can not singlehanded adjustment screenshotss region the problem of.
In a first aspect, the embodiments of the invention provide a kind of screenshotss method, applied to mobile terminal, methods described includes:
After screenshotss are started, the angle of inclination of the mobile terminal is detected;
According to the angle of inclination, adjustment screenshotss region;
According to the screenshotss region after adjustment, screenshotss are carried out.
Second aspect, the embodiment of the present invention additionally provides a kind of mobile terminal, and the mobile terminal includes:
Detection module, for after screenshotss are started, detecting the angle of inclination of the mobile terminal;
Adjusting module, for according to the angle of inclination, adjustment screenshotss region;
Screen capture module, for according to the screenshotss region after adjustment, carrying out screenshotss.
So, the embodiment of the present invention is by detecting the angle of inclination of mobile terminal, and according to the angle of inclination come to screenshotss
Region is adjusted, and carries out screenshotss to the screenshotss region after adjustment, is easy to user's one-handed performance, and suitable for various screen classes
The mobile terminal of type, improves interactive versatility and Consumer's Experience sense.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below by institute in the description to the embodiment of the present invention
The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention
Example, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is the flow chart of the screenshotss method of first embodiment of the invention;
Fig. 2 is the flow chart of the screenshotss method of second embodiment of the invention;
Fig. 3 is the flow chart of the screenshotss method of third embodiment of the invention;
Fig. 4 is the block diagram of the mobile terminal of fourth embodiment of the invention;
Fig. 5 is the block diagram of the mobile terminal of fifth embodiment of the invention.
Fig. 6 is the block diagram of the mobile terminal of sixth embodiment of the invention;
Fig. 7 is the structural representation of the mobile terminal of seventh embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made
Example, belongs to the scope of protection of the invention.
First embodiment
Reference picture 1, shows the flow chart of the screenshotss method of one embodiment of the invention, described applied to mobile terminal
Method specifically may include steps of:
Step 101, after screenshotss are started, the angle of inclination of the mobile terminal is detected;
Wherein, after user triggers screenshotss operation (for example, long-press power key, home keys etc.) and starts screenshotss, at this moment
Screenshotss region (such as screenshotss frame) can be shown on the screen of mobile terminal, then in order that the region that screenshotss frame is covered is user
Want to carry out the region of screenshotss, at this moment user can one hand hold mobile terminal (for example, mobile phone) and enter line tilt, at this moment just can be with
Listen to the angle of inclination of mobile terminal.
Step 102, according to the angle of inclination, screenshotss region is adjusted;
Then, it is possible to, will to be adjusted to screenshotss region (for example, above-mentioned screenshotss frame) according to the angle of inclination
Screenshotss frame, which is adjusted to user, to be needed to carry out the region of screenshotss.
Step 103, according to the screenshotss region after adjustment, screenshotss are carried out.
Finally, it is possible to entered according to the position of the screenshotss frame after adjustment to cover the position covered in other words to screenshotss frame
Row screenshotss.
So, the embodiment of the present invention is by detecting the angle of inclination of mobile terminal, and according to the angle of inclination come to screenshotss
Region is adjusted, and carries out screenshotss to the screenshotss region after adjustment, is easy to user's one-handed performance, and suitable for various screen classes
The mobile terminal of type, improves interactive versatility and Consumer's Experience sense.
Second embodiment
Reference picture 2, shows the flow chart of the screenshotss method of another embodiment of the present invention, applied to mobile terminal, institute
Method is stated specifically to may include steps of:
Step 201, after screenshotss are started, detect initial inclination angle when starting screenshotss of the mobile terminal and work as
The instantaneous ramp angle at preceding moment, the instantaneous ramp angle and the difference of the initial inclination angle is whole as the movement
The angle of inclination at end;Or, instantaneous ramp angle of the mobile terminal at current time is detected, by the instantaneous ramp angle
It is used as the angle of inclination of the mobile terminal;
Wherein, when detecting the angle of inclination of mobile terminal, the angle of inclination can be expressed in two ways, mode
One, the angle of inclination is that the mobile terminal (for example, mobile phone) is starting the initial inclination angle at screenshotss moment and user's adjustment
The difference of the instantaneous ramp angle at current time when no longer changing after mobile terminal angle;Mode two, the angle of inclination is shifting
The instantaneous ramp angle at current time of the dynamic terminal when no longer changing angle after user adjusts the angle of mobile terminal.
And the calculating as above-mentioned initial inclination angle and above-mentioned instantaneous ramp angle then can be by mobile terminal
The monitor in portion calculates above-mentioned angle of inclination to monitor the x, y, z coordinate of mobile terminal.
Step 202, when the angle of inclination of the mobile terminal includes screen length direction and the level of the mobile terminal
During the angle in face, according to the screen length direction of the mobile terminal and the angle of horizontal plane, in the screen of the mobile terminal
Screenshotss region is adjusted on length direction;
Wherein, if user's portrait layout hand-held mobile terminal tilts forward and back mobile terminal, meaning will be adjusted above and below screenshotss region,
I.e. here the angle of inclination of mobile terminal can include the screen length direction of mobile terminal and the angle of horizontal plane, then this hair
Bright embodiment can adjust screenshotss region according to the angle on the screen length direction of mobile terminal, i.e., by screenshotss region
Upper and lower on mobile terminal screen is adjusted up.
Alternatively, when the angle of inclination of the mobile terminal includes screen width direction and the horizontal plane of the mobile terminal
Angle when, it is wide in the screen of the mobile terminal according to the screen width direction of the mobile terminal and the angle of horizontal plane
Degree side adjusts upward screenshotss region.
That is, if user's portrait layout hand-held mobile terminal tilts mobile terminal, meaning is by screenshotss region in right and left
Adjust upward, i.e. the angle of inclination of mobile terminal here can include the screen width direction of mobile terminal and the folder of horizontal plane
Angle, then the embodiment of the present invention can adjust screenshotss region according to the angle on the screen width direction of mobile terminal,
Left back of the screenshotss region on mobile terminal screen is adjusted up.
So the angle of mobile terminal different directions is rotated by user, it is possible to which screenshotss region is long in above-mentioned screen
It is adjusted on degree direction and/or screen width direction, so that user be able to will be opened by the angle rotation to mobile terminal
Screenshotss region (screenshotss frame) during dynamic screenshotss is moved to the position of desired screenshotss.
For example when starting screenshotss, the screenshotss region is located at the upper left corner of mobile terminal screen, and user is wanted on screen
Part positioned at the screen lower right corner carries out screenshotss, then just mobile terminal can be tilted to the right and be tilted down screenshotss
Frame is moved to the lower right position of screen.
Step 203, according to the screenshotss region after adjustment, screenshotss are carried out.
Finally, it is possible to according to the screenshotss region after adjustment, to carry out screenshotss, the screenshotss frame after will adjusting is covered
The region of (covering) carries out screenshotss.
By means of the technical scheme of the above embodiment of the present invention, the embodiment of the present invention can set selection movement according to system
The different calculations at terminal angle of inclination, so, can also at least a kind of meter at angle of inclination even if system breaks down
Calculation mode can realize, thus avoid can not correctly screenshotss the problem of;In addition, by screen length direction and screen width side
The adjustment mode in screenshotss region is determined to respectively, disclosure satisfy that adjustment of the user to screenshotss region optional position on screen is needed
Ask, realize the 360 degree of adjustment without dead angle on screen of screenshotss region, the adjustment in screenshotss region is very flexible.
3rd embodiment
Reference picture 3, shows the flow chart of the screenshotss method of another embodiment of the invention, applied to mobile terminal, institute
Method is stated specifically to may include steps of:
Step 301, after screenshotss are started, the angle of inclination of the mobile terminal is detected;
Above-mentioned steps 101 or step 201 specifically are referred to, be will not be repeated here.
Step 302, when the angle of inclination of the mobile terminal includes screen length direction and the level of the mobile terminal
During the angle in face, according to the screen length direction of the mobile terminal and the angle of horizontal plane, determined according to the first scheduled rate
First adjustment direction and the first adjustment distance;
That is, as described above, user has carried out tilted upward to mobile terminal, then can be according to the screen of mobile terminal
The angle (wherein, the angle is also to be determined according to the change of x, y, z coordinate) of length direction and horizontal plane determines first
(wherein, due to screen length direction, there is also both direction, therefore it is need that can be determined according to the angle up and down for adjustment direction
It is adjusted up or regulation downwards), and the first adjustment distance (i.e. the distance of adjustment of the screenshotss frame on screen length direction)
The angle then can be calculated with the business of first scheduled rate to determine.
Wherein, first scheduled rate is the screen length of the mobile terminal divided by the business of the first predetermined angle.Its
In, because the number of degrees of the singlehanded terminal in rotary moving of user under normal circumstances are not over 90 degree, and majority of case is 45
Degree left and right, therefore, first predetermined angle can be 45 degree, can also between 0~90 degree any value, such as 30 degree, 60
Degree, 75 degree etc..That is, specific numerical value can need flexible set according to user.
Step 303, on the screen length direction of the mobile terminal, according to first adjustment direction and described first
Adjustment distance is adjusted to the screenshotss region;
Then, it is possible to carry out the adjustment direction and adjustment distance according to determination on the screen length direction of the mobile terminal
The screenshotss region (i.e. screenshotss frame) generated when starting screenshotss is adjusted on screen.
Alternatively, when the angle of inclination of the mobile terminal includes screen width direction and the horizontal plane of the mobile terminal
Angle when, according to the screen width direction of the mobile terminal and the angle of horizontal plane, is determined according to the second scheduled rate
Two adjustment directions and the second adjustment distance;On the screen width direction of the mobile terminal, according to second adjustment direction
The screenshotss region is adjusted with the described second adjustment distance.
That is, as described above, user is tilted to mobile terminal, then can be according to the screen of mobile terminal
The angle (wherein, the angle is also to be determined according to the change of x, y, z coordinate) of width and horizontal plane determines second
Adjustment direction (wherein, due to screen width direction there is also to the left, both direction to the right, therefore can be according to the angle come really
Surely need to adjust to the left or adjust to the right), and the second adjustment distance (i.e. adjustment of the screenshotss frame on screen money degree direction
Distance) then the angle can be calculated with the business of second scheduled rate to determine.
Wherein, second scheduled rate is the screen width of the mobile terminal divided by the business of the second predetermined angle.Its
In, because the number of degrees of the singlehanded terminal in rotary moving of user under normal circumstances are not over 90 degree, and majority of case is 45
Degree left and right, therefore, second predetermined angle can be 45 degree, can also between 0~90 degree any value, such as 30 degree, 60
Degree, 75 degree etc..That is, specific numerical value can need flexible set according to user.
In addition, first predetermined angle and the second predetermined angle can be with identical or different, they can be according to user's needs
Flexibly set.
So, by the adjustment on screen length direction and/or screen width direction, it is possible to by screenshotss region adjust to
User wants the position of screenshotss.
Step 304, according to the screenshotss region after adjustment, screenshotss are carried out.
Then, it is possible to according to the screenshotss region after adjustment, to carry out screenshotss, the screenshotss frame after will adjusting is covered
The region of (covering) carries out screenshotss.
Step 305, when the angle of inclination for detecting the mobile terminal first in the operation of current screenshotss resets, protect
Hold the screenshotss region constant.
Wherein, in general, after screenshotss region is moved to expected regional location, user will not click in situ
Screenshotss are completed, but are clicked on screenshotss after mobile terminal is put just again and completed, so needing to exclude back positive rotation process, here
Referred to as reset.
Therefore, if the angle of inclination for detecting the mobile terminal first there occurs reset (i.e., in the operation of current screenshotss
Judge to there occurs operation for the first time toward opposite inclined at inclination angles in current screenshotss are operated), then need to keep this section
Shield region constant, i.e., do not move.
Wherein, the problem of reset operation can solve following two kinds of situations:
Situation one:If when mobile terminal has tilted larger angle, but screenshotss region is also not moved to expection
Region, if now continuing inclination movement terminal, the eyes of user may not see screen, then at this moment, user
Need the angle of inclination of mobile terminal toward reclaiming a bit, be then further continued for being adjusted to original direction, therefore, at this moment
Reset operation is detected, the process toward recovery cannot be responded, otherwise last movement is just in vain;
Situation two:After screenshotss region is moved to expected region, now mobile terminal may tilt one
Fixed angle, and this angle is inconvenient to be confirmed and clicks on " completion ", it is necessary to which rotation of mobile terminal is returned into comfortable position
Put, then click on " completion ".Therefore, this process gone back to cannot now be responded.
By the above-mentioned technical proposal of the embodiment of the present invention, the embodiment of the present invention can be adjusted in screenshotss region or do not adjusted
During to expected areas, operation is resetted to first time and ignored, the rotation process before can so avoiding wasting, to cutting
The effect for shielding region adjustment is good.
Fourth embodiment
Reference picture 4, shows the block diagram of the mobile terminal of one embodiment of the invention.Mobile terminal includes shown in Fig. 4:
Detection module 401, for after screenshotss are started, detecting the angle of inclination of the mobile terminal;
Adjusting module 402, for according to the angle of inclination, adjustment screenshotss region;
Screen capture module 403, for according to the screenshotss region after adjustment, carrying out screenshotss.
So, the embodiment of the present invention is by detecting the angle of inclination of mobile terminal, and according to the angle of inclination come to screenshotss
Region is adjusted, and carries out screenshotss to the screenshotss region after adjustment, is easy to user's one-handed performance, and suitable for various screen classes
The mobile terminal of type, improves interactive versatility and Consumer's Experience sense.
5th embodiment
Reference picture 5, shows the block diagram of the mobile terminal of another embodiment of the present invention.Mobile terminal includes shown in Fig. 5:
Detection module 401, for after screenshotss are started, detecting the angle of inclination of the mobile terminal;
Adjusting module 402, for according to the angle of inclination, adjustment screenshotss region;
Screen capture module 403, for according to the screenshotss region after adjustment, carrying out screenshotss.
Alternatively, the detection module 401 includes:
First detection sub-module 411, for detect the mobile terminal start screenshotss when initial inclination angle and
The instantaneous ramp angle at current time, regard the difference of the instantaneous ramp angle and the initial inclination angle as the movement
The angle of inclination of terminal;
Or,
Second detection sub-module 421, will be described for detecting instantaneous ramp angle of the mobile terminal at current time
Instantaneous ramp angle as the mobile terminal angle of inclination.
Alternatively, the adjusting module 402 includes:
First adjustment submodule 412, the screen that the angle of inclination for the mobile terminal includes the mobile terminal is long
During the angle of degree direction and horizontal plane, according to the screen length direction of the mobile terminal and the angle of horizontal plane, moved described
The screen length side of dynamic terminal adjusts upward screenshotss region;
Second adjustment submodule 422, the screen that the angle of inclination for the mobile terminal includes the mobile terminal is wide
During the angle of degree direction and horizontal plane, according to the screen width direction of the mobile terminal and the angle of horizontal plane, moved described
The screen width side of dynamic terminal adjusts upward screenshotss region.
Alternatively, the first adjustment submodule 412 includes:
First determining unit, for the screen length direction according to the mobile terminal and the angle of horizontal plane, according to
One scheduled rate determines the first adjustment direction and the first adjustment distance;
First adjustment unit, in the screen length direction of the mobile terminal, according to first adjustment direction
The screenshotss region is adjusted with the described first adjustment distance;
Alternatively, the second adjustment submodule 422 includes:
Second determining unit, for the screen width direction according to the mobile terminal and the angle of horizontal plane, according to
Two scheduled rates determine the second adjustment direction and the second adjustment distance;
Second adjustment unit, in the screen width direction of the mobile terminal, according to second adjustment direction
The screenshotss region is adjusted with the described second adjustment distance.
Alternatively, first scheduled rate is screen length divided by the business of the first predetermined angle of the mobile terminal,
Second scheduled rate is the screen width of the mobile terminal divided by the business of the second predetermined angle.
Alternatively, institute's mobile terminal also includes:
Module 404 is kept, the angle of inclination for detecting the mobile terminal first in the operation of current screenshotss occurs
During reset, keep the screenshotss region constant.
Mobile terminal can realize the people for avoiding screenshotss region that mobile terminal is realized in Fig. 1 to Fig. 3 embodiment of the method
Work adjustment, for different screen type mobile terminal highly versatile, be capable of the effect in singlehanded adjustment screenshotss region, to avoid
Repeat, repeat no more here.
Sixth embodiment
Fig. 6 is the block diagram of the mobile terminal of another embodiment of the invention.Mobile terminal 600 shown in Fig. 6 includes:At least
One processor 601, memory 602, at least one network interface 604 and user interface 603.Each in mobile terminal 600
Component is coupled by bus system 605.It is understood that bus system 605 is used to realize that the connection between these components to be led to
Letter.Bus system 605 is in addition to including data/address bus, in addition to power bus, controlling bus and status signal bus in addition.But be
For the sake of clear explanation, in figure 6 various buses are all designated as bus system 605.
Wherein, user interface 603 can include display, keyboard or pointing device (for example, mouse, trace ball
(trackball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 602 in the embodiment of the present invention can be volatile memory or nonvolatile memory,
Or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read-
Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), the read-only storage of erasable programmable
Device (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, EEPROM) or
Flash memory.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used as outside high
Speed caching.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static RAM
(Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), Synchronous Dynamic Random Access Memory
(Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate
SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronized links
Dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory (Direct
Rambus RAM, DRRAM).The embodiment of the present invention description system and method memory 602 be intended to including but not limited to these
With the memory of any other suitable type.
In some embodiments, memory 602 stores following element, can perform module or data structure, or
Their subset of person, or their superset:Operating system 6021 and application program 6022.
Wherein, operating system 6021, comprising various system programs, such as ccf layer, core library layer, driving layer, are used for
Realize various basic businesses and handle hardware based task.Application program 6022, includes various application programs, such as media
Player (Media Player), browser (Browser) etc., for realizing various applied business.Realize the embodiment of the present invention
The program of method may be embodied in application program 6022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 602, specifically, can be application
The program stored in program 6022 or instruction, processor 601 are used to after screenshotss are started, detect the inclination angle of the mobile terminal
Degree;According to the angle of inclination, adjustment screenshotss region;According to the screenshotss region after adjustment, screenshotss are carried out.
The method that the embodiments of the present invention are disclosed can apply in processor 601, or be realized by processor 601.
Processor 601 is probably a kind of IC chip, the disposal ability with signal.In implementation process, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 601 or the instruction of software form.Above-mentioned processing
Device 601 can be general processor, digital signal processor (Digital Signal Processor, DSP), special integrated electricity
Road (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field
Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic,
Discrete hardware components.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to institute of the embodiment of the present invention
The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor
And software module combination performs completion.Software module can be located at random access memory, and flash memory, read-only storage may be programmed read-only
In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at
Memory 602, processor 601 reads the information in memory 602, the step of completing the above method with reference to its hardware.
It is understood that the embodiment of the present invention description these embodiments can with hardware, software, firmware, middleware,
Microcode or its combination are realized.Realized for hardware, processing unit can be realized in one or more application specific integrated circuits
(Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal
Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable
Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general place
Manage in device, controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
For software realize, can by perform the module (such as process, function) of function described in the embodiment of the present invention come
Realize the technology described in the embodiment of the present invention.Software code is storable in memory and by computing device.Memory can
To realize within a processor or outside processor.
Alternatively, processor 601 is additionally operable to:Detect the mobile terminal start screenshotss when initial inclination angle and
The instantaneous ramp angle at current time, regard the difference of the instantaneous ramp angle and the initial inclination angle as the movement
The angle of inclination of terminal;Or, instantaneous ramp angle of the mobile terminal at current time is detected, by the instantaneous pitch angle
Spend the angle of inclination as the mobile terminal.
Alternatively, processor 601 is additionally operable to:The screen that the angle of inclination of the mobile terminal includes the mobile terminal is long
During the angle of degree direction and horizontal plane, according to the screen length direction of the mobile terminal and the angle of horizontal plane, moved described
The screen length side of dynamic terminal adjusts upward screenshotss region;And be additionally operable to the mobile terminal angle of inclination include it is described move
During the angle of the screen width direction of dynamic terminal and horizontal plane, according to the screen width direction of the mobile terminal and horizontal plane
Angle, screenshotss region is adjusted upward in the screen width side of the mobile terminal.
Alternatively, processor 601 is additionally operable to:According to the screen length direction of the mobile terminal and the angle of horizontal plane,
The first adjustment direction and the first adjustment distance are determined according to the first scheduled rate;In the screen length direction of the mobile terminal
On, the screenshotss region is adjusted according to first adjustment direction and the first adjustment distance;And it is additionally operable to root
Screen width direction and the angle of horizontal plane according to the mobile terminal, according to the second scheduled rate determine the second adjustment direction and
Second adjustment distance;On the screen width direction of the mobile terminal, adjusted according to second adjustment direction and described second
Whole distance is adjusted to the screenshotss region.
Alternatively, first scheduled rate is screen length divided by the business of the first predetermined angle of the mobile terminal,
Second scheduled rate is the screen width of the mobile terminal divided by the business of the second predetermined angle.
Alternatively, processor 601 is additionally operable to:According to the angle of inclination, adjust after screenshotss region, grasped in current screenshotss
When the angle of inclination for detecting the mobile terminal in work first resets, keep the screenshotss region constant.
The manually adjusting of what mobile terminal 600 can realize that mobile terminal in previous embodiment realizes avoid screenshotss region,
Highly versatile for the mobile terminal of different screen type, the effect for being capable of singlehanded adjustment screenshotss region, to avoid repeating, this
In repeat no more.
7th embodiment
Fig. 7 is the structural representation of the mobile terminal of another embodiment of the present invention.Specifically, the mobile terminal in Fig. 7
700 can be mobile phone, tablet personal computer, personal digital assistant (Personal Digital Assistant, PDA) or vehicle mounted electric
Brain etc..
Mobile terminal 700 in Fig. 7 includes radio frequency (Radio Frequency, RF) circuit 710, memory 720, input
Unit 730, display unit 740, processor 760, voicefrequency circuit 770, WiFi (Wireless Fidelity) modules 780 and electricity
Source 790.
Wherein, input block 730 can be used for receive mobile terminal user input numeral or character information, and produce with
The signal input that the mobile terminal user of mobile terminal 700 is set and function control is relevant.Specifically, the embodiment of the present invention
In, the input block 730 can include contact panel 731.Contact panel 731, also referred to as touch-screen, collect mobile terminal and use
(such as mobile terminal user uses any suitable objects or annex such as finger, stylus for touch operation of the family on or near it
Operation on contact panel 731), and corresponding attachment means are driven according to formula set in advance.Optionally, contact panel
731 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detects mobile terminal user's
Touch orientation, and the signal that touch operation is brought is detected, transmit a signal to touch controller;Touch controller is from touch detection
Touch information is received on device, and is converted into contact coordinate, then gives the processor 760, and energy reception processing device 760 is sent out
Come order and performed.Furthermore, it is possible to real using polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves
Existing contact panel 731.Except contact panel 731, input block 730 can also include other input equipments 732, and other inputs are set
Standby 732 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse
One or more in mark, action bars etc..
Wherein, display unit 740 can be used for showing the information inputted by mobile terminal user or be supplied to mobile terminal to use
The information at family and the various menu interfaces of mobile terminal 700.Display unit 740 may include display panel 741, optionally, can
To configure display using the form such as LCD or Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED)
Panel 741.
It should be noted that contact panel 731 can cover display panel 741, touch display screen is formed, when touch display screen inspection
Measure after the touch operation on or near it, processor 760 is sent to determine the type of touch event, with preprocessor
760 provide corresponding visual output according to the type of touch event in touch display screen.
Touch display screen includes Application Program Interface viewing area and conventional control viewing area.The Application Program Interface viewing area
And arrangement mode of the conventional control viewing area is not limited, can be arranged above and below, left-right situs etc. can distinguish two and show
Show the arrangement mode in area.The Application Program Interface viewing area is displayed for the interface of application program.Each interface can be with
The interface element such as the icon comprising at least one application program and/or widget desktop controls.The Application Program Interface viewing area
It can also be the empty interface not comprising any content.The conventional control viewing area is used to show the higher control of utilization rate, for example,
Application icons such as settings button, interface numbering, scroll bar, phone directory icon etc..
Wherein processor 760 is the control centre of mobile terminal 700, entirely mobile whole using various interfaces and connection
The various pieces at end, software program and/or module in first memory 721 are stored in by operation or execution, and call
The data in second memory 722 are stored in, the various functions and processing data of mobile terminal 700 are performed, so as to mobile whole
End 700 carries out integral monitoring.Optionally, processor 760 may include one or more processing units.
In embodiments of the present invention, by call store the first memory 721 in software program and/or module and/
Or the data in the second memory 722, processor 760 is for after screenshotss are started, detecting the inclination angle of the mobile terminal
Degree;According to the angle of inclination, adjustment screenshotss region;According to the screenshotss region after adjustment, screenshotss are carried out.
Alternatively, processor 760 is additionally operable to:Detect the mobile terminal start screenshotss when initial inclination angle and
The instantaneous ramp angle at current time, regard the difference of the instantaneous ramp angle and the initial inclination angle as the movement
The angle of inclination of terminal;Or, instantaneous ramp angle of the mobile terminal at current time is detected, by the instantaneous pitch angle
Spend the angle of inclination as the mobile terminal.
Alternatively, processor 760 is additionally operable to:The screen that the angle of inclination of the mobile terminal includes the mobile terminal is long
During the angle of degree direction and horizontal plane, according to the screen length direction of the mobile terminal and the angle of horizontal plane, moved described
The screen length side of dynamic terminal adjusts upward screenshotss region;And be additionally operable to the mobile terminal angle of inclination include it is described move
During the angle of the screen width direction of dynamic terminal and horizontal plane, according to the screen width direction of the mobile terminal and horizontal plane
Angle, screenshotss region is adjusted upward in the screen width side of the mobile terminal.
Alternatively, processor 760 is additionally operable to:According to the screen length direction of the mobile terminal and the angle of horizontal plane,
The first adjustment direction and the first adjustment distance are determined according to the first scheduled rate;In the screen length direction of the mobile terminal
On, the screenshotss region is adjusted according to first adjustment direction and the first adjustment distance;And it is additionally operable to root
Screen width direction and the angle of horizontal plane according to the mobile terminal, according to the second scheduled rate determine the second adjustment direction and
Second adjustment distance;On the screen width direction of the mobile terminal, adjusted according to second adjustment direction and described second
Whole distance is adjusted to the screenshotss region.
Alternatively, first scheduled rate is screen length divided by the business of the first predetermined angle of the mobile terminal,
Second scheduled rate is the screen width of the mobile terminal divided by the business of the second predetermined angle.
Alternatively, processor 760 is additionally operable to:According to the angle of inclination, adjust after screenshotss region, grasped in current screenshotss
When the angle of inclination for detecting the mobile terminal in work first resets, keep the screenshotss region constant.
It can be seen that, what the embodiment of the present invention can be realized avoid screenshotss region is manually adjusted, for different screen type
The highly versatile of mobile terminal, the effect for being capable of singlehanded adjustment screenshotss region, to avoid repeating, are repeated no more here.
Those of ordinary skill in the art it is to be appreciated that with reference to disclosed in the embodiment of the present invention embodiment description it is each
The unit and algorithm steps of example, can be realized with the combination of electronic hardware or computer software and electronic hardware.These
Function is performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.Specialty
Technical staff can realize described function to each specific application using distinct methods, but this realization should not
Think beyond the scope of this invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through
Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only
A kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or
Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual
Between coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of device or unit by some interfaces
Connect, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized using in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described.
And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes
Medium.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.
Claims (12)
1. a kind of screenshotss method, applied to mobile terminal, it is characterised in that methods described includes:
After screenshotss are started, the angle of inclination of the mobile terminal is detected;
According to the angle of inclination, adjustment screenshotss region;
According to the screenshotss region after adjustment, screenshotss are carried out.
2. according to the method described in claim 1, it is characterised in that the step at the angle of inclination of the detection mobile terminal
Suddenly, including:
Initial inclination angle and the instantaneous ramp angle at current time of the mobile terminal when starting screenshotss are detected, by institute
The difference for stating instantaneous ramp angle and the initial inclination angle is used as the angle of inclination of the mobile terminal;
Or,
Instantaneous ramp angle of the mobile terminal at current time is detected, the instantaneous ramp angle is whole as the movement
The angle of inclination at end.
3. according to the method described in claim 1, it is characterised in that the angle of inclination of the mobile terminal includes described mobile whole
It is described according to the angle of inclination during angle of the screen length direction at end and horizontal plane, adjustment screenshotss region, including:
According to the screen length direction of the mobile terminal and the angle of horizontal plane, in the screen length direction of the mobile terminal
Upper adjustment screenshotss region;
It is described during the angle in screen width direction and horizontal plane of the angle of inclination of the mobile terminal including the mobile terminal
According to the angle of inclination, screenshotss region is adjusted, including:
According to the screen width direction of the mobile terminal and the angle of horizontal plane, in the screen width direction of the mobile terminal
Upper adjustment screenshotss region.
4. method according to claim 3, it is characterised in that the screen length direction according to the mobile terminal with
The angle of horizontal plane, screenshotss region is adjusted upward in the screen length side of the mobile terminal, including:
According to the screen length direction of the mobile terminal and the angle of horizontal plane, the first adjustment is determined according to the first scheduled rate
Direction and the first adjustment distance;
On the screen length direction of the mobile terminal, according to first adjustment direction and the first adjustment distance to institute
Screenshotss region is stated to be adjusted;
The screen width direction and the angle of horizontal plane according to the mobile terminal, in the screen width of the mobile terminal
Side adjusts upward screenshotss region, including:
According to the screen width direction of the mobile terminal and the angle of horizontal plane, the second adjustment is determined according to the second scheduled rate
Direction and the second adjustment distance;
On the screen width direction of the mobile terminal, according to second adjustment direction and the second adjustment distance to institute
Screenshotss region is stated to be adjusted.
5. method according to claim 4, it is characterised in that first scheduled rate is the screen of the mobile terminal
The business of length divided by the first predetermined angle, second scheduled rate is that the screen width of the mobile terminal divided by second are default
The business of angle.
6. according to the method described in claim 1, it is characterised in that described according to the angle of inclination, adjustment screenshotss region it
Afterwards, in addition to:
When the angle of inclination for detecting the mobile terminal first in the operation of current screenshotss resets, the screenshotss area is kept
Domain is constant.
7. a kind of mobile terminal, it is characterised in that the mobile terminal includes:
Detection module, for after screenshotss are started, detecting the angle of inclination of the mobile terminal;
Adjusting module, for according to the angle of inclination, adjustment screenshotss region;
Screen capture module, for according to the screenshotss region after adjustment, carrying out screenshotss.
8. mobile terminal according to claim 7, it is characterised in that the detection module includes:
First detection sub-module, for detecting initial inclination angle and current time of the mobile terminal when starting screenshotss
Instantaneous ramp angle, using the instantaneous ramp angle and difference the inclining as the mobile terminal of the initial inclination angle
Rake angle;
Or,
Second detection sub-module, for detecting instantaneous ramp angle of the mobile terminal at current time, instantaneously inclines described
Rake angle as the mobile terminal angle of inclination.
9. mobile terminal according to claim 7, it is characterised in that the adjusting module includes:
First adjustment submodule, for the mobile terminal angle of inclination including the mobile terminal screen length direction with
During the angle of horizontal plane, according to the screen length direction of the mobile terminal and the angle of horizontal plane, in the mobile terminal
Screen length side adjusts upward screenshotss region;
Second adjustment submodule, for the mobile terminal angle of inclination including the mobile terminal screen width direction with
During the angle of horizontal plane, according to the screen width direction of the mobile terminal and the angle of horizontal plane, in the mobile terminal
Screen width side adjusts upward screenshotss region.
10. mobile terminal according to claim 9, it is characterised in that the first adjustment submodule includes:
First determining unit, it is pre- according to first for the screen length direction according to the mobile terminal and the angle of horizontal plane
If speed determines the first adjustment direction and the first adjustment distance;
First adjustment unit, in the screen length direction of the mobile terminal, according to first adjustment direction and institute
The first adjustment distance is stated to be adjusted the screenshotss region;
The second adjustment submodule includes:
Second determining unit, it is pre- according to second for the screen width direction according to the mobile terminal and the angle of horizontal plane
If speed determines the second adjustment direction and the second adjustment distance;
Second adjustment unit, in the screen width direction of the mobile terminal, according to second adjustment direction and institute
The second adjustment distance is stated to be adjusted the screenshotss region.
11. mobile terminal according to claim 10, it is characterised in that first scheduled rate is the mobile terminal
Screen length divided by the first predetermined angle business, second scheduled rate is the screen width of the mobile terminal divided by the
The business of two predetermined angles.
12. mobile terminal according to claim 7, it is characterised in that institute's mobile terminal also includes:
Module is kept, when being resetted for detecting the angle of inclination of the mobile terminal first in the operation of current screenshotss,
Keep the screenshotss region constant.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710114958.7A CN106970752B (en) | 2017-02-28 | 2017-02-28 | Screen capturing method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710114958.7A CN106970752B (en) | 2017-02-28 | 2017-02-28 | Screen capturing method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106970752A true CN106970752A (en) | 2017-07-21 |
CN106970752B CN106970752B (en) | 2020-04-03 |
Family
ID=59328840
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710114958.7A Active CN106970752B (en) | 2017-02-28 | 2017-02-28 | Screen capturing method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106970752B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107635065A (en) * | 2017-08-29 | 2018-01-26 | 努比亚技术有限公司 | A kind of screenshotss method, mobile terminal and computer-readable recording medium |
CN108196775A (en) * | 2017-12-19 | 2018-06-22 | 努比亚技术有限公司 | Sectional drawing control method, flexible screen terminal and computer readable storage medium |
CN108600543A (en) * | 2018-04-25 | 2018-09-28 | 维沃移动通信有限公司 | A kind of selection method and mobile terminal of screen content |
CN108628508A (en) * | 2018-04-25 | 2018-10-09 | 维沃移动通信有限公司 | It is a kind of to adjust the method and mobile terminal for cutting out window |
CN109542306A (en) * | 2018-11-23 | 2019-03-29 | 维沃移动通信有限公司 | A kind of screenshotss method and terminal device |
CN111679775A (en) * | 2020-06-04 | 2020-09-18 | 上海闻泰电子科技有限公司 | Screen capture method and device, electronic equipment and computer readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130010114A1 (en) * | 2011-07-04 | 2013-01-10 | Denso Corporation | Apparatus for detecting object approaching vehicle |
CN103473012A (en) * | 2013-09-09 | 2013-12-25 | 华为技术有限公司 | Screen capturing method, device and terminal equipment |
CN104756059A (en) * | 2014-07-26 | 2015-07-01 | 华为技术有限公司 | Method for controlling screen display of mobile terminal and mobile terminal |
-
2017
- 2017-02-28 CN CN201710114958.7A patent/CN106970752B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130010114A1 (en) * | 2011-07-04 | 2013-01-10 | Denso Corporation | Apparatus for detecting object approaching vehicle |
CN103473012A (en) * | 2013-09-09 | 2013-12-25 | 华为技术有限公司 | Screen capturing method, device and terminal equipment |
CN104756059A (en) * | 2014-07-26 | 2015-07-01 | 华为技术有限公司 | Method for controlling screen display of mobile terminal and mobile terminal |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107635065A (en) * | 2017-08-29 | 2018-01-26 | 努比亚技术有限公司 | A kind of screenshotss method, mobile terminal and computer-readable recording medium |
CN108196775A (en) * | 2017-12-19 | 2018-06-22 | 努比亚技术有限公司 | Sectional drawing control method, flexible screen terminal and computer readable storage medium |
CN108196775B (en) * | 2017-12-19 | 2020-12-01 | 努比亚技术有限公司 | Screenshot control method, flexible screen terminal and computer-readable storage medium |
CN108600543A (en) * | 2018-04-25 | 2018-09-28 | 维沃移动通信有限公司 | A kind of selection method and mobile terminal of screen content |
CN108628508A (en) * | 2018-04-25 | 2018-10-09 | 维沃移动通信有限公司 | It is a kind of to adjust the method and mobile terminal for cutting out window |
CN108600543B (en) * | 2018-04-25 | 2021-01-08 | 维沃移动通信有限公司 | Screen content selection method and mobile terminal |
CN109542306A (en) * | 2018-11-23 | 2019-03-29 | 维沃移动通信有限公司 | A kind of screenshotss method and terminal device |
CN111679775A (en) * | 2020-06-04 | 2020-09-18 | 上海闻泰电子科技有限公司 | Screen capture method and device, electronic equipment and computer readable storage medium |
CN111679775B (en) * | 2020-06-04 | 2021-10-22 | 上海闻泰电子科技有限公司 | Screen capture method and device, electronic equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN106970752B (en) | 2020-04-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106970752A (en) | A kind of screenshotss method and mobile terminal | |
CN106843739A (en) | The display control method and mobile terminal of a kind of mobile terminal | |
CN107179865A (en) | A kind of page switching method and terminal | |
CN106681623A (en) | Screenshot picture sharing method and mobile terminal | |
CN106383645A (en) | Music playing control method and mobile terminal | |
CN107577401A (en) | A kind of image processing method and mobile terminal | |
CN106527904A (en) | Method for adjusting display interface and mobile terminal | |
CN105243345B (en) | The method and electronic equipment of a kind of electronic equipment false-touch prevention | |
CN107103304A (en) | The display methods and mobile terminal in a kind of fingerprint recognition region | |
CN107329656A (en) | The location regulation method and mobile terminal of a kind of application icon | |
CN106657793A (en) | Image processing method and mobile terminal | |
CN107203307A (en) | A kind of icon management method and mobile terminal | |
CN107193482A (en) | The operating method and mobile terminal of a kind of mobile terminal screen | |
CN106909289A (en) | The operating method and mobile terminal of a kind of application controls | |
CN107340948A (en) | A kind of video playing control method and mobile terminal | |
CN106527906A (en) | Picture capture method and mobile terminal | |
CN106445235A (en) | Touch starting position identification method and mobile terminal | |
CN106791422A (en) | A kind of image processing method and mobile terminal | |
CN106874046A (en) | The operating method and mobile terminal of a kind of application program | |
CN106951165A (en) | A kind of word editing method and mobile terminal | |
CN106997268A (en) | A kind of application control method and mobile terminal | |
CN106126034A (en) | A kind of keypress function method to set up and mobile terminal | |
CN107613193A (en) | A kind of camera control method and mobile terminal | |
CN106911897A (en) | A kind of determination method and mobile terminal for shooting focus | |
CN106775378A (en) | A kind of method and mobile terminal for determining input method candidate word |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |