CN105700789B - A kind of picture sending method and terminal device - Google Patents

A kind of picture sending method and terminal device Download PDF

Info

Publication number
CN105700789B
CN105700789B CN201610019449.1A CN201610019449A CN105700789B CN 105700789 B CN105700789 B CN 105700789B CN 201610019449 A CN201610019449 A CN 201610019449A CN 105700789 B CN105700789 B CN 105700789B
Authority
CN
China
Prior art keywords
control
touch
text
target photo
text control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610019449.1A
Other languages
Chinese (zh)
Other versions
CN105700789A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610019449.1A priority Critical patent/CN105700789B/en
Publication of CN105700789A publication Critical patent/CN105700789A/en
Application granted granted Critical
Publication of CN105700789B publication Critical patent/CN105700789B/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
    • G06F3/04845Interaction 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 for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • 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
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a kind of picture sending method and terminal devices, it include: when the text control addition button in the editing interface of Target Photo is selected, detection is directed to the touch control operation of Target Photo, when detecting the touch control operation for Target Photo, the position of touch and touch-control dynamics of touch control operation are obtained;Destination display area in Target Photo shows text control, the text information of user's input is shown in text control, and send the Target Photo including text control.The embodiment of the present invention is conducive to promote the convenience that the information of terminal device is sent.

Description

A kind of picture sending method and terminal device
Technical field
The present invention relates to fields of communication technology, and in particular to a kind of picture sending method and terminal device.
Background technique
With the development of science and technology, the information exchange between user is increasingly dependent on the terminal devices such as smart phone, uses Family can browse webpage by smart phone anywhere or anytime, check picture, and the chat tool by installing in smart phone (such as short message, QQ, wechat) sends and receives picture, text information.
The inventor of the technical program has found in the course of the research, in the communication class software of existing terminal device, user Sending text information and pictorial information is often what timesharing was sent, i.e., user or first sends picture, is then believed sending text It ceases or first sends text information, retransmit picture, if user needs text information and picture while sending, user is often needed It is first turned on such as Meitu Xiu Xiu photo-editing software, text information is added to selected figure in photo-editing software It in piece, returns in communication class software, selects the picture including text information made to be sent, it is clear that such operation Process is excessively complicated, it is difficult to meet the instant messaging demand of user.
Summary of the invention
The embodiment of the invention provides a kind of picture sending method and terminal devices, to promote the information hair of terminal device The convenience sent.
First aspect of the embodiment of the present invention provides a kind of picture sending method, comprising:
When the text control addition button in the editing interface of Target Photo is selected, detection is directed to the Target Photo Touch control operation, text control addition button is used to add text control, the text control on the Target Photo For showing the text information of user's input;
When detecting the touch control operation for the Target Photo, the position of touch and touch-control of the touch control operation are obtained Dynamics;
Destination display area in the Target Photo shows text control, and the central point of the text control is described Position of touch has default mapping relations between the area of the text control and the touch-control dynamics;
The text information of user's input is shown in the text control, and sends the mesh including the text control It marks on a map piece.
In the first possible implementation of first aspect of the embodiment of the present invention,
When the touch control operation is touch-control pressing operation, the position of touch includes pressing position, the text control Central point is the pressing position;
When the touch control operation is touch-control slide, the position of touch includes sliding initial position and sliding stop bit It sets, the central point of the text control is the sliding final position.
In conjunction in first aspect of the embodiment of the present invention or first aspect the first possible implementation, implement in the present invention In second of first aspect possible implementation of example,
The shape of the text control and the shape of preset text control match;
Alternatively,
The shape for the text control that the shape of the text control is chosen with user matches.
In conjunction in first aspect of the embodiment of the present invention or first aspect the first or second of possible implementation, at this It is described to send the target figure including the text control in the third possible implementation of inventive embodiments first aspect Piece, comprising:
When detecting the touch control operation for the central point of the text control again, sending includes the text control The Target Photo;
Alternatively,
When ACK button is selected in the editing interface for detecting the Target Photo, sending includes the text control The Target Photo.
In conjunction with first aspect of the embodiment of the present invention or first aspect the first or second or the third possible realization side Formula, in the 4th kind of possible implementation of first aspect of the embodiment of the present invention,
The editing interface of the Target Photo is volume of the terminal device in the preview interface for detecting the Target Photo Collect the interface shown on touching display screen in the case that function button is selected;
The preview interface of the Target Photo further includes following at least one: function is arranged in picture clipping function button and color It can button.
Second aspect of the embodiment of the present invention provides a kind of terminal device, comprising:
Detection unit, for detecting needle when the text control addition button in the editing interface of Target Photo is selected To the touch control operation of the Target Photo, the text control addition button is used to add text control on the Target Photo Part, the text control are used to show the text information of user's input;
Acquiring unit, for obtaining the touch control operation when detecting the touch control operation for the Target Photo Position of touch and touch-control dynamics;
Display unit shows text control, the text control for the destination display area in the Target Photo Central point be the position of touch, there are default mapping relations between the area of the text control and the touch-control dynamics;
The display unit is also used to show the text information of user's input in the text control;
Transmission unit, for sending the Target Photo including the text control.
In the first possible implementation of second aspect of the embodiment of the present invention,
When the touch control operation is touch-control pressing operation, the position of touch includes pressing position, the text control Central point is the pressing position;
When the touch control operation is touch-control slide, the position of touch includes sliding initial position and sliding stop bit It sets, the central point of the text control is the sliding final position.
In conjunction with second aspect of the embodiment of the present invention or second aspect the first possible implementation, in the embodiment of the present invention In second of second aspect possible implementation,
The shape of the text control and the shape of preset text control match;
Alternatively,
The shape for the text control that the shape of the text control is chosen with user matches.
In conjunction with second aspect of the embodiment of the present invention or second aspect the first or second of possible implementation, in this hair In the third possible implementation of bright embodiment second aspect, the transmission unit is specifically used for:
When detecting the touch control operation for the central point of the text control again, sending includes the text control The Target Photo;
Alternatively,
When ACK button is selected in the editing interface for detecting the Target Photo, sending includes the text control The Target Photo.
In conjunction with second aspect of the embodiment of the present invention or second aspect the first or second or the third possible realization side Formula, in the 4th kind of possible implementation of second aspect of the embodiment of the present invention,
The editing interface of the Target Photo is volume of the terminal device in the preview interface for detecting the Target Photo Collect the interface shown on touching display screen in the case that function button is selected;
The preview interface of the Target Photo further includes following at least one: function is arranged in picture clipping function button and color It can button.
The third aspect of the embodiment of the present invention provides a kind of terminal device, comprising:
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, executes following steps:
When the text control addition button in the editing interface of Target Photo is selected, detection is directed to the Target Photo Touch control operation, text control addition button is used to add text control, the text control on the Target Photo For showing the text information of user's input;
When detecting the touch control operation for the Target Photo, the position of touch and touch-control of the touch control operation are obtained Dynamics;
Destination display area in the Target Photo shows text control, and the central point of the text control is described Position of touch has default mapping relations between the area of the text control and the touch-control dynamics;
The text information of user's input is shown in the text control, and sends the mesh including the text control It marks on a map piece.
In the first possible implementation of the third aspect of the embodiment of the present invention,
When the touch control operation is touch-control pressing operation, the position of touch includes pressing position, the text control Central point is the pressing position;
When the touch control operation is touch-control slide, the position of touch includes sliding initial position and sliding stop bit It sets, the central point of the text control is the sliding final position.
In conjunction with the third aspect of the embodiment of the present invention or the third aspect the first possible implementation, in the embodiment of the present invention In second of the third aspect possible implementation,
The shape of the text control and the shape of preset text control match;
Alternatively,
The shape for the text control that the shape of the text control is chosen with user matches.
In conjunction with the third aspect of the embodiment of the present invention or the third aspect the first or second of possible implementation, in this hair In the third possible implementation of the bright embodiment third aspect, the processor sends the mesh including the text control It marks on a map the specific implementation of piece are as follows:
When detecting the touch control operation for the central point of the text control again, sending includes the text control The Target Photo;
Alternatively,
When ACK button is selected in the editing interface for detecting the Target Photo, sending includes the text control The Target Photo.
In conjunction with the third aspect of the embodiment of the present invention or the third aspect the first or second or the third possible realization side Formula, in the 4th kind of possible implementation of the third aspect of the embodiment of the present invention,
The editing interface of the Target Photo is volume of the terminal device in the preview interface for detecting the Target Photo Collect the interface shown on touching display screen in the case that function button is selected;
The preview interface of the Target Photo further includes following at least one: function is arranged in picture clipping function button and color It can button.
As can be seen that in the embodiment of the present invention, when the text control addition button in the editing interface of Target Photo is selected When taking, terminal device detection is directed to the touch control operation of Target Photo, when detecting the touch control operation for Target Photo, obtains The position of touch and touch-control dynamics of touch control operation;Destination display area in Target Photo shows text control, text control Central point be position of touch, there are default mapping relations between the area and touch-control dynamics of text control;In text control It shows the text information of user's input, and sends the Target Photo including text control.As it can be seen that above-mentioned terminal device can be based on Text control in the touch control operation flexible setting Target Photo of user, and pass through the text letter of text control display input Breath finally sends the Target Photo including text control, is conducive to promote the convenience that the information of terminal device is sent.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of structural schematic diagram of terminal device disclosed by the embodiments of the present invention;
Fig. 2 is a kind of flow diagram of picture sending method disclosed in embodiment of the present invention method;
Fig. 2 .1 is the flow diagram of another kind picture sending method disclosed in embodiment of the present invention method;
Fig. 2 .2 is the flow diagram of another kind picture sending method disclosed in embodiment of the present invention method;
Fig. 3 is the unit composition block diagram of terminal device disclosed in apparatus of the present invention embodiment.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Description and claims of this specification and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing Different objects, are not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, it is intended that It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap Include other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
In order to be best understood from a kind of picture sending method disclosed by the embodiments of the present invention and terminal device, below first to this hair The applicable terminal device of bright embodiment is described.Referring to Figure 1, Fig. 1 is a kind of this hair of realization provided in an embodiment of the present invention The structure composed figure of the terminal device of bright picture sending method.It can specifically include at least in the structure composed figure of the terminal device One processor 101, at least one processor 102, at least one communication bus 103, reception/transmitting line 104, antenna 105, At least one touch screen 106, at least one display screen 107, microphone 108, loudspeaker 109, client identification module SIM Card110, physical button 111, bluetooth controller 113, digital signal processing circuit 114;Wherein, the memory 102 includes Following at least one: random access memory, nonvolatile memory and external memory, the processor 101 is by connecing Transmit/receive the communication on power transmission road 104 and antenna 105 control and External cell net;Instruction set is stored in at least one processor It closes, which is integrated in operating system or by the way that in the executable application program of processor 101, which can Bootstrap processor 101 executes the picture sending method specifically disclosed in embodiment of the present invention method.The terminal device for example may be used To be smart phone, tablet computer, laptop, wearable device (such as smartwatch) all kinds of universal electronic devices.
The touching display screen is the integrated of the touch screen 106 and the display screen 107, can be in the touching display screen It is provided with array of pressure sensors, terminal device can detect pressure parameter by the array of pressure sensors, wherein above-mentioned pressure Force snesor for example can be resistance strain gage pressure sensor, semiconductor gauge pressure sensor, pressure drag type pressure sensing Device, inductance pressure transducer, capacitance pressure transducer, resonance type pressure sensor etc., include in the embodiment of the present invention but Aforesaid way is not limited to obtain pressure value.
Wherein, the touching display screen may include: panel;The indium tin oxide figure being set to below the panel; The touch sensor being set to below the indium tin oxide figure;The indium tin oxide being set to below the touch sensor Substrate;And it is set to the upper surface of the indium tin oxide substrate or the pressure sensor of lower surface;Or
The touching display screen can also include: panel;The indium tin oxide figure being set to below the panel;Setting Touch sensor below the indium tin oxide figure;And it is set to the pressure sensing below the touch sensor Device.
Processor 101 in above-mentioned terminal device 100 can couple at least one processor 102, the memory Instruction set is prestored in 102, described instruction set specifically includes detection module, obtains module, display module and sends mould Block, the memory 102 are also further stored with kernel module, and the kernel module includes operating system (such as WINDOWSTM, ANDROIDTM, IOSTMDeng).The processor 101 calls described instruction set to execute picture disclosed in the embodiment of the present invention Sending method, specifically includes the following steps:
The terminal device 100 is described when the text control addition button in the editing interface of Target Photo is selected Detection module in 101 run memory 102 of processor of terminal device 100, to detect the touch-control for being directed to the Target Photo Operation, the text control addition button are used to add text control on the Target Photo, and the text control is for showing Show the text information of user's input;
The terminal device 100 when detecting the touch control operation for the Target Photo, the terminal device 100 Area in 101 run memory 102 of processor obtains module, to obtain the position of touch and touch-control power of the touch control operation Degree;
Display module in 101 run memory 102 of processor of the terminal device 100, in the Target Photo In destination display area show that text control, the central point of the text control are the position of touch, the text control Area and the touch-control dynamics between there are default mapping relations;And the text of user's input is shown in the text control Word information;
In the specific implementation, the position of touch includes pressing position when the touch control operation is touch-control pressing operation;Its In, there are default mapping relations can be linear between the area of the text control and the touch-control dynamics, is also possible to Nonlinear, the area for the text control that terminal device is shown changes with the variation of touch-control dynamics, and the transformation relation is for example It can be as follows shown in formula:
S=F*a
Wherein, s is the area of text control, and F is touch-control dynamics, and a is proportionality coefficient.
In the specific implementation, the position of touch includes sliding start bit when the touch control operation is touch-control slide Set and slide final position;
The track of the central point for the text control that the terminal device is currently shown and the impetus of touch-control slide are sat Target track matches, and there are default mapping relations can be line between the area of the text control and the touch-control dynamics Property, be also possible to it is nonlinear, during the touching display screen of user's touch-control sliding terminal device, on touching display screen The area of the text control of display is converted with the variation of touch-control dynamics, and specific transformation relation may refer to following public affairs Formula:
S=F*a
Wherein, s is screenshot area, and F is touch-control dynamics, and a is proportionality coefficient;
The area of the text control shown on touching display screen is the variation with the impetus coordinate of touch-control slide And change.
Picture sending module in 101 run memory 102 of processor of the terminal device 100 includes institute to send State the Target Photo of text control.
Optionally, when the touch control operation is touch-control pressing operation, the position of touch includes pressing position, the text The central point of control is the pressing position;
When the touch control operation is touch-control slide, the position of touch includes sliding initial position and sliding stop bit It sets, the central point of the text control is the sliding final position.
Optionally, the shape of the text control and the shape of preset text control match;
Alternatively,
The shape for the text control that the shape of the text control is chosen with user matches.
Wherein, terminal device can be prestored there are many text control of different shapes, such as round text control, heart-shaped text Control, rectangle text control;It further, can also be including the text control of the text control, petal shape of human eye chamfered shape The personalization text control such as part;Further, the text of various shapes that terminal can be set with prestored user oneself Word control.
Optionally, the picture sending module in 101 run memory 102 of processor of the terminal device 100, to send The specific implementation of the Target Photo including the text control are as follows:
When detecting the touch control operation for the central point of the text control again, sending includes the text control The Target Photo;
Alternatively,
When ACK button is selected in the editing interface for detecting the Target Photo, sending includes the text control The Target Photo.
Optionally, the editing interface of the Target Photo is terminal device in the preview interface for detecting the Target Photo In editting function button be selected in the case where and the interface that is shown on touching display screen;
The preview interface of the Target Photo further includes following at least one: function is arranged in picture clipping function button and color It can button.
As can be seen that in the embodiment of the present invention, when the text control addition button in the editing interface of Target Photo is selected When taking, terminal device detection is directed to the touch control operation of Target Photo, when detecting the touch control operation for Target Photo, obtains The position of touch and touch-control dynamics of touch control operation;Destination display area in Target Photo shows text control, text control Central point be position of touch, there are default mapping relations between the area and touch-control dynamics of text control;In text control It shows the text information of user's input, and sends the Target Photo including text control.As it can be seen that above-mentioned terminal device can be based on Text control in the touch control operation flexible setting Target Photo of user, and pass through the text letter of text control display input Breath finally sends the Target Photo including text control, is conducive to promote the convenience that the information of terminal device is sent.
Consistent with the technical solution of foregoing description, as a specific embodiment, Fig. 2 is include terminal device specific The flow diagram of the picture sending method of implementation procedure.Although picture sending method described herein is based on shown in FIG. 1 Terminal device executes, but should be noted that the carrying out practically environment of picture sending method disclosed by the embodiments of the present invention not It is only limitted to above-mentioned terminal device.
As shown in Fig. 2, picture sending method disclosed in embodiment of the present invention method specifically includes the following steps:
S201, terminal device detect needle when the text control addition button in the editing interface of Target Photo is selected To the touch control operation of the Target Photo, the text control addition button is used to add text control on the Target Photo Part, the text control are used to show the text information of user's input;
In the embodiment of the present invention, user can be added by the text control in the editing interface of finger touch Target Photo Button, to choose the text control addition button, user can also use the input equipments touch-control Target Photos such as stylus Text control in editing interface adds button, and to choose the text control addition button, the embodiment of the present invention is to text control The selection mode of part addition button does not do unique restriction.
S202, the terminal device obtain the touch-control behaviour when detecting the touch control operation for the Target Photo The position of touch and touch-control dynamics of work;
Wherein, the touching display screen may include: panel;The indium tin oxide figure being set to below the panel; The touch sensor being set to below the indium tin oxide figure;The indium tin oxide being set to below the touch sensor Substrate;And it is set to the upper surface of the indium tin oxide substrate or the pressure sensor of lower surface;Or
The touching display screen can also include: panel;The indium tin oxide figure being set to below the panel;Setting Touch sensor below the indium tin oxide figure;And it is set to the pressure sensing below the touch sensor Device.
S203, destination display area of the terminal device in the Target Photo show text control, the text The central point of control is the position of touch, and there is default mapping to close between the area of the text control and the touch-control dynamics System;
In the specific implementation, the position of touch includes pressing position when the touch control operation is touch-control pressing operation;Its In, there are default mapping relations can be linear between the area of the text control and the touch-control dynamics, is also possible to Nonlinear, the area for the text control that terminal device is shown changes with the variation of touch-control dynamics, and the transformation relation is for example It can be as follows shown in formula:
S=F*a
Wherein, s is the area of text control, and F is touch-control dynamics, and a is proportionality coefficient.
In the specific implementation, the position of touch includes sliding start bit when the touch control operation is touch-control slide Set and slide final position;
The track of the central point for the text control that the terminal device is currently shown and the impetus of touch-control slide are sat Target track matches, and there are default mapping relations can be line between the area of the text control and the touch-control dynamics Property, be also possible to it is nonlinear, during the touching display screen of user's touch-control sliding terminal device, on touching display screen The area of the text control of display is converted with the variation of touch-control dynamics, and specific transformation relation may refer to following public affairs Formula:
S=F*a
Wherein, s is screenshot area, and F is touch-control dynamics, and a is proportionality coefficient;
The area of the text control shown on touching display screen is the variation with the impetus coordinate of touch-control slide And change.
S204, the terminal device show the text information of user's input in the text control, and sending includes institute State the Target Photo of text control.
Wherein, the text information of user's input includes the characters such as text, emoticon.
In the specific implementation, please referring to the stream of another kind picture sending method disclosed by the embodiments of the present invention shown in Fig. 2 .1 Cheng Tu, the specific implementation that the terminal device sends the Target Photo including the text control may is that
When detecting the touch control operation for the central point of the text control again, the terminal device transmission includes The Target Photo of the text control;
In the specific implementation, please referring to the stream of another kind picture sending method disclosed by the embodiments of the present invention shown in Fig. 2 .2 Cheng Tu, the specific implementation that the terminal device sends the Target Photo including the text control may is that
When ACK button is selected in the editing interface for detecting the Target Photo, the terminal device transmission includes The Target Photo of the text control.
As can be seen that in the embodiment of the present invention, when the text control addition button in the editing interface of Target Photo is selected When taking, terminal device detection is directed to the touch control operation of Target Photo, when detecting the touch control operation for Target Photo, obtains The position of touch and touch-control dynamics of touch control operation;Destination display area in Target Photo shows text control, text control Central point be position of touch, there are default mapping relations between the area and touch-control dynamics of text control;In text control It shows the text information of user's input, and sends the Target Photo including text control.As it can be seen that above-mentioned terminal device can be based on Text control in the touch control operation flexible setting Target Photo of user, and pass through the text letter of text control display input Breath finally sends the Target Photo including text control, is conducive to promote the convenience that the information of terminal device is sent.
Optionally, in the embodiment of the present invention, when the touch control operation is touch-control pressing operation, the position of touch includes pressing Position is pressed, the central point of the text control is the pressing position;
When the touch control operation is touch-control slide, the position of touch includes sliding initial position and sliding stop bit It sets, the central point of the text control is the sliding final position.
Optionally, in the embodiment of the present invention, the shape of the text control and the shape of preset text control match;
Alternatively,
The shape for the text control that the shape of the text control is chosen with user matches.
Wherein, terminal device can be prestored there are many text control of different shapes, such as round text control, heart-shaped text Control, rectangle text control;It further, can also be including the text control of the text control, petal shape of human eye chamfered shape The personalization text control such as part;Further, the text of various shapes that terminal can be set with prestored user oneself Word control.
Optionally, in the embodiment of the present invention, the editing interface of the Target Photo is that terminal device is detecting the mesh The interface shown on touching display screen in the case that editting function button in the preview interface of piece of marking on a map is selected;
The preview interface of the Target Photo further includes following at least one: function is arranged in picture clipping function button and color It can button.
Wherein, the cutting editing interface of the picture clipping function button association picture, the cutting editing interface specifically may be used To include cutting ratio, cut the function buttons such as shape and preservation, the color setting function button is associated with the color of picture Set interface, the color set interface can specifically include color chosen area, color confirmation function button etc..
As can be seen that in the embodiment of the present invention, when the text control addition button in the editing interface of Target Photo is selected When taking, terminal device detection is directed to the touch control operation of Target Photo, when detecting the touch control operation for Target Photo, obtains The position of touch and touch-control dynamics of touch control operation;Destination display area in Target Photo shows text control, text control Central point be position of touch, there are default mapping relations between the area and touch-control dynamics of text control;In text control It shows the text information of user's input, and sends the Target Photo including text control.As it can be seen that above-mentioned terminal device can be based on Text control in the touch control operation flexible setting Target Photo of user, and pass through the text letter of text control display input Breath finally sends the Target Photo including text control, is conducive to promote the convenience that the information of terminal device is sent.
The following is an embodiment of the apparatus of the present invention, and apparatus of the present invention embodiment is realized for executing embodiment of the present invention method Method.
Based on the composition framework of terminal device 100 shown in FIG. 1, the embodiment of the invention discloses a kind of terminal device. Referring to Fig. 3, Fig. 3 is the functional unit block diagram of terminal device disclosed in apparatus of the present invention embodiment.
As shown in figure 3, the terminal device may include detection unit 301, acquiring unit 302, display unit 303, send Unit 304, in which:
The detection unit 301, for when in the editing interface of Target Photo text control addition button be selected when, Detection is directed to the touch control operation of the Target Photo, and the text control addition button is used to add text on the Target Photo Word control, the text control are used to show the text information of user's input;
The acquiring unit 302, for obtaining the touch-control when detecting the touch control operation for the Target Photo The position of touch and touch-control dynamics of operation;
The display unit 303 shows text control, the text for the destination display area in the Target Photo The central point of word control is the position of touch, has default mapping between the area of the text control and the touch-control dynamics Relationship;
In the specific implementation, the position of touch includes pressing position when the touch control operation is touch-control pressing operation;Its In, there are default mapping relations can be linear between the area of the text control and the touch-control dynamics, is also possible to Nonlinear, the area for the text control that terminal device is shown changes with the variation of touch-control dynamics, and the transformation relation is for example It can be as follows shown in formula:
S=F*a
Wherein, s is the area of text control, and F is touch-control dynamics, and a is proportionality coefficient.
In the specific implementation, the position of touch includes sliding start bit when the touch control operation is touch-control slide Set and slide final position;
The track of the central point for the text control that the terminal device is currently shown and the impetus of touch-control slide are sat Target track matches, and there are default mapping relations can be line between the area of the text control and the touch-control dynamics Property, be also possible to it is nonlinear, during the touching display screen of user's touch-control sliding terminal device, on touching display screen The area of the text control of display is converted with the variation of touch-control dynamics, and specific transformation relation may refer to following public affairs Formula:
S=F*a
Wherein, s is screenshot area, and F is touch-control dynamics, and a is proportionality coefficient;
The area of the text control shown on touching display screen is the variation with the impetus coordinate of touch-control slide And change.
The display unit 303 is also used to show the text information of user's input in the text control;
Wherein, the text information of user's input includes the characters such as text, emoticon.
The transmission unit 304, for sending the Target Photo including the text control.
Optionally, when the touch control operation is touch-control pressing operation, the position of touch includes pressing position, the text The central point of control is the pressing position;
When the touch control operation is touch-control slide, the position of touch includes sliding initial position and sliding stop bit It sets, the central point of the text control is the sliding final position.
Optionally, the shape of the text control and the shape of preset text control match;
Alternatively,
The shape for the text control that the shape of the text control is chosen with user matches.
Wherein, terminal device can be prestored there are many text control of different shapes, such as round text control, heart-shaped text Control, rectangle text control;It further, can also be including the text control of the text control, petal shape of human eye chamfered shape The personalization text control such as part;Further, the text of various shapes that terminal can be set with prestored user oneself Word control.
Optionally, the transmission unit 304 is specifically used for:
When detecting the touch control operation for the central point of the text control again, sending includes the text control The Target Photo;
Alternatively,
When ACK button is selected in the editing interface for detecting the Target Photo, sending includes the text control The Target Photo.
Optionally, the editing interface of the Target Photo is terminal device in the preview interface for detecting the Target Photo In editting function button be selected in the case where and the interface that is shown on touching display screen;
The preview interface of the Target Photo further includes following at least one: function is arranged in picture clipping function button and color It can button.
It should be noted that terminal device described in apparatus of the present invention embodiment is presented in the form of functional unit. Term " unit " used herein above should be understood as meaning as widest as possible, for realizing function described by each " unit " Object for example can be integrated circuit ASIC, single circuit, for executing the processing of one or more softwares or firmware program Device (shared, dedicated or chipset) and memory, combinational logic circuit, and/or other conjunctions for realizing above-mentioned function are provided Suitable component.
For example, art technology person people can be assumed that the composition form of the hardware carrier of the terminal device specifically can be with It is terminal device 100 shown in FIG. 1.
Wherein, the function of the detection unit 301 can be by processor 101, the memory in the terminal device 100 102 and touch screen 106 realize, particular by detection module in 101 run memory 102 of processor, be directed to detection The touch control operation of the Target Photo, the text control addition button are used to add text control on the Target Photo, The text control is used to show the text information of user's input;
The function of the acquiring unit 302 can by the terminal device 100 processor 101 and memory 102 It realizes, particular by the acquisition module in 101 run memory 102 of processor, is detected with working as the Target Photo Touch control operation when, obtain the position of touch and touch-control dynamics of the touch control operation;
The function of the display unit 303 can by the terminal device 100 processor 101 and memory 102 It realizes, particular by the region display module in 101 run memory 102 of processor, with the mesh in the Target Photo It marks display area and shows that text control, the central point of the text control are the position of touch, the area of the text control There are default mapping relations between the touch-control dynamics;And the text letter of user's input is shown in the text control Breath;
The function of the transmission unit 304 can be by the processor 101, memory 102, aobvious in the terminal device 100 Display screen 107 is realized, includes described to send particular by picture sending module in 101 run memory 102 of processor The Target Photo of text control.
As can be seen that in the embodiment of the present invention, when the text control addition button in the editing interface of Target Photo is selected When taking, terminal device detection is directed to the touch control operation of Target Photo, when detecting the touch control operation for Target Photo, obtains The position of touch and touch-control dynamics of touch control operation;Destination display area in Target Photo shows text control, text control Central point be position of touch, there are default mapping relations between the area and touch-control dynamics of text control;In text control It shows the text information of user's input, and sends the Target Photo including text control.As it can be seen that above-mentioned terminal device can be based on Text control in the touch control operation flexible setting Target Photo of user, and pass through the text letter of text control display input Breath finally sends the Target Photo including text control, is conducive to promote the convenience that the information of terminal device is sent.
The embodiment of the present invention also provides a kind of computer storage medium, wherein the computer storage medium can be stored with journey Sequence, the program include some or all of any picture sending method recorded in above method embodiment step when executing Suddenly.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer-readable access to memory.Based on this understanding, technical solution of the present invention substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of each embodiment the method for the present invention Step.And memory above-mentioned includes: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory May include: flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), disk or CD etc..
The embodiment of the present invention has been described in detail above, specific case used herein to the principle of the present invention and Embodiment is expounded, and the above description of the embodiment is only used to help understand the method for the present invention and its core ideas; At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the present invention There is change place, in conclusion the contents of this specification are not to be construed as limiting the invention.

Claims (15)

1. a kind of picture sending method characterized by comprising
When the text control addition button in the editing interface of Target Photo is selected, detection is directed to the touching of the Target Photo Control operation, the text control addition button are used to add text control on the Target Photo, and the text control is used for Show the text information of user's input;
When detecting the touch control operation for the Target Photo, the position of touch and touch-control power of the touch control operation are obtained Degree, the touch control operation includes touch-control slide;
Destination display area in the Target Photo shows that text control, the central point of the text control are the touch-control The track of position, the impetus coordinate of the track and touch-control slide of the central point of the text control currently shown matches, The shape of the text control includes any of the following: circle, heart, rectangle, human eye chamfered shape, petal shape, described There are default mapping relations, the mapping relations include linear relationship or non-between the area of text control and the touch-control dynamics The area of linear relationship, the text control changes with the variation of touch-control dynamics;
The text information of user's input is shown in the text control, and sends the target figure including the text control Piece.
2. the method according to claim 1, wherein
When the touch control operation is touch-control pressing operation, the position of touch includes pressing position, the center of the text control Point is the pressing position;
When the touch control operation is touch-control slide, the position of touch includes sliding initial position and sliding final position, The central point of the text control is the sliding final position.
3. the method according to any one of claims 1 and 2, which is characterized in that
The shape of the text control and the shape of preset text control match;
Alternatively,
The shape for the text control that the shape of the text control is chosen with user matches.
4. the method according to any one of claims 1 and 2, which is characterized in that described send includes the text control The Target Photo, comprising:
When detecting the touch control operation for the central point of the text control again, the institute including the text control is sent State Target Photo;
Alternatively,
When ACK button is selected in the editing interface for detecting the Target Photo, the institute including the text control is sent State Target Photo.
5. the method according to any one of claims 1 and 2, which is characterized in that the editing interface of the Target Photo is eventually It is aobvious in touch-control in the case that editting function button of the end equipment in the preview interface for detecting the Target Photo is selected The interface shown in display screen;
The preview interface of the Target Photo further includes following at least one: picture clipping function button and color setting function are pressed Button.
6. a kind of terminal device characterized by comprising
Detection unit, for when the text control addition button in the editing interface of Target Photo is selected, detection to be directed to institute The touch control operation of Target Photo is stated, the text control addition button is used to add text control, institute on the Target Photo Text control is stated for showing the text information of user's input;
Acquiring unit, for obtaining the touch-control of the touch control operation when detecting the touch control operation for the Target Photo Position and touch-control dynamics, the touch control operation include touch-control slide;
Display unit shows text control for the destination display area in the Target Photo, in the text control Heart point is the position of touch, the track of the central point of the text control currently shown and the impetus coordinate of touch-control slide Track match, the shape of the text control includes any of the following: circle, heart, rectangle, human eye chamfered shape, Petal shape has default mapping relations, the mapping relations packet between the area of the text control and the touch-control dynamics Linear relationship or non-linear relation are included, the area of the text control changes with the variation of touch-control dynamics;
The display unit is also used to show the text information of user's input in the text control;
Transmission unit, for sending the Target Photo including the text control.
7. terminal device according to claim 6, which is characterized in that
When the touch control operation is touch-control pressing operation, the position of touch includes pressing position, the center of the text control Point is the pressing position;
When the touch control operation is touch-control slide, the position of touch includes sliding initial position and sliding final position, The central point of the text control is the sliding final position.
8. the described in any item terminal devices of according to claim 6 or 7, which is characterized in that
The shape of the text control and the shape of preset text control match;
Alternatively,
The shape for the text control that the shape of the text control is chosen with user matches.
9. the described in any item terminal devices of according to claim 6 or 7, which is characterized in that the transmission unit is specifically used for:
When detecting the touch control operation for the central point of the text control again, the institute including the text control is sent State Target Photo;
Alternatively,
When ACK button is selected in the editing interface for detecting the Target Photo, the institute including the text control is sent State Target Photo.
10. the described in any item terminal devices of according to claim 6 or 7, which is characterized in that the editing interface of the Target Photo It is to be touched in the case that editting function button of the terminal device in the preview interface for detecting the Target Photo is selected The interface shown on control display screen;
The preview interface of the Target Photo further includes following at least one: picture clipping function button and color setting function are pressed Button.
11. a kind of terminal device characterized by comprising
It is stored with the memory of executable program code;
The processor coupled with the memory;
The processor calls the executable program code stored in the memory, executes following steps:
When the text control addition button in the editing interface of Target Photo is selected, detection is directed to the touching of the Target Photo Control operation, the text control addition button are used to add text control on the Target Photo, and the text control is used for Show the text information of user's input;
When detecting the touch control operation for the Target Photo, the position of touch and touch-control power of the touch control operation are obtained Degree, the touch control operation includes touch-control slide;
Destination display area in the Target Photo shows that text control, the central point of the text control are the touch-control The track of position, the impetus coordinate of the track and touch-control slide of the central point of the text control currently shown matches, The shape of the text control includes any of the following: circle, heart, rectangle, human eye chamfered shape, petal shape, described There are default mapping relations, the mapping relations include linear relationship or non-between the area of text control and the touch-control dynamics The area of linear relationship, the text control changes with the variation of touch-control dynamics;
The text information of user's input is shown in the text control, and sends the target figure including the text control Piece.
12. terminal device according to claim 11, which is characterized in that
When the touch control operation is touch-control pressing operation, the position of touch includes pressing position, the center of the text control Point is the pressing position;
When the touch control operation is touch-control slide, the position of touch includes sliding initial position and sliding final position, The central point of the text control is the sliding final position.
13. 1 or 12 described in any item terminal devices according to claim 1, which is characterized in that
The shape of the text control and the shape of preset text control match;
Alternatively,
The shape for the text control that the shape of the text control is chosen with user matches.
14. 1 or 12 described in any item terminal devices according to claim 1, which is characterized in that it includes institute that the processor, which is sent, State the specific implementation of the Target Photo of text control are as follows:
When detecting the touch control operation for the central point of the text control again, the institute including the text control is sent State Target Photo;
Alternatively,
When ACK button is selected in the editing interface for detecting the Target Photo, the institute including the text control is sent State Target Photo.
15. 1 or 12 described in any item terminal devices according to claim 1, which is characterized in that editor circle of the Target Photo Face be in the case that editting function button of the terminal device in the preview interface for detecting the Target Photo is selected and The interface shown on touching display screen;
The preview interface of the Target Photo further includes following at least one: picture clipping function button and color setting function are pressed Button.
CN201610019449.1A 2016-01-11 2016-01-11 A kind of picture sending method and terminal device Active CN105700789B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610019449.1A CN105700789B (en) 2016-01-11 2016-01-11 A kind of picture sending method and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610019449.1A CN105700789B (en) 2016-01-11 2016-01-11 A kind of picture sending method and terminal device

Publications (2)

Publication Number Publication Date
CN105700789A CN105700789A (en) 2016-06-22
CN105700789B true CN105700789B (en) 2019-05-10

Family

ID=56226375

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610019449.1A Active CN105700789B (en) 2016-01-11 2016-01-11 A kind of picture sending method and terminal device

Country Status (1)

Country Link
CN (1) CN105700789B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106919332B (en) * 2017-02-14 2020-09-11 北京小米移动软件有限公司 Information transmission method and equipment
CN106844780A (en) * 2017-03-10 2017-06-13 珠海市魅族科技有限公司 Picture sending method and picture send system
TWI647609B (en) * 2017-04-14 2019-01-11 緯創資通股份有限公司 Instant messaging method, system and electronic device and server
CN107908335A (en) * 2017-10-31 2018-04-13 珠海市魅族科技有限公司 Picture sending method and device, computer installation and computer-readable recording medium
CN108234286A (en) * 2017-12-06 2018-06-29 珠海市魅族科技有限公司 A kind of information processing method, device, computer installation and computer readable storage medium
CN108845753B (en) * 2018-06-28 2021-04-27 维沃移动通信有限公司 Picture processing method and terminal
CN111130995B (en) * 2019-12-16 2021-08-10 维沃移动通信有限公司 Image control method, electronic device, and storage medium
CN111352557B (en) * 2020-02-24 2021-09-14 北京字节跳动网络技术有限公司 Image processing method, assembly, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067441A (en) * 2012-11-27 2013-04-24 北京小米科技有限责任公司 Method, device and equipment of picture sharing
CN105159567A (en) * 2015-08-27 2015-12-16 广东欧珀移动通信有限公司 Character processing method and terminal

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9823824B2 (en) * 2013-08-19 2017-11-21 Kodak Alaris Inc. Context sensitive adaptable user interface
EP2924595A1 (en) * 2014-03-28 2015-09-30 Acast AB Method for associating media files with additional content

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067441A (en) * 2012-11-27 2013-04-24 北京小米科技有限责任公司 Method, device and equipment of picture sharing
CN105159567A (en) * 2015-08-27 2015-12-16 广东欧珀移动通信有限公司 Character processing method and terminal

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
手机QQ怎么给图片加上文字;xinggexg;《百度经验》;20131023;第1-5页
手机如何在照片上添加文字;灵性之眼;《百度经验》;20150316;第1-7页

Also Published As

Publication number Publication date
CN105700789A (en) 2016-06-22

Similar Documents

Publication Publication Date Title
CN105700789B (en) A kind of picture sending method and terminal device
EP2720126B1 (en) Method and apparatus for generating task recommendation icon in a mobile device
CN108664190B (en) Page display method, device, mobile terminal and storage medium
EP2950193A1 (en) Electronic device with foldable display and method of operating the same
US20150269164A1 (en) Electronic device and contact display method therefor
US10642380B2 (en) Input device, method, and system for electronic device
CN109583356A (en) Fingerprint identification method and Related product
CN106933682A (en) The method and terminal of Message Processing
EP2950204A1 (en) Method for organizing home screen and electronic device implementing the same
CN108509122B (en) Image sharing method and terminal
CN102446205B (en) Electronic equipment and its operating method
CN108763540B (en) File browsing method and terminal
CN104423789A (en) Information processing method and electronic equipment
CN108228025A (en) message display method, device, mobile terminal and storage medium
CN105700790B (en) A kind of screenshot method and terminal device
CN107704630A (en) File operation method, mobile terminal and storage medium
CN107766548A (en) Method for information display, device, mobile terminal and readable storage medium storing program for executing
CN109376700A (en) Fingerprint identification method and Related product
CN105930076A (en) Mobile communication terminal and method thereof for hiding selected object
CN108664205A (en) Method for information display, device, mobile terminal and storage medium
CN111610903A (en) Information display method and electronic equipment
CN105677081B (en) A kind of touch control method and terminal device
CN108431812A (en) A kind of method that head portrait is shown and head portrait display device
CN108089796A (en) The display methods and device of shortcut bar
CN105718142B (en) A kind of status bar notification message display methods and mobile terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant