Chat expression sending method and deviceTechnical Field
The invention relates to the field of computers, in particular to a chat emoticon sending method and device.
Background
With the development of the internet, instant messaging application has become a daily communication mode for people, and current chat software is provided with expressive functions in order to enhance entertainment and interactivity of instant chat. At present, common chat emoticons such as static or dynamic chat emoticons of QQ, a user selects a specific chat emoticons in a chat scene and then directly sends the chat emoticons to a receiving party, or a progress bar for directly displaying emotion sending progress on a screen, so that the current mode for sending the chat emoticons of the user is single, and a sending party does not have better entertainment and interactivity.
Disclosure of Invention
The embodiment of the invention provides a chat emoticon sending method and device, and solves the technical problems that the existing chat emoticon sending method is single, and the sending lacks entertainment and interactivity.
The purpose of the embodiment of the invention is realized by the following technical scheme:
a chat emoticon sending method comprises the following steps:
responding to user operation, and determining one or more chat emoticons to be sent;
acquiring an action instruction of a user;
and sending the chat emoticons according to the action instructions, and generating sending animations of the chat emoticons.
A chat emoticon transmitting apparatus, comprising:
the emotion determining module is used for responding to user operation and determining one or more chat emotions to be sent;
the instruction acquisition module is used for acquiring an action instruction of a user;
and the sending module is used for sending the chat emoticons according to the action instructions acquired by the instruction acquisition module and generating sending animations of the chat emoticons.
The embodiment of the invention provides a chat emoticon sending method and device, which are used for determining one or more chat emoticons to be sent by responding to user operation, acquiring an action instruction of a user, sending the chat emoticons according to the action instruction and generating a sending animation of the chat emoticons. The user can send the chat expressions and simultaneously add the sending animations, so that the interestingness and the interactivity of the sender are increased, and the use experience of the user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings needed to be used in the embodiments will be briefly described 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 without inventive exercise.
FIG. 1 is an instant chat interface provided in an embodiment of the present invention;
fig. 2 is a chat emoticon sending method provided in an embodiment of the present invention;
fig. 3 is another chat emoticon sending method provided in an embodiment of the present invention;
fig. 4 is a diagram illustrating another chat emoticon sending method provided in an embodiment of the present invention;
fig. 5 is a chat emoticon transmitting apparatus provided in an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
In an embodiment of the present invention, as shown in fig. 1, a terminal 110 is a Mobile phone with a chat function, and may also be a personal PAD or a tablet computer, an intelligent operating system based on Android, IOS, Symbian, Windows Mobile, and the like is loaded in the terminal 110, and according to application software for instant chat, an interface 120 of chat software is used to display chat information to a user, and an input area 130 is a touch virtual keyboard and is used for text input or chat expression selection.
Example one
An embodiment of the present invention provides a chat emoticon sending method, which takes a terminal 110 as an example, as shown in fig. 2, and includes the following steps:
step 201, responding to user operation, and determining one or more chat emoticons to be sent;
the chat emoticons can be selected from chat emoticons provided in the chat software, and the chat emoticons can be self-contained emoticons of the software or user-defined emoticons, and one or more chat emoticons to be sent are determined in response to click operation of a user, or one or more chat emoticons to be sent are determined in response to sliding operation of the user, for example: when the user operates the terminal 110, the user selects an expression displayed in the input area 130. And the terminal 110 may determine one or more chat emoticons selected by the user to be transmitted through the input area 130; or, the user slides a straight line or a curve in the input area, the expression traversed by the sliding straight line or curve is the expression selected by the user, and the terminal 110 determines to send the selected expressions together; alternatively, the user slides a closed circle or a closed irregular figure in the input area, and the terminal 110 determines that all expressions included in the closed circle or the closed irregular figure are multiple expressions to be sent.
Step 202, acquiring an action instruction of a user;
the method for acquiring the action instruction of the user can be implemented in various ways, for example: through the screen, the sliding operation of the user on the screen is obtained, and the expression sending instruction can be triggered; through the motion sensor, the shaking operation of the user is obtained, and the expression sending instruction can be triggered.
Step 203, sending the chat emoticons according to the action instructions and generating sending animations of the chat emoticons
After receiving the emoticon sending instruction, on one hand, sending the chat emoticon, and on the other hand, generating a sending animation on the chat interface 120 of the terminal 110 to replace a traditional sending progress bar, for example: the chat emotions can be turned over in the air and then disappear; alternatively, the chat emoticons are displayed in a pulsating manner and then disappear.
The first embodiment of the invention provides a chat emoticon sending method, which comprises the steps of responding to user operation, determining one or more chat emoticons to be sent, acquiring an action instruction of a user, sending the action instruction to a chat server,
and sending the chat emoticons and generating sending animations of the chat emoticons. The user can send the chat expressions and simultaneously add the sending animations, so that the interestingness and the interactivity of the sender are increased, and the use experience of the user is improved.
Example two
The second embodiment of the invention provides another chat emoticon sending method, which is characterized in that a function of customizing the animation by a user is added on the basis of the first embodiment of the invention, and the user can generate different sending instructions through different sliding tracks so as to generate different animations. As shown in fig. 3, the method comprises the steps of:
step 301, responding to user operation, and determining one or more chat emoticons to be sent;
step 302, acquiring a sliding track of a user on a screen;
wherein, a sliding track of a user on a screen is sensed and recorded through a touch screen of the terminal 110
Step 303, acquiring the action instruction according to the sliding track;
the obtaining of the action command according to the sliding track may include two ways:
in the first type, the terminal 110 stores different motion instructions corresponding to different tracks in advance, for example: when the user slides the screen transversely, inquiring the corresponding action instruction as sending, and generating the animation of the chat expression jump; when a user draws a 'symbol' on a screen, the corresponding action instruction is inquired for sending, and an animation of simulating mail delivery by the chat emoticon is generated.
Secondly, through the sliding track recorded in step 302, the obtained instruction is sending, and a sending animation of the chat expression moving along the sliding track is generated, for example: when a user draws a spiral line on a screen, the obtained action instruction is sent, and an animation of the spiral motion of the chat expression is generated.
And 304, sending the chat emoticons according to the action instruction, and generating a sending animation of the chat emoticons corresponding to the sliding track.
The second embodiment of the invention provides another chat emoticon sending method, which includes the steps of responding to user operation, determining one or more chat emoticons to be sent, acquiring a sliding track of a user on a screen, acquiring the action instruction according to the sliding track, sending the chat emoticons according to the action instruction, and generating a sending animation of the chat emoticons corresponding to the sliding track. The user can send the chat emoticons and simultaneously add the sending animations, different sending animations can be customized according to different sliding tracks, and the interaction mode and entertainment of the chat emoticons are improved.
EXAMPLE III
The third embodiment of the invention provides another chat emoticon sending method, which is characterized in that a function of customizing the animation by a user is added on the basis of the first embodiment of the invention, and the user can generate different sending instructions through different instruction types so as to generate different animations. As shown in fig. 4, the method includes the steps of:
step 401, responding to user operation, and determining one or more chat emoticons to be sent;
step 402, showing the action instruction type to the user for the user to select;
wherein, chat emoticons are presented to the user, and step 401 responds to the user operation, and after determining one or more chat emoticons to be sent, action instruction types can be presented to the user through the chat interface 120, for example: options may be presented in text form, for example: 1. rolling; 2. a blind window; 3. fade away, etc.
Step 403, acquiring the instruction type selected by the user;
wherein the user clicks on the animation type, i.e., the command type, to be presented on the chat interface 120.
Step 404, obtaining the action instruction according to the action instruction type selected by the user;
and 405, sending the chat emoticons according to the action instruction, and generating a sending animation of the chat emoticons corresponding to the instruction type.
The third embodiment of the present invention provides another chat emoticon sending method, which includes determining one or more chat emoticons to be sent by responding to a user operation, displaying an action instruction type by a user for the user to select, acquiring the instruction type selected by the user, acquiring the action instruction according to the action instruction type selected by the user, sending the chat emoticon according to the action instruction, and generating a sending animation of the chat emoticon corresponding to the instruction type. The user can send the chat emoticons and simultaneously add the sending animation, and can send different animations according to the predefined animation types, so that the interaction mode and the entertainment of the chat emoticons are improved.
Example four
The fourth embodiment of the present invention provides a chat emotion sending apparatus, including:
an emotion determining module 510, configured to determine, in response to a user operation, one or more chat emotions to be sent;
an instruction obtaining module 520, which obtains an action instruction of a user;
a sending module 530, configured to send the chat emoticon according to the action instruction obtained by the instruction obtaining module, and generate a sending animation of the chat emoticon.
Wherein,
the emotion determining module 510 may be specifically configured to determine to select one or more chat emotions to be sent in response to a click operation of a user, or determine one or more chat emotions to be sent in response to a slide operation of the user
The instruction obtaining module 520 may include:
a trajectory detection unit 521 for acquiring a sliding trajectory of the user on the screen;
the first instruction obtaining unit 522 is configured to obtain the action instruction according to the sliding track.
Correspondingly, the sending module is specifically configured to send the chat emoticon according to the action instruction, and generate a sending animation of the chat emoticon corresponding to the sliding track.
The instruction obtaining module 520 may further include:
an instruction type display unit 523, configured to display an action instruction type to a user for the user to select;
an instruction type obtaining unit 524, configured to obtain an instruction type selected by a user;
the second instruction obtaining unit 525 obtains the action instruction according to the action instruction type selected by the user.
Correspondingly, the sending module is specifically configured to send the chat emoticon according to the action instruction, and generate a sending animation of the chat emoticon corresponding to the instruction type.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention may be implemented by software plus a necessary hardware platform, and certainly may be implemented by hardware, but in many cases, the former is a better embodiment. With this understanding in mind, all or part of the technical solutions of the present invention that contribute to the background can be embodied in the form of a software product, which can be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods according to the embodiments or some parts of the embodiments of the present invention.
The present invention has been described in detail, and the principle and embodiments of the present invention are explained herein by using specific examples, which are only used to help understand the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.