Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present inventionFormula is described in further detail.
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related toWhen attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodimentDescribed in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appendedThe example of device and method being described in detail in claims, some aspects of the invention are consistent.
Fig. 1 is a kind of picture sending method flow chart provided in an embodiment of the present invention, as shown in Figure 1, comprising the following steps:
101, when detecting in interaction interface to the trigger action of picture delivery option, in the interaction interfaceAt least one mapping picture of upper display, each mapping picture is generated by the picture in designated memory space, and specifies storage with thisThere are mapping relations for picture in space.
102, according to the touch operation to any mapping picture, the operation data of the touch operation is obtained in real time.
If 103, at the end of the touch operation, detecting whether the operation data meets default transmission standard.
If 104, the operation data meets default transmission standard, mapping picture indicated by the touch operation is sent at thisMapped picture in designated memory space.
Method provided in an embodiment of the present invention is deposited by showing in interaction interface with the picture in designated memory spaceIn the mapping picture of mapping relations, allows users to select the picture to be sent in interaction interface, pass through detectionWhether the operation data of touch operation meets preset standard, and selection operation is merged with operation is sent, can simplify operationProcess improves operation convenience.
In the possible implementation of the first of the invention, which includes motion track and movement speed, ifAt the end of the touch operation, detects the operation data and whether meet default transmission standard and include:
When the movement speed is less than pre-set velocity and the length travel is greater than the first preset displacement, the operand is determinedTransmission standard is preset according to this is met;Or,
When the length travel that the movement speed is greater than or equal to pre-set velocity and the motion track is greater than the second preset displacementWhen, determine that the operation data meets the default transmission standard.
In of the invention second possible implementation, this method further include:
During the touch operation, the movement that the picture tracking touch operation is mapped indicated by the touch operation is shownProcess.
In the third possible implementation of the invention, which includes motion track and movement speed, is somebody's turn to doDuring the touch operation, show that the moving process that the picture tracking touch operation is mapped indicated by the touch operation includes:
During the touch operation, show that the touch operation of mapping picture tracking is in longitudinal direction indicated by the touch operationOn moving process;Or,
During the touch operation, according to the operation duration of the movement speed and the touch operation, determine that the touch is graspedDrop point height and position after making indicated mapping picture tracking touch operation movement, shows and reflects indicated by the touch operationPicture is penetrated from the initial position of the touch operation to the moving process the drop point height and position.
In the 4th kind of possible implementation of the invention, this method further include:
If the operation data meets default transmission standard, show that mapping picture indicated by the touch operation is shown from currentShow position along the moving process of the new information display position of desired guiding trajectory to the interaction interface.
In the 5th kind of possible implementation of the invention, this method further include:
In the moving process, the size that picture is mapped indicated by the touch operation is reduced according to preset ratio, untilIt disappears.
In the 6th kind of possible implementation of the invention, this method further include:
In the moving process, mapping picture indicated by the touch operation is shown in such a way that transparency is incremented by.
Fig. 2 is a kind of picture sending method flow chart provided in an embodiment of the present invention, and referring to fig. 2, the embodiment of the present invention mentionsThe executing subject of the picture sending method of confession can be terminal, this method comprises:
201, when detecting in interaction interface to the trigger action of picture delivery option, in the interaction interfaceAt least one mapping picture of upper display, each mapping picture is generated by the picture in designated memory space, and specifies storage with thisThere are mapping relations for picture in space.
In the social application with instant communication function, user can send text information, figure in interaction interfacePiece information, voice messaging and video information etc., wherein when user needs to send pictorial information, by interaction interfaceIn picture delivery option execute trigger action, into the full screen display interface of terminal photograph album, when terminal detects user to trueWhen recognizing the trigger action of delivery option, interaction interface is jumped to, user will be sent out what the full screen display interface selectedThe picture sent, which executes, sends operation, and the picture sent is shown in the transmitted message of the interaction interface.
Above-mentioned picture sending method needs user to recall photograph album manually and carries out picture selection, and then triggering is schemed manually againThe transmission of piece, operating process is relatively complicated, and operation convenience is lower;Moreover, when user selects picture, since terminal is currentInterface display is terminal photograph album, and can not show interaction interface simultaneously, therefore user is during selecting picture, nothingMethod knows whether to have received new information, to solve the above-mentioned problems, directly hand in information the embodiment of the invention provides a kind ofThe picture sending method of mutual interface selection picture.
Wherein, which can be any social application with instant communication function, and user can pass throughPicture transmission is completed to trigger action is executed to picture delivery option in the interaction interface, which can positionIn the function choosing-item column of the bottom end of interaction interface, as shown in Figure 3A, which can also include expression option, languageSound option, take pictures option and additional functional options etc..
When detecting the trigger action to the picture delivery option, function choosing-item column is moved upward to interaction interfaceMiddle position, the picture in designated memory space is shown into the function choosing-item column in the interaction interface in a manner of mappingThe region being available after moving up, the picture to be sent for selection by the user, as shown in Figure 3B.The designated memory space canThink terminal photograph album, or the cloud photograph album of terminal, the embodiment of the present invention do not limit the specific meaning of the designated memory spaceIt is fixed.
It should be noted that the mapping picture shown by interaction interface, is deposited with the picture in designated memory spaceIn mapping relations, that is to say, the picture in designated memory space is shown in interaction interface in the form of mapping picture, forEvery picture in designated memory space, can be generated one, there are the mapping pictures of mapping relations with it, when execution pictureWhen sending operation, according to mapping relations, the picture in designated memory space corresponding to the mapping picture is sent.
It in an alternative embodiment of the invention, can reflecting in all pictures of interaction interface display designated memory spacePicture is penetrated, is arranged successively in the horizontal direction, when the cunning for detecting user's execution horizontal direction on the display position of mapping pictureWhen dynamic operation, mapping picture is moved along the glide direction of the slide, to show more mapping pictures.It is of course also possible toOnly picture corresponding mapping picture of the storage duration in specified duration, example in designated memory space are shown in interaction interfaceSuch as, when the designated memory space is terminal photograph album, the picture stored in a consecutive days in the terminal photograph album can be carried outMapping, and obtained mapping picture is shown in the interaction interface.Wherein, when which can be any fixedLong, the embodiment of the present invention is not construed as limiting this.Number of the embodiment of the present invention to the mapping picture shown by interaction interfaceAmount is equally not construed as limiting.
In still another embodiment of the process, show that the lower left of list can also show photograph album option, volume in mapping pictureOption and original image option are collected, as shown in Figure 3B, user is able to enter the full frame of photograph album by executing trigger action to photograph album optionDisplay interface selects the picture to be sent in the full screen display interface with existing picture sending method, in addition, reflecting eachSelection option can also be shown by penetrating on the designated position of image, if the selection option of any mapping picture is in triggering state,When detecting the trigger action to editing options, into the editing interface of the mapping picture, allow users in the editorThe mapping image is edited at interface, when detecting the trigger action to original image option, shows that mapping picture correspondence refers toThe picture in memory space is determined, so that user checks.In addition, showing that the lower right of list can also show transmission in mapping pictureOption allows users to selection option and the delivery option by mapping graph on piece, realizes while sending multiple picturesOperation.
Wherein, which can be the upper right corner of mapping graph picture, be also possible to map the other positions of picture, this hairBright embodiment is not construed as limiting this.
202, according to the touch operation to any mapping picture, the operation data of the touch operation is obtained in real time.
When detecting the touch operation to any mapping picture, then it is assumed that specified storage corresponding to the mapping picture is emptyBetween picture be user select send picture, that is to say, picture sending method provided in an embodiment of the present invention selects userThe step of the step of selecting picture and transmission picture, is combined, which indicates that corresponding specify of the mapping picture is selected to depositStore up the picture in space.
Picture sending method provided in an embodiment of the present invention can not only be realized and show mapping graph in interaction interfacePiece, also want can to show by way of animation picture from the process being selected to transmission, therefore, detecting to mapping graphWhen the touch operation of piece, the operation data of the touch operation is obtained in real time, so that when sending picture, it can be in information exchangeThe interface display picture is moved to the animation process of new information display interface according to the touch operation.
Wherein, the operation data of the touch operation may include motion track and movement speed, can also include other behaviourMake data, e.g., the information such as operation duration of the initial position message of touch operation and touch operation, certainly, the operation data is alsoIt may include other information, the embodiment of the present invention is not construed as limiting this.
If 203, at the end of the touch operation, detecting whether the operation data meets default transmission standard.If the behaviourMake data fit and preset transmission standard, executes step 204;If the operation data does not meet default transmission standard, step is executed205。
In message method provided in an embodiment of the present invention, including two kinds of concrete operation methods: dragging hair figure and whippingHair figure, wherein dragging hair figure refers to that touch operation acts on always the mapping picture indicated by it, from the start bit of touch operationIt sets to end position, after which refers to the touch operation, leaves the position of terminal screen;Whipping hair figure refers to touchingOperation is touched from the quick vertically upward sliding in initial position, it should be noted that the initial position of the touch operation is necessaryAt least one mapping graph on piece is fallen in, can realize quick hair figure.
According to the touch data of the touch operation got in step 202, determine whether the touch operation meets default hairThe method for sending standard, that is to say, determine if that it can be following for meeting the method for any one of above two hair drawing methodTwo kinds:
The first, when the movement speed is less than pre-set velocity and the length travel and is greater than the first preset displacement, determining shouldOperation data meets the default transmission standard.It that is to say, determine the corresponding hair drawing method of the touch operation for dragging hair figure.
Wherein, the determination method of first preset displacement can be with are as follows: will mapping picture height indicated by the touch operationHalf is determined as first preset displacement, that is, reflects when the moving displacement of the touch operation is greater than indicated by the touch operationWhen penetrating the half of picture height, it is believed that user is executing the step of dragging hair figure, it is of course also possible to true by other methodsFixed first preset displacement, the embodiment of the present invention are not construed as limiting this.
The pre-set velocity can be determined as [sqrt (320*320+820*820)] pixel/second, can also be determined as other numbersValue, the embodiment of the present invention are also not construed as limiting this.
It should be noted that if the motion track of the touch operation be up and down inflection shape repeatedly when, detect the touchWhether the Diff N between the initial position and end position of operation, i.e. length travel are greater than first preset displacement, ifIt is greater than, determines that the operation data meets the default transmission standard, if it is not greater, determines that the operation data does not meet the default hairSend standard.
Second, when the length travel that the movement speed is greater than or equal to pre-set velocity and the motion track is greater than secondWhen preset displacement, determine that the operation data meets the default transmission standard.It that is to say, determine the corresponding hair figure side of the touch operationMethod is whipping hair figure.
Wherein, which can be determined as any fixed value, can also be determined by other methods, the present inventionEmbodiment is not construed as limiting this.
In an alternative embodiment of the invention, the touch operation institute can also be determined only according to the movement speed of touch operationThe hair graph type of category.For example, calculating moving displacement and movement speed with the movement of touch operation, being judged according to movement speedThe touch operation is quick sliding or dragging, if the pre-set velocity is [sqrt (320*320+820*820)] pixel/second,So, when movement speed is greater than or equal to [sqrt (320*320+820*820)] pixel/second, determine that the touch operation is fastSki-running is dynamic, and corresponding hair drawing method is whipping hair figure;When movement speed be less than [sqrt (320*320+820*820)] pixel/When the second, determine that the touch operation is dragging, corresponding hair drawing method is to drag hair to scheme.
In an alternative embodiment of the invention, during the touch operation, mapping graph indicated by the touch operation is shownPiece follows the moving process of the touch operation.
According to two different hair drawing methods, the method that the moving process of picture is mapped indicated by touch operation is shownIt is different.When using drag hair figure hair drawing method when, that is to say, when touch operation movement speed be less than pre-set velocity andWhen length travel is greater than the first preset displacement, during the touch operation, mapping picture indicated by the touch operation is shownFollow the moving process of the touch operation in the longitudinal direction.
When using the hair drawing method for dragging hair figure, building one is identical with mapping picture indicated by touch operationPicture asset, the picture built is moved with the movement of touch operation, is ignored in the direction x (horizontal direction)It is mobile, and only moved on the direction y (vertical direction), the position that touch operation finally stops is (x0, y).
For example, when the motion track of touch operation is fold-line-shaped or curved shape, mapping graph indicated by the touch operationPiece can not be mobile according to the fold-line-shaped or curved shape, and only according to the fold-line-shaped or curved longitudinal component, only in longitudinal directionUpper movement;When the folding that the motion track of touch operation is inclined direction is linear, that is to say, touch operation along inclined direction comesSliding is returned, which still moves up and down only according to the longitudinal component of motion track.
Certainly, mapping picture indicated by the touch operation can also follow the motion track of the touch operation to be movedDynamic, the embodiment of the present invention is not construed as limiting this.
It when using the hair drawing method of whipping hair figure, that is to say, when the movement speed is greater than or equal to pre-set velocity and shouldWhen the length travel of motion track is greater than the second preset displacement, during the touch operation, according to the movement speed and the touchingThe operation duration for touching operation determines the drop point height after mapping picture tracking touch operation indicated by the touch operation is mobilePosition shows that mapping picture is from the initial position of the touch operation to the drop point height and position indicated by the touch operationMoving process.
Specifically, it according to the operation duration of the movement speed and the touch operation, determines and is reflected indicated by the touch operationPenetrate the picture tracking touch operation it is mobile after the method for drop point height and position can be with are as follows: by the movement speed and the touch operationOperation duration product as the drop point height and position, can also be according to the movement speed and the operation duration, using otherMethod determines the drop point height and position, and the embodiment of the present invention is not construed as limiting this.
When using whipping hair drawing method, according to the movement speed and traveling time of touch operation, picture is calculated in the side yUpward displacement s, sliding speed is bigger, and the displacement of picture in y-direction is bigger, and picture finally stops in interaction interfaceStaying position is (x0, y).
Certainly, in addition to the operation duration according to the movement speed and the touch operation, can also according to touch operation itsHis operation data, determines the drop point height and position, for example, the touching intensity or sliding force etc. of touch operation, the present invention is implementedExample is also not construed as limiting this.
It should be noted that mapping picture tracking touch operation, leave initially the display position of interaction interface itAfterwards, former display position can continue to show the mapping picture, can also be filled by the mapping picture that closes in right side or left side,It can continue to keep blank until picture sends operation and completes, the embodiment of the present invention is not construed as limiting this.
In an alternative embodiment of the invention, at the end of touch operation, that is, judge the touch operation operation data whetherMeet default transmission standard, if met, once that is, touch operation terminates, just directly executes the sending step of picture, withoutWaiting the display of picture moving process terminates, so as to reduce the hair figure waiting time of user.
It should be noted that the method whether above-mentioned detection operation data meets default transmission standard can also realize it is moreTouch detection, that is to say, when executing touch operation to multiple mapping pictures simultaneously, can detect each mapping image respectivelyWhether the operation data of corresponding touch operation meets default transmission standard, determines that operation data meets the touching of default transmission standardOperation is touched, while sending the picture that multiple mapping pictures indicated by the touch operation correspond to designated memory space.
For example, two fingers of user execute touch operation, and the operation data of touch operation to two mapping pictures simultaneouslyMeet the transmission standard of dragging hair figure, then sends two that this two mapping pictures correspond in designated memory space simultaneously and schemePiece.
Whether the touch data by detecting touch operation meets default transmission standard, is sent using different hair drawing methodsThe picture of the corresponding designated memory space of mapping picture, correspondingly, aobvious with different animation modes indicated by the touch operationShow that mapping picture in the motion process of interaction interface, is able to use family in interaction interface and observes mapping picture trackingThe motion process of touch operation.
If 204, the operation data meets default transmission standard, mapping picture indicated by the touch operation is sent at thisMapped picture in designated memory space.
If the testing result of step 203 is, when the operation data of the trigger action meets default transmission standard, sending shouldThe mapped picture in the designated memory space of mapping picture indicated by touch operation, and show indicated by the touch operationMapping picture from current display position along the moving process of the new information display position of desired guiding trajectory to the interaction interface.Wherein, when using hair drawing method is dragged, which is the terminal location of the trigger action;When using whipping hair figureWhen method, which is to be fallen according to determined by the movement speed of touch operation and the operation duration of the touch operationPoint height position.
It should be noted that the desired guiding trajectory can be curve, or straight line or broken line, the embodiment of the present invention is to thisIt is not construed as limiting.
In an alternative embodiment of the invention, it in the moving process, is reduced indicated by the touch operation according to preset ratioMapping picture size, until disappear.Moving process of the mapping picture, to be descending until the gradual change to disappearJourney.Wherein, which can be determined as any fixed value, can also be determined by other methods, the embodiment of the present invention pairThis is not construed as limiting.By reducing the mapping picture according to preset ratio, until disappearing, being transmitted across for picture can be simulatedJourney, as shown in Figure 4.
In still another embodiment of the process, in the moving process, show that the touch is grasped in such a way that transparency is incremented byMake indicated mapping picture.The moving process of the mapping picture is gradually increased until the mapping picture disappears for transparencyProgressive formation.For each transparency size and increasing velocity etc. in the transparency increasing process, the embodiment of the present inventionIt is not construed as limiting.It is shown by way of being incremented by the mapping picture according to transparency, can also simulate the transmission process of picture.
For example, detecting user in interaction interface to mapping picture execution touch operation when terminal is the end IOSWhen, according to the touch operation of user, the position Point0 of the record mapping picture currently to be dragged, and construct one and the mappingThe identical picture asset of picture, calculates the drop point site (x1, y1) of the picture built, which refers to workIt is transmitted message in the position of interaction interface, which can be according to terminal screen size, the mapping pictureSize and the layout of interaction interface etc. are determined, and the embodiment of the present invention does not make the specific determining method of the drop point siteIt limits.
The animation of the moving process of new information display position of the picture from current display position to the interaction interface is realExisting method can be with are as follows: the new information display position of the interaction interface is the final drop point site of picture, works as touch operationAt the end of, picture asset is moved to drop point site (x1, y1) from (x0, y), can be realized and be moved with CABasicAnimationThe change in size of picture in the process realizes the transparency change of picture with CABasicAnimation, usesCAKeyframeAnimation determines the position of some key frames, and it is whole to realize finally to form a CAAnimationGroupA animation process.It should be noted that the motion track of picture is not walked by path in the animation, but by separated x,What the difference of the displacement curve in the direction y was realized.Above-mentioned animation process can also realize by other methods, the embodiment of the present invention pairThis is not construed as limiting.
If 205, the operation data does not meet default transmission standard, mapping picture indicated by the touch operation is not sentThe mapped picture in the designated memory space.
When the movement speed of touch operation is less than pre-set velocity, but length travel is not more than first preset displacement,Think that user wants to send operation using dragging hair drawing method execution picture, but since the length travel of the mapping picture is unsatisfactory forDefault transmission standard, therefore the mapped figure in the designated memory space of mapping picture indicated by the touch operation is not sentPiece, and it is moved to the mapping picture before touch operation executes from current display position, information exchange where mapping pictureDisplay position in interface, the motion track of the moving process can be straight line, can also be according to following touch operation to be moved toThe path backtracking of current display position, the embodiment of the present invention are not construed as limiting this.
When the movement speed of touch operation is less than pre-set velocity, but the length travel of the motion track is default less than secondWhen displacement, it is believed that user wants to execute picture transmission operation using whipping hair drawing method, but due to longitudinal position of the mapping pictureShifting is unsatisfactory for default transmission standard, therefore does not send the institute in the designated memory space of mapping picture indicated by the touch operationThe picture of mapping, and the moving process of the mapping picture is not shown.
It should be noted that picture sending method provided by the present invention, in the specific implementation of Andorid (Android) platformMode can be with are as follows: and the mapping picture list shown by interaction interface is a customized horizontal list, byListView (List View) control is controlled, and realizes above-mentioned figure by monitoring touch operation received by the ListViewPiece sending method.
Specifically, since when user is when terminal interface executes a touch operation, monitoring class can receive oneACTION_DOWN event, multiple ACTION_MOVE events and an ACTION_UP event.When the user performs a touch operation,After monitoring class receives an ACTION_DOWN event, monitor state can be restored to original state, when user is from the touchFor the initial position of operation when sliding on the terminal screen, monitoring class receives multiple ACTION_MOVE events, and detects the touchingThe gesture-type of operation is touched, which may include drag gesture, whipping gesture and other gestures, and according to detectingGesture-type setting and initialize corresponding gesture processing class, after setting up, monitoring class will continue to receive ACTION_MOVE thingThese events can be given gesture processing class and handled by part, monitoring class.
It should be noted that executing picture when the touch operation is drag gesture using dragging hair drawing method and sending behaviourMake, when the touch operation is whipping gesture, picture is executed using whipping hair drawing method and sends operation, when the touch operation is itWhen his gesture, it is believed that the corresponding operation data of the operation does not meet default transmission standard.
When detecting whipping gesture, current gesture can be handled class setting whipping gesture and handle class by monitoring class(FlingHandler).FlingHandler can directly return to true (true) for the MOVE event received, and event is avoided to transmitTo horizontal ListView.
When detecting drag gesture, current gesture can be handled class and be set as drag gesture processing class by monitoring class(DragHandler).DragHandler can newly add the view of layer of transparent in current interface in initialization(animLayout), the copy for the mapping picture view that a user chooses then is created, and copy is added toIn animLayout.With moving up and down for touch operation, DragHandler can change the layout parameter of copy, make copy withIt is mobile.
It when detecting other gestures, is not processed, event is passed through into horizontal ListView.
When touch operation terminates to frame out, monitoring class receives ACTION_UP event.If monitoring class is already provided withGesture handles class, and UP event is just transmitted to gesture processing class processing, otherwise directly passes through horizontal ListView.
Class (FlingHandler) is handled for whipping gesture, when receiving UP event, can follow up FlingHandler spyWhether the secondary judgement of fixed condition is currently whipping gesture, if so, can newly add the view of layer of transparent in current interface(animLayout), the copy for the photo view that a user chooses then is created, and copy is added to animLayoutIn, it is arranged one for copy and throws away animation, then starts animation, and delete transparent view and copy after animation.If it is not, event is just passed through horizontal ListView.
Class (DragHandler) is handled for drag gesture, DragHandler is judged current when receiving UP eventThe moving distance of copy can be arranged one to copy and throw away animation, then start animation if reaching specific range;If not yetHave and reach specific range, one animation that flies back can be set to copy, then start animation.It can all be deleted after two kinds of animationsBright view and copy.
At the end Android, above-mentioned picture sending method can not be realized by monitoring class, and is used and be directly overwritten levelOnTouchEvent method inside ListView handles each touch event in this method, addition view, executes animation;The embodiment of the present invention is not construed as limiting this.
At the end iOS, UIPanGestureRecognizer class can use to realize above-mentioned picture sending method, it can also be withIt is realized using UITouch, the embodiment of the present invention is not construed as limiting this.
Method provided in an embodiment of the present invention is deposited by showing in interaction interface with the picture in designated memory spaceIn the mapping picture of mapping relations, allows users to select the picture to be sent in interaction interface, pass through detectionWhether the operation data of touch operation meets preset standard, and selection operation is merged with operation is sent, can simplify operationProcess improves operation convenience;Further, by showing the moving process of mapping picture, simulation drawing in interaction interfaceThe transmission process of piece allows users to the transmission process for observing picture in real time.
All the above alternatives can form the alternative embodiment of the disclosure, herein no longer using any combinationIt repeats one by one.
Fig. 5 is a kind of picture sending device structural schematic diagram provided in an embodiment of the present invention.Referring to Fig. 5, which includesPicture display module 501 is mapped, module 502, detection module 503 and sending module 504 are obtained.
Picture display module 501 is mapped, for grasping in interaction interface to the triggering of picture delivery option when detectionWhen making, at least one mapping picture is shown in the interaction interface, each mapping picture is by the figure in designated memory spacePiece generates, and there are mapping relations with the picture in the designated memory space;
Module 502 is obtained, for according to the touch to any mapping picture shown by the mapping picture display module 501Operation, obtains the operation data of the touch operation in real time;
Detection module 503, if detecting the operation that the acquisition module 502 is got at the end of the touch operationWhether data meet default transmission standard;
Sending module 504, if the testing result for the detection module 503 is that the operation data meets default transmission markStandard sends the mapped picture in the designated memory space of mapping picture indicated by the touch operation.
In the first possible implementation provided by the invention, which includes motion track and movement speed,The detection module 503 is used for:
When the movement speed is less than pre-set velocity and the length travel is greater than the first preset displacement, the operand is determinedTransmission standard is preset according to this is met;Or,
When the length travel that the movement speed is greater than or equal to pre-set velocity and the motion track is greater than the second preset displacementWhen, determine that the operation data meets the default transmission standard.
In second provided by the invention possible implementation, the device further include:
First animation display module, for showing mapping graph indicated by the touch operation during touch operationPiece follows the moving process of the touch operation.
In the third possible implementation provided by the invention, which includes motion track and movement speed,First animation display module is used for:
During the touch operation, show that the touch operation of mapping picture tracking is in longitudinal direction indicated by the touch operationOn moving process;Or,
During the touch operation, according to the operation duration of the movement speed and the touch operation, determine that the touch is graspedDrop point height and position after making indicated mapping picture tracking touch operation movement, shows and reflects indicated by the touch operationPicture is penetrated from the initial position of the touch operation to the moving process the drop point height and position.
In the 4th kind of possible implementation provided by the invention, the device further include:
Second animation display module shows the touch operation institute if meeting default transmission standard for the operation dataThe mapping picture of instruction moving along the new information display position of desired guiding trajectory to the interaction interface from current display positionProcess.
In the 5th kind of possible implementation provided by the invention, the device further include:
Dimension of picture processing module, for being reduced indicated by the touch operation according to preset ratio in the moving processMapping picture size, until disappear.
In the 6th kind of possible implementation provided by the invention, the device further include:
Picture transparency processing module, for showing the touch in such a way that transparency is incremented by the moving processThe indicated mapping picture of operation.
It should be understood that picture sending device provided by the above embodiment is when carrying out picture transmission, only with above-mentioned eachThe division progress of functional module can according to need and for example, in practical application by above-mentioned function distribution by different functionEnergy module is completed, i.e., the internal structure of equipment is divided into different functional modules, to complete whole described above or portionDivide function.In addition, picture sending device provided by the above embodiment and picture sending method embodiment belong to same design, haveBody realizes that process is detailed in embodiment of the method, and which is not described herein again.
A kind of terminal is present embodiments provided, which can be used for executing the picture hair provided in above-mentioned each embodimentDelivery method.Referring to Fig. 6, which includes:
Terminal 600 may include RF (Radio Frequency, radio frequency) circuit 110, include one or more meterThe memory 120 of calculation machine readable storage medium storing program for executing, input unit 130, display unit 140, sensor 150, voicefrequency circuit 160,WiFi (Wireless Fidelity, Wireless Fidelity) module 170, the processing for including one or more than one processing coreThe components such as device 180 and power supply 190.It will be understood by those skilled in the art that terminal structure shown in Fig. 6 is not constituted pairThe restriction of terminal may include perhaps combining certain components or different component cloth than illustrating more or fewer componentsIt sets.Wherein:
RF circuit 110 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base stationAfter downlink information receives, one or the processing of more than one processor 180 are transferred to;In addition, the data for being related to uplink are sent toBase station.In general, RF circuit 110 includes but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, usesFamily identity module (SIM) card, transceiver, coupler, LNA (Low Noise Amplifier, low-noise amplifier), duplexDevice etc..In addition, RF circuit 110 can also be communicated with network and other equipment by wireless communication.The wireless communication can makeWith any communication standard or agreement, and including but not limited to GSM (Global System of Mobile communication, entirelyBall mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (CodeDivision Multiple Access, CDMA), WCDMA (Wideband Code Division MultipleAccess, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), Email, SMS (ShortMessaging Service, short message service) etc..
Memory 120 can be used for storing software program and module, and processor 180 is stored in memory 120 by operationSoftware program and module, thereby executing various function application and data processing.Memory 120 can mainly include storage journeySequence area and storage data area, wherein storing program area can the (ratio of application program needed for storage program area, at least one functionSuch as sound-playing function, image player function) etc.;Storage data area, which can be stored, uses created number according to terminal 600According to (such as audio data, phone directory etc.) etc..In addition, memory 120 may include high-speed random access memory, can also wrapInclude nonvolatile memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 120 can also include Memory Controller, to provide processor 180 and input unit 130 to memory120 access.
Input unit 130 can be used for receiving the number or character information of input, and generate and user setting and functionControl related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 130 may include touchingSensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad are collected and are usedFamily on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus in touch-sensitive tableOperation on face 131 or near touch sensitive surface 131), and corresponding attachment device is driven according to preset formula.It is optional, touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is usedThe touch orientation at family, and touch operation bring signal is detected, transmit a signal to touch controller;Touch controller is from touchTouch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and can receive processor 180The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic wavesRealize touch sensitive surface 131.In addition to touch sensitive surface 131, input unit 130 can also include other input equipments 132.Specifically,Other input equipments 132 can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.),One of trace ball, mouse, operating stick etc. are a variety of.
Display unit 140 can be used for showing information input by user or the information and terminal 600 that are supplied to userVarious graphical user interface, these graphical user interface can be made of figure, text, icon, video and any combination thereof.Display unit 140 may include display panel 141, optionally, can use LCD (Liquid Crystal Display, liquid crystalShow device), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display panel141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 detects touching on it or nearbyAfter touching operation, processor 180 is sent to determine the type of touch event, is followed by subsequent processing device 180 according to the type of touch eventCorresponding visual output is provided on display panel 141.Although touch sensitive surface 131 and display panel 141 are conducts in Fig. 6Two independent components realize input and input function, but in some embodiments it is possible to by touch sensitive surface 131 and displayPanel 141 is integrated and realizes and outputs and inputs function.
Terminal 600 may also include at least one sensor 150, such as optical sensor, motion sensor and other sensingsDevice.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environmentThe light and shade of light adjusts the brightness of display panel 141, and proximity sensor can close display when terminal 600 is moved in one's earPanel 141 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect in all directions (generallyThree axis) acceleration size, can detect that size and the direction of gravity when static, can be used to identify mobile phone posture application (ratioSuch as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);ExtremelyIn other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensors that terminal 600 can also configure, hereinIt repeats no more.
Voicefrequency circuit 160, loudspeaker 161, microphone 162 can provide the audio interface between user and terminal 600.AudioElectric signal after the audio data received conversion can be transferred to loudspeaker 161, be converted to sound by loudspeaker 161 by circuit 160Sound signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, after being received by voicefrequency circuit 160Audio data is converted to, then by after the processing of audio data output processor 180, such as another end is sent to through RF circuit 110End, or audio data is exported to memory 120 to be further processed.Voicefrequency circuit 160 is also possible that earphone jack,To provide the communication of peripheral hardware earphone Yu terminal 600.
WiFi belongs to short range wireless transmission technology, and terminal 600 can help user's transceiver electronics by WiFi module 170Mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 6 is shownWiFi module 170, but it is understood that, and it is not belonging to must be configured into for terminal 600, it can according to need completelyDo not change in the range of the essence of invention and omits.
Processor 180 is the control centre of terminal 600, utilizes each portion of various interfaces and connection whole mobile phonePoint, by running or execute the software program and/or module that are stored in memory 120, and calls and be stored in memory 120Interior data execute the various functions and processing data of terminal 600, to carry out integral monitoring to mobile phone.Optionally, processor180 may include one or more processing cores;Preferably, processor 180 can integrate application processor and modem processor,Wherein, the main processing operation system of application processor, user interface and application program etc., modem processor mainly handles nothingLine communication.It is understood that above-mentioned modem processor can not also be integrated into processor 180.
Terminal 600 further includes the power supply 190 (such as battery) powered to all parts, it is preferred that power supply can pass through electricityManagement system and processor 180 are logically contiguous, to realize management charging, electric discharge and power consumption by power-supply management systemThe functions such as management.Power supply 190 can also include one or more direct current or AC power source, recharging system, power supply eventHinder the random components such as detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, terminal 600 can also include camera, bluetooth module etc., and details are not described herein.Specifically in this realityIt applies in example, the display unit of terminal is touch-screen display, and terminal further includes having memory and one or more than oneProgram, perhaps more than one program is stored in memory and is configured to by one or more than one processing for one of themDevice executes.The one or more programs include instructions for performing the following operations:
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardwareIt completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readableIn storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention andWithin principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.