Method for obtaining expression element and related device

By dynamically presenting multiple copies of emoticons in an instant messaging application and retrieving emoticon objects in response to user actions, the problem of insufficient personalization caused by the uniform configuration of emoticon elements is solved, thereby improving user engagement and fun.

CN116560765BActive Publication Date: 2026-08-25TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210101102.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-27
Publication Date
2026-08-25
Estimated Expiration
2042-01-27

AI Technical Summary

Technical Problem

The uniform configuration of emoticons in instant messaging applications cannot meet the growing personalized needs of the target audience, resulting in low user engagement and hindering the promotion of the application.

Method used

The system dynamically presents multiple emoji copies corresponding to the target keywords in the chat interface, including pointing elements. It responds to user actions to obtain the emoji objects associated with the pointing elements, thus meeting personalized needs and increasing the product's fun factor.

Benefits of technology

By using personalized emoji elements, the user engagement with the instant messaging application and the number of messages sent increased, enhancing the user experience and product appeal.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116560765B_ABST
    Figure CN116560765B_ABST
Patent Text Reader

Abstract

The application relates to the computer technical field and provides an expression element acquisition method and related devices to meet the increasing personalized needs of target objects, wherein the method comprises the following steps: a client presents a plurality of expression copies of an expression element corresponding to a target keyword input by a target object in a conversation interface; and in response to a trigger operation of the target object on at least one pointing element contained in the plurality of expression copies, an expression object associated with the pointing element is acquired and presented. In this way, the repetition probability of the expression element is reduced, and the product interest is increased.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and provides a method and related apparatus for acquiring facial expression elements. Background Technology

[0002] With the continuous development of computer technology, during instant messaging sessions, different users can express their emotions directly by sending emoticons.

[0003] However, in related technologies, the emoticons provided in instant messaging applications are usually uniformly configured by the instant messaging system, so that all target users receive the same emoticons. This fails to meet the growing personalized needs of target users, resulting in low user stickiness to instant messaging applications and hindering their further promotion. Summary of the Invention

[0004] This application provides a method and related apparatus for acquiring emoticon elements to meet the growing personalized needs of target users and increase their stickiness to instant messaging applications.

[0005] In a first aspect, embodiments of this application provide a method for obtaining emoji elements, applied to a client, including:

[0006] The target keyword sent by the target object in the conversation interface is obtained, and multiple emoji copies of the emoji element corresponding to the target keyword are presented in the conversation interface using a preset presentation style, wherein the multiple emoji copies include at least one directional element.

[0007] In response to a trigger operation by the target object on the at least one pointing element, an emoji object associated with the at least one pointing element is obtained, and the emoji object is presented in the session interface.

[0008] Secondly, embodiments of this application provide a method for obtaining emoji elements, applied on a server side, including:

[0009] Receive third-session messages from the client;

[0010] When it is determined that the third session message contains a target keyword, the targeting element identification information corresponding to the target keyword is obtained;

[0011] Based on the directional element identification information, an expression presentation instruction is obtained;

[0012] The emoji presentation instruction is returned to the client, so that the client presents the plurality of emoji copies of the emoji element corresponding to the target keyword in the session interface, and in response to a trigger operation for at least one pointing element included in the plurality of emoji copies, obtains and presents the emoji object associated with the at least one pointing element.

[0013] Thirdly, embodiments of this application provide a device for acquiring facial expression elements, including:

[0014] The first processing unit is used to obtain the target keyword sent by the target object in the conversation interface, and in the conversation interface, present multiple emoji copies of the emoji element corresponding to the target keyword using a preset presentation style, wherein the multiple emoji copies include at least one directional element.

[0015] The second processing unit is configured to, in response to the triggering operation of the target object on the at least one pointing element, obtain the emoticon object associated with the at least one pointing element, and present the emoticon object in the conversation interface.

[0016] As one possible implementation, when multiple emoji copies of the emoji element corresponding to the target keyword are presented in the conversation interface using a preset presentation style, the first processing unit is specifically used for:

[0017] In the conversation interface, multiple copies of the emoji element corresponding to the target keyword are presented, as well as the process of moving the multiple copies of the emoji.

[0018] As one possible implementation, the first processing unit is also used to present the multiple emoji copies in the conversation interface using a preset presentation style when the cumulative number of times the target keyword is acquired reaches a threshold.

[0019] The second processing unit is further configured to, in response to a triggering operation by the target object on the at least one pointing element, present the emoticon object and present an emoticon skin associated with the emoticon object.

[0020] As one possible implementation, the conversation interface includes a text editing area, and the text editing area includes an emoji editing component; then, when the emoji object is presented in the conversation interface, the second processing unit is specifically used for:

[0021] In the conversation interface, the emoticon object is moved and presented based on a specified movement trajectory, and during the movement and presentation process, the presentation form of the emoticon object is dynamically adjusted according to a specified shape change rule; wherein, the endpoint of the specified movement trajectory is the emoticon editing component.

[0022] As one possible implementation, the second processing unit is further configured to:

[0023] In response to a trigger operation by the target object on the emoticon editing component, an emoticon editing area is presented in the session interface, the emoticon editing area containing the emoticon object.

[0024] As one possible implementation, before obtaining the target keyword sent by the target object in the session interface, the first processing unit is further configured to:

[0025] In the conversation interface, a first received conversation message is presented, containing the emoticon object. In response to a trigger operation by the target object on the emoticon object, an emoticon display interface for the emoticon object is presented, containing an emoticon acquisition component. In response to a trigger operation by the target object on the emoticon acquisition component, a second conversation message containing the target keyword is sent and presented; or,

[0026] In response to a text input operation triggered by the target object, a second conversation message containing the target keyword is obtained from the input of the target object, and in response to the sending operation of the target object for the second conversation message, the second conversation message is sent and presented.

[0027] As one possible implementation, the first processing unit is used to obtain the pointer element in the following way:

[0028] When an expression presentation instruction is received from the server based on the target keyword, the at least one directional element is obtained based on the directional element identification information carried in the expression presentation instruction.

[0029] As one possible implementation, the expression display instruction also includes expression object identification information; then, when obtaining the expression object associated with the at least one pointing element, the second processing unit is specifically used for:

[0030] Send an emoticon download request carrying the emoticon object identification information to the server;

[0031] Receive the emoticon download response returned by the server, wherein the emoticon download response contains the emoticon download link corresponding to the emoticon object;

[0032] Based on the emoji download link, obtain the emoji object.

[0033] As one possible implementation, the emoticon object is configured with a shared operation identifier, which is used to restrict the target object from triggering a shared operation on the emoticon object.

[0034] Fourthly, embodiments of this application provide a device for acquiring facial expression elements, including:

[0035] The message receiving unit is used to receive third-session messages from the client;

[0036] The identifier acquisition unit is used to acquire the pointing element identifier information corresponding to the target keyword when it is determined that the third session message contains a target keyword;

[0037] An instruction generation unit is used to obtain an expression presentation instruction based on the directional element identification information;

[0038] The instruction sending unit is configured to return the emoticon presentation instruction to the client, so that the client presents the plurality of emoticon copies of the emoticon element corresponding to the target keyword in the session interface, and in response to a trigger operation for at least one pointing element included in the plurality of emoticon copies, obtains and presents the emoticon object associated with the at least one pointing element.

[0039] As one possible implementation, the instruction sending unit is also used for:

[0040] Receive an emoji download request from the client, the emoji download request containing the emoji object identifier information of the emoji object;

[0041] Based on the emoticon object identification information, when the emoticon type of the emoticon object is determined to be a specified type, and the client version is not lower than the specified version, an emoticon download response is returned to the client, and the emoticon download response contains the emoticon download link corresponding to the emoticon object.

[0042] As one possible implementation, when determining that the expression type of the expression object is a specified type based on the expression object identifier information, the instruction sending unit is specifically used for:

[0043] If the emoticon object identification information contains a shared operation identifier, then the emoticon type of the emoticon object is determined to be a specified type, wherein the shared operation identifier is used to restrict the target object from triggering a shared operation on the emoticon object.

[0044] Fifthly, embodiments of this application provide an electronic device, including a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the steps of the method for obtaining facial expression elements described in the first or second aspect above.

[0045] Sixthly, embodiments of this application provide a computer-readable storage medium including a computer program, which, when run on an electronic device, causes the electronic device to perform the steps of the method for obtaining facial expression elements described in the first or second aspect.

[0046] In a seventh aspect, embodiments of this application provide a computer program product, the program product including a computer program stored in a computer-readable storage medium, wherein a processor of an electronic device reads from and executes the computer program from the computer-readable storage medium, causing the electronic device to perform the steps of the method for obtaining facial expression elements in the first or second aspect described above.

[0047] In this embodiment of the application, when the conversation message sent by the target object contains certain target keywords that trigger emoji elements, multiple emoji copies of the emoji elements corresponding to the target keywords will be dynamically presented in the conversation interface. The multiple emoji copies include pointing elements. In response to the target object's trigger operation on the pointing elements, the emoji object associated with the pointing elements is obtained and presented.

[0048] In this way, users can trigger a pointing element to obtain the emoticon object associated with that element. This avoids all users receiving the same emoticon, reducing the possibility of duplicate emoticons between users. This satisfies the growing personalization needs of the target audience, increasing user engagement with the instant messaging application and facilitating its further promotion. Furthermore, the scarcity of emoticons increases product appeal and boosts the volume of messages sent in conversations.

[0049] Other features and advantages of this application will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the application. The objectives and other advantages of this application may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings. Attached Figure Description

[0050] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0051] Figure 1 This is a schematic diagram of a conversational interface;

[0052] Figure 2 This is a schematic diagram illustrating an application scenario provided in the embodiments of this application;

[0053] Figure 3This is a flowchart illustrating a method for obtaining facial expression elements provided in an embodiment of this application;

[0054] Figure 4 This is a schematic diagram of the first facial expression element and the directional element provided in the embodiments of this application;

[0055] Figure 5 This is a schematic diagram illustrating an embodiment of obtaining an expression object provided in this application.

[0056] Figure 6 This is a schematic diagram illustrating the presentation of an expression object provided in an embodiment of this application;

[0057] Figure 7 This is a schematic diagram of an expression editing area provided in an embodiment of this application;

[0058] Figure 8 This is a schematic diagram illustrating the use of an emoticon object in an embodiment of this application;

[0059] Figure 9A This is a schematic diagram of a combined emoticon provided in an embodiment of this application;

[0060] Figure 9B This is a schematic diagram of another combined emoticon provided in the embodiments of this application;

[0061] Figure 10 This is a schematic diagram of a combined emoticon provided in an embodiment of this application;

[0062] Figure 11 This is a schematic diagram illustrating the interaction between a client and a server provided in an embodiment of this application;

[0063] Figure 12 This is a schematic diagram illustrating another interaction between a client and a server provided in an embodiment of this application;

[0064] Figure 13 This is a schematic diagram illustrating another interaction between a client and a server provided in the embodiments of this application;

[0065] Figure 14 This is a schematic diagram of the structure of an expression element acquisition device provided in an embodiment of this application;

[0066] Figure 15 This is a schematic diagram of another facial expression element acquisition device provided in the embodiments of this application;

[0067] Figure 16 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0068] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings of the embodiments of this application. Obviously, the described embodiments are only some embodiments of the technical solutions of this application, and not all embodiments. Based on the embodiments recorded in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the technical solutions of this application.

[0069] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0070] In the following description, the terms “first, second…” are used merely to distinguish similar objects and do not represent a specific ordering of objects. It is understood that “first, second…” may be interchanged in a specific order or sequence where permitted, so that the embodiments of this application described herein can be implemented in an order other than that illustrated or described herein.

[0071] The following describes some of the concepts involved in the embodiments of this application.

[0072] Target object: refers to the object participating in the session. The target object can be a user or the account that a user logged into.

[0073] Applications, also known as application programs, are computer programs that can perform one or more tasks. They generally have a visual interface and can interact with the user; examples include electronic maps and calendars. Some applications require installation on the user's device, while others do not, such as the various mini-programs and web pages within certain instant messaging applications. Mini-programs do not require downloading or installation; users can open them by scanning a QR code or searching.

[0074] A client, also known as a user terminal, is a program that provides services to clients in contrast to a server, such as instant messaging services. Except for some applications that run only locally, it is generally installed on a regular client machine and needs to work in conjunction with the server. A specific communication connection needs to be established between the client and the server to ensure the normal operation of the application.

[0075] Easter Egg Emoji Rain: When a user's conversation message contains certain keywords, some dazzling special effects are triggered in the background of the conversation interface, such as a screen full of heart-shaped special effects easter eggs, making the customer group feel happy during the chat communication process.

[0076] The All-In-One (AIO) public chat window component is used in instant messaging applications. Users participate in many different types of conversations, such as friends, groups, and public accounts. In order to provide users with a unified interactive experience, the software provides a shared chat window component for different conversations. The user's input, click operations and other behaviors in the component can be regarded as consistent.

[0077] With the continuous development of computer technology, during instant messaging sessions, different users can express their emotions directly by sending emoticons.

[0078] In related technologies, the emoticons provided in instant messaging applications are typically configured uniformly by the instant messaging system. Since all target users' emoticon lists contain the same emoticons, this fails to meet the growing personalized needs of the target users, resulting in low user engagement with the instant messaging application and hindering its further promotion.

[0079] For example, see Figure 1 As shown, after the target object receives a conversation message from the user "Little Piggy", it replies to the user "Little Piggy" with "Happy Birthday". The conversation interface presented to the target object by the client contains a list of emoticons, which includes emoticon elements with yellow face emoticons such as smiling, pouting, blank stare, and shy.

[0080] In order to meet the growing personalized needs of the target audience, in this embodiment of the application, when the conversation message sent by the target audience contains certain target keywords that trigger emoji elements, multiple emoji copies of the emoji elements corresponding to the target keywords will be dynamically presented in the conversation interface. The multiple emoji copies include pointing elements. In response to the target audience's trigger operation on the pointing elements, the emoji objects associated with the pointing elements are obtained and presented.

[0081] In this way, users can trigger a pointing element to obtain the emoticon object associated with that element. This avoids all users receiving the same emoticon, reducing the possibility of duplicate emoticons between users. This satisfies the growing personalization needs of the target audience, increases user engagement with the instant messaging application, and facilitates its further promotion. Furthermore, the scarcity of emoticons can increase product appeal and boost the volume of messages sent in conversations.

[0082] The preferred embodiments of this application are described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are for illustration and explanation only and are not intended to limit this application. Furthermore, the embodiments and features in the embodiments of this application can be combined with each other without conflict.

[0083] See Figure 2 The diagram shown illustrates an application scenario provided in this application embodiment. This application scenario includes at least a terminal device 210 and a server 220. The number of terminal devices 210 can be one or more, and the number of servers 220 can also be one or more. This application does not specifically limit the number of terminal devices 210 and servers 220.

[0084] Terminal device 210 has an instant messaging application client installed. Each terminal device 210 can obtain the session messages input by the target object through the client and send the session messages to other terminal devices through the server. Correspondingly, after receiving the session messages from terminal device 210, server 220 sends the session messages to other terminal devices.

[0085] In some embodiments, when the terminal device 210 sends a session message containing a target keyword, and the server 220 determines that the received session message contains a target keyword, it obtains multiple emoji copies of the emoji element corresponding to the target keyword, the multiple emoji copies including at least one pointing element, and returns a presentation indication message to the terminal device 210 carrying pointing element identification information of at least one pointing element.

[0086] After receiving a presentation instruction message from the server, the terminal device 210 presents multiple emoji copies of the emoji element corresponding to the target keyword in the session interface according to the pointing element identification information and using a preset presentation style. The multiple emoji copies include at least one pointing element. In response to the target object's trigger operation on the pointing element, the terminal device 210 obtains and presents the emoji object associated with the pointing element.

[0087] In this embodiment, the terminal device 210 may be an Internet of Things device, a mobile phone, a computer, a smart home appliance, an in-vehicle terminal, etc., but is not limited to these.

[0088] Server 220 is the server corresponding to terminal device 210. For example, terminal device 210 can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms. Terminal device 210 and server 220 can be directly or indirectly connected via wired or wireless communication, which is not limited herein.

[0089] The following explanation uses a conversation between two clients as an example. The two clients are client A and client B. Client A and client B can be clients deployed on any two of the terminal devices mentioned above. User A communicates through client A, and user B communicates through client B.

[0090] See Figure 3 The diagram shown is a flowchart illustrating a method for obtaining emoji elements provided in this application embodiment. This method can be applied to client A or client B. The following explanation uses client A as an example, and the specific process is as follows:

[0091] S301. Client A obtains the target keyword sent by the target object in the conversation interface, and in the conversation interface, uses a preset presentation style to present multiple emoji copies of the emoji element corresponding to the target keyword, wherein the multiple emoji copies include at least one directional element.

[0092] It should be noted that, in the embodiments of this application, the other emoji copies included in the multiple emoji copies of the emoji element besides the directional element can also be referred to as non-directional elements.

[0093] Pointer elements have a trigger interface configured. When a pointer element is triggered, the associated emoji object can be displayed to the user. Non-pointer elements, on the other hand, cannot be triggered.

[0094] There can be one or more pointing elements, and there is no limit to the number. To improve the presentation, the number of pointing elements can be less than the number of non-pointing elements. For example, if there is one pointing element among multiple emoji copies, the user will be surprised as if they have won a hidden prize, which can increase the user's enjoyment and stickiness to the product.

[0095] For ease of description, the following explanation will use user A as the target object.

[0096] After user A launches client A of the instant messaging application, client A can display a conversation interface for user A and user B to have a conversation. This conversation interface can be a private chat interface or a group chat interface, without any restrictions.

[0097] When user A sends a conversation message containing a target keyword to user B in the conversation interface, client A obtains the target keyword sent by user A in the conversation interface, and in the conversation interface, uses a preset presentation style to present the emoji element corresponding to the target keyword and multiple emoji copies of the corresponding emoji element. The multiple emoji copies include at least one directional element.

[0098] In some embodiments, to enrich the presentation of emoji elements and improve the user experience, multiple copies of the emoji element corresponding to the target keyword can be dynamically displayed in the chat interface. Specifically, when client A presents multiple copies of the emoji element corresponding to the target keyword, it can use, but is not limited to, the following methods:

[0099] In the chat interface, multiple copies of the emoji element corresponding to the target keyword are displayed, along with the process of moving these multiple emoji copies.

[0100] Among the multiple emoji copies of an emoji element, those other than the pointing elements can be copied from the corresponding emoji element, and their styles can be the same as the corresponding emoji element. The size of these other emoji copies can be the same as or different from the corresponding emoji element; there are no restrictions on this. Multiple emoji copies can be combined to create an emoji rain effect, such as a dynamic effect of snowflakes falling from the sky.

[0101] During the movement of multiple emoji copies, each emoji copy can move from the top of the conversation interface to the bottom of the conversation interface with the same or different movement trajectories and the same or different movement speeds, thus achieving the effect of an emoji rain.

[0102] Taking the target keyword "wealth flowing in" as an example, see [link / reference]. Figure 4 As shown, in the chat interface, user A sends the message "Wishing everyone a prosperous future" in group chat A. The message "Wishing everyone a prosperous future" contains the target keyword "prosperity". In response to the target keyword sent by user A, client A displays 12 emoji copies of the emoji element corresponding to the target keyword "prosperity" in the chat interface in the form of an emoji rain. Each of the 12 emoji copies contains a pointing element. The emoji element corresponding to the target keyword "prosperity" is orange-shaped, and the pointing element is orange-shaped with a leopard print texture. The other 11 emoji copies are all orange-shaped.

[0103] It should be noted that in the embodiments of this application, the emoticon copy and the emoticon object can be two-dimensional graphics or three-dimensional graphics, and there is no limitation on the latter.

[0104] S302. Client A responds to the target object's trigger operation on at least one pointing element, obtains the emoji object associated with the pointing element, and presents the emoji object in the session interface.

[0105] The triggering operation by user A for at least one pointing element includes, but is not limited to, clicking, double-clicking, or long-pressing any one of the pointing elements. The triggering operation can be triggered by, but is not limited to, mouse, keyboard, touch, etc.

[0106] The association between a pointer element and an emoji object can be pre-set by client A in response to a configuration operation triggered by user A, or it can be configured by the server.

[0107] For example, see Figure 5 As shown, when user A clicks on the pointing element, client A responds to user A's trigger operation on the pointing element, obtains the penguin-style emoji object associated with the pointing element, and displays the emoji object in the chat interface.

[0108] In some embodiments, the session interface further includes a text editing area containing an emoji editing component. This emoji editing component is used to present a list of emojis in response to a triggering action from a target object. Specifically, emoji objects can be presented in the following ways:

[0109] In the chat interface, the emoji object is moved and presented based on a specified movement trajectory. During the movement and presentation process, the presentation form of the emoji object is dynamically adjusted according to a specified pattern of shape change. The endpoint of the specified movement trajectory is the emoji editing component.

[0110] For example, see Figure 6 As shown, Figure 6 The interface includes two sessions: session 61 and session 62. Session 62 contains dashed boxes 621 and 622. Dashed box 621 represents a text editing area, and dashed box 622 represents an emoticon editing component. The text editing area contains the emoticon editing component, as well as text input boxes and voice input controls. When user A clicks on a pointing element, client A displays an emoticon object as shown in session 61, with the emoticon object located at the center of session 61. The position of the emoticon object in session 61 is used as the starting point of the trajectory, and the position of the emoticon editing component is used as the ending point. After the emoticon object is displayed at the starting point of the trajectory for a certain duration, as shown in session 62, the color of the emoticon object changes from dark to light. Then, the emoticon object moves from the starting point to the ending point in a curve, with the color of the emoticon object changing from light to dark as it moves from the starting point to the ending point.

[0111] The above implementation method can dynamically display emoticons to users, thereby increasing the product's fun factor and improving the user experience.

[0112] After client A presents an emoji object in the chat interface, client A can also store the emoji element in an emoji list, which can also be referred to as the emoji editing area in this article. Specifically, in response to the target object's trigger operation on the emoji editing component, client A presents the emoji list in the chat interface, which contains the emoji object.

[0113] For example, when user A clicks the emoji editing component, client A responds to user A's triggered action on the emoji list and displays... Figure 7 The session interface shown is Figure 7 The conversation interface shown contains dashed boxes 71 and 72. Dashed box 71 represents the list of emoticons, and dashed box 72 represents the emoticon objects. The list of emoticons contains penguin-style emoticon objects.

[0114] Using the above implementation method, users can add emoji objects to the emoji list by triggering a pointing element, thereby enriching the emoji elements provided in the emoji list, avoiding repetition of emoji elements, and improving the fun and usability of the product.

[0115] Once the emoji object is stored in the emoji list, user A can send the first conversation message containing the emoji object through the conversation interface.

[0116] For example, see Figure 8 As shown, when user A edits a conversation message, they can select a penguin-style emoji from the emoji list. Then, in the group, they send the first conversation message "Fun / Emoji" containing the penguin-style emoji.

[0117] Through the above implementation, users can directly use emoji objects from the emoji list, reducing the time spent searching for emoji objects and making the use of emoji objects more convenient, thereby improving the user experience.

[0118] In some embodiments, as users continuously send target keywords, client A can obtain the target keywords multiple times. To further enhance the product's appeal, client A can also determine whether to present an emoji object with a special emoji skin to the target object based on the cumulative number of times the target keyword is obtained.

[0119] The cumulative number of times the target keyword is acquired refers to the number of times the target audience sends the target keyword within a preset time range. For example, the preset time range can be 30 minutes, 1 hour, or 1 day, but is not limited to these.

[0120] It should be noted that, in the embodiments of this application, the cumulative number of times the target keyword is acquired can refer to the cumulative number of times a certain user sends the target keyword, or it can refer to the cumulative number of times each user in the conversation interface sends the target keyword, and there is no limitation on this.

[0121] As a possible scenario, if the cumulative number of times the target keyword is acquired does not reach the threshold, then client A will directly present the emoticon object in the conversation interface. The process of presenting the emoticon object is the same as in S301-S302 above, and will not be repeated here.

[0122] For example, suppose the threshold for the number of times is 10, and the cumulative number of times the target keyword is retrieved is 3, then client A, if... Figure 5 The emoticon object is displayed directly in the chat interface.

[0123] As another possible scenario, if the cumulative number of times the target keyword is retrieved reaches a threshold, client A can present multiple copies of emoticons in the session interface using a preset presentation style. This, in response to a triggering operation by the target object on at least one pointing element, presents the emoticon object and the emoticon skin associated with it. In this embodiment, the emoticon object carrying the emoticon skin can be referred to as a combined emoticon.

[0124] Since the process of rendering emoji copies and the triggering operation of the target object for at least one pointing element are the same as the process of rendering emoji copies mentioned above, they will not be repeated here.

[0125] For example, see Figure 9A As shown, assuming the threshold for the number of times is 10, when the cumulative number of times the target keyword is obtained reaches 10, after client A presents multiple copies of the emoticon, in response to the trigger operation for the target element, it presents a penguin-style emoticon object and a laser skin associated with the penguin-style emoticon object, that is, it presents a combination emoticon with a penguin style carrying a laser skin.

[0126] Through the above implementation method, after a user sends a certain number of target keywords, they can obtain emoticon objects with special emoticon skins, further increasing the variety of emoticon elements to meet the user's personalized needs.

[0127] In some embodiments, when a target keyword is included in a session message, multiple expression copies of the expression element corresponding to the target keyword can also be presented to each session object. Exemplarily, after client A sends a first session message containing the target keyword, client B can also present multiple expression copies of the expression element corresponding to the target keyword in the session interface in a preset presentation style. Then, in response to the triggering operation of user B on at least one pointing element included in the multiple expression copies, the expression object associated with the pointing element is obtained and presented in the session interface. Since the presentation processes of the expression copies and expression objects in client B are similar to those in client A, they will not be elaborated here.

[0128] For example, referring Figure 9B As shown, assume that the threshold number of times is 10 times. When the cumulative acquisition times of the target keyword sent by client B reach 10 times, client A presents 12 expression copies of the expression element corresponding to the target keyword "rolling in money" in the session interface. One of the 12 expression copies contains a pointing element. Then, in response to the triggering operation of user A on the pointing element, a combined expression in the form of a penguin with a laser skin is presented.

[0129] In some embodiments, after client B receives a first session message carrying an expression object from client A, the expression object can be obtained through, but not limited to, the following two methods:

[0130] Method 1: Client B responds to the text input operation triggered by the target object, obtains a second session message input by the target object and containing the target keyword, and in response to the sending operation of the target object on the second session message, sends and presents the second session message.

[0131] User B edits a second session message containing the target keyword and sends the second session message in the session interface. After that, client B responds to the target keyword sent by user B in the session interface and presents multiple expression copies of the expression element corresponding to the target keyword in a preset presentation style. At least one of the multiple expression elements contains a pointing element. Then, client B responds to the triggering operation of user B on at least one pointing element, obtains the expression object associated with the pointing element, and presents the expression object in the session interface. Since the process of obtaining the expression object in Method 1 is similar to S301 - S302, it will not be elaborated here.

[0132] Through the above Method 1, users can quickly obtain expression objects by actively sending session messages containing the target keyword, improving the acquisition efficiency of expression elements.

[0133] Method 2: After presenting the first conversation message in the conversation interface, client B, in response to user B's trigger operation on the emoticon object, presents the emoticon display interface. The emoticon display interface includes an emoticon acquisition component. In response to user B's trigger operation on the emoticon acquisition component, a second conversation message containing a target keyword with specified text content is sent and presented. The specified text content can be the target keyword, preset text, or a combination of the target keyword and preset text. For example, the preset text could be "Request emoticon".

[0134] Furthermore, client B can also obtain the target keyword sent in the conversation interface. In the conversation interface, multiple emoji copies of the target keyword's emoji element are presented using a preset presentation style. Then, in response to user B's trigger operation on at least one pointing element contained in the multiple emoji copies, the emoji object associated with the pointing element is obtained and presented in the conversation interface. Since the process of obtaining the emoji object in method 2 is similar to that in S301-S302, it will not be described again here.

[0135] Specifically, when user B clicks, double-clicks, or long-presses an emoji object in the first session message, client B determines that user B has triggered the emoji object, but this is not limited to this.

[0136] For example, see Figure 10 As shown, Figure 10 The system includes three session interfaces: 101, 102, and 103. In session interface 101, user B receives a first session message from user A containing a penguin-style emoticon object, "Fun / Emoticon Object." When user B double-clicks the emoticon object, client B displays session interface 102. Session interface 102 is the emoticon display interface for the emoticon object, containing a "Request Emoticon" button. This "Request Emoticon" button is an emoticon retrieval component. When user B clicks the "Request Emoticon" button, client B responds to user B's trigger operation on the emoticon retrieval component, displaying session interface 103. In session interface 103, user B sends a second session message containing the target keyword, "May wealth roll in, request emoticon." Client B retrieves the target keyword sent by user B in the session interface and displays the first emoticon element and a pointing element corresponding to the target keyword "May wealth roll in" in the session interface. User B can then obtain the emoticon object by triggering the pointing element.

[0137] Using method 2 above, users can trigger the emoji acquisition component, and the client can automatically edit and send a conversation message containing the target keyword to obtain the emoji object. In this way, the emoji object can be obtained without the user editing the message, which improves the efficiency of emoji element acquisition. Especially when the user does not know the target keyword, it can enable the user to quickly obtain the emoji object.

[0138] In some embodiments, after receiving an expression display instruction returned by the server based on the target keyword, client A can obtain the target element corresponding to the target keyword based on the directional element identification information carried in the expression display instruction. The expression display instruction may also carry non-directional element identification information, based on which the non-directional element can be obtained.

[0139] For details, please refer to Figure 11 As shown, the interaction flow between client A, client B, and the server is as follows:

[0140] S1101. Client A obtains the third session message input by user A, which contains the target keyword.

[0141] Specifically, client A can obtain the user-edited session message in the following way: client A presents a text editing area in the session interface, which contains a text input box; client A responds to the text input operation triggered by user A in the text input box and obtains the third session message entered by user A.

[0142] For example, see Figure 4 As shown, the conversation message sent by user A, "Wishing everyone a prosperous future," is the third conversation message. The target keyword contained in the third conversation message is "may wealth flow in."

[0143] S1102, Client A sends the third session message to the server.

[0144] For example, a text editing area contains a message sending control, and client A sends a third-party session message in response to user A's triggering action on the message sending control.

[0145] S1103. When the server determines that the third session message contains the target keyword, it obtains the pointing element identification information corresponding to the target keyword.

[0146] The directional element identification information is used to uniquely identify a directional element. This identification information can be represented by one or more of the following methods, including but not limited to emojis and emoji codes. The following explanation will only use emojis and emoji codes to represent directional elements. The directional element identification information includes the emoji and emoji code of the directional element.

[0147] When the server determines that the third-party message contains the target keyword, it can also obtain the non-targeting element identification information corresponding to the target keyword. The non-targeting element identification information can also be represented by one or more of the following: emoticon flags and emoticon codes.

[0148] If the expression object is configured by the server, after the server determines that the third session message contains the target keyword, it can also obtain the expression object identification information. The expression object identification information can also be represented by one or more of an expression flag and an expression code.

[0149] In the implementation of this application, the expression flags of non-directed elements and directed elements can both be expressed as a preset start symbol + expression name. For example, assume that the preset start symbol is " / ", the expression flag of the non-directed element is " / rolling in money", the expression code of the non-directed element is 4, the expression flag of the directed element is " / rolling in money", and the expression code of the directed element is 6.

[0150] To prevent other users from saving the expression object by copying, collecting, etc., and to protect the scarcity of the expression object, in the embodiments of this application, a sharing operation identifier can be configured for the expression object, and the sharing operation identifier is used to restrict the target object from triggering a sharing operation on the expression object. The sharing operation includes but is not limited to operations such as copying and collecting. In other embodiments, the user can also share the expression object.

[0151] The expression flag of the expression object can be expressed as a preset start symbol + expression name + preset end symbol, and the preset end symbol is the sharing operation identifier. For example, assume that the preset start symbol is " / ", the preset end symbol is "_egg", and the expression flag of the expression object can be " / rolling in money_egg", and the expression code of the expression object is 8.

[0152] It should be noted that if the third session message does not contain the target keyword, the server directly forwards the third session message to client B.

[0153] S1104. The server obtains an expression presentation instruction based on the directed element identification information.

[0154] Specifically, when the third session message contains the target keyword, the server can send an expression presentation instruction to client A in the form of a push notification, so that client A displays an egg expression rain.

[0155] According to the push notification protocol, in addition to the directed element identification information (the expression flag and expression code of the directed element) in the expression presentation instruction, service fields such as the total number of expression displays, the number of expression object displays, non-directed element identification information (the expression flag and expression code of the non-directed element), and expression object identification information (the expression flag and expression code of the expression object) can also be included. The total number of expression displays is used to indicate the total number of expression copies.

[0156] S1105, The server returns an instruction on how to display the facial expression.

[0157] S1106. The server forwards the third session message to client B.

[0158] S1107. Client A obtains the directional element based on the directional element identification information carried in the expression presentation instruction.

[0159] After receiving the emoji display instruction, client A parses the emoji display instruction according to the push notification protocol content, and displays an emoji rain based on the business fields contained in the protocol content.

[0160] If the expression display indicator also carries non-targeting element identification information, then client A can also obtain the non-targeting element based on the non-targeting element identification information carried in the expression display indicator.

[0161] If the expression display instruction carries expression object identification information, then client A can also obtain the expression object based on the expression object identification information carried in the expression display instruction.

[0162] In some embodiments, after receiving the third session message, the server determines whether the cumulative number of times the target keyword has been obtained has reached the threshold. If the cumulative number of times the target keyword has been obtained has reached the threshold, the emoji flag of the combined emoji is used as the value of the bytes_emoji_eeg field, and the emoji code of the combined emoji is used as the value of the uint32_emoji_eeg_code field.

[0163] In this way, when a user clicks on a target element, the displayed emoji element is a combination of emojis. No client-side processing is required. The server accumulates the number of times the target keyword is sent, and at the same time, the server accumulates the number of times the target keyword is sent, which makes it easy to control how many consecutive sends will trigger the combination of emojis through the number of times, which is convenient for business operations.

[0164] In some embodiments, see Figure 12 As shown, if the emoji display instruction contains emoji object identification information, client A can obtain the emoji object through, but is not limited to, the following methods:

[0165] S1201. Client A sends an emoticon download request carrying emoticon object identification information to the server.

[0166] S1202. The server determines the emoticon type of the emoticon object to be a specified type based on the emoticon object identifier information, and if the client A's version is not lower than the specified version, the server obtains the emoticon download link of the emoticon object.

[0167] Specifically, if the emoji object identification information contains a shared operation identifier, then the emoji type of the emoji object is determined to be a specified type. The shared operation identifier is used to restrict the target object from triggering shared operations on the emoji object.

[0168] For example, suppose the shared operation identifier is the end symbol "_Easter egg", and the emoticon flag in the emoticon object identifier information is " / Wealth Rolling In_Easter egg". Obviously, the emoticon object identifier information contains the shared operation identifier, and the server determines that the emoticon type of the emoticon object in the emoticon object identifier information is the specified type.

[0169] It should be noted that in the embodiments of this application, the specified version refers to the version that supports the presentation of emoticons. The specified version can refer to the latest version or the lowest version that supports the presentation of emoticons, and there is no limitation on this.

[0170] S1203. The server returns an emoji download response to client A, which includes a download link for the emoji object. The emoji download link can be, but is not limited to, a Uniform Resource Locator (URL).

[0171] S1204. Client A obtains the emoticon object based on the emoticon download link.

[0172] Through the above implementation method, when an older version client requests to download an emoji object from the server, it will be unable to obtain the emoji object. In this way, by controlling the version of the client, the probability of obtaining the emoji object is further reduced, ensuring the scarcity of the emoji object.

[0173] If client A's version is lower than the specified version, the server will return an emoji download failure message to client A, indicating that user A cannot download the emoji object. After receiving the emoji download failure message, when client A displays the emoji object in the chat interface, it will directly display the text content of the emoji icon from the emoji object's identification information.

[0174] Through the above implementation method, even when the display of emoticons is restricted to lower-version clients, users of lower-version clients can still be informed of the message content sent by the conversation object.

[0175] After obtaining the emoticon object from the emoticon download link, in order to prevent other users from saving the emoticon object by copying, favorites, or other means, and to protect the scarcity of the emoticon object, client A can block the copy and favorite interfaces of the emoticon object when it is determined that the emoticon object's identification information contains a sharing operation identifier, thereby restricting user A from performing sharing operations such as copying and favorites on the emoticon object.

[0176] By controlling emoji downloads based on the client version, version compatibility issues can be addressed through the emoji download channel. At the same time, by restricting the copying and saving of emoji objects, users of newer client versions cannot save emoji objects through copying or saving, thus achieving a better control over the sharing of emoji elements.

[0177] After obtaining the identifiers for both non-pointing and pointing elements, client A can send an emoticon download request to the server, carrying these identifiers. Based on the identifiers, the server determines that the emoticon type for both the non-pointing and pointing elements is not the specified type and then returns an emoticon download response to client A, containing download links for the corresponding emoticons for each element. Client A then retrieves the non-pointing and pointing elements using these download links. Since the process of obtaining non-pointing and pointing elements from the server is similar to obtaining emoticon objects from the server, it will not be described further here.

[0178] After obtaining the emoji object from the download link, client A can store the emoji object in an emoji list. Specifically, during the storage of the emoji object in the list, client A can also store the emoji type (type) of the emoji object. When client A displays the emoji object in the emoji list, it can determine the emoji object's position in the list based on the stored emoji type.

[0179] When client A sends the first session message carrying an emoji object, the first session message includes emoji object identification information. (See also...) Figure 13 As shown, after client B responds to user B's triggered operation on the emoji acquisition component and sends and presents a second session message carrying the target keyword, it can acquire non-targeting elements and targeting elements through, but not limited to, the following methods:

[0180] S1301, Client B sends an expression retrieval request carrying expression object identification information to the server.

[0181] S1302. The server obtains non-targeting element identification information and targeting element identification information based on the emoji object identification information.

[0182] It should be noted that, in this embodiment of the application, the server may store an emoji element mapping relationship, which records the mapping relationship between non-targeting element identifier information, targeting element identifier information, and emoji object identifier information. The server can obtain the non-targeting element identifier information and the targeting element identifier information based on the emoji element mapping relationship and the emoji object identifier information.

[0183] S1303. The server returns an emoji retrieval response to client B, which carries both non-targeting element identification information and targeting element identification information.

[0184] S1304. Client B obtains non-pointing elements and pointing elements based on non-pointing element identifier information and pointing element identifier information. Since the process of client B obtaining non-pointing elements and pointing elements based on non-pointing element identifier information and pointing element identifier information is similar to that of client A, it will not be described again here.

[0185] Based on the same inventive concept, embodiments of this application provide a device for acquiring facial expression elements. For example... Figure 14 As shown, this is a structural schematic diagram of the facial expression element acquisition device 1400, which may include:

[0186] The first processing unit 1401 is used to obtain the target keyword sent by the target object in the conversation interface, and in the conversation interface, present multiple emoji copies of the emoji element corresponding to the target keyword using a preset presentation style, wherein the multiple emoji copies include at least one directional element.

[0187] The second processing unit 1402 is configured to, in response to the triggering operation of the target object on the at least one pointing element, obtain the emoticon object associated with the at least one pointing element, and present the emoticon object in the conversation interface.

[0188] As one possible implementation, when multiple emoji copies of the emoji element corresponding to the target keyword are presented in the conversation interface using a preset presentation style, the first processing unit 1401 is specifically used for:

[0189] In the conversation interface, multiple copies of the emoji element corresponding to the target keyword are presented, as well as the process of moving the multiple copies of the emoji.

[0190] As one possible implementation, the first processing unit 1401 is also used to present the multiple emoji copies in the conversation interface using a preset presentation style when the cumulative number of times the target keyword is acquired reaches a threshold.

[0191] The second processing unit 1402 is further configured to, in response to a triggering operation by the target object on the at least one pointing element, present the emoticon object and present an emoticon skin associated with the emoticon object.

[0192] As one possible implementation, the conversation interface includes a text editing area, and the text editing area includes an emoji editing component; then, when the emoji object is presented in the conversation interface, the second processing unit 1402 is specifically used for:

[0193] In the conversation interface, the emoticon object is moved and presented based on a specified movement trajectory, and during the movement and presentation process, the presentation form of the emoticon object is dynamically adjusted according to a specified shape change rule; wherein, the endpoint of the specified movement trajectory is the emoticon editing component.

[0194] As one possible implementation, the second processing unit 1402 is further configured to:

[0195] In response to a trigger operation by the target object on the emoticon editing component, an emoticon editing area is presented in the session interface, the emoticon editing area containing the emoticon object.

[0196] As one possible implementation, before obtaining the target keyword sent by the target object in the session interface, the first processing unit 1401 is further configured to:

[0197] In the conversation interface, a first received conversation message is presented, containing the emoticon object. In response to a trigger operation by the target object on the emoticon object, an emoticon display interface for the emoticon object is presented, containing an emoticon acquisition component. In response to a trigger operation by the target object on the emoticon acquisition component, a second conversation message containing the target keyword is sent and presented; or,

[0198] In response to a text input operation triggered by the target object, a second conversation message containing the target keyword is obtained from the input of the target object, and in response to the sending operation of the target object for the second conversation message, the second conversation message is sent and presented.

[0199] As one possible implementation, the first processing unit 1401 can obtain the pointer element in the following way:

[0200] When an expression presentation instruction is received from the server based on the target keyword, the at least one directional element is obtained based on the directional element identification information carried in the expression presentation instruction.

[0201] As one possible implementation, the expression display instruction also includes expression object identification information; then, when obtaining the expression object associated with the at least one pointing element, the second processing unit 1402 is specifically used for:

[0202] Send an emoticon download request carrying the emoticon object identification information to the server;

[0203] Receive the emoticon download response returned by the server, wherein the emoticon download response contains the emoticon download link corresponding to the emoticon object;

[0204] Based on the emoji download link, obtain the emoji object.

[0205] As one possible implementation, the emoticon object is configured with a shared operation identifier, which is used to restrict the target object from triggering a shared operation on the emoticon object.

[0206] Based on the same inventive concept, embodiments of this application provide a device for acquiring facial expression elements. For example... Figure 15 As shown, this is a structural schematic diagram of the facial expression element acquisition device 1500, which may include:

[0207] The message receiving unit 1501 is used to receive third-session messages from the client;

[0208] The identifier acquisition unit 1502 is used to acquire the pointing element identifier information corresponding to the target keyword when it is determined that the third session message contains a target keyword;

[0209] The instruction generation unit 1503 is used to obtain an expression presentation instruction based on the directional element identification information.

[0210] The instruction sending unit 1504 is used to return the emoticon presentation instruction to the client, so that the client presents the plurality of emoticon copies of the emoticon element corresponding to the target keyword in the session interface, and in response to the triggering operation for at least one pointing element included in the plurality of emoticon copies, obtains and presents the emoticon object associated with the at least one pointing element.

[0211] As one possible implementation, the instruction sending unit 1504 is also used for:

[0212] Receive an emoji download request from the client, the emoji download request containing the emoji object identifier information of the emoji object;

[0213] Based on the emoticon object identification information, when the emoticon type of the emoticon object is determined to be a specified type, and the client version is not lower than the specified version, an emoticon download response is returned to the client, and the emoticon download response contains the emoticon download link corresponding to the emoticon object.

[0214] As one possible implementation, when determining that the expression type of the expression object is a specified type based on the expression object identification information, the instruction sending unit 1504 is specifically used for:

[0215] If the emoticon object identification information contains a shared operation identifier, then the emoticon type of the emoticon object is determined to be a specified type, wherein the shared operation identifier is used to restrict the target object from triggering a shared operation on the emoticon object.

[0216] For ease of description, the above sections are divided into modules (or units) according to their functions and described separately. Of course, in implementing this application, the functions of each module (or unit) can be implemented in one or more software or hardware components.

[0217] Regarding the apparatus in the above embodiments, the specific manner in which each unit executes the request has been described in detail in the embodiments related to the method, and will not be elaborated here.

[0218] Those skilled in the art will understand that various aspects of this application can be implemented as a system, method, or program product. Therefore, various aspects of this application can be specifically implemented in the following forms: a completely hardware implementation, a completely software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, collectively referred to herein as a "circuit," "module," or "system."

[0219] Having introduced the method and apparatus for acquiring emoji elements according to exemplary embodiments of this application, we will now introduce an electronic device according to another exemplary embodiment of this application.

[0220] Figure 16 This is a block diagram illustrating an electronic device 1600 according to an exemplary embodiment, the device comprising:

[0221] Processor 1610;

[0222] Memory 1620 is used to store executable instructions of processor 1610;

[0223] The processor 1610 is configured to execute instructions to implement the method for obtaining facial expression elements in this embodiment, for example... Figure 3 The steps are shown in the figure.

[0224] In an exemplary embodiment, a storage medium including operations is also provided, such as a memory 1620 including operations, the operations of which can be executed by a processor 1610 of an electronic device 1600 to complete the above-described method. Optionally, the storage medium may be a non-transitory computer-readable storage medium, such as a read-only memory (ROM), random access memory (RAM), compact disk read-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device.

[0225] Based on the same inventive concept, this application also provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the facial expression element acquisition method provided in the various optional implementations of the above embodiments.

[0226] In some possible implementations, various aspects of the emoji element acquisition method provided in this application can also be implemented as a program product, which includes a computer program. When the program product is run on a computer device, the computer program causes the computer device to perform the steps in the emoji element acquisition method according to the various exemplary embodiments of this application described above. For example, the computer device can perform actions such as... Figure 3 The steps are shown in the figure.

[0227] The program product may employ any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: electrical connections having one or more wires, portable disks, hard disks, RAM, ROM, erasable programmable read-only memory (EPROM or flash memory), optical fibers, CD-ROMs, optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0228] The program product of the embodiments of this application may be in the form of a CD-ROM and include program code, and may run on a computing device. However, the program product of this application is not limited thereto. In this document, the readable storage medium may be any tangible medium that contains or stores a program that may be used by or in conjunction with a command execution system, apparatus, or device.

[0229] A readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The readable signal medium may also be any readable medium other than a readable storage medium, capable of transmitting, propagating, or transmitting a program for use by or in conjunction with a command execution system, apparatus, or device. Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.

[0230] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A method for obtaining emoji elements, characterized in that, include: The target keyword sent by the target object in the conversation interface is obtained, and multiple emoji copies of the emoji element corresponding to the target keyword are presented in the conversation interface using a preset presentation style, wherein the multiple emoji copies include at least one directional element. In response to the target object's trigger operation on the at least one pointing element, an emoji object associated with the at least one pointing element is obtained, and in the session interface, based on a specified movement trajectory, the emoji object is moved to the emoji editing component in the text editing area, so as to add the emoji object to the emoji editing area presented by the emoji editing component.

2. The method as described in claim 1, characterized in that, In the conversation interface, multiple copies of the emoji element corresponding to the target keyword are presented using a preset presentation style, including: In the conversation interface, multiple copies of the emoji element corresponding to the target keyword are presented, as well as the process of moving the multiple copies of the emoji.

3. The method as described in claim 1, characterized in that, After presenting the emoticon object in the conversation interface, the method further includes: When the cumulative number of times the target keyword is acquired reaches the threshold, the multiple emoji copies are presented in the conversation interface using a preset presentation style. In response to a triggering operation by the target object on the at least one pointing element, the emoticon object is rendered, and the emoticon skin associated with the emoticon object is rendered.

4. The method as described in claim 1, 2, or 3, characterized in that, The step of moving the emoji object to the emoji editing component in the text editing area based on a specified movement trajectory in the session interface includes: In the conversation interface, based on the specified movement trajectory, the emoticon object is moved to the emoticon editing component, and during the movement and presentation process, the presentation form of the emoticon object is dynamically adjusted according to the specified form change rules.

5. The method as described in claim 4, characterized in that, Also includes: In response to a trigger operation by the target object on the emoticon editing component, the emoticon editing area is presented in the session interface, and the emoticon editing area contains the emoticon object.

6. The method as described in claim 1, 2, or 3, characterized in that, Before obtaining the target keyword sent by the target object in the session interface, the method further includes: In the conversation interface, a first received conversation message is presented, containing the emoticon object. In response to a trigger operation by the target object on the emoticon object, an emoticon display interface for the emoticon object is presented, containing an emoticon acquisition component. In response to a trigger operation by the target object on the emoticon acquisition component, a second conversation message containing the target keyword is sent and presented; or, In response to a text input operation triggered by the target object, a second conversation message containing the target keyword is obtained from the input of the target object, and in response to the sending operation of the target object for the second conversation message, the second conversation message is sent and presented.

7. The method as described in claim 1, 2, or 3, characterized in that, The at least one pointer element is obtained in the following way: When an expression presentation instruction is received from the server based on the target keyword, the at least one directional element is obtained based on the directional element identification information carried in the expression presentation instruction.

8. The method as described in claim 7, characterized in that, The expression display instruction also includes expression object identification information; The step of obtaining the emoji object associated with the at least one pointing element includes: Send an emoticon download request carrying the emoticon object identification information to the server; Receive the emoticon download response returned by the server, wherein the emoticon download response contains the emoticon download link corresponding to the emoticon object; Based on the emoji download link, obtain the emoji object.

9. The method as described in claim 1, 2, or 3, characterized in that, The emoticon object is configured with a shared operation identifier, which is used to restrict the target object from triggering a shared operation on the emoticon object.

10. A method for obtaining emoji elements, characterized in that, include: Receive third-session messages from the client; When it is determined that the third session message contains a target keyword, the targeting element identification information corresponding to the target keyword is obtained; Based on the directional element identification information, an expression presentation instruction is obtained; The emoji presentation instruction is returned to the client, so that the client presents multiple emoji copies of the emoji element corresponding to the target keyword in the session interface, and in response to a trigger operation for at least one pointing element included in the multiple emoji copies, obtains the emoji object associated with the at least one pointing element, and moves the emoji object to the emoji editing component in the text editing area in the session interface based on a specified movement trajectory, so as to add the emoji object to the emoji editing area presented by the emoji editing component.

11. The method as described in claim 10, characterized in that, Also includes: Receive an emoji download request from the client, the emoji download request containing the emoji object identifier information of the emoji object; Based on the emoticon object identification information, when the emoticon type of the emoticon object is determined to be a specified type, and the client version is not lower than the specified version, an emoticon download response is returned to the client, and the emoticon download response contains the emoticon download link corresponding to the emoticon object.

12. The method as described in claim 11, characterized in that, The step of determining the expression type of the expression object as a specified type based on the expression object identifier information includes: If the emoticon object identification information contains a shared operation identifier, then the emoticon type of the emoticon object is determined to be a specified type, wherein the shared operation identifier is used to restrict the target object from triggering a shared operation on the emoticon object.

13. A device for acquiring facial expression elements, characterized in that, include: The first processing unit is used to obtain the target keyword sent by the target object in the conversation interface, and in the conversation interface, present multiple emoji copies of the emoji element corresponding to the target keyword using a preset presentation style, wherein the multiple emoji copies include at least one directional element. The second processing unit is configured to, in response to the triggering operation of the target object on the at least one pointing element, obtain the emoticon object associated with the at least one pointing element, and, in the session interface, move the emoticon object to the emoticon editing component in the text editing area based on a specified movement trajectory, so as to add the emoticon object to the emoticon editing area presented by the emoticon editing component.

14. A device for acquiring facial expression elements, characterized in that, include: The message receiving unit is used to receive third-session messages from the client; The identifier acquisition unit is used to acquire the pointing element identifier information corresponding to the target keyword when it is determined that the third session message contains a target keyword; An instruction generation unit is used to obtain an expression presentation instruction based on the directional element identification information; The instruction sending unit is configured to return the emoticon presentation instruction to the client, so that the client presents multiple emoticon copies of the emoticon element corresponding to the target keyword in the session interface, and in response to a trigger operation for at least one directional element included in the multiple emoticon copies, obtains the emoticon object associated with the at least one directional element, and moves the emoticon object to the emoticon editing component in the text editing area in the session interface based on a specified movement trajectory, so as to add the emoticon object to the emoticon editing area presented by the emoticon editing component.

15. An electronic device, characterized in that, It includes a processor and a memory, wherein the memory stores a computer program that, when executed by the processor, causes the processor to perform the steps of any of the methods of claims 1 to 9, or causes the processor to perform the steps of any of the methods of claims 10 to 12.

16. A computer-readable storage medium, characterized in that, It includes a computer program that, when run on an electronic device, causes the electronic device to perform the steps of any of the methods of claims 1 to 9, or causes the electronic device to perform the steps of any of the methods of claims 10 to 12.

17. A computer program product, characterized in that, It includes a computer program stored in a computer-readable storage medium, wherein a processor of an electronic device reads from and executes the computer program, causing the electronic device to perform the steps of any of the methods of claims 1 to 9, or causing the electronic device to perform the steps of any of the methods of claims 10 to 12.

Citation Information

Patent Citations

  • Session-based information display method and device, equipment and storage medium

    CN112748974A