Method for selecting emoticon and electronic equipment
Technical Field
The invention relates to the field of multimedia, in particular to a method for selecting emoticons and electronic equipment.
Background
Now, the user may send a short message through a short message function of the electronic device, or send a message through various chat application software, such as WeChat, QQ, and the like for interaction, or issue status information on tools such as a microblog, a circle of friends, and the like.
In the prior art, some emoticons are provided by electronic equipment or application software on an icon selection interface for a user to select, and the user clicks the emoticon to be selected and sends the selected emoticon alone or adds the selected emoticon in text information or state information to send the emoticon. The emoticons can express the emotional emotion of the user in the interaction process, and the vivid emoticons are beneficial to the interaction of the two parties of the user.
However, when the method provided by the prior art is used, the limited emoticons for the user to select sometimes cannot accurately represent the current emotion or emotion of the user, and at this time, the user can only select the similar emoticons to replace the emoticons, which reduces the user experience; in addition, the operation of clicking and selecting the emoticon by entering the emoticon selection interface is complicated and inconvenient, particularly when the emoticon is more, the emoticon is often selected by turning pages for multiple times and only can be selected by clicking, and the operation mode is limited.
Disclosure of Invention
In order to enable a user to select a required emoticon more conveniently and quickly, select an emoticon which is consistent with the current emotion or emotion of the user, meet the requirements of the user and improve the user experience, the embodiment of the invention provides a method for selecting an emoticon and electronic equipment. The technical scheme is as follows:
in a first aspect, a method for selecting an emoticon is provided, the method comprising:
determining a basic emoticon selected by a user on an emoticon selection interface;
acquiring gesture information input by a user in a preset area;
determining an extended emoticon corresponding to the basic emoticon selected by the user according to the gesture information;
and displaying the expansion emoticon.
With reference to the first aspect, in a first possible implementation manner,
the expanded emoticon comprises an emoticon which is different from the intensity indicated by the basic emoticon; or,
the extended emoticon comprises an emoticon different from the emotion indicated by the basic emoticon; or,
the extended emoticon includes an emoticon that is different from the emotion indicated by the basic emoticon and different in the degree of intensity indicated.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner, the gesture information includes a trajectory direction of the gesture and a trajectory displacement of the gesture, and the acquiring the gesture information input by the user in the preset area includes:
acquiring the track direction of the gesture and the track displacement of the gesture according to the gesture information input by a user in a preset area;
wherein the trajectory direction includes at least one of up, down, left, right, and screen diagonal directions, and the trajectory displacement includes a length between a start point of the trajectory and an end point of the trajectory.
With reference to the first possible implementation manner of the first aspect, in a third possible implementation manner, the gesture information includes duration of a pressing gesture of the user, and the acquiring gesture information input by the user in the preset area includes:
and acquiring the duration of the pressing gesture input by the user in a preset area.
With reference to the second or third possible implementation manner of the first aspect, in a fourth possible implementation manner, the determining, according to the gesture information, an extended emoticon corresponding to the basic emoticon selected by the user is implemented according to any one of the following operations:
determining an expansion emoticon indicating the corresponding intensity degree according to the length of the track displacement; or,
determining an extended emoticon indicating corresponding emotion according to the track direction;
determining an expansion emoticon indicating the corresponding intensity degree according to the duration of the pressing gesture; or,
and determining the expansion emoticons indicating different degrees of different corresponding emotions according to the duration of the pressing gesture.
In a second aspect, an electronic device is provided, and the electronic device includes:
the determining module is used for determining the basic emoticon selected by the user on the emoticon selecting interface;
the acquisition module is used for acquiring gesture information input by a user in a preset area;
the determining module is used for determining an extended emoticon corresponding to the basic emoticon selected by the user according to the gesture information;
and the display module is used for displaying the expansion emoticon.
With reference to the second aspect, in a first possible implementation manner,
the expanded emoticon comprises an emoticon which is different from the intensity indicated by the basic emoticon; or,
the extended emoticon comprises an emoticon different from the emotion indicated by the basic emoticon; or,
the extended emoticon includes an emoticon that is different from the emotion indicated by the basic emoticon and different in the degree of intensity indicated.
With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner, the gesture information includes a trajectory direction of the gesture and a trajectory displacement of the gesture, and the obtaining module is specifically configured to:
acquiring the track direction of the gesture and the track displacement of the gesture according to the gesture information input by a user in a preset area;
wherein the trajectory direction includes at least one of up, down, left, right, and screen diagonal directions, and the trajectory displacement includes a length between a start point of the trajectory and an end point of the trajectory.
With reference to the first possible implementation manner of the second aspect, in a third possible implementation manner, the gesture information includes duration of a user pressing a gesture, and the obtaining module is specifically configured to:
and acquiring the duration of the pressing gesture input by the user in a preset area.
With reference to the second or third possible implementation manner of the second aspect, in a fourth possible implementation manner, the determining module is specifically configured to:
determining an expansion emoticon indicating the corresponding intensity degree according to the length of the track displacement; or,
determining an extended emoticon indicating corresponding emotion according to the track direction; or,
determining an expansion emoticon indicating the corresponding intensity degree according to the duration of the pressing gesture; or,
and determining the expansion emoticons indicating different degrees of different corresponding emotions according to the duration of the pressing gesture.
In a third aspect, an electronic device is provided, where the electronic device includes a display screen, a memory, and a processor connected to the display screen and the memory, where the memory is used to store a set of program codes, and the processor calls the program codes stored in the memory to perform the following operations:
determining a basic emoticon selected by a user on an emoticon selection interface;
acquiring gesture information input by a user in a preset area;
determining an extended emoticon corresponding to the basic emoticon selected by the user according to the gesture information;
and displaying the expansion emoticon.
With reference to the third aspect, in a first possible implementation manner,
the expanded emoticon comprises an emoticon which is different from the intensity indicated by the basic emoticon; or,
the extended emoticon comprises an emoticon different from the emotion indicated by the basic emoticon; or,
the extended emoticon includes an emoticon that is different from the emotion indicated by the basic emoticon and different in the degree of intensity indicated.
With reference to the first possible implementation manner of the third aspect, in a second possible implementation manner, the processor calls the program code stored in the memory to perform the following operations:
acquiring the track direction of the gesture and the track displacement of the gesture according to the gesture information input by a user in a preset area;
wherein the trajectory direction includes at least one of up, down, left, right, and screen diagonal directions, and the trajectory displacement includes a length between a start point of the trajectory and an end point of the trajectory.
With reference to the first possible implementation manner of the third aspect, in a third possible implementation manner, the processor calls the program code stored in the memory to perform the following operations:
and acquiring the duration of the pressing gesture input by the user in a preset area.
With reference to the second or third possible implementation manner of the third aspect, in a fourth possible implementation manner, the processor calls the program code stored in the memory to perform the following operations:
determining an expansion emoticon indicating the corresponding intensity degree according to the length of the track displacement; or,
determining an extended emoticon indicating corresponding emotion according to the track direction; or,
determining an expansion emoticon indicating the corresponding intensity degree according to the duration of the pressing gesture; or,
and determining the expansion emoticons indicating different degrees of different corresponding emotions according to the duration of the pressing gesture.
The invention discloses a method for selecting an emoticon and electronic equipment. The method comprises the following steps: determining a basic emoticon selected by a user on an emoticon selection interface; acquiring gesture information input by a user in a preset area; determining an extended emoticon corresponding to the basic emoticon selected by the user according to the gesture information; and displaying the expansion emoticon. Therefore, the gesture information input by the user in the preset area is obtained, and the extended emoticon corresponding to the basic emoticon selected by the user is determined according to the gesture information, so that the user can select the required emoticon more conveniently and quickly; in addition, the expanded emoticons are the emoticons with different degrees of intensity corresponding to the basic emoticons, so that the user has more choices, and can select the emoticons conforming to the current emotion or emotion, thereby meeting the user requirements and improving the user experience; in addition, because the gesture information comprises the gesture track direction and the gesture track displacement and also comprises the time for continuously triggering the gesture by the user, the user can select the emoticon in multiple modes, compared with the traditional mode that the emoticon can only be selected by clicking, the method for operating the user is increased, the user can select the required emoticon more conveniently and quickly, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a method for selecting an emoticon according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for selecting an emoticon according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an interface provided by an embodiment of the present invention;
FIG. 4 is a schematic view of an interface provided by an embodiment of the present invention;
FIG. 5 is a schematic view of an interface provided by an embodiment of the present invention;
FIG. 6 is a schematic view of an interface provided by an embodiment of the present invention;
FIG. 7 is a schematic view of an interface provided by an embodiment of the present invention;
FIG. 8 is a flowchart of a method for selecting an emoticon according to an embodiment of the present invention;
FIG. 9 is a schematic view of an interface provided by an embodiment of the present invention;
FIG. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a method for selecting emoticons, which is applied to a scene that a user uses the selected emoticons or adds the emoticons into text information for instant interaction when the user interacts with other users through electronic equipment or application software on the electronic equipment.
It should be noted that the electronic device according to the embodiment of the present invention at least includes a display screen with a touch function.
Example one
An embodiment of the present invention provides a method for selecting an emoticon, and with reference to fig. 1, the method includes:
101. and determining the basic emoticon selected by the user in the emoticon selection interface.
102. And acquiring gesture information input by a user in a preset area.
Specifically, the gesture information includes a gesture trajectory direction and a gesture trajectory displacement, and the acquiring of the gesture information input by the user in the preset area includes:
acquiring a track direction of a gesture and a track displacement of the gesture according to gesture information input by a user in a preset area;
wherein the track direction includes at least one of up, down, left, right, and screen diagonal directions, and the track displacement includes a length between a start point of the track and an end point of the track.
The gesture information further comprises duration of pressing the gesture by the user, and the acquiring of the gesture information input by the user in the preset area comprises the following steps:
and acquiring the duration of the pressing gesture input by the user in the preset area.
103. And determining an extended emoticon corresponding to the basic emoticon selected by the user according to the gesture information.
The expanded emoticon includes an emoticon that is different in degree of intensity from that indicated by the basic emoticon.
The expanded emoticons also include emoticons that are different from the emoticons indicated by the base emoticons.
The expanded emoticon also includes an emoticon that is different in the degree of emotion indicated by the basic emoticon and also different in the degree of intensiveness indicated by the basic emoticon.
Specifically, the process may include:
determining an expansion emoticon indicating the corresponding intensity degree according to the length of the track displacement; or;
and determining the expansion emoticon indicating the corresponding emotion according to the track direction.
The process may further include:
and determining the expansion emoticon indicating the corresponding intensity degree according to the duration of the pressing gesture.
The process may further include:
and determining the expansion emoticons indicating different degrees of intensity of corresponding different emotions according to the duration of the pressing gesture.
104. And displaying the expansion emoticon.
The embodiment of the invention provides a method for selecting emoticons, which is characterized in that gesture information input by a user in a preset area is acquired, and an extended emoticon corresponding to a basic emoticon selected by the user is determined according to the gesture information, so that the user can select the required emoticon more conveniently and quickly; in addition, the expanded emoticons are the emoticons with different degrees of intensity corresponding to the basic emoticons, so that the user has more choices, and can select the emoticons conforming to the current emotion or emotion, thereby meeting the user requirements and improving the user experience; in addition, because the gesture information comprises the gesture track direction, the gesture track displacement and the time for continuously triggering the gesture by the user, the user can select the emoticon in multiple modes, compared with the traditional mode that the emoticon can be selected only by clicking, the method for operating the user is increased, the user can select the required emoticon more conveniently and quickly, and the user experience is improved.
Example two
An embodiment of the present invention provides a method for selecting an emoticon, where in the embodiment of the present invention, gesture information includes a trajectory direction of a gesture and a trajectory displacement of the gesture, and as shown in fig. 2, the method includes:
201. and setting an expansion emoticon.
Specifically, the expansion emoticon includes emoticons different in degree of intensity from those indicated by the basic emoticon:
the emoticons with different degrees of intensity belong to the same emotion as the basic emoticon, for example, the basic emoticon can be a 'favorite' basic emoticon, the 'favorite' basic emoticon can be a set 'favorite' emoticon with minimum degree of intensity, the 'favorite' emoticon with minimum degree of intensity is used as the basic emoticon, the emoticons are the same as the emotion of the basic emoticon, the expansion emoticons are 'favorite' emoticons with different degrees of intensity, and the emoticons with different degrees of intensity are arranged and displayed according to the degrees of intensity;
the method also comprises other basic emoticons and emoticons which correspond to the basic emoticons and have different degrees of intensity, and the embodiment of the invention does not limit the specific basic emoticons;
illustratively, referring to the interface shown in fig. 3, there is one basic emoticon and an expanded emoticon that is different in intensity from the one basic emoticon.
The expanded emoticon also includes an emoticon that is different from the emotion indicated by the basic emoticon:
for example, the basic emoticon may be an emoticon in an emotionless state, and the extended emoticon corresponding to the basic emoticon may be an extended emoticon of "happy", "angry", or "sade", or may be another extended emoticon;
illustratively, referring to fig. 4, the middle emoticon is a basic emoticon, and the four emoticons surrounding the basic emoticon are extended emoticons different from the emotion indicated by the one basic emoticon.
The extended emoticon also includes an emoticon which is different from the emotion indicated by the basic emoticon in the indicated intensity:
for example, the basic emoticon may be an emoticon in an emotional state, and the emoticon corresponds to different emotions, such as an extended emoticon corresponding to different emotions, e.g., "happiness", "anger", "sadness", "aversion", and the like, and corresponds to emoticons having different degrees of strength for each emotion;
it should be noted that the expanded emoticons are displayed according to a preset corresponding relationship between the expanded emoticons and the gestures when a user triggers a gesture instruction, the corresponding relationship refers to step 202, in the case that there is no trigger instruction, the expanded emoticons are hidden, and when a user triggers a gesture instruction in a certain direction based on the basic emoticons, the corresponding expanded emoticons are displayed.
The method provided by the embodiment of the invention enriches the selection range of the user, further meets the user requirements and improves the user experience compared with the traditional method that only one emoticon related to one emotion can be selected in an emoticon selection interface.
202. And setting the corresponding relation between the track direction of the gesture and the track displacement of the gesture and the expansion emoticon.
The corresponding relation between the track direction and the track displacement and the expansion emoticon at least comprises the expansion emoticon which is corresponding to the larger strong degree along with the increase of the track displacement in the preset track direction.
Specifically, if the extended emoticon includes an emoticon that is different from the emoticon indicated by the basic emoticon in the degree of intensity, the process may be:
setting an expansion emoticon which can correspond to the basic emoticon in the directions of upward, downward, leftward, rightward and diagonal directions of the screen when a sliding gesture is triggered by taking the selected basic emoticon as a direction center;
the extended emoticon corresponding to the basic emoticon in one direction of the basic emoticon may be set in advance, for example: the preset extended emoticons can only be in the upward direction, or can only be in the rightward direction, or can be in other directions, and the direction of the extended emoticon corresponding to the specific basic emoticon is not limited by the embodiment of the invention;
it should be noted that, when a finger instruction in a direction corresponding to an expanded emoticon is triggered, the emoticons of each intensity degree are sequentially arranged and displayed in the direction according to the minimum intensity degree to the maximum intensity degree, and the position where the gesture of the user stops is the expanded emoticon selected by the user.
And the longer the track displacement length in the direction is, the stronger the expansion emoticon is.
If the extended emoticon includes an emoticon that is different from the emotion indicated by the basic emoticon, the process includes:
setting emoticons corresponding to different emotions respectively in the directions of upward, downward, leftward, rightward and diagonal angles of a screen when a sliding gesture is triggered by taking the basic emoticon as a direction center;
for example, referring to fig. 4, the basic emoticon is an emoticon in an emotional state, an extended emoticon with emotion "anger" is arranged above the basic emoticon, an extended emoticon with emotion "joy" is arranged on the left, an extended emoticon with emotion "sadness" is arranged on the right, and an extended emoticon with emotion "dislike" is arranged below the basic emoticon;
the embodiment of the invention does not limit the basic emoticon, the emoticons which are different from the emoticons indicated by the basic emoticon, and the number and the specific emoticons of the emotional emoticons, and is specifically set according to the practical application.
If the extended emoticon further includes an emoticon that is different from the emotion indicated by the basic emoticon and different in the degree of intensity indicated by the basic emoticon, the process includes:
setting different emoticons corresponding to different directions and different degrees of intensiveness of the emoticons by taking the basic emoticon as a direction center, for example, the upward direction corresponds to the basic emoticon 'xi' and the different degrees of intensiveness of the expanded emoticon 'xi', the downward direction corresponds to the basic emoticon 'anger' and the different degrees of intensiveness of the expanded emoticon 'anger', the leftward direction corresponds to the basic emoticon 'sade' and the different degrees of intensiveness of the expanded emoticon 'sade', the rightward direction corresponds to the basic emoticon 'dislike' and the different degrees of intensiveness of the expanded emoticon 'dislike', and other directions can correspond to other expanded emoticons, and the embodiment of the invention does not limit the specific expanded emoticons corresponding to each direction;
setting the expanded emoticons with stronger degrees corresponding to the longer track displacement length in the direction;
it should be noted that the basic emoticon may be dragged, and the dragging instruction may be that the user drags the basic emoticon when the user continuously presses the basic emoticon and the basic emoticon is instructed to shake, for example, if the basic emoticon is located near the side of the screen, the user may drag the emoticon and then select the expansion emoticon. The embodiment of the invention does not limit the specific basic expression dragging triggering mode.
Optionally, if the expanded emoticon further includes an emoticon that is different from the emotion indicated by the basic emoticon and has a different intensity, the process may further include:
the method includes setting different emotions and expanded emoticons with different degrees of intensity corresponding to the different emotions to be displayed in one direction, for example, from a basic emotion of "happiness" to an expanded emoticon of "happiness" with different degrees of intensity, to a basic emotion of "anger" to an expanded emoticon of "anger" with different degrees of intensity, to an expanded emoticon of "sade" with different degrees of intensity, to a basic emoticon of "dislike" to an expanded emoticon of "dislike" with different degrees of intensity, and in addition, the basic emoticons and the expanded emoticons corresponding to the basic emotion of each emotion can be displayed in other orders.
In addition to the above manners, the trajectory direction of the gesture and the corresponding relationship between the trajectory displacement of the gesture and the expanded emoticon may be set in other manners.
It should be noted that this step is set in advance, and in practical applications, the user triggers a gesture related to the setting in advance to perform an operation of selecting an emoticon.
By setting the track direction of the gesture and the corresponding relation between the track displacement of the gesture and the expansion emoticon, the requirement that a user selects the emoticon through the gesture is met, the operation mode is increased, and the user experience is improved.
203. And setting the display mode of the expansion emoticon.
Specifically, if the extended emoticon includes an emoticon having a different degree of intensity from that indicated by the basic emoticon, the set display mode includes:
setting a preset area along the upward direction, the downward direction, the leftward direction, the rightward direction and the diagonal direction of the screen by taking the basic emoticon as a direction center, wherein the preset area can display the corresponding expansion emoticon of the basic emoticon; or,
displaying the extended emoticon of the basic emoticon in a preset area in a preset direction of the basic emoticon, for example: if the basic emoticon is preset to be in the upward direction, displaying the expanded emoticon in a preset area in the upward direction, or if the basic emoticon is preset to be in the right direction, displaying the expanded emoticon in a preset area in the right direction;
the display of the expanded emoticons in a certain direction includes that the expanded emoticons with the greatest intensity corresponding to the basic emoticons are sequentially and completely displayed in sequence from the basic emoticons to the preset area along the direction, and the expanded emoticons with the greatest intensity corresponding to the basic emoticons and the expanded emoticons with the greatest intensity corresponding to the length of the track displacement are displayed along with the increase of the track displacement of the preset area along the direction, and other previous expanded emoticons are hidden, and in addition, other display modes can be included, and the specific display mode is not limited by the embodiment of the invention;
and setting the expansion emoticon which is displayed with larger intensity corresponding to the longer track displacement length in the direction.
If the extended emoticon includes an emoticon different from the emotion indicated by the basic emoticon, the set display mode includes:
and setting preset areas along the upward direction, the downward direction, the leftward direction, the rightward direction and the diagonal direction of the screen to respectively display the expansion emoticons corresponding to different emotions by taking the basic emoticon as a direction center.
If the extended emoticon further includes an emoticon that is different from the emotion indicated by the basic emoticon and different in the degree of intensity indicated by the basic emoticon, the process includes:
setting preset areas in different directions to correspondingly display different emotions and expansion emoticons with different degrees of intensity of the emotions by taking the basic emoticon as a direction center;
the display in the direction includes that the preset area along the direction is sequentially and completely displayed from the basic emoticon to the expanded emoticon with the maximum intensity corresponding to the basic emoticon, and the display may also include that the expanded emoticon with the intensity corresponding to the length of the track displacement and the expanded emoticon with the partial intensity before the intensity are displayed along the increase of the track displacement of the preset area along the direction, and other previous expanded emoticons are hidden, besides, other display modes may also be included, and the specific display mode is not limited by the embodiment of the present invention;
and setting the expanded emoticons which correspondingly display the emotion to be more intense as the track displacement length in the direction is farther.
It should be noted that steps 201 to 203 are set in advance, and may include other setting manners besides the setting manner described above, and the embodiment of the present invention does not limit the preset extended emoticon, the set trajectory direction of the gesture, the corresponding relationship between the trajectory displacement of the gesture and the extended emoticon, and the set display manner of the extended emoticon.
204. And determining the basic emoticon selected by the user in the emoticon selection interface.
Specifically, the basic emoticon selected by the user on the emoticon selection interface is determined according to a gesture instruction triggered by the user.
The gesture instruction may be triggered by clicking or pressing a basic emoticon of the emoticon selection interface, may be triggered by sliding the basic emoticon of the emoticon selection interface, and may also be triggered by other manners.
For further explanation of the method according to the embodiment of the present invention, it is assumed that the scene of selecting an emoticon applied by the method includes selecting an emoticon in the instant message input, and an emoticon selection interface in the instant message input may be shown with reference to fig. 5.
205. And acquiring the track direction of the gesture and the track displacement of the gesture according to the gesture information input by the user in the preset area.
The track direction includes up, down, left, and right, and also includes a diagonal direction of the screen, and may also include directions at other angles.
The track displacement includes a length between a start point of the track and an end point of the track.
The preset area comprises an area where the emoticon is located, and also comprises an area which is expanded to the periphery along the area where the emoticon is located, and also comprises other areas.
Acquiring the trajectory direction and the trajectory displacement of the gesture comprises the following steps:
according to the track direction of the gesture input by the user in the preset area, the track direction can be along the directions of the upper, lower, left, right and diagonal angles of the screen of the expression graph, and the track direction is obtained;
according to the starting point of the trajectory displacement of the gesture input by the user in the preset area until the user gesture stops, the length between the starting point and the ending point is obtained, wherein the length can be the distance length between the starting point and the ending point or the curve length of the gesture trajectory between the starting point and the ending point.
For example, if the user inputs gesture information of a slide in the area where the emoticon is located in the interface shown in a in fig. 6, a slide in directions of up, down, left, right, and diagonal to the screen of the emoticon may be as shown in b in fig. 6, if the trajectory displacement is a distance length between a start point and an end point, as shown in c in fig. 6, and if the trajectory displacement is a curve length between the start point and the end point, as shown in d in fig. 6.
According to the trajectory direction of the gesture and the trajectory displacement of the gesture, the operation is simple and convenient, compared with the traditional mode that the selection can only be performed by clicking, the emoticon can be selected in the manner of the trajectory direction and the trajectory displacement of the gesture, the manner of user operation is increased, the user can select the required emoticon more conveniently and quickly, and the user experience is further improved.
It should be noted that, this step is a process of acquiring gesture information input by a user in a preset area, and besides the foregoing modes, the process may also be implemented in other modes, and a specific mode is not limited in the embodiment of the present invention.
The method comprises the steps of obtaining gesture information input by a user in a preset area, and determining an extended emoticon corresponding to a basic emoticon selected by the user according to the gesture information, so that the user can select the required emoticon more conveniently and quickly.
206. And determining an extended emoticon corresponding to the basic emoticon selected by the user according to the track direction of the gesture and the track displacement of the gesture.
Specifically, the process comprises the following steps:
determining an expansion emoticon indicating the corresponding intensity degree according to the length of the track displacement;
the larger the track displacement length is, the larger the corresponding intensity of the indication is determined to be.
The process further comprises:
determining an extended emoticon indicating corresponding emotion according to the track direction;
and determining the extended emoticon indicating the corresponding emotion according to the preset corresponding relation between the track direction and the extended emoticon in the step 202.
Because the extended emoticon corresponding to the basic emoticon selected by the user is determined according to the track direction of the gesture and the track displacement of the gesture in the embodiment, the emoticon can be selected by acquiring the track direction of the gesture of the user and the track displacement of the gesture, compared with the traditional selection method which only can be clicked, the method for selecting the emoticon by the user is added, the user can select the required emoticon more conveniently and quickly, and the user experience is improved.
207. And displaying the expansion emoticon.
Specifically, according to the extended emoticon corresponding to the determined indication of the corresponding intensity and/or the extended emoticon corresponding to the determined indication, the extended emoticon corresponding to the stop position of the track displacement triggered by the user in a certain direction is displayed, and meanwhile, the selected emoticon is added to the information content or the state content to be sent, or is independently added to the message interface to be sent or the state interface.
The embodiment of the present invention does not limit the specific display mode.
To further illustrate the method according to the embodiment of the present invention, taking the extended emoticon with different degrees of intensity indicated by the "favorite" basic emoticon and the "favorite" basic emoticon as an example, according to the track direction of the user gesture and the track displacement of the gesture, the process of displaying the extended emoticon may refer to an interface state change diagram, where the user selects the basic emoticon "favorite" on the emoticon selection interface shown in a in fig. 7, assuming that the preset extended emoticon is in the upward direction along the basic emoticon, the user triggers a gesture in the upward direction, the interface state diagram of the "favorite" extended emoticon displayed at the first displacement may refer to b in fig. 7, the user continues to slide in the upward direction, and the interface state diagram of the extended emoticon displayed at the second displacement and the third displacement may refer to c in fig. 7, if the user continues to slide in the upward direction, the interface state diagram of the expansion emoticon displayed at the fourth position can be referred to as d in fig. 7;
it should be noted that the number and the intensity of the expanded emoticons shown here are only schematic, and the embodiment of the present invention is not limited thereto.
The embodiment of the invention provides a method for selecting an emoticon, which comprises the steps of obtaining gesture information input by a user in a preset area, and determining an extended emoticon corresponding to a basic emoticon selected by the user according to the gesture information, so that the user can select the required emoticon more conveniently and quickly; in addition, the expanded emoticons are the emoticons with different degrees of intensity corresponding to the basic emoticons, so that the user has more choices, and can select the emoticons conforming to the current emotion or emotion, thereby meeting the user requirements and improving the user experience; in addition, because the gesture information comprises the gesture track direction and the gesture track displacement and also comprises the time for continuously triggering the gesture by the user, the user can select the emoticon in multiple modes, compared with the traditional mode that the emoticon can only be selected by clicking, the method for operating the user is increased, the user can select the required emoticon more conveniently and quickly, and the user experience is improved.
EXAMPLE III
In an embodiment of the present invention, the gesture information includes duration of a gesture pressed by a user, and referring to fig. 8, the method includes:
step 801 is the same as step 201 in the second embodiment, and will not be described again here.
802. And setting the corresponding relation between the duration of the gesture pressed by the user and the expansion emoticon.
The corresponding relation between the duration of the gesture pressed by the user and the expansion emoticons at least comprises the expansion emoticons which correspond to the expansion emoticons with the greater intensity along with the increase of time.
Specifically, the process may include:
setting corresponding relations between the extended emoticons with different degrees of intensity according to the duration of the pressing gesture;
the expanded emoticons with larger intensity are displayed along with the increase of time within the time t, and the expanded emoticons with larger intensity are displayed from the maximum intensity to the smaller intensity along with the increase of time after the time t; the corresponding relation can also be that the expanded emoticons with larger intensity are corresponding to the expanded emoticons with larger intensity along with the increase of time within t time, and the expanded emoticons are displayed from the basic emoticons to the expanded emoticons with the maximum intensity along with the increase of time after t time, or displayed from the maximum intensity to the basic emoticons;
for example, the expanded emoticon with the greatest intensity corresponds to 10 seconds, when the time for the user to continuously trigger the gesture is 2 seconds, the expanded emoticon with the greatest intensity corresponds to one expanded emoticon with the next greatest intensity, when the time is 3 seconds, the expanded emoticon with the greatest intensity corresponds to the next expanded emoticon with the next greatest intensity, and so on, when the time is 10 seconds, the expanded emoticon with the greatest intensity corresponds to the previous expanded emoticon with the greatest intensity, or the basic emoticon corresponds to the basic emoticon, or the expanded emoticon with the smallest intensity corresponds to the previous expanded emoticon with the greatest intensity, or the basic emoticon corresponds to the minimum expanded emoticon.
Optionally, the process further includes:
setting corresponding relations between the extended emoticons with different degrees of intensity of different emotions according to the duration of the pressing gesture;
illustratively, a user presses an area where a basic emoticon is located, and the basic emoticon is displayed from a 'happy' basic expression to a 'happy' expanded emoticon to a 'angry' expanded emoticon and then to a 'sadi' basic expression to a 'sadi' expanded emoticon according to the duration of a pressing gesture, wherein the sequence of the displayed different expanded emoticons is preset.
In addition, other corresponding relationships may be possible, and the specific corresponding relationship is not limited in the embodiment of the present invention.
It should be noted that the length of the time interval between one strong expansion emoticon and the next adjacent strong expansion emoticon is not limited, and is specifically set according to the actual application.
It should be noted that this step is set in advance, and in practical applications, the user triggers a gesture related to the setting in advance to perform an operation of selecting an emoticon.
By setting the corresponding relation between the time for continuously triggering the gesture by the user and the expansion emoticon, the requirement that the user selects the emoticon through the gesture is met, the operation mode is increased, and the user experience is improved.
803. And setting the display mode of the expansion emoticon.
Specifically, the expanded emoticon pops up and displays in a preset area above the basic emoticon, the expanded emoticon pops up and displays in a left preset area, and other display modes are also possible.
And displaying the expansion emoticons corresponding to each moment as the duration of the gesture pressed by the user increases.
Step 804 is the same as step 204 in the second embodiment, and will not be described herein again.
805. And acquiring the duration of the pressing gesture input by the user in the preset area.
Specifically, the duration of the pressing gesture of the user is recorded by taking the preset area pressed by the user as a recording time starting point;
the time is recorded by a timer.
It should be noted that, this step is a process of acquiring gesture information input by a user in a preset area, and besides the foregoing modes, the process may also be implemented in other modes, and a specific mode is not limited in the embodiment of the present invention.
The duration time of the user pressing gesture is obtained through the preset corresponding relation between the duration time of the user pressing gesture and the extended emoticons, and then the extended emoticons corresponding to the duration time are determined, so that the operation steps of selecting different emoticons are simplified, the interaction experience of the user when the user selects the emoticons is increased, the interactivity is increased, and the user experience is further improved.
806. And determining the extended emoticons corresponding to the basic emoticons selected by the user according to the duration of the pressing gesture of the user.
Specifically, the process comprises the following steps:
determining an expansion emoticon indicating the corresponding intensity degree according to the duration of the pressing gesture;
determining the expansion emoticons indicating the corresponding degrees of intensity according to the preset corresponding relation between the duration of the pressing gesture and the expansion emoticons with different degrees of intensity in the step 802;
according to the preset corresponding relation between the duration of the pressing gesture and the expansion emoticons with different degrees of intensity, when the duration of the pressing gesture of the user stops at a certain moment, the duration from the moment when the gesture starts to be pressed is determined, and the expansion emoticons with the degrees of intensity corresponding to the duration are determined.
The process further comprises:
determining expansion emoticons indicating different degrees of different corresponding emotions according to the duration of the pressing gesture;
determining the corresponding expansion emoticons with different degrees of intensity indicating different corresponding emotions according to the preset corresponding relation between the duration of the pressing gesture and the expansion emoticons with different degrees of intensity of different emotions in step 802;
according to the preset corresponding relation between the duration of the pressing gesture and the extended emoticons with different degrees of intensity of different emotions, when the duration of the pressing gesture of the user stops at a certain moment, the duration of the moment from the moment of starting the pressing gesture is determined, and the extended emoticons with the degrees of intensity of the emotions corresponding to the duration are determined.
By determining the extended emoticons indicating different corresponding emotions and having different degrees of intensity according to the duration of the pressing gesture, the requirement of a user for selecting the emoticons through the gesture is met, the operation mode is increased, and the user experience is improved.
807. And displaying the expansion emoticon.
Specifically, according to the extended emoticons which are determined to indicate the corresponding intensity and/or the different intensities of different emotions which are determined to indicate the corresponding intensity, the extended emoticons are displayed in a preset area which is set in advance;
displaying the extended emoticon is a dynamic process, including displaying the extended emoticon corresponding to each moment when the user presses the gesture continuously until the user stops pressing the extended emoticon of the whole process, and when the user stops pressing, displaying the extended emoticon corresponding to the moment when the user stops pressing in a preset area, wherein the extended emoticon is the extended emoticon selected by the user.
In addition to the above-described modes, other display modes are also possible, and the specific display mode is not limited in the embodiment of the present invention.
To further explain the method according to the embodiment of the present invention, taking the extended emoticons with different degrees of intensity indicated by the basic expression of "happy" and the basic expression of "happy" as an example, according to the duration of the pressing gesture, the process of displaying the extended emoticons may refer to the following interface state change diagram, where the user selects the basic expression "happy" on the expression selection interface shown in a in fig. 9, assuming that the preset extended emoticon is displayed in the preset area above the basic expression, the duration of the pressing gesture is long, the interface state diagram of the extended emoticon of "happy" with a degree of intensity displayed in the duration corresponding to time t1 may be shown in b in fig. 9, the interface state diagram of the extended emoticon of "happy" with a degree of intensity displayed in the duration corresponding to time t2 may be shown in c in fig. 9, and the interface state diagram of the extended emoticon of "happy" with a degree of intensity displayed in the duration corresponding to time t3 may be shown in d in fig. 9 The interface state diagram of the expanded emoticons with the strong degree of "happiness" displayed at the time of t4 can be referred to as e in fig. 9;
it should be noted that the number and the intensity of the expanded emoticons shown here are merely illustrative, and the embodiment of the present invention is not limited thereto.
The embodiment of the invention provides a method for selecting an emoticon, which comprises the steps of obtaining gesture information input by a user in a preset area, and determining an extended emoticon corresponding to a basic emoticon selected by the user according to the gesture information, so that the user can select the required emoticon more conveniently and quickly; in addition, the expanded emoticons are the emoticons with different degrees of intensity corresponding to the basic emoticons, so that the user has more choices, and can select the emoticons conforming to the current emotion or emotion, thereby meeting the user requirements and improving the user experience; in addition, because the gesture information comprises the gesture track direction and the gesture track displacement and also comprises the time for continuously triggering the gesture by the user, the user can select the emoticon in multiple modes, compared with the traditional mode that the emoticon can only be selected by clicking, the method for operating the user is increased, the user can select the required emoticon more conveniently and quickly, and the user experience is improved.
Example four
Referring to fig. 10, an electronic device 10 according to an embodiment of the present invention includes:
a determining module 1001, configured to determine a basic emoticon selected by a user on an emoticon selection interface;
specifically, the determining module 1001 determines the basic emoticon selected by the user on the emoticon selection interface according to the gesture instruction triggered by the user.
The gesture instruction may be triggered by clicking or pressing a basic emoticon of the emoticon selection interface, may be triggered by sliding the basic emoticon of the emoticon selection interface, and may also be triggered by other manners.
The obtaining module 1002 is configured to obtain gesture information input by a user in a preset area;
a determining module 1001, configured to determine, according to the gesture information, an extended emoticon corresponding to the basic emoticon selected by the user;
a display module 1003, configured to display the expanded emoticon;
the expanded emoticon pops up and displays in a preset area above the basic emoticon, the expanded emoticon pops up and displays in a left preset area, and other display modes are also available.
Optionally, the expanded emoticon includes an emoticon that is different in degree of intensity from that indicated by the basic emoticon.
Optionally, the expanded emoticon includes an emoticon different from the emotion indicated by the basic emoticon.
Optionally, the expanded emoticon includes an emoticon that is different from the emotion indicated by the basic emoticon and different in the degree of intensity indicated by the basic emoticon.
Optionally, the gesture information includes a trajectory direction of the gesture and a trajectory displacement of the gesture, and the obtaining module 1002 is specifically configured to:
acquiring a track direction of a gesture and a track displacement of the gesture according to gesture information input by a user in a preset area;
the track displacement comprises the length between the starting point of the track and the ending point of the track;
the preset area comprises an area where the emoticon is located, and also comprises an area which is expanded to the periphery along the area where the emoticon is located, and also comprises other areas, and the specific preset area is not limited by the embodiment of the invention;
specifically, the acquiring module 1002 acquires the trajectory direction of the gesture and the trajectory displacement of the gesture, including:
according to the trajectory direction of the gesture input by the user in the preset area, the trajectory direction may be in the directions of the upper, lower, left, right and diagonal angles of the screen along the expression graph, and the obtaining module 1002 obtains the trajectory direction;
according to the starting point of the trajectory displacement of the gesture input by the user in the preset area until the user gesture stops, the obtaining module 1002 obtains the length between the starting point and the ending point, where the length may be the distance length between the starting point and the ending point, or the curve length of the gesture trajectory between the starting point and the ending point.
Optionally, the gesture information includes duration of the user pressing the gesture, and the obtaining module 1002 is specifically configured to:
acquiring the duration of a pressing gesture input by a user in a preset area;
specifically, the duration of the pressing gesture of the user is recorded by taking the preset area pressed by the user as a recording time starting point;
the time length is recorded by a timer, and the obtaining module 1002 obtains the time length.
Optionally, the determining module 1001 is specifically configured to:
determining an expansion emoticon indicating the corresponding intensity degree according to the length of the track displacement;
specifically, the determining module determines the expansion emoticon with the stronger corresponding indication degree according to the larger displacement length of the track;
or,
determining an extended emoticon indicating corresponding emotion according to the track direction;
setting the expansion emoticons corresponding to different directions by taking the basic expression as a direction center, wherein the expansion emoticons with larger degrees correspond to larger track displacement lengths in the direction;
optionally, the expanded expression is set to be displayed in one direction.
Optionally, the determining module 1001 is specifically configured to:
determining an expansion emoticon indicating the corresponding intensity degree according to the duration of the pressing gesture;
the corresponding expanded emoticons with larger degrees of intensity are increased along with the increase of the duration of the gesture pressed by the user;
the expanded emoticons with larger intensity are corresponding to the expanded emoticons with larger intensity along with the increase of the duration within the time t, and the expanded emoticons are displayed from the maximum intensity to the smaller intensity along with the increase of the duration after the time t; the corresponding relation can also be that the expanded emoticons with larger intensity are corresponding with the increase of the duration within the time t, and after the time t, the expanded emoticons are displayed from the basic emoticons to the expanded emoticons with the maximum intensity along with the increase of the duration, or from the minimum intensity to the maximum intensity;
or,
and determining the expansion emoticons indicating different degrees of intensity of corresponding different emotions according to the duration of the pressing gesture.
The embodiment of the invention provides electronic equipment, which is characterized in that the electronic equipment determines an extended emoticon corresponding to a basic emoticon selected by a user according to gesture information by acquiring the gesture information input by the user in a preset area, so that the user can select the required emoticon more conveniently and quickly; in addition, the expanded emoticons are the emoticons with different degrees of intensity corresponding to the basic emoticons, so that the user has more choices, and can select the emoticons conforming to the current emotion or emotion, thereby meeting the user requirements and improving the user experience; in addition, because the gesture information comprises the gesture track direction and the gesture track displacement and also comprises the time for continuously triggering the gesture by the user, the user can select the emoticon in multiple modes, compared with the traditional mode that the emoticon can only be selected by clicking, the method for operating the user is increased, the user can select the required emoticon more conveniently and quickly, and the user experience is improved.
EXAMPLE five
Referring to fig. 11, an electronic device 11 according to an embodiment of the present invention includes a display 1101, a memory 1102, and a processor 1103 connected to the display 1101 and the memory 1102, where the memory 1102 is configured to store a set of program codes, and the processor 1103 calls the program codes stored in the memory 1102 to perform the following operations:
determining a basic emoticon selected by a user on an emoticon selection interface;
acquiring gesture information input by a user in a preset area;
determining an extended emoticon corresponding to the basic emoticon selected by the user according to the gesture information;
and displaying the expansion emoticon.
Optionally, the expanded emoticon includes an emoticon that is different in degree of intensity from that indicated by the basic emoticon.
Optionally, the expanded emoticon includes an emoticon different from the emotion indicated by the basic emoticon.
Optionally, the expanded emoticon includes an emoticon that is different from the emotion indicated by the basic emoticon and different in the degree of intensity indicated by the basic emoticon.
Optionally, the processor 1103 calls the program code stored in the memory 1102 to perform the following operations:
acquiring a track direction of a gesture and a track displacement of the gesture according to gesture information input by a user in a preset area;
wherein the track direction includes at least one of up, down, left and right, and a screen diagonal direction, and the track displacement includes a length between a start point of the track and an end point of the track.
Optionally, the processor 1103 calls the program code stored in the memory 1102 to perform the following operations:
and acquiring the duration of the pressing gesture input by the user in the preset area.
Optionally, the processor 1103 calls the program code stored in the memory 1102 to perform the following operations:
determining an expansion emoticon indicating the corresponding intensity degree according to the length of the track displacement; or,
determining an extended emoticon indicating corresponding emotion according to the track direction; or,
determining an expansion emoticon indicating the corresponding intensity degree according to the duration of the pressing gesture; or,
and determining the expansion emoticons indicating different degrees of intensity of corresponding different emotions according to the duration of the pressing gesture.
The embodiment of the invention provides a method for selecting an emoticon, which comprises the steps of obtaining gesture information input by a user in a preset area, and determining an extended emoticon corresponding to a basic emoticon selected by the user according to the gesture information, so that the user can select the required emoticon more conveniently and quickly; in addition, the expanded emoticons are the emoticons with different degrees of intensity corresponding to the basic emoticons, so that the user has more choices, and can select the emoticons conforming to the current emotion or emotion, thereby meeting the user requirements and improving the user experience; in addition, because the gesture information comprises the gesture track direction and the gesture track displacement and also comprises the time for continuously triggering the gesture by the user, the user can select the emoticon in multiple modes, compared with the traditional mode that the emoticon can only be selected by clicking, the method for operating the user is increased, the user can select the required emoticon more conveniently and quickly, and the user experience is improved.
All the above-mentioned optional technical solutions can be combined arbitrarily to form the optional embodiments of the present invention, and are not described herein again.
It is noted that the interfaces mentioned in the embodiments of the present invention are only for further illustrating the methods of the embodiments of the present invention, and are merely exemplary and not specific herein.
It should be noted that: in the electronic device provided in the above embodiment, when selecting an expression icon, only the division of the functional modules is illustrated, and in practical application, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the electronic device and the method for selecting an emoticon provided by the embodiment belong to the same concept, and specific implementation processes thereof are described in the method embodiment in detail and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The present invention is not limited to the above preferred embodiments, and any modifications, equivalent replacements, improvements, etc. within the spirit and principle of the present invention should be included in the protection scope of the present invention.