CN113965541A - Conversation expression processing method and device - Google Patents

Conversation expression processing method and device Download PDF

Info

Publication number
CN113965541A
CN113965541A CN202111389899.7A CN202111389899A CN113965541A CN 113965541 A CN113965541 A CN 113965541A CN 202111389899 A CN202111389899 A CN 202111389899A CN 113965541 A CN113965541 A CN 113965541A
Authority
CN
China
Prior art keywords
session
expression
state
conversation
page
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.)
Granted
Application number
CN202111389899.7A
Other languages
Chinese (zh)
Other versions
CN113965541B (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.)
Advanced New Technologies Co Ltd
Original Assignee
Advanced New Technologies 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 Advanced New Technologies Co Ltd filed Critical Advanced New Technologies Co Ltd
Priority to CN202111389899.7A priority Critical patent/CN113965541B/en
Publication of CN113965541A publication Critical patent/CN113965541A/en
Application granted granted Critical
Publication of CN113965541B publication Critical patent/CN113965541B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B25HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
    • B25JMANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
    • B25J11/00Manipulators not otherwise provided for
    • B25J11/0005Manipulators having means for high-level communication with users, e.g. speech generator, face recognition means
    • B25J11/001Manipulators having means for high-level communication with users, e.g. speech generator, face recognition means with emotions simulating means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/06Message adaptation to terminal or network requirements
    • H04L51/063Content adaptation, e.g. replacement of unsuitable content

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Robotics (AREA)
  • Mechanical Engineering (AREA)
  • User Interface Of Digital Computer (AREA)
  • Machine Translation (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application provides a conversation expression processing method and a device, wherein the conversation expression processing method comprises the following steps: acquiring a session state of at least one session object related to a session page; determining a state expression corresponding to the session state in a preset state expression set; displaying the state expression on the conversation page; and collecting the state expression into a conversation expression library for conversation expression interaction according to the detected expression collection action aiming at the state expression. According to the conversation expression processing method, the emotion state of the conversation object is conveyed through the state expression, and the state expression conveying the emotion state of the conversation object is combined with the conversation expression in the conversation interaction process, so that the conversation expression processing is more interesting and more convenient.

Description

Conversation expression processing method and device
The invention is filed on 20181225, application number is 201811587262.7, and the invention provides a divisional application named as a conversation expression processing method and device.
Technical Field
The application relates to the technical field of data processing, in particular to a conversation expression processing method. The application also relates to a conversation emotion processing device, a computing device and a computer readable storage medium.
Background
With the rapid development of network technology, instant messaging applications play a crucial role in the mutual communication of users, and users often perform more anthropomorphic emotion transmission through expression sessions in addition to using characters and voice for conversation interaction in the process of performing chat sessions through instant messaging applications, so that obtaining more accurate and more life-approaching expressions is particularly important.
At present, expressions provided by a third party are taken as a main part in instant messaging application, and in the process of session interaction in the instant messaging application, if the expressions need to be sent, a user can directly search and download a required expression package in an expression market, then selects corresponding expressions in the expression package to send, the obtaining mode of the expression package is single, the user can only download one expression package at a time, then selects the required expressions in the expression package, and much inconvenience exists.
Disclosure of Invention
In view of this, embodiments of the present application provide a method for processing a conversational emotion to solve technical defects in the prior art. The embodiment of the application also provides a conversation emotion processing device, a computing device and a computer readable storage medium.
The embodiment of the application discloses a method for processing conversation expressions, which comprises the following steps:
acquiring a session state of at least one session object related to a session page;
determining a state expression corresponding to the session state in a preset state expression set;
displaying the state expression on the conversation page;
and collecting the state expression into a conversation expression library for conversation expression interaction according to the detected expression collection action aiming at the state expression.
Optionally, the obtaining a session state of at least one session object related to the session page includes:
acquiring the session starting time of the active session object related to the session page; the active session object comprises a session object which triggers to enter the session page in the session objects related to the session page;
determining a session state corresponding to a time interval to which the passive session object related to the session page belongs at the session starting time; the passive session object comprises session objects except the active session object in the session objects related to the session page.
Optionally, the obtaining a session state of at least one session object related to the session page includes:
acquiring the session starting time of the active session object related to the session page; the active session object comprises a session object which triggers to enter the session page in the session objects related to the session page;
determining the session state of a passive session object related to the session page in the service scene dimension to which the historical session record of the session page belongs according to the session starting time; the passive session object comprises session objects except the active session object in the session objects related to the session page.
Optionally, the determining the state expression corresponding to the session state in the preset state expression set includes:
determining a state expression corresponding to the session state in a preset state expression set under the service scene dimension and an expression display rule of the state expression;
correspondingly, the displaying the state expression on the conversation page includes:
and displaying the state expression on the conversation page according to the expression display rule.
Optionally, before the step of obtaining the session state of at least one session object related to the session page is executed, the method includes:
acquiring a session request initiated by the active session object aiming at the passive session object;
and displaying the session page based on the session request.
Optionally, after the step of displaying the state expression on the session page is executed and before the step of collecting the state expression into a session expression library for performing session expression interaction according to the detected expression collection action for the state expression is executed, the method includes:
judging whether an expression collection action aiming at the state expression is detected within a preset time interval;
if yes, executing the step of collecting the state expression into a conversation expression library for conversation expression interaction according to the detected expression collection action aiming at the state expression;
if not, hiding the state expression displayed on the conversation page.
Optionally, after the step of displaying the state expression on the session page is executed, the method includes:
and if the session input action of a session input frame set for the session page is detected or the page sliding action of the session page is detected, hiding the state expression displayed by the session page.
Optionally, the session expression is configured with an expression state identifier, where the expression state identifier includes at least one of the following:
the selected state identification of the selected state of the conversation expression and the unselected state identification of the unselected state of the conversation expression;
and if the expression state identifier of the conversation expression is the selected state identifier, triggering and sending the conversation expression support.
Optionally, an expression input identifier is set in a session input box of the session page;
and if the expression input identifier is detected to be triggered, displaying the expression state identifier of the conversation expression in the conversation expression library in an area where a conversation input frame of the conversation page is located.
Optionally, if an identifier triggering action of the expression state identifier of the session expression displayed in an area where a session input box of the session page is located is detected, determining whether the expression state identifier of the session expression is a selected state identifier;
if so, sending the conversation expression, and displaying the conversation expression in a conversation record of the conversation page;
if not, updating the expression state identifier of the conversation expression from the unselected state identifier to the selected state identifier, and sending a prompt that the expression state identifier of the conversation expression is updated.
Optionally, the method for processing conversational emotions includes:
and if the expression state identifier of the conversation expression is updated, updating the conversation expression to the conversation expression library, and synchronizing the updating of the conversation expression library to at least one expression conversation component which uses the conversation expression library to carry out conversation expression interaction.
Optionally, the method for processing conversational emotions includes:
if the expression state identifier of any one session expression in the session expression library in the expression session component is triggered, judging whether the expression state identifier of the session expression is the selected state identifier or not;
and if so, sending the conversation expression, and displaying the conversation expression in a conversation record of the expression conversation component.
Optionally, the passive session object includes at least one of the following: a customer service robot and a conversation robot.
Optionally, the state expression includes: and the dynamic state expression is formed by at least one expression image frame.
The present application further provides a device for processing conversational expressions, including:
a session state acquisition unit configured to acquire a session state of at least one session object to which a session page relates;
the state expression determining unit is configured to determine a state expression corresponding to the conversation state in a preset state expression set;
a state expression display unit configured to display the state expression on the conversation page;
and the state expression collection unit is configured to collect the state expressions into a conversation expression library for carrying out conversation expression interaction according to the detected expression collection action aiming at the state expressions.
The present application further provides a computing device comprising:
a memory and a processor;
the memory is to store computer-executable instructions, and the processor is to execute the computer-executable instructions to:
acquiring a session state of at least one session object related to a session page;
determining a state expression corresponding to the session state in a preset state expression set;
displaying the state expression on the conversation page;
and collecting the state expression into a conversation expression library for conversation expression interaction according to the detected expression collection action aiming at the state expression.
The present application also provides a computer readable storage medium storing computer instructions that, when executed by a processor, implement the steps of the conversational emotion processing method.
Compared with the prior art, the method has the following advantages:
the application provides a conversation expression processing method, which comprises the following steps: acquiring a session state of at least one session object related to a session page; determining a state expression corresponding to the session state in a preset state expression set; displaying the state expression on the conversation page; and collecting the state expression into a conversation expression library for conversation expression interaction according to the detected expression collection action aiming at the state expression.
According to the conversation expression processing method, the corresponding state expression is determined from the conversation state of the conversation object related to the conversation page, the emotion state of the conversation object is conveyed through the state expression, and on the basis, the state expression is collected into the conversation expression library as the conversation expression in a mode of displaying the state expression on the conversation page, so that the state expression conveying the emotion state of the conversation object is combined with the conversation expression in the conversation interaction process, and the conversation expression processing method is more interesting and more convenient and fast.
Drawings
Fig. 1 is a processing flow chart of a method for processing a conversational emotion according to an embodiment of the present application;
fig. 2 is a schematic diagram of a first session page provided in an embodiment of the present application;
FIG. 3 is a schematic diagram of a second session page provided in an embodiment of the present application;
FIG. 4 is a schematic diagram of a third session page provided in an embodiment of the present application;
FIG. 5 is a schematic diagram of a fourth session page provided in an embodiment of the present application;
fig. 6 is a schematic diagram of a fifth session page provided in the embodiment of the present application;
fig. 7 is a schematic diagram of a sixth session page provided in an embodiment of the present application;
fig. 8 is a schematic diagram of a conversational emotion processing apparatus according to an embodiment of the present application;
fig. 9 is a block diagram of a computing device according to an embodiment of the present disclosure.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is capable of implementation in many different ways than those herein set forth and of similar import by those skilled in the art without departing from the spirit of this application and is therefore not limited to the specific implementations disclosed below.
The terminology used in the description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in one or more embodiments of the present specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used in one or more embodiments of the present specification refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It will be understood that, although the terms first, second, etc. may be used herein in one or more embodiments to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first can also be referred to as a second and, similarly, a second can also be referred to as a first without departing from the scope of one or more embodiments of the present description. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
The application provides a conversation emotion processing method, and also provides a conversation emotion processing device, a computing device and a computer readable storage medium. The following detailed description and the description of the steps of the method are individually made with reference to the drawings of the embodiments provided in the present application.
The embodiment of the conversation expression processing method provided by the application is as follows:
referring to fig. 1, which shows a processing flow chart of a conversational emotion processing method provided by the present embodiment, referring to fig. 2, which shows a schematic diagram of a first conversational page provided by the present embodiment; referring to fig. 3, a schematic diagram of a second session page provided by the embodiment of the present application is shown; referring to fig. 4, a schematic diagram of a third session page provided by the embodiment of the present application is shown; referring to fig. 5, a schematic diagram of a fourth session page provided by the embodiment of the present application is shown; referring to fig. 6, a schematic diagram of a fifth session page provided in the embodiment of the present application is shown; referring to fig. 7, a schematic diagram of a sixth session page provided in the embodiment of the present application is shown.
The conversation expression processing method provided by the application comprises the following steps:
step S102, obtaining the session state of at least one session object related to the session page.
In the instant messaging application, in the process of session interaction, for example, in the process of session interaction between a user and a customer service robot, the user can generally interact only in the forms of pictures, texts, voice and the like, and the customer service robot cannot convey the emotion of the user and cannot simulate a real role; if the customer service robot is more real, more emotions need to be given, and the emotion of the customer service robot can be conveyed in a proper form in the conversation interaction process, so that the corresponding conversation expression is extended from the image of the customer service robot.
From this angle, the conversation expression processing method determines the corresponding state expression according to the conversation state of the conversation object related to the conversation page, conveys the emotional state of the conversation object through the state expression corresponding to the conversation state of the conversation object, collects the state expression through a game mode on the basis that the conversation page shows the state expression, further enriches a conversation expression library for conversation interaction according to the collected state expression, and enables the collection of the conversation expression to be more interesting.
The session object related to the session page in the embodiment of the application refers to a session object for performing information interaction such as characters, voice or pictures on the session page, and the session object in the session interaction process can be divided into an active session object for actively initiating a session and a passive session object for passively receiving a session invitation. The active session object may be a session object that triggers session interaction and enters a session page, and in this embodiment of the present application, the passive session object is preferably a customer service robot.
For example, in a scene in which a user performs session interaction with a customer service robot, if the session interaction is generally initiated from the user, the user triggering the session interaction and entering a session page is an active session object; correspondingly, the customer service robot which passively receives the session interaction initiated by the user is a passive session object.
In addition, the passive session object may also be a user or another intelligent robot other than the customer service robot, such as a conversation robot used for making a conversation with the user in an instant messaging application or a game, which is not limited in this embodiment.
The session state of the session object refers to the communication of respective emotions of the session object during session interaction, and taking the customer service robot as an example, the session state of the customer service robot from morning to evening includes: reading, playing games, eating and dozing, and realizing more emotion transmission of the customer service robot through conversation states in different periods.
In a preferred embodiment provided by the embodiment of the present application, in the process of obtaining a session state of at least one session object related to a session page, a session start time of an active session object related to the session page is first obtained; the active session object comprises a session object which triggers to enter the session page in the session objects related to the session page; then determining a session state corresponding to a time interval to which a passive session object related to a session page belongs at the session starting time; the passive session object comprises session objects except the active session object in the session objects related to the session page.
For example, after a user is triggered as an active session object in a session interaction scene and enters a session page with a customer service robot, the customer service robot first calls the user to send a session message; the customer service robot sends the session message to the user according to the session starting time when the customer service robot and the user enter the session page, and then further determines the corresponding session state on the basis of the session starting time.
Specifically, if the session starting time of the user triggering and entering the session interaction with the customer service robot is 08:00-12:00 in the morning, the session state of the customer service robot in the time period is 'reading'; if the session starting time of the user triggering and entering the session interaction with the customer service robot is 14:00-17:00 in the afternoon, the session state of the customer service robot in the time period is 'playing games'; if the session starting time of the user triggering and entering the session interaction with the customer service robot is 17:00-19:00 in the afternoon, the session state of the customer service robot in the time period is 'eating'; if the session starting time for the user to trigger and enter the session interaction with the customer service robot is 21:00-23:00 at night, the session state of the customer service robot in the period is dozing.
In another preferred embodiment provided by the embodiment of the present application, in the process of obtaining the session state of at least one session object related to a session page, a session start time of an active session object related to the session page is first obtained; the active session object comprises a session object which triggers to enter the session page in the session objects related to the session page; then according to the session starting time, determining the session state of a passive session object related to the session page in the service scene dimension to which the historical session record of the session page belongs; the passive session object comprises session objects except the active session object in the session objects related to the session page.
For example, after a user is triggered as an active session object in a session interaction scene and enters a session page with a customer service robot, the customer service robot first calls the user to send a session message; the customer service robot sends the session message to the user according to session starting time when the customer service robot and the user enter a session page, online shopping service scene dimensionality or stock-frying service scene dimensionality which the historical session record of the session page belongs to, and then sends the session message to the user on the basis of the session state determined by the session starting time and the online shopping service scene dimensionality or stock-frying service scene dimensionality.
Preferably, before the session state of the passive session object related to the session page is obtained, a session request initiated by the active session object for the passive session object may also be obtained, and the session page is displayed based on the session request, for example, when a session request of a user for a customer service robot is received, the session page where the user and the customer service robot perform session interaction is displayed, so that a visualization basis is provided for performing session expression processing on the basis of the session page in the subsequent step.
And step S104, determining the corresponding state expression of the session state in a preset state expression set.
The state expression in the embodiment of the present application refers to an expression characteristic used for conveying the emotion and the living state of the session object in different session states, and preferably, the state expression is a dynamic state expression, and specifically, the dynamic state expression is composed of at least one frame of expression image frame, that is, a dynamic graph.
According to the above example, the conversation state of the customer service robot at 08:00-12:00 am is reading, and the state expression corresponding to the conversation state of reading is a dynamic diagram of the robot image in reading; similarly, if the conversation state of the customer service robot is in a game play state of 14:00-17:00 in the afternoon, the state expression corresponding to the game play state is a dynamic diagram of the robot in a shape of playing a game with an earphone; if the conversation state of the customer service robot is eating in 17:00-19:00 pm, the state expression corresponding to the conversation state of eating is a dynamic graph of the robot shape like eating, as shown in a dynamic graph 201 of the robot shape like eating shown in fig. 2; the conversation state of the customer service robot at night 21:00-23:00 is dozing, and the state corresponding to the dozing conversation state is expressed as a dynamic diagram of the robot image dozing.
The preset state expression set in the embodiment of the application refers to state expressions which are preset for the session object and correspond to different session states, and the state expressions corresponding to all the session states jointly form the preset state expression set.
In practical application, according to the determined session state of the session object and according to the preset state expression set, the state expression corresponding to each session state is determined in the preset state expression set.
On the basis of obtaining the session start time of the active session object related to the session page and determining the session state of the passive session object related to the session page in the service scene dimension to which the historical session record of the session page belongs according to the session start time, in a preferred embodiment provided by the embodiment of the present application, in the process of determining the state expression corresponding to the session state in the preset state expression set, the expression display rule of the state expression is determined in addition to the state expression corresponding to the preset state expression set of the session state in the service scene dimension.
And step S106, displaying the state expression on the conversation page.
As described above, in the process of determining the state expression corresponding to the session state in the preset state expression set, except for determining the state expression corresponding to the session state in the preset state expression set in the service scene dimension, the expression display rule of the state expression is determined at the same time; correspondingly, in the process of displaying the state expression on the session page, the state expression is displayed on the session page according to the expression display rule, so that the display of the state expression corresponding to the session state on the session page is more diversified, and the session interaction experience among session objects is improved.
For example, the conversation page shows the state expression that the conversation state of the customer service robot is "eating" (i.e. the dynamic diagram of the robot image eating) according to the following expression showing rules: the dynamic picture of the robot character at meal is displayed on the conversation page for 3 seconds, and if the user does not click or do any other operation within the 3 seconds, the display of the dynamic picture of the robot character at meal on the conversation page is terminated and disappears from the conversation page.
In addition to the above-mentioned displaying of the state expression on the session page according to the expression display rule, the control detection of the display of the state expression on the session page may be implemented by other embodiments, in a preferred embodiment provided in this application embodiment, after the display of the state expression on the session page, it is determined whether an expression collection action for the state expression is detected within a preset time interval; if yes, executing the following step S108, and collecting the state expression into a conversation expression library for conversation expression interaction according to the detected expression collection action aiming at the state expression; and if not, hiding the state expression displayed on the conversation page.
For example, the state expression of the customer service robot "eat" (i.e., the dynamic diagram of the robot avatar eating) is displayed for 3 seconds on the conversation page; if the expression collection action of the user aiming at the dynamic graph displayed on the conversation page is received within the 3 seconds, entering into a logic of collecting the dynamic graph; and if the emoticon collection action aiming at the dynamic graph displayed on the conversation page is not received within the 3 seconds, hiding the dynamic graph displayed on the conversation after the 3-second display is finished.
In practical applications, after the state expression is displayed on a session page, if a session interaction is desired between session objects related to the session page, for example, during an online shopping process of a user, the user triggers and enters the session page for performing the session interaction with the customer service robot in order to consult the information related to goods as soon as possible, the session interaction state can be quickly switched to by a preferred embodiment provided in the present application, in a preferred embodiment provided in the present application, after the session page displays the state expression, an action input by the session object on the session page is detected, specifically, if a session input action of a session input box set for the session page is detected, which indicates that a session object sending the session input action intends to perform a session interaction, the state expression displayed on the session page is hidden, restoring to the session interaction state of the session page;
similarly, if the page sliding action for the session page is detected, which indicates that the intention of the session object sending the page sliding action is likely to be to view the historical session record, the state expression shown by the session page is hidden.
And S108, collecting the state expression into a conversation expression library for conversation expression interaction according to the detected expression collection action aiming at the state expression.
The conversation expression library in the embodiment of the application refers to a set of conversation expressions used when expression interaction is performed on conversation pages among conversation objects. During specific implementation, in order to further enrich the conversation expressions contained in the conversation expression library, the conversation expressions are collected into the conversation expression library by the conversation object in the conversation process.
Preferably, the session emoticons in the session emoticons library are configured with emoticons status identifiers, where the emoticons status identifiers include: the selected state identification of the selected state of the conversation expression and the unselected state identification of the unselected state of the conversation expression;
if the expression state identifier of the session expression is the selected state identifier, the session expression support is triggered and sent; and if the expression state identifier of the session expression is the unselected state identifier, the session expression does not support to be sent, and the session expression needs to be sent after being selected.
Further, the conversation input frame of the conversation page is preferably provided with an expression input identifier; and if the expression input identifier is detected to be triggered, displaying the expression state identifier of the conversation expression in the conversation expression library in an area where a conversation input frame of the conversation page is located.
For example, the customer service robot takes a meal, which is a state expression corresponding to a session state (i.e., a dynamic graph of the robot image taking a meal), and after the dynamic graph is selected by an expression collection action input by the user, the dynamic graph is collected as a session expression into a session expression library. As shown in fig. 5, an emoticon input identifier 501 is arranged on a session input box of a session page, and after the emoticon input identifier 501 is triggered, an emoticon state identifier of a session emoticon in a session emoticon library is displayed in an area where the session input box is located.
On the basis of the state discrimination of the session expressions, in order to realize more comprehensive control of the session expressions in the session expression library, in an embodiment of the present application, if an identifier trigger action of an expression state identifier of the session expression displayed in an area where a session input box of a session page is located is detected, it is determined whether the expression state identifier of the session expression is a selected state identifier;
if so, sending the conversation expression, and displaying the conversation expression in a conversation record of a conversation page;
if not, updating the expression state identifier of the conversation expression from the unselected state identifier to the selected state identifier, and sending a prompt that the expression state identifier of the conversation expression is updated.
For example, in a conversation interaction process, if a user wants to send a certain conversation expression in a conversation expression library, the conversation expression library of an area where a conversation input box is located is firstly opened, then an expression state identifier of the certain conversation expression to be sent in the conversation expression library is clicked, and if the clicked expression state identifier of the conversation expression is the selected state identifier, the conversation expression is sent;
if the clicked expression state identifier of the conversation expression is an unselected state identifier, the user needs to further trigger the expression state identifier of the conversation expression, and the expression state identifier of the conversation expression is updated from the unselected state identifier to a selected state identifier through triggering, so that the user can send the conversation expression on the basis of the selected state identifier.
It should be noted that, in order to enhance the applicability of the session emoticons in the session emoticons, the session emoticons may be synchronized with other components, for example, if the current session interaction through the session page is performed in an application, the current session interaction between the user and the customer service robot through the session page uses an after-sales function component of the application, and the application further includes a community function component in addition to the after-sales function component, such as the community function component shown in fig. 7, the session emoticons are synchronized with the community function component, and the session emoticons in the session emoticons may also be sent in the process of using the community function component.
In a preferred embodiment provided in the embodiment of the present application, it is detected whether an expression state identifier of a session expression in the session expression library is updated, and if the expression state identifier of the session expression is updated, the session expression is updated to the session expression library, and the update of the session expression library is synchronized to at least one expression session component that uses the session expression library to perform session expression interaction.
Further, for any emoticon session component that performs session emoticon interaction using the session emoticon library, in the process of performing emoticon session in the emoticon session component, session emoticon sending detection processing is performed by the following preferred embodiment:
if the expression state identifier of any one session expression in the session expression library in the expression session component is triggered, judging whether the expression state identifier of the session expression is the selected state identifier or not;
if yes, the conversation expression is sent, and the conversation expression is displayed in a conversation record of the expression conversation component;
if not, the conversation expression support does not support being sent, and the conversation expression support needs to be sent after the expression state identifier of the conversation expression is selected and triggered to be the selected state identifier.
For example, as shown in the community functional component of fig. 7, the conversation emoticon library is synchronized to the community functional component, based on which the user can perform conversation emoticon interaction in the community functional component, such as entering a conversation emoticon in the conversation emoticon library in a comment to a community post;
specifically, in the process of inputting a conversation expression in a conversation expression library, aiming at a conversation expression selected by a user and to be input in the process of commenting, judging whether an expression state identifier of the conversation expression is a selected state identifier or not; if so, inputting the conversation expression into the comment of the user to the community post; and if not, inputting after the expression state identifier of the conversation expression is selected and triggered to be the selected state identifier.
The following provides a specific example of the conversational emotion processing method with reference to fig. 2 to 7, to further explain the conversational emotion processing method provided in this application:
in a scene that a user performs session interaction with a customer service robot 'Anna', the session interaction is generally initiated from the user, the user is an active session object for triggering the session interaction and entering a session page with the customer service robot, and the customer service robot is a passive session object.
Specifically, if the session starting time of the user triggering and entering the session interaction with the customer service robot is 08:00-12:00 in the morning, the session state of the customer service robot in the time period is 'reading'; if the session starting time of the user triggering and entering the session interaction with the customer service robot is 14:00-17:00 in the afternoon, the session state of the customer service robot in the time period is 'playing games'; if the session starting time of the user triggering and entering the session interaction with the customer service robot is 17:00-19:00 in the afternoon, the session state of the customer service robot in the time period is 'eating'; if the session starting time for the user to trigger and enter the session interaction with the customer service robot is 21:00-23:00 at night, the session state of the customer service robot in the period is dozing.
Further, the conversation state of the customer service robot at 08:00-12:00 in the morning is reading, and the state expression corresponding to the conversation state is a dynamic diagram of the robot image in reading; similarly, if the conversation state of the customer service robot is in a game play state of 14:00-17:00 in the afternoon, the state expression corresponding to the game play state is a dynamic diagram of the robot in a shape of playing a game with an earphone; the customer service robot takes a meal in a conversation state of 17:00-19:00 in the afternoon, and the state expression corresponding to the conversation state of the meal is a dynamic graph of the robot shape like the meal; the conversation state of the customer service robot at night 21:00-23:00 is dozing, and the state corresponding to the dozing conversation state is expressed as a dynamic diagram of the robot image dozing.
After determining the corresponding state expression of the session state of the customer service robot, displaying the corresponding state expression of the current session state on a session page, and displaying a dynamic graph of the robot image eating corresponding to the session state of eating on the session page if the session state of the customer service robot is eating at 06:00 pm, such as a dynamic graph 201 of the robot image eating shown in fig. 2.
When the dynamic graph 201 of the robot image for eating is displayed specifically, the dynamic graph of the robot image for eating is displayed on a conversation page for 3 seconds;
if the action that the user calls up the input dialog box is received within 3 seconds, the fact that the user wants to perform conversation interaction with the service robot Anna is indicated, and a dynamic graph that the robot image displayed on a conversation page is at a meal is hidden, as shown in the attached figure 3;
if the expression collection action of the user aiming at the dynamic image displayed on the conversation page is received within the 3 seconds, the dynamic image of the robot image at a meal is collected into the conversation expression library as the expression, and a collection success prompt is sent out, as shown in the attached figure 4.
As shown in fig. 5, the session page is provided with a session input box, on which an emoticon input identifier 501 is arranged, taking as an example a dynamic graph of a state emoticon robot image corresponding to the session state of the customer service robot eating, after the dynamic graph of the robot image eating is collected into a session emoticon library as a session emoticon, the session emoticon of the collected robot image after the dynamic graph of the eating is collected into the session emoticon library can be checked by triggering the emoticon input identifier 501, after the emoticon input identifier 501 is triggered, an emoticon state identifier of the session emoticon in the session emoticon library is displayed in an area where the session input box is located, for example, a state identifier of the session emoticon corresponding to the dynamic graph of the robot image eating shown in 601 in fig. 6 is a selected state identifier, and the emoticon state identifier of the session emoticon is a selected state identifier.
Meanwhile, if the current session interaction is performed through the session page in an application, the current user and the customer service robot perform the session interaction through the session page to use the after-sales function component of the application, and the application further includes a community function component besides the after-sales function component, such as the community function component shown in fig. 7, the session emotion library is synchronized to the community function component, and the session emotion in the session emotion library can be sent in the process of using the community function component.
After the conversation emotion library is synchronized to the community functional component, the user can perform conversation emotion interaction in the community functional component, for example, inputting a conversation emotion in the conversation emotion library in a comment posted in the community; specifically, in the process of inputting a conversation expression in a conversation expression library, aiming at a conversation expression selected by a user and to be input in the process of commenting, judging whether an expression state identifier of the conversation expression is a selected state identifier or not; if so, inputting the conversation expression into the comment of the user to the community post; and if not, inputting after the expression state identifier of the conversation expression is selected and triggered to be the selected state identifier.
To sum up, the conversation expression processing method provided by the application determines the corresponding state expression from the conversation state of the conversation object related to the conversation page, conveys the emotion state of the conversation object through the state expression, and collects the state expression as the conversation expression into the conversation expression library through the mode of displaying the state expression on the conversation page on the basis, so that the state expression conveying the emotion state of the conversation object is combined with the conversation expression in the conversation interaction process, and the processing aiming at the conversation expression is more interesting and more convenient.
The embodiment of the conversation expression processing device provided by the application is as follows:
in the foregoing embodiment, a method for processing a conversational emotion is provided, and correspondingly, a device for processing a conversational emotion is also provided in the present application, which is described below with reference to the accompanying drawings.
Referring to fig. 8, a schematic diagram of an embodiment of a conversational emotion processing apparatus provided by the present application is shown.
Since the apparatus embodiments are substantially similar to the method embodiments, they are described in a relatively simple manner, and reference may be made to the corresponding description of the method embodiments provided above for relevant portions. The device embodiments described below are merely illustrative.
The application provides a conversation expression processing apparatus, including:
a session state acquiring unit 802 configured to acquire a session state of at least one session object to which a session page relates;
a state expression determining unit 804 configured to determine a state expression corresponding to the session state in a preset state expression set;
a state expression presentation unit 806 configured to present the state expression on the session page;
and the state expression collection unit 808 is configured to collect the state expressions into a conversation expression library for performing conversation expression interaction according to the detected expression collection action for the state expressions.
Optionally, the session state obtaining unit 802 includes:
a first session starting time obtaining subunit, configured to obtain a session starting time of an active session object related to the session page; the active session object comprises a session object which triggers to enter the session page in the session objects related to the session page;
the first session state determining subunit is configured to determine a session state corresponding to a time interval to which the passive session object related to the session page belongs at the session starting time; the passive session object comprises session objects except the active session object in the session objects related to the session page.
Optionally, the session state obtaining unit 802 includes:
a second session start time obtaining subunit, configured to obtain a session start time of an active session object to which the session page relates; the active session object comprises a session object which triggers to enter the session page in the session objects related to the session page;
the second session state determining subunit is configured to determine, according to the session start time, a session state of a passive session object related to the session page in a service scene dimension to which a historical session record of the session page belongs; the passive session object comprises session objects except the active session object in the session objects related to the session page.
Optionally, the state expression determining unit 804 is specifically configured to determine a state expression corresponding to the session state in a preset state expression set in the service scene dimension, and an expression display rule of the state expression;
correspondingly, the state expression display unit 806 is specifically configured to display the state expression on the session page according to the expression display rule.
Optionally, the apparatus for processing conversational emotions includes:
a session request obtaining unit configured to obtain a session request initiated by the active session object for the passive session object;
a session page presentation unit configured to present the session page based on the session request.
Optionally, the apparatus for processing conversational emotions includes:
an expression collection action detection unit configured to determine whether an expression collection action for the state expression is detected within a preset time interval; if yes, the state expression collection unit 808 is operated; if not, hiding the state expression displayed on the conversation page.
Optionally, the apparatus for processing conversational emotions includes:
and the state expression hiding unit is configured to hide the state expression displayed by the session page if a session input action of a session input box set for the session page is detected or a page sliding action for the session page is detected.
Optionally, the session expression is configured with an expression state identifier, where the expression state identifier includes at least one of the following:
the selected state identification of the selected state of the conversation expression and the unselected state identification of the unselected state of the conversation expression;
and if the expression state identifier of the conversation expression is the selected state identifier, triggering and sending the conversation expression support.
Optionally, an expression input identifier is set in a session input box of the session page;
and if the expression input identifier is detected to be triggered, displaying the expression state identifier of the conversation expression in the conversation expression library in an area where a conversation input frame of the conversation page is located.
Optionally, the apparatus for processing conversational emotions includes:
the first expression state identification detection unit is configured to judge whether the expression state identification of the conversation expression is the selected state identification or not if the identification triggering action of the expression state identification of the conversation expression, which is displayed in the area where the conversation input frame of the conversation page is located, is detected; if so, sending the conversation expression, and displaying the conversation expression in a conversation record of the conversation page; if not, updating the expression state identifier of the conversation expression from the unselected state identifier to the selected state identifier, and sending a prompt that the expression state identifier of the conversation expression is updated.
Optionally, the apparatus for processing conversational emotions includes:
and the session expression library synchronizing unit is configured to update the session expressions to the session expression library and synchronize the update of the session expression library to at least one expression session component which uses the session expression library to carry out session expression interaction if the expression state identifier of the session expressions is updated.
Optionally, the apparatus for processing conversational emotions includes:
a second expression state identifier detection unit configured to determine whether an expression state identifier of a session expression in the session expression library is the selected state identifier if the expression state identifier of any session expression in the session expression library in the expression session component is triggered; and if so, sending the conversation expression, and displaying the conversation expression in a conversation record of the expression conversation component.
Optionally, the passive session object includes at least one of the following: a customer service robot and a conversation robot.
Optionally, the state expression includes: and the dynamic state expression is formed by at least one expression image frame.
The embodiment of the computing device provided by the application is as follows:
FIG. 9 is a block diagram that illustrates a computing device 900 in accordance with one embodiment of the present description. Components of the computing device 900 include, but are not limited to, a memory 910 and a processor 920. The processor 920 is coupled to the memory 910 via a bus 930, and a database 950 is used to store data.
Computing device 900 also includes access device 940, access device 940 enabling computing device 900 to communicate via one or more networks 960. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. Access device 940 may include one or more of any type of network interface (e.g., a Network Interface Card (NIC)) whether wired or wireless, such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
In one embodiment of the present description, the other components of computing device 900 described above and not shown in FIG. 9 may also be connected to each other, such as by a bus. It should be understood that the block diagram of the computing device architecture shown in FIG. 9 is for purposes of example only and is not limiting as to the scope of the description. Those skilled in the art may add or replace other components as desired.
Computing device 900 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), a mobile phone (e.g., smartphone), a wearable computing device (e.g., smartwatch, smartglasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 900 may also be a mobile or stationary server.
The present application provides a computing device comprising a memory 910, a processor 920, and computer instructions stored on the memory and executable on the processor, the processor 920 being configured to execute the following computer-executable instructions:
acquiring a session state of at least one session object related to a session page;
determining a state expression corresponding to the session state in a preset state expression set;
displaying the state expression on the conversation page;
and collecting the state expression into a conversation expression library for conversation expression interaction according to the detected expression collection action aiming at the state expression.
Optionally, the obtaining a session state of at least one session object related to the session page includes:
acquiring the session starting time of the active session object related to the session page; the active session object comprises a session object which triggers to enter the session page in the session objects related to the session page;
determining a session state corresponding to a time interval to which the passive session object related to the session page belongs at the session starting time; the passive session object comprises session objects except the active session object in the session objects related to the session page.
Optionally, the obtaining a session state of at least one session object related to the session page includes:
acquiring the session starting time of the active session object related to the session page; the active session object comprises a session object which triggers to enter the session page in the session objects related to the session page;
determining the session state of a passive session object related to the session page in the service scene dimension to which the historical session record of the session page belongs according to the session starting time; the passive session object comprises session objects except the active session object in the session objects related to the session page.
Optionally, the determining the state expression corresponding to the session state in the preset state expression set includes:
determining a state expression corresponding to the session state in a preset state expression set under the service scene dimension and an expression display rule of the state expression;
correspondingly, the displaying the state expression on the conversation page includes:
and displaying the state expression on the conversation page according to the expression display rule.
Optionally, before the session state instruction of the at least one session object related to the get session page is executed, the processor 920 is further configured to execute the following computer-executable instructions:
acquiring a session request initiated by the active session object aiming at the passive session object;
and displaying the session page based on the session request.
Optionally, after the step of displaying the state expression on the session page is executed and before the instruction for collecting the state expression into the session expression library for performing session expression interaction is executed according to the detected expression collection action for the state expression, the processor 920 is further configured to execute the following computer-executable instructions:
judging whether an expression collection action aiming at the state expression is detected within a preset time interval;
if yes, executing the instruction of collecting the state expression into a conversation expression library for conversation expression interaction according to the detected expression collection action aiming at the state expression;
if not, hiding the state expression displayed on the conversation page.
Optionally, after the session page shows that the state emoticon is executed, the processor 920 is further configured to execute the following computer-executable instructions:
and if the session input action of a session input frame set for the session page is detected or the page sliding action of the session page is detected, hiding the state expression displayed by the session page.
Optionally, the session expression is configured with an expression state identifier, where the expression state identifier includes at least one of the following:
the selected state identification of the selected state of the conversation expression and the unselected state identification of the unselected state of the conversation expression;
and if the expression state identifier of the conversation expression is the selected state identifier, triggering and sending the conversation expression support.
Optionally, an expression input identifier is set in a session input box of the session page;
and if the expression input identifier is detected to be triggered, displaying the expression state identifier of the conversation expression in the conversation expression library in an area where a conversation input frame of the conversation page is located.
Optionally, if an identifier triggering action of the expression state identifier of the session expression displayed in an area where a session input box of the session page is located is detected, determining whether the expression state identifier of the session expression is a selected state identifier;
if so, sending the conversation expression, and displaying the conversation expression in a conversation record of the conversation page;
if not, updating the expression state identifier of the conversation expression from the unselected state identifier to the selected state identifier, and sending a prompt that the expression state identifier of the conversation expression is updated.
Optionally, the processor 920 is further configured to execute the following computer-executable instructions:
and if the expression state identifier of the conversation expression is updated, updating the conversation expression to the conversation expression library, and synchronizing the updating of the conversation expression library to at least one expression conversation component which uses the conversation expression library to carry out conversation expression interaction.
Optionally, the processor 920 is further configured to execute the following computer-executable instructions:
if the expression state identifier of any one session expression in the session expression library in the expression session component is triggered, judging whether the expression state identifier of the session expression is the selected state identifier or not;
and if so, sending the conversation expression, and displaying the conversation expression in a conversation record of the expression conversation component.
Optionally, the passive session object includes at least one of the following: a customer service robot and a conversation robot.
Optionally, the state expression includes: and the dynamic state expression is formed by at least one expression image frame.
The embodiment of a computer-readable storage medium provided by the application is as follows:
an embodiment of the present application further provides a computer-readable storage medium storing computer instructions, which when executed by a processor implement the following:
acquiring a session state of at least one session object related to a session page;
determining a state expression corresponding to the session state in a preset state expression set;
displaying the state expression on the conversation page;
and collecting the state expression into a conversation expression library for conversation expression interaction according to the detected expression collection action aiming at the state expression.
Optionally, the obtaining a session state of at least one session object related to the session page includes:
acquiring the session starting time of the active session object related to the session page; the active session object comprises a session object which triggers to enter the session page in the session objects related to the session page;
determining a session state corresponding to a time interval to which the passive session object related to the session page belongs at the session starting time; the passive session object comprises session objects except the active session object in the session objects related to the session page.
Optionally, the obtaining a session state of at least one session object related to the session page includes:
acquiring the session starting time of the active session object related to the session page; the active session object comprises a session object which triggers to enter the session page in the session objects related to the session page;
determining the session state of a passive session object related to the session page in the service scene dimension to which the historical session record of the session page belongs according to the session starting time; the passive session object comprises session objects except the active session object in the session objects related to the session page.
Optionally, the determining the state expression corresponding to the session state in the preset state expression set includes:
determining a state expression corresponding to the session state in a preset state expression set under the service scene dimension and an expression display rule of the state expression;
correspondingly, the displaying the state expression on the conversation page includes:
and displaying the state expression on the conversation page according to the expression display rule.
Optionally, before the step of obtaining the session state of at least one session object related to the session page is executed, the method includes:
acquiring a session request initiated by the active session object aiming at the passive session object;
and displaying the session page based on the session request.
Optionally, after the step of displaying the state expression on the session page is executed and before the step of collecting the state expression into a session expression library for performing session expression interaction according to the detected expression collection action for the state expression is executed, the method includes:
judging whether an expression collection action aiming at the state expression is detected within a preset time interval;
if yes, executing the step of collecting the state expression into a conversation expression library for conversation expression interaction according to the detected expression collection action aiming at the state expression;
if not, hiding the state expression displayed on the conversation page.
Optionally, after the step of displaying the state expression on the session page is executed, the method includes:
and if the session input action of a session input frame set for the session page is detected or the page sliding action of the session page is detected, hiding the state expression displayed by the session page.
Optionally, the session expression is configured with an expression state identifier, where the expression state identifier includes at least one of the following:
the selected state identification of the selected state of the conversation expression and the unselected state identification of the unselected state of the conversation expression;
and if the expression state identifier of the conversation expression is the selected state identifier, triggering and sending the conversation expression support.
Optionally, an expression input identifier is set in a session input box of the session page;
and if the expression input identifier is detected to be triggered, displaying the expression state identifier of the conversation expression in the conversation expression library in an area where a conversation input frame of the conversation page is located.
Optionally, if an identifier triggering action of the expression state identifier of the session expression displayed in an area where a session input box of the session page is located is detected, determining whether the expression state identifier of the session expression is a selected state identifier;
if so, sending the conversation expression, and displaying the conversation expression in a conversation record of the conversation page;
if not, updating the expression state identifier of the conversation expression from the unselected state identifier to the selected state identifier, and sending a prompt that the expression state identifier of the conversation expression is updated.
Optionally, the instructions when executed by the processor implement the following:
and if the expression state identifier of the conversation expression is updated, updating the conversation expression to the conversation expression library, and synchronizing the updating of the conversation expression library to at least one expression conversation component which uses the conversation expression library to carry out conversation expression interaction.
Optionally, the instructions when executed by the processor implement the following:
if the expression state identifier of any one session expression in the session expression library in the expression session component is triggered, judging whether the expression state identifier of the session expression is the selected state identifier or not;
and if so, sending the conversation expression, and displaying the conversation expression in a conversation record of the expression conversation component.
Optionally, the passive session object includes at least one of the following: a customer service robot and a conversation robot.
Optionally, the state expression includes: and the dynamic state expression is formed by at least one expression image frame.
The above is an illustrative scheme of a computer-readable storage medium of the present embodiment. It should be noted that the technical solution of the storage medium belongs to the same concept as the technical solution of the above-mentioned conversational expression processing method, and details that are not described in detail in the technical solution of the storage medium can be referred to the description of the technical solution of the above-mentioned conversational expression processing method.
The computer instructions comprise computer program code which may be in the form of source code, object code, an executable file or some intermediate form, or the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The preferred embodiments of the present application disclosed above are intended only to aid in the explanation of the application. Alternative embodiments are not exhaustive and do not limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the application and the practical application, to thereby enable others skilled in the art to best understand and utilize the application. The application is limited only by the claims and their full scope and equivalents.

Claims (15)

1. A method for processing conversational expressions is characterized by comprising the following steps:
acquiring a session state of at least one session object to which a session page relates, the acquiring the session state of the at least one session object to which the session page relates comprising: acquiring the session starting time of the active session object related to the session page; the active session object comprises a session object which triggers to enter the session page in the session objects related to the session page; determining the session state of a passive session object related to the session page in the service scene dimension to which the historical session record of the session page belongs according to the session starting time; the passive session object comprises session objects except the active session object in the session objects related to the session page;
determining a state expression corresponding to the session state in a preset state expression set;
displaying the state expression on the conversation page;
and collecting the state expression into a conversation expression library for conversation expression interaction according to the detected expression collection action aiming at the state expression.
2. The method according to claim 1, wherein the determining the corresponding state expression of the session state in a preset state expression set includes:
determining a state expression corresponding to the session state in a preset state expression set under the service scene dimension and an expression display rule of the state expression;
correspondingly, the displaying the state expression on the conversation page includes:
and displaying the state expression on the conversation page according to the expression display rule.
3. The method for processing conversational emoticons according to claim 1, wherein before the step of obtaining the conversational state of at least one conversational object involved in the conversational page is executed, the method comprises:
acquiring a session request initiated by the active session object aiming at the passive session object;
and displaying the session page based on the session request.
4. The method according to claim 1, wherein after the step of displaying the state emoticons on the session page is executed, and before the step of collecting the state emoticons into a session emoticon library for performing session emoticons according to the detected emoticons collection action for the state emoticons is executed, the method includes:
judging whether an expression collection action aiming at the state expression is detected within a preset time interval;
if yes, executing the step of collecting the state expression into a conversation expression library for conversation expression interaction according to the detected expression collection action aiming at the state expression;
if not, hiding the state expression displayed on the conversation page.
5. The method for processing conversational emoticons according to claim 1, wherein after the step of presenting the state emoticons on the conversation page is executed, the method comprises:
and if the session input action of a session input frame set for the session page is detected or the page sliding action of the session page is detected, hiding the state expression displayed by the session page.
6. The method according to claim 1, wherein the conversational emoticon is configured with emoticon status identifiers, and the emoticon status identifiers include at least one of:
the selected state identification of the selected state of the conversation expression and the unselected state identification of the unselected state of the conversation expression;
and if the expression state identifier of the conversation expression is the selected state identifier, triggering and sending the conversation expression support.
7. The conversation emotion processing method of claim 6, wherein an emotion input identifier is set in a conversation input box of the conversation page;
and if the expression input identifier is detected to be triggered, displaying the expression state identifier of the conversation expression in the conversation expression library in an area where a conversation input frame of the conversation page is located.
8. The method according to claim 7, wherein if an identifier trigger action of the expression state identifier of the session expression displayed in an area where a session input box of the session page is located is detected, it is determined whether the expression state identifier of the session expression is a selected state identifier;
if so, sending the conversation expression, and displaying the conversation expression in a conversation record of the conversation page;
if not, updating the expression state identifier of the conversation expression from the unselected state identifier to the selected state identifier, and sending a prompt that the expression state identifier of the conversation expression is updated.
9. The conversational emotion processing method of claim 8, comprising:
and if the expression state identifier of the conversation expression is updated, updating the conversation expression to the conversation expression library, and synchronizing the updating of the conversation expression library to at least one expression conversation component which uses the conversation expression library to carry out conversation expression interaction.
10. The conversational emotion processing method of claim 9, comprising:
if the expression state identifier of any one session expression in the session expression library in the expression session component is triggered, judging whether the expression state identifier of the session expression is the selected state identifier or not;
and if so, sending the conversation expression, and displaying the conversation expression in a conversation record of the expression conversation component.
11. The conversational emotion processing method of claim 1, wherein the passive conversational object comprises at least one of:
a customer service robot and a conversation robot.
12. The conversational emotion processing method of any one of claims 1 to 11, wherein the state emotion includes:
and the dynamic state expression is formed by at least one expression image frame.
13. A conversational emotion processing apparatus, comprising:
a session state obtaining unit configured to obtain a session state of at least one session object to which a session page relates, the obtaining of the session state of the at least one session object to which the session page relates, including: acquiring the session starting time of the active session object related to the session page; the active session object comprises a session object which triggers to enter the session page in the session objects related to the session page; determining the session state of a passive session object related to the session page in the service scene dimension to which the historical session record of the session page belongs according to the session starting time; the passive session object comprises session objects except the active session object in the session objects related to the session page;
the state expression determining unit is configured to determine a state expression corresponding to the conversation state in a preset state expression set;
a state expression display unit configured to display the state expression on the conversation page;
and the state expression collection unit is configured to collect the state expressions into a conversation expression library for carrying out conversation expression interaction according to the detected expression collection action aiming at the state expressions.
14. A computing device, comprising:
a memory and a processor;
the memory is to store computer-executable instructions, and the processor is to execute the computer-executable instructions to:
acquiring a session state of at least one session object to which a session page relates, the acquiring the session state of the at least one session object to which the session page relates comprising: acquiring the session starting time of the active session object related to the session page; the active session object comprises a session object which triggers to enter the session page in the session objects related to the session page; determining the session state of a passive session object related to the session page in the service scene dimension to which the historical session record of the session page belongs according to the session starting time; the passive session object comprises session objects except the active session object in the session objects related to the session page;
determining a state expression corresponding to the session state in a preset state expression set;
displaying the state expression on the conversation page;
and collecting the state expression into a conversation expression library for conversation expression interaction according to the detected expression collection action aiming at the state expression.
15. A computer-readable storage medium storing computer instructions, which when executed by a processor, perform the steps of the method of any one of claims 1 to 12.
CN202111389899.7A 2018-12-25 2018-12-25 Conversation expression processing method and device Active CN113965541B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111389899.7A CN113965541B (en) 2018-12-25 2018-12-25 Conversation expression processing method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811587262.7A CN109842546B (en) 2018-12-25 2018-12-25 Conversation expression processing method and device
CN202111389899.7A CN113965541B (en) 2018-12-25 2018-12-25 Conversation expression processing method and device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201811587262.7A Division CN109842546B (en) 2018-12-25 2018-12-25 Conversation expression processing method and device

Publications (2)

Publication Number Publication Date
CN113965541A true CN113965541A (en) 2022-01-21
CN113965541B CN113965541B (en) 2023-06-02

Family

ID=66883386

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201811587262.7A Active CN109842546B (en) 2018-12-25 2018-12-25 Conversation expression processing method and device
CN202111389899.7A Active CN113965541B (en) 2018-12-25 2018-12-25 Conversation expression processing method and device

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201811587262.7A Active CN109842546B (en) 2018-12-25 2018-12-25 Conversation expression processing method and device

Country Status (1)

Country Link
CN (2) CN109842546B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597963B (en) * 2019-09-23 2024-02-06 腾讯科技(深圳)有限公司 Expression question-answering library construction method, expression search device and storage medium

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040122673A1 (en) * 2002-12-11 2004-06-24 Samsung Electronics Co., Ltd Method of and apparatus for managing dialog between user and agent
CN101494618A (en) * 2008-11-28 2009-07-29 腾讯科技(深圳)有限公司 Display system and method for instant communication terminal window
US7912720B1 (en) * 2005-07-20 2011-03-22 At&T Intellectual Property Ii, L.P. System and method for building emotional machines
CN105897551A (en) * 2015-02-13 2016-08-24 国际商业机器公司 Point In Time Expression Of Emotion Data Gathered From A Chat Session
CN106020622A (en) * 2016-07-12 2016-10-12 百度在线网络技术(北京)有限公司 Method and device for collecting emoticons
CN106873844A (en) * 2015-12-11 2017-06-20 阿里巴巴集团控股有限公司 Picture inspection method and device
CN107038214A (en) * 2017-03-06 2017-08-11 北京小米移动软件有限公司 Expression information processing method and processing device
CN107092904A (en) * 2016-05-16 2017-08-25 阿里巴巴集团控股有限公司 A kind of method and device for obtaining resource
CN107135247A (en) * 2017-02-16 2017-09-05 江苏南大电子信息技术股份有限公司 A kind of service system and method for the intelligent coordinated work of person to person's work
CN107634901A (en) * 2017-09-19 2018-01-26 广东小天才科技有限公司 Session expression pushing method and device and terminal equipment
CN107817799A (en) * 2017-11-03 2018-03-20 北京光年无限科技有限公司 The method and system of intelligent interaction are carried out with reference to virtual maze
CN107895027A (en) * 2017-11-17 2018-04-10 合肥工业大学 Individual feelings and emotions knowledge mapping method for building up and device
US20180174020A1 (en) * 2016-12-21 2018-06-21 Microsoft Technology Licensing, Llc Systems and methods for an emotionally intelligent chat bot
CN108255316A (en) * 2018-01-23 2018-07-06 广东欧珀移动通信有限公司 Dynamic adjusts method, electronic device and the computer readable storage medium of emoticon
CN108446290A (en) * 2017-02-16 2018-08-24 谷歌有限责任公司 Streaming actual conversation management
US10069971B1 (en) * 2014-12-16 2018-09-04 Amazon Technologies, Inc. Automated conversation feedback

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8868407B2 (en) * 2011-07-06 2014-10-21 Honda Motor Co., Ltd. Language processor
CN104935497B (en) * 2014-03-20 2020-08-14 腾讯科技(深圳)有限公司 Communication session method and device
US20160042648A1 (en) * 2014-08-07 2016-02-11 Ravikanth V. Kothuri Emotion feedback based training and personalization system for aiding user performance in interactive presentations
CN106648137A (en) * 2016-11-17 2017-05-10 宇龙计算机通信科技(深圳)有限公司 Emotion icon management and edition method and device and terminal

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040122673A1 (en) * 2002-12-11 2004-06-24 Samsung Electronics Co., Ltd Method of and apparatus for managing dialog between user and agent
US7912720B1 (en) * 2005-07-20 2011-03-22 At&T Intellectual Property Ii, L.P. System and method for building emotional machines
CN101494618A (en) * 2008-11-28 2009-07-29 腾讯科技(深圳)有限公司 Display system and method for instant communication terminal window
US10069971B1 (en) * 2014-12-16 2018-09-04 Amazon Technologies, Inc. Automated conversation feedback
CN105897551A (en) * 2015-02-13 2016-08-24 国际商业机器公司 Point In Time Expression Of Emotion Data Gathered From A Chat Session
CN106873844A (en) * 2015-12-11 2017-06-20 阿里巴巴集团控股有限公司 Picture inspection method and device
CN107092904A (en) * 2016-05-16 2017-08-25 阿里巴巴集团控股有限公司 A kind of method and device for obtaining resource
CN106020622A (en) * 2016-07-12 2016-10-12 百度在线网络技术(北京)有限公司 Method and device for collecting emoticons
US20180174020A1 (en) * 2016-12-21 2018-06-21 Microsoft Technology Licensing, Llc Systems and methods for an emotionally intelligent chat bot
CN107135247A (en) * 2017-02-16 2017-09-05 江苏南大电子信息技术股份有限公司 A kind of service system and method for the intelligent coordinated work of person to person's work
CN108446290A (en) * 2017-02-16 2018-08-24 谷歌有限责任公司 Streaming actual conversation management
CN107038214A (en) * 2017-03-06 2017-08-11 北京小米移动软件有限公司 Expression information processing method and processing device
CN107634901A (en) * 2017-09-19 2018-01-26 广东小天才科技有限公司 Session expression pushing method and device and terminal equipment
CN107817799A (en) * 2017-11-03 2018-03-20 北京光年无限科技有限公司 The method and system of intelligent interaction are carried out with reference to virtual maze
CN107895027A (en) * 2017-11-17 2018-04-10 合肥工业大学 Individual feelings and emotions knowledge mapping method for building up and device
CN108255316A (en) * 2018-01-23 2018-07-06 广东欧珀移动通信有限公司 Dynamic adjusts method, electronic device and the computer readable storage medium of emoticon

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
R RIMBU: "Levels of clients" self-disclosure in the counseling session : focusing on emotion", 《百度学术》 *
曹瑞: "基于时序分析的移动用户情感预测研究与应用", 《CNKI中国知网》 *
闫纪铮: "面向表情机器人交互式情感模型与控制方法研究", 《百度学术》 *

Also Published As

Publication number Publication date
CN109842546B (en) 2021-09-28
CN109842546A (en) 2019-06-04
CN113965541B (en) 2023-06-02

Similar Documents

Publication Publication Date Title
US10210002B2 (en) Method and apparatus of processing expression information in instant communication
US11504636B2 (en) Games in chat
CN108293079A (en) For the striding equipment buddy application of phone
CN114244816B (en) Synchronous communication method, terminal and readable storage medium
US11673063B2 (en) In-game status bar
CN108573306B (en) Method for outputting reply information, and training method and device for deep learning model
WO2017157174A1 (en) Information processing method, device, and terminal device
CN112838976B (en) Message processing method and device
CN109002338A (en) Page rendering, page finishing information processing method and device
CN107592255B (en) Information display method and equipment
US11103795B1 (en) Game drawer
CN112631435A (en) Input method, device, equipment and storage medium
CN109842546B (en) Conversation expression processing method and device
CN112445906A (en) Method and device for generating reply message
CN111835617B (en) User head portrait adjusting method and device and electronic equipment
CN110895558B (en) Dialogue reply method and related device
CN109992179B (en) Session record searching method and device
CN110633361B (en) Input control method and device and intelligent session server
CN114449297A (en) Multimedia information processing method, computing equipment and storage medium
CN114430506B (en) Virtual action processing method and device, storage medium and electronic equipment
KR20130062455A (en) System for managing personal relationship using application and method thereof
CN111506674B (en) Matching method and device
CN110708233B (en) Message positioning method and device based on components
CN109753205A (en) A kind of display methods and device
CN106412306A (en) Mobile terminal social reminding method and device and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant