Method, apparatus and device for content interaction and storage medium

CN123146941APending Publication Date: 2026-11-20BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202480088629.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-06
Publication Date
2026-11-20

AI Technical Summary

Technical Problem

In existing technologies, how can we efficiently respond to user input in the interactive interface with virtual objects, thereby improving the efficiency of information transmission and the personalization and richness of the interaction?

Method used

By acquiring user input and matching it with contextual information and facial expression interaction scenarios, emojis or images are provided in the interactive interface. The visual elements of the emojis and images are determined based on objects related to the input content, and machine learning models are used to generate emojis or images that match the user input content.

Benefits of technology

It improves the efficiency of information transmission, enhances the personalization and richness of interaction, and improves the user experience through direct visual and emotional expression.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123146941A_ABST
    Figure CN123146941A_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure relate to a method, device, equipment and storage medium for content interaction. The method provided herein includes: obtaining input content of a user in an interaction interface with a virtual object; and in response to context information associated with the input content matching an expression interaction scenario, providing at least one expression package in the interaction interface; wherein semantic information expressed by the at least one expression package is used to feedback the input content, the at least one expression package is associated with a visual element, and the visual element is determined based on at least an object related to the input content. Embodiments of the present disclosure can provide an expression package associated with user input content in an interaction interface with a virtual object, which can improve the efficiency of information transmission and enhance the personalization and richness of interaction through direct expression of vision and emotion.
Need to check novelty before this filing date? Find Prior Art

Description

Methods, apparatus, devices and storage media for content interaction Technical Field

[0001] The exemplary embodiments disclosed herein generally relate to the field of computers, and more particularly to methods, apparatuses, devices, and computer-readable storage media for content interaction. Background Technology

[0002] With the rapid development of smart technology, various forms of electronic devices are greatly enriching people's daily lives. For example, users can interact with content on some electronic devices, such as engaging in dialogue with virtual objects. How to conduct content interaction is a key issue of concern. Summary of the Invention

[0003] In a first aspect of this disclosure, a method for content interaction is provided. The method includes: acquiring user input content in an interactive interface with a virtual object; and providing at least one emoticon in the interactive interface in response to contextual information associated with the input content and matching it with an emoji interaction scenario; wherein the semantic information expressed by the at least one emoticon is used to provide feedback on the input content, and the at least one emoticon is associated with a visual element, the visual element being determined at least based on an object related to the input content.

[0004] In a second aspect of this disclosure, an apparatus for content interaction is provided. The apparatus includes: a first acquisition module configured to acquire user input content in an interactive interface with a virtual object; and a providing module configured to provide at least one emoticon in the interactive interface in response to contextual information associated with the input content and a matching facial expression interaction scenario; wherein the semantic information expressed by the at least one emoticon is used to provide feedback on the input content, and the at least one emoticon is associated with a visual element, the visual element being determined at least based on an object related to the input content.

[0005] In a third aspect of this disclosure, an electronic device is provided. The device includes at least one processing unit; and at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit. When executed by the at least one processing unit, the instructions cause the device to perform the method of the first aspect.

[0006] In a fourth aspect of this disclosure, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program that can be executed by a processor to implement the method of the first aspect.

[0007] It should be understood that the content described in this content section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description

[0008] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein:

[0009] Figure 1 shows a schematic diagram of an example environment in which embodiments of the present disclosure can be implemented;

[0010] Figure 2 illustrates a flowchart of a content interaction process according to some embodiments of the present disclosure;

[0011] Figure 3A shows a schematic diagram of an example interface according to some embodiments of the present disclosure;

[0012] Figure 3B illustrates a flowchart of the acquisition of training data according to some embodiments of the present disclosure;

[0013] Figure 4 illustrates a schematic flowchart of content interaction provided according to some embodiments of the present disclosure;

[0014] Figure 5 shows a schematic structural block diagram of a device for content interaction according to certain embodiments of the present disclosure; and

[0015] Figure 6 shows a block diagram of an electronic device capable of implementing several embodiments of the present disclosure. Detailed Implementation

[0016] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.

[0017] It should be noted that the headings of any section / subsection provided herein are not limiting. Various embodiments are described throughout this document, and embodiments of any type may be included under any section / subsection. Furthermore, embodiments described in any section / subsection may be combined in any way with any other embodiments described in the same section / subsection and / or different sections / subsections.

[0018] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below. The terms "first", "second", etc., may refer to different or the same objects. Other explicit and implicit definitions may also be included below.

[0019] The embodiments of this disclosure may involve user data, data acquisition, and / or use. All of these aspects comply with applicable laws, regulations, and relevant provisions. In the embodiments of this disclosure, all data collection, acquisition, processing, manipulation, forwarding, and use are conducted with the user's knowledge and confirmation. Accordingly, in implementing the embodiments of this disclosure, the type, scope of use, and usage scenarios of any data or information that may be involved should be communicated to the user and their authorization obtained in accordance with relevant laws and regulations through appropriate means. The specific methods of notification and / or authorization may vary depending on the actual situation and application scenario, and the scope of this disclosure is not limited in this respect.

[0020] In this specification and the embodiments, any processing of personal information will be carried out only under the premise of legality (such as obtaining the consent of the personal information subject, or being necessary for the performance of a contract), and will only be carried out within the scope stipulated or agreed upon. A user's refusal to process personal information other than that necessary for basic functions will not affect the user's use of basic functions.

[0021] Embodiments of this disclosure propose a content interaction scheme. According to various embodiments of this disclosure, in an interaction interface with a virtual object, user input content is obtained; and in response to contextual information associated with the input content and matching with an emoji interaction scenario, at least one emoji is provided in the interaction interface; wherein the semantic information expressed by at least one emoji is used to provide feedback on the input content, and at least one emoji is associated with a visual element, the visual element being determined at least based on an object related to the input content.

[0022] Therefore, the embodiments of this disclosure can provide emoticons associated with user input in the interactive interface of virtual objects. These emoticons can improve the efficiency of information transmission and enhance the personalization and richness of the interaction through direct visual and emotional expression.

[0023] Example Environment

[0024] Figure 1 illustrates a schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented. As shown in Figure 1, the example environment 100 may include an electronic device 110.

[0025] In this example environment 100, electronic device 110 can run an application 120 that supports user interface interaction. Application 120 can be any suitable type of application for user interface interaction, examples of which may include, but are not limited to, social applications, conversational applications, or other suitable applications. User 140 can interact with content on application 120 via electronic device 110 and / or its attached devices.

[0026] In environment 100 of Figure 1, if application 120 is active, electronic device 110 can use application 120 to present interface 150 for supporting interface interaction.

[0027] In some embodiments, electronic device 110 communicates with server 130 (target device) to provide services to application 120. Terminal device 110 can be any type of mobile terminal, fixed terminal, or portable terminal, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, handheld computers, portable gaming terminals, VR / AR devices, personal communication system (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio receivers, e-book devices, gaming devices, or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some embodiments, electronic device 110 can also support any type of user-facing interface (such as "wearable" circuitry).

[0028] Server 130 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks, and big data and artificial intelligence platforms. Server 130 may include, for example, computing systems / servers such as mainframes, edge computing nodes, computing devices in cloud environments, etc.

[0029] A communication connection can be established between server 130 and electronic device 110. This communication connection can be established via wired or wireless means. The communication connection may include, but is not limited to, Bluetooth, mobile network, Universal Serial Bus (USB), and Wireless Fidelity (WiFi) connections; the embodiments of this disclosure are not limited in this respect. In the embodiments of this disclosure, server 130 and electronic device 110 can achieve signaling interaction through the communication connection between them.

[0030] It should be understood that the structure and function of the various elements in environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of this disclosure.

[0031] The following description will continue with reference to the accompanying drawings, which will provide some exemplary embodiments of this disclosure.

[0032] Example process

[0033] Figure 2 shows a flowchart of an example process 200 for content interaction according to some embodiments of the present disclosure. Process 200 can be implemented at electronic device 110. Process 200 will now be described with reference to Figure 1.

[0034] In box 210, electronic device 110 obtains user input in the interaction interface with the virtual object.

[0035] Figure 3A illustrates an example interface 300A according to some embodiments of the present disclosure. Interface 300A can be, for example, an interactive interface with virtual objects provided by the electronic device 110 shown in Figure 1. This interface 300A can support an interactive interface (e.g., a conversational interface) where a user interacts with a model-based processing entity. As an example, the model-based processing entity can be implemented as a virtual object that supports interaction via prompts, etc.

[0036] In some scenarios, virtual objects may also be referred to as virtual entities (or digital assistants, etc.), and examples may include, but are not limited to, agents, bots, or other objects that support interaction through dialogue (e.g., text or voice dialogue). Such virtual objects can be implemented using appropriate machine learning models to interact accordingly based on received prompts. This disclosure is not intended to limit the specific construction of virtual objects. It should be understood that, on the one hand, virtual objects can have a virtual avatar for interaction. On the other hand, virtual objects can also utilize appropriate models to drive their interactive behavior, such models can include any appropriate machine learning model, for example, a generative model. In this disclosure, the various interactive processes and / or generative operations performed by virtual objects can be actually performed using appropriate models corresponding to the virtual object.

[0037] In some embodiments, the electronic device 110 may present identification information associated with the model-based processing entity in the interactive interface 300A. For example, the identification information may include image information (e.g., an avatar) and / or text information (e.g., the name "XX Dialogue Model") associated with the model-based processing entity. Alternatively, the electronic device 110 may also present descriptive information associated with the model-based processing entity in the interactive interface 300A. The descriptive information may, for example, describe the processing entity's conversational capabilities (e.g., areas of expertise in conversation) and / or interactive abilities.

[0038] In some embodiments, the dialogue capabilities corresponding to this processing entity can be determined based on predetermined configuration information. This predetermined configuration information may include, but is not limited to, dialogue flow, entity attributes, response templates, dialogue strategies, etc., which define how the processing entity handles user-related dialogues.

[0039] It is understandable that the processing capability of a model-based entity is provided by the model. For ease of description, the following text will directly describe the processing of input content based on the model.

[0040] As an example, electronic device 110 can acquire input content from a user based on an interactive interface 300A. This input content can be any appropriate type of content, including but not limited to text, images, videos, emoticons, etc. Taking Figure 3A as an example, the input content can be information 302.

[0041] In box 220, electronic device 110 provides at least one emoji in the interactive interface in response to contextual information associated with the input content and matching the emoji interaction scenario.

[0042] In some embodiments, context information can be a portion of the interaction content involved in the interaction between the user and the virtual object, which can be associated with the input content. Context information may include user input information and / or virtual object output information, etc. Taking Figure 3A as an example, the context information can be information 301 and information 302.

[0043] In some embodiments, this contextual information can be information from the same dialogue scenario as the input content within the interactive content. For example, both the input content and its corresponding contextual information might be related to character B in movie A. In other embodiments, this contextual information can also be a predetermined number of dialogue messages preceding the input content, such as the five dialogue messages preceding the input content.

[0044] In some embodiments, the electronic device 110 may determine whether the context information associated with the input content matches the facial expression interaction scenario based on the context associated with the input content.

[0045] As an example, electronic device 110 can provide this contextual information to the first model to determine whether the contextual information matches the facial expression interaction scenario. That is, electronic device 110 can input this contextual information into the first model to obtain the output of the first model regarding whether the contextual information matches the facial expression interaction scenario. Matching the contextual information with the facial expression interaction scenario indicates that the virtual object can provide the user with emoji-type messages as a response to the input content. The first model can be any appropriate type of machine learning model, which will not be elaborated upon here.

[0046] In order to obtain a high-precision first model, the electronic device 110 can train the first model to be trained based on the training data to obtain the trained first model.

[0047] In some embodiments, the first model may be trained based on training data associated with a reference dialogue. The reference dialogue may be a historical dialogue between at least two users, and may include multiple messages, including at least one dialogue message from a first user and at least one dialogue message from a second user. The training data indicates the message types of the multiple messages in the reference dialogue. Message types may include, but are not limited to, at least one of the following: text messages, emoji messages, and image messages.

[0048] In order to enable the model to be trained to fully understand the intent information of at least one dialogue message from the first user, the electronic device 110 converts the information of other message types besides text in these multiple messages into a second text description, that is, to indicate the information carried in the other message types besides text in the form of text.

[0049] In some embodiments, the electronic device 110 may generate a second text description corresponding to an emoji message or image message in response to multiple messages, including emoji messages or image messages. The second text description indicates at least one of the following: the image content of the emoji or image message, the semantic information expressed by the emoji or image message, and the interactive scenario corresponding to the emoji or image message. The image content of the emoji or image message may indicate what specific object is included in the emoji or image, and what action that object is performing, etc. The semantic information expressed by the emoji or image message may characterize the thought or emotion expressed by the emoji or image. The interactive scenario corresponding to the emoji or image message may characterize the context in which the emoji is appropriate to be sent in the image message, etc.

[0050] For example, if a reference dialogue includes two messages, the first message is a text message "I'm so tired from work today" and the second message is an emoji "The child is sleeping on the sofa", then the second text description generated by the electronic device 110 regarding the second message could be "This message is an emoji. This emoji shows a child sleeping on the sofa, and the child looks very tired. This emoji is suitable for sending when it is necessary to indicate that the user is tired or wants to sleep", etc.

[0051] As an example, electronic device 110 can utilize a predetermined model to generate a second text description corresponding to the emoji or image messages in these multiple messages. The predetermined model can be any suitable machine learning model, such as a generative model, a visual understanding model, etc.

[0052] Furthermore, the electronic device 110 can construct training data based on this second text description. At this time, the training data only includes text-type data. Specifically, the text-type information in these multiple pieces of information is still the text-type information itself, while the information for image or emoticon types is replaced with the second text description about the image or emoticon.

[0053] Taking process 300B as shown in Figure 3B as an example, if the reference dialogue includes text 1, image 2, and emoticon 3, the electronic device can use the visual understanding model 350 to obtain the text description corresponding to image 2 and the text description corresponding to emoticon 3 (text 1 remains unchanged) based on text 1, image 2, and emoticon 3. Furthermore, the electronic device can use the text descriptions corresponding to text 1, image 2, and emoticon 3 as training data to train the first model 351.

[0054] The training process of the first model will be further explained below:

[0055] Electronic device 110 can input training data into a first model to be trained and obtain the target result corresponding to the predicted response information of the dialogue information of the first user, as output by the first model. This target result indicates whether the predicted response information includes an emoji. Electronic device 110 can train this first model based on the target result and whether the dialogue information of the second user in the training data includes an emoji. When a predetermined training completion condition is met, electronic device 110 can determine that the first model to be trained is complete. This predetermined training completion condition may be that the training time reaches a time threshold, the number of training iterations reaches a number threshold, or the target loss value reaches a minimum, etc. The target loss value can be determined based on the difference between the target result and whether the dialogue information of the second user in the training data includes an emoji, which will not be elaborated here.

[0056] In other embodiments, the electronic device 110 may also provide contextual information to the first model to determine whether the contextual information matches the image interaction scenario. To improve efficiency, the electronic device 110 may provide contextual information to the first model to obtain result information on whether the contextual information output by the first model matches the emoji interaction scenario or the image interaction scenario.

[0057] In some embodiments, the electronic device 110 may respond to contextual information associated with the input content and match it with an emoji interaction scenario, providing at least one emoji in the interactive interface. The semantic information expressed by this at least one emoji is used to provide feedback on the input content.

[0058] In other embodiments, the electronic device 110 may provide at least one image in the interactive interface in response to contextual information associated with the input content and matching it with an image interaction scene. The semantic information expressed by this at least one image is used to provide feedback on the input content.

[0059] In some embodiments, the at least one emoji and / or the at least one image is associated with a visual element, which is determined at least based on an object related to the input content.

[0060] The following explains how to determine that at least one emoji:

[0061] In some embodiments, the electronic device 110 can determine visual elements based on objects associated with the input content. As an example, the electronic device 110 can determine a first visual element corresponding to a first object associated with the input content as the visual element. For instance, if the input content is "There are so many people going to scenic spot A today," then the electronic device 110 can determine the first visual element corresponding to scenic spot A as the visual element corresponding to at least one emoji. As another example, the electronic device 110 can determine a second visual element corresponding to a second object associated with the first object as the visual element. For instance, if the input content is "There are so many people going to scenic spot A today," then the electronic device 110 can determine the second visual element corresponding to scenic spot B, which is closest to scenic spot A, as the visual element corresponding to at least one emoji. As yet another example, the electronic device 110 can determine a third visual element corresponding to a third object, where the third object is an object associated with the context information. For instance, if the input content is "There are so many people going to scenic spot A today," and the context information associated with this input content includes "Scenic spots A and C are the best places to go now," then the electronic device 110 can determine the visual element corresponding to at least one emoji based on the third visual element corresponding to scenic spot C.

[0062] Furthermore, the electronic device 110 can determine a first text description based on contextual information. This first text description is used to indicate the semantic information expressed by the emoticon, etc. For example, the first text description could be "happy".

[0063] Furthermore, the electronic device 110 can generate at least one emoticon based on this visual element and the first text description. Specifically, the electronic device 110 can utilize a target model to generate this at least one emoticon based on this visual element and the first text description. The target model can be any suitable machine learning model, such as a text-based emoticon model. For example, if the visual element is a cat-related visual element and the first text description is "happy," then the generated at least one emoticon could be an emoticon indicating that the cat is happily playing, an emoticon indicating that the cat is happily eating, and so on.

[0064] In other embodiments, the electronic device 110 may utilize a second model to determine the topic to be fed back based on contextual information. The topic can be information of any dimension indicative of the emoji, such as emotional themes, event themes, topic themes, etc., used to guide the selection of the emoji. As an example, the topic to be fed back could be "The puppy is happy."

[0065] Furthermore, the electronic device 110 can determine at least one emoji from the emoji library based on topic and context information. Specifically, the electronic device 110 can determine the degree of matching between multiple candidate emojis in the emoji library and the input content based on topic and context information. Further, the electronic device 110 can determine at least one emoji from the emoji library based on the degree of matching. As an example, the electronic device 110 can determine the emoji with the highest degree of matching in the emoji library as this at least one emoji.

[0066] The following explains the generation process of the emojis in this emoji library:

[0067] In some embodiments, the electronic device 110 can filter emojis matching the descriptive text associated with a virtual object from an emoji database and add them to the emoji library. The descriptive text can be the name, character design, etc., of the virtual object. As an example, the electronic device 110 can utilize a predefined target model to generate emojis matching the descriptive text. The predefined target model can be any suitable machine learning model, such as a text-to-image model.

[0068] In other embodiments, the electronic device 110 can determine objects related to the input content. As an example, the electronic device 110 can determine the association between the input content and a set of preset objects, and then, based on this association, determine objects related to the input content from the set of preset objects. As another example, the electronic device 110 can filter from a set of preset objects to select the objects with the strongest association as objects related to the input content.

[0069] Furthermore, the electronic device 110 can acquire at least one emoticon, which includes visual elements associated with the object. These associated visual elements can be visual elements of the object itself, or visual elements that have a predetermined relationship with the object (such as visual elements of other objects associated with the object). For example, if the input content includes character B from movie A, the electronic device 110 can acquire the emoticon corresponding to character B. As another example, if the input content includes character B from movie A, the electronic device 110 can acquire the emoticon corresponding to character C, who is a friend of character B.

[0070] As an example, electronic device 110 can determine at least one emoji containing visual elements from an emoji library. For instance, electronic device 110 can randomly select an emoji from the emoji library that includes visual elements of character A.

[0071] As another example, electronic device 110 can generate at least one emoticon containing visual elements based on an object. As an example, electronic device 110 can generate at least one emoticon including visual elements of an object based on a predetermined generation model.

[0072] In some embodiments, the at least one emoticon provided in the interactive interface may be associated with a first visual element, which is determined based on an object related to the input content.

[0073] In other embodiments, this at least one emoticon may also be associated with a second visual element, which is generated based on the configuration information of the virtual object. In some embodiments, the configuration information of the virtual object includes, but is not limited to, at least one of the following: description information of the virtual object, system prompts for the virtual object, and image identifiers for the virtual object. The description information of the virtual object may include the name of the virtual object, a functional description, an appearance description, an ability description, etc. The system prompts for the virtual object may include a setting and personality (SP), etc. The image identifiers for the virtual object may include the avatar corresponding to the virtual object, etc. For example, if the setting of the virtual object is "witty," then the second visual element is a visual element that matches "witty."

[0074] The process of determining this at least one image is explained below:

[0075] In some embodiments, the electronic device 110 can utilize a second model to determine the image topic to be fed back based on contextual information. The image topic can be information indicating any dimension of the emoji, such as emotional themes, event themes, topic themes, etc., used to guide image selection. As an example, the topic to be fed back could be "the puppy is happy."

[0076] Furthermore, the electronic device 110 can determine at least one image from the image library based on image topic and contextual information. Specifically, the electronic device 110 can determine the degree of matching between multiple candidate images in the image library and the input content based on image topic and contextual information. Further, the electronic device 110 can determine at least one image from the image library based on the degree of matching. As an example, the electronic device 110 can determine the image with the highest degree of matching in the image library as this at least one image.

[0077] In other embodiments, the electronic device 110 can determine objects related to the input content. As an example, the electronic device 110 can determine the association between the input content and a set of preset objects, and then, based on this association, determine objects related to the input content from the set of preset objects. As another example, the electronic device 110 can filter from a set of preset objects to select the objects with the strongest association as objects related to the input content.

[0078] Furthermore, the electronic device 110 can acquire at least one image, which includes visual elements associated with the object. These associated visual elements can be visual elements of the object itself, or visual elements that have a predetermined relationship with the object (such as visual elements of other objects associated with the object). For example, if the input content includes character B from movie A, the electronic device 110 can acquire the image corresponding to character B. As another example, if the input content includes character B from movie A, the electronic device 110 can acquire the image corresponding to character C, who is a friend of character B.

[0079] As an example, electronic device 110 can identify at least one emoticon containing visual elements from an image library. For instance, electronic device 110 can randomly select an image from the image library that includes visual elements of character A.

[0080] As another example, electronic device 110 can generate at least one image containing visual elements based on an object. As another example, electronic device 110 can generate at least one image including visual elements of an object based on a predetermined generative model.

[0081] In some embodiments, the at least one image provided in the interactive interface may be associated with a third visual element, which is determined based on an object related to the input content.

[0082] In other embodiments, this at least one image may also be associated with a fourth visual element, which may also be generated based on the configuration information of the virtual object.

[0083] In some embodiments, the at least one image may also correspond to different image types. In some embodiments, the image type may indicate whether the sent image includes an object of a predetermined type. The predetermined type of object can be any suitable object, such as a person, animal, building, etc. As an example, the image type may indicate whether the sent image includes a person, which can be a real person or a virtual character.

[0084] Specifically, in determining the at least one image, the electronic device 110 can determine the image type to be sent based on context information. Further, the electronic device 110 can acquire at least one image that matches the image type. As an example, in response to determining that the image type to be sent indicates that the image includes character A, the electronic device 110 can acquire at least one image including character A. As an example, in response to determining that the image type to be sent indicates that the image does not include people, the electronic device 110 can acquire at least one image that does not include people, such as a landscape image, a scene image, etc.

[0085] The following describes the generation process of at least one image (the generation process for other images in the image library is similar):

[0086] In some embodiments, the electronic device 110 can generate at least one image based on descriptive text associated with a virtual object. The descriptive text can be the name, character designation, etc., of the virtual object. As an example, the electronic device 110 can utilize a first predetermined model to generate an image matching the descriptive text. The first predetermined model can be any suitable machine learning model, such as a text-to-image model.

[0087] In other embodiments, the electronic device 110 may generate at least one image based on a reference image associated with the virtual object. The reference image may be any suitable image including visual elements corresponding to the virtual object, such as an image of the virtual object's head. As an example, the electronic device 110 may utilize a second predetermined model to generate an image matching the reference image. The second predetermined model may be any suitable machine learning model, such as a graph-based model.

[0088] It should be noted that if the electronic device 110 determines that the number of at least one emoticon and / or at least one image presented in the interactive interface is multiple, the electronic device 110 can present these multiple emoticons and / or images in a predetermined presentation order. This presentation order of at least one emoticon and at least one image can be determined based on contextual information. Taking Figure 3A as an example, information 302 is the user's input content, and message 301 is the contextual information corresponding to information 302. The electronic device can determine to present image 303 and information 304 to the user based on information 301 and information 302. As an example, information 301, information 302, image 303, and information 304 can be presented in the interface 300A in the form of a dialogue. For example, as shown in Figure 3A, the interface 300A can present an avatar 310 corresponding to a virtual object and an avatar 311 corresponding to the user. The electronic device can display the user's dialogue content (including information 301 and information 302) in a predetermined form at a first predetermined position of the avatar 311. The electronic device can display the dialogue content (including image 303 and information 304) of the virtual object at a second predetermined position corresponding to the avatar 310 in a predetermined form. The first predetermined position can be in front of the avatar, the second predetermined position can be behind the avatar, and the predetermined form can be a message bubble, etc. Specifically, the electronic device 110 can first present image 303 and information 304, with image 303 presented before information 304. The presentation order of image 303, information 304, and their corresponding order is determined based on information 301 and information 302. Furthermore, image 303 and information 304 are related to the visual elements corresponding to the virtual object (cat), including not only the visual elements of the object determined based on information 304 but also the visual elements corresponding to the virtual object.

[0089] Figure 4 shows a schematic flowchart of content interaction provided according to some embodiments of the present disclosure, and will now be described with reference to Figure 4.

[0090] In box 401, electronic device 110 obtains context information about the dialogue between the user and the virtual object.

[0091] In box 402, electronic device 110 determines, based on contextual information, whether it is appropriate to send an emoji or image.

[0092] In other words, the electronic device 110 can determine whether the context information matches the facial expression interaction scenario and whether the context information matches the image interaction scenario based on the context information.

[0093] In some embodiments, electronic device 110 may perform the operation of box 403 in response to determining that it is suitable to send an emoji. Electronic device 110 may perform the operation of box 404 in response to determining that it is suitable to send an image. Electronic device 110 may perform the operation of box 405 in response to determining that it is not suitable to send images and emojis.

[0094] In box 403, electronic device 110 recalls relevant emojis from the emoji library based on the dialogue context, and sorts the recalled emojis based on dialogue satisfaction, surprise, and user willingness to respond, and finally returns the emoji with the highest ranking score.

[0095] In box 404, electronic device 110 determines which type of image is better to send based on context information.

[0096] In some embodiments, electronic device 110 may perform the operation of block 406 in response to determining that a person image has been sent. Electronic device 110 may perform the operation of block 407 in response to determining that a non-person image has been sent.

[0097] In box 405, electronic device 110 normally returns a text reply of the virtual object, without sending emoticons or images.

[0098] In box 406, electronic device 110 retrieves relevant images from the image library corresponding to the portrait photo based on the dialogue context, sorts the retrieved portrait photos based on dialogue satisfaction, surprise, and user willingness to respond, and finally returns the portrait photo with the highest ranking score.

[0099] In box 407, electronic device 110 recalls relevant images from the image library corresponding to non-person photos based on the dialogue context, and sorts the recalled non-person photos with dialogue satisfaction, surprise and user willingness to respond as targets, and finally returns the non-person photo with the highest ranking score.

[0100] In box 408, electronic device 110 reorganizes the reply content and order based on the returned images and emoticons and replies to the user one by one.

[0101] Therefore, the embodiments of this disclosure can provide emoticons associated with user input in the interactive interface of virtual objects. These emoticons can improve the efficiency of information transmission and enhance the personalization and richness of the interaction through direct visual and emotional expression.

[0102] Example devices and equipment

[0103] Embodiments of this disclosure also provide corresponding apparatus for implementing the methods or processes described above. Figure 5 shows a schematic structural block diagram of an example apparatus 500 for content interaction according to certain embodiments of this disclosure. Apparatus 500 may be implemented as or included in electronic device 110. The various modules / components in apparatus 500 may be implemented by hardware, software, firmware, or any combination thereof.

[0104] As shown in Figure 5, the device 500 includes a first acquisition module 510, configured to acquire user input content in an interactive interface with a virtual object; and a providing module 520, configured to provide at least one emoticon in the interactive interface in response to contextual information associated with the input content and matching of facial expression interaction scenarios; wherein the semantic information expressed by at least one emoticon is used to provide feedback on the input content, and at least one emoticon is associated with a visual element, the visual element being determined at least based on an object related to the input content.

[0105] In some embodiments, at least one emoji is generated based on the following process: determining visual elements based on objects related to input content; determining a first text description based on contextual information; and generating at least one emoji based on the visual elements and the first text description.

[0106] In some embodiments, determining a visual element based on an object associated with the input content includes: determining a first visual element corresponding to a first object associated with the input content as a visual element, or determining a second visual element corresponding to a second object associated with the first object as a visual element, or determining a third visual element corresponding to a third object as a visual element, wherein the third object is an object associated with context information.

[0107] In some embodiments, determining the first text description based on context information includes: determining the target text description based on the target semantic information corresponding to the context information.

[0108] In some embodiments, the apparatus 500 further includes a determining module configured to: provide context information to a first model and determine whether the context information matches an expression interaction scenario, wherein the first model is trained based on training data associated with a reference dialogue, the training data indicating the message types of multiple messages in the reference dialogue.

[0109] In some embodiments, the message type includes at least one of the following: text message, emoji message, and image message.

[0110] In some embodiments, the training data is constructed based on the following data: in response to multiple messages, including emoji messages or image messages, generating a second text description corresponding to the emoji message or image message; and constructing the training data based on the second text description.

[0111] In some embodiments, the second text description indicates at least one of the following: the visual content of the emoji or image message; the semantic information expressed by the emoji or image message; and the interactive scenario corresponding to the emoji or image message.

[0112] In some embodiments, at least one emoji is determined based on the following process: using a second model based on contextual information, the topic to be fed back can be determined; and based on the topic and contextual information, at least one emoji is determined from an emoji library.

[0113] In some embodiments, determining at least one emoji from an emoji library based on topic and context information includes: determining the degree of matching between multiple candidate emojis in the emoji library and the input content based on topic and context information; and determining at least one emoji from the emoji library based on the degree of matching.

[0114] In some embodiments, at least one emoji is determined based on the process of: identifying an object associated with the input content; and obtaining at least one emoji, wherein the at least one emoji includes visual elements associated with the object.

[0115] In some embodiments, obtaining at least one emoji pack includes: determining at least one emoji pack containing visual elements from an emoji pack library; or generating at least one emoji pack containing visual elements based on an object.

[0116] In some embodiments, determining objects related to input content includes: determining the association between input content and a set of preset objects; and, based on the association, determining objects related to the input content from the set of preset objects.

[0117] In some embodiments, the visual element is a first visual element, and at least one expression includes a second visual element that is also associated with the virtual object, the second visual element being generated based on configuration information of the virtual object.

[0118] In some embodiments, the configuration information of a virtual object includes at least one of the following: description information of the virtual object, system prompts for the virtual object, and image identifier of the virtual object.

[0119] In some embodiments, the device 500 further includes a second providing module configured to: provide at least one image in an interactive interface in response to context information matching an image interaction scene, wherein the semantic information expressed by the at least one image is used to provide feedback on input content.

[0120] In some embodiments, at least one image is determined based on the following process: determining the image type to be sent based on context information; and acquiring at least one image that matches the image type.

[0121] In some embodiments, the image type indicates whether the sent image includes objects of a predetermined type.

[0122] In some embodiments, at least one image is generated based on the following process: generating at least one image based on descriptive text associated with a virtual object; or generating at least one image based on a reference image associated with a virtual object.

[0123] In some embodiments, the presentation order of at least one emoji and at least one image is determined based on contextual information.

[0124] The units included in device 500 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units may be implemented using software and / or firmware, such as machine-executable instructions stored on a storage medium. In addition to or as an alternative to machine-executable instructions, some or all of the units in device 500 may be implemented at least partially by one or more hardware logic components. By way of example and not limitation, exemplary types of hardware logic components that may be used include field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-chips (SoCs), complex programmable logic devices (CPLDs), and so on.

[0125] Figure 6 shows a block diagram of an electronic device 600 in which one or more embodiments of the present disclosure may be implemented. It should be understood that the electronic device 600 shown in Figure 6 is merely exemplary and should not constitute any limitation on the functionality and scope of the embodiments described herein. The electronic device 600 shown in Figure 6 can be used to implement the electronic device 110 of Figure 1.

[0126] As shown in Figure 6, the electronic device 600 is in the form of a general-purpose electronic device. Components of the electronic device 600 may include, but are not limited to, one or more processors or processing units 610, memory 620, storage device 630, one or more communication units 640, one or more input devices 650, and one or more output devices 660. The processing unit 610 may be a physical or virtual processor and is capable of performing various processes according to programs stored in memory 620. In a multiprocessor system, multiple processing units execute computer-executable instructions in parallel to improve the parallel processing capability of the electronic device 600.

[0127] Electronic device 600 typically includes multiple computer storage media. Such media can be any accessible media that is accessible to electronic device 600, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 620 can be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory), or some combination thereof. Storage device 630 can be removable or non-removable media and can include machine-readable media, such as flash drives, disks, or any other media that can be used to store information and / or data and can be accessed within electronic device 600.

[0128] Electronic device 600 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not shown in FIG. 6, disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks may be provided. In these cases, each drive may be connected to a bus (not shown) via one or more data media interfaces. Memory 620 may include computer program product 625 having one or more program modules configured to perform various methods or actions of various embodiments of the present disclosure.

[0129] The communication unit 640 enables communication with other electronic devices via a communication medium. Additionally, the functionality of the components of the electronic device 600 can be implemented using a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, the electronic device 600 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.

[0130] Input device 650 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 660 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device 600 can also communicate with one or more external devices (not shown) via communication unit 640 as needed. These external devices include storage devices, display devices, etc., and can communicate with one or more devices that enable user interaction with electronic device 600, or with any device that enables electronic device 600 to communicate with one or more other electronic devices (e.g., network card, modem, etc.). Such communication can be performed via input / output (I / O) interface (not shown).

[0131] According to an exemplary implementation of this disclosure, a computer-readable storage medium is provided that stores computer-executable instructions thereon, wherein the computer-executable instructions are executed by a processor to implement the methods described above. According to an exemplary implementation of this disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, which are executed by a processor to implement the methods described above.

[0132] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.

[0133] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.

[0134] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.

[0135] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.

[0136] Various implementations of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the various implementations disclosed herein.

Claims

1. A method for content interaction, comprising: In the interactive interface with virtual objects, obtain the user's input; as well as In response to the matching of contextual information associated with the input content and the facial expression interaction scenario, at least one emoji is provided in the interactive interface; The semantic information expressed by the at least one emoji is used to provide feedback on the input content. The at least one emoji is associated with a visual element, which is determined at least based on an object related to the input content.

2. The method according to claim 1, wherein the at least one emoji is generated based on the following process: The visual elements are determined based on the objects associated with the input content; Based on the context information, a first text description is determined; The at least one emoji is generated based on the visual elements and the first text description.

3. The method of claim 2, wherein determining the visual element based on an object associated with the input content comprises: The first visual element corresponding to the first object associated with the input content is determined as the visual element, or The second visual element corresponding to the second object associated with the first object is determined as the visual element, or The third visual element corresponding to the third object is determined as the visual element, wherein the third object is an object associated with the context information.

4. The method according to claim 2, wherein determining the first text description based on the context information includes: The target text description is determined based on the target semantic information corresponding to the context information.

5. The method according to claim 1, further comprising: The context information is provided to a first model to determine whether the context information matches the facial expression interaction scenario, wherein the first model is trained based on training data associated with a reference dialogue, the training data indicating the message types of multiple messages in the reference dialogue.

6. The method of claim 5, wherein the message type includes at least one of the following: Text messages, emoji messages, and image messages.

7. The method of claim 5, wherein the training data is constructed based on the following data: In response to the multiple messages, including emoji messages or image messages, a second text description corresponding to the emoji message or image message is generated; and The training data is constructed based on the second text description.

8. The method of claim 7, wherein the second text description indicates at least one of the following: The content of the emoticon or the image message; The semantic information expressed by the emoticon or the image message; The interactive scenario corresponding to the emoticon or the image message.

9. The method of claim 1, wherein the at least one emoji is determined based on the following process: Using the second model based on the aforementioned contextual information, the topic to be fed back can be determined; and Based on the topic and the context information, the at least one emoji is determined from the emoji library.

10. The method of claim 9, wherein determining the at least one emoji from the emoji library based on the topic and the context information comprises: Based on the topic and the context information, determine the degree of matching between multiple candidate emojis in the emoji library and the input content; as well as Based on the degree of matching, at least one emoji is determined from the emoji library.

11. The method of claim 1, wherein the at least one emoji is determined based on the following process: Determine the object associated with the input content; and Obtain the at least one emoji, wherein the at least one emoji includes the visual element associated with the object.

12. The method of claim 11, wherein obtaining the at least one emoji pack comprises: Identify at least one emoji from the emoji library that contains the visual element; or Based on the object, generate the at least one emoji pack containing the visual elements.

13. The method of claim 11, wherein determining the object associated with the input content comprises: Determine the association between the input content and a set of preset objects; as well as Based on the aforementioned correlation, the object related to the input content is determined from the set of preset objects.

14. The method of claim 1, wherein the visual element is a first visual element, and the at least one expression includes an additional second visual element, the second visual element being generated based on configuration information of the virtual object.

15. The method according to claim 14, wherein the configuration information of the virtual object includes at least one of the following: description information of the virtual object, system prompts for the virtual object, and image identifier of the virtual object.

16. The method according to claim 1, further comprising: In response to the matching of the context information with the image interaction scene, at least one image is provided in the interactive interface, and the semantic information expressed by the at least one image is used to provide feedback on the input content.

17. The method of claim 16, wherein the at least one image is determined based on the following process: Based on the context information, the image type to be sent is determined; and Obtain the at least one image that matches the image type.

18. The method of claim 17, wherein the image type indicates whether the transmitted image includes an object of a predetermined type.

19. The method of claim 16, wherein the at least one image is generated based on the following process: The at least one image is generated based on the descriptive text associated with the virtual object; or The at least one image is generated based on a reference image associated with the virtual object.

20. The method of claim 16, wherein the presentation order of the at least one emoji and the at least one image is determined based on the context information.

21. A device for content interaction, comprising: The first acquisition module is configured to acquire user input in the interaction interface with the virtual object; A module is configured to provide at least one emoticon in the interactive interface in response to contextual information associated with the input content and matching the emoticon interaction scenario; The semantic information expressed by the at least one emoji is used to provide feedback on the input content. The at least one emoji is associated with a visual element, which is determined at least based on an object related to the input content.

22. An electronic device, comprising: At least one processing unit; as well as At least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions causing the electronic device to perform the method according to any one of claims 1 to 20 when executed by the at least one processing unit.

23. A computer-readable storage medium having a computer program stored thereon, the computer program being executable by a processor to implement the method according to any one of claims 1 to 20.