A kind of method and system of the quick screenshotss of mobile terminal
Technical field
The present invention relates to the method and system of computer realm, more particularly to a kind of quick screenshotss of mobile terminal.
Background technology
With the development of science and technology, smart mobile phone, tablet personal computer, intelligent watch, intelligent wearable device, intelligent medical
The intelligent terminal with touch-screen such as equipment has goed deep into the every aspect of people's life, and people carry in routine use and touched
During the intelligent terminal of screen, it is sometimes desirable to extract the content of display in screen, i.e., screenshotss operation is carried out to intelligent terminal.It is existing
Most intelligent terminal all has screenshotss function.Mobile terminal perform screenshotss operation, using current screen as a pictures simultaneously
And preserve to mobile terminal picture storehouse.By taking smart mobile phone as an example, current screenshotss operation has following several forms:
The first form, is multiplexed using many physical buttons, and such as Home key+volume key is pressed simultaneously, power key and volume
Key is pressed simultaneously.This screenshotss mode of operation misuse rate is high, causes screenshotss often to fail.Influence user's operating experience.
Second of form, the button for clicking some software interface carries out screenshotss, clicks on software push buttons, opens screenshotss scheme,
The screenshotss mode needs first to find the interface of screenshotss button, then clicks on, and operating procedure is more.And if click on after directly screenshotss, shield
Can content uncorrelated just like screenshotss button etc. in curtain content.In addition for having during the picture of time restriction progress sectional drawing, due to behaviour
Make step more, in fact it could happen that uncontrollable situation, namely because the sectional drawing process used time is longer and causing to miss needs sectional drawing
Picture, influence user use, unnecessary trouble is brought to user, the usage experience of user is reduced.
Publication No. CN102546905A Chinese patent discloses a kind of method, system in mobile terminal screen sectional drawing
And mobile terminal.Specific method starts screenshot capture function, to catch screen specific region to receive screenshot capture request
Data;Receive and preserve instruction, the data of the screen specific region are saved as into snapshot picture.User is mobile eventually by mobile phone etc.
When end carries out radio communication, sectional drawing can be carried out to the content of screen display, so as to which the exception that current mobile terminal occurs is asked
Topic is sent to another mobile terminal, and the symptom of abnormal problem can be described exactly, the function of remote assistance is extended.
In summary, it is necessary to propose a kind of mobile terminal screenshotss method and system to solve the above problems.
The content of the invention
The technical problem to be solved in the present invention purpose is the method and system for providing a kind of quick screenshotss of gesture, to solve
Certainly existing screenshotss mode causes maloperation by the multiplexing of many physical buttons and presses screenshotss software screen inconvenient operation
Problem.
In order to solve the above technical problems, the technical solution adopted by the present invention is:A kind of method of the quick screenshotss of mobile terminal,
Including step:
S1:The first touch action that many fingers touch touch screen is received, and obtains the first touch information;
S2:Judge whether first touch information meets default screenshotss preparatory condition;
S3:The second touch action that many fingers touch touch screen is received, and obtains the second touch information;
S4:Judge whether second touch information meets default screenshotss condition;
S5:When judging to meet screenshotss condition, current display interface is intercepted.
Wherein judge whether the first touch information meets default screenshotss preparatory condition and include:
Determine that many fingers touch the corresponding touch point of touch screen;
Obtain the interval time that each touch point is touched in touch screen;Judge the interval that the touch point is touched in touch-screen
Whether the time is in the first preset time range.
Further, touch information to meet after default screenshotss preparatory condition, the first of many fingers touch touch screen touches
Touch action and do not trigger click interaction.
Wherein judge whether the second touch information meets default screenshotss condition and include:
Each touch point is obtained on the mobile terminal touch screen at the same the distance moved up with
And this is moved apart from the corresponding time;Judge whether the distance of each touch point movement is more than or equal to pre-set threshold value and movement
Whether this is apart from the corresponding time in the second preset time range.
The quantity of wherein many fingers is three.
In order to solve the above technical problems, another technical scheme that the present invention takes is:There is provided a kind of mobile terminal quick
The system of screenshotss, the system includes:
First acquisition module, believes for receiving many fingers and touching the first touch action of touch screen and obtain first and touch
Breath;
First judge module, for judging whether the first touch information meets default screenshotss preparatory condition;Second obtains mould
Block, the second touch action and the second touch information of acquisition of touch screen are touched for receiving many fingers;
Second judge module, for judging whether the second touch information meets screenshotss condition;
Screen capture module:For intercepting current display interface.
Wherein the first judge module includes:
Sensing unit, for determining that many fingers touch the touch point of touch screen;
First acquisition unit, for obtaining the interval time that each touch point is touched in the touch screen;
First judging unit, whether the interval time touched for judging each touch point in the touch screen is
In one preset time range.
Further, the quick screen-cutting system of the mobile terminal also includes:
Screenshotss warning order unit, meets after default screenshotss preparatory condition for first touch information, sends many
The first touch action that finger touches touch screen does not trigger the order for clicking on interaction.
Wherein the second judge module includes:
Second acquisition unit, mobile distance and the mobile distance is touched in touch screen for obtaining each touch point
The corresponding touch time;
Second judging unit, for judging whether each touch point is more than or equal in the distance that touch screen touches movement
Pre-set threshold value and it is mobile this apart from the corresponding touch time whether in the second preset time range.
The beneficial effects of the invention are as follows:A kind of method and system of the quick screenshotss of mobile terminal of the present invention, multiple touch points
Touch screen is pressed simultaneously or in preset time, and slide a segment distance up or down jointly, quick triggering screenshotss are operated, and are made
User can under any scene rapid saving screen content so that the operation of screenshotss becomes convenient and swift, while running
Screenshotss SBR is provided with journey so that touch screen will not cause when arbitrary interface is pressed by multiple touch points simultaneously to be grasped by mistake
Make.
Brief description of the drawings
Fig. 1 is the flow chart one of the quick screenshotss method of mobile terminal of the present invention.
Fig. 2 is that the screenshotss of the quick screenshotss method of mobile terminal of the present invention prepare flow chart.
Fig. 3 is the flowchart 2 of the quick screenshotss method of mobile terminal of the present invention.
Fig. 4 is the structural representation one of the quick screen-cutting system of mobile terminal of the present invention.
Fig. 5 is the structural representation two of the quick screen-cutting system of mobile terminal of the present invention.
Embodiment
The following is specific embodiment of the invention and with reference to accompanying drawing, technical scheme is further described,
But the present invention is not limited to these embodiments.
Embodiment one
The method for present embodiments providing a kind of quick screenshotss of mobile terminal, as shown in figure 1, its step includes:
S1:The first touch action that many fingers touch touch screen is received, and obtains the first touch information;
S2:Judge whether first touch information meets default screenshotss preparatory condition;
S3:The second touch action that many fingers touch touch screen is received, and obtains the second touch information;
S4:Judge whether second touch information meets default screenshotss condition;
S5:When judging to meet screenshotss condition, current display interface is intercepted.
Intelligent mobile terminal refers to that, with SOS, independent operating space, user voluntarily can pacify as needed
The program that the third party service providers such as software, navigation provide is filled, and function can be realized by mobile communication network.Intelligent sliding
Dynamic terminal had not only been convenient for carrying but also can realize GPS and e-mail function.
Touch screen, also known as touch-screen, touch pad, are a kind of induction type liquid crystal displays for receiving and contacting first-class input signal
Device, when contacting the graphic button on screen, haptic feedback system on screen can be according to the driven by program of preprogramming
Various attachment means, are substituted for mechanical push button panel, and produce by liquid crystal display picture lively audio-visual effect
Really, it be it is most simple at present, conveniently, a kind of natural man-machine interaction mode.Touch screen is absolute coordinate system, to select some position
Put and just directly put the position.The characteristics of absolute coordinate system is that the elements of a fix and last coordinate are not related each time.
Touch screen is touched, is a kind of quick finger movement of human body.Finger touches screenshotss compared to tradition in the present embodiment
To be multiplexed and press screenshotss software screen by many physical buttons more convenient, it is to avoid, can because operating procedure is more
Uncontrollable situation can occur.
Step S1:The first touch action that many fingers touch touch screen is received, and obtains the first touch information;Work as user
When touching touch screen, mobile terminal is able to detect that the position coordinates of operation touch action, and according to the coordinate bit of operational motion
Put the quantity for calculating touch point.By taking capacitive touch screen as an example, four sides of touch screen are coated with long and narrow electrode, therefore in electrode
One low-voltage AC electric field of middle formation.When a finger is touching the screen, due to the presence of human body electric field, touch screen is being touched
Form coupled capacitor between palm portion and electrode, the current direction touch point that four side electrodes are sent, electric current it is strong and weak with it is each
The distance of individual touch point to electrode is proportional.Mobile terminal accurately calculates on touch screen finger according to the ratio of electric current, and each is touched
Position coordinates a little is touched, and further calculates the touch point quantity of operational motion.And record each touch touch touch screen
Interval time.
This step accurately determines the touch point quantity that many fingers touch touch screen, and multiple touch touches are touched
The interval time of screen is controlled, so as to obtain entering the instruction of screenshotss SBR.
Step S2:Judge whether first touch information meets default screenshotss preparatory condition;
In the prior art, the touch screen of mobile terminal is pressed by single-point, single-touch, single-point are double-clicked, two point is touched, double
The operational motions such as point slip realize human-computer interaction function.As shown in Figure 2 in order to ensure to trigger maloperation event during screenshotss, make
To be preferred, mobile terminal is firstly the need of judging that many fingers touch the touch point quantity of touch screens and whether be more than or equal to three
It is individual, and whether each interval time for touching touch touch screen is in the first preset time range.When many fingers are touched
The touch point quantity of touch screen is more than or equal to three, and each interval time for touching touch touch screen is pre- first
If in time range, into step S3, and recording the coordinate value (Y0, Y1, Y2, Y3..) of the plurality of touch point, being counted when touching
The interval time that amount is less than three or multiple touch points are on touch screen has exceeded the first preset time range, this time touches and touches
Screen event is controlled to handle by common touch event.
This step on the basis of step one, judge many fingers touch touch screens touch touch interval times whether
Preset time, in preset time, mobile terminal will reporting system, this press event for screenshotss prepare event, will not
Man-machine click interaction is carried out by touch screen event according to general point, when carrying out pressing touch screen in arbitrary interface so as to avoid
Generation touch of key-press by accident event.
Step S3:The second touch action that many fingers touch touch screen is received, and obtains the second touch information;
When touch screen touch point quantity be more than or equal to three, and multiple touch points touch touch screen interval when
Between within a preset range, then illustrate many fingers simultaneously or in very short time carry out press touch screen.Such as Fig. 3, into cutting
After the screen stage, many fingers upwardly or downwardly slidings simultaneously on touch screen records many fingers on the touchscreen
The time that touch point is upwardly or downwardly slided, and the coordinate value of the plurality of touch point is recorded (Y00, Y11, Y22,
Y33...)。
This step accurately determine many fingers touch the distance that the touch points of touch screens moves on the touchscreen and
This is moved apart from the corresponding time, so as to obtain entering screenshotss status command.
Step S4:Judge whether second touch information meets default screenshotss condition;
Judge many fingers touch Y-coordinate of the touch point of touch screen on touch screen changing value (| Y00-Y0 |, |
Y11-Y1 |, | Y22-Y2 | ...) absolute value whether simultaneously greater than be equal to reach triggering screenshotss event coordinate movement threshold values,
And judge the touch point of many fingers on the touchscreen while whether upwardly or downwardly corresponding to the time slided pre- simultaneously
If in time range.If meeting each touch point on the mobile terminal touch screen while moving up
Distance is more than or equal to default threshold value and moves this apart from the corresponding time in the second preset time range, then mobile terminal
The finger is touched to touch screen event as screenshotss reporting events to system, calls follow-up screenshotss to operate by system, interception is current
Display interface.If conversely, the distance that the touch point that many fingers touch touch screen move in the touch screen is less than threshold value,
Or many fingers touch the touch screen displacement corresponding time and exceeded the second preset time, many fingers are touched
Touch screen screenshotss event writes off, and no longer reports system, is handled according to general point by touch screen event.
This step judges that many fingers touch what the touch points of touch screens was moved on the touchscreen on the basis of step 3
Whether distance is more than or equal to pre-set threshold value and moves this apart from the corresponding time whether in the second preset time range, if full
Sufficient decision condition, mobile terminal will reporting system, this presses event for screenshotss event, will not press touch-control according to general point
Screen event carries out man-machine click interaction, so as to avoid again occur when arbitrary interface carries out pressing touch screen false touch by
Key events.
After screenshotss event terminates, no matter successful screenshotss or failure screenshotss, Y0, Y1, Y2, Y3, Y00, Y11, Y22,
Y33... coordinate value all resets to 0, and screenshotss SBR, which is reset to, to be not ready to.
For user, if successfully triggering screenshotss event, the picture of a preservation current screen content can be obtained.
In the present embodiment, the touch information of touch screen is touched by receiving many fingers, and the plurality of touch point is simultaneously
On mobile terminal touch screen simultaneously the distance that moves up and it is mobile this apart from corresponding temporal information, to judge
Whether screenshotss condition, this method implementation during three time (1, touch point quantity and touch touch touch screen interval are met
Time;2nd, the distance that multiple touch points are moved up simultaneously on touch screen simultaneously;3rd, multiple touch points exist simultaneously
The distance corresponding time moved up simultaneously on touch screen.) avoid in many hands of mobile terminal arbitrary interface
Refer to accident touch on touch control screen key-press event, smoothly carry out convenient and swift screenshotss using gesture.
Embodiment two
The system for present embodiments providing a kind of quick screenshotss of mobile terminal, as shown in Figure 4;Fig. 4 is another reality of the invention
Apply a kind of structural representation of the system of the quick screenshotss of mobile terminal of example.Mobile terminal described in the present embodiment includes first and obtained
Module 10, the first judge module 20, the second acquisition module 30, the second judge module 40 and screen capture module 50.
Wherein the first acquisition module 10, the first touch action and the acquisition first of touch screen are touched for receiving many fingers
Touch information;
First judge module 20, for judging whether the first touch information meets default screenshotss preparatory condition;Second obtains
Module 30, the second touch action and the second touch information of acquisition of touch screen are touched for receiving many fingers;
Second judge module 40, for judging whether the second touch information meets screenshotss condition;
Screen capture module 50:For intercepting current display interface.
Further, the first acquisition module 10 includes sensing unit 11 and first acquisition unit 12;
Specifically, as shown in figure 5, the first acquisition module 10 includes sensing unit 11, first acquisition unit;First sentences
Disconnected module 20 includes the first judging unit 21, screenshotss warning order unit 22;Second acquisition module 30 includes second and obtains single
Member 31;Screen capture module 50 also includes execution unit 51.
When having operation on the touch screen of the mobile terminal, mobile terminal sensing unit 11 is able to detect that touch screen touch point
Position coordinates, mobile terminal judges that many fingers touch the touch point quantity of touch screen by position coordinates, and this first is obtained
Unit 12, obtains the interval time that each touch point is touched in the touch screen;The of first judge module 20 of mobile terminal
One judging unit 21, detects in sensing unit 11 and first acquisition unit 12 and gets many fingers and touch touch screen
After the quantity of touch point and interval time on the touchscreen, with the default touch point quantitative requirement of mobile terminal system and
The interval time for touching touch touch screen is compared, and judges whether the quantity of touch point is more than or equal to three, also
Have touch point touch screen touch interval time whether in the first preset time range.Counted when correspondence meets default touch
When amount and meeting touches touch touch screen interval time, reporting system this time presses event and prepares to press event for screenshotss, and
And record the coordinate of multiple touch points on the touch-screen.
Further, when many fingers getting touch the touch point of touch screen quantity and on the touchscreen between
When time correspondence meets default touch point quantity and meeting and touches touch touch screen interval time, screenshotss warning order unit
22 reporting systems this time press event and prepare to press event for screenshotss, and record the coordinate of multiple touch points on the touch-screen.
When being unsatisfactory for default touch point quantity or be unsatisfactory for and touching touch touch screen interval time, this is pressed event and returned by system
Event handling is pressed for general point.
Into after screenshotss SBR, sensing unit 11 persistently detects the position coordinates of multiple touch points, mobile terminal
The Y value that the second acquisition unit 31 of second acquisition module 30 obtains coordinate value of the correspondence touch point on touch screen changes, and on
The time of multiple touch point respective coordinates value Y changes on reporting system touch-screen.
Second judging unit 41 of the second judge module 40 of mobile terminal, in sensing unit 11 and second acquisition unit
31 detect and get the distance of the movement of many fingers touch touch screens and move this after the corresponding time, with shifting
The threshold value of dynamic terminal system is compared, and judges the plurality of touch point on touch screen while moving up
Distance whether be more than or equal to threshold value and it is mobile this apart from the corresponding time whether in the second preset time range.
If the distance that the plurality of touch point is moved up on touch screen is more than or equal to threshold value and shifting simultaneously
Move this reports the execution unit 51 of mobile whole screen capture module 50 to carry out apart from the corresponding time in the second preset time range, then
Current display interface is intercepted, screenshotss action is completed.
The present embodiment, user need to use many fingers on touch screen while upwardly or downwardly in preset time range
Slide a segment distance, you can reach the purpose of screenshotss, the operation of many buttons, multi-step is carried out without user, so that screenshotss
Operation it is more convenient;And opereating specification and system setting are provided with this method and system so that user is using
In experience of the process, will not false touch operation interface, it is to avoid operational error.
Specific embodiment described herein is only to spirit explanation for example of the invention.Technology neck belonging to of the invention
The technical staff in domain can be made various modifications or supplement to described specific embodiment or be replaced using similar mode
Generation, but without departing from the spiritual of the present invention or surmount scope defined in appended claims.