Interaction method, device, and electronic device
By receiving the target expressions entered by the user in the chat software and adding special effects, the problem of low interactiveness of the expression interaction mode in the chat software is solved, and the fun and interactiveness in the chat process is improved.
Patent Information
- Application Number
- CN202211219808.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-30
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2042-09-30
AI Technical Summary
The interactive modes based on expressions in existing chat software are less interactive and less interesting.
When the chat interface is displayed, the user's input to the target expression is received, and the target expression is sent in the target mode, and the target special effects are added to the target object in the chat interface.
By adding special expression effects, the fun and interactive nature of expression interactions during the chat process is improved, and user operations are simplified.
Smart Images

Figure CN115604213B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of computer technology, and specifically relates to interactive methods and devices, and electronic devices. Background Art
[0002] In recent years, with the development of network technology, various chat software has emerged. In the chat interface, users may send various emoticons for reasons such as replacing text, expressing their mood, and adjusting the atmosphere. However, the emoticon function provided by various chat software is basically to select an emoticon and then send it out, with low interactivity and little fun. Therefore, it is necessary to improve the interactivity of emoticon-based interaction during the chat process. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide an interaction method and device, an electronic device, and a readable storage medium, which can solve the problem of low interactivity of expression-based interaction methods.
[0004] In a first aspect, an embodiment of the present application provides an interaction method, which includes: receiving a first input of a target expression from a first user while displaying a chat interface; in response to the first input, sending the target expression in a target manner, and adding a target special effect to a target object in the chat interface; wherein the target manner and the target object are associated with the first input, and the target special effect is a special effect associated with the target expression.
[0005] In a second aspect, an embodiment of the present application provides an interactive device, which includes: a first receiving module, used to receive a first input of a target expression from a first user when displaying a chat interface; a first responding module, used to send the target expression in a target manner in response to the first input, and add a target special effect to the target object in the chat interface; wherein the target manner and the target object are associated with the first input, and the target special effect is a special effect associated with the target expression.
[0006] In a third aspect, an embodiment of the present application provides an electronic device, comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the interaction method described in the first aspect are implemented.
[0007] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the interaction method described in the first aspect are implemented.
[0008] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the interaction method described in the first aspect.
[0009] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the interaction method as described in the first aspect.
[0010] In an embodiment of the present application, when a chat interface is displayed, a first input of a target expression by a first user is received; in response to the first input, the target expression is sent in a target manner, and a target special effect is added to the target object in the chat interface; wherein the target manner and the target object are associated with the first input, and the target special effect is a special effect associated with the target expression. In this way, the problem of low interactivity of the expression-based interaction method can be solved. By adding target special effects to the target object in the chat interface, the fun of interaction based on expressions during the chat process can also be enhanced. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 is a flow chart of the interaction method provided in an embodiment of the present application;
[0012] Figure 2-13 is a schematic diagram of an interface of an interactive method provided in an embodiment of the present application;
[0013] Fig.14 is a block diagram of an interactive device provided in an embodiment of the present application;
[0014] Fig.15 is a block diagram of an electronic device provided in an embodiment of the present application;
[0015] Fig.16 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0016] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0017] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here. In addition, the "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally represents that the objects associated with each other are in an "or" relationship.
[0018] The interactive method provided in the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0019] See also Figure 1 As shown, an embodiment of the present disclosure provides an interaction method, which includes steps 210-220.
[0020] Step 210: While displaying the chat interface, receive a first input of a target expression from a first user.
[0021] Step 220, in response to the first input, sending the target expression in a target manner, and adding a target special effect to the target object in the chat interface.
[0022] In the embodiment of the present application, the first user is the user of the electronic device. The first user can interact with other users by operating the electronic device. When the electronic device displays the chat interface, it receives the first input of the target expression from the first user. Among them, the target expression can come from the chat tool itself, or from the expression library of a third party. The source of the target expression is not limited here. The first input can be an input associated with the target mode and the target object. That is, the first input contains information associated with the target object and the target mode. Among them, the target object can be a message in the chat interface, such as an expression or text. The target object can also be a contact avatar in the chat interface. The target mode can be a mode determined according to the first input. For example, when the first input is a sliding input, the target mode can be an action at the end of the sliding. The target mode can also be a preset first input mode. For example, the input mode of "@username". The target mode is not specifically limited here. After receiving the first input, the electronic device responds to the first input, sends the target expression in a target mode, and adds a target special effect to the target object in the chat interface.
[0023] According to an embodiment of the present application, when a chat interface is displayed, a first input of a target expression from a first user is received; in response to the first input, the target expression is sent in a target manner, and a target special effect is added to the target object in the chat interface; wherein the target manner and the target object are associated with the first input, and the target special effect is a special effect associated with the target expression. In this way, the problem of low interactivity of the expression-based interaction method can be solved, and by adding target special effects to the target object, the fun of the expression-based interaction during the chat process can be improved. Moreover, through the first input, sending the target expression and adding the target special effect to the target object can be realized, which can facilitate user operation.
[0024] In some embodiments, in response to the first input, sending the target expression in a target manner and adding a target special effect to the target object in the chat interface includes:
[0025] In response to the first input, the target expression is sent, and the target expression is displayed in a first area of the chat interface, where the first area is an area determined by the first input;
[0026] A target special effect is added to a target object in the chat interface, and the target object is associated with the first area.
[0027] In this embodiment, the chat interface of the electronic device can be divided into multiple areas according to the information type in the chat interface. For example, Figure 2 The chat interface for multiple users to participate in the chat is shown. The chat interface is pre-divided into four areas along multiple dotted lines, which are area 1, area 2, area 3 and area 4 from left to right. Among them, area 1 corresponds to the avatar of the chat object, and area 2 corresponds to the content sent by the chat object. The chat objects include user A, user B and user C. Area 3 corresponds to the content sent by user D of the electronic device, and area 4 corresponds to the avatar of user D. User D corresponds to the first user in the embodiment of the present disclosure.
[0028] On this basis, the first user can make a first input to move the target expression to the first area. The first area can be area 1, or area 2. The first area can also be area 3, or area 4. No specific limitation is made here. The target mode can be the action at the end of the movement. Figure 3 As shown, if the position of the target expression is at the position of the avatar of user B in area 1 after the movement, and there is no other action after the movement, then this expression will only act on the avatar of user B, that is, the target object is the avatar of user B, and the special effect associated with the target expression is added to the avatar of user B. For example, if the target expression is a bomb expression, the target special effect is that the avatar of user B is blown up.
[0029] See also Figure 4 As shown, if the position of the target expression at the end of the movement is in the blank position below the avatar of user B in area 1, and the action at the end of the movement is sliding up, then this expression acts on the avatars of all chat objects above the blank position, that is, acts on the avatar of user B and the avatar of user A, that is, the target objects are the avatar of user B and the avatar of user A. Special effects associated with the target expression are added to the avatar of user B and the avatar of user A. For example, if the target expression is a bomb expression, the target special effect is that the avatar of user B and the avatar of user A are blown up in sequence.
[0030] See also Figure 5 As shown, if the target expression is located in a blank position below the avatar of user B in area 1 at the end of the movement, and the action at the end of the movement is sliding down, then this expression acts on the avatars of all chat objects below the blank position, that is, on the avatar of user C, that is, the target object is the avatar of user C. A special effect associated with the target expression is added to the avatar of user C. For example, if the target expression is a bomb, the target special effect is that the avatar of user C is blown up.
[0031] In a similar manner, when the target expression ends moving to any message or blank space in area 2, the target object can be determined in the message sent by the chat object. The message in the chat interface includes text, expressions, and the like.
[0032] When the target expression ends in area 3 and the movement ends with a swipe up, all avatars and expressions above the end of the movement are determined as target objects. When the target expression ends in area 3 in the chat interface and there is no other movement after the movement ends, all avatars and expressions below the end of the movement are determined as target objects.
[0033] When the moving end position of the target expression is located in area 4, all avatars and all messages in the chat interface are determined as target objects.
[0034] According to an embodiment of the present application, through a first input, a target expression is displayed in a first area of the chat interface, and a target special effect related to the target expression is added to the target object, which can make it easier for users to operate and realize expression-based interaction.
[0035] In one example, the first input is a sliding input, a first object and a second object are determined according to an end direction of the first input, and the target object includes the first object and the second object;
[0036] The step of sending the target expression in a target manner in response to the first input and adding a target special effect to the target object in the chat interface includes:
[0037] In response to the first input, sending the target expression in a target manner;
[0038] Add target special effects to the first object and the second object.
[0039] In this embodiment, the first input may be a sliding input, and the target mode may be the direction at the end of the first input. When receiving the first input, the electronic device may determine the first object and the second object according to the direction at the end of the first input. If the target mode is to end by sliding up, then the special effects associated with the target expression are added to each object in the chat interface in sequence from bottom to top. At this time, the objects to which the special effects are added are the first object and the second object. If the target mode is to end by sliding down, then the special effects associated with the target expression are added to each object in the chat interface in sequence from top to bottom. At this time, the objects to which the special effects are added are the first object and the second object.
[0040] According to the embodiment of the present application, multiple target objects can be determined through the first input and the target method, and target special effects related to the target expression can be added to the target objects. Expression-based interaction can be achieved with multiple target objects through simple operations, thereby improving the convenience of interaction and enhancing the user experience.
[0041] In one embodiment, when the chat interface is displayed, before receiving a first input of a target expression from a first user, the method further includes steps 110-111.
[0042] Step 110: receiving a second input of the target expression from the first user.
[0043] Step 111: In response to the second input, set a sending path for the target expression.
[0044] The step of sending the target expression in a target manner in response to the first input and adding a target special effect to the target object in the chat interface includes:
[0045] In response to the first input, the target expression is sent according to the sending path, and the target special effect is added to the target object.
[0046] In this embodiment, the first user pre-sets a sending path for the target expression, and in response to the second input, the target expression is sent according to the sending path, and then the target special effect is added to the target object at the end of the movement.
[0047] The sending path of the target expression can be a default sending path of the chat software. For example, the default sending path of the bomb expression is a parabola. Then, in response to the second input, the target expression is sent to the target object according to the default sending path of the target expression.
[0048] The default sending path of the target expression is described in detail below according to different situations.
[0049] In one example, see Figure 6 In the first method shown, the first user moves the target expression to the avatar of user C, and the target object is the avatar of user C. The target expression is sent to the avatar of user C along a "parabola". The avatar of user C is added with special effects associated with the target expression.
[0050] In another example, the target object is set to the user name input in the first input. The first input of the first user is "@username". When the electronic device receives the first input of the target expression from the first user, the target special effect can be added to the target object corresponding to the first input. For example, see Figure 6 In the second method shown, the first user inputs "@A@C", and the target objects are the avatars of user A and user C. The target expression is sent to the avatars of user A and user C along the "parabola". The avatar of user A is added with the special effects associated with the target expression, and the avatar of user C is added with the special effects associated with the target expression.
[0051] In another example, the first input may be to move the target expression sent by the first user in the chat interface to the target object. Figure 6 In the third method shown, user D moves the target expression in the chat interface to user C and user A, and the target expression is sent along a "parabola" to the avatars of user C and user A. In addition, the avatars of user C and user A are added with special effects associated with the target expression.
[0052] In addition, the first user can set different sending paths for different target expressions. The second input can be an input related to setting the sending path of the target expression. After receiving the second input of the target expression from the first user, the electronic device can respond to the second input and set a sending path for the target expression. After receiving the first input of the target expression from the first user, the electronic device can respond to the first input and send the target expression according to the sending path corresponding to the target expression, and add a target special effect to the target object.
[0053] For example, see Figure 7 As shown in FIG. 1 , a sending path different from the “parabola” can be set for the “bomb” target expression. After receiving the expression sent by user D moving the target expression to user B, the following can be done: Figure 7 The sending path shown sends the target expression to the expression sent by user B and explodes the expression sent by user B.
[0054] According to the embodiment of the present application, by presetting the sending path of the target object, the flexibility of the expression-based interaction can be improved. By using the default sending path, the convenience of the expression-based interaction can be improved.
[0055] In one embodiment, before receiving a first input of a target expression from a first user, the method further includes:
[0056] Step 310: receiving a third input of the first user for the first expression and the second expression;
[0057] Step 320: In response to the third input, establish an association relationship between the first expression and the second expression;
[0058] Step 330: receiving a fourth input from the user regarding the first expression;
[0059] Step 340: In response to the fourth input, determine the first expression as a target expression;
[0060] The step of sending the target expression in a target manner in response to the first input and adding a target special effect to a target object in the chat interface includes:
[0061] In response to the first input, the first expression and the second expression are sent to a target object in a continuous manner, and a target special effect is added to the target object when the first expression is sent to the target object.
[0062] In one example, see Figure 8 As shown, the first expression is a bomb expression, and the second expression is a dancing penguin expression. The electronic device can receive a third input from the first user, and in response to the third input, establish an association relationship between the first expression and the second expression. Then receive a fourth input from the first user for the first expression, and determine the first expression as the target expression. The target object may be a smiley face expression sent by user B in the chat interface. When the electronic device receives a first input for the target expression, it can send the first expression to the target object in response to the first input, and add a target special effect associated with the first expression to the target object, that is, the smiley face expression is blown up. Secondly, the second expression is also sent to the target object to show that the first user is very happy after bombing user B.
[0063] According to the embodiment of the present application, by establishing a mutual association between the first expression and the second expression, when the first expression is inputted, the first expression and the second expression can be continuously sent to the target object. In this way, the fun of expression-based interaction can be improved.
[0064] In one embodiment, receiving a first input of a target expression by a first user, sending the target expression in a target manner in response to the first input, and adding a target special effect to a target object in the chat interface includes:
[0065] Step 410: Receive a first input of a first target expression from a first user.
[0066] Step 420: In response to the first input, send the first target expression to the first object in a target manner.
[0067] Step 430: According to the first feedback mechanism, determine a second target expression, determine the avatar of the first user as a target object, and determine the special effect corresponding to the second target expression as a target special effect.
[0068] Step 440: Send the second target expression from the first object to the target object, and add the target special effect to the target object when the second target expression is sent to the target object. The first feedback mechanism is a feedback mechanism of the contact corresponding to the first object to the first target expression.
[0069] For example, the first object is the avatar of user A, and the first target expression is the bomb expression. User A pre-sets that when a bomb expression is received, the bomb will be rebound to the sender. According to the feedback mechanism, the second target expression is determined to be the bomb expression, the avatar of the first user is the target object, and the special effect corresponding to the second target expression is the target special effect. After the bomb expression moves to the avatar of user A, it is rebounded to the avatar of the first user, and then the avatar of the first user will be blown up.
[0070] See also, for example, Fig. 9 As shown, the first object is the smiley face expression sent by user B, the first target expression is the bomb expression, and user B has preset that when receiving the bomb expression, the torpedo expression will be rebounded to the sender. Then, according to the first feedback mechanism, it can be determined that the avatar of the first user is the target object, the torpedo expression is the second target expression, and the target special effect is the special effect of the torpedo exploding. After the bomb expression moves to the smiley face expression of user B, the torpedo expression will move from the smiley face expression of user B to the avatar of the first user, and the target special effect of the torpedo exploding will be added to the avatar of the first user.
[0071] According to the embodiment of the present application, by presetting the first feedback mechanism, the interactivity of expression-based interaction can be increased, the interaction can be made more intelligent, and the fun of the interaction can be improved.
[0072] In one embodiment, in response to the first input, sending the target expression in a target manner and adding a target special effect to the target object in the chat interface includes:
[0073] Step 510: In response to the first input, send the target expression to the first object in a target manner.
[0074] Step 520: If the contact corresponding to the first object has a preset second feedback mechanism for the first target expression, determine the target object according to the second feedback mechanism.
[0075] Step 530: forward the target expression to the target object, and add a target special effect to the target object when the target expression is sent to the target object.
[0076] See also Fig.10 As shown, in response to the first input, the bomb expression is sent to the smiling face expression of user B in a targeted manner. User B pre-sets a second feedback mechanism to send the bomb expression to user A when receiving the bomb expression. Therefore, user A can be determined as the target object and the special effect of the bomb exploding as the target special effect according to the second feedback mechanism, and the bomb expression is sent to user A. When the bomb expression is sent to user A, the target object is also added with the target special effect of the bomb exploding.
[0077] According to the embodiment of the present application, by presetting the second feedback mechanism, the scope of expression-based interaction can be expanded, more users can be involved in the interaction, and the flexibility and fun of the interaction can be improved.
[0078] In one embodiment, in response to the first input, sending the target expression in a target manner and adding a target special effect to the target object in the chat interface includes:
[0079] Step 610: In response to the first input, send the target expression to the target object in a target manner.
[0080] Step 620: Move the target object to the avatar associated area of the first user, and add a target special effect to the target object.
[0081] In one example, see Fig.11As shown, the target expression is a hook expression, and the target object is the avatar of user B and the smiley expression sent by user B. If the target expression sent by the first user is a hook expression, the avatar of user B and the smiley expression are moved to the avatar associated area of the first user, and then the avatar of user B and the special effects associated with the smiley expression and the hook expression are displayed in the avatar associated area of the first user.
[0082] According to an embodiment of the present application, by moving the target object to the avatar associated area of the first user in response to the first input, the diversity of interaction can be enriched and the fun of interaction can be improved.
[0083] In one embodiment, before receiving a first input of the target expression from a first user, the method further includes:
[0084] Step 710: Receive the fifth input from the user.
[0085] Step 720: In response to the fifth input, determine a content group, the content group including a first target content and a second target content, the first target content being the target expression.
[0086] The method further comprises:
[0087] In response to the first input, the second target content is sent, and the second target content is displayed in the chat interface.
[0088] In one example, the first user may pre-set a content group through the fifth input, wherein the content group includes the first target content and the second target content. The first target content may be associated with the second target content. Fig.12 As shown, the first target content is a gift box expression, and the second target content can be an expression to be linked selected from a series of expressions associated with the gift box. For example, the second target content can include a fireworks expression, a birthday cake expression, and can also add text messages, add files (such as adding video files), add red envelopes, etc. After determining the content group, when the first target content is determined as the target expression, the electronic device can respond to the first input of the first target content, send the second target content, and display the second target content in the chat interface. For example, when the target object receives a gift box expression, there will be a text message reminder: for example: "You have a gift box, please check it." If user B clicks on this gift box expression, the fireworks expression, birthday cake expression, and red envelope interface will be displayed in turn.
[0089] According to an embodiment of the present application, by determining a content group, when the first target content is sent to the target object, the second target content is also sent to the target object, which can enrich the content based on expression interaction and further enhance the fun of the interaction.
[0090] In one embodiment, the method further includes steps 810-820:
[0091] Step 810, receiving the first user's sixth input of the third expression in the chat interface.
[0092] Step 820: In response to the sixth input, play the sound effect of the third expression.
[0093] In this embodiment, a set of sound effects corresponding to each expression can be pre-set by means of mimicry. When a sixth input of the third expression in the chat interface by the first user is received, the sound effect corresponding to the third expression can be played in response to the sixth input.
[0094] For example, see Fig.13 As shown, corresponding pronunciation controls can be set around the expressions in the chat interface. When the first user clicks on the pronunciation control corresponding to any expression in the chat interface, that is, when the sixth input is performed, the sound effect corresponding to the expression is played.
[0095] According to the embodiment of the present application, by receiving the sixth input of the first user to the third expression in the chat interface, in response to the sixth input, the sound effect of the third expression is played. In this way, the interaction capability based on expressions can be enhanced, the fun can be improved, and the user can be helped to accurately understand the meaning of the expressions.
[0096] The interactive method provided in the embodiment of the present application can be executed by an interactive device. In the embodiment of the present application, the interactive device provided in the embodiment of the present application is described by taking the interactive method executed by the interactive device as an example.
[0097] See also Fig.14 As shown, the interactive device provided by the embodiment of the present disclosure includes a first receiving module 10 and a first responding module 20.
[0098] The first receiving module 10 is used to receive a first input of a target expression from a first user when displaying a chat interface.
[0099] A first response module 20, configured to respond to the first input, send the target expression in a target manner, and add a target special effect to the target object in the chat interface;
[0100] Among them, the target mode and the target object are associated with the first input, and the target special effect is a special effect associated with the target expression.
[0101] According to an embodiment of the present application, when a chat interface is displayed, a first input of a target expression by a first user is received; in response to the first input, the target expression is sent in a target manner, and a target special effect is added to the target object in the chat interface; wherein the target manner and the target object are associated with the first input, and the target special effect is a special effect associated with the target expression. In this way, the problem of low interactivity of the expression-based interaction method can be solved, and the fun of interaction based on expressions during the chat process can be improved.
[0102] In one embodiment, the target object includes at least one of the following:
[0103] Messages in the chat interface;
[0104] The contact avatar in the chat interface.
[0105] In one embodiment, the first response module 20 is specifically used to send the target expression in response to the first input, and display the target expression in a first area of the chat interface, where the first area is an area determined by the first input;
[0106] A target special effect is added to a target object in the chat interface, and the target object is associated with the first area.
[0107] According to an embodiment of the present application, interaction is achieved by establishing a first input associated with an area of the chat interface, which can make user operation more convenient.
[0108] In one embodiment, the first input is a sliding input, and the first response module 20 is specifically used to determine the first object and the second object according to the end direction of the first input, and the target object includes the first object and the second object; in response to the first input, the target expression is sent in a target manner; and target special effects are added to the first object and the second object.
[0109] According to the embodiment of the present application, by determining the target object through the first input and the target method, and adding a target special effect to the target object, it is possible to interact with multiple target objects through simple operations, thereby improving the convenience of interaction.
[0110] In one embodiment, the interaction device further includes: a first association module 30;
[0111] The first receiving module 10 is used to receive a third input of the first expression and the second expression from the first user before receiving the first input of the target expression from the first user;
[0112] The first associating module 30 is used to establish an associative relationship between the first expression and the second expression in response to the third input;
[0113] The first receiving module 10 is further configured to receive a fourth input from the first user regarding the first expression;
[0114] The first associating module 30 is further configured to determine the first expression as a target expression in response to the fourth input;
[0115] The first response module 20 is specifically configured to send the first expression and the second expression to a target object in a continuous manner in response to the first input, and to add a target special effect to the target object when the first expression is sent to the target object.
[0116] According to the embodiment of the present application, by establishing a mutual association between the first expression and the second expression, when the first expression is inputted, the first expression and the second expression can be continuously sent to the target object. In this way, the fun of expression-based interaction can be improved.
[0117] In one embodiment, the interaction device further includes: a first feedback module 40;
[0118] The first receiving module 10 is used to receive a first input of a first target expression by a first user;
[0119] The first response module 20 is used for sending the first target expression to the first object in a target manner in response to the first input;
[0120] The first feedback module 40 is used to determine the second target expression according to the first feedback mechanism, determine the avatar of the first user as the target object, and determine the special effect corresponding to the second target expression as the target special effect;
[0121] The first response module 20 is used to send the second target expression from the first object to the target object, and add the target special effect to the target object when the second target expression is sent to the target object;
[0122] The first feedback mechanism is a feedback mechanism of the contact person corresponding to the first object to the first target expression.
[0123] According to the embodiment of the present application, by presetting the first feedback mechanism, the interactivity of expression-based interaction can be increased, the interaction can be made more intelligent, and the fun of the interaction can be improved.
[0124] In one embodiment, the interaction device further includes a second feedback module 50;
[0125] The first response module 20 is used to send the target expression to the first object in a target manner in response to the first input;
[0126] The second feedback module 50 is used to determine the target object according to the second feedback mechanism when the contact corresponding to the first object has preset a second feedback mechanism for the first target expression;
[0127] The first response module 20 is used for forwarding the target expression to the target object, and adding a target special effect to the target object when the target expression is sent to the target object.
[0128] According to the embodiment of the present application, by presetting the second feedback mechanism, the scope of expression-based interaction can be expanded, more users can be involved in the interaction, and the flexibility and fun of the interaction can be improved.
[0129] In one embodiment, the first response module 20 is further specifically configured to send the target expression to a target object in a target manner in response to the first input; move the target object to an area associated with the avatar of the first user, and add a target special effect to the target object.
[0130] According to an embodiment of the present application, by moving the target object to the avatar associated area of the first user in response to the first input, the diversity of interaction can be enriched and the fun of interaction can be improved.
[0131] In one embodiment, the interaction device further comprises: a content group setting module 60;
[0132] The first receiving module 10 is used to receive a fifth input from a user; the content group setting module 60 is used to determine a content group in response to the fifth input, wherein the content group includes a first target content and a second target content, and the first target content is the target expression;
[0133] The first response module 20 is used to send the second target content in response to the first input, and display the second target content in the chat interface.
[0134] According to an embodiment of the present application, by determining a content group, when the first target content is sent to the target object, the second target content is also sent to the target object, which can enrich the content based on expression interaction and further enhance the fun of the interaction.
[0135] The interactive device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or it can be other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0136] The interactive device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0137] The interactive device provided in the embodiment of the present application can achieve Figure 1-13 To avoid repetition, the various processes implemented in the interactive method embodiment are not described here.
[0138] Alternatively, if Fig.15 As shown, an embodiment of the present application also provides an electronic device 900, including a processor 901 and a memory 902, wherein the memory 902 stores programs or instructions that can be executed on the processor 901, and when the program or instructions are executed by the processor 901, the various steps of the above-mentioned interaction method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not described here.
[0139] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0140] Fig.16 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0141] The electronic device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010 and other components.
[0142] Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1010 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.16 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0143] The user input unit 1007 is used to receive a first input of a target expression from a first user when the chat interface is displayed;
[0144] Processor 1010 is used to respond to the first input, send the target expression in a target manner, and add a target special effect to the target object in the chat interface; wherein the target manner and the target object are associated with the first input, and the target special effect is a special effect associated with the target expression.
[0145] According to an embodiment of the present application, when a chat interface is displayed, a first input of a target expression by a first user is received; in response to the first input, the target expression is sent in a target manner, and a target special effect is added to the target object in the chat interface; wherein the target manner and the target object are associated with the first input, and the target special effect is a special effect associated with the target expression. In this way, the problem of low interactivity of the expression-based interaction method can be solved, and the fun of interaction based on expressions during the chat process can be improved. In addition, the operation is simple, which can improve the user experience.
[0146] Optionally, the target object includes at least one of the following:
[0147] Messages in the chat interface;
[0148] The contact avatar in the chat interface.
[0149] Optionally, processor 1010 is also used to send the target expression in response to the first input, and display the target expression in a first area of the chat interface, where the first area is an area determined by the first input; and add a target special effect to the target object in the chat interface, where the target object is associated with the first area.
[0150] According to an embodiment of the present application, interaction is achieved by establishing a first input associated with an area of the chat interface, which can make user operation more convenient and enhance the user experience.
[0151] Optionally, the first input is a sliding input, and the processor 1010 is used to determine a first object and a second object according to an end direction of the first input, wherein the target object includes the first object and the second object; in response to the first input, the target expression is sent in a target manner; and target special effects are added to the first object and the second object.
[0152] According to the embodiment of the present application, by determining the target object through the first input and the target method, and adding a target special effect to the target object, it is possible to interact with multiple target objects through simple operations, thereby improving the convenience of interaction and enhancing the user experience.
[0153] Optionally, the user input unit 1007 is further configured to receive a third input of the first expression and the second expression from the first user before receiving the first input of the target expression from the first user;
[0154] The processor 1010 is configured to establish an association relationship between the first expression and the second expression in response to the third input;
[0155] The user input unit 1007 is further configured to receive a fourth input from the first user regarding the first expression;
[0156] Processor 1010 is also used to determine the first expression as the target expression in response to the fourth input; in response to the first input, send the first expression and the second expression to the target object in a continuous manner, and add a target special effect to the target object when the first expression is sent to the target object.
[0157] According to the embodiment of the present application, by establishing a mutual association between the first expression and the second expression, when the first expression is inputted, the first expression and the second expression can be continuously sent to the target object. In this way, the fun of expression-based interaction can be improved.
[0158] Optionally, the user input unit 1007 is further used to receive a first input of a first target expression from a first user;
[0159] Processor 1010 is also used to send the first target expression to the first object in a target manner in response to the first input; determine the second target expression, determine the avatar of the first user as the target object, and determine the special effect corresponding to the second target expression as the target special effect according to the first feedback mechanism; send the second target expression from the first object to the target object, and add the target special effect to the target object when the second target expression is sent to the target object; wherein the first feedback mechanism is a feedback mechanism for the first target expression by the contact corresponding to the first object.
[0160] According to the embodiment of the present application, by presetting the first feedback mechanism, the interactivity of expression-based interaction can be increased, the interaction can be made more intelligent, and the fun of the interaction can be improved.
[0161] Optionally, the processor 1010 is also used to send the target expression to a first object in a target manner in response to the first input; when a contact corresponding to the first object has a preset second feedback mechanism for the first target expression, determine the target object according to the second feedback mechanism; forward the target expression to the target object, and add a target special effect to the target object when the target expression is sent to the target object.
[0162] According to the embodiment of the present application, by presetting the second feedback mechanism, the scope of expression-based interaction can be expanded, more users can be involved in the interaction, and the flexibility and fun of the interaction can be improved.
[0163] Optionally, the processor 1010 is further configured to, in response to the first input, send the target expression to a target object in a target manner; move the target object to an area associated with the avatar of the first user, and add a target special effect to the target object.
[0164] According to an embodiment of the present application, by moving the target object to the avatar associated area of the first user in response to the first input, the diversity of interaction can be enriched and the fun of interaction can be improved.
[0165] Optionally, the user input unit 1007 is further used to receive a fifth input from the user;
[0166] Processor 1010 is also used to determine a content group in response to the fifth input, the content group including a first target content and a second target content, the first target content being the target expression; in response to the first input, send the second target content, and display the second target content in the chat interface.
[0167] According to an embodiment of the present application, by determining a content group, when the first target content is sent to the target object, the second target content is also sent to the target object, which can enrich the content based on expression interaction and further enhance the fun of the interaction.
[0168] It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and at least one of other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0169] The memory 1009 can be used to store software programs and various data. The memory 1009 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1009 may include a volatile memory or a non-volatile memory, or the memory 1009 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1009 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0170] The processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1010.
[0171] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned interaction method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0172] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0173] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned interaction method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0174] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0175] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned interaction method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0176] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0177] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0178] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. An interactive method, characterized in that: include: In the case of displaying the chat interface, receiving a first input of a target expression by a first user; In response to the first input, the target expression is sent in a target manner, and a target special effect is added to the target object in the chat interface; Wherein, the target mode and the target object are associated with the first input, and the target special effect is a special effect associated with the target expression; The first input is an input for moving the target expression to the first area, and the target mode is an action mode for completing the movement of the target expression; The step of sending the target expression in a target manner in response to the first input and adding a target special effect to a target object in the chat interface includes: In response to the first input, the target expression is sent, and the target expression is displayed in a first area of the chat interface, where the first area is an area determined by the first input, and the first area is one of an area corresponding to an avatar of a chat object, an area corresponding to content sent by the chat object, an area corresponding to content sent by the first user, and an area corresponding to an avatar of the first user; Add a target special effect to the target object in the chat interface, and the target object is determined according to the target mode and the first area.
2. The method according to claim 1, characterized in that The target object includes at least one of the following: Messages in the chat interface; The contact avatar in the chat interface.
3. The interactive method according to claim 1, characterized in that: The first input is a sliding input, a first object and a second object are determined according to an end direction of the first input, and the target object includes the first object and the second object; The step of sending the target expression in a target manner in response to the first input and adding a target special effect to a target object in the chat interface includes: In response to the first input, sending the target expression in a target manner; Add target special effects to the first object and the second object.
4. The interactive method according to claim 1, characterized in that: Before receiving a first input of a target expression from a first user, the method further includes: receiving a third input of the first user for the first expression and the second expression; In response to the third input, establishing an association relationship between the first expression and the second expression; receiving a fourth input of the first user for the first expression; In response to the fourth input, determining the first expression as a target expression; The step of sending the target expression in a target manner in response to the first input and adding a target special effect to a target object in the chat interface includes: In response to the first input, the first expression and the second expression are sent to a target object in a continuous manner, and a target special effect is added to the target object when the first expression is sent to the target object.
5. The interactive method according to claim 1, characterized in that: The receiving a first input of a target expression by a first user, sending the target expression in a target manner in response to the first input, and adding a target special effect to a target object in the chat interface includes: Receiving a first input of a first target expression by a first user; In response to the first input, sending the first target expression to a first object in a targeted manner; According to the first feedback mechanism, a second target expression is determined, the avatar of the first user is determined as a target object, and a special effect corresponding to the second target expression is determined as a target special effect; Sending the second target expression from the first object to the target object, and adding the target special effect to the target object when the second target expression is sent to the target object; The first feedback mechanism is a feedback mechanism of the contact person corresponding to the first object to the first target expression.
6. The interactive method according to claim 1, characterized in that: The step of sending the target expression in a target manner in response to the first input and adding a target special effect to a target object in the chat interface includes: In response to the first input, sending the target expression to the first object in a target manner; In a case where a contact corresponding to the first object has preset a second feedback mechanism for the first target expression, determining the target object according to the second feedback mechanism; The target expression is forwarded to the target object, and a target special effect is added to the target object when the target expression is sent to the target object.
7. The interactive method according to claim 1, characterized in that: The step of sending the target expression in a target manner in response to the first input and adding a target special effect to a target object in the chat interface includes: In response to the first input, sending the target expression to a target object in a target manner; The target object is moved to the avatar associated area of the first user, and a target special effect is added to the target object.
8. The interactive method according to claim 1, characterized in that: Before receiving a first input of the target expression from a first user, the method further includes: receiving a fifth input from the user; In response to the fifth input, determining a content group, the content group including a first target content and a second target content, the first target content being the target expression; The method further comprises: In response to the first input, the second target content is sent, and the second target content is displayed in the chat interface.
9. An interactive device, characterized in that: include: A first receiving module, used for receiving a first input of a target expression from a first user when displaying a chat interface; A first response module, configured to respond to the first input, send the target expression in a target manner, and add a target special effect to the target object in the chat interface; Wherein, the target mode and the target object are associated with the first input, and the target special effect is a special effect associated with the target expression; The first input is an input for moving the target expression to the first area, and the target mode is an action mode for completing the movement of the target expression; The first response module is further used to send the target expression in response to the first input, and display the target expression in a first area of the chat interface, where the first area is an area determined by the first input, and the first area is one of an area corresponding to an avatar of a chat object, an area corresponding to content sent by the chat object, an area corresponding to content sent by the first user, and an area corresponding to an avatar of the first user; Add a target special effect to the target object in the chat interface, and the target object is determined according to the target mode and the first area.
10. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the interaction method according to any one of claims 1 to 8 are implemented.
Citation Information
Patent Citations
Emoticon interactive method and device based on internet
CN107153468A
Information display processing method and device, terminal and storage medium
CN114995924A