CN105824537B - Screenshot method and device - Google Patents

Screenshot method and device Download PDF

Info

Publication number
CN105824537B
CN105824537B CN201610192870.2A CN201610192870A CN105824537B CN 105824537 B CN105824537 B CN 105824537B CN 201610192870 A CN201610192870 A CN 201610192870A CN 105824537 B CN105824537 B CN 105824537B
Authority
CN
China
Prior art keywords
shot operation
screenshot
sampled point
curve
operation track
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.)
Active
Application number
CN201610192870.2A
Other languages
Chinese (zh)
Other versions
CN105824537A (en
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610192870.2A priority Critical patent/CN105824537B/en
Publication of CN105824537A publication Critical patent/CN105824537A/en
Priority to PCT/CN2017/074459 priority patent/WO2017166959A1/en
Application granted granted Critical
Publication of CN105824537B publication Critical patent/CN105824537B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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
    • 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
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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

Abstract

The invention discloses a kind of screenshot device, screenshot device includes: acquisition module, the shot operation track of the formation for when detecting shot operation, obtaining shot operation;Sampling module, in the not formed closed curve in shot operation track, obtaining the first sampled point for presetting the first quantity between the starting point and terminal of shot operation track;The junction curve of not closed part between beginning and end is calculated for carrying out curve fitting based on the first sampled point in computing module;Link block, for using not closed part between the junction curve connection source and terminal obtained, shot operation track to be connected into closed curve;Processing module, the picture for the shot operation track enclosing after being closed is as screenshot.The present invention also proposes a kind of screenshot method.It is smoothed curve the invention enables the junction curve in shot operation track between starting point and terminal, improves the precision of screenshot.

Description

Screenshot method and device
Technical field
The present invention relates to field of intelligent control technology more particularly to a kind of screenshot methods and device.
Background technique
Screenshot function is one of basic function of mobile phone, user's fast Acquisition screen content can be helped, quickly to protect It deposits or shares, existing free screenshot technology permission user intercepts the screen content of arbitrary shape on the screen, in order to guarantee to use Family using good user experience in the operating process of free screenshot, need to make user's picture be have sufficient autonomy and with Meaning property, it is difficult to ensure that figure is closed completely under the mode that this freedom is arbitrarily drawn, i.e. the shot operation track drawn of user Starting point and ending point can't be completely coincident, and must determine intercepted picture by enclosed region in screenshot, be Guarantee the normal use of user, a fault tolerant mechanism can be set in the algorithm of existing free screenshot, when starting point and termination When putting position difference within a preset range, then starting point and ending point can be connected according to desired guiding trajectory, realize closing for free screenshot Figure is closed, the desired guiding trajectory of existing connection starting point and ending point is often straight line, causes screenshot shape unnatural not It is the shape that user asks for interception, i.e., free screenshot precision is low.
Summary of the invention
It is a primary object of the present invention to propose a kind of screenshot method and device, it is intended to solve the low skill of free screenshot precision Art problem.
To achieve the above object, the present invention provides a kind of screenshot device, and the screenshot device includes:
Module is obtained, the shot operation track formed for when detecting shot operation, obtaining the shot operation;
Sampling module, for obtaining the shot operation track in the not formed closed curve in the shot operation track Starting point and terminal between preset the first quantity the first sampled point;
The starting point and the terminal is calculated for carrying out curve fitting based on first sampled point in computing module Between not closed part junction curve;
Link block, for connecting not closed part between the starting point and the terminal using the junction curve obtained, The shot operation track is connected into closed curve;
Processing module, the picture for the shot operation track enclosing after being closed is as screenshot.
Optionally, the computing module includes:
A plurality of matched curve is calculated simultaneously for obtaining to carry out curve fitting based on first sampled point in computing unit Calculate the AIC value of each matched curve;
Processing unit, for using the smallest matched curve of AIC value as patent between the starting point and the terminal Close the junction curve of part.
Optionally, the screenshot device further include:
The computing module is also used to take the second of default second quantity to adopt in the shot operation track after closure Sampling point successively calculates the curvature of each second sampled point;
Comparison module, the song of the curvature of the second sampled point for that will be calculated second sampled point adjacent thereto Rate is compared;
The processing module is also used in the curvature of no second sampled point second sampled point adjacent thereto When difference between curvature is greater than the first preset threshold, picture that the shot operation track after closure is enclosed as section Figure;
Logging modle, between the curvature for curvature second sampled point adjacent thereto for having second sampled point Difference be greater than the first preset threshold when, record curvature difference be greater than first preset threshold second sampled point;
The computing module is also used to the coordinate data of each second sampled point multiplied by preset weight;
Update module, for being remembered with updating using carrying out curve fitting multiplied by second sampled point of preset weight The coordinate data of second sampled point of record.
Optionally, the acquisition module is also used in the not formed closed curve in the shot operation track, described in acquisition The distance between the starting point of shot operation track and the terminal;
The sampling module is also used to the distance between the starting point and the terminal less than the second preset threshold When, obtain the first sampled point that the first quantity is preset between the starting point and terminal of the shot operation track.
It is optionally, described to state screenshot device further include:
Output module is greater than or equal to the second preset threshold for the distance between the starting point and the terminal When, export again the prompt information of screenshot.
In addition, to achieve the above object, the present invention also proposes a kind of screenshot method, the screenshot method step includes:
When detecting shot operation, the shot operation track that the shot operation is formed is obtained;
In the shot operation track when not formed closed curve, the starting point and terminal of the shot operation track are obtained Between preset the first quantity the first sampled point;
It is carried out curve fitting the not closed portion between the starting point and the terminal that is calculated based on first sampled point The junction curve divided connects not closed part between the starting point and the terminal using the junction curve of acquisition, will be described Shot operation track connects into closed curve;
The picture that the shot operation track after closure is enclosed is as screenshot.
Optionally, it is described carried out curve fitting based on first sampled point be calculated the starting point and the terminal it Between not closed part junction curve the step of include:
It obtains to carry out curve fitting based on first sampled point and a plurality of matched curve is calculated;
The AIC value for calculating each matched curve, using the smallest matched curve of AIC value as the starting point and institute State the junction curve of not closed part between terminal.
Optionally, the picture that the shot operation track using after closure encloses is as before the step of screenshot, institute Screenshot method is stated to further comprise the steps of:
The second sampled point that default second quantity is taken in the shot operation track after closure, successively calculates each institute State the curvature of the second sampled point, and by the song of the curvature for the second sampled point being calculated second sampled point adjacent thereto Rate is compared;
Difference between the curvature of curvature second sampled point adjacent thereto of no second sampled point is greater than When the first preset threshold, execute described using the picture of the shot operation track enclosing after closure as the step of screenshot;
The curvature of the curvature of second sampled point that will be calculated second sampled point adjacent thereto compares Compared with the step of after, the screenshot method further comprises the steps of:
Difference between the curvature for curvature second sampled point adjacent thereto for having second sampled point is greater than the When one preset threshold, record curvature difference is greater than second sampled point of first preset threshold, and to each described the The coordinate data of two sampled points is multiplied by preset weight;
It carries out curve fitting using multiplied by second sampled point of preset weight, is adopted with described the second of more new record The coordinate data of sampling point.
Optionally, the first of the first quantity is preset between the starting point and terminal for obtaining the shot operation track to adopt Before the step of sampling point, the screenshot method is further comprised the steps of:
In the shot operation track when not formed closed curve, obtain the shot operation track the starting point and The distance between described terminal;
When distance between the starting point and the terminal is less than the second preset threshold, executes and cut described in the acquisition The step of the first sampled point of the first quantity is preset between the starting point and terminal of graphic operation track.
Optionally, the step of the distance between starting point for obtaining the shot operation track and the terminal Later, the screenshot method further include:
When distance between the starting point and the terminal is greater than or equal to the second preset threshold, screenshot again is exported Prompt information.
Screenshot method and device proposed by the present invention, it is bent in the not formed closure in shot operation track for detecting shot operation When line, the first sampled point that the first quantity is preset between the starting point and terminal of shot operation track is obtained and based on the first sampling Point, which carries out curve fitting, is calculated the junction curve of not closed part between beginning and end, is connected using the junction curve of acquisition Not closed part between beginning and end is connect, shot operation track is connected into closed curve, so that in shot operation track Junction curve between starting point and terminal is smoothed curve, improves the precision of screenshot.
Detailed description of the invention
The hardware structural diagram of Fig. 1 each embodiment one optional mobile terminal to realize the present invention;
Fig. 2 is mobile terminal communication system schematic diagram;
Fig. 3 is the functional block diagram of screenshot device first embodiment of the present invention;
Fig. 4 is the contrast schematic diagram of existing curve closed procedure of the invention and curve closed procedure of the present invention;
Fig. 5 is the schematic diagram modified to shot operation track;
Fig. 6 is the functional block diagram of screenshot device second embodiment of the present invention;
Fig. 7 is that the present invention puts the schematic diagram that you are handled to the screenshot geometric locus mean curvature portion of changing greatly;
Fig. 8 is the flow diagram of screenshot method first embodiment of the present invention;
Fig. 9 is the flow diagram of screenshot method second embodiment of the present invention;
Figure 10 is the flow diagram of screenshot method 3rd embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The mobile terminal of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, use For indicate element such as " module ", " component " or " unit " suffix only for being conducive to explanation of the invention, itself There is no specific meanings.Therefore, " module " can be used mixedly with " component ".
Mobile terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as moving Phone, smart phone, laptop, digit broadcasting receiver, PDA (personal digital assistant), PAD (tablet computer), PMP The mobile terminal of (portable media player), navigation device etc. and such as number TV, desktop computer etc. are consolidated Determine terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that in addition to being used in particular for moving Except the element of purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Fig. 1 to realize the present invention the optional mobile terminal of each embodiment one hardware configuration signal.
Mobile terminal 100 may include wireless communication unit 110, A/V (audio/video) input unit 120, user's input Unit 130, output unit 150, memory 160, interface unit 170, controller 180 and power supply unit 190 etc..Fig. 1 is shown Mobile terminal with various assemblies, it should be understood that be not required for implementing all components shown.It can be alternatively Implement more or fewer components.The element of mobile terminal will be discussed in more detail below.
Wireless communication unit 110 generally includes one or more components, allows mobile terminal 100 and wireless communication device Or the radio communication between network.For example, wireless communication unit may include broadcasting reception module 111 and mobile communication module At least one of 112.
Broadcasting reception module 111 receives broadcast singal and/or broadcast from external broadcast management server via broadcast channel Relevant information.Broadcast channel may include satellite channel and/or terrestrial channel.Broadcast management server, which can be, to be generated and sent The broadcast singal and/or broadcast related information generated before the server or reception of broadcast singal and/or broadcast related information And send it to the server of terminal.Broadcast singal may include TV broadcast singal, radio signals, data broadcasting Signal etc..Moreover, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast phase Closing information can also provide via mobile communications network, and in this case, broadcast related information can be by mobile communication mould Block 112 receives.Broadcast singal can exist in a variety of manners, for example, it can be with the electronics of digital multimedia broadcasting (DMB) Program guide (EPG), digital video broadcast-handheld (DVB-H) electronic service guidebooks (ESG) etc. form and exist.Broadcast Receiving module 111 can receive signal broadcast by using various types of broadcasters.Particularly, broadcasting reception module 111 It can be wide by using such as multimedia broadcasting-ground (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video It broadcasts-holds (DVB-H), forward link media (MediaFLO@) data broadcasting device, received terrestrial digital broadcasting integrated service (ISDB-T) etc. digital broadcast apparatus receives digital broadcasting.Broadcasting reception module 111, which may be constructed such that, to be adapted to provide for extensively Broadcast the various broadcasters and above-mentioned digital broadcast apparatus of signal.Via the received broadcast singal of broadcasting reception module 111 and/ Or broadcast related information can store in memory 160 (or other types of storage medium).
Mobile communication module 112 sends radio signals to base station (for example, access point, node B etc.), exterior terminal And at least one of server and/or receive from it radio signal.Such radio signal may include that voice is logical Talk about signal, video calling signal or according to text and/or Multimedia Message transmission and/or received various types of data.
A/V input unit 120 is for receiving audio or video signal.A/V input unit 120 may include 121 He of camera Microphone 122, camera 121 is to the static images obtained in video acquisition mode or image capture mode by image capture apparatus Or the image data of video is handled.Treated, and picture frame may be displayed on display unit 151.It is handled through camera 121 Picture frame afterwards can store in memory 160 (or other storage mediums) or be sent out via wireless communication unit 110 It send, two or more cameras 121 can be provided according to the construction of mobile terminal.Microphone 122 can be in telephone calling model, note Sound (audio data) is received via microphone in record mode, speech recognition mode etc. operational mode, and can will in this way Acoustic processing be audio data.Audio that treated (voice) data can be converted in the case where telephone calling model can The format output of mobile communication base station is sent to via mobile communication module 112.Various types of make an uproar can be implemented in microphone 122 Sound eliminates (or inhibition) algorithm to eliminate the noise or do that (or inhibition) generates during sending and receiving audio signal It disturbs.
The order that user input unit 130 can be inputted according to user generates key input data to control each of mobile terminal Kind operation.User input unit 130 allows user to input various types of information, and may include keyboard, metal dome, touch Plate (for example, the sensitive component of detection due to the variation of resistance, pressure, capacitor etc. caused by being contacted), idler wheel, rocking bar etc. Deng.Particularly, when touch tablet is superimposed upon in the form of layer on display unit 151, touch screen can be formed.
Interface unit 170 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Identification module can be storage and use each of mobile terminal 100 for verifying user It plants information and may include subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) Etc..In addition, the device (hereinafter referred to as " identification device ") with identification module can take the form of smart card, therefore, know Other device can be connect via port or other attachment devices with mobile terminal 100.Interface unit 170, which can be used for receiving, to be come from The input (for example, data information, electric power etc.) of external device (ED) and the input received is transferred in mobile terminal 100 One or more elements can be used for transmitting data between mobile terminal and external device (ED).
In addition, when mobile terminal 100 is connect with external base, interface unit 170 may be used as allowing will be electric by it Power, which is provided from pedestal to the path or may be used as of mobile terminal 100, allows the various command signals inputted from pedestal to pass through it It is transferred to the path of mobile terminal.The various command signals or electric power inputted from pedestal, which may be used as mobile terminal for identification, is The no signal being accurately fitted on pedestal.Output unit 150 is configured to provide with vision, audio and/or tactile manner defeated Signal (for example, audio signal, vision signal, alarm signal, vibration signal etc.) out.Output unit 150 may include display Unit 151 and audio output module 152 etc..
Display unit 151 may be displayed on the information handled in mobile terminal 100.For example, when mobile terminal 100 is in electricity When talking about call mode, display unit 151 can show and converse or other communicate (for example, text messaging, multimedia file Downloading etc.) relevant user interface (UI) or graphic user interface (GUI).When mobile terminal 100 is in video calling mode Or when image capture mode, display unit 151 can show captured image and/or received image, show video or figure Picture and the UI or GUI of correlation function etc..
Meanwhile when display unit 151 and touch tablet in the form of layer it is superposed on one another to form touch screen when, display unit 151 may be used as input unit and output device.Display unit 151 may include liquid crystal display (LCD), thin film transistor (TFT) In LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc. at least It is a kind of.Some in these displays may be constructed such that transparence to allow user to watch from outside, this is properly termed as transparent Display, typical transparent display can be, for example, TOLED (transparent organic light emitting diode) display etc..According to specific Desired embodiment, mobile terminal 100 may include two or more display units (or other display devices), for example, moving Dynamic terminal may include outernal display unit (not shown) and inner display unit (not shown).Touch screen can be used for detecting touch Input pressure and touch input position and touch input area.
Audio output module 152 can mobile terminal be in call signal reception pattern, call mode, logging mode, It is when under the isotypes such as speech recognition mode, broadcast reception mode, wireless communication unit 110 is received or in memory 160 The audio data transducing audio signal of middle storage and to export be sound.Moreover, audio output module 152 can provide and movement The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that terminal 100 executes. Audio output module 152 may include sound pick-up, buzzer etc..
Memory 160 can store the software program etc. of the processing and control operation that are executed by controller 180, Huo Zheke Temporarily to store oneself data (for example, telephone directory, message, still image, video etc.) through exporting or will export.And And memory 160 can store about the vibrations of various modes and audio signal exported when touching and being applied to touch screen Data.
Memory 160 may include the storage medium of at least one type, and storage medium includes flash memory, hard disk, multimedia Card, card-type memory (for example, SD or DX memory etc.), random access storage device (RAM), static random-access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..Moreover, mobile terminal 100 can execute memory with by network connection The network storage device of 160 store function cooperates.
The overall operation of the usually control mobile terminal of controller 180.For example, controller 180 executes and voice communication, data Communication, video calling etc. relevant control and processing.In addition, controller 180 may include for reproducing (or playback) more matchmakers The multi-media module 181 of volume data, multi-media module 181 can construct in controller 180, or can be structured as and control Device 180 separates.Controller 180 can be with execution pattern identifying processing, by the handwriting input executed on the touchscreen or picture It draws input and is identified as character or image.
Power supply unit 190 receives external power or internal power under the control of controller 180 and provides operation each member Electric power appropriate needed for part and component.
Various embodiments described herein can be to use the calculating of such as computer software, hardware or any combination thereof Machine readable medium is implemented.Hardware is implemented, embodiment described herein can be by using application-specific IC (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), scene can Programming gate array (FPGA), controller, microcontroller, microprocessor, is designed to execute function described herein processor At least one of electronic unit is implemented, and in some cases, such embodiment can be implemented in controller 180. For software implementation, the embodiment of such as process or function can with allow to execute the individual of at least one functions or operations Software module is implemented.Software code value can by the software application (or program) write with any programming language appropriate Lai Implement, software code value can store in memory 160 and be executed by controller 180.
So far, oneself is through describing mobile terminal according to its function.In the following, for the sake of brevity, will description such as folded form, Slide type mobile terminal in various types of mobile terminals of board-type, oscillating-type, slide type mobile terminal etc., which is used as, to be shown Example.Therefore, the present invention can be applied to any kind of mobile terminal, and be not limited to slide type mobile terminal.
Mobile terminal 100 as shown in Figure 1 may be constructed such that using via frame or grouping send data it is all if any Line and wireless communication device and satellite-based communication device operate.
Referring now to Fig. 2 description communication device that wherein mobile terminal according to the present invention can operate.
Different air interface and/or physical layer can be used in such communication device.For example, used by communication device Air interface includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications dress Set (UMTS) (particularly, long term evolution (LTE)), global mobile communication device (GSM) etc..As non-limiting example, under The description in face is related to cdma communication device, but such introduction is equally applicable to other types of device.
With reference to Fig. 2, cdma wireless communication device may include multiple mobile terminals 100, multiple base stations (BS) 270, base station Controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to and Public Switched Telephony Network (PSTN) 290 form interface.MSC280 is also structured to form interface with the BSC275 that can be couple to base station 270 via back haul link. Back haul link can be constructed according to any in several known interfaces, and interface includes such as E1/T1, ATM, IP, PPP, Frame relay, HDSL, ADSL or xDSL.It will be appreciated that device may include multiple BSC2750 as shown in Figure 2.
Each BS270 can service one or more subregions (or region), by multidirectional antenna or the day of direction specific direction Each subregion of line covering is radially far from BS270.Alternatively, each subregion can be by two or more for diversity reception Antenna covering.Each BS270, which may be constructed such that, supports multiple frequency distribution, and the distribution of each frequency has specific frequency spectrum (for example, 1.25MHz, 5MHz etc.).
What subregion and frequency were distributed, which intersects, can be referred to as CDMA Channel.BS270 can also be referred to as base station transceiver Device (BTS) or other equivalent terms.In this case, term " base station " can be used for broadly indicating single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Alternatively, each subregion of specific BS270 can be claimed For multiple cellular stations.
As shown in Figure 2, broadcast singal is sent to the mobile terminal operated in the device by broadcsting transmitter (BT) 295 100.Broadcasting reception module 111 as shown in Figure 1 is arranged at mobile terminal 100 to receive the broadcast sent by BT295 Signal.In fig. 2 it is shown that several global pick device (GPS) satellites 300.The help of satellite 300 positions multiple mobile terminals At least one of 100.
In Fig. 2, multiple satellites 300 are depicted, it is understood that, it is useful to can use any number of satellite acquisition Location information.It substitutes GPS tracking technique or except GPS tracking technique, the position that can track mobile terminal can be used The other technologies set.In addition, at least one 300 property of can choose of GPS satellite or extraly processing satellite dmb transmission.
As a typical operation of wireless communication device, BS270 receives the reverse link from various mobile terminals 100 Signal.Mobile terminal 100 usually participates in call, information receiving and transmitting and other types of communication.Certain base station 270 is received each anti- It is handled in specific BS270 to link signal.The data of acquisition are forwarded to relevant BSC275.BSC provides call The mobile management function of resource allocation and the coordination including the soft switching process between BS270.The number that BSC275 will also be received According to MSC280 is routed to, the additional route service for forming interface with PSTN290 is provided.Similarly, PSTN290 with MSC280 forms interface, and MSC and BSC275 form interface, and BSC275 controls BS270 correspondingly with by forward link signals It is sent to mobile terminal 100.
Structure based on above-mentioned mobile terminal hardware configuration and communication device proposes each implementation of screenshot device of the present invention Example.
As shown in figure 3, Fig. 3 is the functional block diagram of screenshot device first embodiment of the present invention.It is emphasized that It will be apparent to those skilled in the art that functional block diagram shown in Fig. 3 is only the exemplary diagram of a preferred embodiment, this field Technical staff surrounds the functional module of screenshot device shown in Fig. 3, can carry out the supplement of new functional module easily;Each function mould The title of block is self-defined title, is only used for each program function block that auxiliary understands the screenshot device, is not used in and limits this hair The core of bright technical solution, technical solution of the present invention is the function to be reached of the functional module of each self-defined title.
The present embodiment proposes that a kind of screenshot device, screenshot device include:
Obtain module 10, the shot operation track of the formation for when detecting shot operation, obtaining shot operation;
In the present embodiment, user is touched by the touch operation that the sliding touch operation on mobile terminal display screen is formed Shot operation is sent out, the sliding touch track which forms is shot operation track, Guidong touch operation rail The touch operation point that mark is formed in display screen by user is formed.
It is understood that since user may often carry out sliding touch operation as moved on the display screen of mobile terminal Cardon such as is marked with and unlocks at the operation, then when detecting based on sliding touch operation on mobile terminal display screen, determines movement Whether terminal is in free screenshot mode;When free screenshot mode finally on the move, current sliding touch operation is just determined For shot operation.Alternatively, determining the aobvious of mobile terminal when detecting based on sliding touch operation on mobile terminal display screen Show whether interface is default interface (such as unlock interface);When the display interface of mobile terminal is not default interface, determine current Sliding touch operation be shot operation.In other variant embodiments, screenshotss operation first can also be carried out to screen, then cut Shot operation is carried out in the picture that screen operation obtains, directly can also carry out free shot operation in current screen.
Sampling module 20, for obtaining the starting point of shot operation track in the not formed closed curve in shot operation track And the first sampled point of the first quantity is preset between terminal;
It in the present embodiment, can be by shot operation track when the first sampled point of the first preset quantity is (N > 2) N Starting point takes N/2 the first sampled points to terminal direction, and takes N/2 first to adopt from the terminal of shot operation track to starting point direction Sampling point, the matched curve that the beginning and end that the first sampled point that this method samples is close to shot operation track obtains is more It is accurate to add.It can and understand there is the starting point of shot operation track and emphasis to start to sample the first obtained sampled point Quantity can be different, such as take N/3 the first sampled points from the starting point of shot operation track to terminal direction, and by shot operation The terminal of track takes N2/3 the first sampled points to starting point direction, and quantity can be set as needed by user, the first quantity User can set according to precision and efficiency requirements.
Computing module 30, for based on the first sampled point carry out curve fitting be calculated it is not closed between beginning and end Partial junction curve;
Curve matching can have Lagrange's interpolation, Newton interpolating method, Newton iteration method, area by least square method Between the accomplished in many ways such as dichotomy, Secant Method, Jacobi iterative method and newton Ke Tesi numerical integrating, below with minimum two Be illustrated for multiplication, least square method carry out multinomial curve matching specific formula is as follows:
Y=aX^k+bX^ (k-1)+...+eX+f, wherein k value is respectively 1,2 ... ... N-1.That is intend in total (N-1) curve is closed out, by bringing the coordinate of the first different sampled points into, fits a plurality of curve.
When carrying out multinomial curve matching according to least square method, multiple groups multinomial can be generated according to preset fitting formula, To generate multiple matched curves (it can be understood that multiple matched curves can also be generated otherwise), multiple fittings are chosen Optimal matched curve includes: as final junction curve, i.e. computing module 30 in curve
Computing unit is carried out curve fitting based on the first sampled point for acquisition and a plurality of matched curve is calculated and calculates The AIC value of each matched curve;
Processing unit, for using the smallest matched curve of AIC value as the connection of part not closed between beginning and end Curve.
AIC (Akaike information criterion, akaike information criterion) value is measure statistical models fitting A kind of standard of Optimality, can weigh the complexity of estimated model and the Optimality of this models fitting data, and RIC value is smaller Fitting data is more excellent, then using the smallest matched curve of AIC value as the junction curve of part not closed between beginning and end.
Link block 40, for that will cut using not closed part between the junction curve connection source and terminal obtained Graphic operation track connects into closed curve;
Processing module 50, the picture for the shot operation track enclosing after being closed is as screenshot.
The starting point of matched curve and terminal are connect to form closed curve with the starting point of shot operation track and terminal, Shot operation can be realized.The comparison of as shown in Figure 4 existing free screenshot and this programme progress treated track, left side The connection of picture screenshot track starting point and terminal is very lofty, and the connection of the starting point of right side picture screenshot track and terminal Track is very smooth.
It is understood that the possible user in shot operation track that user is formed in display interface wants modification, but again New screenshot track of drawing then will lead to or not accurate enough, and user is then needed to carry out in the shot operation track currently shown at this time On the basis of modify, such as continue to draw shot operation track in display interface shown in Fig. 5, and by current shot operation track The picture in overlapping region between the shot operation track of display is as screenshot, if then shot operation track in the case For that can not have to carry out closed procedure when non-closed curve, i.e., in the not formed closed curve in shot operation track, determine current aobvious Show whether interface shows other shot operation tracks, shows other shot operation tracks and current shot operation rail in current interface There are when overlapping region between mark and the shot operation track of display, using the picture in overlapping region as screenshot;In preceding screenshot When overlapping region being not present between operation trace and the shot operation track of display, then sampling module 20 obtains shot operation track Starting point and terminal between preset the first quantity the first sampled point.
The screenshot device that the present embodiment proposes, in the not formed closed curve in shot operation track for detecting shot operation When, it obtains the first sampled point for presetting the first quantity between the starting point and terminal of shot operation track and is based on the first sampled point It carries out curve fitting and the junction curve of not closed part between beginning and end is calculated, connected using the junction curve of acquisition Shot operation track is connected into closed curve by not closed part between beginning and end, so that rising in shot operation track Junction curve between point and terminal is smoothed curve, improves the precision of screenshot.
Further, referring to Fig. 6, screenshot device second embodiment of the present invention is proposed based on first embodiment, in this implementation In example, screenshot device further include:
Computing module 30 is also used to take the second sampled point of default second quantity in the shot operation track after closure, Successively calculate the curvature of each second sampled point;
Comparison module 60, the curvature of the curvature of the second sampled point for that will be calculated the second sampled point adjacent thereto It is compared;
Quantity may be the same or different between the second sampled point and the first sampled point in the present embodiment, the sampling taken Point is distributed in entire shot operation track, and the sampling between each second sampled point can be determined according to the quantity of the second sampled point Distance in the shot operation track for being connected as closed curve and can be not connected with cutting for closed curve when the second quantity is N Respectively take 2/N the second groups of samples at N number of second sampled point in graphic operation track.The song of each second sampled point in calculated curve Rate is that the prior art is not repeating herein, can be arranged after the curvature for calculating all second sampled points according to positional relationship Sequence, and the successively difference between each second sampled point after comparative sorting, with the curvature difference between adjacent second sampled point It is as shown in Figure 7 that screenshot geometric locus at the position of biggish second sampled point not enough may smoothly be easy to appear wedge angle.
Processing module 50 is also used between the curvature of curvature the second sampled point adjacent thereto without the second sampled point When difference is greater than the first preset threshold, the picture that the shot operation track after closure is enclosed is as screenshot;
Logging modle 70, for the difference between the curvature for curvature the second sampled point adjacent thereto for having the second sampled point When greater than the first preset threshold, record curvature difference is greater than the second sampled point of the first preset threshold;
Computing module 30 is also used to the coordinate data of each second sampled point multiplied by preset weight, wherein closer to The weight of other second sampled points of second sampled point of record is smaller;
Update module 80 carries out curve fitting for using multiplied by the second sampled point of preset weight, with more new record The second sampled point coordinate data.
The above process is illustrated with specific example below, chooses the N/2 (N > 2) on scribing line track before wedge angle coordinate It is a, be denoted as Q1, Q2 respectively ... QK, K=1,2 ... N/2, the bigger expression of K it is remoter from wedge angle coordinate, respectively to data point Q1, Q2 ... QK assign weight coefficient q1, q2 ... qk (q1 < q2 ... < qk), and there are many obtaining value method of weight, and method can be with Include: A) q1=1;Q2=2;... q2=K;B) q1=1/K;Q2=2/K;... q2=1 etc.;N/ after selection wedge angle coordinate A point in 2 (N > 2), be denoted as H1, H2 respectively ... HK, K=1,2 ... N/2, using same method assign weight coefficient h1, H2 ... hk (h1 < h2 ... < hk), such as the above A) and B) two ways, by weight coefficient q1, q2 ... qk and h1, H2 ... hk is respectively to data Q1, Q2 ..., and QK and H1, H2 ... HK is weighted, using the seat of the second sampled point after weighting It marks data and carries out multi-cure-fitting, the curve matching principle is identical with first embodiment, and details are not described herein.
It is carried out curve fitting by the part changed greatly to shot operation track mean curvature so that obtaining in the present embodiment Shot operation track it is more smooth, screenshot accuracy is higher.
Further, screenshot device 3rd embodiment of the present invention is proposed based on first or second embodiments, in the present embodiment In,
Module 10 is obtained, is also used in the not formed closed curve in shot operation track, rising for shot operation track is obtained The distance between point and terminal;
Sampling module 20 when being also used to the distance between starting point and terminal less than the second preset threshold, obtains screenshot The first sampled point of the first quantity is preset between the starting point and terminal of operation trace.
When the distance between beginning and end of shot operation track that shot operation formation is carried out due to user is excessive into Row curve matching then can be very inaccurate, then just carry out curve fitting i.e. march when the distance between beginning and end is smaller Line closed procedure.The distance between the starting point of the present embodiment and terminal are linear distance.
It is understood that the distance between the starting point and terminal of shot operation track can not respond when excessive, User can also be reminded to re-start just to operate, that is, state screenshot device further include: output module, between starting point and terminal Distance when being greater than or equal to the second preset threshold, the prompt information of output screenshot again.The prompt information of the output is " to cut Figure track cannot form closure, please re-start shot operation ".
Curve is carried out when distance in the present embodiment only between the starting point and terminal of shot operation track is smaller to close Closing operation improves screenshot precision.
The present invention further provides a kind of screenshot methods.
It is the flow diagram of screenshot method first embodiment of the present invention referring to Fig. 8, Fig. 8.
A kind of screenshot method of the present embodiment, screenshot method comprising steps of
Step S10 obtains the shot operation track of the formation of shot operation when detecting shot operation;
In the present embodiment, user is touched by the touch operation that the sliding touch operation on mobile terminal display screen is formed Shot operation is sent out, the sliding touch track which forms is shot operation track, the sliding touch operation rail The touch operation point that mark is formed in display screen by user is formed.
It is understood that since user may often carry out sliding touch operation as moved on the display screen of mobile terminal Cardon such as is marked with and unlocks at the operation, then when detecting based on sliding touch operation on mobile terminal display screen, determines movement Whether terminal is in free screenshot mode;When free screenshot mode finally on the move, current sliding touch operation is just determined For shot operation.Alternatively, determining the aobvious of mobile terminal when detecting based on sliding touch operation on mobile terminal display screen Show whether interface is default interface (such as unlock interface);When the display interface of mobile terminal is not default interface, determine current Sliding touch operation be shot operation.In other variant embodiments, screenshotss operation first can also be carried out to screen, then cut Shot operation is carried out in the picture that screen operation obtains, directly can also carry out free shot operation in current screen.
Step S20 in shot operation track when not formed closed curve, obtains the starting point and terminal of shot operation track Between preset the first quantity the first sampled point;
It in the present embodiment, can be by shot operation track when the first sampled point of the first preset quantity is (N > 2) N Starting point takes N/2 the first sampled points to terminal direction, and takes N/2 first to adopt from the terminal of shot operation track to starting point direction Sampling point, the matched curve that the beginning and end that the first sampled point that this method samples is close to shot operation track obtains is more It is accurate to add.It can and understand there is the starting point of shot operation track and emphasis to start to sample the first obtained sampled point Quantity can be different, such as take N/3 the first sampled points from the starting point of shot operation track to terminal direction, and by shot operation The terminal of track takes N2/3 the first sampled points to starting point direction, and quantity can be set as needed by user, the first quantity User can set according to precision and efficiency requirements.
Step S30 is carried out curve fitting based on the first sampled point and not closed part between beginning and end is calculated Junction curve is connected shot operation track using not closed part between the junction curve connection source and terminal of acquisition At closed curve;
Multinomial curve matching can have Lagrange's interpolation, Newton interpolating method, Newton iteration by least square method The accomplished in many ways such as method, section dichotomy, Secant Method, Jacobi iterative method and newton Ke Tesi numerical integrating, below with Be illustrated for least square method, least square method carry out multinomial curve matching specific formula is as follows:
Y=aX^k+bX^ (k-1)+...+eX+f, wherein k value is respectively 1,2 ... ... N-1.That is intend in total (N-1) curve is closed out, by bringing the coordinate of the first different sampled points into, fits a plurality of curve.
When carrying out multinomial curve matching according to least square method, multiple groups multinomial can be generated according to preset fitting formula, To generate multiple matched curves (it can be understood that multiple matched curves can also be generated otherwise), multiple fittings are chosen In curve optimal matched curve " is carried out curve fitting based on the first sampled point and is calculated as final junction curve The step of junction curve of not closed part between beginning and end " includes:
It obtains to carry out curve fitting based on the first sampled point and a plurality of matched curve is calculated;
The AIC value for calculating each matched curve, using the smallest matched curve of AIC value as not closed between beginning and end Partial junction curve.
AIC (Akaike information criterion, akaike information criterion) value is measure statistical models fitting A kind of standard of Optimality, can weigh the complexity of estimated model and the Optimality of this models fitting data, and RIC value is smaller Fitting data is more excellent, then using the smallest matched curve of AIC value as the junction curve of part not closed between beginning and end.
Step S40, the picture that the shot operation track after closure is enclosed is as screenshot.
The starting point of matched curve and terminal are connect to form closed curve with the starting point of shot operation track and terminal, Shot operation can be realized.The comparison of as shown in Figure 4 existing free screenshot and this programme progress treated track, left side The connection of picture screenshot track starting point and terminal is very lofty, and the connection of the starting point of right side picture screenshot track and terminal Track is very smooth.
It is understood that the possible user in shot operation track that user is formed in display interface wants modification, but again New screenshot track of drawing then will lead to or not accurate enough, and user is then needed to carry out in the shot operation track currently shown at this time On the basis of modify, such as continue to draw shot operation track in display interface shown in Fig. 5, and by current shot operation track The picture in overlapping region between the shot operation track of display is as screenshot, if then shot operation track in the case For that can not have to carry out closed procedure when non-closed curve, i.e., in the not formed closed curve in shot operation track, determine current aobvious Show whether interface shows other shot operation tracks, shows other shot operation tracks and current shot operation rail in current interface There are when overlapping region between mark and the shot operation track of display, using the picture in overlapping region as screenshot;In preceding screenshot When overlapping region being not present between operation trace and the shot operation track of display, then starting point and the end of shot operation track are taken The first sampled point of the first quantity is preset between point.
The screenshot method that the present embodiment proposes, in the not formed closed curve in shot operation track for detecting shot operation When, it obtains the first sampled point for presetting the first quantity between the starting point and terminal of shot operation track and is based on the first sampled point It carries out curve fitting and the junction curve of not closed part between beginning and end is calculated, connected using the junction curve of acquisition Shot operation track is connected into closed curve by not closed part between beginning and end, so that rising in shot operation track Junction curve between point and terminal is smoothed curve, improves the precision of screenshot.
Further, referring to Fig. 9, screenshot method second embodiment of the present invention is proposed based on first embodiment, in this implementation In example, before step S40, screenshot method is further comprised the steps of:
Step S50 takes the second sampled point of default second quantity in the shot operation track after closure, successively calculates each The curvature of a second sampled point, and by the curvature of the curvature for the second sampled point being calculated the second sampled point adjacent thereto into Row compares;
Quantity may be the same or different between the second sampled point and the first sampled point in the present embodiment, the sampling taken Point is distributed in entire shot operation track, and the sampling between each second sampled point can be determined according to the quantity of the second sampled point Distance in the shot operation track for being connected as closed curve and can be not connected with cutting for closed curve when the second quantity is N Respectively take 2/N the second groups of samples at N number of second sampled point in graphic operation track.The song of each second sampled point in calculated curve Rate is that the prior art is not repeating herein, can be arranged after the curvature for calculating all second sampled points according to positional relationship Sequence, and the successively difference between each second sampled point after comparative sorting, with the curvature difference between adjacent second sampled point It is as shown in Figure 7 that screenshot geometric locus at the position of biggish second sampled point not enough may smoothly be easy to appear wedge angle.
It is default that difference between the curvature of curvature the second sampled point adjacent thereto without the second sampled point is greater than first When threshold value, step S40 is executed;
After step S50, screenshot method is further comprised the steps of:
Step S60, difference between the curvature for curvature the second sampled point adjacent thereto for having the second sampled point are greater than the When one preset threshold, record curvature difference is greater than the second sampled point of the first preset threshold, and to the seat of each second sampled point Data are marked multiplied by preset weight, wherein the weight closer to other second sampled points of the second sampled point of record is smaller;
Step S70 carries out curve fitting using multiplied by the second sampled point of preset weight, adopts with the second of more new record The coordinate data of sampling point;
Step S80, the picture that updated shot operation track is enclosed is as screenshot.
The above process is illustrated with specific example below, chooses the N/2 (N > 2) on scribing line track before wedge angle coordinate It is a, be denoted as Q1, Q2 respectively ... QK, K=1,2 ... N/2, the bigger expression of K it is remoter from wedge angle coordinate, respectively to data point Q1, Q2 ... QK assign weight coefficient q1, q2 ... qk (q1 < q2 ... < qk), and there are many obtaining value method of weight, and method can be with Include: A) q1=1;Q2=2;... q2=K;B) q1=1/K;Q2=2/K;... q2=1 etc.;N/ after selection wedge angle coordinate A point in 2 (N > 2), be denoted as H1, H2 respectively ... HK, K=1,2 ... N/2, using same method assign weight coefficient h1, H2 ... hk (h1 < h2 ... < hk), such as the above A) and B) two ways, by weight coefficient q1, q2 ... qk and h1, H2 ... hk is respectively to data Q1, Q2 ..., and QK and H1, H2 ... HK is weighted, using the seat of the second sampled point after weighting It marks data and carries out multi-cure-fitting, the curve matching principle is identical with first embodiment, and details are not described herein.
It is carried out curve fitting by the part changed greatly to shot operation track mean curvature so that obtaining in the present embodiment Shot operation track it is more smooth, screenshot accuracy is higher.
Further, screenshot method 3rd embodiment of the present invention is proposed based on first or second embodiments, in the present embodiment In, before step S20 further include:
Step S90 in shot operation track when not formed closed curve, obtains the starting point and terminal of shot operation track The distance between;
When distance between starting point and terminal is less than the second preset threshold, step S20 is executed.
When the distance between beginning and end of shot operation track that shot operation formation is carried out due to user is excessive into Row curve matching then can be very inaccurate, then just carry out curve fitting i.e. march when the distance between beginning and end is smaller Line closed procedure.The distance between the starting point of the present embodiment and terminal are linear distance.
It is understood that the distance between the starting point and terminal of shot operation track can not respond when excessive, User can also be reminded to re-start just to operate, i.e. after step S90, further includes:
When distance between starting point and terminal is greater than or equal to the second preset threshold, the prompt letter of screenshot is exported again Breath.The prompt information of the output is " screenshot track cannot form closure, please re-start shot operation ".
Curve is carried out when distance in the present embodiment only between the starting point and terminal of shot operation track is smaller to close Closing operation improves screenshot precision.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile terminal, calculate Machine, server, air conditioner or network equipment etc.) method that executes each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content, is directly or indirectly transported
Used in other related technical areas, it is included within the scope of the present invention.

Claims (8)

1. a kind of screenshot device, which is characterized in that the screenshot device includes:
Module is obtained, the shot operation track formed for when detecting shot operation, obtaining the shot operation;
Sampling module, in the not formed closed curve in the shot operation track, obtaining rising for the shot operation track The first sampled point of the first quantity is preset between point and terminal;
Computing module, for being carried out curve fitting between the calculating acquisition starting point and the terminal based on first sampled point The junction curve of not closed part, wherein the computing module includes computing unit, is based on first sampled point for obtaining Carry out curve fitting the AIC value that a plurality of matched curve is calculated and calculates each matched curve;Processing unit, being used for will Junction curve of the smallest matched curve of AIC value as part not closed between the starting point and the terminal;
Link block, for connecting not closed part between the starting point and the terminal using the junction curve obtained, The shot operation track is connected into closed curve;
Processing module, the picture for the shot operation track enclosing after being closed is as screenshot.
2. screenshot device as described in claim 1, which is characterized in that the screenshot device further include:
The computing module is also used to take the second of default second quantity to sample in the shot operation track after closure Point successively calculates the curvature of each second sampled point;
Comparison module, the curvature of the curvature of the second sampled point for that will be calculated second sampled point adjacent thereto into Row compares;
The processing module is also used to the curvature in the curvature of no second sampled point second sampled point adjacent thereto Between difference be greater than the first preset threshold when, using after closure the shot operation track enclose picture as screenshot;
Logging modle, for the difference between the curvature for curvature second sampled point adjacent thereto for having second sampled point When value is greater than the first preset threshold, record curvature difference is greater than second sampled point of first preset threshold;
The computing module is also used to the coordinate data of each second sampled point multiplied by preset weight, wherein more leaning on The weight of other second sampled points of second sampled point closely recorded is smaller;
Update module carries out curve fitting for using multiplied by second sampled point of preset weight, with more new record The coordinate data of second sampled point.
3. such as the described in any item screenshot devices of claim 1-2, which is characterized in that
The acquisition module is also used to obtain the shot operation rail in the not formed closed curve in the shot operation track The distance between the starting point of mark and the terminal;
The sampling module obtains when being also used to the distance between the starting point and the terminal less than the second preset threshold Take the first sampled point that the first quantity is preset between the starting point and terminal of the shot operation track.
4. screenshot device as claimed in claim 3, which is characterized in that described to state screenshot device further include:
Output module, it is defeated when being greater than or equal to the second preset threshold for the distance between the starting point and the terminal Again the prompt information of screenshot out.
5. a kind of screenshot method, which is characterized in that the screenshot method step includes:
When detecting shot operation, the shot operation track that the shot operation is formed is obtained;
In the shot operation track when not formed closed curve, between the starting point and terminal that obtain the shot operation track First sampled point of default first quantity;
It carries out curve fitting to calculate based on first sampled point and obtains not closed part between the starting point and the terminal Junction curve connects not closed part between the starting point and the terminal using the junction curve of acquisition, will be described Shot operation track connects into closed curve, including: acquisition is carried out curve fitting based on first sampled point and is calculated To a plurality of matched curve;The AIC value for calculating each matched curve, using the smallest matched curve of AIC value as described in The junction curve of not closed part between starting point and the terminal;
The picture that the shot operation track after closure is enclosed is as screenshot.
6. screenshot method as claimed in claim 5, which is characterized in that the shot operation track by after closure encloses Picture as screenshot the step of before, the screenshot method further comprises the steps of:
The second sampled point that default second quantity is taken in the shot operation track after closure successively calculates each described The curvature of two sampled points, and by the curvature of the curvature for the second sampled point being calculated second sampled point adjacent thereto into Row compares;
Difference between the curvature of curvature second sampled point adjacent thereto of no second sampled point is greater than first When preset threshold, execute described using the picture of the shot operation track enclosing after closure as the step of screenshot;
What the curvature of the curvature of second sampled point that will be calculated second sampled point adjacent thereto was compared After step, the screenshot method is further comprised the steps of:
It is pre- that difference between the curvature for curvature second sampled point adjacent thereto for having second sampled point is greater than first If when threshold value, record curvature difference is greater than second sampled point of first preset threshold, and adopts to each described second The coordinate data of sampling point is multiplied by preset weight, wherein closer to other second sampled points of second sampled point of record Weight is smaller;
It carries out curve fitting using multiplied by second sampled point of preset weight, with second sampled point of more new record Coordinate data;
The picture that updated shot operation track is enclosed is as screenshot.
7. such as the described in any item screenshot methods of claim 5-6, which is characterized in that the acquisition shot operation track Before the step of presetting the first sampled point of the first quantity between starting point and terminal, the screenshot method is further comprised the steps of:
In the shot operation track when not formed closed curve, the starting point of the shot operation track and described is obtained The distance between terminal;
When distance between the starting point and the terminal is less than the second preset threshold, executes and described obtain the screenshot behaviour Make the step of the first sampled point of the first quantity is preset between the starting point and terminal of track.
8. screenshot method as claimed in claim 7, which is characterized in that the starting point for obtaining the shot operation track And after the step of the distance between described terminal, the screenshot method further include:
When distance between the starting point and the terminal is greater than or equal to the second preset threshold, mentioning for screenshot is exported again Show information.
CN201610192870.2A 2016-03-30 2016-03-30 Screenshot method and device Active CN105824537B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610192870.2A CN105824537B (en) 2016-03-30 2016-03-30 Screenshot method and device
PCT/CN2017/074459 WO2017166959A1 (en) 2016-03-30 2017-02-22 Screenshot method, apparatus, mobile terminal, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610192870.2A CN105824537B (en) 2016-03-30 2016-03-30 Screenshot method and device

Publications (2)

Publication Number Publication Date
CN105824537A CN105824537A (en) 2016-08-03
CN105824537B true CN105824537B (en) 2019-03-01

Family

ID=56524540

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610192870.2A Active CN105824537B (en) 2016-03-30 2016-03-30 Screenshot method and device

Country Status (2)

Country Link
CN (1) CN105824537B (en)
WO (1) WO2017166959A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105824537B (en) * 2016-03-30 2019-03-01 努比亚技术有限公司 Screenshot method and device
CN107402713B (en) * 2017-07-28 2019-08-27 Oppo广东移动通信有限公司 Accelerate method, apparatus, storage medium and the mobile terminal of the processing of blank screen gesture
CN107807769A (en) * 2017-09-29 2018-03-16 珠海市魅族科技有限公司 Sectional drawing control method and device, terminal installation and computer-readable recording medium
CN108733281A (en) * 2018-04-08 2018-11-02 深圳先搜科技有限公司 A kind of image interception method, system and terminal device
CN110888552B (en) * 2019-11-27 2023-07-07 深圳市康冠商用科技有限公司 Method and device for processing line drawing of infrared touch screen
CN111078089A (en) * 2019-11-29 2020-04-28 东莞市拓久柘电子科技有限公司 Quick screenshot method based on touch all-in-one machine, electronic equipment and computer readable storage medium
CN110941222B (en) * 2019-12-24 2020-07-10 明日能源(苏州)有限公司 Electric energy on-line monitoring system
CN111142754A (en) * 2019-12-27 2020-05-12 腾讯科技(深圳)有限公司 Screenshot processing method and device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102263706A (en) * 2010-05-26 2011-11-30 腾讯科技(深圳)有限公司 Image interception method and apparatus thereof
CN105005426A (en) * 2014-04-18 2015-10-28 深圳Tcl新技术有限公司 Screenshot method and system for touch screen terminal, and data sharing method and system for touch screen terminal
CN105117122A (en) * 2015-07-30 2015-12-02 深圳市金立通信设备有限公司 Terminal screenshot method and terminal
CN105260022A (en) * 2015-10-15 2016-01-20 广东欧珀移动通信有限公司 Gesture-based screen capture control method and apparatus
CN105302455A (en) * 2015-09-29 2016-02-03 广东欧珀移动通信有限公司 Interface operation method and terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8717381B2 (en) * 2011-01-11 2014-05-06 Apple Inc. Gesture mapping for image filter input parameters
CN105824537B (en) * 2016-03-30 2019-03-01 努比亚技术有限公司 Screenshot method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102263706A (en) * 2010-05-26 2011-11-30 腾讯科技(深圳)有限公司 Image interception method and apparatus thereof
CN105005426A (en) * 2014-04-18 2015-10-28 深圳Tcl新技术有限公司 Screenshot method and system for touch screen terminal, and data sharing method and system for touch screen terminal
CN105117122A (en) * 2015-07-30 2015-12-02 深圳市金立通信设备有限公司 Terminal screenshot method and terminal
CN105302455A (en) * 2015-09-29 2016-02-03 广东欧珀移动通信有限公司 Interface operation method and terminal
CN105260022A (en) * 2015-10-15 2016-01-20 广东欧珀移动通信有限公司 Gesture-based screen capture control method and apparatus

Also Published As

Publication number Publication date
WO2017166959A1 (en) 2017-10-05
CN105824537A (en) 2016-08-03

Similar Documents

Publication Publication Date Title
CN105824537B (en) Screenshot method and device
CN105653729B (en) A kind of device and method of recording file index
CN105122780B (en) Electronic equipment and the method for controlling the electronic equipment
CN106101423B (en) Split screen area size adjusts device and method
CN104917896A (en) Data pushing method and terminal equipment
CN104731472A (en) Rapid icon clearing-up method and device
CN106250268B (en) Content of text recovery device and method
CN104735255A (en) Split screen display method and system
CN104991772B (en) Remote operation bootstrap technique and device
CN104967802A (en) Mobile terminal, recording method of screen multiple areas and recording device of screen multiple areas
CN109033263A (en) A kind of application recommended method and terminal
CN104636043A (en) Virtual key display method and virtual key display device
CN104994121A (en) Method and device for pushing notification messages
CN104914998A (en) Mobile terminal and multi-gesture desktop operation method and device thereof
CN104810033B (en) Audio frequency playing method and device
CN104661095A (en) Audio and video data recommendation method and system
CN104834473B (en) The method and device of input
CN105138871A (en) Unlocking method and apparatus for mobile terminal and mobile terminal
CN108829267A (en) A kind of vocabulary recommended method, equipment and computer can storage mediums
CN106598538A (en) Method and system for updating instruction set
CN106960046A (en) Picture recommendation method and terminal
CN104735254A (en) Terminal screen locking method and system
CN104731508A (en) Audio playing method and device
CN104731499A (en) Method and device for starting background applications and mobile terminal
CN104915230B (en) application control method and device

Legal Events

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