CN107807769A - Sectional drawing control method and device, terminal installation and computer-readable recording medium - Google Patents

Sectional drawing control method and device, terminal installation and computer-readable recording medium Download PDF

Info

Publication number
CN107807769A
CN107807769A CN201710910363.2A CN201710910363A CN107807769A CN 107807769 A CN107807769 A CN 107807769A CN 201710910363 A CN201710910363 A CN 201710910363A CN 107807769 A CN107807769 A CN 107807769A
Authority
CN
China
Prior art keywords
sectional drawing
terminal
screenshot area
starting point
touch
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
CN201710910363.2A
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.)
Meizu Technology Co Ltd
Original Assignee
Meizu Technology 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201710910363.2A priority Critical patent/CN107807769A/en
Publication of CN107807769A publication Critical patent/CN107807769A/en
Pending legal-status Critical Current

Links

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
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

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 embodiment of the present invention provides a kind of sectional drawing control method, applied to terminal.Identify and record the touch sectional drawing track on current screen that the terminal receives;Such as current touch point with touching the distance between starting point is no more than pre-determined distance, then the pixel size of calculating screenshot area;When the pixel size of the screenshot area is more than presetted pixel value, the content of the screenshot area is obtained as sectional drawing content.The embodiment of the present invention also provides a kind of sectional drawing control device, terminal installation and computer-readable recording medium.It can optimize operation of the user when terminal carries out irregular sectional drawing using the embodiment of the present invention, improve the speed of irregular interception picture, lift Consumer's Experience.

Description

Sectional drawing control method and device, terminal installation and computer-readable recording medium
Technical field
The present invention relates to electronic technology field, more particularly to a kind of sectional drawing control method and device, terminal installation and calculating Machine readable storage medium storing program for executing.
Background technology
This part is it is intended that the embodiment for the embodiment of the present invention stated in claims and embodiment carries For background or context.Description herein recognizes it is prior art not because not being included in this part.
With the development of electronic technology and mobile communication technology, the calculating of intelligent terminal and disposal ability are stronger and stronger, Increasing modern is communicated by intelligent terminal, entertained, worked.Existing intelligent terminal can support irregular cut Figure, but the mode of this irregular sectional drawing has certain limitation, for example, user can only be by disposably ruling and being formed Closed curve, can sectional drawing success.If this line imprudence of user does not form closed curve, sectional drawing softwares can return again To the not yet interface of sectional drawing, and when the area very little of screenshot area, intelligent terminal cannot recognize that current screenshot area for the first time Ineffectivity, require higher using operation of the existing irregular sectional drawing technology to user, it is not to be used so as to user very much It is convenient, reduce Consumer's Experience.
The content of the invention
In consideration of it, the present invention provides a kind of sectional drawing control method, sectional drawing control device, terminal installation and computer-readable deposited Storage media, operation of the user when terminal carries out irregular sectional drawing can be optimized, the speed that user irregularly intercepts picture is improved, carry Consumer's Experience is risen.
On the one hand the embodiment of the present invention provides a kind of sectional drawing control method, applied to terminal, the sectional drawing control method bag Include:
Identify and record the touch sectional drawing track on current screen that the terminal receives;
Such as current touch point with touching the distance between starting point is no more than pre-determined distance, then the pixel of calculating screenshot area is big It is small;
When the pixel size of the screenshot area is more than presetted pixel value, the content conduct for obtaining the screenshot area is cut Figure content.
Further, in above-mentioned sectional drawing control method provided in an embodiment of the present invention, in the identification and record described Before the sectional drawing track on current screen that terminal receives, methods described also includes:
When detecting predetermined registration operation, the terminal is controlled to enter self-defined sectional drawing pattern, wherein, the predetermined registration operation bag Include at least one of following:
The plus key of volume key and subtract key by simultaneously press reach preset duration;
Any volume key and home key reaches preset duration by pressing simultaneously.
Further, in above-mentioned sectional drawing control method provided in an embodiment of the present invention, in the identification and record described After the touch sectional drawing track on current screen that terminal receives, the sectional drawing control method also includes:
Obtain the abscissa and ordinate and the abscissa and ordinate for touching starting point of the current touch point;
The difference between the current touch point and the abscissa for touching starting point is calculated, and calculates the current touch Difference between point and the ordinate for touching starting point;
The summed square of the difference square between the ordinate of difference between the abscissa is calculated The current touch point and square of the distance of the touch starting point, by the current touch point and the distance of the touch starting point Square carry out a square root obtain the current touch point with it is described touch starting point distance.
Further, in above-mentioned sectional drawing control method provided in an embodiment of the present invention, if the current touch point with The distance between described touch starting point is no more than the pre-determined distance and more than 0, then by the current touch point and the touch The coordinate of starting point carries out line as screenshot area this described.
Further, in above-mentioned sectional drawing control method provided in an embodiment of the present invention, the picture for calculating screenshot area Plain size includes:
Obtain the maxima and minima of abscissa and the screenshot area in each coordinate points in the screenshot area On each coordinate points in ordinate maxima and minima;
The difference of the maxima and minima of the abscissa is calculated, and calculate the maxima and minima of the ordinate Difference;
By the difference of the maxima and minima of the abscissa and the difference of the maxima and minima of the ordinate It is multiplied and the pixel size of the screenshot area is calculated.
Further, in above-mentioned sectional drawing control method provided in an embodiment of the present invention, the sectional drawing area is obtained described After the content in domain is as sectional drawing content, methods described also includes:
Preview shows the sectional drawing content in the terminal;
Share the sectional drawing content in the terminal;
The sectional drawing content is preserved in the terminal;
Cancel the sectional drawing content in the terminal.
Further, in above-mentioned sectional drawing control method provided in an embodiment of the present invention, methods described also includes:
If the pixel size of the screenshot area is less than the presetted pixel value, the current touch point is arranged to new Touch starting point.
On the other hand the present embodiment also provides a kind of sectional drawing control device, applied to terminal, the sectional drawing control device bag Include:
Identification record module, the touch sectional drawing track on current screen received for identifying and recording the terminal;
Computing module, for when current touch point and the distance touched between starting point are no more than pre-determined distance, calculating and cutting The pixel size of graph region;
Acquisition module, for when the pixel size of the screenshot area is more than presetted pixel value, obtaining the sectional drawing area The content in domain is as sectional drawing content.
Another further aspect of the embodiment of the present invention also provides a kind of terminal installation, and the terminal installation includes processor, the place Reason device is used for the step that the sectional drawing control method described in above-mentioned any one is realized when performing the computer program stored in memory Suddenly.
The embodiment of the present invention also provides a kind of computer-readable recording medium, is stored thereon with computer instruction, the meter The step of instruction of calculation machine realizes the sectional drawing control method of above-mentioned any one methods described when being executed by processor.
Sectional drawing control method and device, terminal installation and computer-readable recording medium provided in an embodiment of the present invention, know The touch sectional drawing track on current screen that is other and recording the terminal reception;Current touch point and touch starting point between away from From the pixel size no more than pre-determined distance, then calculating screenshot area;When the pixel size of the screenshot area is more than default picture During element value, the content of the screenshot area is obtained as sectional drawing content.Using the embodiment of the present invention, for the current touch point Whether the distance between described touch starting point exceedes the judged result of pre-determined distance, and response will be described current using the terminal Touch point and the touch starting point carry out line or response using the current touch point as new touch starting point, thus optimize Operation of the user when carrying out irregular sectional drawing using the terminal, speed of the user in irregularly interception picture is improved, Improve Consumer's Experience.
Further, sectional drawing control method and device provided in an embodiment of the present invention, terminal installation and computer-readable deposit Storage media, if the current touch point is no more than pre-determined distance with described the distance between the starting point that touches, calculate screenshot area Pixel size, when the pixel size of the screenshot area is more than presetted pixel value, obtain the screenshot area content make For sectional drawing content.Using the embodiment of the present invention, whether it is more than sentencing for presetted pixel value for the pixel size of the screenshot area Disconnected result, the content of the acquisition screenshot area of response are optimized user and carried out using the terminal as sectional drawing content Operation during irregular sectional drawing, improves Consumer's Experience.
Brief description of the drawings
Fig. 1 is the sectional drawing control method schematic flow sheet of first embodiment of the invention.
Fig. 2 is the sectional drawing control method schematic flow sheet of second embodiment of the invention.
Fig. 3 is the structural representation of the terminal of an embodiment of the present invention.
Fig. 4 is the exemplary functional block diagram of the terminal shown in Fig. 3.
Main element symbol description
Embodiment
In order to be more clearly understood that the above-mentioned purpose of the embodiment of the present invention, feature and advantage, below in conjunction with the accompanying drawings and The present invention will be described in detail for embodiment.It should be noted that in the case where not conflicting, the embodiment party of the application Feature in formula can be mutually combined.
Many details are elaborated in the following description in order to fully understand the embodiment of the present invention, described reality The mode of applying is a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, ability The every other embodiment that domain those of ordinary skill is obtained under the premise of creative work is not made, belongs to the present invention The scope of embodiment protection.
Unless otherwise defined, technology of all of technologies and scientific terms used here by the article with belonging to the embodiment of the present invention The implication that the technical staff in field is generally understood that is identical.Term used in the description of the invention herein is intended merely to The purpose of specific embodiment is described, it is not intended that in the limitation embodiment of the present invention.
Fig. 1 is the sectional drawing control method schematic flow sheet of first embodiment of the invention, the sectional drawing control method application In terminal, the terminal can be that the intelligence such as smart mobile phone, notebook computer, desk-top/tablet personal computer, intelligent watch is set It is standby.As shown in figure 1, the sectional drawing control method may include steps of:
101:Identify and record the touch sectional drawing track on current screen that the terminal receives.
In present embodiment, user can control the terminal to enter self-defined sectional drawing pattern by triggering predetermined registration operation, It is to be appreciated that the predetermined registration operation can be that system is pre-set or terminal user pre-sets.Wherein, The system pre-set including the terminal in Default Value with regard to having carried out the setting of predetermined registration operation;The terminal user is pre- First setting includes user sets default interface according to self-demand in the terminal.The predetermined registration operation can be but be not limited to The plus key of volume key and subtract key by and meanwhile pressing reach preset duration operation, any volume key and home keys by and meanwhile press and reach Preset duration operates.
The sectional drawing track that touches on current screen that the terminal receives is that user is right on the display screen of the terminal The sectional drawing track of original picture, it can sketch the contours of sectional drawing track by user's finger, can be sketched the contours of by touch screen pen device Sectional drawing track, default sectional drawing track can also be obtained from database and is adjusted.For example, when user needs to obtain institute The character contour on terminal display screen is stated, can be sketched the contours of the profile of people by finger;Can be by screen touch pen by people's Profile is sketched the contours of, and the profile more similar to the target image currently to be intercepted can also be selected from database, passes through letter Dullness is shaped to sectional drawing track.
It should be understood that the sectional drawing track regions can be regular shape, or irregular shape.The sectional drawing The size of track regions is adjustable, for example drags the border of the sectional drawing track regions, or double-clicks the behaviour such as described sectional drawing track regions Make, be enlarged the area of the sectional drawing track regions or reduce the area of the sectional drawing track regions.
It should be understood that the lines of the sectional drawing track can be white, or other colors.
In present embodiment, the touch sectional drawing track can be one, or more than one.When described touch is cut When figure track is more than one, each sectional drawing track regions can be sequentially completed playground, or non-sequential completion operation.Example Such as, the sectional drawing track regions are first generated, then complete another sectional drawing track regions.Or complete simultaneously two or more Sectional drawing track regions.
102:Such as current touch point with touching the distance between starting point is no more than pre-determined distance, then the picture of calculating screenshot area Plain size.
In present embodiment, the abscissa and ordinate and the abscissa for touching starting point of the current touch point are obtained With ordinate;For example, the abscissa and ordinate of current touch point are (x1, y1), the abscissa and ordinate for touching starting point are (x2, y2), the difference x1-x2 between the current touch point and the abscissa for touching starting point is calculated, and calculate described work as Difference y1-y2 between preceding touch point and the ordinate for touching starting point;By the difference between the abscissa square with The flat of the distance of the current touch point and the touch starting point is calculated in the summed square of difference between the ordinate Side, i.e., (x1-x2)2+(y1-y2)2, will be described current tactile for the current touch point and square of the distance of the touch starting point Touch square progress square root a little with the distance of the touch starting point and obtain the current touch point and the touch starting point Distance, i.e.,For the current touch point and the distance of the touch starting point.
103:When the pixel size of the screenshot area is more than presetted pixel value, the content for obtaining the screenshot area is made For sectional drawing content.
In present embodiment, obtain in each coordinate points in the screenshot area maxima and minima of abscissa and The maxima and minima of ordinate in each coordinate points in the screenshot area;Calculate the maximum and minimum of the abscissa The difference of value, and calculate the difference of the maxima and minima of the ordinate;By the maxima and minima of the abscissa Difference is multiplied with the difference of the maxima and minima of the ordinate is calculated the pixel size of the screenshot area.Obtaining After the content of the screenshot area is taken as sectional drawing content, preview the sectional drawing content can be shown in the terminal, can With share in the terminal sectional drawing content, the sectional drawing content can be preserved in the terminal, can be at the end Cancel the sectional drawing content on end., will be described current if being less than the presetted pixel value under the pixel band of the screenshot area Touch point is arranged to new touch starting point.
The sectional drawing control method that present embodiment provides, identify and record the touching on current screen that the terminal receives Touch sectional drawing track;Such as current touch point with touching the distance between starting point is no more than pre-determined distance, then the picture of calculating screenshot area Plain size;When the pixel size of the screenshot area is more than presetted pixel value, the content conduct for obtaining the screenshot area is cut Figure content.Using the embodiment of the present invention, current touch point can be responded with touching the distance between starting point, the calculating sectional drawing area of response The pixel size in domain;The pixel size of the screenshot area is responded, the content of the acquisition screenshot area of response is as sectional drawing Content.Operation of the user in self-defined sectional drawing can thus be optimized, the speed of irregular interception picture is improved, lift user's body Test.
Fig. 2 is the sectional drawing control method schematic flow sheet of second embodiment of the invention.Described second embodiment with The main distinction of first embodiment is, further comprises and is judged between current touch point and touch starting point in second embodiment Distance whether be no more than pre-determined distance and judge whether the pixel size of the screenshot area is more than presetted pixel value etc. and walks Suddenly.It should be noted that in the range of the spirit or essential attributes of the embodiment of the present invention, suitable for first embodiment Each concrete scheme can also be accordingly suitable for second embodiment, for the sake of saving space and avoiding repetition, herein just not Repeat again.
201:Identify and record the touch sectional drawing track on current screen that the terminal receives.
202:Judge current touch point and touch whether the distance between starting point is no more than pre-determined distance, if it is, entering Enter step 203, otherwise, terminate flow.
In present embodiment, if current touch point exceedes pre-determined distance, the terminal with touching the distance between starting point Message notifying window can be shown, the content included on message notifying window can be, but not limited to:1. continue to complete shot operation; 2. restart shot operation;3. exit shot operation.It should be understood that the content of the message notifying window can be system What pre-set or terminal user pre-set.The display of the message notifying window can also set pre- timing Between, in the given time, entered according to the selection of user and operated;If exceeding the scheduled time, the terminal is not detected by the use The operation at family, then it can give tacit consent to and continue to complete shot operation.For example, the scheduled time is 5 seconds, when the touch point and institute State when touching the distance between starting point and exceeding pre-determined distance, display message notifying window, if in 5 seconds, the terminal does not detect To the associative operation of the user, then the current touch point is arranged to new touch starting point.
203:Judge whether the pixel size of the screenshot area is more than presetted pixel value, if it is, into step 204, otherwise, terminate flow.
204:The content of the screenshot area is obtained as sectional drawing content.
The sectional drawing control method that present embodiment provides, in addition to the technique effect with first embodiment, also judge to work as Whether preceding touch point is no more than pre-determined distance with touching the distance between starting point and judges that the pixel size of the screenshot area is It is no to be more than presetted pixel value, for the difference of judged result, produce different situations.Identify and record that the terminal receives Touch sectional drawing track on current screen, judge current touch point with touch the distance between starting point whether be no more than it is default away from From if current touch point is no more than pre-determined distance with touching the distance between starting point, continuing to judge the screenshot area Whether pixel size is more than presetted pixel value, if the pixel size of the screenshot area is more than presetted pixel value, obtains institute The content of screenshot area is stated as sectional drawing content.Using the embodiment of the present invention, if current touch point and touch between starting point away from During from no more than pre-determined distance, the terminal calculates the pixel of screenshot area automatically by current touch point with touching starting point line Size, if the pixel size of the screenshot area is more than presetted pixel value, obtain the screenshot area;If the screenshot area Pixel size be less than the presetted pixel value, the current touch point is arranged to new touch starting point.It can thus optimize Operation of the user in self-defined sectional drawing, lift Consumer's Experience.
Above is the detailed description that the method provided the embodiment of the present invention is carried out.According to different demands, shown stream The execution sequence of square can change in journey figure, and some squares can omit.The terminal provided below the embodiment of the present invention It is described.
The embodiment of the present invention also provides a kind of terminal installation, including memory, processor and storage are on a memory and can The computer program run on a processor, realize described in any of the above-described embodiment during the computing device described program Sectional drawing control method the step of.
Fig. 3 is the structural representation of the terminal of an embodiment of the present invention, as shown in figure 3, terminal 1 includes memory 10, Sectional drawing control device 100 is stored with memory 10.Described terminal 1 can be mobile phone, tablet personal computer, personal digital assistant etc. Terminal with presentation control function.The sectional drawing control device 100 can be used for identifying and record that the terminal receives Touch sectional drawing track on current screen;Such as current touch point with touching the distance between starting point is no more than pre-determined distance, then count Calculate the pixel size of screenshot area;When the pixel size of the screenshot area is more than presetted pixel value, the sectional drawing area is obtained The content in domain is as sectional drawing content.Using the embodiment of the present invention, current touch point can be responded and touch the distance between starting point, rung The pixel size for the calculating screenshot area answered;Respond the pixel size of the screenshot area, the acquisition screenshot area of response Content as sectional drawing content.Operation of the user in self-defined sectional drawing can thus be optimized, lift Consumer's Experience.
Described sectional drawing control device 100 can be also used for identifying and record that the terminal receives on current screen Sectional drawing track is touched, current touch point is judged and touches whether the distance between starting point is no more than pre-determined distance, if current touch Touch and be a little no more than pre-determined distance with touching the distance between starting point, then continue to judge whether the pixel size of the screenshot area is big In presetted pixel value, if the pixel size of the screenshot area is more than presetted pixel value, the interior of the screenshot area is obtained Appearance is used as sectional drawing content.Using the embodiment of the present invention, if current touch point with touch the distance between starting point be no more than it is default away from From when, the terminal calculates the pixel size of screenshot area, if the sectional drawing automatically by current touch point with touching starting point line When the pixel size in region is more than presetted pixel value, the screenshot area is obtained;If the pixel size of the screenshot area is less than The presetted pixel value, the current touch point is arranged to new touch starting point.User thus can be optimized at self-defined section Operation during figure, lift Consumer's Experience.
In present embodiment, terminal 1 is a mobile phone.Terminal 1 can also include display screen 20 and processor 30.Memory 10th, display screen 20 can electrically connect with processor 30 respectively.
Described memory 10 can be different type storage device, for storing Various types of data.For example, it may be terminal 1 memory, internal memory, can also be the storage card that can be external in the terminal 1, as flash memory, SM cards (Smart Media Card, Smart media card), SD card (Secure Digital Card, safe digital card) etc..In addition, memory can include at a high speed with Machine accesses memory, can also include nonvolatile memory, such as hard disk, internal memory, plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card), at least One disk memory, flush memory device or other volatile solid-state parts.Storage device is used to store Various types of data, For example, the types of applications program (Applications) installed in the terminal 1, set using above-mentioned sectional drawing control method, The information such as the data of acquisition.
Display screen 20 is installed on terminal 1, for display information.
Processor 30 is used for all kinds of softwares for performing installation in the sectional drawing control method and the terminal 1, such as grasps Make system and display control software etc..Processor 30 including but not limited to processor (Central Processing Unit, CPU), micro-control unit (Micro Controller Unit, MCU) etc. is used for interpretive machine instruction and handles computer The device of data in software.
Described sectional drawing control device 100 can include one or more modules, and one or more of modules are deposited Storage is in the memory 10 of terminal 1 and is configured to be held by one or more processors (present embodiment is a processor 30) OK, to complete the embodiment of the present invention.For example, as shown in fig.4, the terminal 1 can include identification record module 11, calculate mould Block 12, acquisition module 13.Module alleged by the embodiment of the present invention can complete the program segment of a specific function, more suitable than program Together in the implementation procedure of description software within a processor.
It is understood that each embodiment in corresponding above-mentioned sectional drawing control method, terminal 1 can include institute in Fig. 4 Part or all in each functional module shown, the function of each module will introduced in detail below.More than it should be noted that In each embodiment of sectional drawing control method identical noun related terms and its it is specific illustrate be readily applicable to Under to the function introduction of each module.For the sake of saving space and avoiding repetition, just repeat no more herein.
Identification record module 11 can be used for identifying and recording the touch sectional drawing rail on current screen that the terminal receives Mark.
Computing module 12 can be used for, when current touch point and the distance touched between starting point are no more than pre-determined distance, calculating The pixel size of screenshot area.
Acquisition module 13 is used for when the pixel size of the screenshot area is more than presetted pixel value, obtains the sectional drawing area The content in domain is as sectional drawing content.
The embodiment of the present invention also provides a kind of computer-readable recording medium, is stored thereon with computer program, the meter Calculation machine program realizes the step of sectional drawing control method in any of the above-described embodiment when being executed by processor.
If the integrated module/unit of the sectional drawing control device/terminal/computer equipment is with the shape of SFU software functional unit Formula is realized and is used as independent production marketing or in use, can be stored in a computer read/write memory medium.It is based on Such understanding, the present invention realize all or part of flow in above-mentioned embodiment method, can also pass through computer program To instruct the hardware of correlation to complete, described computer program can be stored in a computer-readable recording medium, the calculating Machine program when being executed by processor, can be achieved above-mentioned each embodiment of the method the step of.Wherein, the computer program includes Computer program code, the computer program code can be source code form, object identification code form, executable file or certain A little intermediate forms etc..The computer-readable recording medium can include:Any of the computer program code can be carried Entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disc, CD, computer storage, read-only storage (ROM, Read- Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and Software distribution medium etc..
Alleged processor can be CPU (Central Processing Unit, CPU), can also be it His general processor, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other PLDs, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng the processor is the control centre of the sectional drawing control device/terminal, utilizes various interfaces and the whole sectional drawing of connection The various pieces of control device/terminal.
The memory is used to store the computer program and/or module, and the processor is deposited by running or performing Computer program and/or module in the memory are stored up, and calls the data being stored in memory, realizes described cut The various functions of figure control device/terminal.The memory can mainly include storing program area and storage data field, wherein, deposit Storing up program area can storage program area, application program (such as sound-playing function, image player work(needed at least one function Can etc.) etc.;Storage data field can store uses created data (such as voice data, phone directory etc.) etc. according to mobile phone. In addition, memory can include high-speed random access memory, nonvolatile memory can also be included, for example, hard disk, internal memory, Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, dodge Deposit card (Flash Card), at least one disk memory, flush memory device or other volatile solid-state parts.
In several embodiments provided by the present invention, it should be understood that disclosed terminal and method, can be with Realize by another way.For example, system embodiment described above is only schematical, for example, the module Division, only a kind of division of logic function, can there is other dividing mode when actually realizing.
It is obvious to a person skilled in the art that the embodiment of the present invention is not limited to the details of above-mentioned one exemplary embodiment, And in the case of the spirit or essential attributes without departing substantially from the embodiment of the present invention, this hair can be realized in other specific forms Bright embodiment.Therefore, no matter from the point of view of which point, embodiment all should be regarded as exemplary, and is nonrestrictive, sheet The scope of inventive embodiments is limited by appended claims rather than described above, it is intended that will fall being equal in claim All changes in the implication and scope of important document are included in the embodiment of the present invention.Should not be by any accompanying drawing mark in claim Note is considered as the involved claim of limitation.Multiple units, module or the device stated in system, device or terminal claim It can also be realized by same unit, module or device by software or hardware.
Embodiment of above is only unrestricted to illustrate the technical scheme of the embodiment of the present invention, although with reference to more than preferably The embodiment of the present invention is described in detail embodiment, it will be understood by those within the art that, can be to this hair The technical scheme of bright embodiment is modified or equivalent substitution should not all depart from the embodiment of the present invention technical scheme spirit and Scope.

Claims (10)

  1. A kind of 1. sectional drawing control method, applied to terminal, it is characterised in that methods described includes:
    Identify and record the touch sectional drawing track on current screen that the terminal receives;
    Such as current touch point with touching the distance between starting point is no more than pre-determined distance, then the pixel size of calculating screenshot area;
    When the pixel size of the screenshot area is more than presetted pixel value, the content of the screenshot area is obtained as in sectional drawing Hold.
  2. 2. sectional drawing control method according to claim 1, it is characterised in that in the identification and record the terminal reception The sectional drawing track on current screen before, methods described also includes:
    When detecting predetermined registration operation, control the terminal to enter self-defined sectional drawing pattern, wherein, the predetermined registration operation include with It is at least one of lower:
    The plus key of volume key and subtract key by simultaneously press reach preset duration;
    Any volume key and home key reaches preset duration by pressing simultaneously.
  3. 3. sectional drawing control method according to claim 1 or 2, it is characterised in that in the identification and record the terminal After the touch sectional drawing track on current screen received, the sectional drawing control method also includes:
    Obtain the abscissa and ordinate and the abscissa and ordinate for touching starting point of the current touch point;
    Calculate the current touch point and it is described touch starting point abscissa between difference, and calculate the current touch point with Difference between the ordinate for touching starting point;
    The summed square of the difference square between the ordinate of difference between the abscissa is calculated described Current touch point and square of the distance of the touch starting point, by the flat of the distance of the current touch point and the touch starting point Fang Jinhang square roots obtain the current touch point and the distance of the touch starting point.
  4. 4. sectional drawing control method according to claim 3, it is characterised in that if the current touch point and the touch The distance between starting point is no more than the pre-determined distance and more than 0, then by the current touch point and the seat of the touch starting point Mark carries out line as screenshot area this described.
  5. 5. sectional drawing control method according to claim 1 or 2, it is characterised in that the pixel of the calculating screenshot area is big It is small including:
    Obtain in each coordinate points in the screenshot area in the maxima and minima of abscissa and the screenshot area The maxima and minima of ordinate in each coordinate points;
    The difference of the maxima and minima of the abscissa is calculated, and calculates the difference of the maxima and minima of the ordinate Value;
    The difference of the maxima and minima of the abscissa is multiplied with the difference of the maxima and minima of the ordinate The pixel size of the screenshot area is calculated.
  6. 6. sectional drawing control method according to claim 1 or 2, it is characterised in that in the acquisition screenshot area After content is as sectional drawing content, methods described also includes:
    Preview shows the sectional drawing content in the terminal;
    Share the sectional drawing content in the terminal;
    The sectional drawing content is preserved in the terminal;
    Cancel the sectional drawing content in the terminal.
  7. 7. sectional drawing control method according to claim 1 or 2, it is characterised in that methods described also includes:
    If the pixel size of the screenshot area is less than the presetted pixel value, the current touch point is arranged to new touch Starting point.
  8. 8. a kind of sectional drawing control device, applied to terminal, it is characterised in that the sectional drawing control device includes:
    Identification record module, the touch sectional drawing track on current screen received for identifying and recording the terminal;
    Computing module, for when current touch point and the distance touched between starting point are no more than pre-determined distance, calculating sectional drawing area The pixel size in domain;
    Acquisition module, for when the pixel size of the screenshot area is more than presetted pixel value, obtaining the screenshot area Content is as sectional drawing content.
  9. 9. a kind of terminal installation, it is characterised in that the terminal installation includes processor, and the processor is used to perform memory The step of sectional drawing control method as described in any one in claim 1-7 is realized during the computer program of middle storage.
  10. 10. a kind of computer-readable recording medium, is stored thereon with computer instruction, it is characterised in that:The computer instruction The step of sectional drawing control method of any one methods described in such as claim 1-7 is realized when being executed by processor.
CN201710910363.2A 2017-09-29 2017-09-29 Sectional drawing control method and device, terminal installation and computer-readable recording medium Pending CN107807769A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710910363.2A CN107807769A (en) 2017-09-29 2017-09-29 Sectional drawing control method and device, terminal installation and computer-readable recording medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710910363.2A CN107807769A (en) 2017-09-29 2017-09-29 Sectional drawing control method and device, terminal installation and computer-readable recording medium

Publications (1)

Publication Number Publication Date
CN107807769A true CN107807769A (en) 2018-03-16

Family

ID=61592606

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710910363.2A Pending CN107807769A (en) 2017-09-29 2017-09-29 Sectional drawing control method and device, terminal installation and computer-readable recording medium

Country Status (1)

Country Link
CN (1) CN107807769A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710349A (en) * 2018-11-28 2019-05-03 维沃移动通信(深圳)有限公司 A kind of screenshotss method and mobile terminal
CN110440825A (en) * 2019-07-31 2019-11-12 维沃移动通信有限公司 It is a kind of apart from display methods and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092520A (en) * 2013-01-25 2013-05-08 广东欧珀移动通信有限公司 Method and device of screen image clipping and touch screen mobile device
WO2014183537A1 (en) * 2013-11-04 2014-11-20 中兴通讯股份有限公司 Terminal screenshot method and device
CN105677018A (en) * 2015-12-28 2016-06-15 宇龙计算机通信科技(深圳)有限公司 Screen capture method and apparatus, and electronic device
CN105824537A (en) * 2016-03-30 2016-08-03 努比亚技术有限公司 Screenshot capturing method and screenshot capturing device
CN106875408A (en) * 2017-02-27 2017-06-20 网易(杭州)网络有限公司 Method, device and terminal device for sectional drawing

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103092520A (en) * 2013-01-25 2013-05-08 广东欧珀移动通信有限公司 Method and device of screen image clipping and touch screen mobile device
WO2014183537A1 (en) * 2013-11-04 2014-11-20 中兴通讯股份有限公司 Terminal screenshot method and device
CN105677018A (en) * 2015-12-28 2016-06-15 宇龙计算机通信科技(深圳)有限公司 Screen capture method and apparatus, and electronic device
CN105824537A (en) * 2016-03-30 2016-08-03 努比亚技术有限公司 Screenshot capturing method and screenshot capturing device
CN106875408A (en) * 2017-02-27 2017-06-20 网易(杭州)网络有限公司 Method, device and terminal device for sectional drawing

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109710349A (en) * 2018-11-28 2019-05-03 维沃移动通信(深圳)有限公司 A kind of screenshotss method and mobile terminal
CN109710349B (en) * 2018-11-28 2022-09-20 维沃移动通信(深圳)有限公司 Screen capturing method and mobile terminal
CN110440825A (en) * 2019-07-31 2019-11-12 维沃移动通信有限公司 It is a kind of apart from display methods and terminal

Similar Documents

Publication Publication Date Title
CN102714884B (en) The method that contact person is processed and mobile terminal
US9164779B2 (en) Apparatus and method for providing for remote user interaction
US9519418B2 (en) Method and apparatus for providing a multi-stage device transition mechanism initiated based on a touch gesture
US9588620B2 (en) Method and device for displaying character on touchscreen
CN104636649A (en) Electronic equipment and guiding method thereof
CN105653071B (en) A kind of information processing method and electronic equipment
KR20200096696A (en) Implementation of biometric authentication
CN103699260B (en) A kind of method starting termination function module and terminal unit
CN103412723B (en) Mobile terminal unlocking method and mobile terminal unlocking system
CN107977659A (en) A kind of character recognition method, device and electronic equipment
CN106681554A (en) Mobile terminal touch screen control method and device and mobile terminal
CN107357483A (en) Data sharing method and device, computer equipment and computer-readable recording medium
WO2014058597A1 (en) Non-textual user input
CN104020989B (en) Control method and system based on remote application
CN107272881A (en) A kind of data inputting method and device, entering method keyboard and electronic equipment
CN107422976A (en) Control method, device, storage medium and mobile terminal based on blank screen gesture
CN108920070A (en) Split screen method, apparatus, storage medium and mobile terminal based on special-shaped display screen
CN103870170A (en) Cursor control method, terminals and system
CN107463322A (en) Display control method and device, terminal installation and computer-readable recording medium
CN106815534A (en) A kind of method for protecting privacy of user, device and mobile terminal
CN107833043A (en) Pay control method and device, terminal installation and computer-readable recording medium
CN105141735A (en) Method of processing contact persons and mobile terminal
Yin et al. CamK: Camera-based keystroke detection and localization for small mobile devices
CN107562356B (en) Fingerprint identification positioning method and device, storage medium and electronic equipment
CN107807769A (en) Sectional drawing control method and device, terminal installation and computer-readable recording medium

Legal Events

Date Code Title Description
PB01 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

Application publication date: 20180316

RJ01 Rejection of invention patent application after publication