A kind of method and electronic equipment selecting emotion icons
Technical field
The present invention relates to MultiMedia Field, in particular to a kind of method and electronic equipment for selecting emotion icons.
Background technique
Now, user can send short message by the SMS function of electronic equipment, or by various chat application softwares,
Such as wechat, QQ etc. send message and interact, or the issued state information on the tools such as microblogging, circle of friends.
In the prior art, electronic equipment or application software icon selection interface provide some emotion icons for
Family selection, user clicks emotion icons to be selected, and the emotion icons of selection are individually sent or added in text information
Or it is sent in status information.The emotion mood of user, lively expression figure can be expressed using emotion icons in interactive process
Indicate the interaction conducive to user both sides.
But in the method provided using the prior art, the limited emotion icons for user's selection sometimes can not
Accurately indicate user's emotion or mood instantly, user can only select similar emotion icons to replace at this time, it reduce with
Family experience;In addition, into emotion icons selection interface click selection emotion icons operation it is relatively complicated and inconvenient, especially when
When emotion icons are more, generally require page turning and repeatedly carry out selection emotion icons, and can only be selected by clicking, operation side
Formula is limited.
Summary of the invention
In order to enable emotion icons needed for the more convenient selection of user, and can select with user instantly
The emotion icons that emotion or mood are consistent meet user demand, improve user experience, the embodiment of the invention provides a kind of selections
The method and electronic equipment of emotion icons.The technical solution is as follows:
In a first aspect, providing a kind of method for selecting emotion icons, which comprises
Determine the basic facial expression icon that user selects in expression selection interface;
Obtain the gesture information that user inputs in predeterminable area;
According to the gesture information, extension emotion icons corresponding with the basic facial expression icon that the user selects are determined;
Show the extension emotion icons.
With reference to first aspect, in the first possible implementation,
The extension emotion icons include the emotion icons different from intensity indicated by basic facial expression icon;Or
Person,
The extension emotion icons include the emotion icons different from emotion indicated by basic facial expression icon;Alternatively,
The extension emotion icons include intensities different from emotion indicated by basic facial expression icon, indicated
Different emotion icons.
The possible implementation of with reference to first aspect the first, in the second possible implementation, the gesture
Information includes the course bearing of the gesture and the trajectory displacement of the gesture, the hand for obtaining user and inputting in predeterminable area
Gesture information includes:
According to the gesture information that user inputs in predeterminable area, obtain the gesture course bearing and the gesture
Trajectory displacement;
Wherein, the course bearing includes at least one of upper and lower, left and right and screen diagonal direction, the track
Displacement includes the length between the starting point of the track and the end point of the track.
The possible implementation of with reference to first aspect the first, in the third possible implementation, the gesture
Information includes that user presses the lasting duration of gesture, and the acquisition user includes: in the gesture information that predeterminable area inputs
The lasting duration of the pressing gesture that acquisition user inputs in predeterminable area.
Second with reference to first aspect or the third possible implementation, in the fourth possible implementation,
According to any one in following operation, realize described according to the gesture information, the determining base table with user selection
The corresponding extension emotion icons of feelings icon:
According to the length of the trajectory displacement, the extension emotion icons for indicating corresponding intensity are determined;Alternatively,
According to the course bearing, the extension emotion icons for indicating corresponding emotion are determined;
According to the lasting duration of the pressing gesture, the extension emotion icons for indicating corresponding intensity are determined;Alternatively,
According to the lasting duration of the pressing gesture, the extension for indicating the different intensities of corresponding different emotions is determined
Emotion icons.
Second aspect provides a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Determining module, the basic facial expression icon selected for determining user in expression selection interface;
Obtain module, the gesture information inputted for obtaining user in predeterminable area;
The determining module, for according to the gesture information, the determining basic facial expression icon pair with user selection
The extension emotion icons answered;
Display module, for showing the extension emotion icons.
In conjunction with second aspect, in the first possible implementation,
The extension emotion icons include the emotion icons different from intensity indicated by basic facial expression icon;Or
Person,
The extension emotion icons include the emotion icons different from emotion indicated by basic facial expression icon;Alternatively,
The extension emotion icons include intensities different from emotion indicated by basic facial expression icon, indicated
Different emotion icons.
In conjunction with the first possible implementation of second aspect, in the second possible implementation, the gesture
Information includes the course bearing of the gesture and the trajectory displacement of the gesture, and the acquisition module is specifically used for:
According to the gesture information that user inputs in predeterminable area, obtain the gesture course bearing and the gesture
Trajectory displacement;
Wherein, the course bearing includes at least one of upper and lower, left and right and screen diagonal direction, the track
Displacement includes the length between the starting point of the track and the end point of the track.
In conjunction with the first possible implementation of second aspect, in the third possible implementation, the gesture
Information includes that user presses the lasting duration of gesture, and the acquisition module is specifically used for:
The lasting duration of the pressing gesture that acquisition user inputs in predeterminable area.
In conjunction with second of second aspect or the third possible implementation, in the fourth possible implementation,
The determining module is specifically used for:
According to the length of the trajectory displacement, the extension emotion icons for indicating corresponding intensity are determined;Alternatively,
According to the course bearing, the extension emotion icons for indicating corresponding emotion are determined;Alternatively,
According to the lasting duration of the pressing gesture, the extension emotion icons for indicating corresponding intensity are determined;Alternatively,
According to the lasting duration of the pressing gesture, the extension for indicating the different intensities of corresponding different emotions is determined
Emotion icons.
The third aspect, provides a kind of electronic equipment, and the electronic equipment includes display screen, memory and shows with described
The processor that display screen, the memory connect, wherein the memory is used to store a set of program code, the processor tune
The program code stored with the memory is for performing the following operations:
Determine the basic facial expression icon that user selects in expression selection interface;
Obtain the gesture information that user inputs in predeterminable area;
According to the gesture information, extension emotion icons corresponding with the basic facial expression icon that the user selects are determined;
Show the extension emotion icons.
In conjunction with the third aspect, in the first possible implementation,
The extension emotion icons include the emotion icons different from intensity indicated by basic facial expression icon;Or
Person,
The extension emotion icons include the emotion icons different from emotion indicated by basic facial expression icon;Alternatively,
The extension emotion icons include intensities different from emotion indicated by basic facial expression icon, indicated
Different emotion icons.
In conjunction with the first possible implementation of the third aspect, in the second possible implementation, the processing
The program code that device calls the memory to be stored is for performing the following operations:
According to the gesture information that user inputs in predeterminable area, obtain the gesture course bearing and the gesture
Trajectory displacement;
Wherein, the course bearing includes at least one of upper and lower, left and right and screen diagonal direction, the track
Displacement includes the length between the starting point of the track and the end point of the track.
In conjunction with the first possible implementation of the third aspect, in the third possible implementation, the processing
The program code that device calls the memory to be stored is for performing the following operations:
The lasting duration of the pressing gesture that acquisition user inputs in predeterminable area.
In conjunction with second of the third aspect or the third possible implementation, in the fourth possible implementation,
The program code that the processor calls the memory to be stored is for performing the following operations:
According to the length of the trajectory displacement, the extension emotion icons for indicating corresponding intensity are determined;Alternatively,
According to the course bearing, the extension emotion icons for indicating corresponding emotion are determined;Alternatively,
According to the lasting duration of the pressing gesture, the extension emotion icons for indicating corresponding intensity are determined;Alternatively,
According to the lasting duration of the pressing gesture, the extension for indicating the different intensities of corresponding different emotions is determined
Emotion icons.
The invention discloses a kind of methods and electronic equipment for selecting emotion icons.Method comprises determining that user in expression
The basic facial expression icon of selection interface selection;Obtain the gesture information that user inputs in predeterminable area;According to the gesture information, really
Fixed extension emotion icons corresponding with the basic facial expression icon that user selects;Display extension emotion icons.To be used by obtaining
The gesture information that family is inputted in predeterminable area, according to gesture information, determination is corresponding with the selected basic facial expression icon of user
Extend emotion icons, emotion icons needed for enabling a user to more convenient selection;In addition, because expansion table
Feelings icon is the emotion icons of different intensities corresponding from basic facial expression icon, so that user has more selections,
And user can select with instantly emotion or the emotion icons that are consistent of mood, meet user demand, improve user experience;Separately
Outside, because gesture information includes the course bearing of gesture and the trajectory displacement of gesture, further include user persistently trigger gesture when
Between, so that user can select emotion icons in several ways, can only be compared by clicking selection compared to traditional,
The mode for increasing user's operation, emotion icons needed for allowing users to more convenient selection, improves user
Experience.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 is a kind of method flow diagram for selecting emotion icons provided in an embodiment of the present invention;
Fig. 2 is a kind of method flow diagram for selecting emotion icons provided in an embodiment of the present invention;
Fig. 3 is a kind of interface schematic diagram provided in an embodiment of the present invention;
Fig. 4 is a kind of interface schematic diagram provided in an embodiment of the present invention;
Fig. 5 is a kind of interface schematic diagram provided in an embodiment of the present invention;
Fig. 6 is a kind of interface schematic diagram provided in an embodiment of the present invention;
Fig. 7 is a kind of interface schematic diagram provided in an embodiment of the present invention;
Fig. 8 is a kind of method flow diagram for selecting emotion icons provided in an embodiment of the present invention;
Fig. 9 is a kind of interface schematic diagram provided in an embodiment of the present invention;
Figure 10 is electronic devices structure schematic diagram provided in an embodiment of the present invention;
Figure 11 is electronic devices structure schematic diagram provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached in the embodiment of the present invention
Figure, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only this
Invention a part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art exist
Every other embodiment obtained under the premise of creative work is not made, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a kind of method for selecting emotion icons, this method is applied to user and passes through electronic equipment
Or the application software on electronic equipment and other users are when interacting, using the emotion icons of selection or by expression figure
Mark addition carries out the scene of real-time interaction in text information, and in addition to this, this method can be also used for such as microblogging, friend's round
Emotion icons are used in the publication of the status informations such as state and the reply of status information, above-mentioned selection uses the field of emotion icons
Scape is merely illustrative, and this method can also be applied to the scene of other selection emotion icons.
It should be noted that electronic equipment described in the embodiment of the present invention includes at least the display screen with touch function.
Embodiment one
The embodiment of the invention provides a kind of methods for selecting emotion icons, referring to Fig.1, this method comprises:
101, the basic facial expression icon that user selects in expression selection interface is determined.
102, the gesture information that user inputs in predeterminable area is obtained.
Specifically, gesture information includes the course bearing of gesture and the trajectory displacement of gesture, user is obtained in predeterminable area
The gesture information of input includes:
According to the gesture information that user inputs in predeterminable area, the course bearing of gesture and the trajectory displacement of gesture are obtained;
Wherein, course bearing includes at least one of upper and lower, left and right and screen diagonal direction, and trajectory displacement includes
Length between the starting point of track and the end point of track.
Gesture information further includes that user presses the lasting duration of gesture, obtains the gesture information that user inputs in predeterminable area
Include:
The lasting duration of the pressing gesture that acquisition user inputs in predeterminable area.
103, according to gesture information, extension emotion icons corresponding with the basic facial expression icon that user selects are determined.
Extending emotion icons includes the emotion icons different from intensity indicated by basic facial expression icon.
Extending emotion icons further includes the emotion icons different from emotion indicated by basic facial expression icon.
Extension emotion icons further include intensities different from emotion indicated by basic facial expression icon, indicated not yet
Same emotion icons.
Specifically, the process may include:
According to the length of trajectory displacement, the extension emotion icons for indicating corresponding intensity are determined;Or;
According to course bearing, the extension emotion icons for indicating corresponding emotion are determined.
The process can also include:
According to the lasting duration of pressing gesture, the extension emotion icons for indicating corresponding intensity are determined.
The process can also include:
According to the lasting duration of pressing gesture, the extension expression for indicating the different intensities of corresponding different emotions is determined
Icon.
104, display extension emotion icons.
The embodiment of the present invention improves a kind of method for selecting emotion icons, is inputted by acquisition user in predeterminable area
Gesture information determines extension emotion icons corresponding with the selected basic facial expression icon of user, to make according to gesture information
Emotion icons needed for obtaining the selection that user can be more convenient;In addition, because extension emotion icons are and basic facial expression
The emotion icons of the corresponding different intensities of icon so that user has more selections, and user can select with
Instantly the emotion icons that emotion or mood is consistent meet user demand, improve user experience;In addition, because gesture information packet
The course bearing of the gesture and the trajectory displacement of the gesture are included, further includes the time that user persistently triggers gesture, makes in this way
Emotion icons can be selected in several ways by obtaining user, can only be compared by clicking selection compared to traditional, be increased use
The mode of family operation, emotion icons needed for allowing users to more convenient selection improve user experience.
Embodiment two
The embodiment of the invention provides a kind of methods for selecting emotion icons, in embodiments of the present invention, gesture information packet
The course bearing of gesture and the trajectory displacement of gesture are included, referring to shown in Fig. 2, this method comprises:
201, setting extension emotion icons.
Specifically, extension emotion icons include the emotion icons different from intensity indicated by basic facial expression icon:
The different emotion icons of the intensity and basic facial expression icon belong to identical emotion, and illustratively, this is basic
Emotion icons can be the basic facial expression icon of " happiness ", and the basic facial expression icon for being somebody's turn to do " happiness " can be the minimum intensity of setting
" happiness " emotion icons, using the emotion icons of " happiness " of the minimum intensity as basic facial expression icon, with the basic facial expression
The emotion of icon is identical, and extension emotion icons are the emotion icons of " happiness " of different intensities, the table of the difference intensity
Feelings icon carries out arrangement according to intensity and shows;
It further include other basic facial expression icons, and the expression figure different from the corresponding intensity of basic facial expression icon
Mark, the embodiment of the present invention are not limited specific basic facial expression icon;
Illustratively, in interface referring to fig. 3 be a basic facial expression icon, and with a basic facial expression figure
The different extension emotion icons of the indicated intensity of mark.
Extending emotion icons further includes the emotion icons different from emotion indicated by basic facial expression icon:
Illustratively, which can be the emotion icons under merciless not-ready status, with the basic facial expression icon
Corresponding extension emotion icons can be " happiness ", the extension emotion icons of " anger ", " sorrow ", be also possible to other extension expression figures
Mark;
Illustratively, referring to fig. 4, intermediate emotion icons are basic facial expression icon, around the basic facial expression
Four emotion icons are the extension emotion icons different from the emotion that a basic facial expression icon indicates.
Extension emotion icons further include intensities different from emotion indicated by basic facial expression icon, indicated not yet
Same emotion icons:
Illustratively, which can be the emotion icons under merciless not-ready status, and the basic facial expression icon,
The emotion icons of corresponding different emotion, such as the extension expression figure of the different emotions such as corresponding " happiness ", " anger ", " sorrow ", " detest "
Mark, and the emotion icons different from the corresponding intensity of each emotion;
It should be noted that display extension emotion icons, are when user triggers gesture instruction according to pre-set expansion
What exhibition emotion icons and the corresponding relationship of gesture were shown, the corresponding relationship is referring to step 202, in the feelings of not triggering command
Under condition, extension emotion icons be it is hiding, when user's triggering is based on gesture instruction on some direction of basic facial expression, display pair
The extension emotion icons answered.
Extend expression icon library by setting so that user has more selections, and extend the expression in expression library with
Power gradually changes, allow a user to select with mood meets instantly emotion icons, expression figure can only be selected with traditional
The emotion icons about a kind of mood in mark selection interface are compared, and method provided in an embodiment of the present invention enriches user
Range of choice, further satisfaction user demand improves user experience.
202, the corresponding relationship of the course bearing of gesture and the trajectory displacement of gesture and extension emotion icons is set.
Wherein, the corresponding relationship of course bearing and trajectory displacement and extension emotion icons is included at least in desired guiding trajectory
The bigger extension emotion icons of the corresponding intensity of the increase of trajectory displacement on direction.
Specifically, if extension emotion icons include the expression figure different from intensity indicated by basic facial expression icon
Mark, then the process can be with are as follows:
Using selected basic facial expression icon as direction center, when setting triggering slip gesture along upwards it is downward or to
Extension emotion icons that are left or can corresponding to the basic facial expression icon to the right and along the diagonal direction of screen;
It can also be redefined for corresponding to the expansion of the basic facial expression icon on some direction of the basic facial expression icon
Emotion icons are opened up, such as: default extension emotion icons can only be upward direction, or can only be right direction, can also be
Other, the direction where extension emotion icons corresponding to specific basic facial expression icon of the embodiment of the present invention is not limited;
It should be noted that when triggering is when extending the finger instruction on the corresponding direction of expression, in this direction according to
Intensity minimum is arranged successively the emotion icons for showing each intensity, the position that user gesture stops to intensity maximum
It is set to the extension emotion icons that user selectes.
And the bigger extension emotion icons of the more remote corresponding intensity of trajectory displacement length in this direction are set.
If extending emotion icons includes the emotion icons different from emotion indicated by basic facial expression icon, the process packet
It includes:
Using the basic facial expression icon as direction center, setting triggering slip gesture when along upwards downwards or to the left or
The emotion icons of different emotions are respectively corresponded to the right and along the diagonal direction of screen;
Illustratively, referring to shown in Fig. 4, which is the emotion icons under merciless not-ready status, is arranged at this
The top of basic facial expression icon is the extension emotion icons of emotion " anger ", and left is the extension emotion icons of emotion " happiness ", right
For the extension emotion icons of emotion " sorrow ", lower section is the extension emotion icons of emotion " detest ";
The embodiment of the present invention is to the basic facial expression icon, the expression figure different from the emotion of basic facial expression icon instruction
The number of mark and emotional facial expressions icon is not limited with specific emotion, is specifically arranged according to practical application.
If extending emotion icons further includes intensities different from emotion indicated by basic facial expression icon, indicated
Different emotion icons, the process include:
Using the basic facial expression icon as direction center, the corresponding different emotion of setting different directions and the emotion
Different intensities extension emotion icons, such as upward direction corresponds to basic facial expression icon " happiness " and different strong journey
The extension emotion icons of " happiness " of degree correspond to the expansion of basic facial expression icon " anger " and different intensities " anger " in downward direction
Emotion icons are opened up, left direction corresponds to the extension emotion icons of basic facial expression icon " sorrow " and different intensities " sorrow ", to
Right direction corresponds to the extension emotion icons of basic facial expression icon " detest " and different intensities " detest ", is also possible to it
The corresponding other extension expressions in his direction, the embodiment of the present invention is to specifically corresponding extension expression is not added to limit in each direction
It is fixed;
And the bigger extension emotion icons of the more remote corresponding intensity of trajectory displacement length in this direction are set;
It should be noted that the basic facial expression icon can drag, dragging instruction can be user's Continued depression base
This emotion icons, when the instruction shaken occurs in basic facial expression icon, user is dragged, illustratively, if the basic facial expression figure
For mark when the place that screen keeps to the side, user can drag the emotion icons, then carry out selection extension emotion icons.The present invention is real
Example is applied to be not limited specific basic facial expression dragging triggering mode.
Optionally, if extension emotion icons further include it is different from emotion indicated by basic facial expression icon, indicated is strong
Also different emotion icons, the process can also include: strong degree
The extension emotion icons that different emotions and intensity corresponding with different emotions are arranged are shown in one direction
Show, such as the extension emotion icons of " happiness " from the basic facial expression of " happiness " to different intensities, the basic facial expression to " anger " arrive
The extension emotion icons of " anger " of different intensities, then to " sorrow " basic facial expression to different intensities " sorrow " extension
Emotion icons, then to " detests " basic facial expression icon to different intensities " detest " extension emotion icons displaying, remove
Except this, other sequence display basic facial expression icons and extension expression corresponding with the basic facial expression of every kind of emotion can also be
Icon, the embodiment of the present invention are not limited specific sequence.
Other than aforesaid way, can also be arranged by other means gesture course bearing and gesture trajectory displacement with
The corresponding relationship of emotion icons is extended, the embodiment of the present invention is not limited specific mode.
It should be noted that the step is arranged in advance, in practical applications, user's triggering is related to what is be arranged in advance
Gesture carry out selection emotion icons operation.
By the way that the course bearing of gesture and the trajectory displacement and the corresponding relationship of extension emotion icons of gesture is arranged, meet
User carries out the demand of selection emotion icons by the gesture, increases mode of operation, improves user experience.
203, the display mode of setting extension emotion icons.
Specifically, if extension emotion icons include the expression figure different from intensity indicated by basic facial expression icon
Mark, the then display mode being arranged include:
Using basic facial expression icon as direction center, setting is along upwards or downwards or to the left or to the right and along screen pair
Predeterminable area on the direction at angle can show extension emotion icons corresponding with the basic facial expression icon;Alternatively,
Corresponding display basic facial expression of predeterminable area on some direction of the preset basic facial expression icon
The extension emotion icons of icon, such as: presetting basic facial expression icon is upward direction, then in the upwardly direction
Predeterminable area display extension emotion icons, or presetting basic facial expression icon is right direction, then in the direction to the right
On predeterminable area display extension emotion icons;
Extend emotion icons in a certain direction on display include predeterminable area in the direction by basic facial expression icon
To the maximum extension emotion icons of intensity corresponding with the basic facial expression icon, successively all show in sequence, it can also
With include in the direction on predeterminable area with the increase of trajectory displacement, show corresponding with trajectory displacement length intensity
Extension emotion icons and the intensity before part intensity extension emotion icons, hide before its
His extension emotion icons, in addition to this it is possible to include other display modes, the embodiment of the present invention is to specific display side
Formula is not limited;
And the bigger extension emotion icons of the remoter corresponding display intensity of trajectory displacement length in this direction are set.
If extending emotion icons includes the emotion icons different from emotion indicated by basic facial expression icon, what is be arranged should
Display mode includes:
Using the basic facial expression icon as direction center, setting is along upwards or downwards or to the left or to the right and along screen
Predeterminable area on diagonal direction shows the extension emotion icons of corresponding different emotions respectively.
If extending emotion icons further includes intensities different from emotion indicated by basic facial expression icon, indicated
Different emotion icons, the process include:
Using the basic facial expression icon as direction center, the predeterminable area being arranged in different directions corresponds to the different feelings of display
The extension emotion icons of different intensities that are sense and showing the emotion;
Display in this direction include predeterminable area in the direction by basic facial expression icon to the basic facial expression figure
Mark the corresponding maximum extension emotion icons of intensity, successively all show in sequence, also may include in the direction on
Predeterminable area with trajectory displacement increase, show corresponding with trajectory displacement length intensity extension emotion icons,
And the extension emotion icons of the part intensity before the intensity, other extension expression figures before hiding
Mark, in addition to this it is possible to include other display modes, the embodiment of the present invention is not limited specific display mode;
And the bigger expansion table of the remoter corresponding intensity for showing the emotion of trajectory displacement length in this direction is set
Feelings icon.
It should be noted that step 201 to step 203 is to be arranged in advance, other than above-mentioned set-up mode, can also wrap
Include other set-up modes, the embodiment of the present invention to the course bearings of the extension emotion icons being arranged in advance, the gesture of setting and
The trajectory displacement of gesture and the display mode of the corresponding relationship of extension emotion icons and the extension emotion icons of setting are not added
To limit.
204, the basic facial expression icon that user selects in expression selection interface is determined.
Specifically, determining the basic facial expression figure that user selects in expression selection interface according to the gesture instruction that user triggers
Mark.
The gesture instruction, which can be, to be triggered by the basic facial expression icon of clicking or press expression selection interface, can also be with
Be slide expression selection interface basic facial expression icon trigger, can also trigger by other means, the embodiment of the present invention
The mode of specific triggering command is not limited.
The method of embodiment in order to further illustrate the present invention, it is assumed that the scene of selection emotion icons applied by this method
Including selecting emotion icons when instant message input, the expression selection interface in instant message input is referred to Fig. 5 institute
Show.
205, the gesture information inputted according to user in predeterminable area obtains the course bearing of gesture and the track position of gesture
It moves.
Wherein, course bearing includes upper and lower, left and right, also includes screen diagonal direction, can also be included in other angles
On direction, the embodiment of the present invention is not limited specific course bearing.
Trajectory displacement includes the length between the starting point of track and the end point of track.
Predeterminable area includes the region where emotion icons, can also include extending around along emotion icons region
Region, can also include other regions, the embodiment of the present invention be not limited specific predeterminable area.
The course bearing of acquisition gesture and the trajectory displacement of gesture include:
According to the course bearing for the gesture that user inputs in predeterminable area, course bearing can along the expression figure up and down,
Left and right and diagonal screen direction, and obtain the course bearing;
The starting point of the trajectory displacement of the gesture inputted according to user in predeterminable area, until user gesture stops, obtaining should
Length between starting point and the end point, the length can the distance between the starting point and end point length, can also the starting point
To the length of curve of the gesture path between end point.
Illustratively, if the gesture of the region input sliding where emotion icons of the user in Fig. 6 in interface shown in a
Information, up and down, the left and right and diagonal screen direction sliding along the emotion icons is referred in Fig. 6 shown in b, if rail
Mark displacement is the distance between starting point and end point length, the distance length referring to shown in c in Fig. 6, if trajectory displacement is starting point
Length of curve between end point, the length of curve referring to shown in d in Fig. 6.
According to the trajectory displacement of the course bearing of gesture and gesture, it is succinct convenient to operate, and can only pass through compared to traditional
It clicks selection to compare, emotion icons can be selected by way of the course bearing of gesture and trajectory displacement in this way, increase use
The mode of family operation, emotion icons needed for allowing users to more convenient selection further improve user's body
It tests.
It should be noted that the step is to realize the process for obtaining the gesture information that user inputs in predeterminable area, in addition to
Except aforesaid way, it can also realize that the process, the embodiment of the present invention are not limited specific mode by other means.
The gesture information inputted by obtaining user in predeterminable area, according to gesture information, determination is selected with user
The corresponding extension emotion icons of basic facial expression icon, expression figure needed for enabling a user to more convenient selection
Mark.
206, according to the trajectory displacement of the course bearing of gesture and gesture, the determining basic facial expression icon pair with user's selection
The extension emotion icons answered.
Specifically, the process includes:
According to the length of trajectory displacement, the extension emotion icons for indicating corresponding intensity are determined;
Trajectory displacement length is bigger, determines the extension emotion icons for indicating that corresponding intensity is bigger.
The process further include:
According to course bearing, the extension emotion icons for indicating corresponding emotion are determined;
According to the corresponding relationship of course bearing pre-set in step 202 and extension emotion icons, determine that instruction corresponds to
The extension emotion icons of emotion.
Because according to the trajectory displacement of the course bearing of gesture and gesture, the determining and selected base of user in the embodiment
The corresponding extension emotion icons of this emotion icons, so that can be by obtaining the course bearing of user gesture and the rail of gesture
The mode of mark displacement selects emotion icons, can only be compared by clicking selection compared to traditional, increase the side of user's operation
Formula, emotion icons needed for allowing users to more convenient selection, improves user experience.
207, display extension emotion icons.
Specifically, indicating corresponding emotion according to determining the extension emotion icons for indicating corresponding intensity and/or determining
Extend emotion icons, the extension expression figure corresponding with the stop position of trajectory displacement that display user triggers in a certain direction
Mark, meanwhile, which is added in the information content or state content to be sent, or individually adds in institute
It sends in message interface or in state interface.
The embodiment of the present invention is not limited specific display mode.
Method described in embodiment in order to further illustrate the present invention, with the basic facial expression of the basic facial expression of " happiness " and " happiness "
For the different extension emotion icons of indicated intensity, according to the track of the course bearing of user gesture and the gesture
The process of displacement, display extension emotion icons is referred to following interface state variation diagram, user's expression shown in a in Fig. 7
Selection interface selects basic facial expression " happiness ", it is assumed that preset extension expression is then used along basic facial expression upwardly direction
The gesture of upwardly direction is triggered at family, the interface shape of the extension emotion icons of " happiness " of the intensity shown at the first displacement
State figure is referred in Fig. 7 shown in b, and user continues to slide in upward direction, then is shown at second displacement and at third displacement
The interface state figure of extension emotion icons is referred in Fig. 7 shown in c, and user continues to slide in upward direction, then at the 4th
Show that the interface state figure of extension emotion icons is referred in Fig. 7 shown in d at shifting;
It should be noted that the number and intensity of extension emotion icons shown here are only schematical, this
Inventive embodiments are not limited this, in addition, the straight path that trajectory displacement shown in figure is upward direction is only illustrated
Property, the embodiment of the present invention is not limited trajectory displacement.
The embodiment of the invention provides a kind of methods for selecting emotion icons, are inputted by acquisition user in predeterminable area
Gesture information determines extension emotion icons corresponding with the selected basic facial expression icon of user, to make according to gesture information
Emotion icons needed for obtaining the selection that user can be more convenient;In addition, because extension emotion icons are and basic facial expression
The emotion icons of the corresponding different intensities of icon so that user has more selections, and user can select with
Instantly the emotion icons that emotion or mood is consistent meet user demand, improve user experience;In addition, because gesture information packet
The course bearing of gesture and the trajectory displacement of gesture are included, further includes the time that user persistently triggers gesture, so that Yong Huneng
It is enough to select emotion icons in several ways, it can only be compared by clicking selection compared to traditional, increase user's operation
Mode, emotion icons needed for allowing users to more convenient selection, improves user experience.
Embodiment three
For a kind of selection method of emotion icons provided in an embodiment of the present invention, in embodiments of the present invention, gesture information
Gesture duration is pressed including user, referring to shown in Fig. 8, this method comprises:
Step 801 is identical as the step 201 in embodiment two, will not be repeated here again herein.
802, setting user presses the corresponding relationship of the lasting duration of gesture and extension emotion icons.
Wherein, user presses the lasting duration of gesture and the corresponding relationship of extension emotion icons was included at least with the time
Increase the bigger extension emotion icons of corresponding intensity.
Specifically, the process may include:
According to the lasting duration of pressing gesture, it is arranged and the corresponding relationship of the extension emotion icons of different intensities;
It can be the bigger extension emotion icons of intensity to be corresponded to as time increases, in the t time within the t time
Afterwards, emotion icons are extended as time increases be up to the smaller display of intensity from intensity;The corresponding relationship may be used also
Think within the t time, the bigger extension emotion icons of intensity is corresponded to as time increases, after the t time, with the time
Increase extension emotion icons shown from basic facial expression icon to intensity largest extension expression, or be up to from intensity
Basic facial expression icon is shown;
Illustratively, the maximum extension emotion icons of intensity are 10 seconds corresponding, and user persistently triggers the time of gesture
When being 2 seconds, the extension emotion icons of a corresponding intensity, when the time is 3 seconds, the expansion table of corresponding next intensity
Feelings icon, and so on, when for 10 seconds, then the maximum extension emotion icons of intensity are corresponded to, can be corresponded at 11 seconds
Strong previous extension emotion icons to the greatest extent, or corresponding basic facial expression icon, or the corresponding the smallest extension of intensity
Emotion icons.
Optionally, the process further include:
According to the lasting duration of pressing gesture, pair of the extension emotion icons of intensities different from different emotions is set
It should be related to;
Illustratively, user presses the region where basic facial expression icon, according to the lasting duration of pressing gesture, from " happiness "
Basic facial expression to " happiness " extension emotion icons to " anger " basic facial expression to " anger " extension emotion icons, then to " sorrow "
The mode of extension emotion icons of basic facial expression to " sorrow " is shown, wherein the sequencings of the different extension expressions of displaying are pre-
First it is arranged.
In addition to this it is possible to be other corresponding relationships, the embodiment of the present invention is not limited to specific corresponding to relationship.
It should be noted that the extension for extending emotion icons and adjacent next intensity to an intensity
Between emotion icons every the length of time be not limited, be specifically arranged according to practical application.
It should be noted that the step is arranged in advance, in practical applications, user's triggering is related to what is be arranged in advance
Gesture carry out selection emotion icons operation.
The time of gesture and the corresponding relationship of extension emotion icons are persistently triggered by the way that user is arranged, user is met and passes through
The gesture carries out the demand of selection emotion icons, increases mode of operation, improves user experience.
803, the display mode of setting extension emotion icons.
Specifically, the extension emotion icons of the predeterminable area pop-up display above basic facial expression icon can also be left side
The extension emotion icons of predeterminable area pop-up display can also be other display modes, and the embodiment of the present invention is to specific display
Mode is not limited.
As user presses the increase of the lasting duration of gesture, extension emotion icons corresponding with each moment are shown.
Step 804 is identical as the step 204 in embodiment two, will not be repeated here again herein.
805, the lasting duration of the pressing gesture that acquisition user inputs in predeterminable area.
Specifically, pressing predeterminable area with user is record start time, record user presses the lasting duration of gesture;
Pass through the timer record time.
It should be noted that the step is to realize the process for obtaining the gesture information that user inputs in predeterminable area, in addition to
Except aforesaid way, it can also realize that the process, the embodiment of the present invention are not limited specific mode by other means.
Gesture duration is pressed by pre-set user and extends the corresponding relationship of emotion icons, obtains user
Gesture duration is pressed, and then determines extension emotion icons corresponding with duration, simplifies the different emotion icons of selection
Operating procedure increases interactive experience of the user when selecting emotion icons, increases interactivity, further improve user's body
It tests.
806, the lasting duration of gesture is pressed according to user, determines extension corresponding with the basic facial expression icon that user selects
Emotion icons.
Specifically, the process includes:
According to the lasting duration of pressing gesture, the extension emotion icons for indicating corresponding intensity are determined;
According to the duration lasting according to pressing gesture pre-set in step 802, from the expansion table of different intensities
The corresponding relationship of feelings icon determines the extension emotion icons for indicating corresponding intensity;
It is closed according to the corresponding of extension emotion icons of pre-set pressing gesture lasting duration from different intensities
System, when user, which presses the lasting duration of gesture, to be parked in sometime, it is determined that at the time of the moment distance starts to press gesture
Duration, and determine the extension emotion icons of corresponding with duration intensity.
The process further include:
According to the lasting duration of pressing gesture, the extension expression for indicating the different intensities of corresponding different emotions is determined
Icon;
According to the duration lasting according to pressing gesture pre-set in step 802, strong journeys different from different emotions
The corresponding relationship of the extension emotion icons of degree, determines the extension expression figure for indicating the different intensities of corresponding different emotions
Mark;
According to the extension expression figure of the lasting duration intensity different from different emotions of pre-set pressing gesture
Target corresponding relationship, when user, which presses the lasting duration of gesture, to be parked in sometime, it is determined that the moment distance starts to press
Duration at the time of gesture, and determine the extension emotion icons of the intensity of emotion corresponding with the duration.
By the duration lasting according to pressing gesture, the extension for indicating the different intensities of corresponding different emotions is determined
Emotion icons meet the demand that user carries out selection emotion icons by the gesture, increase mode of operation, improve user
Experience.
807, display extension emotion icons.
Specifically, indicating corresponding difference according to determining the extension emotion icons for indicating corresponding intensity and/or determining
The different intensities of emotion show extension emotion icons in pre-set predeterminable area;
It shows that the extension emotion icons are a dynamic processes, presses each lasting moment of gesture including display user
Corresponding extension expression, until user stops the extension emotion icons of pressing whole process, when user stops pressing, default
Region corresponding extension emotion icons at the time of display with user's stopping pressing, which is the extension that user selectes
Emotion icons.
Other than aforesaid way, can also be other display modes, the embodiment of the present invention to specific display mode not
It is limited.
Method described in embodiment in order to further illustrate the present invention, with the basic facial expression of the basic facial expression of " happiness " and " happiness "
For the different extension emotion icons of indicated intensity, according to the lasting duration of pressing gesture, display extension expression figure
Target process is referred to following interface state variation diagram, and user's expression selection interface shown in a in Fig. 9 selects basic facial expression
" happiness ", it is assumed that preset extension expression is that the predeterminable area above basic facial expression is shown, then it is lasting to press gesture
Duration is referred in the interface state figure of the extension emotion icons of " happiness " of the intensity that t1 moment corresponding duration is shown
In Fig. 9 shown in b, the interface state figure of the extension emotion icons of " happiness " of the intensity that t2 moment corresponding duration is shown can
With referring to shown in c in Fig. 9, in the interface shape for extending emotion icons of " happiness " of the intensity that t3 moment corresponding duration show
State figure is referred in Fig. 9 shown in d, in the extension emotion icons of " happiness " of intensity that t4 moment corresponding duration is shown
Interface state figure is referred in Fig. 9 shown in e;
It should be noted that the number and intensity of extension emotion icons shown here are only schematical, this
Inventive embodiments are not limited this.
The embodiment of the invention provides a kind of methods for selecting emotion icons, are inputted by acquisition user in predeterminable area
Gesture information determines extension emotion icons corresponding with the selected basic facial expression icon of user, to make according to gesture information
Emotion icons needed for obtaining the selection that user can be more convenient;In addition, because extension emotion icons are and basic facial expression
The emotion icons of the corresponding different intensities of icon so that user has more selections, and user can select with
Instantly the emotion icons that emotion or mood is consistent meet user demand, improve user experience;In addition, because gesture information packet
The course bearing of gesture and the trajectory displacement of gesture are included, further includes the time that user persistently triggers gesture, so that Yong Huneng
It is enough to select emotion icons in several ways, it can only be compared by clicking selection compared to traditional, increase user's operation
Mode, emotion icons needed for allowing users to more convenient selection, improves user experience.
Example IV
For a kind of electronic equipment 10 provided in an embodiment of the present invention, referring to Fig.1 shown in 0, which includes:
Determining module 1001, the basic facial expression icon selected for determining user in expression selection interface;
Specifically, determining module 1001 determines what user selected in expression selection interface according to the gesture instruction that user triggers
Basic facial expression icon.
The gesture instruction, which can be, to be triggered by the basic facial expression icon of clicking or press expression selection interface, can also be with
Be slide expression selection interface basic facial expression icon trigger, can also trigger by other means, the embodiment of the present invention
The mode of specific triggering command is not limited.
Obtain module 1002, the gesture information inputted for obtaining user in predeterminable area;
Determining module 1001, for determining extension corresponding with the basic facial expression icon that user selects according to gesture information
Emotion icons;
Display module 1003, for showing extension emotion icons;
The extension emotion icons of predeterminable area pop-up display above basic facial expression icon can also be left side preset areas
The extension emotion icons of domain pop-up display, can also be other display modes, the embodiment of the present invention to specific display mode not
It is limited.
Optionally, extension emotion icons include the emotion icons different from intensity indicated by basic facial expression icon.
Optionally, extension emotion icons include the emotion icons different from emotion indicated by basic facial expression icon.
Optionally, extension emotion icons include strong journeys different from emotion indicated by basic facial expression icon, indicated
Spend also different emotion icons.
Optionally, gesture information includes the course bearing of gesture and the trajectory displacement of gesture, obtains module 1002 and specifically uses
In:
According to the gesture information that user inputs in predeterminable area, the course bearing of gesture and the trajectory displacement of gesture are obtained;
Wherein, course bearing includes at least one of upper and lower, left and right and screen diagonal direction, and trajectory displacement includes
Length between the starting point of track and the end point of track;
Predeterminable area includes the region where emotion icons, can also include extending around along emotion icons region
Region, can also include other regions, the embodiment of the present invention be not limited specific predeterminable area;
Specifically, acquisition module 1002 obtains the course bearing of gesture and the trajectory displacement of gesture includes:
According to the course bearing for the gesture that user inputs in predeterminable area, course bearing can along the expression figure up and down,
Left and right and diagonal screen direction obtains module 1002 and obtains the course bearing;
The starting point of the trajectory displacement of the gesture inputted according to user in predeterminable area obtains mould until user gesture stops
Block 1002 obtains the length between the starting point and the end point, the length can the distance between the starting point and end point length,
Can also the starting point to the gesture path between end point length of curve.
Optionally, gesture information includes that user presses the lasting duration of gesture, obtains module 1002 and is specifically used for:
The lasting duration of the pressing gesture that acquisition user inputs in predeterminable area;
Specifically, pressing predeterminable area with user is record start time, record user presses the lasting duration of gesture;
By the timer record duration, obtains module 1002 and obtain the duration.
Optionally, determining module 1001 is specifically used for:
According to the length of trajectory displacement, the extension emotion icons for indicating corresponding intensity are determined;
Specifically, determining module is bigger according to trajectory displacement length, the expansion table for indicating that corresponding intensity is bigger is determined
Feelings icon;
Alternatively,
According to course bearing, the extension emotion icons for indicating corresponding emotion are determined;
Using the basic facial expression as direction center, the corresponding extension emotion icons of setting different directions, and rail in this direction
The bigger extension emotion icons of the more big corresponding intensity of mark shift length;
Optionally, setting extension expression is shown in one direction.
Optionally, determining module 1001 is specifically used for:
According to the lasting duration of pressing gesture, the extension emotion icons for indicating corresponding intensity are determined;
As the increase that user presses the lasting duration of gesture corresponds to the bigger extension emotion icons of intensity;
It can be within the t time, with the bigger extension emotion icons of the corresponding intensity of the increase of duration, in the t time
Afterwards, as the increase extension emotion icons of duration are up to the smaller display of intensity from intensity;The corresponding relationship may be used also
Think within the t time, with the bigger extension emotion icons of the corresponding intensity of the increase of duration, after the t time, with duration
Increase extension emotion icons shown from basic facial expression icon to intensity largest extension expression, or from intensity minimum to
Intensity maximum is shown;
Alternatively,
According to the lasting duration of pressing gesture, the extension expression for indicating the different intensities of corresponding different emotions is determined
Icon.
The embodiment of the invention provides a kind of electronic equipment, what which was inputted by obtaining user in predeterminable area
Gesture information determines extension emotion icons corresponding with the selected basic facial expression icon of user, to make according to gesture information
Emotion icons needed for obtaining the selection that user can be more convenient;In addition, because extension emotion icons are and basic facial expression
The emotion icons of the corresponding different intensities of icon so that user has more selections, and user can select with
Instantly the emotion icons that emotion or mood is consistent meet user demand, improve user experience;In addition, because gesture information packet
The course bearing of gesture and the trajectory displacement of gesture are included, further includes the time that user persistently triggers gesture, so that Yong Huneng
It is enough to select emotion icons in several ways, it can only be compared by clicking selection compared to traditional, increase user's operation
Mode, emotion icons needed for allowing users to more convenient selection, improves user experience.
Embodiment five
For a kind of electronic equipment provided in an embodiment of the present invention, referring to Fig.1 shown in 1, which includes display screen
1101, memory 1102 and the processor 1103 being connect with display screen 1101, memory 1102, wherein memory 1102 is used
In storage batch processing code, processor 1103 calls the program code that is stored of memory 1102 for performing the following operations:
Determine the basic facial expression icon that user selects in expression selection interface;
Obtain the gesture information that user inputs in predeterminable area;
According to gesture information, extension emotion icons corresponding with the basic facial expression icon that user selects are determined;
Display extension emotion icons.
Optionally, extension emotion icons include the emotion icons different from intensity indicated by basic facial expression icon.
Optionally, extension emotion icons include the emotion icons different from emotion indicated by basic facial expression icon.
Optionally, extension emotion icons include strong journeys different from emotion indicated by basic facial expression icon, indicated
Spend also different emotion icons.
Optionally, processor 1103 calls the program code that is stored of memory 1102 for performing the following operations:
According to the gesture information that user inputs in predeterminable area, the course bearing of gesture and the trajectory displacement of gesture are obtained;
Wherein, course bearing includes at least one of upper and lower, left and right and screen diagonal direction, and trajectory displacement includes
Length between the starting point of track and the end point of track.
Optionally, processor 1103 calls the program code that is stored of memory 1102 for performing the following operations:
The lasting duration of the pressing gesture that acquisition user inputs in predeterminable area.
Optionally, processor 1103 calls the program code that is stored of memory 1102 for performing the following operations:
According to the length of trajectory displacement, the extension emotion icons for indicating corresponding intensity are determined;Alternatively,
According to course bearing, the extension emotion icons for indicating corresponding emotion are determined;Alternatively,
According to the lasting duration of pressing gesture, the extension emotion icons for indicating corresponding intensity are determined;Alternatively,
According to the lasting duration of pressing gesture, the extension expression for indicating the different intensities of corresponding different emotions is determined
Icon.
The embodiment of the invention provides a kind of methods for selecting emotion icons, are inputted by acquisition user in predeterminable area
Gesture information determines extension emotion icons corresponding with the selected basic facial expression icon of user, to make according to gesture information
Emotion icons needed for obtaining the selection that user can be more convenient;In addition, because extension emotion icons are and basic facial expression
The emotion icons of the corresponding different intensities of icon so that user has more selections, and user can select with
Instantly the emotion icons that emotion or mood is consistent meet user demand, improve user experience;In addition, because gesture information packet
The course bearing of gesture and the trajectory displacement of gesture are included, further includes the time that user persistently triggers gesture, so that Yong Huneng
It is enough to select emotion icons in several ways, it can only be compared by clicking selection compared to traditional, increase user's operation
Mode, emotion icons needed for allowing users to more convenient selection, improves user experience.
All the above alternatives can form alternative embodiment of the invention using any combination, herein no longer
It repeats one by one.
It is worth noting that, interface involved in the embodiment of the present invention is implemented just for the sake of the further explanation present invention
The method of example, is only exemplary, and not refers in particular to herein.
It should be understood that electronic equipment provided by the above embodiment is when carrying out selection emotion icons, only with above-mentioned each
The division progress of functional module can according to need and for example, in practical application by above-mentioned function distribution by different function
Energy module is completed, i.e., the internal structure of equipment is divided into different functional modules, to complete whole described above or portion
Divide function.In addition, the embodiment of the method for electronic equipment provided by the above embodiment and selection emotion icons belongs to same design,
Specific implementation process is detailed in embodiment of the method, and which is not described herein again.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
Complete, relevant hardware can also be instructed to complete by program, program can store in a kind of computer-readable storage
In medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely a prefered embodiment of the invention, is not intended to limit the invention, all in the spirit and principles in the present invention
Within, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.