CN103530055A - Method and equipment for capturing screen image - Google Patents

Method and equipment for capturing screen image Download PDF

Info

Publication number
CN103530055A
CN103530055A CN201310498666.XA CN201310498666A CN103530055A CN 103530055 A CN103530055 A CN 103530055A CN 201310498666 A CN201310498666 A CN 201310498666A CN 103530055 A CN103530055 A CN 103530055A
Authority
CN
China
Prior art keywords
slide
screen
intercepted
region
touch screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201310498666.XA
Other languages
Chinese (zh)
Inventor
李继刚
刘磊
严腾飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201310498666.XA priority Critical patent/CN103530055A/en
Publication of CN103530055A publication Critical patent/CN103530055A/en
Priority to PCT/CN2014/083045 priority patent/WO2015058566A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method and equipment for capturing a screen image. The method for capturing the screen image comprises the steps that sliding operations of user operation positions on a touch screen of terminal equipment are monitored, when the sliding operations happen, operation features of the sliding operations are obtained, the operation features comprise the number of the user operation positions and coordinates of feature points where the sliding operations pass through, the area to be captured on the screen image is determined according to the coordinates of the feature points where the sliding operations pass through, and the screen image in the area to be captured on a screen is captured. Through the method and equipment for capturing the screen image, the efficiency and flexibility for capturing the screen image are improved.

Description

The intercept method of screen picture and equipment
Technical field
The present invention relates to operation system technology field, be specifically related to intercept method and the equipment of screen picture.
Background technology
The computer terminal that people use, from original function singleness, develops into the present multiple demand that can meet user.The for example appearance of smart mobile phone, has made the concept of mobile phone be redefined.As a kind of terminal device, mobile phone, from originally making a phone call to send short messages, develops into today and can move the application of millions of feature richness, and smart mobile phone has become the scientific and technological product that a plurality of different field technology combine.
The continuous lifting of terminal device hardware usefulness, make a lot of terminal devices have the ability to move large operation system, and the application demand that user constantly promotes also makes operation system on terminal device become a kind of needs.Current certain operations system, can realize cross-platform application, as Android Android operating system, can be at smart mobile phone, and hand-held panel computer, moves on intelligent television etc. plurality of devices platform.The operating system of carrying on terminal device, software and hardware resources that can management equipment, controls the operation of other programs, and provides service and support for the operation of other programs.Carrying on the terminal device of operating system, the mutual of user and equipment all need to just can complete by means of the support of operating system substantially, as software resource, the operating system that terminal device carries needs the constantly convenience of the operation of lifting, meets user's needs.
Screenshotss function is the basic function that a lot of computer terminals provide.Yet in the interception way of existing screen picture, realizing screenshotss action need presses a plurality of Macintoshs simultaneously and could realize, different equipment may correspondingly be used different screenshotss Macintoshs or button order, mode of operation is more loaded down with trivial details, the mode of screenshotss is more single, cannot adapt to the constantly demand of the operation ease of lifting of user.Therefore, need the problem that those skilled in the art solve to be just, realize a kind of screen interception method simply and easily or equipment, can to screen picture, intercept more efficiently.
Summary of the invention
In view of the above problems, the present invention has been proposed to provide a kind of intercepting equipment of the screen picture that overcomes the problems referred to above or address the above problem at least in part and the intercept method of corresponding screen picture.
According to one aspect of the present invention, a kind of intercept method of screen picture is provided, comprising:
The slide of monitoring user operation position on the touch screen of terminal device;
When there is described slide, obtain the operating characteristics of described slide; Described operating characteristics comprises: the number of user operating position; The unique point coordinate of track that described slide passes through;
According to the unique point coordinate of process track described in each, determine the region to be intercepted on screen picture;
Screen picture to region to be intercepted on screen intercepts.
Alternatively, the number of described user operating position is two; Described unique point coordinate comprises: the end points coordinate of wire track;
Described when there is described slide, obtain the operating characteristics of described slide, comprising:
When obtaining user and sliding past two wire tracks by two operating positions on described touch screen, four end points coordinates of described two wire tracks;
Described according to described in each through the unique point coordinate of track, determine the region to be intercepted on screen picture, comprising:
According to described four end points coordinates, determine the region to be intercepted on screen picture.
Alternatively, describedly according to described four end points coordinates, determine the region to be intercepted on screen picture, comprising:
According to described four end points coordinates, on described screen picture, determine that a rectangular area is as described region to be intercepted.
Alternatively, the number of described user operating position is one; Described when there is described slide, obtain the operating characteristics of described slide, comprising:
When a described operating position, on touch screen, described slide occurs, obtain the coordinate on three or three above summits of produced sliding trace;
Described according to described in each through the unique point coordinate of track, determine the region to be intercepted on screen picture, comprising:
According to the coordinate on described three or three above summits, determine the region to be intercepted on screen picture.
Alternatively, describedly according to the coordinate on the above summits of described three or three, determine the region to be intercepted on screen picture, comprising:
When getting four described apex coordinates, according to described four end points coordinates, on described screen picture, determine that a rectangular area is as described region to be intercepted.
Alternatively, the slide of described monitoring user operation position on the touch screen of terminal device, comprising:
The slide of screen, on the touch screen of terminal device, laterally or is longitudinally run through in monitoring user operation position;
Described when there is described slide, obtain the operating characteristics of described slide, comprising:
When generation is laterally described or longitudinally run through the slide of screen, obtain the intersecting point coordinate of described track and screen edge;
Described according to described in each through the unique point coordinate of track, determine the region to be intercepted on screen picture, comprising:
According to the intersecting point coordinate of track described in each and screen edge, and the apex coordinate of combining screen, the region a plurality of to be intercepted on screen picture;
The described screen picture to region to be intercepted on screen intercepts, and comprising:
Screen picture to the described a plurality of regions to be intercepted on screen intercepts;
Or,
According to user, at the screen picture in described a plurality of regioselective regions to be intercepted to be intercepted, intercept.
Alternatively, the slide of described monitoring user operation position on the touch screen of terminal device, comprising:
By definition, touch the subclass of monitoring interface OnTouchListener, to entrust the form of processing, entrust and the subclass monitoring user operation position of the calling described OnTouchListener slide on the touch screen of terminal device;
Described when there is described slide, obtain the operating characteristics of described slide, comprising:
When there is described slide, to entrust the form of processing, entrust and the event handling interface OnTouch that calls the subclass of described OnTouchListener obtains the operating characteristics of described slide.
Alternatively, the slide of described monitoring user operation position on the touch screen of terminal device, comprising:
By preset self-defined touch screen event handling onTouchEvent method, the slide of monitoring user operation position on the touch screen of terminal device;
Described when there is described slide, obtain the operating characteristics of described slide, comprising:
When there is described slide, by preset self-defined onTouchEvent method, obtain the operating characteristics of described slide.
Alternatively, described by preset self-defined touch screen event handling onTouchEvent method, the slide of monitoring user operation position on the touch screen of terminal device, comprising:
By preset self-defined touch screen event handling onTouchEvent method, in the process of the slip of monitoring user operation position on the touch screen of terminal device, press on described touch screen described operating position, slide, and the event of leaving;
Described when there is described slide, by preset self-defined onTouchEvent method, obtain the operating characteristics of described slide, comprising:
When there is described slide, by preset self-defined onTouchEvent method, obtain described operating position and press on described touch screen, slide, and while leaving, the number of user operating position, and the unique point coordinate of the track that passes through.
Alternatively, described according to described in each through the unique point coordinate of track, determine the region to be intercepted on screen picture, comprising:
When the region described to be intercepted of determining according to the described unique point coordinate through track is irregular polygon, the apex coordinate that is regular polygon by described unique point Coordinate Adjusting, and determine described region to be intercepted according to the coordinate after adjusting.
According to a further aspect in the invention, provide a kind of intercepting equipment of screen picture, having comprised:
Watch-dog, is configured to the slide of monitoring user operation position on the touch screen of terminal device;
Operating characteristics getter, is configured to, when there is described slide, obtain the operating characteristics of described slide; Described operating characteristics comprises: the number of user operating position; The unique point coordinate of track that described slide passes through;
Intercepting region determiner, is configured to, according to the unique point coordinate of process track described in each, determine the region to be intercepted on screen picture;
Image interception device, is configured to the screen picture in region to be intercepted on screen to intercept.
Alternatively, the number of described user operating position is two; Described unique point coordinate comprises: the end points coordinate of wire track;
Described operating characteristics getter, is configured to:
When obtaining user and sliding past two wire tracks by two operating positions on described touch screen, four end points coordinates of described two tracks;
Described intercepting region determiner, is configured to:
According to described four end points coordinates, determine the region to be intercepted on screen picture.
Alternatively, described intercepting region determiner, is configured to:
According to described four end points coordinates, the definite rectangular area on described screen picture is as described region to be intercepted.
Alternatively, the number of described user operating position is one; Described operating characteristics getter, is configured to:
When a described operating position, on touch screen, described slide occurs, obtain the coordinate on three or three above summits of produced sliding trace;
Described intercepting region determiner, is configured to:
According to the coordinate on described three or three above summits, determine the region to be intercepted on screen picture.
Alternatively, described intercepting region determiner, is configured to:
When getting four described apex coordinates, according to described four end points coordinates, the definite rectangular area on described screen picture is as described region to be intercepted.
Alternatively, described watch-dog, is configured to:
The slide of screen, on the touch screen of terminal device, laterally or is longitudinally run through in monitoring user operation position;
Described operating characteristics getter, is configured to:
When generation is laterally described or longitudinally run through the slide of screen, obtain the intersecting point coordinate of described track and screen edge;
Described intercepting region determiner, is configured to:
According to the intersecting point coordinate of track described in each and screen edge, and the apex coordinate of combining screen, the region a plurality of to be intercepted on screen picture;
Described image interception device, is configured to:
Screen picture to the described a plurality of regions to be intercepted on screen intercepts;
Or,
According to user, at the screen picture in described a plurality of regioselective regions to be intercepted to be intercepted, intercept.
Alternatively, described watch-dog, is configured to:
By definition, touch the subclass of monitoring interface OnTouchListener, to entrust the form of processing, entrust and the subclass monitoring user operation position of the calling described OnTouchListener slide on the touch screen of terminal device;
Described operating characteristics getter, is configured to:
When there is described slide, to entrust the form of processing, entrust and the subclass of calling described OnTouchListener is obtained the operating characteristics of described slide by the event handling interface OnTouch of the subclass of OnTouchListener.
Alternatively, described watch-dog, is configured to:
By preset self-defined touch screen event handling onTouchEvent method, the slide of monitoring user operation position on the touch screen of terminal device;
Described operating characteristics getter, is configured to:
When there is described slide, by preset self-defined onTouchEvent method, obtain the operating characteristics of described slide.
Alternatively, described watch-dog, specifically for:
By preset self-defined touch screen event handling onTouchEvent method, in the process of the slip of monitoring user operation position on the touch screen of terminal device, press on described touch screen described operating position, slide, and the event of leaving;
Described operating characteristics getter, specifically for:
When there is described slide, by preset self-defined onTouchEvent method, obtain described operating position and press on described touch screen, slide, and while leaving, the number of user operating position, and the unique point coordinate of the track that passes through.
Alternatively, described intercepting region determiner, is configured to:
When the region described to be intercepted of determining according to the described unique point coordinate through track is irregular polygon, the apex coordinate that is regular polygon by described unique point Coordinate Adjusting, and determine described region to be intercepted according to the coordinate after adjusting.
Can the slide of monitoring user operation position on the touch screen of terminal device according to the intercepting of screen picture of the present invention, obtain the operating characteristics of slide on touch screen, the number that comprises user operating position, the unique point coordinate of the track that passes through etc., according to each unique point coordinate, determine the region to be intercepted on screen picture.Can be according to user operating position the slide on the touch screen of terminal device, really fix on the region intercepting on screen picture in real time, the image interception in the selected scope of a part of user's slide on screen can be got off.Realize thus a kind of more flexible and screen picture intercept method easily, improved efficiency and the dirigibility of screen picture intercepting.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to better understand technological means of the present invention, and can be implemented according to the content of instructions, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
Accompanying drawing explanation
By reading below detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing is only for the object of preferred implementation is shown, and do not think limitation of the present invention.And in whole accompanying drawing, by identical reference symbol, represent identical parts.In the accompanying drawings:
Fig. 1 shows the process flow diagram of the intercept method of screen picture according to an embodiment of the invention;
Fig. 2 shows sliding trace schematic diagram according to an embodiment of the invention;
Fig. 3 shows the schematic diagram of adjusting according to an embodiment of the invention region to be intercepted;
And,
Fig. 4 shows the schematic diagram of the intercepting equipment of screen picture according to an embodiment of the invention.
Embodiment
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail.Although shown exemplary embodiment of the present disclosure in accompanying drawing, yet should be appreciated that and can realize the disclosure and the embodiment that should do not set forth limits here with various forms.On the contrary, it is in order more thoroughly to understand the disclosure that these embodiment are provided, and can by the scope of the present disclosure complete convey to those skilled in the art.
Embodiment mono-
Referring to Fig. 1, is the process flow diagram of the intercept method of screen picture according to an embodiment of the invention; The intercept method of the screen picture that as shown in the figure, the embodiment of the present invention provides can comprise the following steps.
S110: the slide of monitoring user operation position on the touch screen of terminal device;
On current terminal device, such as smart mobile phone, the equipment such as handheld tablet computer, have mostly abandoned the input mode of physical keyboard, but with touch-screen, have been called for short touch screen, as the input mode of terminal device.On the one hand touch screen can increase the display area of terminal device, and better display effect can be provided, and on the other hand, by touch screen, is inputted and also can be made the operations such as the choosing of function, click become more quick and intuitively.On terminal device, carry out the intercepting of screen picture, it is a basic function of terminal device, but due to size restrictions, number of keys on general terminal device is limited, and each button has important systemic-function corresponding, for example, on the smart mobile phone having, only has entree singly-bound, volume increases/reduces button, power key, each button correspondence realizes corresponding systemic-function, independently button is not corresponding for the function of screenshotss, realize the print screen mono-key screenshotss on similar computor-keyboard and be not easy, therefore generally on terminal device, realize screenshotss, need to use Macintosh.This mode of operation is inconvenience relatively.
In the intercept method of the screen picture providing in the embodiment of the present invention, first can the slide of monitoring user operation position on the touch screen of terminal device.Wherein, user's operating position, refers to that user clicks on touch screen, the body part of the operation such as slip, can be generally user's finger, can monitor the slide on the touch screen of terminal device by finger.The operating position quantity that user uses at the enterprising line operate of touch screen, can be for single or a plurality of, as user can operate in the enterprising line slip of touch screen by two fingers.
Specifically in monitoring during the slide on touch screen, can there is multiple implementation, as in Android operating system, a kind of implementation is to touch by definition the subclass of monitoring interface OnTouchListener, to entrust the form of processing, the slide of the subclass monitoring user operation position of entrusting and calling described OnTouchListener on the touch screen of terminal device, that is to say, gives this subclass process the task of the slide on monitoring touch screen.
In addition can also be by preset self-defined touch screen event handling onTouchEvent method, the slide of monitoring user operation position on the touch screen of terminal device.Under this implementation, by preset self-defined touch screen event handling onTouchEvent method, can the process of the slip of monitoring user operation position on the touch screen of terminal device in, press on described touch screen its operating position, slide, and the event of leaving.When user's touch screen, system will create a MotionEvent object.It is to touch relevant time series to user that MotionEvent object can be understood as, and this sequence is from user first touch screen, and experience finger is in any movement of screen surface, until finger finishes while frameing out.Finger press for the first time (ACTION_DOWN operation), slip (ACTION_MOVE operation) and lift (ACTION_UP operation) and all can create MotionEvent object.In moving process, can produce a large amount of events, each event can produce the operation that corresponding MotionEvent object record occurs, the position of touch, the much pressure using, when the area touching, occur, and when relevant information occurs etc. initial ACTION_DOWN.MotionEvent comprises about detailed information such as the position of generation touch and times.MotionEvent object is passed in onTouchEvent method.Can the slide of monitoring user operation position on the touch screen of terminal device in this method, the operation of analyzing MotionEvent object and determining to carry out.
S120: when there is described slide, obtain the operating characteristics of described slide; Described operating characteristics comprises: the number of user operating position; The unique point coordinate of the track that passes through;
The slide of user on touch screen, can produce different shapes, in step S120, can obtain the operating characteristics of slide, obtains on touch screen, forming the unique point that the operation of specific region or shape produces.The operating characteristics of slide can comprise the number of user operating position, and for example user has used several fingers to carry out slide; And the unique point coordinate of track that slide passes through, when used a finger to draw one wire track on touch screen as user, unique point that can be using two end points of wire track as track, the coordinate of two end points of wire track just can be used as the unique point coordinate of this track.
For example, when user uses two operating positions (two fingers) in the enterprising line slip operation of touch screen, can on touch screen, mark two wire tracks, now, can obtain user and by two operating positions, on touch screen, slide past four end points coordinates of two wire tracks.Or, for example, when user uses an operating position (finger) in the enterprising line slip operation of touch screen, can on touch screen, mark polygon; Or with the track on summit, the summit on track is coupled together, often also can obtain a polygon.Now, can obtain the coordinate on three or three above summits of produced sliding trace, as the unique point coordinate of track.As shown in Figure 2, for sliding trace schematic diagram, when user is by a finger, while marking a track with the direction of ABCD on touch screen, can on track, form four summit A, B, C, D, these four summits couple together, and can form a rectangular area, the coordinate that in this step, can obtain these four summits is as unique point coordinate.
Android operating system take below as example, this step is described in detail.In Android operating system, there is following event definition:
ACTION_DOWN: be just triggered to this event after pressing when touch screen has detected finger;
ACTION_POINTER_DOWN: when touch screen has detected after a plurality of fingers press simultaneously, just triggered this event;
ACTION_UP: finger leaves touch screen and can trigger this event;
ACTION_POINTER_UP: corresponding A CTION_POINTER_DOWN, a plurality of fingers leave the event that just can trigger;
ACTION_MOVE: finger slides and can trigger this event on screen
And the function that can call as follows:
GetPointerId () obtains the Id of touch event, and the event Id that same finger produces is identical (only to from contact screen to the sequence of events that leaves touch screen and produce this);
GetX () returns to the coordinate of the x direction of touch location;
GetY () returns to the coordinate of touch location Y-direction;
GetAction () obtains the type of event, as events such as ACTION_DOWN, ACTION_POINTER_DOWN, ACTION_UP.
Can be in the terminal device of operation Android operating system, user is when the enterprising line slip operation of touch screen, and press operating position, slide, and while leaving touch screen, triggered above-mentioned event is processed, in processing procedure, call above-mentioned function, obtain the unique point coordinate of track.
As when as described in occurring during slide, with the form of entrusting, the event handling interface OnTouch of the subclass by OnTouchListener obtains the operating characteristics of slide.Or when there is described slide, by preset self-defined onTouchEvent method, obtain the operating characteristics of slide, concrete, when there is described slide, can obtain described operating position by preset self-defined onTouchEvent method and press on described touch screen, slide, and while leaving, the number of user operating position, and the operating characteristicses such as unique point coordinate of the track that passes through.
The two finger of marking two linear tracks with two fingers below, is operating as example, introduces in detail rear a kind of implementation.
First can rewrite onTouchEvent (MotionEvent event) method in View class, as self-defined onTouchEvent method.With a count as counter, when receiving these events of ACTION_DOWN and ACTION_POINTER_DOWN, counter count adds 1, the event MotionEvent producing is added to event queue simultaneously, if counter count is 2 when receiving ACTION_MOVE event, know user this be operating as two touch screens that refer to; When receiving ACTION_POINTER_UP or ACTION_MOVE, counter count subtracts 1, and corresponding MotionEvent event is added to event queue, when counter count is 0, now can operate event queue.Event queue now has two fingers to press the event of touch screen and the event that two each and every one fingers leave touch screen, now can call getAction function and determine which two is the event of pressing touch screen, and which two is the event that finger leaves touch screen.Then calling getPointerId function finds the touch screen event of pressing of same finger generation and leaves touch screen event.
As shown in Figure 3, for adjusting the schematic diagram in region to be intercepted, suppose B (X1, Y1), C (X2, Y2) is respectively pressing touch screen and leaving the event of touch screen of a finger, A (X3, Y3), D (X4, Y4) be respectively pressing touch screen and leaving the event of touch screen of another finger, B, C, A, D can be used as unique point, then by calling getX and getY function, obtain the coordinate (X1, Y1) of these four points, (X2, Y2), (X3, Y3) and (X4, Y4), as the coordinate of these four unique points.
S130: according to the unique point coordinate of process track described in each, determine the region to be intercepted on screen picture;
After getting the coordinate of a unique point, can, according to the coordinate of each unique point, determine the region to be intercepted on screen picture.This process can be according to the difference of user operating position quantity, and the difference of slide, and the difference of the position of the unique point of obtaining, take different implementations.
For example, as used two operating positions (two fingers) when the enterprising line slip of touch screen operates as user, can on touch screen, mark two wire tracks, now, can obtain four end points coordinates that user slides past two wire tracks by two operating positions on touch screen as unique point coordinate.These four apex coordinates are coupled together, often can form a quadrilateral, can be using this quadrilateral as region to be intercepted.In Fig. 3, when above-mentioned slide forms AD, during two tracks of BC, can determine a quadrilateral according to A, B, C, tetra-end points of D, be about to quadrilateral ABCD and be defined as region to be intercepted.In figure, quadrilateral ABCD is not a regular quadrilateral, and in actual applications, user often wishes to intercept regular figure.After determining tetragonal apex coordinate, if not regular quadrilateral, can also pass through the correction to the unique point left side, the rectangle of formation rule after it is connected, as the coordinate of the A in figure, B, C, tetra-points of D, can, by revising, obtain A ', B ', C ', four points of D ', thereby obtain this regular rectangle of A ' B ' C ' D ' as region to be intercepted.
As previously mentioned, for example, when user uses an operating position (finger) in the enterprising line slip operation of touch screen, also can on touch screen, mark polygon; Or with the track on summit, the summit on track is coupled together, often also can obtain a polygon.Now, can obtain the coordinate on three or three above summits of produced sliding trace, as the unique point coordinate of track, according to these unique point coordinates, also can determine the region to be intercepted on screen picture.In Fig. 2, user is by a finger, while marking a track with the direction of ABCD on touch screen, can on track, form four summit A, B, C, D, the region that the unique point coordinate on these four summits surrounds, also can be used as the region to be intercepted on screen picture.Certainly, when using single fingering line slip operation, polygon that often can not formation rule, now also can, by revising apex coordinate, obtain regular polygon as region to be intercepted.As used single fingering line slip operation, and get the coordinate time on four summits, can be according to four end points coordinates, the definite rectangular area on described screen picture is as described region to be intercepted.
When the region to be intercepted of determining according to the unique point coordinate through track is irregular polygon, can revise unique point coordinate, the apex coordinate that is regular polygon by unique point Coordinate Adjusting, and determine described region to be intercepted according to the coordinate after adjusting.As shown in Figure 3, polygon ABCD is that the ,Gai region, region to be intercepted that unique point coordinate is determined is an irregular quadrilateral.For irregular quadrilateral, the mode that can intercept by inside, obtains a regular quadrilateral, but the regular quadrilateral of this implementation intercepting is often less, can not meet user's needs, at this, provides the method for another kind of correction irregular polygon as follows.
B (X1, Y1), C (X2, Y2), A (X3, Y3), D (X4, Y4) is unadjusted quadrilateral summit, the coordinate of establishing each point is:
B(100,900),C(1100,1300),A(200,100),D(900,300)
Polygon ABCD is irregular quadrilateral.Now, can, according to each point coordinate, get
Xs=(X1+X3)/2=150
Xd=(X2+X4)/2=1000
Ys=(Y1+Y2)/2=1100
Yd=(Y3+Y4)/2=200
Revised coordinate is by Xs, Xd, and Ys, Yd determines, as the coordinate of the A ' in figure, B ', C ', four points of D ' is respectively
A ' (Xs, Yd) is i.e. (150,200)
B ' (Xs, Ys) is i.e. (150,1100)
C ' (Xd, Ys) is i.e. (1000,1100)
D ' (Xd, Yd) is i.e. (1000,200)
Adjusting the quadrilateral A ' B ' C ' D ' obtaining after coordinate is a regular rectangle.
Be more than on screen, to carry out the example of taken transverse, while longitudinally intercepting, also can use similar mode on screen, the region irregular to be intercepted forming is adjusted, do not repeat them here.
S140: the screen picture to region to be intercepted on screen intercepts.
Determine behind the region to be intercepted on screen picture, can intercept the screen picture in region to be intercepted on screen.For example, if two operating positions of above-mentioned use (two fingers) are when the enterprising line slip of touch screen operates, can on touch screen, mark two wire tracks, now, can obtain four end points coordinates that user slides past two wire tracks by two operating positions on touch screen as unique point coordinate.According to unique point coordinate, can determine a quadrilateral area,, on screen, the screen picture of this quadrilateral area be intercepted.Certainly, user may more wish to obtain the figure of comparison rule, when region to be intercepted is irregular polygon, can also, according to the region to be intercepted that is adjusted into regular polygon, screen picture be intercepted.
In the process of intercepting, can first obtain the bitmap of whole screen, for example, in Android operating system, can pass through call function getDrawingCache, obtain the bitmap of whole screen, utilizing the bitmap of whole screen, and the coordinate in region to be intercepted etc., obtain the image of corresponding region in the bitmap of whole screen, for example, in Android operating system, call function Bitmap.createBitmap can be passed through, the image of corresponding region in the bitmap of whole screen can be obtained.
Embodiment bis-
For the narrower situation of terminal device screen, an also part for horizontal screen printing only, or in the situation that user laterally grips terminal device, only all interceptings in screen printing x direction in the vertical.Under this kind of scheme, can monitoring user operation position on the touch screen of terminal device, laterally or longitudinally run through the slide of screen; When generation is laterally described or longitudinally run through the slide of screen, obtain the intersecting point coordinate of described track and screen edge; Like this, when user uses two fingering line operate, can determine equally four apex coordinates, and determine a polygonal region to be intercepted according to apex coordinate, and then according to this region to be intercepted, screen picture be intercepted.
In addition, under this embodiment, can also be according to the intersecting point coordinate of each track and screen edge, and the apex coordinate of combining screen, region a plurality of to be intercepted on screen picture, for example, when two fingers streak on screen, screen can be cut into three regions, thereby obtain three regions to be intercepted.Then can intercept the screen picture in a plurality of regions to be intercepted on screen.Can certainly when intercepting, point out user to select the region of intercepting, according to user, at the screen picture in a plurality of regioselective regions to be intercepted to be intercepted, intercept.In addition, can also for example, in the situation that refer to that parallel sliding surpasses certain distance (2/3 of screen width), can trigger screen printing as long as user is two.
More than introduced the intercept method of the screen picture that the embodiment of the present invention provides, pass through the method, can the slide of monitoring user operation position on the touch screen of terminal device, obtain the operating characteristics of slide on touch screen, the number that comprises user operating position, the unique point coordinates of the track that passes through etc., according to each unique point coordinate, determine the region to be intercepted on screen picture.Can be according to user operating position the slide on the touch screen of terminal device, really fix on the region intercepting on screen picture in real time, the image interception in the selected scope of a part of user's slide on screen can be got off.Realize thus a kind of more flexible and screen picture intercept method easily, improved efficiency and the dirigibility of screen picture intercepting.
The intercept method of the screen picture providing with the embodiment of the present invention is corresponding, the present invention also provides the capture device of screen picture, refers to Fig. 4, is the schematic diagram of the intercepting equipment of screen picture according to an embodiment of the invention, as shown in the figure, this device can comprise:
Watch-dog 410, is configured to the slide of monitoring user operation position on the touch screen of terminal device;
Operating characteristics getter 420, is configured to, when there is slide, obtain the operating characteristics of slide; Wherein operating characteristics comprises: the number of user operating position; The unique point coordinate of track that slide passes through;
Intercepting region determiner 430, is configured to unique point coordinate through track according to each, determines the region to be intercepted on screen picture;
Image interception device 440, is configured to the screen picture in region to be intercepted on screen to intercept.
Under another implementation, the number of user operating position can be two; Unique point coordinate can comprise: the end points coordinate of wire track;
When operating characteristics getter 420 can obtain user and slides past two wire tracks by two operating positions on touch screen, four end points coordinates of two tracks;
Intercepting region determiner 430 can, according to get four end points coordinates, be determined the region to be intercepted on screen picture.
Under this implementation, intercepting region determiner 430 can also be according to four end points coordinates, and the definite rectangular area on described screen picture is as region to be intercepted.
Under another implementation, the number of user operating position can be one; Operating characteristics getter can, when an operating position, on touch screen, slide occurs, obtain the coordinate on three or three above summits of produced sliding trace;
Intercepting region determiner 430 can, according to the coordinate on described three or three above summits, be determined the region to be intercepted on screen picture.
Under this implementation, intercepting region determiner 430 can also be worked as while getting four apex coordinates, according to four end points coordinates, determines that a rectangular area is as region to be intercepted on screen picture.
The slide of screen, on the touch screen of terminal device, laterally or is longitudinally run through in all right monitoring user operation of watch-dog position;
Now operating characteristics getter 420 can, when occurring laterally or longitudinally to run through the slide of screen, obtain the intersecting point coordinate of track and screen edge;
And intercepting region determiner 430 can be according to the intersecting point coordinate of each track and screen edge, and the apex coordinate of combining screen, the region a plurality of to be intercepted on screen picture;
Corresponding, image interception device 440 can intercept for the screen picture in a plurality of regions to be intercepted on screen;
Or,
According to user, at the screen picture in a plurality of regioselective regions to be intercepted to be intercepted, intercept.
Concrete, watch-dog 410 can touch the subclass of monitoring interface OnTouchListener by definition, with the form of entrust processing, entrust and the subclass monitoring user operation position of the calling described OnTouchListener slide on the touch screen of terminal device;
Now, can be when there is slide in operating characteristics getter 420, with the form of entrust processing, entrust and the event handling interface OnTouch of subclass that calls the subclass OnTouchListener of described OnTouchListener obtains the operating characteristics of slide.
In addition watch-dog 410 can also be by preset self-defined touch screen event handling onTouchEvent method, the slide of monitoring user operation position on the touch screen of terminal device;
Under this implementation, operating characteristics getter 420 can, when there is slide, obtain the operating characteristics of described slide by preset self-defined onTouchEvent method.
Further, watch-dog 410, specifically can be for:
By preset self-defined touch screen event handling onTouchEvent method, in the process of the slip of monitoring user operation position on the touch screen of terminal device, press on described touch screen described operating position, slide, and the event of leaving;
Described operating characteristics getter, specifically for:
When there is described slide, by preset self-defined onTouchEvent method, obtain described operating position and press on described touch screen, slide, and while leaving, the number of user operating position, and the unique point coordinate of the track that passes through.
In addition, intercepting region determiner 430 can also be for:
When the region described to be intercepted of determining according to the described unique point coordinate through track is irregular polygon, the apex coordinate that is regular polygon by described unique point Coordinate Adjusting, and determine described region to be intercepted according to the coordinate after adjusting.
The intercepting equipment of the screen picture above embodiment of the present invention being provided is introduced, by this equipment according to user operating position the slide on the touch screen of terminal device, really fix in real time the region intercepting on screen picture, the image interception in the selected scope of a part of user's slide on screen can be got off.Realize thus a kind of more flexible and screen picture intercept method easily, improved efficiency and the dirigibility of screen picture intercepting.
The algorithm providing at this is intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with demonstration.Various general-purpose systems also can with based on using together with this teaching.According to description above, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.It should be understood that and can utilize various programming languages to realize content of the present invention described here, and the description of above language-specific being done is in order to disclose preferred forms of the present invention.
In the instructions that provided herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can not put into practice in the situation that there is no these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the above in the description of exemplary embodiment of the present invention, each feature of the present invention is grouped together into single embodiment, figure or sometimes in its description.Yet, the method for the disclosure should be construed to the following intention of reflection: the present invention for required protection requires than the more feature of feature of clearly recording in each claim.Or rather, as reflected in claims below, inventive aspect is to be less than all features of disclosed single embodiment above.Therefore, claims of following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can the module in the equipment in embodiment are adaptively changed and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and can put them into a plurality of submodules or subelement or sub-component in addition.At least some in such feature and/or process or unit are mutually repelling, and can adopt any combination to combine all processes or the unit of disclosed all features in this instructions (comprising claim, summary and the accompanying drawing followed) and disclosed any method like this or equipment.Unless clearly statement in addition, in this instructions (comprising claim, summary and the accompanying drawing followed) disclosed each feature can be by providing identical, be equal to or the alternative features of similar object replaces.
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included in other embodiment, the combination of the feature of different embodiment means within scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with array mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, or realizes with the software module moved on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that and can use in practice microprocessor or digital signal processor (DSP) to realize according to the some or all functions of the some or all parts in the intercepting equipment of the screen picture of the embodiment of the present invention.The present invention for example can also be embodied as, for carrying out part or all equipment or device program (, computer program and computer program) of method as described herein.Realizing program of the present invention and can be stored on computer-readable medium like this, or can there is the form of one or more signal.Such signal can be downloaded and obtain from internet website, or provides on carrier signal, or provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation that do not depart from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed as element or step in the claims.Being positioned at word " " before element or " one " does not get rid of and has a plurality of such elements.The present invention can be by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to carry out imbody by same hardware branch.The use of word first, second and C grade does not represent any order.Can be title by these word explanations.
The application can be applied to computer system/server, and it can operation together with numerous other universal or special computingasystem environment or configuration.The example of well-known computing system, environment and/or the configuration that is suitable for using together with computer system/server includes but not limited to: personal computer system, server computer system, thin client, thick client computer, hand-held or laptop devices, the system based on microprocessor, Set Top Box, programmable consumer electronics, NetPC Network PC, minicomputer system, large computer system and comprise the distributed cloud computing technology environment of above-mentioned any system, etc.
Computer system/server can be described under the general linguistic context of the computer system executable instruction (such as program module) of being carried out by computer system.Conventionally, program module can comprise routine, program, target program, assembly, logic, data structure etc., and they are carried out specific task or realize specific abstract data type.Computer system/server can be implemented in distributed cloud computing environment, and in distributed cloud computing environment, task is to be carried out by the teleprocessing equipment linking by communication network.In distributed cloud computing environment, program module can be positioned on the Local or Remote computing system storage medium that comprises memory device.
The intercept method that the invention also discloses A1, a kind of screen picture, comprising:
The slide of monitoring user operation position on the touch screen of terminal device;
When there is described slide, obtain the operating characteristics of described slide; Described operating characteristics comprises: the number of user operating position; The unique point coordinate of track that described slide passes through;
According to the unique point coordinate of process track described in each, determine the region to be intercepted on screen picture;
Screen picture to region to be intercepted on screen intercepts.
A2, the method as described in A1, the number of described user operating position is two; Described unique point coordinate comprises: the end points coordinate of wire track;
Described when there is described slide, obtain the operating characteristics of described slide, comprising:
When obtaining user and sliding past two wire tracks by two operating positions on described touch screen, four end points coordinates of described two wire tracks;
Described according to described in each through the unique point coordinate of track, determine the region to be intercepted on screen picture, comprising:
According to described four end points coordinates, determine the region to be intercepted on screen picture.
A3, the method as described in A2, describedly determine the region to be intercepted on screen picture according to described four end points coordinates, comprising:
According to described four end points coordinates, on described screen picture, determine that a rectangular area is as described region to be intercepted.
A4, the method as described in A1, the number of described user operating position is one; Described when there is described slide, obtain the operating characteristics of described slide, comprising:
When a described operating position, on touch screen, described slide occurs, obtain the coordinate on three or three above summits of produced sliding trace;
Described according to described in each through the unique point coordinate of track, determine the region to be intercepted on screen picture, comprising:
According to the coordinate on described three or three above summits, determine the region to be intercepted on screen picture.
A5, the method as described in A4, describedly determine the region to be intercepted on screen picture according to the coordinate on the above summits of described three or three, comprising:
When getting four described apex coordinates, according to described four end points coordinates, on described screen picture, determine that a rectangular area is as described region to be intercepted.
A6, the method as described in A1, the slide of described monitoring user operation position on the touch screen of terminal device, comprising:
The slide of screen, on the touch screen of terminal device, laterally or is longitudinally run through in monitoring user operation position;
Described when there is described slide, obtain the operating characteristics of described slide, comprising:
When generation is laterally described or longitudinally run through the slide of screen, obtain the intersecting point coordinate of described track and screen edge;
Described according to described in each through the unique point coordinate of track, determine the region to be intercepted on screen picture, comprising:
According to the intersecting point coordinate of track described in each and screen edge, and the apex coordinate of combining screen, the region a plurality of to be intercepted on screen picture;
The described screen picture to region to be intercepted on screen intercepts, and comprising:
Screen picture to the described a plurality of regions to be intercepted on screen intercepts;
Or,
According to user, at the screen picture in described a plurality of regioselective regions to be intercepted to be intercepted, intercept.
A7, the method as described in A1-A6 any one, the slide of described monitoring user operation position on the touch screen of terminal device, comprising:
By definition, touch the subclass of monitoring interface OnTouchListener, to entrust the form of processing, entrust and the subclass monitoring user operation position of the calling described OnTouchListener slide on the touch screen of terminal device;
Described when there is described slide, obtain the operating characteristics of described slide, comprising:
When there is described slide, to entrust the form of processing, entrust and the event handling interface OnTouch that calls the subclass of described OnTouchListener obtains the operating characteristics of described slide.
A8, the method as described in A1-A7 any one, the slide of described monitoring user operation position on the touch screen of terminal device, comprising:
By preset self-defined touch screen event handling onTouchEvent method, the slide of monitoring user operation position on the touch screen of terminal device;
Described when there is described slide, obtain the operating characteristics of described slide, comprising:
When there is described slide, by preset self-defined onTouchEvent method, obtain the operating characteristics of described slide.
A9, the method as described in A8, described by preset self-defined touch screen event handling onTouchEvent method, the slide of monitoring user operation position on the touch screen of terminal device, comprising:
By preset self-defined touch screen event handling onTouchEvent method, in the process of the slip of monitoring user operation position on the touch screen of terminal device, press on described touch screen described operating position, slide, and the event of leaving;
Described when there is described slide, by preset self-defined onTouchEvent method, obtain the operating characteristics of described slide, comprising:
When there is described slide, by preset self-defined onTouchEvent method, obtain described operating position and press on described touch screen, slide, and while leaving, the number of user operating position, and the unique point coordinate of the track that passes through.
A10, the method as described in A1-A9 any one, described according to described in each through the unique point coordinate of track, determine the region to be intercepted on screen picture, comprising:
When the region described to be intercepted of determining according to the described unique point coordinate through track is irregular polygon, the apex coordinate that is regular polygon by described unique point Coordinate Adjusting, and determine described region to be intercepted according to the coordinate after adjusting.
The intercepting equipment that the invention also discloses B11, a kind of screen picture, comprising:
Watch-dog, is configured to the slide of monitoring user operation position on the touch screen of terminal device;
Operating characteristics getter, is configured to, when there is described slide, obtain the operating characteristics of described slide; Described operating characteristics comprises: the number of user operating position; The unique point coordinate of track that described slide passes through;
Intercepting region determiner, is configured to, according to the unique point coordinate of process track described in each, determine the region to be intercepted on screen picture;
Image interception device, is configured to the screen picture in region to be intercepted on screen to intercept.
B12, the equipment as described in B11, the number of described user operating position is two; Described unique point coordinate comprises: the end points coordinate of wire track;
Described operating characteristics getter, is configured to:
When obtaining user and sliding past two wire tracks by two operating positions on described touch screen, four end points coordinates of described two tracks;
Described intercepting region determiner, is configured to:
According to described four end points coordinates, determine the region to be intercepted on screen picture.
B13, the equipment as described in B12, described intercepting region determiner, is configured to:
According to described four end points coordinates, the definite rectangular area on described screen picture is as described region to be intercepted.
B14, the equipment as described in B11, the number of described user operating position is one; Described operating characteristics getter, is configured to:
When a described operating position, on touch screen, described slide occurs, obtain the coordinate on three or three above summits of produced sliding trace;
Described intercepting region determiner, is configured to:
According to the coordinate on described three or three above summits, determine the region to be intercepted on screen picture.
B15, the equipment as described in B14, described intercepting region determiner, is configured to:
When getting four described apex coordinates, according to described four end points coordinates, the definite rectangular area on described screen picture is as described region to be intercepted.
B16, the equipment as described in B11, described watch-dog, is configured to:
The slide of screen, on the touch screen of terminal device, laterally or is longitudinally run through in monitoring user operation position;
Described operating characteristics getter, is configured to:
When generation is laterally described or longitudinally run through the slide of screen, obtain the intersecting point coordinate of described track and screen edge;
Described intercepting region determiner, is configured to:
According to the intersecting point coordinate of track described in each and screen edge, and the apex coordinate of combining screen, the region a plurality of to be intercepted on screen picture;
Described image interception device, is configured to:
Screen picture to the described a plurality of regions to be intercepted on screen intercepts;
Or,
According to user, at the screen picture in described a plurality of regioselective regions to be intercepted to be intercepted, intercept.
B17, the equipment as described in B11-16 any one, described watch-dog, is configured to:
By definition, touch the subclass of monitoring interface OnTouchListener, to entrust the form of processing, entrust and the subclass monitoring user operation position of the calling described OnTouchListener slide on the touch screen of terminal device;
Described operating characteristics getter, is configured to:
When there is described slide, to entrust the form of processing, entrust and the subclass of calling described OnTouchListener is obtained the operating characteristics of described slide by the event handling interface OnTouch of the subclass of OnTouchListener.
B18, the equipment as described in B11-17 any one, described watch-dog, is configured to:
By preset self-defined touch screen event handling onTouchEvent method, the slide of monitoring user operation position on the touch screen of terminal device;
Described operating characteristics getter, is configured to:
When there is described slide, by preset self-defined onTouchEvent method, obtain the operating characteristics of described slide.
B19, the equipment as described in B18, described watch-dog, specifically for:
By preset self-defined touch screen event handling onTouchEvent method, in the process of the slip of monitoring user operation position on the touch screen of terminal device, press on described touch screen described operating position, slide, and the event of leaving;
Described operating characteristics getter, specifically for:
When there is described slide, by preset self-defined onTouchEvent method, obtain described operating position and press on described touch screen, slide, and while leaving, the number of user operating position, and the unique point coordinate of the track that passes through.
B20, the equipment as described in B11-19 any one, described intercepting region determiner, is configured to:
When the region described to be intercepted of determining according to the described unique point coordinate through track is irregular polygon, the apex coordinate that is regular polygon by described unique point Coordinate Adjusting, and determine described region to be intercepted according to the coordinate after adjusting.

Claims (10)

1. an intercept method for screen picture, comprising:
The slide of monitoring user operation position on the touch screen of terminal device;
When there is described slide, obtain the operating characteristics of described slide; Described operating characteristics comprises: the number of user operating position; The unique point coordinate of track that described slide passes through;
According to the unique point coordinate of process track described in each, determine the region to be intercepted on screen picture;
Screen picture to region to be intercepted on screen intercepts.
2. the method for claim 1, the number of described user operating position is two; Described unique point coordinate comprises: the end points coordinate of wire track;
Described when there is described slide, obtain the operating characteristics of described slide, comprising:
When obtaining user and sliding past two wire tracks by two operating positions on described touch screen, four end points coordinates of described two wire tracks;
Described according to described in each through the unique point coordinate of track, determine the region to be intercepted on screen picture, comprising:
According to described four end points coordinates, determine the region to be intercepted on screen picture.
3. method as claimed in claim 2, describedly determines the region to be intercepted on screen picture according to described four end points coordinates, comprising:
According to described four end points coordinates, on described screen picture, determine that a rectangular area is as described region to be intercepted.
4. the method for claim 1, the number of described user operating position is one; Described when there is described slide, obtain the operating characteristics of described slide, comprising:
When a described operating position, on touch screen, described slide occurs, obtain the coordinate on three or three above summits of produced sliding trace;
Described according to described in each through the unique point coordinate of track, determine the region to be intercepted on screen picture, comprising:
According to the coordinate on described three or three above summits, determine the region to be intercepted on screen picture.
5. method as claimed in claim 4, describedly determines the region to be intercepted on screen picture according to the coordinate on described three or three above summits, comprising:
When getting four described apex coordinates, according to described four end points coordinates, on described screen picture, determine that a rectangular area is as described region to be intercepted.
6. the method for claim 1, the slide of described monitoring user operation position on the touch screen of terminal device, comprising:
The slide of screen, on the touch screen of terminal device, laterally or is longitudinally run through in monitoring user operation position;
Described when there is described slide, obtain the operating characteristics of described slide, comprising:
When generation is laterally described or longitudinally run through the slide of screen, obtain the intersecting point coordinate of described track and screen edge;
Described according to described in each through the unique point coordinate of track, determine the region to be intercepted on screen picture, comprising:
According to the intersecting point coordinate of track described in each and screen edge, and the apex coordinate of combining screen, the region a plurality of to be intercepted on screen picture;
The described screen picture to region to be intercepted on screen intercepts, and comprising:
Screen picture to the described a plurality of regions to be intercepted on screen intercepts;
Or,
According to user, at the screen picture in described a plurality of regioselective regions to be intercepted to be intercepted, intercept.
7. the method as described in claim 1-6 any one, the slide of described monitoring user operation position on the touch screen of terminal device, comprising:
By definition, touch the subclass of monitoring interface OnTouchListener, to entrust the form of processing, entrust and the subclass monitoring user operation position of the calling described OnTouchListener slide on the touch screen of terminal device;
Described when there is described slide, obtain the operating characteristics of described slide, comprising:
When there is described slide, to entrust the form of processing, entrust and the event handling interface OnTouch that calls the subclass of described OnTouchListener obtains the operating characteristics of described slide.
8. the method as described in claim 1-7 any one, the slide of described monitoring user operation position on the touch screen of terminal device, comprising:
By preset self-defined touch screen event handling onTouchEvent method, the slide of monitoring user operation position on the touch screen of terminal device;
Described when there is described slide, obtain the operating characteristics of described slide, comprising:
When there is described slide, by preset self-defined onTouchEvent method, obtain the operating characteristics of described slide.
9. method as claimed in claim 8, described by preset self-defined touch screen event handling onTouchEvent method, the slide of monitoring user operation position on the touch screen of terminal device, comprising:
By preset self-defined touch screen event handling onTouchEvent method, in the process of the slip of monitoring user operation position on the touch screen of terminal device, press on described touch screen described operating position, slide, and the event of leaving;
Described when there is described slide, by preset self-defined onTouchEvent method, obtain the operating characteristics of described slide, comprising:
When there is described slide, by preset self-defined onTouchEvent method, obtain described operating position and press on described touch screen, slide, and while leaving, the number of user operating position, and the unique point coordinate of the track that passes through.
10. an intercepting equipment for screen picture, comprising:
Watch-dog, is configured to the slide of monitoring user operation position on the touch screen of terminal device;
Operating characteristics getter, is configured to, when there is described slide, obtain the operating characteristics of described slide; Described operating characteristics comprises: the number of user operating position; The unique point coordinate of track that described slide passes through;
Intercepting region determiner, is configured to, according to the unique point coordinate of process track described in each, determine the region to be intercepted on screen picture;
Image interception device, is configured to the screen picture in region to be intercepted on screen to intercept.
CN201310498666.XA 2013-10-22 2013-10-22 Method and equipment for capturing screen image Pending CN103530055A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310498666.XA CN103530055A (en) 2013-10-22 2013-10-22 Method and equipment for capturing screen image
PCT/CN2014/083045 WO2015058566A1 (en) 2013-10-22 2014-07-25 Method and device for capturing screen image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310498666.XA CN103530055A (en) 2013-10-22 2013-10-22 Method and equipment for capturing screen image

Publications (1)

Publication Number Publication Date
CN103530055A true CN103530055A (en) 2014-01-22

Family

ID=49932110

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310498666.XA Pending CN103530055A (en) 2013-10-22 2013-10-22 Method and equipment for capturing screen image

Country Status (2)

Country Link
CN (1) CN103530055A (en)
WO (1) WO2015058566A1 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104573608A (en) * 2015-01-23 2015-04-29 苏州海博智能系统有限公司 Coded message scanning method and device
WO2015058566A1 (en) * 2013-10-22 2015-04-30 北京奇虎科技有限公司 Method and device for capturing screen image
CN104898926A (en) * 2015-05-29 2015-09-09 努比亚技术有限公司 Screen capture method and device of mobile terminal
CN104951229A (en) * 2015-05-27 2015-09-30 努比亚技术有限公司 Screen capturing method and device
CN105183317A (en) * 2015-09-07 2015-12-23 联想(北京)有限公司 Method for processing file through pressure touch and electronic equipment
CN105224315A (en) * 2015-09-11 2016-01-06 北京金山安全软件有限公司 Method and device for acquiring screen capture
CN105700801A (en) * 2014-11-28 2016-06-22 腾讯科技(深圳)有限公司 Interface interception method and device
CN105912256A (en) * 2016-04-08 2016-08-31 微鲸科技有限公司 Control method of touch screen and touch device
CN106598365A (en) * 2016-09-27 2017-04-26 北京枭龙科技有限公司 Method and device for increasing recognition rate of touch plate
US20210011585A1 (en) * 2018-11-16 2021-01-14 Beijing Bytedance Network Technology Co., Ltd. Menu display method, apparatus, device and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106354390B (en) * 2016-08-30 2019-09-17 广东小天才科技有限公司 The method and apparatus of the interception of target image
CN111902384B (en) 2018-04-03 2024-05-14 蓝立方知识产权有限责任公司 Method for recovering catalyst in chlorinated alkane production

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075172A (en) * 2006-08-23 2007-11-21 腾讯科技(深圳)有限公司 Method for capturing picture, capturer and instant-telecommunication customer terminal
CN102968274A (en) * 2012-11-22 2013-03-13 广东欧珀移动通信有限公司 Free screen capturing method and free screen capturing system in mobile device
CN103019597A (en) * 2012-12-10 2013-04-03 中兴通讯股份有限公司 Intelligent terminal with built-in screenshot functionality and realizing method of intelligent terminal
CN103092520A (en) * 2013-01-25 2013-05-08 广东欧珀移动通信有限公司 Method and device of screen image clipping and touch screen mobile device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101483710A (en) * 2009-01-22 2009-07-15 中兴通讯股份有限公司 Terminal and method for providing real-time screenshot of mobile phone television program
CN103530055A (en) * 2013-10-22 2014-01-22 北京奇虎科技有限公司 Method and equipment for capturing screen image

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101075172A (en) * 2006-08-23 2007-11-21 腾讯科技(深圳)有限公司 Method for capturing picture, capturer and instant-telecommunication customer terminal
CN102968274A (en) * 2012-11-22 2013-03-13 广东欧珀移动通信有限公司 Free screen capturing method and free screen capturing system in mobile device
CN103019597A (en) * 2012-12-10 2013-04-03 中兴通讯股份有限公司 Intelligent terminal with built-in screenshot functionality and realizing method of intelligent terminal
CN103092520A (en) * 2013-01-25 2013-05-08 广东欧珀移动通信有限公司 Method and device of screen image clipping and touch screen mobile device

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015058566A1 (en) * 2013-10-22 2015-04-30 北京奇虎科技有限公司 Method and device for capturing screen image
CN105700801A (en) * 2014-11-28 2016-06-22 腾讯科技(深圳)有限公司 Interface interception method and device
CN104573608B (en) * 2015-01-23 2018-06-19 苏州海博智能系统有限公司 A kind of coding information scan method and device
CN104573608A (en) * 2015-01-23 2015-04-29 苏州海博智能系统有限公司 Coded message scanning method and device
CN104951229A (en) * 2015-05-27 2015-09-30 努比亚技术有限公司 Screen capturing method and device
CN104951229B (en) * 2015-05-27 2017-03-29 努比亚技术有限公司 Screenshot method and device
CN104898926B (en) * 2015-05-29 2018-04-27 努比亚技术有限公司 The screenshot method and device of mobile terminal
CN104898926A (en) * 2015-05-29 2015-09-09 努比亚技术有限公司 Screen capture method and device of mobile terminal
CN105183317A (en) * 2015-09-07 2015-12-23 联想(北京)有限公司 Method for processing file through pressure touch and electronic equipment
CN105224315A (en) * 2015-09-11 2016-01-06 北京金山安全软件有限公司 Method and device for acquiring screen capture
CN105224315B (en) * 2015-09-11 2018-10-19 北京金山安全软件有限公司 Method and device for acquiring screen capture
CN105912256A (en) * 2016-04-08 2016-08-31 微鲸科技有限公司 Control method of touch screen and touch device
CN106598365A (en) * 2016-09-27 2017-04-26 北京枭龙科技有限公司 Method and device for increasing recognition rate of touch plate
US20210011585A1 (en) * 2018-11-16 2021-01-14 Beijing Bytedance Network Technology Co., Ltd. Menu display method, apparatus, device and storage medium

Also Published As

Publication number Publication date
WO2015058566A1 (en) 2015-04-30

Similar Documents

Publication Publication Date Title
CN103530055A (en) Method and equipment for capturing screen image
CN107688422B (en) Notification message display method and device
WO2021072912A1 (en) File sharing method, apparatus, and system, interactive smart device, source end device, and storage medium
CN106547580B (en) Method and device for hooking function, mobile terminal and storage medium
CN104063071A (en) Content input method and device
CN111813309B (en) Display method, display device, electronic equipment and readable storage medium
US10853152B2 (en) Touch application programming interfaces
CN113434065B (en) Information processing method and terminal
CN105630939A (en) General canvas input interface design method and device
CN106843794B (en) Split screen display method and system based on android
CN109144370A (en) A kind of screenshotss method, apparatus, terminal and computer-readable medium
CN105335069A (en) Method and device for generating sliding track in touch screen equipment
CN103076974A (en) Unlocking method and device of touch screen and touch screen equipment
CN110928614A (en) Interface display method, device, equipment and storage medium
US20220300301A1 (en) Method and apparatus for controlling interface focus on interface
CN111880759A (en) Control method and device for multi-split screen display picture, display and storage medium
CN106855772A (en) A kind of information displaying method and device
CN103970290A (en) Cloud-gaming-based mouse signal processing device and method
CN105549879A (en) Information processing method and electronic equipment
CN109407955B (en) User interface interaction method, computer device and computer readable storage medium
CN102375664B (en) Icon moving method and device
CN107679219B (en) Matching method and device, interactive intelligent panel and storage medium
CN108073338B (en) Cursor display method and system
CN104407763A (en) Content input method and system
US9696817B2 (en) Portable electronic device including keyboard and method of controlling the same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140122