CN106293397B - A kind of processing method and terminal showing object - Google Patents
A kind of processing method and terminal showing object Download PDFInfo
- Publication number
- CN106293397B CN106293397B CN201610639524.4A CN201610639524A CN106293397B CN 106293397 B CN106293397 B CN 106293397B CN 201610639524 A CN201610639524 A CN 201610639524A CN 106293397 B CN106293397 B CN 106293397B
- Authority
- CN
- China
- Prior art keywords
- display
- terminal
- interface
- display object
- current pose
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04845—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses a kind of processing methods for showing object, it include: the first operation for receiving user on the object display interface of first terminal, the first display object at least one the display object of first operation for selecting the object display interface;First operation is responded, the posture detecting unit of the first terminal is called;By the posture detecting unit, the current pose information for characterizing the current pose of the first terminal is obtained;According to preset rules, the corresponding target display parameters of the current pose information are determined;The first display object is controlled to show in the text editing interface of the first terminal with the target display parameters.The embodiment of the present invention also discloses a kind of terminal.
Description
Technical field
The present invention relates to terminal applies field more particularly to a kind of processing methods and terminal for showing object.
Background technique
With the continuous development of science and technology, electronic technology has also obtained development at full speed, and the type of electronic product is also got over
Come more, people have also enjoyed the various conveniences of development in science and technology bring.Present people can be set by various types of electronics
It is standby, it enjoys as development in science and technology bring is comfortably lived.
Currently, the demand due to people to social is more and more, people are carrying out instant chat, are writing article or deliver and comment
By when, often may require that and use network expression.Network expression can be symbol expression and picture expression.So, user carries out
When copy editor, if necessary to add picture expression if, can in the picture expression pre-saved to oneself required for
Picture expression carries out selection operation.
However, picture expression is all according to preparatory either in smart phone, tablet computer still on laptop
What designed mode was shown, and user has no idea to edit picture expression.
Summary of the invention
In view of this, an embodiment of the present invention is intended to provide a kind of processing methods and terminal for showing object, to improve terminal
Degree of intelligence, it is user-friendly.
In order to achieve the above objectives, the technical scheme of the present invention is realized as follows:
In a first aspect, the embodiment of the present invention provides a kind of processing method for showing object, comprising: it is whole first to receive user
The first operation on the object display interface at end, first operation for select the object display interface at least one is aobvious
Show the first display object in object;First operation is responded, the posture detecting unit of the first terminal is called;Pass through institute
Posture detecting unit is stated, the current pose information of the first terminal is obtained;According to preset rules, the current pose letter is determined
Cease corresponding target display parameters;The first display object is controlled in the text editing interface of the first terminal with described
Target display parameters are shown.
Second aspect, the embodiment of the present invention provide a kind of terminal, comprising: operation receiving unit, obtains list at call unit
Member, determination unit and control unit;Wherein, the operation receiving unit, it is aobvious in the object of the terminal for receiving user
Show the first operation on interface, described first operates at least one display object for selecting the object display interface
First display object;The call unit is called for responding first operation for detecting the terminal current pose
Posture detecting unit;The obtaining unit, for obtaining for characterizing the first terminal by the posture detecting unit
The current pose information of current pose;The determination unit, for determining that the current pose information is corresponding according to preset rules
Target display parameters;Described control unit, for it is aobvious to control described first in the text editing interface of the first terminal
Show that object is shown with the target display parameters.
The third aspect, the embodiment of the present invention provide a kind of terminal, comprising: display screen, for show object display interface with
And text editing interface;Attitude transducer, for acquiring the current pose of the terminal;Processor, for receiving user in institute
The first operation on object display interface is stated, first operation is for selecting at least one display of the object display interface
The first display object in object;First operation is responded, the attitude transducer is called;By the attitude transducer,
Obtain the current pose information for characterizing the current pose of the terminal;According to preset rules, the current pose letter is determined
Cease corresponding target display parameters;It controls the first display object and is shown in the text editing interface with the target and joined
Digital display shows.
The embodiment of the invention provides a kind of processing method and terminal for showing object is provided, first terminal is by the appearance of itself
State be associated with the object display parameters of display object, in this way, first terminal can be according to itself posture, acquisition corresponding the
The object display parameters of one display object.It is assumed that after first terminal is according to the first of user operation selection " smile " picture expression,
Detect itself current pose be rotate clockwise 30 °, then, first terminal is just capable of determining that corresponding target display ginseng
Number, and then first terminal can control " smile " picture expression and be shown with the target display parameters, at this point, user can be in text
See that " smile " picture expression has rotated clockwise 30 ° in this editing interface.So display pair provided by the embodiment of the present invention
The processing method of elephant improves the degree of intelligence of terminal, is convenient for users to operate, and provides good user experience.
Detailed description of the invention
Fig. 1 is the first schematic diagram of the application interface in the embodiment of the present invention;
Fig. 2 is a kind of flow diagram of the processing method of the display object in the embodiment of the present invention;
Fig. 3 is the posture direction schematic diagram of the first terminal in the embodiment of the present invention;
Fig. 4 is second of schematic diagram of the application interface in the embodiment of the present invention;
Fig. 5 is the third schematic diagram of the application interface in the embodiment of the present invention;
Fig. 6 is the 4th kind of schematic diagram of the application interface in the embodiment of the present invention;
Fig. 7 is another flow diagram of the processing method of the display object in the embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of the terminal in the embodiment of the present invention;
Fig. 9 is another structural schematic diagram of the terminal in the embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description.
The embodiment of the present invention provides a kind of processing method for showing object, and this method can be applied to such as smart phone, put down
In the terminals such as plate computer, laptop, smartwatch.Instant chat application, mail applications, blog are installed in the terminal
Using, network social intercourse application etc., user can carry out instant chats by these applications, edit mail, write article, deliver pair
The comment etc. of good friend's social status.These applications are capable of providing application interface, as shown in Figure 1, the application interface includes that object is aobvious
Show interface 11 and text editing interface 12.At least one display object can be shown in object display interface, such as at least
One picture expression.The picture expression of the text that user is edited and user's addition can be shown in text editing interface
Deng.Certainly, other contents can also be shown in object display interface and text editing interface, the embodiment of the present invention, which is not done, to be had
Body limits.
Below with reference to above-mentioned terminal, the processing method for being provided for the embodiments of the invention display object is illustrated.
Fig. 2 is a kind of flow diagram of the processing method of the display object in the embodiment of the present invention, as shown in Fig. 2, should
Method includes:
S201: first operation of the user on the object display interface of first terminal is received;
Here, the first operation is for the first display object at least one display object of selecting object display interface.
Here, user sends instant message when carrying out instant chat, edits mail, writes blog or in social network sites
On when delivering the comment to friend state, above-mentioned object display interface can be provided, at this point, user can by clicking, long-pressing,
First operation such as sliding selects a display object, i.e., the first display pair from least one display object of object display interface
As.At this point, first terminal receives the first operation.
It should be noted that above-mentioned display object can be picture expression, symbol expression etc., it is, of course, also possible to be other
Show object.In embodiments of the present invention, to show that object is illustrated as picture expression.
S202: the posture detecting unit in first terminal is called in the first operation of response;
In practical applications, above-mentioned posture detecting unit can for gyroscope, acceleration transducer, gravity sensor etc.,
The embodiment of the present invention is not specifically limited.
S203: by posture detecting unit, the current pose information for characterizing the current pose of first terminal is obtained;
As an example it is assumed that as shown in figure 3, first terminal rotates 30 ° to-x-axis direction around z-axis, that is to say, that first eventually
End rotates clockwise 30 °.At this point, first terminal call posture detecting unit, such as gyroscope, gyroscope obtain x, y, z this three
Reading on a direction, since first terminal is only rotated in two-dimensional space, so, the x, y, z that gyroscope reports this three
Only has the reading non-zero in the direction x and y in the reading in a direction.In embodiments of the present invention, it is assumed that it is positive clockwise, the inverse time
Needle direction is negative, then, first terminal can determine the angle itself rotated around z-axis according to the reading in the two directions,
Rotate+30 °.If if first terminal rotates 30 ° counterclockwise, first terminal can be determined according to the reading of gyroscope
Itself rotates minus 30 degree (- 30 °) around z-axis.At this point, current pose information can be α=+ 30 °.If first terminal is inverse around z-axis
If hour hands rotate positive 30 degree (+30 °), current pose information can be expressed as α=- 30 °.It is, of course, also possible to assume clockwise
Direction is negative, and is counterclockwise positive, and the embodiment of the present invention is not specifically limited.
S204: according to preset rules, the corresponding target display parameters of current pose information are determined;
In the specific implementation process, S204 may include: according to preset posture information and rotation angle corresponding relationship,
Determine the angle to be rotated of the corresponding first display object of current pose information;According to angle to be rotated, target display ginseng is generated
Number.
Here, the posture information of terminal and the corresponding pass of the rotation angle of display object are previously stored in first terminal
System, then, first terminal is obtained in S203 after current pose information, so that it may according to the corresponding relationship, determine current appearance
The angle object display parameters to be rotated of the corresponding first display object of state information, for example, α=+ 30 °, the first display object, such as
A=+30 ° of angle to be rotated of " smile " picture expression, at this point, the angle to be rotated of " smile " picture expression can be expressed as
[smile-r30];If α=+ 90 °, the angle to be rotated of " smile " picture expression can be expressed as [smile-r90] for that;
And if α=- 60 °, that is to say, that if first terminal rotates to the right 60 ° around z-axis, " smile " picture expression to rotation angle
Degree can be expressed as [smile-l60].It is, of course, also possible to other forms, the embodiment of the present invention is not specifically limited.
Further, show that the angle to be rotated of the four direction up and down of object working standard can be expressed as [showing
Show object-RT], [display object-RB], [display object-RL], [display object-RR].The format of above-mentioned angle to be rotated be for
First terminal is facilitated to modify angle value, only for reference, the embodiment of the present invention is not specifically limited.
Then, first terminal generates the four-matrix of picture expression, that is, target display ginseng according to angle to be rotated
Number.
Certainly, object display parameters here can also be the ginseng of the attributes such as display mode, the animation effect of display object
Number, for example, target display parameters can be the first display object by the position in 30 ° of the lower left corner when current pose information is α=+ 30 °
Set the parameter into text edit box.In practical applications, those skilled in the art can sets itself, the embodiment of the present invention do not make
It is specific to limit.
S205: control the first display object is shown in the text editing interface of first terminal with target display parameters.
Here, in first terminal after the corresponding target display parameters of current pose information have been determined, first terminal control
System the first display object is shown in text editing interface with the target display parameters.For example, the first display of first terminal control
Object, if " smile " picture expression 41 is shown in text editing interface 12 with [smile-r30] corresponding four-matrix, at this point,
User is just it can be seen that text editing interface as shown in Figure 4.
The above method is illustrated with specific example below.
It is assumed that user is using the instant chat application in smart phone so that first terminal is smart phone as an example
When chat, at this point, smart phone shows application interface as shown in Figure 1.
So, the above method includes:
The first step, mobile phone receive the first operation of user;
Here, the first operation in object display interface for choosing " smile " picture expression, at this point, mobile phone receives user
" smile " picture expression of input.
Second step, the first operation of mobile phone response, calls the gyroscope of itself;
Here, user is after selection " smile " picture expression, rotating mobile, at this point, the current appearance of gyroscope detection mobile phone
State.
Third step, mobile phone obtain the current pose information of mobile phone, such as α=30 ° by above-mentioned gyroscope;
Specifically, mobile phone can calculate the current pose of mobile phone by mathematical function atan or atan2, that is,
It says, weight can be calculated around the angle that z-axis rotates in mobile phone by atan2 (acceleration.x, acceleration.y)
Power direction and y-axis angle, and then the current pose of mobile phone is calculated, obtain α=30 °.
4th step, mobile phone determine corresponding to α=30 ° that first is aobvious according to the corresponding relationship of posture information and rotation angle
Show the rotation angle of object, that is, angle A=30 °, or is expressed as [smile-r30].
5th step, smart phone generate the four-matrix of " smile " picture expression according to angle A=30 °, that is, " micro-
Laugh at " the target display parameters of picture expression.
6th step, mobile phone control " smile " picture expression are shown in text editing interface with above-mentioned four-matrix
Show.At this point, the application interface seen of user can with as shown in figure 4, " smile " the picture expression 41 after rotating clockwise 30 ° in text
It is shown in this editing interface 12.
It can be seen that in embodiments of the present invention, first terminal, which shows the object of the posture of itself and display object, joins
Number association, in this way, first terminal can be according to the posture of itself, the object for obtaining corresponding first display object shows ginseng
Number.It is assumed that detecting that the current pose of itself is after first terminal is according to the first of user operation selection " smile " picture expression
30 ° are rotated clockwise, then, first terminal is just capable of determining that corresponding target display parameters, and then first terminal can be controlled
System " smile " picture expression shown with the target display parameters, at this point, user can see in text editing interface it is " micro-
Laugh at " picture expression rotated clockwise 30 °, and the degree of intelligence of terminal is improved, is convenient for users to operate, good use is provided
Family experience.
Based on previous embodiment, in the specific implementation process, since most of terminals all have interface rotation function, that is, answer
With interface the function being adjusted can be synchronized with the posture of terminal.So, in this case, no matter user by terminal how
Rotation, the relative position of display object and application interface that end user is seen will not change.In order to show not
Equidirectional display object, at this point, the above method can also include: the interface rotational work for detecting first terminal after S204
Whether can enable;If interface rotation function is enabled, target display parameters are based on, according to default rotation angle, generate at least one
A second display object;At least one second display object is controlled to show.
That is, first terminal can detecte itself after the target display parameters that acquisition first shows object
Whether interface rotation function enables;If enabled, first terminal can be shown in target corresponding with itself current pose information
On the basis of parameter, according to default rotation angle, rotation the first display object generates at least one second display pair with this
As, and show.For example, the target display parameters that first terminal obtains are [smile-r30], then, first terminal just can determine
30 ° itself are had rotated, the first display object, i.e., picture expression of " smiling " waits rotating 30 °.Then, basis of the first terminal at 30 °
On continue to be rotated by 90 °, 180 ° or 270 °, three second display objects are generated, finally, as shown in figure 5, first terminal controls the
One display object 51 and three second display objects 52 are shown.
In an alternative embodiment of the invention, after the step whether the interface rotation function of detection first terminal enables,
If first terminal determines that interface rotation function is enabled, it is corresponding that this can read pre-stored first display object
Object set is shown, for example, showing can in object set 62 as shown in fig. 6, the first display object 61 is " smile " picture expression
There are four the second display object 63, i.e., picture expression itself of " smiling " and " smile " picture expression to be rotated clockwise respectively
The picture expression generated after 90 °, 180 ° and 270 °.Next, first terminal shows above-mentioned display object set, that is, show
This four second display objects.
Further, after first terminal executes the step of at least one second display object display of control, the above method
It can also include: the second operation obtained at least one the second display object;The second operation of response, control third show object
Display, wherein the second operation is for the selection third display object at least one second display object.
Here, referring still to shown in Fig. 5, after first terminal shows at least one second display object, user may be used also
To select one of those at least one second display object from this, i.e., third shows object, for example, user's selection is clockwise
Second display object of 120 ° of rotation shows object as third.At this point, first terminal obtains the second operation of user, then,
The second operation of first terminal response, control third show that object is shown, at this point, third shows that object may be displayed on text editing
In interface.
In other embodiments of the present invention, first terminal by providing the second of multiple rotation predetermined angles in addition to that can be shown
Show other than object, first terminal is after whether detection interface rotation function is enabled, if S202 can also include: interface rotation
Function is enabled, forbids interface rotation function, and call posture detecting unit.That is, first terminal is opened detecting
After the rotation function of interface, then forbid interface rotation function, user can rotate first terminal at this time, and first terminal can also be as
Posture detecting unit is called to acquire the current pose information of first terminal described in S202;And if interface rotation function does not make
Can, first terminal then executes S202 after S201, calls posture detecting unit to acquire the current pose information of first terminal.
In this way, it is possible to avoid the interference of interface rotation function, it is aobvious accurately to obtain first according to the current pose information of first terminal
Show the target display parameters of object, so that the angle to be rotated and first for the first display object that the target display parameters are shown is eventually
The posture at end is consistent, and is further improved the degree of intelligence of terminal, is convenient for users to operate, and good user's body is provided
It tests.
It can be seen that in embodiments of the present invention, for the first terminal that interface rotation function enables, for each
A first display object can provide the second display object of several different angles of display, for selection by the user.In this way, effectively
It avoids interface rotation function from further improving the degree of intelligence of terminal to the influence of display object adjustment, facilitates user behaviour
Make, provides good user experience.
Based on previous embodiment, in embodiments of the present invention, due to user usually applied using instant chat, mail is answered
With, blog applications, network social intercourse application etc. whens, need to input picture expression in application interface, then, when first terminal execute
After S204, so that it may send the picture expression to second terminal.Here, second terminal can for smart phone,
The terminals such as tablet computer, laptop or smartwatch, or instant chat application, mail applications, blog applications
Or the server of network social intercourse application, it can also be not specifically limited for the server of input method application, the embodiment of the present invention.
So, in order to allow second terminal also can as first terminal with target display parameters show first display pair
As, after S204, the above method further include: the first display object and target display parameters are packaged into information to be sent;It will
Information to be sent is sent to second terminal.
Wherein, information to be sent is used to indicate second terminal and shows the first display object with target display parameters.
So, second terminal parses the information acquisition first display pair after the information for receiving first terminal transmission
As and its target display parameters, then, second terminal can control the first display object and be shown with target display parameters.Certainly,
When second terminal is the server of application, then without showing the first display object, but object and its target are shown by first
Display parameters association saves.
Further, in other embodiments of the present invention, after S204, the above method can also include: according to target
Display parameters adjustment the first display object, obtains the 4th display object;4th display object is sent to second terminal.
For example, first terminal, can be by " smile " figure after acquisition " smile " picture expression is wait rotate angle A
Piece expression rotates clockwise 30 °, generates the 4th display object as a result, and then, the 4th display object is sent to the by first terminal
Two terminals, in this way, second terminal is directly displayed without adjustment, further increased after receiving the 4th display object
The degree of intelligence of terminal, is convenient for users to operate, provides good user experience.
Based on previous embodiment, the embodiment of the present invention is illustrated the above method so that first terminal is mobile phone as an example.
As shown in fig. 7, the above method includes:
S701: the picture expression of user's selection is received;
S702: judge itself whether support input angle expression function;If so, S703 is executed, if it is not, then by picture table
The rotation angle of feelings is determined as 0 ° and executes S705;
S703: by gyroscope or gravity sensor, mobile phone angle is obtained;
Here, mobile phone reads out the current acceleration in three directions of x, y, z by the interface of gyroscope or gravity sensor;
Then, judge whether three directional acceleration values of x, y, z are legal;If legal, then S704 is executed, if illegally, by picture expression
Rotation angle be determined as 0 ° and execute S705;Next, mobile phone calculates hand according to x, y, z acceleration value, by mathematical function
The angle that machine is currently rotated;Here, the angle A that mobile phone is currently rotated is that M_PI is subtracted and y-axis angle, A=M_PI-
Atan2 (x, y).
S704: mobile phone calculates the angle to be rotated of picture expression by angle A;Here, the angle B to be rotated of picture expression
=A=M_PI-atan2 (x, y).
S705: mobile phone shows, stores and/or sends picture expression and angle to be rotated.
Here, if it is desired, picture expression and angle to be rotated can be sent to second terminal by mobile phone.
After this, mobile phone can also parse angle B to be rotated, and generate the four-dimensional square of control picture expression rotational display
Battle array;Then, by the four-matrix, the processing method of existing display object or systems approach is called to show the picture expression.
At this point, the picture expression that user sees is exactly postrotational.
Based on the same inventive concept, the embodiment of the present invention provides a kind of terminal, the terminal and one or more aforementioned reality
It is consistent to apply first terminal described in example.
As shown in figure 8, the terminal 80, comprising: operation receiving unit 81, call unit 82, obtaining unit 83, determination unit
84 and control unit 85;Wherein, receiving unit 81 is operated, for receiving user first on the object display interface of terminal
Operation, the first operation is for the first display object at least one display object of selecting object display interface;Call unit
82, for responding the first operation, call the posture detecting unit for detecting terminal current pose;Obtaining unit 83, for leading to
Posture detecting unit is crossed, the current pose information for characterizing the current pose of first terminal is obtained;Determination unit 84, for pressing
According to preset rules, the corresponding target display parameters of current pose information are determined;Control unit 85, for the text in first terminal
In editing interface, control the first display object is shown with target display parameters.
In other embodiments of the present invention, obtaining unit 83 are specifically used for according to preset posture information and rotation angle
Corresponding relationship, determine current pose information it is corresponding first display object angle to be rotated;According to angle to be rotated, generate
Target display parameters.
In other embodiments of the present invention, above-mentioned terminal can also include: detection unit and acquiring unit;Detection is single
Member, for responding the first operation, whether the interface rotation function for detecting terminal is enabled;Acquiring unit, if rotated for interface
Function is enabled, obtains display object set corresponding to the first display object, and display object set second is shown by least one
Show that object forms, the second display object is generated after the first display object rotates at least one predetermined angle;Control unit, also
It is shown for controlling at least one second display object.
In other embodiments of the present invention, obtaining unit is also used to control at least one second display pair in control unit
After display, second operation of the user at least one the second display object is obtained, the second operation is for selecting at least one
Third in second display object shows object;Control unit, is also used to respond the second operation, and control third shows that object is aobvious
Show.
In other embodiments of the present invention, call unit enables if being specifically used for interface rotation function, interface is forbidden to revolve
Rotating function, and call posture detecting unit.
In other embodiments of the present invention, above-mentioned terminal can also include: transmission unit, for showing object for first
Information to be sent is packaged into target display parameters;Information to be sent is sent to second terminal, information to be sent is used to indicate
Second terminal control the first display object is shown with target display parameters.
In other embodiments of the present invention, above-mentioned terminal can also include: transmission unit;Control unit is used for according to mesh
Display parameters adjustment the first display object is marked, the 4th display object is obtained;Transmission unit, for the 4th display object to be sent to
Second terminal.
It need to be noted that: the description of the above terminal embodiment item, be with above method description it is similar, have same
The identical beneficial effect of embodiment of the method, therefore do not repeat them here.For undisclosed technical detail in terminal embodiment of the present invention,
Those skilled in the art please refers to the description of embodiment of the present invention method and understands, to save length, which is not described herein again.
Based on the same inventive concept, the embodiment of the present invention provides a kind of terminal, as shown in figure 9, the terminal 90 includes: display
Screen 91, for showing object display interface and text editing interface;Attitude transducer 92, the current appearance for acquisition terminal
State;Processor 93, for receiving first operation of the user on object display interface, the first operation shows boundary for selecting object
The first display object at least one display object in face;The first operation of response, calls attitude transducer;It is sensed by posture
Device obtains the current pose information for characterizing the current pose of terminal;According to preset rules, determine that current pose information is corresponding
Target display parameters;Control the first display object is shown in text editing interface with target display parameters.
In other embodiments of the present invention, processor, for the corresponding pass according to preset posture information and rotation angle
System determines the angle to be rotated of the corresponding first display object of current pose information;According to angle to be rotated, generates target and show
Parameter.
In other embodiments of the present invention, processor detects the interface rotational work of first terminal for responding the first operation
Whether can enable;If interface rotation function is enabled, display object set corresponding to the first display object is obtained, shows object
Set is made of at least one second display object, and the second display object is that the first display object rotates at least one preset angle
It is generated after degree;At least one second display object is controlled to show.
In other embodiments of the present invention, processor, for obtaining user to the second of at least one the second display object
Operation, the second operation is for selecting the third at least one second display object to show object;The second operation of response, control the
Three display objects are shown.
In other embodiments of the present invention, if processor forbids interface rotational work enabled for interface rotation function
Can, and call posture detecting unit.
In other embodiments of the present invention, processor, for by first display object and target display parameters be packaged into
Send information;Information to be sent is sent to second terminal, information to be sent is used to indicate the first display pair of second terminal control
As being shown with target display parameters.
In other embodiments of the present invention, processor, for obtaining according to target display parameters adjustment the first display object
4th display object;4th display object is sent to second terminal.
In practical applications, above-mentioned processor can be application-specific IC (ASIC, Application
Specific Integrated Circuit), digital signal processor (DSP, Digital Signal Processor), number
Word signal processing apparatus (DSPD, Digital Signal Processing Device), programmable logic device (PLD,
Programmable Logic Device), field programmable gate array (FPGA, Field Programmable Gate
Array), central processing unit (CPU, Central Processing Unit), controller, in microcontroller, microprocessor extremely
Few one kind;It is to be appreciated that the electronic device for realizing the function of above-mentioned processor can also be other devices, the present invention is real
Example is applied to be not especially limited.
It need to be noted that: the description of the above terminal embodiment item, be with above method description it is similar, have same
The identical beneficial effect of embodiment of the method, therefore do not repeat them here.For undisclosed technical detail in terminal embodiment of the present invention,
Those skilled in the art please refers to the description of embodiment of the present invention method and understands, to save length, which is not described herein again.This
In it is noted that
It should be understood that " one embodiment " or " embodiment " that specification is mentioned in the whole text mean it is related with embodiment
A particular feature, structure, or characteristic is included at least one embodiment of the present invention.Therefore, occur everywhere in the whole instruction
" in one embodiment " or " in one embodiment " not necessarily refer to identical embodiment.In addition, these specific features, knot
Structure or characteristic can combine in any suitable manner in one or more embodiments.It should be understood that in various implementations of the invention
In example, magnitude of the sequence numbers of the above procedures are not meant that the order of the execution order, the execution sequence Ying Yiqi function of each process
It can determine that the implementation process of the embodiments of the invention shall not be constituted with any limitation with internal logic.The embodiments of the present invention
Serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it
Its mode is realized.Apparatus embodiments described above are merely indicative, for example, the division of the unit, 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
It is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each composition portion
Mutual coupling or direct-coupling or communication connection is divided to can be through some interfaces, the INDIRECT COUPLING of equipment or unit
Or communication connection, it can be electrical, mechanical or other forms.
Above-mentioned unit as illustrated by the separation member, which can be or may not be, to be physically separated, aobvious as unit
The component shown can be or may not be physical unit;Both it can be located in one place, and may be distributed over multiple network lists
In member;Some or all of units can be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, each functional unit in various embodiments of the present invention can be fully integrated in one processing unit, it can also
To be each unit individually as a unit, can also be integrated in one unit with two or more units;It is above-mentioned
Integrated unit both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can store in computer-readable storage medium, which exists
When execution, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: movable storage device, read-only deposits
The various media that can store program code such as reservoir (Read Only Memory, ROM), magnetic or disk.
If alternatively, the above-mentioned integrated unit of the present invention is realized in the form of software function module and as independent product
When selling or using, it also can store in a computer readable storage medium.Based on this understanding, the present invention is implemented
Substantially the part that contributes to existing technology can be embodied in the form of software products the technical solution of example in other words,
The computer software product is stored in a storage medium, including some instructions are used so that computer equipment (can be with
It is personal computer, server or network equipment etc.) execute all or part of each embodiment the method for the present invention.
And storage medium above-mentioned includes: various Jie that can store program code such as movable storage device, ROM, magnetic or disk
Matter.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (10)
1. a kind of processing method for showing object characterized by comprising
First operation of the user on the object display interface of first terminal is received, first operation is for selecting the object
The first display object at least one display object of display interface, wherein the first display object is at least expression figure
Picture;
First operation is responded, the posture detecting unit of the first terminal is called;
By the posture detecting unit, the current pose information for being used for the first terminal is obtained;
According to preset rules, the corresponding target display parameters of the current pose information are determined, wherein the target display parameters
The angle to be rotated of characterization the first display object;
The first display object is controlled to show in the text editing interface of the first terminal with the target display parameters.
2. determining the current pose letter the method according to claim 1, wherein described according to preset rules
Cease corresponding target display parameters, comprising:
According to the corresponding relationship of preset posture information and rotation angle, the current pose information corresponding described first is determined
Show the angle to be rotated of object;
According to the angle to be rotated, the target display parameters are generated.
3. the method according to claim 1, wherein in the corresponding target of the determination current pose information
After display parameters, the method also includes:
Whether the interface rotation function for detecting the first terminal enables;
If the interface rotation function is enabled, the target display parameters are based on, according to default rotation angle, generate at least one
A second display object;
At least one described second display object of control is shown.
4. according to the method described in claim 3, it is characterized in that, at least one second display object described in the control is aobvious
After showing, the method also includes:
Obtain second operation of the user at least one second display object, second operation for select it is described at least
Third in one second display object shows object;
Second operation is responded, the third is controlled and shows that object is shown.
5. according to the method described in claim 3, it is characterized in that, the posture detecting unit for calling the first terminal,
Include:
If the interface rotation function is enabled, forbid the interface rotation function, and call the posture detecting unit.
6. method according to any one of claims 1 to 5, which is characterized in that in the determination current pose information
After corresponding target display parameters, the method also includes:
The first display object and the target display parameters are packaged into information to be sent;
The information to be sent is sent to second terminal, the information to be sent is used to indicate described in the second terminal control
First display object is shown with the target display parameters.
7. method according to any one of claims 1 to 5, which is characterized in that in the determination current pose information
After corresponding target display parameters, the method also includes:
According to target display parameters adjustment the first display object, the 4th display object is obtained;
The 4th display object is sent to second terminal.
8. a kind of terminal characterized by comprising operation receiving unit, call unit, obtaining unit, determination unit and control
Unit processed;Wherein,
The operation receiving unit, for receiving first operation of the user on the object display interface of the terminal, described the
The first display object at least one the display object of one operation for selecting the object display interface, wherein described the
One display object is at least facial expression image;
The call unit calls the attitude detection for detecting the terminal current pose for responding first operation
Unit;
The obtaining unit, for obtaining working as the current pose for characterizing the terminal by the posture detecting unit
Preceding posture information;
The determination unit, for determining the corresponding target display parameters of the current pose information according to preset rules, wherein
The angle to be rotated of the first display of target display parameters characterization object;
Described control unit, in the text editing interface of the terminal, controlling the first display object with the mesh
Mark display parameters are shown.
9. terminal according to claim 8, which is characterized in that the terminal, further includes: detection unit and generation are single
Member;
Wherein, the detection unit determines the corresponding target display parameters of the current pose information for the determination unit
Later, whether the interface rotation function for detecting the terminal enables;
The generation unit is based on the target display parameters, according to default rotation if enabled for the interface rotation function
Gyration generates at least one second display object;
Described control unit is shown for controlling at least one described second display object.
10. a kind of terminal characterized by comprising
Display screen, for showing object display interface and text editing interface;
Attitude transducer, for acquiring the current pose of the terminal;
Processor, for receiving first operation of the user on the object display interface, first operation is for selecting
State the first display object at least one display object of object display interface, wherein the first display object is at least
Facial expression image;First operation is responded, the attitude transducer is called;By the attitude transducer, obtain for characterizing
The current pose information of the current pose of the terminal;According to preset rules, the corresponding target of the current pose information is determined
Display parameters, wherein the angle to be rotated of target display parameters characterization the first display object;Control first display pair
As being shown in the text editing interface with the target display parameters.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610639524.4A CN106293397B (en) | 2016-08-05 | 2016-08-05 | A kind of processing method and terminal showing object |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610639524.4A CN106293397B (en) | 2016-08-05 | 2016-08-05 | A kind of processing method and terminal showing object |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106293397A CN106293397A (en) | 2017-01-04 |
CN106293397B true CN106293397B (en) | 2019-07-16 |
Family
ID=57666075
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610639524.4A Active CN106293397B (en) | 2016-08-05 | 2016-08-05 | A kind of processing method and terminal showing object |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106293397B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107102835B (en) * | 2017-02-10 | 2020-04-14 | 珠海市魅族科技有限公司 | Display control method and system |
CN110119293A (en) * | 2018-02-05 | 2019-08-13 | 阿里巴巴集团控股有限公司 | Conversation processing method, device and electronic equipment |
CN109618054A (en) * | 2018-12-21 | 2019-04-12 | 北京金山安全软件有限公司 | Incoming call interface display method and device, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101174178A (en) * | 2006-10-31 | 2008-05-07 | 佛山市顺德区顺达电脑厂有限公司 | Method and device for viewing graphic pattern |
CN104252358A (en) * | 2013-06-28 | 2014-12-31 | 孕龙科技股份有限公司 | Method for making and applying emoticons and system for making and applying emoticons |
CN105320403A (en) * | 2014-07-31 | 2016-02-10 | 三星电子株式会社 | Method and device for providing content |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110234750A1 (en) * | 2010-03-24 | 2011-09-29 | Jimmy Kwok Lap Lai | Capturing Two or More Images to Form a Panoramic Image |
CN103793141B (en) * | 2014-02-11 | 2016-11-09 | 久邦计算机技术(广州)有限公司 | A kind of realization method and system controlling icon rotation |
CN105653165A (en) * | 2015-12-24 | 2016-06-08 | 小米科技有限责任公司 | Method and device for regulating character display |
-
2016
- 2016-08-05 CN CN201610639524.4A patent/CN106293397B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101174178A (en) * | 2006-10-31 | 2008-05-07 | 佛山市顺德区顺达电脑厂有限公司 | Method and device for viewing graphic pattern |
CN104252358A (en) * | 2013-06-28 | 2014-12-31 | 孕龙科技股份有限公司 | Method for making and applying emoticons and system for making and applying emoticons |
CN105320403A (en) * | 2014-07-31 | 2016-02-10 | 三星电子株式会社 | Method and device for providing content |
Also Published As
Publication number | Publication date |
---|---|
CN106293397A (en) | 2017-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11195338B2 (en) | Surface aware lens | |
US20220353228A1 (en) | Dynamic configuration of application component tiles | |
US11763481B2 (en) | Mirror-based augmented reality experience | |
US20120069028A1 (en) | Real-time animations of emoticons using facial recognition during a video chat | |
CN106293397B (en) | A kind of processing method and terminal showing object | |
KR20120107109A (en) | Method and mobile terminal for processing contacts | |
JP2018037112A (en) | Enhanced dynamic haptic effect | |
CN103777755B (en) | A kind of information processing method and electronic equipment | |
CN104169861A (en) | Method and apparatus for combining contact information, and terminal | |
CN112911052A (en) | Information sharing method and device | |
TW201738745A (en) | File sending method and device in instant communication | |
CN108092872A (en) | The means of communication and device | |
CN107016013A (en) | information sharing method, device and system | |
CN104618499B (en) | A kind of information processing method and electronic equipment | |
US10031589B2 (en) | Apparatuses, methods and computer programs for remote control | |
KR101750788B1 (en) | Method and system for providing story board, and method and system for transmitting and receiving object selected in story board | |
KR20180135532A (en) | Method and system for providing Story-board | |
JP6301223B2 (en) | COMMUNICATION DEVICE, DISPLAY CONTROL METHOD, AND PROGRAM | |
EP2746930A9 (en) | Device and method for processing notification data | |
CN114546228A (en) | Expression image sending method, device, equipment and medium | |
JP5765392B2 (en) | Terminal, terminal control method and control program | |
CN114706638A (en) | Interface display method and device, electronic equipment and medium | |
WO2019130213A1 (en) | User interaction in a communication system using augmented reality objects | |
Holmes et al. | Delivering Effective and Usable Interactive 3D Visualization on Lightweight Mobile Devices. | |
KR20180134719A (en) | Method and system for providing Story Keyboard, and method and system for transmitting and receiving a selected object using the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |