CN105487781B - A kind of screenshot method and terminal device - Google Patents

A kind of screenshot method and terminal device Download PDF

Info

Publication number
CN105487781B
CN105487781B CN201610066363.4A CN201610066363A CN105487781B CN 105487781 B CN105487781 B CN 105487781B CN 201610066363 A CN201610066363 A CN 201610066363A CN 105487781 B CN105487781 B CN 105487781B
Authority
CN
China
Prior art keywords
touch
screenshot
touch point
point
corresponding
Prior art date
Application number
CN201610066363.4A
Other languages
Chinese (zh)
Other versions
CN105487781A (en
Inventor
李建林
Original Assignee
广东欧珀移动通信有限公司
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 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Priority to CN201610066363.4A priority Critical patent/CN105487781B/en
Publication of CN105487781A publication Critical patent/CN105487781A/en
Application granted granted Critical
Publication of CN105487781B publication Critical patent/CN105487781B/en

Links

Abstract

The invention discloses a kind of screenshot methods, comprising: for detection user for the touch parameter of the touch control operation of the display interface of terminal device, the touch parameter includes the touch point and the corresponding touch-control pressure value of the touch point of the touch control operation;According to the touch point and the touch-control pressure value, screenshot is carried out to the corresponding region of the touch point.The embodiment of the invention also provides a kind of terminal devices.The convenience and diversity of screenshot can be promoted using the embodiment of the present invention.

Description

A kind of screenshot method and terminal device

Technical field

The present invention relates to electronic technology field more particularly to a kind of screenshot methods and terminal device.

Background technique

With the continuous development of microelectric technique, the function of intelligent terminal (such as smart phone, tablet computer etc.) is more next More diversified, user can browse webpage, shopping online, chat, screenshot etc. by intelligent terminal.Currently, user is whole using intelligence It is usually to carry out screenshot to entire interface that end, which carries out screenshot,.This kind of screenshot mode is excessively single, is unable to satisfy use under certain scenes The demand at family.

Summary of the invention

The embodiment of the present invention provides a kind of screenshot method and terminal device, to promote the convenience and diversity of screenshot.

In a first aspect, the embodiment of the present invention provides a kind of screenshot method, comprising:

User is detected for the touch parameter of the touch control operation of the display interface of terminal device, the touch parameter includes institute State the touch point and the corresponding touch-control pressure value of the touch point of touch control operation;

According to the touch point and the touch-control pressure value, screenshot is carried out to the corresponding region of the touch point.

In a possible design, the touch parameter further includes the corresponding touch-control duration of the touch point, and described According to the touch point and the touch-control pressure value, screenshot is carried out to the corresponding region of the touch point, comprising:

According to the mapping relations of touch-control duration and screenshot shape, the corresponding target screenshot shape of the touch-control duration is determined;

It determines the first screenshot area, and screenshot is carried out to first screenshot area, wherein the target screenshot area Central point be the touch point, the area of the target screenshot area is corresponding with the touch-control pressure.

In a possible design, the touch control operation is slide, described according to the touch point and the touching Pressure control force value carries out screenshot to the corresponding region of the touch point, comprising:

When the touch-control pressure value falls into the first pre-set pressure range, the slide pair is determined according to the touch point The sliding trace figure answered;

It determines corresponding second screenshot area of the sliding trace figure, and second screenshot area is cut Figure.

In a possible design, the touch point includes the first touch point and the second touch point, the touch-control pressure Including the corresponding first touch-control pressure of first touch point and the corresponding second touch-control pressure of second touch point, described According to the touch point and the touch-control pressure value, screenshot is carried out to the corresponding region of the touch point, comprising:

When the average touch-control pressure of the first touch-control pressure and the second touch-control pressure falls into the second preset pressure model It encloses, the point centered on first touch point, the distance between first touch point and second touch point are radius, really Determine third screenshot area, and screenshot is carried out to the third screenshot area.

In a possible design, if carrying out the picture that screenshot obtains to the corresponding region of the touch point is multiple figures Piece, it is described according to the touch point and the touch-control pressure value, it is described after carrying out screenshot to the corresponding region of the touch point Method further include:

User is detected to the pressing parameter of at least pressing operation of a picture in the plurality of pictures, the pressing ginseng Number includes the press pressure and pressing duration of the pressing operation;

When the press pressure falls into third pre-set pressure range, and the pressing duration is greater than or equal to preset duration When, the plurality of pictures is spliced, to obtain a picture, wherein the mode of splicing the plurality of pictures with The press pressure is corresponding.

Second aspect, the embodiment of the present invention provide a kind of terminal device, which, which has, realizes above method design Middle terminal device behavioral function.Function can also execute corresponding software realization by hardware realization by hardware.Hardware Or software includes one or more unit modules corresponding with above-mentioned function.Unit module can be software and/or hardware.Eventually End equipment includes detection unit and screenshot unit, for executing a kind of screenshot method of first aspect of embodiment of the present invention offer Correlation step.

Detection unit, for detect user for terminal device display interface touch control operation touch parameter, it is described Touch parameter includes the touch point and the corresponding touch-control pressure value of the touch point of the touch control operation;

Screenshot unit, the touch point and the touch-control pressure value for being detected according to the detection unit, to institute It states the corresponding region of touch point and carries out screenshot.

The third aspect, the present invention provide a kind of terminal device, include receiver, transmitter and processing in the terminal device Device, processor are configured as that terminal device is supported to execute corresponding function in a kind of screenshot method that first aspect provides.It sends Device is used to support the communication between terminal device and mobile network service device.Terminal device can also include memory, memory For coupling with processor, the necessary program instruction of computer equipment and data are saved.Terminal device can also include communication Interface, for terminal device and other equipment or communication.

Fourth aspect, the present invention provide a kind of computer storage medium, by being stored as based on used in above-mentioned terminal device Calculation machine software instruction, it includes for executing program designed by above-mentioned aspect.

As can be seen that terminal device detects user for the touch-control of the display interface of terminal device in the embodiment of the present invention The touch parameter of operation, the touch parameter include the touch point and the corresponding touch-control pressure of the touch point of the touch control operation Value;The touch point detected according to the detection unit and the touch-control pressure value, region corresponding to the touch point Carry out screenshot.Compared with prior art intelligence carries out screenshot to entire interface, this programme user only need to be to the display of terminal device Interface carry out touch control operation, can to the corresponding region of touch point carry out screenshot, be conducive to promoted user's screenshot convenience and Diversity.

Detailed description of the invention

In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.

Fig. 1 is a kind of structural schematic diagram of terminal device disclosed by the embodiments of the present invention;

Fig. 2 is a kind of flow diagram of screenshot method disclosed in embodiment of the present invention method;

Fig. 2 .1 is the flow diagram of another kind screenshot method disclosed in embodiment of the present invention method;

Fig. 2 .2 is a kind of operation chart for the screenshot method that Fig. 2 .1 is provided;

Fig. 2 .3 is the flow diagram of another kind screenshot method disclosed in embodiment of the present invention method;

Fig. 2 .4 is a kind of operation chart for the screenshot method that Fig. 2 .3 is provided;

Fig. 2 .5 is the flow diagram of another kind screenshot method disclosed in embodiment of the present invention method;

Fig. 2 .6 is a kind of operation chart for the screenshot method that Fig. 2 .5 is provided;

Fig. 2 .7 is the flow diagram of another kind screenshot method disclosed in embodiment of the present invention method;

Fig. 3 is the unit composition block diagram of terminal device disclosed in apparatus of the present invention embodiment.

Specific embodiment

In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.

It is described in detail separately below.

Description and claims of this specification and term " first ", " second ", " third " and " in the attached drawing Four " etc. are not use to describe a particular order for distinguishing different objects.In addition, term " includes " and " having " and it Any deformation, it is intended that cover and non-exclusive include.Such as it contains the process, method of a series of steps or units, be System, product or equipment are not limited to listed step or unit, but optionally further comprising the step of not listing or list Member, or optionally further comprising other step or units intrinsic for these process, methods, product or equipment.

Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.

In order to be best understood from a kind of screenshot method and terminal device disclosed by the embodiments of the present invention, below first to of the invention real The applicable terminal device of example is applied to be described.Referring to Figure 1, Fig. 1 is that a kind of realization present invention provided in an embodiment of the present invention is cut The structure composed figure of the terminal device of drawing method.It can specifically include at least one processing in the structure composed figure of the terminal device Device 101, at least one processor 102, at least one communication bus 103, reception/transmitting line 104, antenna 105, at least one Touch screen 106, at least one display screen 107, microphone 108, loudspeaker 109, client identification module SIM Card110, physics Key 111, bluetooth controller 113, digital signal processing circuit 114;Wherein, the touching display screen is the touch screen 106 With integrating for the display screen 107, array of pressure sensors can be set in the touching display screen, terminal device can pass through The array of pressure sensors detects pressure parameter, wherein above-mentioned pressure sensor for example can be resistance strain gage pressure sensing Device, semiconductor gauge pressure sensor, piezoresistive pressure sensor, inductance pressure transducer, capacitance pressure transducer, Resonance type pressure sensor etc. includes but is not limited to aforesaid way in the embodiment of the present invention to obtain pressure value.The storage Device 102 comprises at least one of the following: random access memory, nonvolatile memory and external memory, the processor 101 control the communication with External cell net by reception/transmitting line 104 and antenna 105;It is stored in at least one processor Have instruction set, the instruction set be integrated in operating system or by processor 101 can be performed application program in, the instruction Set can bootstrap processor 101 execute the screenshot method that specifically discloses in embodiment of the present invention method.The terminal device example It such as can be smart phone, tablet computer, laptop, wearable device (such as smartwatch) all kinds of universal electrics to set It is standby.

Wherein, the touching display screen includes: panel;The indium tin oxide figure being set to below the panel;Setting Touch sensor below the indium tin oxide figure;The indium tin oxide base being set to below the touch sensor Plate;And it is set to the upper surface of the indium tin oxide substrate or the pressure sensor of lower surface;Or

The touching display screen specifically includes: panel;The indium tin oxide figure being set to below the panel;It is set to Touch sensor below the indium tin oxide figure;And it is set to the pressure sensor below the touch sensor.

Processor 101 in above-mentioned terminal device 100 can couple at least one processor 102, the memory Instruction set is prestored in 102, described instruction set specifically includes detection module, screen capture module and splicing module, the storage Device 102 is also further stored with kernel module, and the kernel module includes operating system (such as WINDOWSTM, ANDROIDTM, IOSTMDeng).The processor 101 calls described instruction set to execute screenshot method disclosed in the embodiment of the present invention, specifically The following steps are included:

Detection module in 101 run memory 102 of processor of the terminal device 100, to detect user for eventually The touch parameter of the touch control operation of the display interface of end equipment, the touch parameter include touch point and the institute of the touch control operation State the corresponding touch-control pressure value of touch point;

Screen capture module in 101 run memory 102 of processor of the terminal device 100, according to the touch point With the touch-control pressure value, screenshot is carried out to the corresponding region of the touch point.

Optionally, the touch parameter further includes the corresponding touch-control duration of the touch point, the place of the terminal device 100 The screen capture module in 101 run memory 102 of device is managed, with according to the touch point and the touch-control pressure value, to the touch-control The corresponding region of point carries out the specific embodiment of screenshot are as follows:

Screen capture module in 101 run memory 102 of processor of the terminal device 100, with according to touch-control duration with The mapping relations of screenshot shape determine the corresponding target screenshot shape of the touch-control duration;Determine the first screenshot area and right First screenshot area carries out screenshot, wherein the central point of the target screenshot area is the touch point, and the target is cut The area of graph region is corresponding with the touch-control pressure.

Optionally, the touch control operation is slide, 101 run memory 102 of processor of the terminal device 100 In screen capture module, to carry out screenshot to the corresponding region of the touch point according to the touch point and the touch-control pressure value Specific embodiment are as follows:

When the touch-control pressure value falls into the first pre-set pressure range, the operation of processor 101 of the terminal device 100 is deposited Screen capture module in reservoir 102, to determine the corresponding sliding trace figure of the slide according to the touch point;Determine institute Corresponding second screenshot area of sliding trace figure is stated, and screenshot is carried out to second screenshot area.

Optionally, the touch point includes the first touch point and the second touch point, and the touch-control pressure includes described first The corresponding first touch-control pressure of touch point and the corresponding second touch-control pressure of second touch point, the terminal device 100 Screen capture module in 101 run memory 102 of processor, with according to the touch point and the touch-control pressure value, to the touching The corresponding region of control point carries out the specific embodiment of screenshot are as follows:

When the average touch-control pressure of the first touch-control pressure and the second touch-control pressure falls into the second preset pressure model It encloses, the screen capture module in 101 run memory 102 of processor of the terminal device 100, centered on first touch point Point, the distance between first touch point and second touch point are radius, determine third screenshot area, and to described Third screenshot area carries out screenshot.

Optionally, if carrying out the picture that screenshot obtains to the corresponding region of the touch point is plurality of pictures, the terminal Screen capture module in 101 run memory 102 of processor of equipment 100, with according to the touch point and the touch-control pressure value, After carrying out screenshot to the corresponding region of the touch point,

Detection module in 101 run memory 102 of processor of the terminal device 100, to detect user to described The pressing parameter of at least pressing operation of a picture in plurality of pictures, it is described pressing parameter include the pressing operation by Pressure pressure and pressing duration;

When the press pressure falls into third pre-set pressure range, and the pressing duration is greater than or equal to preset duration When, the splicing module in 101 run memory 102 of processor of the terminal device 100 spells the plurality of pictures It connects, to obtain a picture, wherein the mode for splicing the plurality of pictures is corresponding with the press pressure.

As can be seen that terminal device detects user for the touch-control of the display interface of terminal device in the embodiment of the present invention The touch parameter of operation, the touch parameter include the touch point and the corresponding touch-control pressure of the touch point of the touch control operation Value;The touch point detected according to the detection unit and the touch-control pressure value, region corresponding to the touch point Carry out screenshot.Compared with prior art intelligence carries out screenshot to entire interface, this programme user only need to be to the display of terminal device Interface carry out touch control operation, can to the corresponding region of touch point carry out screenshot, be conducive to promoted user's screenshot convenience and Diversity.

Consistent with the technical solution of foregoing description, as a specific embodiment, Fig. 2 includes terminal device 100 The flow diagram of the screenshot method of specific implementation procedure.Although screenshot method described herein is based on terminal shown in FIG. 1 Equipment 100 executes, but should be noted that the carrying out practically environment of screenshot method disclosed by the embodiments of the present invention is not limited only to Above-mentioned terminal device 100.

As shown in Fig. 2, screenshot method disclosed in embodiment of the present invention method specifically includes the following steps:

S201, terminal device detection user are directed to the touch parameter of the touch control operation of the display interface of terminal device, described Touch parameter includes the touch point and the corresponding touch-control pressure value of the touch point of the touch control operation.

S202, the terminal device are according to the touch point and the touch-control pressure value, area corresponding to the touch point Domain carries out screenshot.

For example, Fig. 2 .1 is referred to, the touch parameter further includes the corresponding touch-control duration of the touch point, terminal Equipment carries out the specific implementation side of screenshot to the corresponding region of the touch point according to the touch point and the touch-control pressure value Formula are as follows:

S202-a1, terminal device determine that the touch-control duration is corresponding according to the mapping relations of touch-control duration and screenshot shape Target screenshot shape.

S202-a2, the terminal device determine the first screenshot area, and carry out screenshot to first screenshot area, Wherein, the central point of the target screenshot area is the touch point, the area of the target screenshot area and the touch-control pressure Power is corresponding.

For example, Fig. 2 .2 is referred to, Fig. 2 .2 is a kind of operation chart for the screenshot method that Fig. 2 .1 is provided.User Touch control operation is carried out on the display interface of terminal device, it is assumed that terminal device detects that the corresponding touch point of the touch control operation is (3,4), the corresponding pressure of the touch point are 3N, when touch point corresponding touch-control a length of 3s, if terminal device is according to touch-control The long mapping relations with screenshot shape determine that the corresponding target screenshot shape of a length of 3s is rectangular when touch-control, if touch-control pressure with The mapping relations of the area of screenshot area are equal to 1N/cm2, from the foregoing, it will be observed that centered on the first screenshot area that terminal device determines Point is (3,4), and shape is rectangular, and area is 3cm2Display area, then terminal device to the screenshot area carry out screenshot.

Again for example, user carries out touch control operation on the display interface of terminal device, it is assumed that terminal device detects The corresponding touch point of the touch control operation includes the first touch point and the second touch point, and the first touch point is (3,4), the second touch point (2,4), the corresponding pressure of the first touch point are 3N, and the corresponding pressure of the second touch point is 4N, the corresponding touch-control of the first touch point Shi Changwei 3s, when the second touch point corresponding touch-control a length of 4s, if terminal device is according to the mapping of touch-control duration and screenshot shape Relationship, when touch-control the corresponding target screenshot shape of a length of 3s be it is rectangular, when touch-control the corresponding target screenshot shape of a length of 4s be circle Shape, if the mapping relations of the area of touch-control pressure and screenshot area are equal to 1N/cm2, from the foregoing, it will be observed that the screenshot that terminal device determines It is (3,4) that, which there is central point in region, and shape is rectangular, and area is 3cm2Display area and central point be (2,4), shape be circle Shape, and area is 4cm2Display area, then terminal device to above-mentioned two screenshot area carry out screenshot, with obtain two cut Figure picture.

It should be noted that above-mentioned screenshot shape can for example have rectangular, round, oval, pentalpha, heart or Other shapes, the present invention are not construed as limiting.

For example, refer to Fig. 2 .3, the touch control operation is slide, terminal device according to the touch point and The touch-control pressure value carries out the specific implementation of screenshot to the corresponding region of the touch point are as follows:

S202-b1, when the touch-control pressure value falls into the first pre-set pressure range, terminal device is true according to the touch point Determine the corresponding sliding trace figure of the slide.

S202-b2, the terminal device determine corresponding second screenshot area of the sliding trace figure, and to described Second screenshot area carries out screenshot.

Wherein, above-mentioned first pre-set pressure range for example can be equal to 1N-2N, 2N-3N, 1.5N-2N, 1N-4N or its He is worth.

For example, Fig. 2 .4 is referred to, Fig. 2 .4 is a kind of operation chart for the screenshot method that Fig. 2 .3 is provided.User Slide is carried out on the display interface of terminal device.Terminal device detects multiple touch points of the slide, it is assumed that Terminal device detects that the average touch-control pressure of the corresponding multiple touch points of the slide is 3N, above-mentioned first preset pressure model It encloses for 2N-3N, it is seen then that the average touch-control pressure of the slide falls into first pre-set pressure range, and terminal device can basis Multiple touch points determine the trace graphics of the slide, then using the corresponding display area of the trace graphics as screenshot area Domain, subsequently terminal device carries out screenshot to the screenshot area, as shown in Fig. 2 .4.

For example, Fig. 2 .5 is referred to, the touch point includes the first touch point and the second touch point, the touch-control pressure Power includes the corresponding first touch-control pressure of first touch point and the corresponding second touch-control pressure of second touch point, terminal Equipment carries out the specific implementation side of screenshot to the corresponding region of the touch point according to the touch point and the touch-control pressure value Formula are as follows:

S202-c1, when to fall into second pre- for the average touch-control pressure of the first touch-control pressure and the second touch-control pressure If pressure limit, terminal device point centered on first touch point, first touch point and second touch point it Between distance be radius, determine third screenshot area, and screenshot is carried out to the third screenshot area.

Wherein, above-mentioned second pre-set pressure range for example can be equal to 1N-2N, 2N-3N, 1.5N-2N, 1N-4N or its He is worth.

For example, Fig. 2 .6 is referred to, Fig. 2 .6 is a kind of operation chart for the screenshot method that Fig. 2 .5 is provided.User Carry out touch control operation twice on the display interface of terminal device, above-mentioned touch control operation twice can be while touch-control, can also To be difference touch-control, it is assumed that corresponding first touch point of the first touch control operation, corresponding second touch point of the second touch control operation, First touch point is (3,4), and the second touch point (2,4), the corresponding pressure of the first touch point is 3N, the corresponding pressure of the second touch point Power is 4N, and above-mentioned second pre-set pressure range is 1N-4N, it is seen then that the average touch-control of the first touch-control pressure and the second touch-control pressure Pressure falls into the second pre-set pressure range, and the central point for the third screenshot area that terminal device determines is (3,4), radius 1cm Border circular areas, as shown in Fig. 2 .6.

For example, Fig. 2 .7 is referred to, if carrying out the picture that screenshot obtains to the corresponding region of the touch point is multiple Picture, it is described according to the touch point and the touch-control pressure value, after carrying out screenshot to the corresponding region of the touch point, figure Screenshot method shown in 2 further include:

S203, terminal device detection user join the pressing of at least pressing operation of a picture in the plurality of pictures Number, the pressing parameter include the press pressure and pressing duration of the pressing operation.

S204, fall into third pre-set pressure range when the press pressure, and the pressing duration be greater than or equal to it is default When duration, the plurality of pictures is spliced, to obtain a picture, wherein the side for splicing the plurality of pictures Formula is corresponding with the press pressure.

Wherein, third pre-set pressure range can for example be equal to 1N-2N, 2N-3N, 1.5N-2N, 1N-4N or other values.

Wherein, preset duration can for example be equal to 1s, 2s, 3s, 4s, 6s, 7s or other values.

For example, when the screenshot picture that above-mentioned screenshot obtains has plurality of pictures, if terminal device detects user to institute When stating at least pressing operation of a picture in plurality of pictures, it is assumed that terminal device gets the press pressure of the pressing operation For 3.5N, when pressing a length of 3s, third pre-set pressure range is 1N-4N, preset duration 2s, it is seen then that above-mentioned pressing operation Press pressure falls into third pre-set pressure range, and terminal device splices plurality of pictures, to obtain a picture, wherein The mode that the plurality of pictures is spliced is corresponding with the press pressure, for example, splicing mode have template splicing (such as Plurality of pictures is put into a template and is spliced), spliced according to original picture, arbitrarily splicing or other modes, it is false If it is template splicing that press pressure, which is corresponding in 1N-4N, press pressure is that the corresponding connecting method of 3.5N is template splicing.

As can be seen that terminal device detects user for the touch-control of the display interface of terminal device in the embodiment of the present invention The touch parameter of operation, the touch parameter include the touch point and the corresponding touch-control pressure of the touch point of the touch control operation Value;The touch point detected according to the detection unit and the touch-control pressure value, region corresponding to the touch point Carry out screenshot.Compared with prior art intelligence carries out screenshot to entire interface, this programme user only need to be to the display of terminal device Interface carry out touch control operation, can to the corresponding region of touch point carry out screenshot, be conducive to promoted user's screenshot convenience and Diversity.

It is below the unit composed structure of terminal device disclosed by the embodiments of the present invention, terminal disclosed by the embodiments of the present invention The unit composed structure of equipment is for executing the method that embodiment of the present invention method is realized.

Based on the composition framework of terminal device 100 shown in FIG. 1, the embodiment of the invention discloses a kind of terminal device. Referring to Fig. 3, Fig. 3 is the unit composed structure schematic diagram of terminal device disclosed by the embodiments of the present invention.

As shown in figure 3, the terminal device 300 may include detection unit 301 and screenshot unit 302, in which:

Detection unit 301, for detecting user for the touch parameter of the touch control operation of the display interface of terminal device, institute State the touch point and the corresponding touch-control pressure value of the touch point that touch parameter includes the touch control operation.

Screenshot unit 302, the touch point and the touch-control pressure value for being detected according to the detection unit are right The corresponding region of the touch point carries out screenshot.

Optionally, the touch parameter further includes the corresponding touch-control duration of the touch point, and the screenshot unit 302 is specific For:

According to the mapping relations of touch-control duration and screenshot shape, the corresponding target screenshot shape of the touch-control duration is determined; It determines the first screenshot area, and screenshot is carried out to first screenshot area, wherein the central point of the target screenshot area For the touch point, the area of the target screenshot area is corresponding with the touch-control pressure.

Optionally, the touch control operation is slide, and the screenshot unit 302 is specifically used for:

When the touch-control pressure value falls into the first pre-set pressure range, the slide pair is determined according to the touch point The sliding trace figure answered;Determine corresponding second screenshot area of the sliding trace figure, and to second screenshot area Domain carries out screenshot.

Optionally, the touch point includes the first touch point and the second touch point, and the touch-control pressure includes described first The corresponding first touch-control pressure of touch point and the corresponding second touch-control pressure of second touch point, the screenshot unit 302 have Body is used for:

When the average touch-control pressure of the first touch-control pressure and the second touch-control pressure falls into the second preset pressure model It encloses, the point centered on first touch point, the distance between first touch point and second touch point are radius, really Determine third screenshot area, and screenshot is carried out to the third screenshot area.

Optionally, if carrying out the picture that screenshot obtains to the corresponding region of the touch point is plurality of pictures, the screenshot Unit 302 is described after carrying out screenshot to the corresponding region of the touch point according to the touch point and the touch-control pressure value Detection unit is also used to detect user to the pressing parameter of at least pressing operation of a picture in the plurality of pictures, institute State the press pressure and pressing duration that pressing parameter includes the pressing operation;

Terminal device 300 shown in Fig. 3 further include:

Concatenation unit 303, for falling into third pre-set pressure range when the press pressure, and the pressing duration is greater than Or be equal to preset duration when, the plurality of pictures is spliced, to obtain a picture, wherein by the plurality of pictures into The mode of row splicing is corresponding with the press pressure.

It should be noted that above-mentioned each functional unit block (detection unit 301, screenshot unit 302 and concatenation unit 303) For executing the correlation step of above-mentioned screenshot method embodiment.

In the present embodiment, terminal device 300 is presented in the form of functional unit block.Here " module " can be with Refer to application-specific integrated circuit (application-specific integrated circuit, ASIC), circuit, executes one The processor and memory of a or multiple softwares or firmware program, integrated logic circuit and/or other above-mentioned function can be provided Device.In a simple embodiment, those skilled in the art is contemplated that terminal device 300 can use Fig. 1 institute The form shown.Detection unit 301, screenshot unit 302, concatenation unit 303 can be by the processors and memory of Fig. 1 come real It is existing.

The embodiment of the present invention also provides a kind of computer storage medium, wherein the computer storage medium can be stored with journey Sequence, the program include some or all of any screenshot method recorded in above method embodiment step when executing.

It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.

In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.

In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.

The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.

It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.

If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer-readable access to memory.Based on this understanding, technical solution of the present invention substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of each embodiment the method for the present invention Step.And memory above-mentioned includes: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.

Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory May include: flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), disk or CD etc..

The embodiment of the present invention has been described in detail above, specific case used herein to the principle of the present invention and Embodiment is expounded, and the above description of the embodiment is only used to help understand the method for the present invention and its core ideas; At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the present invention There is change place, to sum up above-mentioned, the contents of this specification are not to be construed as limiting the invention.

Claims (6)

1. a kind of screenshot method characterized by comprising
User is detected for the touch parameter of the touch control operation of the display interface of terminal device, the touch parameter includes the touching Control the touch point and the corresponding touch-control pressure value of the touch point of operation;
According to the touch point and the touch-control pressure value, screenshot is carried out to the corresponding region of the touch point;
Wherein, described according to the touching if carrying out the picture that screenshot obtains to the corresponding region of the touch point is plurality of pictures Control point and the touch-control pressure value, after carrying out screenshot to the corresponding region of the touch point, the method also includes:
Detect pressing parameter of the user at least pressing operation of a picture in the plurality of pictures, the pressing parameter packet Include the press pressure and pressing duration of the pressing operation;When the press pressure falls into third pre-set pressure range, and it is described When pressing duration more than or equal to preset duration, the plurality of pictures is spliced, to obtain a picture, wherein by institute It is corresponding with the press pressure to state the mode that plurality of pictures is spliced.
2. the method according to claim 1, wherein the touch parameter further includes the corresponding touching of the touch point Duration is controlled, it is described according to the touch point and the touch-control pressure value, screenshot, packet are carried out to the corresponding region of the touch point It includes:
According to the mapping relations of touch-control duration and screenshot shape, the corresponding target screenshot shape of the touch-control duration is determined;
It determines the first screenshot area, and screenshot is carried out to first screenshot area, wherein in the target screenshot area Heart point is the touch point, and the area of the target screenshot area is corresponding with the touch-control pressure.
3. the method according to claim 1, wherein the touch control operation be slide, it is described according to Touch point and the touch-control pressure value carry out screenshot to the corresponding region of the touch point, comprising:
When the touch-control pressure value falls into the first pre-set pressure range, determine that the slide is corresponding according to the touch point Sliding trace figure;
It determines corresponding second screenshot area of the sliding trace figure, and screenshot is carried out to second screenshot area.
4. the method according to claim 1, wherein the touch point includes the first touch point and the second touch-control Point, the touch-control pressure include the corresponding first touch-control pressure of first touch point and second touch point corresponding second Touch-control pressure, it is described according to the touch point and the touch-control pressure value, screenshot, packet are carried out to the corresponding region of the touch point It includes:
When the average touch-control pressure of the first touch-control pressure and the second touch-control pressure falls into the second pre-set pressure range, with Point centered on first touch point, the distance between first touch point and second touch point are radius, determine the Three screenshot areas, and screenshot is carried out to the third screenshot area.
5. a kind of terminal device characterized by comprising
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, executes as Claims 1-4 is any Method described in.
6. a kind of computer-readable memory, which is characterized in that the computer-readable memory is stored with computer program, institute Computer program is stated for instructing relevant hardware, to complete the described in any item methods of Claims 1-4.
CN201610066363.4A 2016-01-29 2016-01-29 A kind of screenshot method and terminal device CN105487781B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610066363.4A CN105487781B (en) 2016-01-29 2016-01-29 A kind of screenshot method and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610066363.4A CN105487781B (en) 2016-01-29 2016-01-29 A kind of screenshot method and terminal device

Publications (2)

Publication Number Publication Date
CN105487781A CN105487781A (en) 2016-04-13
CN105487781B true CN105487781B (en) 2018-12-04

Family

ID=55674792

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610066363.4A CN105487781B (en) 2016-01-29 2016-01-29 A kind of screenshot method and terminal device

Country Status (1)

Country Link
CN (1) CN105487781B (en)

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7656429B2 (en) * 2004-02-04 2010-02-02 Hewlett-Packard Development Company, L.P. Digital camera and method for in creating still panoramas and composite photographs
US9134807B2 (en) * 2012-03-02 2015-09-15 Microsoft Technology Licensing, Llc Pressure sensitive key normalization
CN102662510B (en) * 2012-03-24 2016-08-03 上海量明科技发展有限公司 Screenshot achieved by the method of multi-touch
CN103870183A (en) * 2012-12-14 2014-06-18 联想(北京)有限公司 Screen capturing method and screen capturing device
CN103942001B (en) * 2014-05-12 2017-02-15 上海卓悠网络科技有限公司 Consisting of a mobile terminal screen capture method and a mobile terminal
CN104793884B (en) * 2015-04-07 2018-01-19 广东欧珀移动通信有限公司 A touch method and apparatus screenshot
CN104750495B (en) * 2015-04-08 2018-09-14 魅族科技(中国)有限公司 A kind of screenshot method and device
CN105138255A (en) * 2015-06-24 2015-12-09 努比亚技术有限公司 Terminal and image information acquisition method
CN105159505B (en) * 2015-09-29 2019-03-15 Oppo广东移动通信有限公司 A kind of interface operation method and terminal

Also Published As

Publication number Publication date
CN105487781A (en) 2016-04-13

Similar Documents

Publication Publication Date Title
US20110087983A1 (en) Mobile communication terminal having touch interface and touch interface method
WO2014088470A2 (en) Haptic message
KR20170072904A (en) Method, system for implementing operation of mobile terminal according to touching signal and mobile terminal
US20120290966A1 (en) Multiple screen mode in mobile terminal
US20130181935A1 (en) Device and accessory with capacitive touch point pass-through
EP2857944A1 (en) Mobile communication terminal, screen adjusting method and storage medium
KR20140128146A (en) Method for displaying and an electronic device thereof
US20120151420A1 (en) Devices, Systems, and Methods for Conveying Gesture Commands
US9086754B2 (en) Simulated hardware button operation method and touch screen terminal
EP2743819A2 (en) Terminal and method for providing user interface using a pen
KR20160011915A (en) Method for controlling display and electronic device using the same
EP3196749A1 (en) Method for displaying graphical user interface, and mobile terminal
US20140089842A1 (en) Method and device for interface display
CN105511686B (en) Call processing method, device and terminal electronic device
US10101876B2 (en) User interface for a mobile device with lateral display surfaces
CN106055962B (en) A kind of solution lock control method and mobile terminal
AU2014284843A1 (en) Method for switching digitizer mode
US20190228207A1 (en) Fingerprint verification method and electronic device for performing the same
EP2772831B1 (en) Apparatus and method for providing haptic feedback to input unit
WO2017032016A1 (en) Interface operating method and electronic terminal
EP2779061A1 (en) Method and apparatus for setting electronic payment applications in an electronic device
WO2016192350A1 (en) Pairing connection method and system for terminal devices
EP2851779A1 (en) Method, device, storage medium and terminal for displaying a virtual keyboard
KR20160001266A (en) Mobile terminal and method for controlling the same
EP3104456A1 (en) Antenna and electronic device including the same

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
GR01 Patent grant
GR01 Patent grant