CN112799748B - Expression element display method, device, equipment and computer readable storage medium - Google Patents

Expression element display method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN112799748B
CN112799748B CN202010779673.7A CN202010779673A CN112799748B CN 112799748 B CN112799748 B CN 112799748B CN 202010779673 A CN202010779673 A CN 202010779673A CN 112799748 B CN112799748 B CN 112799748B
Authority
CN
China
Prior art keywords
expression
session
expression element
combined
conversation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010779673.7A
Other languages
Chinese (zh)
Other versions
CN112799748A (en
Inventor
沙莎
刘立强
肖仙敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010779673.7A priority Critical patent/CN112799748B/en
Publication of CN112799748A publication Critical patent/CN112799748A/en
Application granted granted Critical
Publication of CN112799748B publication Critical patent/CN112799748B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/5866Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, manually generated location and time information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Library & Information Science (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a method, a device, equipment and a computer-readable storage medium for displaying expression elements; the method comprises the following steps: presenting a session interface and presenting the received session message in the session interface; when the text content of the session message is associated with expression elements, acquiring social relations among session objects associated with the session message; when the social relationship among the session objects associated with the session messages is a target relationship, acquiring expression objects for representing the target relationship; combining the expression element and the expression object, and dynamically displaying the combined expression element and expression object in the session interface. Through this application, can improve expression element's richness.

Description

Expression element display method, device, equipment and computer readable storage medium
Technical Field
The present disclosure relates to the field of mobile communications technologies, and in particular, to a method, an apparatus, a device, and a computer readable storage medium for displaying an expression element.
Background
With the development of mobile communication technology, in order to better transfer emotion during a session of instant messaging, when a session message sent by a user contains certain keywords triggering expression elements, expression elements associated with the keywords are dynamically displayed in a session interface, for example, when the user inputs a session message of "happy birthday", the expression elements of a "cake" style are presented in a manner of colored eggs and expression rain in the session interface. However, in the related art, only the expression elements associated with certain keywords can be dynamically displayed, so that the displayed expression elements are single, and bad experience is brought to the user.
Disclosure of Invention
The embodiment of the application provides a display method, a display device, display equipment and a computer-readable storage medium for expression elements, which can improve the richness of the expression elements.
The technical scheme of the embodiment of the application is realized as follows:
the embodiment of the application provides a display method of expression elements, which comprises the following steps:
receiving a session message at a session interface;
when the text content of the session message is associated with expression elements, acquiring social relations among session objects associated with the session message;
when the social relationship among the session objects is a target relationship, acquiring an expression object for representing the target relationship;
and combining the expression element and the expression object to present in a specified style in the session interface.
The embodiment of the application provides a display device of expression element, include:
the message receiving module is used for receiving the session message in the session interface;
an acquisition module, configured to acquire social relationships between session objects associated with the session message when the text content of the session message is associated with an expression element, and
when the social relationship among the session objects is a target relationship, acquiring an expression object for representing the target relationship;
And the expression display module is used for displaying the expression elements and the expression objects in the conversation interface in a specified style.
In the above solution, the apparatus further comprises a determining module, where the determining module is configured to, after the presenting the received session message in the session interface,
extracting keywords from the text content of the session message to obtain a first keyword corresponding to the session message;
matching the first keyword with a second keyword corresponding to the candidate expression element;
when the first keyword is matched with the second keyword, determining that the text content of the session message is associated with an expression element, and
and taking the candidate expression element corresponding to the second keyword as the expression element associated with the text content.
In the above scheme, the obtaining module is further configured to obtain a session frequency between session objects associated with the session message;
based on the conversation frequency, determining social relationships among the conversation objects.
In the above solution, the obtaining module is further configured to obtain at least one of the following object information of a session object associated with the session message: remarking information and grouping information;
And determining social relations among the session objects based on the acquired object information.
In the above solution, the expression display module is further configured to display a plurality of first expression copies of the expression element, and display a plurality of second expression copies of the expression object fused in the plurality of first expression copies, and
and displaying the moving process of the plurality of first expression copies and the plurality of second expression copies in the session interface.
In the above scheme, the expression display module is further configured to combine the expression element with the expression object to obtain a combined expression element;
and displaying the bouncing process of the combined expression element in the session interface.
In the above scheme, the expression display module is further configured to combine the expression element with the expression object to obtain a combined expression element;
and displaying the process that the combined expression element moves along the target track of the corresponding target pattern in the session interface.
In the above scheme, the expression display module is further configured to combine the expression element with the expression object to obtain a combined expression element;
and in the session interface, displaying a plurality of third expression copies corresponding to the combined expression elements, and displaying the moving process of the plurality of third expression copies.
In the above scheme, the expression display module is further configured to combine the expression object with the expression element to obtain a combined expression element;
and in the session interface, displaying the moving process of the combined expression element, and dynamically displaying the expression object in the combined expression element along with the movement of the combined expression element.
In the above scheme, the expression display module is further configured to obtain a substance attribute corresponding to the expression object, where the substance attribute enables a morphology change of the corresponding expression object when the morphology change condition is satisfied;
and along with the movement of the combined expression element, displaying the process that the expression object in the combined expression element changes in the form.
In the above scheme, the obtaining module is further configured to obtain a session date corresponding to the session message, and obtain an expression material matched with a target date when the session date corresponding to the session message is the target date;
correspondingly, the expression display module is further used for combining the expression element with the expression object to obtain a combined expression element;
and displaying a plurality of first expression copies of the combined expression element, displaying a plurality of second expression copies of the expression material fused in the plurality of first expression copies, and displaying the moving process of the plurality of first expression copies and the plurality of second expression copies in a session interface.
In the above scheme, the device further comprises a text editing module,
the text editing module is used for presenting a text editing interface before receiving the session message in the session interface and presenting a text editing box in the text editing interface;
responding to a text editing operation triggered based on the text editing box, and presenting text content edited by the text editing operation;
and receiving a session message containing edited text content in response to a message sending operation triggered based on the text editing interface.
An embodiment of the present application provides an electronic device, including:
a memory for storing executable instructions;
and the processor is used for realizing the display method of the expression element provided by the embodiment of the application when executing the executable instructions stored in the memory.
The embodiment of the application provides a computer readable storage medium, which stores executable instructions for causing a processor to execute the method for displaying the expression element.
The embodiment of the application has the following beneficial effects:
when the text content of the conversation message is associated with expression elements, social relations among conversation objects associated with the conversation message and expression objects used for representing the social relations among the conversation objects are also obtained, and the expression elements and the expression objects are presented in a conversation interface in a specified style; therefore, besides displaying text-related expression elements, the conversation interface displays expression objects determined based on social relations of the conversation objects, so that the displayed expression elements are different along with the different social relations of the conversation objects, the richness of the displayed expression elements is improved, the user viscosity of the product is improved, and the display requirement of the user information sharing on the trend is met.
Drawings
FIGS. 1A-1D are schematic views of a presentation interface of an emoticon provided in an embodiment of the present application;
fig. 2 is an optional architecture diagram of a presentation system of an expression element according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an alternative electronic device according to an embodiment of the present application;
fig. 4 is an optional flowchart of a method for displaying an expression element according to an embodiment of the present application;
fig. 5A-5B are schematic views of a presentation interface of an expression element according to an embodiment of the present application;
FIGS. 6A-6C are schematic diagrams illustrating display interfaces of the emoticons according to embodiments of the present application;
fig. 7A is a schematic diagram of a display interface of an expression element according to an embodiment of the present application;
fig. 7B is a schematic diagram of a display interface of an expression element according to an embodiment of the present application;
fig. 7C is a schematic diagram of a display interface of an expression element according to an embodiment of the present application;
fig. 7D is a schematic diagram of a display interface of an expression element according to an embodiment of the present application;
fig. 8 is an optional flowchart of a method for displaying an expression element according to an embodiment of the present application;
fig. 9 is an optional flowchart of a method for displaying an expression element according to an embodiment of the present application;
FIGS. 10A-10B are schematic views of an emotion element presentation interface provided by an embodiment of the present application;
Fig. 11 is a schematic structural diagram of a display device for expression elements according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the present application will be described in further detail with reference to the accompanying drawings, and the described embodiments should not be construed as limiting the present application, and all other embodiments obtained by those skilled in the art without making any inventive effort are within the scope of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is to be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments and can be combined with one another without conflict.
In the following description, the term "first/second …" is merely to distinguish similar objects and does not represent a particular ordering for objects, it being understood that the "first/second …" may be interchanged with a particular order or precedence where allowed to enable embodiments of the present application described herein to be implemented in other than those illustrated or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the present application only and is not intended to be limiting of the present application.
Before further describing embodiments of the present application in detail, the terms and expressions that are referred to in the embodiments of the present application are described, and are suitable for the following explanation.
1) And the client is used for providing various service application programs such as a video playing client, an instant messaging client, a live broadcast client and the like, which are operated in the terminal.
2) In response to a condition or state that is used to represent the condition or state upon which the performed operation depends, the performed operation or operations may be in real-time or with a set delay when the condition or state upon which it depends is satisfied; without being specifically described, there is no limitation in the execution sequence of the plurality of operations performed.
3) When the conversation information of the user mode contains certain keywords, the color egg expression rain is triggered in the conversation interface.
4) In order to provide a unified interaction experience for users, the chat window component shared by different sessions is provided In software, and the behavior habits of user input, clicking operation and the like In the component can be regarded as consistent.
In the conversation process, when the conversation message sent by the user contains certain keywords triggering the expression elements, the expression elements associated with the keywords are dynamically displayed in the conversation interface, see fig. 1A-1D, and fig. 1A-1D are schematic diagrams of the display interface of the expression elements provided in the embodiment of the present application, where the user is in the following stateInput "Happy birthday" in FIG. 1AIn the session interface shown in fig. 1B, dynamically displaying the expression element of the "cake" style corresponding to the text "happy birthday"; the user inputs "Happy birthday +.>"this session message, then in the session interface shown in fig. 1D, the emoticons of the" cake "style corresponding to the text" happy birthday "are dynamically displayed. Therefore, the expression elements dynamically displayed only contain the expression elements related to certain keywords, so that the displayed expression elements are relatively single.
In view of this, embodiments of the present application provide a method, an apparatus, a device, and a computer-readable storage medium for displaying an expression element, so as to improve the richness of the expression element.
Referring to fig. 2, fig. 2 is a schematic diagram of an alternative architecture of the emoticon display system 100 according to an embodiment of the invention, in order to support an exemplary application, a terminal 400 (a terminal 400-1 and a terminal 400-2 are shown in an exemplary manner) is connected to a server 200 through a network 300, where the network 300 may be a wide area network or a local area network, or a combination of the two, and a wireless link is used to implement data transmission.
In practical applications, the terminal 400 may be various types of user terminals such as a smart phone, a tablet computer, a notebook computer, and the like, and may also be a desktop computer, a game console, a television, or a combination of any two or more of these data processing devices; the server 200 may be a server supporting various services, which is configured separately, may be configured as a server cluster, may be a cloud server, or the like.
In practical implementation, a client, such as a video playing client, an instant messaging client, a live broadcast client, etc., is disposed on the terminal 400, and when a user opens the client on the terminal 400 to perform a session, the terminal 400 is configured to edit a session message including text content in response to an editing operation for the session message; transmitting a session message to the server 200 in response to a message transmission operation for the session message;
The server 200 is configured to determine whether text content in a session message is a message type conforming to association logic, and when determining that the text content is a message type conforming to association logic, obtain an expression element having association logic with the text content, and obtain a social relationship between session objects associated with the session message; when the social relationship between the session objects associated with the session messages is the target relationship, acquiring the expression object for representing the target relationship, and returning the expression element and the expression object to the terminal 400;
the terminal 400 is further configured to present the emoticons and the emoticons in the session interface in a specified style.
Referring to fig. 3, fig. 3 is an optional schematic structural diagram of an electronic device 500 provided in the embodiment of the present application, in an actual application, the electronic device 500 may be the terminal 400 or the server 200 in fig. 2, and an electronic device implementing the method for processing live information in the embodiment of the present application will be described by taking the electronic device as an example of the terminal 400 shown in fig. 2. The electronic device 500 shown in fig. 3 includes: at least one processor 510, a memory 550, at least one network interface 520, and a user interface 530. The various components in electronic device 500 are coupled together by bus system 540. It is appreciated that the bus system 540 is used to enable connected communications between these components. The bus system 540 includes a power bus, a control bus, and a status signal bus in addition to the data bus. The various buses are labeled as bus system 540 in fig. 3 for clarity of illustration.
The processor 510 may be an integrated circuit chip with signal processing capabilities such as a general purpose processor, such as a microprocessor or any conventional processor, or the like, a digital signal processor (DSP, digital Signal Processor), or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the like.
The user interface 530 includes one or more output devices 531 that enable presentation of media content, including one or more speakers and/or one or more visual displays. The user interface 530 also includes one or more input devices 532, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
The memory 550 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid state memory, hard drives, optical drives, and the like. Memory 550 may optionally include one or more storage devices physically located remote from processor 510.
Memory 550 includes volatile memory or nonvolatile memory, and may also include both volatile and nonvolatile memory. The non-volatile memory may be read only memory (ROM, read Only Me mory) and the volatile memory may be random access memory (RAM, random Access Memor y). The memory 550 described in embodiments herein is intended to comprise any suitable type of memory.
In some embodiments, memory 550 is capable of storing data to support various operations, examples of which include programs, modules and data structures, or subsets or supersets thereof, as exemplified below.
An operating system 551 including system programs for handling various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and handling hardware-based tasks;
network communication module 552 is used to reach other computing devices via one or more (wired or wireless) network interfaces 520, exemplary network interfaces 520 include: bluetooth, wireless compatibility authentication (WiFi), and universal serial bus (USB, universal Serial Bus), etc.;
a presentation module 553 for enabling presentation of information (e.g., a user interface for operating a peripheral device and displaying content and information) via one or more output devices 531 (e.g., a display screen, speakers, etc.) associated with the user interface 530;
the input processing module 554 is configured to detect one or more user inputs or interactions from one of the one or more input devices 532 and translate the detected inputs or interactions.
In some embodiments, the presentation device of the emoticons provided in the embodiments of the present application may be implemented in a software manner, and fig. 3 shows a presentation device 555 of the emoticons stored in a memory 550, which may be software in the form of a program and a plug-in, and includes the following software modules: the message receiving module 5551, the obtaining module 5552 and the expression presenting module 5553 are logical, so that any combination or further splitting may be performed according to the implemented functions.
The functions of the respective modules will be described hereinafter.
In other embodiments, the display device of the emoticons provided in the embodiments of the present application may be implemented in hardware, and by way of example, the display device of the emoticons provided in the embodiments of the present application may be a processor in the form of a hardware decoding processor that is programmed to perform the display method of the emoticons provided in the embodiments of the present application, for example, the processor in the form of a hardware decoding processor may employ one or more application specific integrated circuits (ASIC, application Specific Integrated Circuit), DSP, programmable logic device (PLD, programmable Logic Device), complex programmable logic device (CPLD, complex Programmable Logic Device), field programmable gate array (FPGA, field-Pro grammable Gate Array), or other electronic component.
Next, a description is given of a method for displaying an expression element provided in an embodiment of the present application, where in actual implementation, the method for displaying an expression element provided in an embodiment of the present application may be implemented by a server or a terminal alone, or may be implemented by a server and a terminal cooperatively.
Referring to fig. 4, fig. 4 is a schematic flowchart of an alternative method for displaying an expression element according to an embodiment of the present application, and will be described with reference to the steps shown in fig. 4.
Step 101: and receiving the session message at a session interface of the terminal.
In practical application, a client, such as an instant messaging client and a live broadcast client, is arranged on the terminal, when a user opens the client on the terminal to perform a session, a session interface is presented, and a session message is received in the session interface, where the session message may be a message edited by the user based on a message editing frame, or may be a session message edited by a session object sent by the server.
When editing a session message, in some embodiments, before receiving the session message in the session interface of the terminal, the terminal may obtain the edited session message by:
presenting a text editing interface, and presenting a text editing box in the text editing interface; responding to a text editing operation triggered based on the text editing box, and presenting text content edited by the text editing operation; and transmitting a session message containing edited text content in response to a message transmission operation triggered based on the text editing interface.
Step 102: when the text content of the conversation message is associated with expression elements, the social relationship among the conversation objects associated with the conversation message is obtained, and when the social relationship among the conversation objects is a target relationship, the expression objects used for representing the target relationship are obtained.
Here, when the terminal receives the session message, it needs to determine whether the session message includes text content associated with the expression element, that is, whether the session message includes a keyword for triggering the expression rain of the color egg, for example, happy birthday, wanting you, rolling of financial resources, red fire, great luck, surplus year, winning success, etc.
In some embodiments, the terminal may determine that the text content is associated with an emoticon by:
extracting keywords from text content of the session message to obtain a first keyword corresponding to the session message; matching the first keyword with a second keyword corresponding to the candidate expression element; when the first keyword is matched with the second keyword, determining that the text content of the conversation message is associated with the expression element, and taking the candidate expression element corresponding to the second keyword as the expression element associated with the text content.
Here, the keywords have a one-to-one mapping relationship with the expression elements, for example, "happy birthday" corresponds to the expression element of the "cake" style, "think you have" corresponds to the expression element of the "star" style, and so on. In practical implementation, each keyword and the corresponding expression element can be stored in an expression element mapping table, a plurality of candidate expression elements and the corresponding keywords are stored in the expression element mapping table, when a conversation message is received, the text content of the conversation message is extracted, the extracted keywords are matched with each keyword in the expression element mapping table, when the matched keywords exist in the expression mapping table, the text content in the conversation message is determined to be associated with the expression element, and candidate elements corresponding to the matched keywords in the expression mapping table are used as expression elements associated with the text content in the conversation message.
After determining that the text content associated with the expression element is contained in the session message, judging whether the relation between the session objects is a target relation, wherein the target relation can be chat, cold relation, base friend, lover, girlfriend and the like, and acquiring the expression object used for representing the target relation so as to present the expression element associated with the expression object and the text content in a designated style in the session interface.
In some embodiments, the terminal may obtain social relationships between session objects associated with the session message by:
acquiring the conversation frequency among conversation objects associated with conversation messages; based on the conversation frequency, social relationships between conversation objects are determined. Here, based on the frequency of sessions may be understood as social relationships determined based on affinity.
For example, referring to fig. 5A-5B, fig. 5A-5B are schematic views of a presentation interface of an expression element provided in an embodiment of the present application, when a conversation object chat exceeds 100 pieces in 7 days, determining that a relationship between conversation objects is "chat", and correspondingly, acquiring an expression object for representing a target relationship of "chat", as an expression element of a "fire" style shown in fig. 5A; when the conversation objects are not chatted for more than 1 month, the relation of the conversation objects is determined to be a cold relation, and accordingly, an expression object for representing the target relation of the cold relation is acquired, and an expression element of an ice pattern is acquired as shown in fig. 5B.
In some embodiments, the terminal may obtain social relationships between session objects associated with the session message by:
acquiring at least one of the following object information of a session object associated with the session message: remarking information and grouping information; based on the obtained object information, social relationships between session objects are determined.
Here, in practical application, the user groups or remarks the session objects, and determines social relationships between the session objects based on the grouping information and the remark information.
For example, referring to fig. 6A-6C, fig. 6A-6C are schematic views of a display interface of an expression element provided in an embodiment of the present application, if remarks of session objects are girlfiders, relatives, wife, and the elderly, and the relationship between session objects is determined to be "lovers", an expression object for representing the target relationship of "lovers" is obtained, as shown in fig. 6A, an expression element in a "one arrow through" style is obtained; if remarks among the session objects are friends, sisters and the like, determining that the relationship among the session objects is "girlform", acquiring an expression object for representing the target relationship of the "girlform", such as expression elements of the "dancing girlform" style shown in fig. 6B; if the remarks between the conversation objects are brothers, playing accompanies, brothers, etc., it is determined that the relationship between the conversation objects is "base friends", an expression object for characterizing the target relationship of "base friends" is acquired, an expression element of the "game handle" style as shown in fig. 6C, and so on.
In practical applications, the social relationship may be determined based on interest, for example, friends playing together, fans, friends shopping together, etc., in addition to affinity.
Step 103: the emoticons and the emoticons are presented in a specified style in the session interface in combination.
The appointed form can be to independently display the expression element and the expression object in the session interface, or to combine the expression element and the expression object and dynamically display the combined expression element and expression object.
In some embodiments, the terminal may present the emoticons and the emoticons in the session interface in a specified style by:
in the session interface, a plurality of first expression copies of the expression element and a plurality of second expression copies of the expression object fused in the plurality of first expression copies are displayed, and a moving process of the plurality of first expression copies and the plurality of second expression copies is displayed.
Here, the expression copy is obtained by copying the corresponding expression element, and the size and style of the expression copy are the same as those of the original expression element, wherein the first expression copy is obtained by copying the expression element associated with the text content, and the second expression copy is obtained by copying the expression element corresponding to the expression object. The fusion is not the fusion of two expression copies, but a plurality of first expression copies of the expression element are taken as a whole, a plurality of second expression copies of the expression object are taken as a whole, and the expression copies between the two whole are displayed in a cross mode.
In practical application, the number of expression copies copying the expression elements and the conversation frequency between conversation objects are in positive correlation, for example, the higher the conversation frequency between conversation objects is, the more the number of first expression copies corresponding to the obtained expression elements and the number of second expression copies corresponding to the expression objects are, and then the denser the expression copies are presented in the conversation interface; therefore, the concentration degree of expression elements presented in the conversation interface is different along with the different conversation frequencies, so that the expression elements with the same length are prevented from being presented, and emotion expression among users is facilitated.
Referring to fig. 7A, fig. 7A is a schematic diagram of a display interface of an expression element provided in an embodiment of the present application, if the expression element associated with text content in a conversation message is an expression element in a "cake" style, and the expression element corresponding to the expression object is an expression element in a "one-arrow-through" style, in the conversation interface, multiple expression copies in the "cake" style and multiple expression copies in the "one-arrow-through" style are displayed in the conversation interface in a cross fusion manner, and each expression copy can move from above on the conversation interface to below in the same or different movement tracks and at the same or different movement rates, for example, from top to bottom in a free-falling manner, so as to achieve the effect of color egg expression rain.
In some embodiments, the terminal may present the emoticons and the emoticons in the session interface in a specified style by:
combining the expression element with the expression object to obtain a combined expression element;
and in the session interface, displaying the bouncing process of the combined expression element.
Here, the expression elements associated with the text content and the expression objects determined based on the relation between the conversation objects are combined to obtain a combined expression element, the combined expression element moves in the conversation interface in a bouncing mode, and the bouncing direction can be arbitrary, for example, from the bottom of the conversation interface to jump out of the conversation interface, or from the right side of the conversation interface to the left side to jump out of the conversation interface, and so on.
Referring to fig. 7B, fig. 7B is a schematic diagram of a display interface of an expression element provided in an embodiment of the present application, in fig. 7B, an expression element in a "cake" style corresponding to a text content of "happy birthday" is combined with an expression element in an "arrow-through" style of an expression object, and the obtained combined expression element bounces from an upper portion of a conversation interface down in a direction indicated by an "arrow" until bouncing out of the conversation interface.
In some embodiments, the terminal may present the emoticons and the emoticons in the session interface in a specified style by:
combining the expression element with the expression object to obtain a combined expression element;
in the session interface, a process of moving the combined expression element along a target track corresponding to the target pattern is shown.
Here, the target pattern may be any pattern, such as a drawn "love" pattern, a "like" pattern, and a written character pattern, and in the session interface, the combined expression element moves along a target track corresponding to the target pattern, and the moving process is displayed.
Referring to fig. 7C, fig. 7C is a schematic diagram of a display interface of an expression element provided in an embodiment of the present application, and in fig. 7C, an expression element of a "cake" style corresponding to a text content of "happy birthday" is combined with an expression element of an expression object of an "arrow-through" style, and a combined expression element obtained by combining moves along a target track corresponding to an "love" pattern.
In some embodiments, the terminal may present the emoticons and the emoticons in the session interface in a specified style by:
Combining the expression element with the expression object to obtain a combined expression element;
and in the session interface, displaying a plurality of third expression copies of the combined expression element, and displaying the moving process of the plurality of third expression copies.
Here, the expression elements associated with the text and the media elements carried in the session message are combined to obtain a combined expression element, a plurality of third expression copies corresponding to the combined expression element are obtained, and a moving process of the plurality of third expression copies is displayed, wherein in the moving process, the size, the moving speed, the interval and the track of the third expression copies can be randomly determined and do not fall down in a fixed form, different experiences are brought to a user, and particularly, referring to fig. 5A-5B and fig. 6A-6C, the plurality of third expression copies corresponding to the combined expression element can move from above on a session interface to below in the same or different moving tracks and the same or different moving speeds, for example, the third expression copies can move from top to bottom in a free-falling mode, so that the effect of color egg expression rain is achieved.
In some embodiments, the terminal may present the emoticons and the emoticons in the session interface in a specified style by:
Combining the expression element with the expression object to obtain a combined expression element;
and in the session interface, displaying the moving process of the combined expression element, and dynamically displaying the expression object in the combined expression element along with the movement of the combined expression element.
For example, in fig. 5A, when the relationship of the conversation object is "chat", the expression element of the "cake" style associated with the text content and the expression object of the obtained "fire" style are combined and displayed, that is, the background of the "fire" is added in the expression element of the "cake" style and the movement process of the combined expression element is displayed, and along with the movement of the combined expression element, the expression object of the "fire" is dynamically displayed; in fig. 5B, when the relation of the session object is "cold relation", the expression element of the "cake" style associated with the text content and the expression object of the obtained "ice" style are combined and displayed, that is, the background of the "ice" is added in the expression element of the "cake" style and the moving process of the combined expression element is displayed, and the expression object of the "ice" is dynamically displayed along with the moving of the combined expression element.
For another example, in fig. 6A, the conversation object is a lover relationship, the expression element of the "cake" style associated with the text content is combined with the expression element of the "one arrow through" style, and the movement process of the combined expression element is displayed, and along with the movement of the combined expression element, the expression object of the "one arrow through" is dynamically displayed; in fig. 6B, the conversation object is a base friend relationship, the expression element of the "cake" style and the expression element of the "game handle" style are combined, and the movement process of the combined expression element is displayed, and along with the movement of the combined expression element, the expression object of the "game handle" is dynamically displayed; in fig. 6C, the conversation object is a girl, the expression element of the "cake" style is combined with the expression element of the "dance girl" style, and the movement process of the combined expression element is displayed, and along with the movement of the combined expression element, the expression object of the "dance girl" is dynamically displayed.
In some embodiments, with the movement of the multiple combined expression copies, the terminal may dynamically display the expression objects in the multiple combined expression copy elements by:
acquiring a substance attribute corresponding to the expression object, wherein the substance attribute enables the corresponding expression object to generate morphological change when meeting morphological change conditions; and along with the movement of the plurality of combined expression copies, displaying the process that the morphological change occurs to the expression objects in the plurality of combined expression copies.
For example, in fig. 5A, during the movement of multiple combined expression copies, the expression object "fire" burns, and the flame becomes larger, indicating that the relationship of the conversation object is more intimate; in fig. 5B, during the movement of the multiple combined emotion element copies, the emotion object "ice" melts gradually, representing that the cold relationship breaks ice, the relationship is gradually relaxed, and so on.
In some embodiments, the terminal may further obtain a session date corresponding to the session message, and when the session date is a target date, obtain an expression material matched with the target date; correspondingly, the terminal combines the expression element and the expression object to obtain a combined expression element; and displaying a plurality of first expression copies of the combined expression element and a plurality of second expression copies of the expression material fused in the plurality of first expression copies, and displaying the moving process of the plurality of first expression copies and the plurality of second expression copies in the session interface.
Here, when the text associated with the expression element is included in the conversation message, the conversation date corresponding to the transmission and editing of the conversation message is also acquired, and when the conversation date is a target date, such as a special event corresponding to a holiday, a anniversary, or a solar term, the expression material matched with the target date is acquired.
The expression copies are obtained by copying corresponding expression elements, the size and the style of the expression copies are the same as those of the original expression elements, wherein the first expression copies are obtained by copying combined expression elements (namely, the combination of the expression elements and the expression objects), and the second expression copies are obtained by copying the expression elements corresponding to the expression materials. The fusion is not the fusion of two expression copies, but a plurality of first expression copies of the combined expression elements are taken as a whole, a plurality of second expression copies of the expression materials are taken as a whole, and the expression copies between the two whole are displayed in a cross mode.
For example, referring to fig. 7D, fig. 7D is a schematic diagram of a display interface of an expression element provided in an embodiment of the present application, where a conversation object is a lover relationship, and the expression element of a "cake" style associated with text content and the expression element of a "one arrow through" style are combined to obtain a combined expression element; when the conversation date corresponding to the conversation message is determined to be day 14 of the lunar calendar 2, as the conversation date corresponding to the conversation message is 'plot', the expression material matched with the 'plot' is obtained, such as the expression element of the 'rose' style, and in the conversation interface, a plurality of expression copies of the combined expression element and the expression copies of the 'rose' style are cross-fused and displayed in the conversation interface, and each expression copy can move from above on the conversation interface to below in the same or different movement tracks and at the same or different movement rates, such as from top to bottom in a free-falling style mode, so that the effect of color egg expression rain is achieved; by the mode, the expression elements displayed in the conversation interface are related to the text content of the conversation message, the relation among conversation objects and the conversation date, so that the richness and atmosphere sense of the expression elements are increased, and emotion expression is facilitated.
By the method, when the terminal receives the session message, whether the text content triggering the expression element is contained in the session message is judged, and when the text associated with the expression element is contained in the session message, the expression object is further determined based on the social relationship of the session object, and the expression element associated with the expression object and the text is presented in a designated style in the session interface; in this way, besides the expression elements related to the text, the expression objects determined based on the social relationship of the conversation objects are displayed in the conversation interface, so that the displayed expression elements are different along with the different social relationships of the conversation objects, and the richness of the displayed expression elements is improved; and the combined expression elements and expression objects displayed in the conversation interface perform the movement process in various modes, so that the sizes and movement tracks of the expression elements are rich and diversified, emotion expression among users is facilitated, and the interestingness of the conversation is improved.
In the following, an exemplary application of the embodiments of the present application in a practical application scenario will be described.
In practical application, a client, such as a QQ and WeChat instant messaging client, is provided on the terminal, and a user can perform a conversation based on the client, and when a conversation message input by the user contains a keyword for triggering the color egg expression rain (i.e. a text associated with an expression element), the corresponding color egg expression rain (i.e. dynamically displaying the expression element associated with the text) is triggered in a conversation interface. However, the manner of displaying the expression element at least has the following problems:
1) The key word triggered color egg expression rain is prefabricated systematically, and the size, the motion track and the expression pattern are relatively single. For example, QQ and WeChat egg expression rain are all prefabricated systematically, and egg expression rain is composed of expressions with fixed sizes and falls along one or more fixed tracks, so that the falling frequency is consistent, variation is absent, personal emotion is difficult to express, and especially in group chat, users feel boring when seeing repeated egg expression rain every time.
2) The triggering mechanism is simple. Only the key words for triggering the color egg expression rain are contained in the session message, the prefabricated color egg expression rain can be triggered, and no other triggering modes exist.
3) In chatting with all friends and group chatting, the expression rain of the colored eggs is consistent at each AIO, and the difference of friend communication with different relations is lacking.
In view of this, the embodiments of the present application provide a method for displaying an expression element to at least solve the above-mentioned problems, specifically, a terminal presents a session interface, and presents a received session message in the session interface; when the text content of the conversation message is associated with expression elements, acquiring social relations among conversation objects associated with the conversation message, and when the social relations among the conversation objects associated with the conversation message are target relations, acquiring expression objects used for representing the target relations; combining the expression element and the expression object, and dynamically displaying the combined expression element and expression object in the session interface.
In practical implementation, social relations among conversation objects can be determined based on conversation frequency among conversation objects associated with conversation messages or remark grouping information of the conversation objects, corresponding expression objects are obtained based on the social relations, corresponding expression materials can be determined according to conversation dates corresponding to the conversation messages, and the obtained expression objects or expression materials are combined with expression elements associated with text content and then displayed dynamically, so that color egg expression rain changes according to chat frequency among the conversation objects and change of relation attributes; the expression rain of the colored eggs changes according to the different conversation dates so as to generate dissimilarity in special holidays and highlight the surprise feeling. Through the mode, the expression force of the expression rain of the colored eggs is increased, and the atmosphere sense and the richness are increased. Next, the following will explain one by one.
1. The expression rain triggered by the keywords can change according to the relation among users
In order to be able to communicate the relationship degree between two people through the expression color eggs, whether the relationship between the conversation objects is a target relationship can be determined according to the frequent degree of the conversation object chat of the conversation message or according to the intimate relationship between the conversation objects, the target relationship can be the relationship of chat, cold relationship, base friend, lovers, girlfriend, and the like, the expression objects used for representing the target relationship are obtained, the expression elements associated with the expression objects and the texts are combined, and the expression elements are combined by dynamic display combination.
For example, if chat between conversation objects is frequent, if two people send more than 100 messages within 7 days, determining that the relation between conversation objects is chat, and accordingly, acquiring expression objects for representing chat, such as "fire" shown in fig. 5A, so as to increase the background of the fire in the expression elements associated with the text; when the conversation objects are not chatted for more than 1 month, determining that the relation of the conversation objects is a cold relation, and correspondingly acquiring an expression object for representing the cold relation, such as ice shown in fig. 5B, so as to increase the background of the ice in the expression elements associated with the text.
When the relation of the session objects is determined to be a cold relation, an expression object used for representing the cold relation, such as 'ice', is obtained, an expression element of 'cake style' related to a text of 'happy birthday' is combined with the expression object of 'ice', such as adding an 'ice' background to the expression element of 'cake style', so as to obtain a combined expression element, a process that the combined expression element moves according to a certain movement track is presented in a session interface, and the expression object of 'ice' is gradually melted along with the movement of the combined expression element, so that the ice is broken in the cold relation, the relation is gradually relaxed, and a brand new experience is provided for people.
For another example, the corresponding expression object may be obtained according to the attribute of the intimate relationship between the conversation objects, such as lovers, girls, and friends, and when the conversation object is a lover relationship, the obtained expression object for representing the lover relationship is an expression element of a "one-arrow-through" style as shown in fig. 6A, and the expression element of the "cake" style and the expression element of the "one-arrow-through" style are combined and then dynamically displayed; when the conversation object is a base friend relation, the obtained expression object for representing the base friend relation is an expression element of a 'game handle' style shown in fig. 6B, and the expression element of a 'cake' style and the expression element of the 'game handle' style are combined and then dynamically displayed; when the conversation object is a girl, the obtained expression object for representing the girl is the expression element of the dancing girl pattern shown in fig. 6C, and the expression element of the cake pattern and the expression element of the dancing girl pattern are combined and then dynamically displayed.
The combined expression element returned to the client by the server is characterized by json data of the color egg expression, a field background_type for representing the background type is added on the json data, whether corresponding expression objects such as fire and ice blocks exist or not is determined through the value of the background_t type, and when the client cannot identify the field background_type corresponding to the background type, no corresponding expression object exists or no field represents that the expression element has the background.
Meanwhile, according to the relationship type of the intimate relationship of two people, a special expression material (icon) is added on the basis of adding an expression object (such as ice or fire) to an expression element, and a field relationship_type representing the relationship type is added on an original json, wherein the value of the relationship_type can be expressed only by numbers, for example, the value of the relationship_type is 1 if a session object is a lover relationship, when the relationship_type returned to a client by a server is 1, the client can acquire and display the expression material corresponding to the lover relationship, wherein the relationship between the session objects and the corresponding expression material are agreed in advance by the client and the server, and if the value of the relationship_type is not recognized by the client, the client does not display the expression material corresponding to the relationship attribute when the expression element is displayed.
The fields of json obtained by the client are as follows:
wherein, the expression elements (i.e. the color egg picture information) associated with the dynamic display text content, the expression objects (i.e. the background pictures) determined based on the relation among the conversation objects and the expression materials (i.e. the intimacy icon) are controlled by independent fields. In practical implementation, the display of the expression object (background image) and the expression material (intimate relationship icon) can be flexibly controlled, and the server only needs to control the information corresponding to the client side, so that the client side can process the animation according to the expression object, for example, when the expression object is ice cubes, the ice cubes can be gradually melted along with the falling of the ice cubes, and the ice breaking effect is achieved.
After receiving json corresponding to the combined expression elements returned by the collocation server, the client can dynamically display the expression elements on the session interface, so as to achieve the effect of color egg expression rain, meanwhile, ice fire background can be added on the expression elements, intimate relationship can be identified, 3 areas (views) are needed for bearing the realization on interface design, whether different views are displayed or not is controlled according to different processing returned in the json, and the like.
Referring to fig. 8, fig. 8 is a schematic flow chart of an alternative method for displaying an expression element according to an embodiment of the present application, and will be described with reference to fig. 8.
Step 201: and the client analyzes the json strings corresponding to the combined expression elements.
Step 202: and acquiring expression elements associated with the text content according to the data of each field obtained through analysis.
Step 203: and judging whether the field corresponding to the background type is identifiable.
Here, the client determines whether the background_type is identifiable, and when the background_type is identifiable, performs step 204; otherwise, step 205 is performed.
Step 204: and obtaining an expression object corresponding to the background type, and combining the expression element with the expression object to obtain a first combined expression element.
Step 205: and hiding the area corresponding to the background type.
Step 206: and judging whether the field corresponding to the relation type is identifiable.
Here, the client judges whether the relationship_type is identifiable, and when the relationship_type is identifiable, performs step 207; otherwise, step 208 is performed.
Step 207: and obtaining the expression material corresponding to the relation type, and combining the expression material with the first combined expression element to obtain a second combined expression element.
Step 208: and hiding the expression material corresponding to the relation type.
Step 209: and dynamically displaying the motion process of the second combined expression element.
Here, in the session interface, views corresponding to the expression element, the expression object, and the like are displayed.
2. The expression rain triggered by the keywords can change according to some special event nodes
Here, when the text associated with the expression element is included in the conversation message, the conversation date corresponding to the conversation message is obtained, and when the conversation date is the target date, such as the corresponding holiday, souvenir day or solar term, the expression material matched with the target date is obtained, and the expression element associated with the text is combined with the expression material to obtain the combined expression element for dynamic display.
Referring to fig. 9, fig. 9 is a schematic flowchart of an alternative method for displaying an expression element according to an embodiment of the present application, and will be described with reference to fig. 9.
Step 601: the client receives the session message.
Here, the client transmits the received session message to the server.
Step 602: the server acquires the session date corresponding to the session message.
Step 603: the session message is presented in a session interface of the client.
Step 604: the server determines whether a special event exists on the session date.
For example, if the session date corresponding to the session message is 14 days of the lunar calendar 2, it may be determined that a special event "episode" exists on the session date. Step 605 is performed when it is determined that a special event exists on the session date, otherwise step 607 is performed.
Step 605: the server determines whether the keyword hits a special event.
For example, if the session message contains a keyword of "episode" and if the session message contains a keyword of "episode", it is determined that the keyword hits a special event, and step 607 is performed; when the session message does not contain the keyword of "story", it is determined that the keyword does not hit the special event, and step 606 is performed.
Step 606: and the server acquires the expression material corresponding to the special event.
Step 607: and combining the expression elements associated with the session message with the expression materials corresponding to the special event to obtain the combined expression elements.
For example, referring to fig. 10A-10B, fig. 10A-10B are schematic views of an expression element presentation interface provided in the embodiment of the present application, a conversation message received by a terminal is "happy birthday", an expression element of a "cake" style is triggered, when it is determined that a conversation date corresponding to the conversation message is day 14 of the lunar calendar, since the conversation date corresponding to the conversation message is "plot", an expression element matched with the "plot" is obtained, an expression element of a "rose" style as shown in fig. 10A is used as an expression material for combined display with the expression element, that is, the expression element of the "cake" style is combined with the expression element of the "rose" style, so as to obtain a combined expression element as shown in fig. 10B, and the obtained combined expression element is pushed to a client. Wherein, the combined expression element is characterized by a json string of the color egg expression, and the json string comprises the following contents:
The festival_icon is used for representing a resource identifier corresponding to an expression element corresponding to a special event, if the resource identifier is empty, the resource identifier does not hit the special event, if the resource identifier is not empty, the client side needs to download the corresponding resource, and meanwhile, the expression element corresponding to the special event is superimposed on the basis of the color egg expression for display.
The server side is configured with keywords of special event nodes, if keywords input by a user hit the keywords of the special event nodes, expression elements corresponding to the special events are not added, and if the keywords are not matched, expression elements corresponding to the special events are added on the original color egg expression. For example, when a conversation message of "happy birthday" is sent on the day of the plot of the lover, an expression element of a "rose" style is superimposed on the expression element of the original "cake" style, and a field (festival_icon) is added in the json string sent by pushing to indicate whether to add a picture resource of a special event node.
Step 608: the client dynamically displays the combined expression elements.
By means of the method, the embodiment of the application carries the expression elements, the pictures and the videos in the conversation message in the expression rain triggered by the conversation message keywords, and gives the user a certain customization capability to the color egg expression rain, so that the color egg rain can express the emotion of the user more; the color egg expression rain changes according to the chat frequency among conversation objects and the change of the relation attribute; the expression rain of the color eggs is changed according to different conversation dates so as to generate dissimilarity in special holidays, highlight surprise feeling, increase the expression force of the expression rain of the color eggs and increase atmosphere feeling and richness.
Continuing with the description below of an exemplary structure of the display 555 of an emoji provided in the embodiments of the present application implemented as a software module, in some embodiments, as shown in fig. 11, fig. 11 is a schematic structural diagram of the display of an emoji provided in the embodiments of the present application, the software module stored in the display 555 of an emoji in the memory 550 may include:
a message receiving module 5551, configured to receive a session message in the session interface;
an acquisition module 5552, configured to acquire a social relationship between session objects associated with the session message when the text content of the session message is associated with an expression element, and
when the social relationship among the session objects is a target relationship, acquiring an expression object for representing the target relationship;
the expression display module 5553 is configured to present the expression element and the expression object in the session interface in a specified style.
In some embodiments, the apparatus further comprises a determination module for, after said presenting the received session message in the session interface,
extracting keywords from the text content of the session message to obtain a first keyword corresponding to the session message;
Matching the first keyword with a second keyword corresponding to the candidate expression element;
when the first keyword is matched with the second keyword, determining that the text content of the session message is associated with an expression element, and
and taking the candidate expression element corresponding to the second keyword as the expression element associated with the text content.
In some embodiments, the obtaining module is further configured to obtain a session frequency between session objects associated with the session message;
based on the conversation frequency, determining social relationships among the conversation objects.
In some embodiments, the obtaining module is further configured to obtain at least one of the following object information of a session object associated with the session message: remarking information and grouping information;
and determining social relations among the session objects based on the acquired object information.
In some embodiments, the expression display module is further configured to display a plurality of first expression copies of the expression element and a plurality of second expression copies of the expression object fused in the plurality of first expression copies, and
and displaying the moving process of the plurality of first expression copies and the plurality of second expression copies in the session interface.
In some embodiments, the expression display module is further configured to combine the expression element with the expression object to obtain a combined expression element;
and displaying the bouncing process of the combined expression element in the session interface.
In some embodiments, the expression display module is further configured to combine the expression element with the expression object to obtain a combined expression element;
and displaying the process that the combined expression element moves along the target track of the corresponding target pattern in the session interface.
In some embodiments, the expression display module is further configured to combine the expression element with the expression object to obtain a combined expression element;
and in the session interface, displaying a plurality of third expression copies corresponding to the combined expression elements, and displaying the moving process of the plurality of third expression copies.
In some embodiments, the expression display module is further configured to combine the expression object with the expression element to obtain a combined expression element;
and in the session interface, displaying the moving process of the combined expression element, and dynamically displaying the expression object in the combined expression element along with the movement of the combined expression element.
In some embodiments, the expression display module is further configured to obtain a substance attribute corresponding to the expression object, where the substance attribute makes a corresponding expression object change in morphology when the expression object meets a morphology change condition;
and along with the movement of the combined expression element, displaying the process that the expression object in the combined expression element changes in the form.
In some embodiments, the obtaining module is further configured to obtain a session date corresponding to the session message, and when the session date corresponding to the session message is a target date, obtain an expression material matched with the target date;
correspondingly, the expression display module is further used for combining the expression element with the expression object to obtain a combined expression element;
and displaying a plurality of first expression copies of the combined expression element and a plurality of second expression copies of the expression material fused in the plurality of first expression copies, and displaying the moving process of the plurality of first expression copies and the plurality of second expression copies in a session interface.
In some embodiments, the apparatus further comprises a text editing module,
The text editing module is used for presenting a text editing interface before receiving the session message in the session interface and presenting a text editing box in the text editing interface;
responding to a text editing operation triggered based on the text editing box, and presenting text content edited by the text editing operation;
and receiving a session message containing edited text content in response to a message sending operation triggered based on the text editing interface.
An embodiment of the present application provides an electronic device, including:
a memory for storing executable instructions;
and the processor is used for realizing the display method of the expression element provided by the embodiment of the application when executing the executable instructions stored in the memory.
Embodiments of the present application provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method for displaying the expression element according to the embodiment of the application.
Embodiments of the present application provide a computer readable storage medium storing executable instructions, wherein the executable instructions are stored, which when executed by a processor, cause the processor to perform the method for presenting the emoticons provided by the embodiments of the present application.
In some embodiments, the computer readable storage medium may be FRAM, ROM, PROM, EP ROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; but may be a variety of devices including one or any combination of the above memories.
In some embodiments, the executable instructions may be in the form of programs, software modules, scripts, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and they may be deployed in any form, including as stand-alone programs or as modules, components, subroutines, or other units suitable for use in a computing environment.
As an example, the executable instructions may, but need not, correspond to files in a file system, may be stored as part of a file that holds other programs or data, such as in one or more scripts in a hypertext markup language (html, hyper Text Markup Language) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub-programs, or portions of code).
As an example, executable instructions may be deployed to be executed on one computing device or on multiple computing devices located at one site or, alternatively, distributed across multiple sites and interconnected by a communication network.
The foregoing is merely exemplary embodiments of the present application and is not intended to limit the scope of the present application. Any modifications, equivalent substitutions, improvements, etc. that are within the spirit and scope of the present application are intended to be included within the scope of the present application.

Claims (16)

1. A method for displaying an expression element, the method comprising:
receiving a session message in a session interface;
when the text content of the session message is associated with the expression element, acquiring the social relationship between the session objects associated with the session message, and
when the social relationship among the session objects is a target relationship, acquiring an expression object for representing the target relationship;
combining the expression element and the expression object, and dynamically displaying the combined expression element and expression object in the session interface.
2. The method of claim 1, wherein after receiving a session message in a session interface, the method comprises:
Extracting keywords from the text content of the session message to obtain a first keyword corresponding to the session message;
matching the first keyword with a second keyword corresponding to the candidate expression element;
when the first keyword is matched with the second keyword, determining that the text content of the session message is associated with an expression element, and
and taking the candidate expression element corresponding to the second keyword as the expression element associated with the text content.
3. The method of claim 1, wherein the obtaining the social relationship between the session objects associated with the session message comprises:
acquiring the conversation frequency among conversation objects associated with the conversation message;
based on the conversation frequency, determining social relationships among the conversation objects.
4. The method of claim 1, wherein the obtaining the social relationship between the session objects associated with the session message comprises:
acquiring at least one of the following object information of a session object associated with the session message: remarking information and grouping information;
and determining social relations among the session objects based on the acquired object information.
5. The method of claim 1, wherein the dynamically presenting the combined emoticons and emoticons in the session interface comprises:
in the session interface, a plurality of first expression copies of the expression element are displayed, a plurality of second expression copies of the expression object fused in the plurality of first expression copies are displayed, and
and displaying the moving process of the plurality of first expression copies and the plurality of second expression copies.
6. The method of claim 1, wherein the combining the expressive element and the expressive object comprises:
combining the expression element with the expression object to obtain a combined expression element;
the dynamically displaying the combined expression element and expression object in the session interface comprises the following steps:
and displaying the bouncing process of the combined expression element in the session interface.
7. The method of claim 1, wherein the combining the expressive element and the expressive object comprises:
combining the expression element with the expression object to obtain a combined expression element;
The dynamically displaying the combined expression element and expression object in the session interface comprises the following steps:
and displaying the process that the combined expression element moves along the target track of the corresponding target pattern in the session interface.
8. The method of claim 1, wherein the combining the expression element and the expression object and dynamically displaying the combined expression element and expression object in the conversation interface comprises:
combining the expression element with the expression object to obtain a combined expression element;
and in the session interface, displaying a plurality of third expression copies corresponding to the combined expression elements, and displaying the moving process of the plurality of third expression copies.
9. The method of claim 1, wherein the combining the expressive element and the expressive object comprises:
combining the expression object with the expression element to obtain a combined expression element;
the dynamically displaying the combined expression element and expression object in the session interface comprises the following steps:
and in the session interface, displaying the moving process of the combined expression element, and dynamically displaying the expression object in the combined expression element along with the movement of the combined expression element.
10. The method of claim 9, wherein the dynamically presenting the expressive object in the combined expressive element accompanying the movement of the combined expressive element comprises:
acquiring a substance attribute corresponding to the expression object, wherein the substance attribute enables the corresponding expression object to generate morphological change when the morphological change condition is met;
and along with the movement of the combined expression element, displaying the process that the expression object in the combined expression element changes in the form.
11. The method of claim 1, wherein the method further comprises:
acquiring a conversation date corresponding to the conversation message, and acquiring expression materials matched with a target date when the conversation date corresponding to the conversation message is the target date;
combining the expression element with the expression object to obtain a combined expression element;
and displaying a plurality of first expression copies of the combined expression element, displaying a plurality of second expression copies of the expression material fused in the plurality of first expression copies, and displaying the moving process of the plurality of first expression copies and the plurality of second expression copies in a session interface.
12. The method of claim 1, wherein prior to receiving a session message in a session interface, the method comprises:
presenting a text editing interface, and presenting a text editing box in the text editing interface;
responding to a text editing operation triggered based on the text editing box, and presenting text content edited by the text editing operation;
and receiving a session message containing edited text content in response to a message sending operation triggered based on the text editing interface.
13. A display device for an expression element, the device comprising:
the message receiving module is used for receiving the session message in the session interface;
an acquisition module, configured to acquire social relationships between session objects associated with the session message when the text content of the session message is associated with an expression element, and
when the social relationship among the session objects is a target relationship, acquiring an expression object for representing the target relationship;
and the expression display module is used for combining the expression element with the expression object and dynamically displaying the combined expression element and expression object.
14. An electronic device, comprising:
a memory for storing executable instructions;
a processor, configured to implement the method for presenting the emoji according to any one of claims 1 to 12 when executing the executable instructions stored in the memory.
15. A computer readable storage medium storing executable instructions for implementing the presentation method of the emotive element of any of claims 1 to 12 when executed by a processor.
16. A computer program product comprising a computer program or computer executable instructions which, when executed by a processor, implement the method of presenting expressive elements according to any one of claims 1 to 12.
CN202010779673.7A 2020-08-05 2020-08-05 Expression element display method, device, equipment and computer readable storage medium Active CN112799748B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010779673.7A CN112799748B (en) 2020-08-05 2020-08-05 Expression element display method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010779673.7A CN112799748B (en) 2020-08-05 2020-08-05 Expression element display method, device, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112799748A CN112799748A (en) 2021-05-14
CN112799748B true CN112799748B (en) 2024-03-01

Family

ID=75806443

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010779673.7A Active CN112799748B (en) 2020-08-05 2020-08-05 Expression element display method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112799748B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104125139A (en) * 2013-04-28 2014-10-29 腾讯科技(深圳)有限公司 Method and apparatus for displaying expression
CN106126709A (en) * 2016-06-30 2016-11-16 北京奇虎科技有限公司 Generate the method and device of chatting facial expression in real time
CN111193654A (en) * 2019-06-24 2020-05-22 腾讯科技(深圳)有限公司 Social session processing method, device, terminal and medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3622434A1 (en) * 2017-05-11 2020-03-18 Kodak Alaris Inc. Method for identifying, ordering, and presenting images according to expressions

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104125139A (en) * 2013-04-28 2014-10-29 腾讯科技(深圳)有限公司 Method and apparatus for displaying expression
CN106126709A (en) * 2016-06-30 2016-11-16 北京奇虎科技有限公司 Generate the method and device of chatting facial expression in real time
CN111193654A (en) * 2019-06-24 2020-05-22 腾讯科技(深圳)有限公司 Social session processing method, device, terminal and medium

Also Published As

Publication number Publication date
CN112799748A (en) 2021-05-14

Similar Documents

Publication Publication Date Title
CN111294663B (en) Bullet screen processing method and device, electronic equipment and computer readable storage medium
KR102096799B1 (en) Suggested items for use with embedded applications in chat conversations
CN108924626B (en) Picture generation method, device, equipment and storage medium
US9645997B2 (en) Phrase-based communication system
CN112748974B (en) Information display method, device, equipment and storage medium based on session
CN112748976A (en) Expression element display method, device and equipment and computer readable storage medium
JP2004164599A (en) System and method for shared and integrated online social interaction
EP2669816A1 (en) Information-processing system, information-processing device, program, and information-processing method
WO2023036294A1 (en) Video publishing method and apparatus, electronic device, and storage medium
JP2021535656A (en) Video processing methods, equipment, devices and computer programs
CN111949908A (en) Media information processing method and device, electronic equipment and storage medium
CN113973223B (en) Data processing method, device, computer equipment and storage medium
WO2023134419A1 (en) Information interaction method and apparatus, and device and storage medium
CN113253880A (en) Method and device for processing page of interactive scene and storage medium
CN107911749B (en) Method for displaying and providing rehearsal graph, client and server
CN112835672B (en) Voting information processing method, voting information processing device and storage medium
CN112799748B (en) Expression element display method, device, equipment and computer readable storage medium
CN111934985A (en) Media content sharing method, device and equipment and computer readable storage medium
CN112748975B (en) Expression element display method, device, equipment and computer readable storage medium
CN115525834A (en) Method for screening and displaying messages, computer device and recording medium
CN112817670B (en) Information display method, device, equipment and storage medium based on session
JP6035075B2 (en) Information processing system, information processing apparatus, program, and information processing method
Zammetti Practical Palm Pre WebOS Projects
Dasgupta Surveys, collaborative art and virtual currencies: Children programming with online data
CN112817670A (en) Information display method, device, equipment and storage medium based on session

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40044220

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant