CN105824537A - Screenshot capturing method and screenshot capturing device - Google Patents

Screenshot capturing method and screenshot capturing device Download PDF

Info

Publication number
CN105824537A
CN105824537A CN201610192870.2A CN201610192870A CN105824537A CN 105824537 A CN105824537 A CN 105824537A CN 201610192870 A CN201610192870 A CN 201610192870A CN 105824537 A CN105824537 A CN 105824537A
Authority
CN
China
Prior art keywords
sampled point
shot operation
curve
operation track
terminal
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.)
Granted
Application number
CN201610192870.2A
Other languages
Chinese (zh)
Other versions
CN105824537B (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 screenshot capturing device. The screenshot capturing device comprises an acquiring module, a sampling module, a calculating module, a connecting module and a processing module, wherein the acquiring module is used for acquiring a screenshot capturing operating trace formed in a screenshot capturing operation when the screenshot capturing operation is detected; the sampling module is used for acquiring first sampling points with a preset quantity between a start point and an end point of the screenshot capturing operating trace when the screenshot capturing operation trace does not form a closed curve; the calculating module is used for performing curve fitting calculation based on the first sampling points to obtain a connecting curve of an unclosed part between the start point and the end point; the connecting module is used for connecting the unclosed part between the start point and the end point by adopting the acquired connecting curve so as to connect the screenshot capturing operating trace to form a closed curve; the processing module is used for taking a picture enclosed by the closed screenshot capturing operating trace as a screenshot. The invention also provides a screenshot capturing method. According to the screenshot capturing method and the screenshot capturing device disclosed by the invention, the connecting curve between the start point and the end point in the screenshot capturing operation curve becomes a smooth curve, so that the screenshot capturing precision is improved.

Description

Screenshot method and device
Technical field
The present invention relates to field of intelligent control technology, particularly relate to a kind of screenshot method and device.
Background technology
nullSectional drawing function is one of basic function of mobile phone,User's fast Acquisition screen content can be helped,So as rapid saving or share,Existing free sectional drawing technology allows user to intercept the screen content of arbitrary shape on screen,In order to ensure that user uses Consumer's Experience good in the operating process of free sectional drawing,Needing to make user draw is to have sufficient autonomy and randomness,It is difficult to ensure that figure is of completely closed under the mode that this freedom is arbitrarily drawn,The starting point and ending point of the shot operation track that i.e. user is drawn can't be completely superposed,And intercepted picture must be determined by enclosed region at sectional drawing,In order to ensure the normal use of user,The algorithm of existing free sectional drawing can set a fault tolerant mechanism,When starting point and ending point position difference is in preset range,Then can connect starting point and ending point according to desired guiding trajectory,Realize the closed figures of free sectional drawing,The desired guiding trajectory of existing connection starting point and ending point is often straight line,The unnatural user of not being of sectional drawing shape is caused to ask for the shape of intercepting,The freest sectional drawing precision is low.
Summary of the invention
Present invention is primarily targeted at a kind of screenshot method of proposition and device, it is intended to solve the technical problem that free sectional drawing precision is low.
For achieving the above object, the present invention provides a kind of sectional drawing device, and described sectional drawing device includes:
Acquisition module, for when shot operation being detected, obtains the shot operation track that described shot operation is formed;
Sampling module, for when described shot operation track does not forms closed curve, obtains the first sampled point presetting the first quantity between starting point and the terminal of described shot operation track;
Computing module, is calculated the junction curve of not closed part between described starting point and described terminal for carrying out curve fitting based on described first sampled point;
Link block, for using the junction curve of acquisition to connect not closed part between described starting point and described terminal, so that described shot operation track is connected into closed curve;
Processing module, the picture that the described shot operation track after closing encloses is as sectional drawing.
Alternatively, described computing module includes:
Computing unit, is calculated a plurality of matched curve for obtaining to carry out curve fitting based on described first sampled point and calculates the AIC value of each described matched curve;
Processing unit, for using the described matched curve of AIC value minimum as the junction curve of part not closed between described starting point and described terminal.
Alternatively, described sectional drawing device also includes:
Described computing module, is additionally operable to take in the described shot operation track after Guan Bi the second sampled point of default second quantity, calculates the curvature of each described second sampled point successively;
Comparison module, the curvature of described second sampled point for the curvature of calculated second sampled point being adjacent compares;
Described processing module, is additionally operable to when the difference that the curvature not having described second sampled point is adjacent between the curvature of described second sampled point is more than the first predetermined threshold value, and the picture enclosed by the described shot operation track after Guan Bi is as sectional drawing;
Logging modle, for when the difference that the curvature having described second sampled point is adjacent between the curvature of described second sampled point is more than the first predetermined threshold value, record curvature difference is more than described second sampled point of described first predetermined threshold value;
Described computing module, is additionally operable to the coordinate data of the second sampled point each described is multiplied by default weight;
More new module, for using described second sampled point being multiplied by default weight to carry out curve fitting, with the coordinate data of described second sampled point of more new record.
Alternatively, described acquisition module, it is additionally operable to, when described shot operation track does not forms closed curve, obtain the distance between described starting point and the described terminal of described shot operation track;
Described sampling module, when the distance being additionally operable between described starting point and described terminal is less than the second predetermined threshold value, obtains the first sampled point presetting the first quantity between starting point and the terminal of described shot operation track.
Alternatively, state sectional drawing device described in also to include:
Output module, when the distance between described starting point and described terminal is more than or equal to the second predetermined threshold value, exports again the information of sectional drawing.
Additionally, for achieving the above object, the present invention also proposes a kind of screenshot method, and described screenshot method step includes:
When shot operation being detected, obtain the shot operation track that described shot operation is formed;
When described shot operation track does not forms closed curve, obtain the first sampled point presetting the first quantity between starting point and the terminal of described shot operation track;
Carry out curve fitting based on described first sampled point and be calculated the junction curve of not closed part between described starting point and described terminal, the junction curve obtained is used to connect not closed part between described starting point and described terminal, so that described shot operation track is connected into closed curve;
The picture enclosed by described shot operation track after Guan Bi is as sectional drawing.
Alternatively, described carrying out curve fitting based on described first sampled point is calculated the step of the junction curve of not closed part between described starting point and described terminal and includes:
Obtaining carries out curve fitting based on described first sampled point is calculated a plurality of matched curve;
Calculate the AIC value of each described matched curve, using described matched curve minimum for AIC value as the junction curve of part not closed between described starting point and described terminal.
Alternatively, described by the picture that encloses of described shot operation track after Guan Bi as before the step of sectional drawing, described screenshot method further comprises the steps of:
Described shot operation track after Guan Bi takes the second sampled point of default second quantity, calculates the curvature of each described second sampled point successively, and the curvature of described second sampled point curvature of calculated second sampled point being adjacent compares;
When the difference that the curvature not having described second sampled point is adjacent between the curvature of described second sampled point is more than the first predetermined threshold value, perform the described picture enclosed by described shot operation track after the Guan Bi step as sectional drawing;
After the step that the curvature of described described second sampled point curvature of calculated second sampled point being adjacent compares, described screenshot method further comprises the steps of:
When the difference that the curvature having described second sampled point is adjacent between the curvature of described second sampled point is more than the first predetermined threshold value, record curvature difference is more than described second sampled point of described first predetermined threshold value, and the coordinate data of the second sampled point each described is multiplied by default weight;
Described second sampled point being multiplied by default weight is used to carry out curve fitting, with the coordinate data of described second sampled point of more new record.
Alternatively, before the step of the first sampled point presetting the first quantity between starting point and the terminal of described acquisition described shot operation track, described screenshot method further comprises the steps of:
When described shot operation track does not forms closed curve, obtain the distance between described starting point and the described terminal of described shot operation track;
When distance between described starting point and described terminal is less than the second predetermined threshold value, perform to preset between starting point and the terminal of described acquisition described shot operation track the step of the first sampled point of the first quantity.
Alternatively, after the step of the distance between described starting point and the described terminal of described acquisition described shot operation track, described screenshot method also includes:
When distance between described starting point and described terminal is more than or equal to the second predetermined threshold value, export again the information of sectional drawing.
The screenshot method of present invention proposition and device, when shot operation track shot operation being detected does not forms closed curve, obtain and preset the first sampled point of the first quantity between starting point and the terminal of shot operation track and carry out curve fitting based on the first sampled point and be calculated the junction curve of not closed part between beginning and end, use not closed part between junction curve connection source and the terminal obtained, so that shot operation track is connected into closed curve, making in shot operation track the junction curve between starting point and terminal is smoothed curve, improve the precision of sectional drawing.
Accompanying drawing explanation
Fig. 1 is the hardware architecture diagram realizing each one optional mobile terminal of embodiment of the present invention;
Fig. 2 is mobile terminal communication system schematic diagram;
Fig. 3 is the high-level schematic functional block diagram of sectional drawing device first embodiment of the present invention;
Fig. 4 is the present invention existing curve closed procedure and the contrast schematic diagram of curve closed procedure of the present invention;
Fig. 5 is the schematic diagram modifying shot operation track;
Fig. 6 is the high-level schematic functional block diagram of sectional drawing device the second embodiment of the present invention;
Fig. 7 is that the schematic diagram that you process is put by the present invention in the sectional drawing geometric locus mean curvature portion of changing greatly;
Fig. 8 is the schematic flow sheet of screenshot method first embodiment of the present invention;
Fig. 9 is the schematic flow sheet of screenshot method the second embodiment of the present invention;
Figure 10 is the schematic flow sheet of screenshot method the 3rd embodiment of the present invention.
The realization of the object of the invention, functional characteristics and advantage will in conjunction with the embodiments, are described further referring to the drawings.
Detailed description of the invention
Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The mobile terminal realizing each embodiment of the present invention is described referring now to accompanying drawing.In follow-up description, use the suffix being used for representing such as " module ", " parts " or " unit " of element only for the explanation of the beneficially present invention, itself do not have specific meaning.Therefore, " module " can mixedly use with " parts ".
Mobile terminal can be implemented in a variety of manners.Such as, the terminal described in the present invention can include mobile terminal and the fixed terminal of such as numeral TV, desk computer etc. of such as mobile phone, smart phone, notebook computer, digit broadcasting receiver, PDA (personal digital assistant), PAD (panel computer), PMP (portable media player), guider etc..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 the element of mobile purpose, structure according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the hardware configuration signal realizing each optional mobile terminal of embodiment one of the present invention.
Mobile terminal 100 can include wireless communication unit 110, A/V (audio/video) input block 120, user input unit 130, output unit 150, memorizer 160, interface unit 170, controller 180 and power subsystem 190 etc..Fig. 1 shows the mobile terminal with various assembly, it should be understood that be not required for implementing all assemblies illustrated.Can alternatively implement more or less of assembly.Will be discussed in more detail below the element of mobile terminal.
Wireless communication unit 110 generally includes one or more assembly, and it allows the radio communication between mobile terminal 100 and radio communication device or network.Such as, at least one during wireless communication unit can include broadcast reception module 111 and mobile communication module 112.
Broadcast reception module 111 receives broadcast singal and/or broadcast related information via broadcast channel from external broadcasting management server.Broadcast channel can include satellite channel and/or terrestrial channel.Broadcast management server can be to generate and send the broadcast singal and/or broadcast related information and the server sending it to terminal generated before broadcast singal and/or the server of broadcast related information or reception.Broadcast singal can include TV broadcast singal, radio signals, data broadcasting signal etc..And, broadcast singal may further include the broadcast singal combined with TV or radio signals.Broadcast related information can also provide via mobile communications network, and in this case, broadcast related information can be received by mobile communication module 112.Broadcast singal can exist in a variety of manners, such as, it can exist with the electronic program guides (EPG) of DMB (DMB), the form of the electronic service guidebooks (ESG) etc. of digital video broadcast-handheld (DVB-H).Broadcast reception module 111 can be broadcasted by using various types of broadcasters to receive signal.Especially, broadcast reception module 111 can be by using such as multimedia broadcasting-ground (DMB-T), DMB-satellite (DMB-S), DVB-hand-held (DVB-H), forward link media (MediaFLO) data broadcaster, the digital broadcast apparatus of received terrestrial digital broadcasting integrated service (ISDB-T) etc. receive digital broadcasting.Broadcast reception module 111 may be constructed such that and is adapted to provide for the various broadcasters of broadcast singal and above-mentioned digital broadcast apparatus.The broadcast singal and/or the broadcast related information that receive via broadcast reception module 111 can be stored in memorizer 160 (or other type of storage medium).
Mobile communication module 112 sends radio signals at least one in base station (such as, access point, node B etc.), exterior terminal and server and/or receives from it radio signal.Such radio signal can include voice call signal, video calling signal or the various types of data sending according to text and/or Multimedia Message and/or receiving.
A/V input block 120 is used for receiving audio or video signal.A/V input block 120 can include camera 121 and mike 122, and the view data of the camera 121 static images to being obtained by image capture apparatus in Video Capture pattern or image capture mode or video processes.Picture frame after process may be displayed on display unit 151.Picture frame after camera 121 processes can be stored in memorizer 160 (or other storage medium) or be transmitted via wireless communication unit 110, can provide two or more cameras 121 according to the structure of mobile terminal.Mike 122 can receive sound (voice data) via mike in telephone calling model, logging mode, speech recognition mode etc. operational mode, and can be voice data by such acoustic processing.Audio frequency (voice) data after process can be converted to can be sent to via mobile communication module 112 the form output of mobile communication base station in the case of telephone calling model.Mike 122 can be implemented various types of noise and eliminate noise or the interference that (or suppression) algorithm produces with elimination (or suppression) during receiving and send audio signal.
User input unit 130 can generate key input data to control the various operations of mobile terminal according to the order of user's input.User input unit 130 allows user to input various types of information, and can include keyboard, metal dome, touch pad (such as, detection due to touched and cause resistance, pressure, the sensitive component of change of electric capacity etc.), roller, rocking bar etc..Especially, when touch pad is superimposed upon on display unit 151 as a layer, touch screen can be formed.
Interface unit 170 is used as at least one external device (ED) and is connected, with mobile terminal 100, the interface that can pass through.Such as, external device (ED) can include wired or wireless head-band earphone port, external power source (or battery charger) port, wired or wireless FPDP, memory card port, have the port of device of identification module, audio frequency input/output (I/O) port, video i/o port, ear port etc. for connecting.Identification module can be that storage is for verifying that user uses the various information of mobile terminal 100 and can include subscriber identification module (UIM), client identification module (SIM), Universal Subscriber identification module (USIM) etc..It addition, the device (hereinafter referred to as " identification device ") with identification module can be to take the form of smart card, therefore, identify that device can be connected with mobile terminal 100 via port or other attachment means.Interface unit 170 may be used for receiving from the input (such as, data message, electric power etc.) of external device (ED) and the one or more elements input received being transferred in mobile terminal 100 or may be used for transmitting data between mobile terminal and external device (ED).
Additionally, when mobile terminal 100 is connected with external base, interface unit 170 can serve as allowing to provide the path of mobile terminal 100 or can serve as to allow from the various command signals of base input from base electric power by it and is transferred to the path of mobile terminal by it.May serve as identifying whether mobile terminal is accurately fitted within the signal base from various command signals or the electric power of base input.Output unit 150 is configured to provide output signal (such as, audio signal, video signal, alarm signal, vibration signal etc.) with vision, audio frequency and/or tactile manner.Output unit 150 can include display unit 151 and dio Output Modules 152 etc..
Display unit 151 may be displayed on the information processed in mobile terminal 100.Such as, when mobile terminal 100 is in telephone calling model, display unit 151 can show the user interface (UI) relevant with call or other communicate (such as, text messaging, multimedia file download etc.) or graphic user interface (GUI).When mobile terminal 100 is in video calling pattern or image capture mode, display unit 151 can show image and/or the image of reception, UI or GUI illustrating video or image and correlation function etc. of capture.
Meanwhile, when display unit 151 and touch pad the most superposed on one another with formed touch screen time, display unit 151 can serve as input equipment and output device.Display unit 151 can include at least one in liquid crystal display (LCD), thin film transistor (TFT) LCD (TFT-LCD), Organic Light Emitting Diode (OLED) display, flexible display, three-dimensional (3D) display etc..Some in these display may be constructed such that transparence to allow user to watch from outside, this is properly termed as transparent display, and typical transparent display can for example, TOLED (transparent organic light emitting diode) display etc..According to the specific embodiment wanted, mobile terminal 100 can include two or more display units (or other display device), such as, mobile terminal can 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.
Dio Output Modules 152 can mobile terminal be in call signal receive under the isotype such as pattern, call mode, logging mode, speech recognition mode, broadcast reception mode time, that wireless communication unit 110 is received or storage in memorizer 160 voice data transducing audio signal and be output as sound.And, dio Output Modules 152 can provide the audio frequency output (such as, call signal receive sound, message sink sound etc.) relevant to the specific function of mobile terminal 100 execution.Dio Output Modules 152 can include pick up, buzzer etc..
Memorizer 160 can store the process performed by controller 180 and the software program controlling operation etc., or can temporarily store the data (such as, telephone directory, message, still image, video etc.) that oneself maybe will export through output.And, memorizer 160 can be to store vibration and the data of audio signal of the various modes about exporting when touching and being applied to touch screen.
Memorizer 160 can include the storage medium of at least one type, storage medium includes flash memory, hard disk, multimedia card, card-type memorizer (such as, SD or DX memorizer etc.), random access storage device (RAM), static random-access memory (SRAM), read only memory (ROM), Electrically Erasable Read Only Memory (EEPROM), programmable read only memory (PROM), magnetic storage, disk, CD etc..And, mobile terminal 100 can be connected the network storage device of the storage function performing memorizer 160 and cooperate with by network.
Controller 180 generally controls the overall operation of mobile terminal.Such as, controller 180 performs the control relevant to voice call, data communication, video calling etc. and process.It addition, controller 180 can include the multi-media module 181 for reproducing (or playback) multi-medium data, multi-media module 181 can construct in controller 180, or it is so structured that separates with controller 180.Controller 180 can perform pattern recognition process, so that the handwriting input performed on the touchscreen or picture drafting input are identified as character or image.
Power subsystem 190 receives external power or internal power under the control of controller 180 and provides the suitable electric power operated needed for each element and assembly.
Various embodiment described herein can be implemented to use such as computer software, hardware or its any combination of computer-readable medium.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), field programmable gate array (FPGA), processor, controller, microcontroller, microprocessor, being designed to perform at least one in the electronic unit of function described herein and implement, in some cases, such embodiment can be implemented in controller 180.Implementing for software, the embodiment of such as process or function can be implemented with allowing the single software module performing at least one function or operation.Software code value can be implemented by the software application (or program) write with any suitable programming language, and software code value can be stored in memorizer 160 and be performed by controller 180.
So far, oneself is through describing mobile terminal according to its function.Below, for the sake of brevity, the slide type mobile terminal in the various types of mobile terminals that will describe such as folded form, board-type, oscillating-type, slide type mobile terminal etc. is as example.Therefore, the present invention can be applied to any kind of mobile terminal, and is not limited to slide type mobile terminal.
Mobile terminal 100 may be constructed such that utilization operates via frame or the most wired and radio communication device of packet transmission data and satellite-based communicator as shown in Figure 1.
The communicator being wherein operable to according to the mobile terminal of the present invention is described referring now to Fig. 2.
Such communicator can use different air interfaces and/or physical layer.Such as, the air interface used by communicator includes such as frequency division multiple access (FDMA), time division multiple acess (TDMA), CDMA (CDMA) and universal mobile communications device (UMTS) (especially, Long Term Evolution (LTE)), global mobile communication device (GSM) etc..As non-limiting example, explained below relates to cdma communication device, but such teaching is equally applicable to other type of device.
With reference to Fig. 2, cdma wireless communication device can include multiple mobile terminal 100, multiple base station (BS) 270, base station controller (BSC) 275 and mobile switching centre (MSC) 280.MSC280 is configured to form interface with Public Switched Telephony Network (PSTN) 290.MSC280 is also structured to and the BSC275 formation interface that can be couple to base station 270 via back haul link.If back haul link can construct according to any one in the interface that Ganji knows, interface includes such as E1/T1, ATM, IP, PPP, frame relay, HDSL, ADSL or xDSL.It will be appreciated that device as shown in Figure 2 can include multiple BSC2750.
Each BS270 can service one or more subregion (or region), by each subregion of multidirectional antenna or the antenna covering pointing to specific direction radially away from BS270.Or, each subregion can be covered by two or more antennas for diversity reception.Each BS270 may be constructed such that support multiple frequencies distribution, and the distribution of each frequency has specific frequency spectrum (such as, 1.25MHz, 5MHz etc.).
Intersecting that subregion and frequency are distributed can be referred to as CDMA Channel.BS270 can also be referred to as the sub-device of base station transceiver (BTS) or other equivalent terms.In this case, term " base station " may be used for broadly representing single BSC275 and at least one BS270.Base station can also be referred to as " cellular station ".Or, each subregion of specific BS270 can be referred to as multiple cellular station.
As shown in Figure 2, broadcast singal is sent in device the mobile terminal 100 operated by broadcsting transmitter (BT) 295.Broadcast reception module 111 is arranged on mobile terminal 100 and sentences the broadcast singal that reception is sent by BT295 as shown in Figure 1.In fig. 2 it is shown that several global pick devices (GPS) satellite 300.Satellite 300 helps to position at least one in multiple mobile terminals 100.
In fig. 2, depict multiple satellite 300, it is understood that be, it is possible to use any number of satellite obtains useful location information.GPS module 115 is generally configured to coordinate the location information wanted with acquisition with satellite 300 as shown in Figure 1.Substitute GPS tracking technique or outside GPS tracking technique, it is possible to use other technology of the position of mobile terminal can be followed the tracks of.It addition, at least one gps satellite 300 can optionally or additionally process satellite dmb transmission.
As a typical operation of radio communication device, BS270 receives the reverse link signal from various mobile terminals 100.Mobile terminal 100 generally participates in call, information receiving and transmitting communicates with other type of.Each reverse link signal that certain base station 270 receives is processed in specific BS270.The data obtained are forwarded to the BSC275 being correlated with.BSC provides call resource distribution and the mobile management function of the coordination of soft switching process included between BS270.The data received also are routed to MSC280 by BSC275, and it provides the extra route service for forming interface with PSTN290.Similarly, PSTN290 Yu MSC280 forms interface, MSC Yu BSC275 forms interface, and BSC275 correspondingly controls BS270 so that forward link signals to be sent to mobile terminal 100.
Based on above-mentioned mobile terminal hardware configuration and the structure of communicator, each embodiment of sectional drawing device of the present invention is proposed.
As it is shown on figure 3, the high-level schematic functional block diagram that Fig. 3 is sectional drawing 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 plot of a preferred embodiment, those skilled in the art, around the functional module of the sectional drawing device shown in Fig. 3, can carry out supplementing of new functional module easily;The title of each functional module is self-defined title, is only used for assisting each program function block understanding this sectional drawing device, is not used in restriction technical scheme, and the core of technical solution of the present invention is, the function that the functional module of each self-defined title is to be reached.
The present embodiment proposes a kind of sectional drawing device, and sectional drawing device includes:
Acquisition module 10, for when shot operation being detected, obtains the shot operation track of the formation of shot operation;
In the present embodiment, the touch operation that user is formed by the slip touch operation on mobile terminal display screen triggers shot operation, the slip touch track that this slip touch operation is formed is shot operation track, and the touch operation point that this Guidong touch operation track is formed in display screen by user is formed.
It is understandable that, owing to user may be often in the operation such as display screen enterprising line slip touch operation such as moving icon and unblock etc. of mobile terminal, then when detecting based on slip touch operation on mobile terminal display screen, determine whether mobile terminal is in free sectional drawing pattern;In movement during the freest sectional drawing pattern, just determine that current slip touch operation is shot operation.Or, when detecting based on slip touch operation on mobile terminal display screen, determine whether the display interface of mobile terminal is to preset interface (as unlocked interface);When display interface at mobile terminal is not to preset interface, determine that current slip touch operation is shot operation.In other variant embodiment, it is possible to first screen is carried out screenshotss operation, then carries out shot operation in the picture that screenshotss operation obtains, it is possible to directly carry out free shot operation at current screen.
Sampling module 20, for when shot operation track does not forms closed curve, obtains the first sampled point presetting the first quantity between starting point and the terminal of shot operation track;
In the present embodiment, when the first sampled point at the first predetermined number is N (N > 2), N/2 the first sampled point can be taken to terminal direction by the starting point of shot operation track, and being taken N/2 the first sampled point to starting point direction by the terminal of shot operation track, it is more accurate that the first sampled point that the method sampling obtains is close to the matched curve that the beginning and end of shot operation track obtains.Can and be understood by, having the starting point of shot operation track and emphasis to start to sample the quantity of the first sampled point obtained can be different, such as taken N/3 the first sampled point to terminal direction by the starting point of shot operation track, and taken N2/3 the first sampled point to starting point direction by the terminal of shot operation track, quantity can be set as required by user, and the first number of users can be set according to precision and efficiency requirements.
Computing module 30, is calculated the junction curve of not closed part between beginning and end for carrying out curve fitting based on the first sampled point;
Curve matching can pass through method of least square, there are the accomplished in many ways such as Lagrange's interpolation, Newton interpolating method, Newton iteration method, interval two way classification, Secant Method, Jacobi iterative method and newton Ke Tesi numerical integrating, illustrating as a example by method of least square below, the concrete formula that method of least square carries out multinomial curve matching is as follows:
Y=aX^k+bX^ (k-1)+...+eX+f, wherein, k value is respectively 1, and 2 ... N-1.The most altogether simulate (N-1) bar curve, by bringing the coordinate of the first different sampled points into, simulate a plurality of curve.
When carrying out multinomial curve matching according to method of least square, can generate according to default fitting formula and organize multinomial more, to generate multiple matched curves (be understandable that and also can generate multiple matched curve otherwise), choose in multiple matched curve optimum matched curve as final junction curve, i.e. computing module 30 includes:
Computing unit, is calculated a plurality of matched curve for obtaining to carry out curve fitting based on the first sampled point and calculates the AIC value of each matched curve;
Processing unit, for using the matched curve of AIC value minimum as the junction curve of not closed part between beginning and end.
AIC (Akaikeinformationcriterion, akaike information criterion) value is a kind of standard of measure statistical models fitting Optimality, the complexity of estimated model and the Optimality of these models fitting data can be weighed, the least fitting data of RIC value is the most excellent, then using matched curve minimum for AIC value as the junction curve of not closed part between beginning and end.
Link block 40, not closed part between junction curve connection source and the terminal using acquisition, to connect into closed curve by shot operation track;
Processing module 50, the picture that the shot operation track after closing encloses is as sectional drawing.
Starting point and the terminal of matched curve are connected formation closed curve with starting point and the terminal of shot operation track, shot operation can be realized.The most existing free sectional drawing and this programme process after the comparison of track, the connection of Image to left sectional drawing track starting point and terminal is the loftiest, and the connection track of the starting point of Image to right sectional drawing track and terminal is the most smooth.
nullIt is understandable that,The shot operation track that user is formed in display interface user may want amendment,But again draw sectional drawing track then can cause or not accurate enough,The most then need user to carry out on the basis of currently displaying shot operation track to modify,Such as continue to draw shot operation track at display interface shown in Fig. 5,And using the picture in the overlapping region between current shot operation track and the shot operation track of display as sectional drawing,If closed procedure can be carried out when shot operation track is non-closed curve the most in the case,I.e. when shot operation track does not forms closed curve,Determine whether current display interface shows other shot operation tracks,When current interface shows other shot operation tracks and currently there is overlapping region between shot operation track and the shot operation track of display,Using the picture in overlapping region as sectional drawing;When there is not overlapping region between front shot operation track and the shot operation track of display, then sampling module 20 obtains the first sampled point presetting the first quantity between starting point and the terminal of shot operation track.
The sectional drawing device that the present embodiment proposes, when shot operation track shot operation being detected does not forms closed curve, obtain and preset the first sampled point of the first quantity between starting point and the terminal of shot operation track and carry out curve fitting based on the first sampled point and be calculated the junction curve of not closed part between beginning and end, use not closed part between junction curve connection source and the terminal obtained, so that shot operation track is connected into closed curve, making in shot operation track the junction curve between starting point and terminal is smoothed curve, improve the precision of sectional drawing.
Further, with reference to Fig. 6, proposing sectional drawing device the second embodiment of the present invention based on first embodiment, in the present embodiment, sectional drawing device also includes:
Computing module 30, is additionally operable to take in the shot operation track after Guan Bi the second sampled point of default second quantity, calculates the curvature of each the second sampled point successively;
Comparison module 60, the curvature of the second sampled point for the curvature of calculated second sampled point being adjacent compares;
Between second sampled point and the first sampled point, quantity may be the same or different in the present embodiment, the sampling point distributions taken is in whole shot operation track, the sampled distance between each second sampled point can be determined according to the quantity of the second sampled point, when the second quantity is N, can respectively take 2/N the second sampled point in being connected as the shot operation track of closed curve and being not connected with as the shot operation track of closed curve and form N number of second sampled point.In calculated curve, the curvature of each the second sampled point is that prior art is not repeating at this, can be ranked up according to position relationship after the curvature calculating all second sampled points, and difference between each second sampled point after comparative sorting successively, the sectional drawing geometric locus of the position of second sampled point bigger with the curvature difference between adjacent second sampled point may smooth not easily there is wedge angle as shown in Figure 7.
Processing module 50, is additionally operable to when the difference that the curvature not having the second sampled point is adjacent between the curvature of the second sampled point is more than the first predetermined threshold value, and the picture enclosed by the shot operation track after Guan Bi is as sectional drawing;
Logging modle 70, for when the difference that the curvature having the second sampled point is adjacent between the curvature of the second sampled point is more than the first predetermined threshold value, record curvature difference is more than the second sampled point of the first predetermined threshold value;
Computing module 30, is additionally operable to be multiplied by the coordinate data of each the second sampled point default weight, and wherein the weight the closer to other the second sampled point of the second sampled point of record is the least;
More new module 80, for using the second sampled point being multiplied by default weight to carry out curve fitting, with the coordinate data of the second sampled point of more new record.
With instantiation, said process is illustrated below, choose N/2 (N>2) the individual point before wedge angle coordinate on line track, it is designated as Q1, Q2 respectively ... QK, K=1,2 ... N/2, the biggest expression of K from wedge angle coordinate more away from, respectively to data point Q1, Q2 ... QK gives weight coefficient q1, q2 ... qk (q1<q2 ...<qk), the obtaining value method of weight is a lot, and method may include that A) q1=1;Q2=2;... q2=K;B) q1=1/K;Q2=2/K;... q2=1 etc.;N/2 (N>2) individual point after choosing wedge angle coordinate, it is designated as H1, H2 respectively ... HK, K=1,2 ... N/2, same method is used to give weight coefficient h1, h2 ... hk (h1<h2 ...<hk), above A) and B) two ways, by weight coefficient q1, q2 ... qk and h1, h2 ... hk is respectively to data Q1, Q2 ... QK and H1, H2 ... HK is weighted, the coordinate data using the second sampled point after weighting carries out multi-cure-fitting, this curve fitting theory is identical with first embodiment, does not repeats them here.
In the present embodiment, the part by changing greatly shot operation track mean curvature carries out curve fitting so that the shot operation track obtained is more smooth, and sectional drawing degree of accuracy is higher.
Further, based on first or second embodiments proposition sectional drawing device the 3rd embodiment of the present invention, in the present embodiment,
Acquisition module 10, is additionally operable to when shot operation track does not forms closed curve, obtains the distance between starting point and the terminal of shot operation track;
Sampling module 20, when the distance being additionally operable between starting point and terminal is less than the second predetermined threshold value, obtains the first sampled point presetting the first quantity between starting point and the terminal of shot operation track.
Carrying out curve fitting when distance between the beginning and end of the shot operation track carrying out shot operation formation due to user is excessive then can be the most inaccurate, then distance between beginning and end just carries out curve fitting time less and carries out curve closed procedure.Distance between starting point and the terminal of the present embodiment is air line distance.
It is understandable that, can not respond when distance between the starting point and terminal of shot operation track is excessive, also user can be reminded to re-start just operation, i.e. state sectional drawing device also to include: output module, when the distance between starting point and terminal is more than or equal to the second predetermined threshold value, export again the information of sectional drawing.The information of this output is " sectional drawing track can not form Guan Bi, please re-start shot operation ".
In the present embodiment, only distance between the starting point and terminal of shot operation track carries out curve closed procedure time less, improves sectional drawing precision.
The present invention further provides a kind of screenshot method.
With reference to the schematic flow sheet that Fig. 8, Fig. 8 are screenshot method first embodiment of the present invention.
The present embodiment one screenshot method, screenshot method includes step:
Step S10, when shot operation being detected, obtains the shot operation track of the formation of shot operation;
In the present embodiment, the touch operation that user is formed by the slip touch operation on mobile terminal display screen triggers shot operation, the slip touch track that this slip touch operation is formed is shot operation track, and the touch operation point that this Guidong touch operation track is formed in display screen by user is formed.
It is understandable that, owing to user may be often in the operation such as display screen enterprising line slip touch operation such as moving icon and unblock etc. of mobile terminal, then when detecting based on slip touch operation on mobile terminal display screen, determine whether mobile terminal is in free sectional drawing pattern;In movement during the freest sectional drawing pattern, just determine that current slip touch operation is shot operation.Or, when detecting based on slip touch operation on mobile terminal display screen, determine whether the display interface of mobile terminal is to preset interface (as unlocked interface);When display interface at mobile terminal is not to preset interface, determine that current slip touch operation is shot operation.In other variant embodiment, it is possible to first screen is carried out screenshotss operation, then carries out shot operation in the picture that screenshotss operation obtains, it is possible to directly carry out free shot operation at current screen.
Step S20, when shot operation track does not forms closed curve, obtains the first sampled point presetting the first quantity between starting point and the terminal of shot operation track;
In the present embodiment, when the first sampled point at the first predetermined number is N (N > 2), N/2 the first sampled point can be taken to terminal direction by the starting point of shot operation track, and being taken N/2 the first sampled point to starting point direction by the terminal of shot operation track, it is more accurate that the first sampled point that the method sampling obtains is close to the matched curve that the beginning and end of shot operation track obtains.Can and be understood by, having the starting point of shot operation track and emphasis to start to sample the quantity of the first sampled point obtained can be different, such as taken N/3 the first sampled point to terminal direction by the starting point of shot operation track, and taken N2/3 the first sampled point to starting point direction by the terminal of shot operation track, quantity can be set as required by user, and the first number of users can be set according to precision and efficiency requirements.
Step S30, carries out curve fitting based on the first sampled point and is calculated the junction curve of not closed part between beginning and end, uses not closed part between junction curve connection source and the terminal obtained, so that shot operation track is connected into closed curve;
Multinomial curve matching can pass through method of least square, there are the accomplished in many ways such as Lagrange's interpolation, Newton interpolating method, Newton iteration method, interval two way classification, Secant Method, Jacobi iterative method and newton Ke Tesi numerical integrating, illustrating as a example by method of least square below, the concrete formula that method of least square carries out multinomial curve matching is as follows:
Y=aX^k+bX^ (k-1)+...+eX+f, wherein, k value is respectively 1, and 2 ... N-1.The most altogether simulate (N-1) bar curve, by bringing the coordinate of the first different sampled points into, simulate a plurality of curve.
When carrying out multinomial curve matching according to method of least square, can generate according to default fitting formula and organize multinomial more, to generate multiple matched curves (be understandable that and also can generate multiple matched curve otherwise), choose matched curve optimum in multiple matched curve to include as final junction curve, the step i.e. " carrying out curve fitting based on the first sampled point and being calculated the junction curve of not closed part between beginning and end ":
Obtaining carries out curve fitting based on the first sampled point is calculated a plurality of matched curve;
Calculate the AIC value of each matched curve, using matched curve minimum for AIC value as the junction curve of not closed part between beginning and end.
AIC (Akaikeinformationcriterion, akaike information criterion) value is a kind of standard of measure statistical models fitting Optimality, the complexity of estimated model and the Optimality of these models fitting data can be weighed, the least fitting data of RIC value is the most excellent, then using matched curve minimum for AIC value as the junction curve of not closed part between beginning and end.
Step S40, the picture enclosed by the shot operation track after Guan Bi is as sectional drawing.
Starting point and the terminal of matched curve are connected formation closed curve with starting point and the terminal of shot operation track, shot operation can be realized.The most existing free sectional drawing and this programme process after the comparison of track, the connection of Image to left sectional drawing track starting point and terminal is the loftiest, and the connection track of the starting point of Image to right sectional drawing track and terminal is the most smooth.
nullIt is understandable that,The shot operation track that user is formed in display interface user may want amendment,But again draw sectional drawing track then can cause or not accurate enough,The most then need user to carry out on the basis of currently displaying shot operation track to modify,Such as continue to draw shot operation track at display interface shown in Fig. 5,And using the picture in the overlapping region between current shot operation track and the shot operation track of display as sectional drawing,If closed procedure can be carried out when shot operation track is non-closed curve the most in the case,I.e. when shot operation track does not forms closed curve,Determine whether current display interface shows other shot operation tracks,When current interface shows other shot operation tracks and currently there is overlapping region between shot operation track and the shot operation track of display,Using the picture in overlapping region as sectional drawing;When there is not overlapping region between front shot operation track and the shot operation track of display, then take the first sampled point presetting the first quantity between starting point and the terminal of shot operation track.
The screenshot method that the present embodiment proposes, when shot operation track shot operation being detected does not forms closed curve, obtain and preset the first sampled point of the first quantity between starting point and the terminal of shot operation track and carry out curve fitting based on the first sampled point and be calculated the junction curve of not closed part between beginning and end, use not closed part between junction curve connection source and the terminal obtained, so that shot operation track is connected into closed curve, making in shot operation track the junction curve between starting point and terminal is smoothed curve, improve the precision of sectional drawing.
Further, with reference to Fig. 9, proposing screenshot method the second embodiment of the present invention based on first embodiment, in the present embodiment, before step S40, screenshot method further comprises the steps of:
Step S50, takes the second sampled point of default second quantity in the shot operation track after Guan Bi, calculate the curvature of each the second sampled point successively, and the curvature of the second sampled point curvature of calculated second sampled point being adjacent compares;
Between second sampled point and the first sampled point, quantity may be the same or different in the present embodiment, the sampling point distributions taken is in whole shot operation track, the sampled distance between each second sampled point can be determined according to the quantity of the second sampled point, when the second quantity is N, can respectively take 2/N the second sampled point in being connected as the shot operation track of closed curve and being not connected with as the shot operation track of closed curve and form N number of second sampled point.In calculated curve, the curvature of each the second sampled point is that prior art is not repeating at this, can be ranked up according to position relationship after the curvature calculating all second sampled points, and difference between each second sampled point after comparative sorting successively, the sectional drawing geometric locus of the position of second sampled point bigger with the curvature difference between adjacent second sampled point may smooth not easily there is wedge angle as shown in Figure 7.
When the difference that the curvature not having the second sampled point is adjacent between the curvature of the second sampled point is more than the first predetermined threshold value, perform step S40;
After step S50, screenshot method further comprises the steps of:
Step S60, when the difference that the curvature having the second sampled point is adjacent between the curvature of the second sampled point is more than the first predetermined threshold value, record curvature difference is more than the second sampled point of the first predetermined threshold value, and the coordinate data of each the second sampled point is multiplied by default weight, wherein the weight the closer to other the second sampled point of the second sampled point of record is the least;
Step S70, uses the second sampled point being multiplied by default weight to carry out curve fitting, with the coordinate data of the second sampled point of more new record;
Step S80, the picture that the shot operation track after updating encloses is as sectional drawing.
With instantiation, said process is illustrated below, choose N/2 (N>2) the individual point before wedge angle coordinate on line track, it is designated as Q1, Q2 respectively ... QK, K=1,2 ... N/2, the biggest expression of K from wedge angle coordinate more away from, respectively to data point Q1, Q2 ... QK gives weight coefficient q1, q2 ... qk (q1<q2 ...<qk), the obtaining value method of weight is a lot, and method may include that A) q1=1;Q2=2;... q2=K;B) q1=1/K;Q2=2/K;... q2=1 etc.;N/2 (N>2) individual point after choosing wedge angle coordinate, it is designated as H1, H2 respectively ... HK, K=1,2 ... N/2, same method is used to give weight coefficient h1, h2 ... hk (h1<h2 ...<hk), above A) and B) two ways, by weight coefficient q1, q2 ... qk and h1, h2 ... hk is respectively to data Q1, Q2 ... QK and H1, H2 ... HK is weighted, the coordinate data using the second sampled point after weighting carries out multi-cure-fitting, this curve fitting theory is identical with first embodiment, does not repeats them here.
In the present embodiment, the part by changing greatly shot operation track mean curvature carries out curve fitting so that the shot operation track obtained is more smooth, and sectional drawing degree of accuracy is higher.
Further, propose screenshot method the 3rd embodiment of the present invention based on first or second embodiments, in the present embodiment, also include before step S20:
Step S90, when shot operation track does not forms closed curve, obtains the distance between starting point and the terminal of shot operation track;
When distance between starting point and terminal is less than the second predetermined threshold value, perform step S20.
Carrying out curve fitting when distance between the beginning and end of the shot operation track carrying out shot operation formation due to user is excessive then can be the most inaccurate, then distance between beginning and end just carries out curve fitting time less and carries out curve closed procedure.Distance between starting point and the terminal of the present embodiment is air line distance.
It is understood that distance between the starting point and terminal of shot operation track can not respond time excessive, it is possible to remind user to re-start just operation, i.e. after step S90, also include:
When distance between starting point and terminal is more than or equal to the second predetermined threshold value, export again the information of sectional drawing.The information of this output is " sectional drawing track can not form Guan Bi, please re-start shot operation ".
In the present embodiment, only distance between the starting point and terminal of shot operation track carries out curve closed procedure time less, improves sectional drawing precision.
It should be noted that, in this article, term " includes ", " comprising " or its any other variant are intended to comprising of nonexcludability, so that include that the process of a series of key element, method, article or device not only include those key elements, but also include other key elements being not expressly set out, or also include the key element intrinsic for this process, method, article or device.In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that there is also other identical element in including the process of this key element, method, article or device.
Through the above description of the embodiments, those skilled in the art is it can be understood that can add the mode of required general hardware platform by software to above-described embodiment method and realize, can certainly pass through hardware, but a lot of in the case of the former is more preferably embodiment.Based on such understanding, the part that prior art is contributed by technical scheme the most in other words can embody with the form of software product, this computer software product is stored in a storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions with so that a station terminal equipment (can be mobile terminal, computer, server, air-conditioner, or the network equipment etc.) perform each embodiment of the present invention method.
These are only the preferred embodiments of the present invention; not thereby the scope of the claims of the present invention is limited; every equivalent structure utilizing description of the invention and accompanying drawing content to be made or equivalence flow process conversion; or directly or indirectly it is used in other relevant technical fields, the most in like manner it is included in the scope of patent protection of the present invention.

Claims (10)

1. a sectional drawing device, it is characterised in that described sectional drawing device includes:
Acquisition module, for when shot operation being detected, obtains the shot operation track that described shot operation is formed;
Sampling module, for when described shot operation track does not forms closed curve, obtains the first sampled point presetting the first quantity between starting point and the terminal of described shot operation track;
Computing module, calculates for carrying out curve fitting based on described first sampled point and obtains the junction curve of not closed part between described starting point and described terminal;
Link block, for using the described junction curve of acquisition to connect not closed part between described starting point and described terminal, so that described shot operation track is connected into closed curve;
Processing module, the picture that the described shot operation track after closing encloses is as sectional drawing.
2. sectional drawing device as claimed in claim 1, it is characterised in that described computing module includes:
Computing unit, is calculated a plurality of matched curve for obtaining to carry out curve fitting based on described first sampled point and calculates the AIC value of each described matched curve;
Processing unit, for using the described matched curve of AIC value minimum as the junction curve of part not closed between described starting point and described terminal.
3. sectional drawing device as claimed in claim 1, it is characterised in that described sectional drawing device also includes:
Described computing module, is additionally operable to take in the described shot operation track after Guan Bi the second sampled point of default second quantity, calculates the curvature of each described second sampled point successively;
Comparison module, the curvature of described second sampled point for the curvature of calculated second sampled point being adjacent compares;
Described processing module, is additionally operable to when the difference that the curvature not having described second sampled point is adjacent between the curvature of described second sampled point is more than the first predetermined threshold value, and the picture enclosed by the described shot operation track after Guan Bi is as sectional drawing;
Logging modle, for when the difference that the curvature having described second sampled point is adjacent between the curvature of described second sampled point is more than the first predetermined threshold value, record curvature difference is more than described second sampled point of described first predetermined threshold value;
Described computing module, is additionally operable to be multiplied by the coordinate data of the second sampled point each described default weight, and wherein the weight the closer to other the second sampled point of described second sampled point of record is the least;
More new module, for using described second sampled point being multiplied by default weight to carry out curve fitting, with the coordinate data of described second sampled point of more new record.
4. the sectional drawing device as described in any one of claim 1-3, it is characterised in that
Described acquisition module, is additionally operable to, when described shot operation track does not forms closed curve, obtain the distance between described starting point and the described terminal of described shot operation track;
Described sampling module, when the distance being additionally operable between described starting point and described terminal is less than the second predetermined threshold value, obtains the first sampled point presetting the first quantity between starting point and the terminal of described shot operation track.
5. sectional drawing device as claimed in claim 4, it is characterised in that described in state sectional drawing device and also include:
Output module, when the distance between described starting point and described terminal is more than or equal to the second predetermined threshold value, exports again the information of sectional drawing.
6. a screenshot method, it is characterised in that described screenshot method step includes:
When shot operation being detected, obtain the shot operation track that described shot operation is formed;
When described shot operation track does not forms closed curve, obtain the first sampled point presetting the first quantity between starting point and the terminal of described shot operation track;
Carry out curve fitting based on described first sampled point to calculate and obtain the junction curve of not closed part between described starting point and described terminal, the described junction curve obtained is used to connect not closed part between described starting point and described terminal, so that described shot operation track is connected into closed curve;
The picture enclosed by described shot operation track after Guan Bi is as sectional drawing.
7. screenshot method as claimed in claim 6, it is characterised in that described carrying out curve fitting based on described first sampled point is calculated the step of the junction curve of not closed part between described starting point and described terminal and includes:
Obtaining carries out curve fitting based on described first sampled point is calculated a plurality of matched curve;
Calculate the AIC value of each described matched curve, using described matched curve minimum for AIC value as the junction curve of part not closed between described starting point and described terminal.
8. screenshot method as claimed in claim 6, it is characterised in that the described picture enclosed by described shot operation track after Guan Bi is as before the step of sectional drawing, and described screenshot method further comprises the steps of:
Described shot operation track after Guan Bi takes the second sampled point of default second quantity, calculates the curvature of each described second sampled point successively, and the curvature of described second sampled point curvature of calculated second sampled point being adjacent compares;
When the difference that the curvature not having described second sampled point is adjacent between the curvature of described second sampled point is more than the first predetermined threshold value, perform the described picture enclosed by described shot operation track after the Guan Bi step as sectional drawing;
After the step that the curvature of described described second sampled point curvature of calculated second sampled point being adjacent compares, described screenshot method further comprises the steps of:
When the difference that the curvature having described second sampled point is adjacent between the curvature of described second sampled point is more than the first predetermined threshold value, record curvature difference is more than described second sampled point of described first predetermined threshold value, and the coordinate data of the second sampled point each described is multiplied by default weight, wherein the weight the closer to other the second sampled point of described second sampled point of record is the least;
Described second sampled point being multiplied by default weight is used to carry out curve fitting, with the coordinate data of described second sampled point of more new record;
The picture that shot operation track after updating encloses is as sectional drawing.
9. the screenshot method as described in any one of claim 6-8, it is characterised in that before the step of the first sampled point presetting the first quantity between starting point and the terminal of described acquisition described shot operation track, described screenshot method further comprises the steps of:
When described shot operation track does not forms closed curve, obtain the distance between described starting point and the described terminal of described shot operation track;
When distance between described starting point and described terminal is less than the second predetermined threshold value, perform to preset between starting point and the terminal of described acquisition described shot operation track the step of the first sampled point of the first quantity.
10. screenshot method as claimed in claim 9, it is characterised in that after the step of the distance between described starting point and the described terminal of described acquisition described shot operation track, described screenshot method also includes:
When distance between described starting point and described terminal is more than or equal to the second predetermined threshold value, export again the information of sectional drawing.
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 true CN105824537A (en) 2016-08-03
CN105824537B 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)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017166959A1 (en) * 2016-03-30 2017-10-05 努比亚技术有限公司 Screenshot method, apparatus, mobile terminal, and computer storage medium
CN107402713A (en) * 2017-07-28 2017-11-28 广东欧珀移动通信有限公司 Accelerate method, apparatus, storage medium and the mobile terminal of blank screen gesture processing
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
CN110941222A (en) * 2019-12-24 2020-03-31 明日能源(苏州)有限公司 Electric energy on-line monitoring system
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
CN111142754A (en) * 2019-12-27 2020-05-12 腾讯科技(深圳)有限公司 Screenshot processing method and device and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110888552B (en) * 2019-11-27 2023-07-07 深圳市康冠商用科技有限公司 Method and device for processing line drawing of infrared touch screen

Citations (6)

* 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
US20120176401A1 (en) * 2011-01-11 2012-07-12 Apple Inc. Gesture Mapping for Image Filter Input Parameters
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 (1)

* 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

Patent Citations (6)

* 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
US20120176401A1 (en) * 2011-01-11 2012-07-12 Apple Inc. Gesture Mapping for Image Filter Input Parameters
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

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017166959A1 (en) * 2016-03-30 2017-10-05 努比亚技术有限公司 Screenshot method, apparatus, mobile terminal, and computer storage medium
CN107402713A (en) * 2017-07-28 2017-11-28 广东欧珀移动通信有限公司 Accelerate method, apparatus, storage medium and the mobile terminal of blank screen gesture processing
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
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
CN110941222A (en) * 2019-12-24 2020-03-31 明日能源(苏州)有限公司 Electric energy on-line monitoring system
CN111142754A (en) * 2019-12-27 2020-05-12 腾讯科技(深圳)有限公司 Screenshot processing method and device and storage medium

Also Published As

Publication number Publication date
CN105824537B (en) 2019-03-01
WO2017166959A1 (en) 2017-10-05

Similar Documents

Publication Publication Date Title
CN105824537A (en) Screenshot capturing method and screenshot capturing device
CN104808912B (en) Inputting interface method of adjustment and device
CN104915141A (en) Method and device for previewing object information
CN105242898A (en) Split-screen display device and method of mobile terminal
CN104750420A (en) Screen capturing method and device
CN105718027A (en) Management method of background application programs and mobile terminal
CN104735255A (en) Split screen display method and system
CN105094555A (en) Method and device for switching application program through swipe gesture
CN105681582A (en) Control color adjusting method and terminal
CN105141738A (en) Volume adjusting method and device
CN104777982B (en) Method and device for switching terminal input method
CN105718200A (en) Page switching device and method based on pressure sensor, and terminal
CN106803860A (en) The storage processing method and device of a kind of terminal applies
CN106933459A (en) Multitask management process and mobile terminal
CN104898940A (en) Picture processing method and device
CN104991772A (en) Remote operation guide method and apparatus
CN106066766A (en) A kind of mobile terminal and control method thereof
CN105760055A (en) Mobile terminal and control method thereof
CN105117155A (en) Mobile terminal and manipulation method therefor
CN105099701A (en) Terminal and terminal authentication method
CN104866175B (en) Mobile terminal one hand mode implementation method and mobile terminal
CN105760052A (en) Mobile terminal and touch method
CN104731499A (en) Method and device for starting background applications and mobile terminal
CN104866195A (en) Intelligent browsing method and intelligent browsing terminal
CN105100463B (en) Terminal SIM switching device and method

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