Social interaction methods and apparatus, electronic device, storage medium and program product
By introducing social interaction controls and virtual images in social status applications and replacing mechanisms, the problem of lack of interactivity in social status display in the prior art is solved, and the utilization rate and user experience of graphics processing resources are improved.
Patent Information
- Application Number
- PCT/CN2024/080946
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-05-06
- Filing Date
- 2024-03-11
- Publication Date
- 2024-11-14
AI Technical Summary
In the Internet or instant messaging applications, the existing technology is limited to the display of single-person social status, and the lack of scene interaction, resulting in a low utilization rate of graphics processing resources in the device.
By introducing social interaction controls in the social status application, users are allowed to display virtual images in the status display area of the target account, and change the virtual image during the social interaction invitation operation, indicating the social relationship between the target account and the social account.
It increases the interactivity and display style of social status, improves the utilization rate of graphics processing resources, and enriches the user's social interaction experience.
Smart Images

Figure CN2024080946_14112024_PF_FP_ABST
Abstract
Description
Social interaction method, device, electronic device, storage medium and program product
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] The embodiments of this application are based on the Chinese patent application with application number 202310502864.2 and application date May 6, 2023, and claim the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby introduced into the embodiments of this application as a reference. Technical Field
[0003] The present application relates to mobile Internet technology, and in particular to a social interaction method, device, electronic device, storage medium and program product. Background Art
[0004] In internet or instant messaging applications, users can express their current status or behavior by setting a social status for their logged-in account. Social status refers to the account's online, away, busy, offline, or other states that reflect the user's current behavior, such as listening to music or slacking off. Displaying the logged-in account's social status allows users to understand the real-time status of their friends or contacts, facilitating social communication and interaction, and stimulating social relationships.
[0005] In related technologies, when displaying the social status of a logged-in account, it is limited to the display of a single person's social status and lacks scene interaction in social relationships, resulting in low utilization of graphics processing resources in the device.
[0006] Summary of the Invention
[0007] Embodiments of the present application provide a social interaction method, apparatus, electronic device, computer-readable storage medium, and computer program product, which can add more interactive elements to applications that display social status and improve the utilization of graphics processing resources.
[0008] The technical solution of the embodiment of the present application is implemented as follows:
[0009] This embodiment of the present application provides a social interaction method, which is applied to a terminal initiating a social invitation, including:
[0010] Display the target account's status display area, where the status display area is used to display the target account's social status;
[0011] In response to the target account's social status being a target status, displaying a first virtual image and a social interaction control corresponding to the target status in the status display area, wherein the social interaction control is used to invite at least one social account to establish a social relationship with the target account in the target status;
[0012] In response to a social invitation operation for a target social account triggered by the social interaction control, sending social interaction invitation information to a terminal corresponding to the target social account;
[0013] When the target social account triggers a confirmation operation for the social interaction invitation information, the first virtual image is replaced with a second virtual image corresponding to the target state, wherein the second virtual image is used to indicate that the target account and the target social account have established the social relationship under the target state.
[0014] This embodiment of the present application provides a social interaction method, which is applied to a social invitation receiving terminal, including:
[0015] In the interaction interface between the target social account and the target account, displaying the social interaction invitation information sent by the target account to the target social account;
[0016] The social interaction invitation information is used to invite the target social account to establish a social relationship with the target account in a target state, where the target state is the current social state of the target account;
[0017] In response to a confirmation operation of the target social account on the social interaction invitation information, displaying interaction establishment indication information;
[0018] The interactive relationship establishment indication information is used to indicate that the social status of the target social account has been set to the target status, and the social relationship has been established between the target social account and the target account.
[0019] This application provides a social interaction device, which is applied to a social invitation initiator, including:
[0020] A first display module is configured to display a status display area of a target account, wherein the status display area is used to display the social status of the target account;
[0021] a second display module configured to, in response to the target account's social status being a target status, display a first virtual image and a social interaction control corresponding to the target status in the status display area, wherein the social interaction control is used to invite at least one social account to establish a social relationship with the target account in the target status;
[0022] a sending module, configured to, in response to a social invitation operation for a target social account triggered based on the social interaction control, send social interaction invitation information to a terminal corresponding to the target social account;
[0023] The replacement module is configured to replace the first virtual image with a second virtual image corresponding to the target state when the target social account triggers a confirmation operation for the social interaction invitation information, wherein the second virtual image is used to indicate that the target account and the target social account have established the social relationship in the target state.
[0024] The present invention provides a social interaction device for a recipient of a social invitation, including:
[0025] an invitation display module configured to display the social interaction invitation information sent by the target account to the target social account in the interaction interface between the target social account and the target account;
[0026] The social interaction invitation information is used to invite the target social account to establish a social relationship with the target account in a target state, where the target state is the current social state of the target account;
[0027] an establishment display module configured to display interaction establishment indication information in response to a determination operation of the target social account with respect to the social interaction invitation information;
[0028] The interactive relationship establishment indication information is used to indicate that the social status of the target social account has been set to the target status, and the social relationship has been established between the target social account and the target account.
[0029] An embodiment of the present application provides an electronic device, including:
[0030] a memory configured to store computer-executable instructions or computer programs;
[0031] The processor is configured to implement the social interaction method provided in the embodiment of the present application when executing the computer executable instructions or computer program stored in the memory.
[0032] An embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions or a computer program for implementing the social interaction method provided in the embodiment of the present application when executed by a processor.
[0033] An embodiment of the present application provides a computer program product, including a computer program or computer-executable instructions. When the computer program or computer-executable instructions are executed by a processor, the social interaction method provided in the embodiment of the present application is implemented.
[0034] The embodiments of the present application have the following beneficial effects:
[0035] By applying the embodiments of the present application, other social accounts can be invited to establish a social relationship with the target account in the target state through the social interaction control. When the target social account receives the social interaction invitation from the target account, the first virtual image of the target account is replaced with the second virtual image. Since the second virtual image is used to indicate that a corresponding social relationship has been established between the target account and the target social account in the target state, it can be seen that when the target social account receives the social interaction invitation from the target account, the social state of the target social account can be automatically set to the same target state as the target account, and the social relationship established between the target social account and the target account can be displayed through the second virtual image, thereby increasing the interactivity based on the social state; in addition, since both the first virtual image and the second virtual image correspond to the target state, the virtual image element is added to the display application of the social state, enriching the display style of the social state and improving the utilization rate of graphics processing resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] FIG1 is a schematic diagram of the architecture of a social interaction system 100 provided in an embodiment of the present application;
[0037] FIG2 is a schematic structural diagram of an electronic device 500 provided in an embodiment of the present application;
[0038] FIG3 is a flow chart of a social interaction method according to an embodiment of the present application;
[0039] FIG4 is a schematic diagram of a setting interface for a social status provided in an embodiment of the present application;
[0040] FIG5 is a schematic diagram of creating a virtual image provided by an embodiment of the present application;
[0041] FIG6 is a schematic diagram of creating a virtual image provided by an embodiment of the present application;
[0042] FIG7 is a schematic diagram of creating a virtual image provided by an embodiment of the present application;
[0043] FIG8 is a schematic diagram showing feedback prompt information provided in an embodiment of the present application;
[0044] FIG9 is a flow chart of a social interaction method according to an embodiment of the present application;
[0045] FIG10 is a schematic diagram showing the display of social interaction invitation information provided by an embodiment of the present application;
[0046] FIG11 is a schematic diagram of social interaction provided by an embodiment of the present application;
[0047] FIG12 is a schematic diagram of an interactive establishment indication provided in an embodiment of the present application;
[0048] FIG13 is a schematic diagram of the architecture of a social interaction system provided in an embodiment of the present application;
[0049] FIG14 is a schematic diagram of a method for creating a virtual image according to an embodiment of the present application;
[0050] Figures 15 to 17 are schematic diagrams of creating a virtual image provided by an embodiment of the present application;
[0051] FIG18 is a schematic diagram of social interaction provided by an embodiment of the present application;
[0052] FIG19 is a schematic diagram of social interaction provided in an embodiment of the present application. DETAILED DESCRIPTION
[0053] In order to make the purpose, technical solutions and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limiting this application. All other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0054] It is understandable that in the embodiments of the present application, when user information and other related data (such as gender, age, educational background, interests and hobbies) are involved, when the embodiments of the present application are applied to specific products or technologies, user permission or consent must be obtained, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0055] In the following description, reference is made to “some embodiments”, which describes a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0056] In the following description, the terms "first\second..." are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It is understandable that "first\second..." can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0057] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application pertains. The terms used herein are for the purpose of describing the embodiments of this application only and are not intended to limit this application.
[0058] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.
[0059] 1) Client: An application running in a terminal to provide various services, such as a social client, an instant messaging client, etc.
[0060] 2) In response, it is used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed can be real-time or have a set delay. Unless otherwise specified, there is no restriction on the order in which the multiple operations executed are executed.
[0061] The embodiments of the present application provide a social interaction method, apparatus, electronic device, computer-readable storage medium, and computer program product, which can add more interactive elements to social status display applications and improve the utilization rate of graphics processing resources. The following describes exemplary applications of the electronic device provided by the embodiments of the present application. The electronic device provided by the embodiments of the present application can be implemented as various types of user terminals such as laptops, tablet computers, desktop computers, set-top boxes, mobile devices (e.g., mobile phones, portable music players, personal digital assistants, dedicated messaging devices, portable gaming devices), smart phones, smart speakers, smart watches, smart TVs, and in-vehicle terminals, and can also be implemented as servers. The following describes exemplary applications when the electronic device is implemented as a terminal.
[0062] Refer to Figure 1, which is a schematic diagram of the architecture of the social interaction system 100 provided in an embodiment of the present application. In order to support an exemplary application, the first terminal 400-1 and the second terminal 400-2 are connected to the server 200 through the network 300. The network 300 can be a wide area network or a local area network, or a combination of the two.
[0063] In some embodiments, the server 200 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. The first terminal 400-1 and the second terminal 400-2 can be smart phones, tablet computers, laptop computers, desktop computers, smart speakers, smart watches, car terminals, etc., but are not limited to these. The first terminal, the second terminal, and the server can be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiments of the present application.
[0064] In actual application, the first terminal 400-1 is located at the initiating terminal of the social interaction invitation (i.e., the terminal corresponding to the target account), and the second terminal 400-2 is located at the receiving terminal of the social interaction invitation (i.e., the terminal corresponding to the target social account). The first terminal 400-1 and the second terminal 400-2 are both provided with a client, such as a social client, an instant messaging client, etc. When the user opens the client on the first terminal 400-1 to view the current social status of the target account, the status display area of the target account is displayed, wherein the status display area is used to display the social status of the target account; in response to the social status of the target account being the target status, the first virtual image and the social interaction control corresponding to the target status are displayed in the status display area, and in response to the social invitation operation for the target social account triggered based on the social interaction control, the social interaction is sent. An interaction invitation request is sent to the server 200; the server 200 generates social interaction invitation information based on the social interaction invitation request, and sends the social interaction invitation information to the second terminal 400-2 corresponding to the target social account, wherein the social interaction invitation information is used to invite the target social account to establish a social relationship with the target account in the target state; when the target social account triggers a confirmation operation for the social interaction invitation information, the server returns the interaction result of the target social account for the social interaction invitation information (such as accepting the invitation) to the first terminal 400-1 corresponding to the target account, and the first terminal 400-1 corresponding to the target account replaces the first virtual image displayed in the status display area with the second virtual image corresponding to the target state, wherein the second virtual image is used to indicate that the above-mentioned social relationship is established between the target account and the target social account in the target state.
[0065] Referring to Figure 2, Figure 2 is a schematic diagram of the structure of an electronic device 500 provided in an embodiment of the present application. Taking the electronic device 500 as the first terminal 400-1 in Figure 1 as an example, the electronic device 500 shown in Figure 2 includes: at least one processor 510, a memory 550, at least one network interface 520 and a user interface 530. The various components in the electronic device 500 are coupled together via a bus system 540. It will be understood that the bus system 540 is used to achieve connection and communication between these components. In addition to including a data bus, the bus system 540 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, various buses are labeled as bus system 540 in Figure 2.
[0066] The processor 510 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0067] The memory 550 includes a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 550 described in the embodiments of the present application is intended to include any suitable type of memory. The memory 550 may optionally include one or more storage devices physically remote from the processor 510.
[0068] In some embodiments, the memory 550 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplified below.
[0069] The operating system 551 includes system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic businesses and process hardware-based tasks; the network communication module 552 is used to reach other electronic devices via one or more (wired or wireless) network interfaces 520. Exemplary network interfaces 520 include: Bluetooth, Wireless Compatibility Certification (WiFi), and Universal Serial Bus (USB), etc.
[0070] In some embodiments, the social interaction device provided by the embodiments of the present application can be implemented using software. The social interaction device provided by the embodiments of the present application can be provided as various software embodiments, including various forms such as applications, software, software modules, scripts, or codes. Figure 2 shows a social interaction device 555 stored in memory 550. This can be software in the form of programs and plug-ins, and includes a series of modules, including a first display module 5551, a second display module 5552, a sending module 5553, and a replacement module 5554. These modules are logical and can be arbitrarily combined or further divided according to the functions implemented. The functions of each module will be described below.
[0071] In other embodiments, the apparatus provided in the embodiments of the present application may be implemented in hardware. As an example, the apparatus provided in the embodiments of the present application may be a processor in the form of a hardware decoding processor, which is programmed to execute the social interaction method provided in the embodiments of the present application. For example, the processor in the form of a hardware decoding processor may be one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.
[0072] In some embodiments, the terminal or server can implement the social interaction method provided by the embodiment of the present application by running various computer executable instructions or computer programs. For example, computer executable instructions can be commands, machine instructions or software instructions at the microprogram level. The computer program can be a native program or software module in the operating system; it can be a local (Native) application (APPlication, APP), that is, a program that needs to be installed in the operating system to run, such as an instant messaging APP; it can also be a small program that can be embedded in any APP, that is, a program that can be run only by downloading it to a browser environment. In short, the above-mentioned computer executable instructions can be instructions in any form, and the above-mentioned computer program can be an application, module or plug-in in any form.
[0073] As mentioned above, the social interaction method provided in the embodiment of the present application can be implemented by various types of electronic devices. For example, it can be executed by the terminal in Figure 1 alone, or it can be executed collaboratively by the terminal in Figure 1 and the server 200. Next, the social interaction method provided in the embodiment of the present application is executed by the terminal in Figure 1 alone as an example. Referring to Figure 3, Figure 3 is a flow chart of the social interaction method provided in the embodiment of the present application, which is applied to the initiating terminal of the social interaction invitation (hereinafter referred to as the first terminal), and will be explained in conjunction with the steps shown in Figure 3.
[0074] Step 101: The first terminal displays a status display area of a target account, wherein the status display area is used to display the social status of the target account.
[0075] In actual applications, the first terminal is provided with a client with social functions, such as a social client, an instant messaging client, etc. When the user corresponding to the target account opens the client on the first terminal to view the current social status of the target account, the status display area of the target account is displayed to display the current social status of the target account and the status description information corresponding to the current social status (that is, the relevant information used to describe the current social status of the target account) in the status display area. The status description information can be in various forms, such as a text description of the social status (that is, the current social status of the target account is described in text form), or a virtual image description (that is, the current social status of the target account is described in the form of a virtual image). Of course, other forms of description are also possible. The embodiment of the present application does not limit the form of the status description information.
[0076] Among them, social status refers to the login status of the login account (such as the target account) (such as online, away, busy, offline, etc.), network connection status (such as wireless login or mobile communication login), online time, last activity time, or other status that can express the user's current mood, behavior or expectation (such as listening to music, slacking off, wanting to be quiet, etc.).
[0077] Step 102: In response to the target account's social status being the target status, displaying a first virtual image and a social interaction control corresponding to the target status in the status display area, wherein the social interaction control is used to invite at least one social account to establish a social relationship with the target account in the target status.
[0078] In some embodiments, before the first terminal displays the first virtual image corresponding to the target status in the status display area, the social status of the target account can be set in the following manner: displaying the status setting control corresponding to the target account; displaying at least one candidate social status in response to a trigger operation on the status setting control; and setting the social status of the target account to the target status in response to a selection operation on the target status from at least one candidate social status.
[0079] Referring to Figure 4, Figure 4 is a schematic diagram of the social status setting interface provided by an embodiment of the present application. A status setting control 401 for setting the social status of the target account is displayed in the status display area of the target account. In response to the trigger operation on the status setting control 401, a status setting interface 402 is displayed, and multiple candidate social statuses for selection are displayed in the status setting interface 402. In response to the selection operation of the target status (such as slacking off) 403 among the multiple candidate social statuses, the current social status of the target account is set to the target status (i.e., slacking off) 403, and a first virtual image 404 corresponding to the target status (i.e., slacking off) is displayed. In this way, the current social status of the target account can be vividly conveyed through the first virtual image, which not only enriches the transmission and display style of the social status, but also meets the users' increasingly diverse information acquisition needs and improves the utilization rate of graphics processing resources.
[0080] In some embodiments, the first terminal may display the first virtual image corresponding to the target state in the status display area in the following manner: obtain the status identifier of the target state, and the correspondence between different social states and different virtual images; query the correspondence based on the status identifier, use the queried virtual image as the first virtual image corresponding to the target state, and display the first virtual image in the status display area.
[0081] In actual applications, the social status and the virtual image corresponding to the social status (such as a super show image, dress, accessories, actions or background, etc.) can be created by the operator. When creating the virtual image of the social status, the operator can create one or more (two or more) virtual images for a social status and establish a correspondence between the social status and the virtual image, such as social status 1 corresponds to virtual image 1, social status 2 corresponds to virtual image 2 and virtual image 3. When establishing the association relationship, a correspondence between the state identifier of the social status and the image identifier of the corresponding virtual image can be established, and the established correspondence can be stored for subsequent query based on the social status set by the user to obtain the corresponding virtual image. For example, when the current social status of the target account is the target state, the stored correspondence is queried according to the state identifier of the target state, and the image identifier corresponding to the state identifier of the target state is queried, and the corresponding first virtual object is obtained for display according to the queried image identifier.
[0082] It should be noted that when there are multiple virtual images corresponding to the target state, the virtual image that matches the current state of the target account can be screened from multiple corresponding virtual images based on the account data of the target account (such as account level, account activity, and user data corresponding to the account (such as gender, age, educational background, and interests and hobbies, etc.)), so as to improve the compatibility between the virtual image corresponding to the displayed target state and the target account, and improve the targeted display of the virtual image.
[0083] In some embodiments, the first terminal may display the first virtual image corresponding to the target status in the status display area in the following manner: displaying a status image creation control corresponding to the target account; in response to an information editing operation triggered based on the status image creation control, determining at least one of the following types of descriptive information corresponding to the information editing operation: text, picture, audio and video; in response to a determination operation on the descriptive information, setting the social status of the target account as the target status, and displaying the first virtual image corresponding to the target status in the status display area, wherein the target status is determined based on the edited descriptive information, and the first virtual image is generated based on the descriptive information.
[0084] Here, in actual application, the user's current social status (such as the target status) and the corresponding first virtual image can also be customized by the user. For example, when the user triggers the status image creation control (used to set the social status of the target account and the virtual image corresponding to the social status), the first terminal responds to the triggering operation of the status image creation control and displays an information editing interface. The user can edit at least one of the text type description information, picture type description information or audio and video type description information through the information editing interface. When the description information is of text type, the text type description information can be obtained by entering text information in the text editing area, or by converting the voice file entered through the voice entry control into text; the picture type description information and the audio and video type description information can be collected in real time by the camera of the first terminal, or imported from locally stored pictures, audio and video, or imported after being obtained from the Internet.
[0085] The first terminal responds to a determination operation on the description information, determines the target state of the target account according to the description information, and generates a corresponding first virtual image according to the description information, for example, performing text recognition processing on the description information to obtain a recognition text corresponding to the description information, and using the recognition text as the target state of the target account, or extracting key information from the recognition text, and using the key information as the target state of the target account, or performing semantic understanding on the recognition text or the key information, and using the obtained semantic information as the target state of the target account; then performing keyword extraction on the recognition text to obtain at least one keyword of the recognition text, and calling a virtual image model to perform image prediction processing based on the keyword to obtain the first virtual image corresponding to the description information; wherein the virtual image model is trained based on the keywords of the description information sample and the virtual image associated with the description information sample.
[0086] When performing text recognition processing on the description information to obtain the recognition text, different types of description information have different corresponding processing methods. For example, for text-type description information, the description information can be directly used as the recognition text. When the text-type description information includes expression elements, the expression elements are subjected to expression recognition processing to obtain the recognition text used to represent the mood or emotion conveyed by the expression elements, such as The corresponding recognition text for this emoticon element is "rose," which expresses a confession or love statement context. For picture-type description information, visual feature extraction can be performed on the picture-type description information to obtain the visual features of the picture-type description information, and semantic understanding can be performed on the picture-type description information to obtain the semantic features of the picture-type description information. The visual features and semantic features can be fused to obtain the multimodal features of the picture-type description information. Based on the multimodal features, text recognition processing can be performed on the picture-type description information to obtain the recognition text of the picture-type description information. For audio and video-type description information, key frame extraction can be performed on the audio and video-type description information to obtain the key frames of the audio and video-type description information. The key frames can be semantically understood to obtain the semantic features of the audio and video-type description information. Then, text recognition processing can be performed based on the semantic features to obtain the recognition text of the audio and video-type description information.
[0087] After obtaining the recognized text, keyword extraction is performed on the recognized text to obtain at least one keyword from the recognized text. The keyword is then input into the avatar model for image prediction, and the predicted first avatar is used as the avatar corresponding to the description information. It should be noted that before applying the avatar model, an initial avatar model must be trained. The trained avatar model is then put into use to combine the user-edited description information and predict the corresponding first avatar using artificial intelligence technology.
[0088] Among them, the virtual image model is obtained by training the keywords corresponding to the description information sample and the virtual image associated (or labeled) with the description information sample. For example, based on the keywords of the information sample and the virtual image associated with the description information sample, the initial virtual image model is called for prediction processing to obtain a predicted virtual image. After the value of the loss function of the virtual image model is determined by the predicted virtual image and the labeled virtual image, it can be judged whether the value of the loss function exceeds the preset threshold. When the value of the loss function exceeds the preset threshold, the error signal of the virtual image model is determined based on the loss function, the error signal is back-propagated in the virtual image model, and the model parameters of each layer are updated during the propagation process. Among them, the embodiment of the present application does not limit the model structure of the virtual image model. For example, the virtual image model can be a convolutional neural network, a deep neural network, etc.; nor is it limited to the form of the loss function. For example, it can be a cross entropy loss function, an L2 loss function, etc.
[0089] Here, back propagation is explained. The training sample data is input into the input layer of the virtual image model, passes through the hidden layer, and finally reaches the output layer and outputs the result. This is the forward propagation process of the virtual image model. Since there is an error between the output result of the virtual image model and the actual result, the error between the output result and the actual value is calculated, and the error is backpropagated from the output layer to the hidden layer until it propagates to the input layer. In the back propagation process, the value of the model parameter is adjusted according to the error, that is, the loss function is constructed according to the error between the output result and the actual value, and the partial derivative of the loss function with respect to the model parameters is calculated layer by layer to generate the gradient of the loss function with respect to the model parameters of each layer. Since the direction of the gradient indicates the direction of error expansion, the gradient of the model parameter is inverted and summed with the original parameters of the model of each layer. The obtained sum is used as the updated model parameters of each layer, thereby reducing the error caused by the model parameters; the above process is continuously iterated until convergence.
[0090] See Figure 5, which is a schematic diagram of creating a virtual image provided by an embodiment of the present application, showing a status image creation control (such as "auto-generate") 501 corresponding to the target account. In response to a trigger operation on the status image creation control 501, a status image editing area is displayed, and a text input box and a virtual keyboard are displayed in the status image editing area. The corresponding description information (such as "I am wearing a purple skirt and white shoes, playing with three cute brown puppies. They are so cute and sticking their tongues out at me, hahaha!") 502 can be entered in the text input box through the virtual keyboard. In response to a confirmation operation on the description information 502 (such as clicking a generate button), the status image creation control 501 is displayed. The description information 502 serves as the target state of the target account, and the above-mentioned method is used to generate a corresponding first virtual image based on the description information, and the first virtual image 503 is displayed in the state display area as a virtual image corresponding to the target state (such as a background picture of a little girl playing with three puppies); in this way, the user can customize the social state and generate a corresponding virtual image, that is, in the display application of the social state, the virtual image corresponding to the target state can be customized, which increases the flexibility of virtual image generation, enriches the display style of the social state, meets the increasingly diverse information acquisition needs of users, and improves the utilization rate of graphics processing resources.
[0091] In some embodiments, the first terminal can obtain the first virtual image corresponding to the target state in the following manner: when the type of the description information is a picture type, the description information of the picture type is subjected to special effect conversion processing to obtain a special effect picture of the description information of the picture type, and the special effect picture is determined as the first virtual image corresponding to the target state to display the first virtual image in the status display area.
[0092] Among them, the special effects picture can be considered as a picture obtained by adding special effects elements to the description information of the picture type (which is actually a picture) (that is, the special effects picture includes the original content of the description information and the special effects elements). The special effects picture can also be considered as a picture of a different style obtained after the description information of the original picture type (which is actually a picture) is style-converted. For example, if the description information is a life photo of the target account (that is, a life photo of the user, indicating the user's real image), then the description information is subjected to special effects conversion processing to obtain special effects pictures of different styles (such as a comic-style picture, indicating the user's virtual image). When the special effects picture is used as the first virtual image, the first virtual image is a virtual image of an anime style obtained by special effects conversion processing of the description information (that is, the user's life photo, indicating the user's real image). At this time, the first virtual image can be regarded as a dynamic picture or a static picture of an anime style. In this way, the user can arbitrarily import the picture he wants to express as the description information, and quickly generate and display a comic-style virtual image consistent with the picture based on the description information, thereby improving the processing efficiency and the applicability of virtual image generation.
[0093] In some embodiments, before the terminal displays the first virtual image corresponding to the target state in the state display area, the terminal may also generate the first virtual image in the following manner: display at least one image label in an operable state, wherein the image label is obtained by label recognition of the descriptive information and is used to indicate the image characteristics of the corresponding virtual image; in response to a selection operation on the target image label, a first virtual image that conforms to the image characteristics indicated by the target image label is obtained.
[0094] In actual applications, when generating a first virtual avatar based on the descriptive information corresponding to the information editing operation triggered by the user, the terminal may, in response to a determination operation on the descriptive information, display one or more image tags for triggering selection in the state image editing area (i.e., the type tags are in an operable state), such as image tag 1 (sweet style), image tag 2 (loli type), image tag 3 (hot girl type), image tag 4 (long hair), and image tag 5 (skirt). These image tags are obtained by the terminal performing tag recognition on the descriptive information edited by the user, such as performing semantic understanding on the descriptive information to obtain the semantic information conveyed by the descriptive information, and performing tag classification processing based on the semantic information to obtain the image tag corresponding to the descriptive information. The image tag is used to indicate the image characteristics of the virtual avatar generated based on the image tag, such as the aforementioned sweet style, loli type, hot girl type, etc. The user can select one or more image tags as reference standards for generating the first virtual avatar. For example, when the user selects a target image tag (such as image tag 2), a first virtual avatar (i.e., a hot girl type virtual avatar) that meets the target image tag (such as image tag 2) is generated as the virtual avatar of the target account in the target state. In this way, users can select desired image tags according to actual needs to generate a virtual image with corresponding image characteristics, which can improve the pertinence and relevance of virtual image generation.
[0095] In some embodiments, the first terminal may display a first virtual image corresponding to the target state in the status display area in the following manner: display an initial virtual image corresponding to the target state and a replacement control for replacing the initial virtual image in the status display area; in response to an information update operation triggered based on the replacement control, determine at least one of the following types of descriptive information corresponding to the information update operation: text, picture, audio and video; in response to a determination operation on the descriptive information, replace the initial virtual image displayed in the status display area with a first virtual image, wherein the first virtual image is generated based on the descriptive information.
[0096] 6 , which is a schematic diagram of creating a virtual image provided by an embodiment of the present application. In the status display area of the target account, an initial virtual image (such as a background picture of a little girl catching fish on the right side of a fish) 601 corresponding to the current target state of the target account (such as catching fish) and a replacement control 602 are displayed. In response to a trigger operation on the replacement control 602 , the virtual image replacement area is displayed, and a text input box and a virtual keyboard are displayed in the virtual image replacement area. Corresponding description information (such as “little girl lying down and catching fish”) 603 can be entered in the text input box through the virtual keyboard. In response to a confirmation operation on the description information 603, the initial virtual image 603 displayed in the status display area is replaced with a first virtual image (such as a background picture of a little girl lying down and catching fish) 604 generated according to the description information to be displayed in the status display area. In this way, in the display application of the social status, the virtual image corresponding to the target status can be customized to be replaced, which increases the flexibility of the virtual image setting and enriches the display style of the social status.
[0097] It can be understood that when the initial virtual image is replaced based on the replacement control, the method of generating the first virtual image according to the description information is the same as the method of generating the first virtuality according to the description information triggered by the above-mentioned status image creation control, and will not be repeated here.
[0098] In some embodiments, the first terminal may display the first virtual image corresponding to the target state in the status display area in the following manner: display the initial virtual image corresponding to the target state and a replacement control for replacing the initial virtual image in the status display area; in response to a trigger operation on the replacement control, display at least one candidate virtual image matching the target state, wherein the at least one candidate virtual image includes the first virtual image; in response to a selection operation on the first virtual image, replace the initial virtual image displayed in the status display area with the first virtual image.
[0099] In actual applications, the same social status may correspond to multiple avatars (i.e., for the same social status, there are multiple avatars that match the social status, where matching means that the meaning or artistic conception conveyed by the social status is consistent with the meaning or artistic conception conveyed by the avatar). When there are multiple avatars corresponding to the target status, the initial avatar corresponding to the currently displayed target status can be replaced using a replacement control. See FIG7 , which is a schematic diagram of avatar creation provided by an embodiment of the present application. An initial avatar 701 corresponding to the target status currently in the target account and a replacement control 702 are displayed in the status display area of the target account. In response to a triggering operation on the replacement control 702, multiple candidate avatars (all matching the target status) are displayed for selection, such as candidate avatar 1, candidate avatar 2, and candidate avatar 3. In response to a selection operation on candidate avatar 3 (i.e., the first avatar), the initial avatar 701 displayed in the status display area is replaced with candidate avatar 3 (i.e., the first avatar 703). In this way, the user can quickly replace the avatar corresponding to the target status, improving the efficiency of avatar replacement and enriching the display style of the social status.
[0100] It is understandable that each replaced virtual image is still associated with a replacement control, and the replaced virtual image can be replaced again through the replacement control, and so on, until a satisfactory first virtual image is obtained.
[0101] In some embodiments, the first terminal may display social interaction controls in the status display area in the following manner: when there are at least two types of social relationships, social interaction controls corresponding to each type of social relationship are displayed in the status display area; wherein, there is a one-to-one correspondence between the social interaction controls and the types of social relationships.
[0102] Here, each social relationship can correspond to a social interaction control, such as social interaction control 1 corresponding to social relationship 1 and social interaction control 2 corresponding to social relationship 2. Through the social interaction control corresponding to the target state, at least one social account can be invited to establish a social relationship with the target account in the target state.
[0103] Social relationships are used to represent the associations between social accounts, such as relationships between lovers, best friends, gay friends, and close friends. In actual applications, the social relationships between the target account and other social accounts can be determined based on the frequency of conversations between the target account and other social accounts, or the target account's notes and classification information on other social accounts.
[0104] Step 103: In response to the social invitation operation for the target social account triggered by the social interaction control, a social interaction invitation message is sent to a terminal corresponding to the target social account.
[0105] In some embodiments, when there are at least two types of social relationships, social interaction controls corresponding to at least two types of social relationships are displayed in the status display area; before sending the social interaction invitation information to the terminal corresponding to the target social account (i.e., the second terminal), the first terminal may receive a social invitation operation in the following manner: in response to a trigger operation on the social interaction control, display at least one candidate social account for selection, and at least one type of social relationship; in response to an account selection operation, determine the target social account selected by the account selection operation, and in response to a relationship selection operation, determine the target type of social relationship selected by the relationship selection operation; in response to a determination operation on the target social account and the target type of social relationship, receive a social invitation operation on the target social account, wherein the social invitation operation is used to invite the target social account and the target account to establish a social relationship of the target type in the target state.
[0106] Here, when there are at least two types of social relationships and all types of social relationships correspond to a social interaction control, after the first terminal sets the social status of the target account to the target status, in response to the triggering operation on the social interaction control, it displays at least one candidate social account and at least one type of social relationship for selection. When the user selects the target social account and the target type of social relationship (such as best friends) from them and triggers the confirmation button, the first terminal receives a social invitation operation for the target social account and sends a social interaction invitation message to the second terminal corresponding to the target social account to invite the target social account to establish a target type of social relationship (such as best friends) with the target account in the target status, that is, to invite the target social account to set its own social status to the target status and establish the target type of social relationship (such as best friends) with the target account in the target status. After sending the social interaction invitation message, feedback prompt information corresponding to the social interaction invitation information is displayed in the status display area to prompt waiting for the target social account to feedback on the social interaction invitation information, as shown in Figure 8. Figure 8 is a schematic diagram of displaying feedback prompt information provided in an embodiment of the present application, showing feedback prompt information 801 "Invitation has been sent to friend, waiting for the other party to accept".
[0107] In some embodiments, when there are at least two types of social relationships and each social relationship can correspond to a social interaction control, the first terminal may receive a social invitation operation in the following manner before sending the social interaction invitation information to the terminal corresponding to the target social account: in response to the triggering operation of the social interaction control corresponding to the social relationship of the target type, display at least one candidate social account for selection; in response to the account selection operation, determine the target social account selected by the account selection operation; in response to the determination operation on the target social account, receive a social invitation operation for the target social account, wherein the social invitation operation is used to invite the target social account to establish a social relationship of the target type with the target account in the target state.
[0108] Here, when there are at least two types of social relationships, and each social relationship can correspond to a social interaction control, such as the social relationship "couple" corresponds to social interaction control 1, and the social relationship "girlfriends" corresponds to social interaction control 2, the first terminal responds to the triggering operation of the social interaction control (such as social interaction control 1) corresponding to the target type of social relationship, and displays at least one candidate social account for selection. When the user selects the target social account and triggers the confirmation button, the first terminal receives the social invitation operation for the target social account and sends a social interaction invitation message to the second terminal corresponding to the target social account, so as to invite the target social account to establish a target type of social relationship (i.e., couple) with the target account in the target state, that is, to invite the target social account to set its own social status to the target state and establish the target type of social relationship (i.e., couple) with the target account in the target state. After sending the social interaction invitation message, feedback prompt information corresponding to the social interaction invitation information is displayed in the status display area to prompt waiting for the target social account to feedback on the social interaction invitation information, such as "Invitation has been sent to friend, waiting for the other party to accept."
[0109] In actual applications, the social interaction controls may also vary according to the target number of social accounts required to be associated with the social relationship. For example, for social relationships such as "couples" or "husband and wife" that require a target number of 2 associated social accounts, the corresponding social interaction control 1 is used; for social relationships such as "best friends" or "best friends" that require a target number of social accounts greater than 2, the corresponding social interaction control 2 is used. When a social interaction control corresponds to multiple (two or more) social relationships, the social interaction control can be used to select the target type of social relationship to be established and the number of target social accounts to be selected.
[0110] In some embodiments, when the number of target social accounts selected by the account selection operation does not match the target number corresponding to the target type of social relationships, selection prompt information is displayed; wherein, the selection prompt information is used to prompt reselection of another number of target social accounts, where the other number is smaller than the number of accounts previously selected. For example, when the target type of social relationship is a "couple" or "husband and wife" relationship, the corresponding target number is 2. That is, if the user selects a "couple" or "husband and wife" target type of social relationship, they can only select one target social account (that is, the target number associated with the social relationship of this target type is 1). When the user selects two or more target social accounts (that is, the number of selected accounts is 2 or greater, both of which are greater than the target number of associated accounts), an error prompt is issued to prompt the user to reselect another number (that is, 1) of target social accounts; if the number of target social accounts selected by the user reaches the target number of associated social relationships required, the other unselected candidate social accounts can be automatically controlled to be unselectable. For example, if the user selects a "couple" or "husband and wife" target type of social relationship, and the target number associated with this target type of social relationship is 1, after the target social account selects one target social account, the other unselected candidate social accounts are controlled to be unselectable, thereby avoiding the purpose of misselection.
[0111] Step 104: When the target social account triggers a confirmation operation for the social interaction invitation information, the first virtual image is replaced with a second virtual image corresponding to the target state, wherein the second virtual image is used to indicate that the target account and the target social account have established a social relationship in the target state.
[0112] Here, in actual applications, the social interaction invitation information may be associated with an interactive entry for receiving or rejecting the invitation. For example, when the social interaction invitation information is displayed in the form of an information card, an interactive entry for receiving or rejecting the invitation, such as an accept button and a reject button, may also be displayed on the information card. When the target social account agrees to the invitation, the accept button may be triggered to trigger a confirmation operation on the social interaction invitation information. At this time, the social status of the target social account may be set to a target status consistent with the target account, and a corresponding social relationship may be established between the target account and the target social account. For example, when the social interaction control is used to invite the target social account and the target account to establish a couple relationship in the target status, a couple relationship is established between the target account and the target social account. At the same time, the first terminal on the target account side and the second terminal on the target social account side update the virtual image used to represent the establishment of the corresponding social relationship in the target status, such as replacing the first virtual image displayed in the status display area of the target account with the second virtual image, and displaying the second virtual image in the status display area of the target social account.
[0113] It is understandable that the second virtual image can be created by an operator or customized by a user. The method for creating the second virtual image is the same as the method for creating the first virtual image, and will not be repeated here.
[0114] Through the above method, other social accounts can be invited to establish a social relationship with the target account in the target state through the social interaction control. When the target social account receives the social interaction invitation from the target account, the first virtual image of the target account is replaced with the second virtual image. Since the second virtual image is used to indicate that a corresponding social relationship has been established between the target account and the target social account in the target state, it can be seen that when the target social account receives the social interaction invitation from the target account, the social state of the target social account can be automatically set to the same target state as the target account, and the social relationship established between the target social account and the target account can be displayed through the second virtual image, thereby increasing the interactivity based on the social state; in addition, since both the first virtual image and the second virtual image correspond to the target state, the virtual image element is added to the display application of the social state, enriching the display style of the social state and improving the utilization rate of graphics processing resources.
[0115] Refer to Figure 9, which is a flow chart of the social interaction method provided in an embodiment of the present application. The receiving terminal (hereinafter referred to as the second terminal) applied to the social interaction invitation will be explained in conjunction with the steps shown in Figure 9.
[0116] Step 201: The second terminal displays a social interaction invitation message sent by the target account to the target social account in the interaction interface between the target social account and the target account; wherein the social interaction invitation message is used to invite the target social account to establish a social relationship with the target account in a target state, and the target state is the current social state of the target account.
[0117] Here, after the first terminal corresponding to the target account in the target state (i.e., the initiating terminal of the social interaction invitation) sends the social interaction invitation information to the second terminal corresponding to the target social account, the interaction interface between the target social account and the target account is displayed in the second terminal corresponding to the target social account, and the social interaction invitation information is displayed in the interaction interface to invite the target social account to establish a corresponding social relationship with the target account.
[0118] Assuming that the target status of the target account (such as Xiao A) is "fishing in progress", the social interaction invitation information sent by the first terminal corresponding to the target account (i.e. Xiao A) is used to invite the target social account (such as Xiao B) and the target account (i.e. Xiao A) to establish a close friend relationship in the social status (i.e. target status) of "fishing in progress", the social interaction invitation information displayed in the second terminal corresponding to the target social account (i.e. Xiao B) can be expressed as "Xiao A invites you to become a close friend and fish together".
[0119] Step 202: In response to the target social account's confirmation operation on the social interaction invitation information, interactive relationship establishment indication information is displayed; wherein the interactive relationship establishment indication information is used to indicate that the social status of the target social account has been set to the target status, and a social relationship has been established between the target social account and the target account.
[0120] Here, the social interaction invitation information may be associated with an interactive entry for accepting or rejecting the invitation, such as an accept button and a reject button. When the target social account agrees to the invitation, the accept button may be triggered to trigger a confirmation operation for the social interaction invitation information. The terminal corresponding to the target social account responds to the confirmation operation and displays interactive establishment indication information to indicate that the social status of the target social account is set to the target status consistent with the target account. For example, following the above description, when the target social account (i.e., Xiao B) agrees to the invitation of the target account (i.e., Xiao A), the social status of the target social account (i.e., Xiao B) is set to "slacking off", and a bestie relationship is established between the target social account (i.e., Xiao B) and the target account (i.e., Xiao A), that is, Xiao A and Xiao B become bestie relationships, and the two are in the social status of "slacking off" together.
[0121] In some embodiments, the second terminal may display the social interaction invitation information sent by the target account to the target social account in the interactive interface between the target social account and the target account in the following manner: display an information card in the interactive interface between the target social account and the target account, and display the social interaction invitation information sent by the target account to the target social account and the third virtual image on the information card; wherein the third virtual image is used to preview the social relationship established between the target social account and the target account; accordingly, the second terminal may also display the interactive establishment indication information in the following manner: display a status card for indicating that the target social account is in the target state, and display the third virtual image on the status card, so as to use the status card and the third virtual image as the interactive establishment indication information.
[0122] 10 , which is a schematic diagram of displaying social interaction invitation information provided by an embodiment of the present application. The social interaction invitation information can be displayed in the form of an information card. The social interaction invitation information (such as “Xiao A invites you to become a close friend and play games together”) 1002 is displayed on the information card 1001, and a third virtual image 1003 is displayed on the information card 1001 as a background screen. The third virtual image 1003 includes two virtual characters (the number of virtual characters is consistent with the number of friends forming a two-person state), which is used to preview the social relationship established between the target social account and the target account after the target social account receives the social interaction invitation. In addition, Interactive entrances for accepting or rejecting invitations, such as an accept button and a reject button, can also be displayed. When the target social account agrees to the invitation, the accept button can be triggered to trigger a confirmation operation for the social interaction invitation information. The second terminal corresponding to the target social account responds to the confirmation operation, displays a status card 1004, and displays a third virtual image 1005 on the status card 1004 as interactive establishment indication information to indicate that the target social account has received the social interaction invitation. At this time, the social status of the target social account is set to the target status consistent with the target account (such as "fishing"), and a corresponding social relationship (i.e., a bestie relationship) is established between the target account and the target social account.
[0123] In some embodiments, the second terminal displays a details interface of the status card in response to a trigger operation on the status card, and displays an interactive control on the details interface; wherein the interactive control is used to interact with the third virtual image displayed on the status card.
[0124] 11 , which is a schematic diagram of social interaction provided by an embodiment of the present application. In response to a trigger operation on a status card 1101, a details interface 1102 of the status card is displayed, and the target status of the target social account and the target account (such as “fishing”), a third virtual image 1103 used to represent that the target social account and the target account have established a close friend relationship, and an interactive control 1104 are displayed in the details interface 1102. Through the interactive control 1104, the third virtual image 1103 displayed on the status card can be interacted with, such as by sending emoticons for interaction. In addition, a release control 1105 for releasing the social relationship is also displayed. Through the release control 1105, the social relationship established between the target social account and the target account can be released (such as releasing the close friend relationship). In this way, in the display application of the social status, the display style of the social status and the interactive form based on the social status are enriched, and the utilization rate of graphics processing resources is improved.
[0125] In some embodiments, before displaying the interactive establishment indication information, the second terminal on the target social account side responds to the status viewing operation on the target social account and displays the fourth virtual image corresponding to the current status of the target social account in the status display area of the target social account; correspondingly, after displaying the interactive establishment indication information, the fourth virtual image is replaced with the third virtual image in the status display area of the target social account.
[0126] Here, before the second terminal on the target social account side accepts the social interaction invitation information sent by the target account, the fourth virtual image corresponding to the current status of the target social account is displayed in the status display area of the target social account. For example, if the status of the target social account is "listening to music", the fourth virtual image is the virtual image corresponding to the status of "listening to music"; when the social interaction invitation information is that the target account in the target status of "slacking off" invites the target social account to form a bestie status, after the target social account accepts the social interaction invitation, the social status of the target social account is changed from "listening to music" to "slacking off", and a bestie status is established between the target social account and the target account, so the fourth virtual image (corresponding to the social status of "listening to music") is replaced in the status display area of the target social account with the third virtual image corresponding to the social status of "slacking off" and the social relationship of "bestie relationship".
[0127] In some embodiments, when the social interaction invitation information is also used to invite other social accounts to establish a social relationship with the target account in the target state, the third virtual image is used to preview the social relationship established between the target social account, other social accounts and the target account; the second terminal on the target social account side can display the interaction establishment indication information in the following way: when other social accounts trigger a rejection operation for the social interaction invitation information, a fifth virtual image is displayed on the status card, wherein the fifth virtual image is different from the third virtual image, and the fifth virtual image is used to indicate that a social relationship has been established between the target social account and the target account.
[0128] Here, when the social interaction invitation information is a target account inviting the target social account and other social accounts (one or more) to establish a corresponding social relationship in the target state, the third virtual image displayed on the information card is the virtual image corresponding to the target account, the target social account, and the other social accounts. When the third virtual image includes multiple virtual characters, the number of virtual characters is the sum of the account numbers of the target account, the target social account, and the other social accounts. The fifth virtual image displayed on the status card is the virtual image corresponding to the social account that accepts the social interaction invitation. When the fifth virtual image includes multiple virtual characters, the number of virtual characters is the sum of the account numbers of the target account and the social account that receives the social interaction invitation.
[0129] For example, when other social accounts trigger an acceptance operation for social interaction invitation information, the third virtual image is still displayed on the status card. At this time, the third virtual image is used to indicate that a social relationship has been established between the target social account, the target account and other social accounts; when other social accounts trigger a rejection operation for social interaction invitation information, a fifth virtual image is displayed on the status card, wherein the fifth virtual image is different from the third virtual image, and the fifth virtual image is used to indicate that a social relationship has been established between the target social account and the target account.
[0130] 12, which is a schematic diagram of an interactive establishment indication provided by an embodiment of the present application. Taking a virtual image including multiple virtual characters as an example, assuming that the target state of the target account (such as Xiao A) is "fishing in progress", the social interaction invitation information sent by the first terminal corresponding to the target account (i.e., Xiao A) is used to invite the target social account (such as Xiao B), two other social accounts (such as Xiao C and Xiao D) to establish a playmate relationship with the target account (i.e., Xiao A) in the social state of "fishing in progress", the social interaction invitation information 1201 displayed in the second terminal corresponding to the target social account can be expressed as "Xiao A invites you to become a playmate with Xiao C, Xiao D, etc., and fish together", at this time, the third virtual image 1202 displayed on the information card may include four virtual characters (i.e., Xiao B, Xiao C, Xiao D, etc.). The number of virtual characters is the sum of the accounts participating in the social interaction, that is, there are 4 virtual characters participating in the social interaction, namely, Xiao A, Xiao B, Xiao C and Xiao D); if the target social account (i.e., Xiao B) and other social accounts (i.e., Xiao C and Xiao D) all accept the social interaction invitation, then the virtual image 1203 displayed on the status card is consistent with the third virtual image 1202, both including 4 virtual characters; if the target social account (i.e., Xiao B) and other social accounts (i.e., Xiao C) accept the social interaction invitation, and the other social account (i.e., Xiao D) rejects the social interaction invitation, then the fifth virtual image 1204 displayed on the status card includes 3 virtual characters, which is different from the third virtual image 1202; in this way, the acceptance of the social interaction invitation can be understood based on the virtual image on the status card.
[0131] Through the above method, when the target account invites other social accounts to establish a social relationship with the target account in the target state through the social interaction control, when the target social account receives the social interaction invitation of the target account, the social status of the target social account can be automatically set to the same target state as the target account, and the first virtual image of the target account in the target state is replaced with the second virtual image, and the corresponding virtual image is displayed in the status display area of the target social account. In this way, the social relationship established between the target social account and the target account can be displayed through the virtual image, thereby increasing the interactivity based on the social status; in addition, since the displayed virtual images all correspond to the target status, the virtual image element is added to the display application of the social status, enriching the display style of the social status and improving the utilization rate of graphics processing resources.
[0132] Below, we will explain an exemplary application of an embodiment of the present application in an actual application scenario. Referring to Figure 13, Figure 13 is a schematic diagram of the architecture of the social interaction system provided by an embodiment of the present application, which includes a user-side terminal, an algorithm server, a resource server, and a data server. The user-side terminal includes a first terminal (the initiating terminal of the social interaction invitation) and a second terminal (the receiving terminal of the social interaction invitation). The number of the first terminal and the second terminal can be multiple, each terminal is provided with a client, and each social account corresponds to a terminal. The following description is based on the terminal on the target account side as the first terminal and the terminal on the target social account side as the second terminal.
[0133] The algorithm server is used to intelligently create a corresponding virtual image (social status resource) according to the description information provided by the user-side terminal when creating a virtual image corresponding to the social status, and return the generated virtual image to the user-side terminal for display and send it to the resource server for storage.
[0134] The resource server is used to store social status configuration information and social status resources. Social status configuration information refers to a configuration file, including virtual images corresponding to social states created by the algorithm server and virtual images corresponding to social states created by operations and maintenance personnel. These configuration files are typically maintained by operations personnel and are used to control whether and which social states are displayed on the terminal. Social status resources are used to store the virtual image resources corresponding to each social status, such as virtual image 1 for social status 1 and virtual image 2 for social status 2. These virtual image resources may include image templates (the user's virtual image) and action templates (the actions corresponding to the virtual image).
[0135] The data server is used to store the social status data of a single social account (such as the account ID, social status ID, social status name, etc. of social account 1), the social status data of a social relationship chain (such as the social status data of social account 1, the social status data of social account 2, etc.), and the social status data of multiple social accounts that establish a target social relationship (such as the relationship ID, social status ID, social status name, social account set, etc. of the target social relationship).
[0136] Referring to FIG. 14 , FIG. 14 is a schematic diagram of a method for creating a virtual image provided by an embodiment of the present application, the method comprising:
[0137] Step 301: The first terminal sends a status resource acquisition request to the algorithm server.
[0138] In practice, users can select their target status and the corresponding avatar from the social statuses created by operators. Of course, users can also customize their current social status and the avatar that corresponds to it. The following uses customizing social statuses and avatars as an example to illustrate this.
[0139] A status image creation control for creating a social status and a corresponding virtual image is displayed in the status display area of the target account. In response to a trigger operation on the status image creation control, the first terminal displays a status image editing area, and displays a text input box and a virtual keyboard in the status image editing area. Corresponding description information can be entered in the text input box through the virtual keyboard. In response to a confirmation operation on the description information, a status resource acquisition request carrying the description information is sent to the algorithm server.
[0140] Step 302: The algorithm server determines the target state of the target account and the first virtual image corresponding to the target state based on the state resource acquisition request.
[0141] Here, when the algorithm server generates the target state and the first virtual image based on the description information, it can first perform text recognition processing on the description information to obtain the recognition text corresponding to the description information, and use the recognition text as the current state of the target account; then perform keyword extraction on the recognition text to obtain at least one keyword corresponding to the recognition text; finally, based on the keyword, call the virtual image model to perform image prediction processing to obtain the first virtual image corresponding to the description information.
[0142] Among them, the virtual image model is obtained by training based on the keywords corresponding to the descriptive information samples and the virtual images associated with the descriptive information samples. The virtual image model may include an image template and an action template. The image template is called according to the keywords used to generate the virtual image to generate the corresponding virtual image (such as generating a virtual character with long hair and a skirt according to keywords such as long hair and skirt), and the action template is called according to the keywords used to generate the action to generate the corresponding action (such as generating playing games or fitness actions according to keywords such as playing games and fitness). The generated virtual image and action are superimposed to generate the corresponding first virtual image.
[0143] Step 303: The algorithm server returns the target state and the first virtual image corresponding to the target state to the first terminal.
[0144] Step 304: The algorithm server sends the target state and the first virtual image corresponding to the target state to the resource server for storage.
[0145] It should be noted that, in actual applications, after receiving the target state and the first virtual image corresponding to the target state, the first terminal can confirm whether to apply the target state and the first virtual image. If the first terminal does not apply the target state and the first virtual image, the first terminal can send a discard request to the resource server, so that the resource server deletes the target state and the first virtual image based on the discard request to reduce storage pressure; if the first terminal applies the target state and the first virtual image, there is no need to send a discard request to the resource server.
[0146] Step 305: The first terminal displays the first virtual image and social interaction controls corresponding to the target status in the status display area of the target account.
[0147] For example, see Figures 15-17, which are schematic diagrams of creating a virtual image provided by an embodiment of the present application. In Figure 15, when the target account clicks the "Auto Generate" button (i.e., the above-mentioned status image creation control), the corresponding descriptive information can be entered in the text input box through the virtual keyboard: "I am wearing a purple skirt and white shoes, playing with three cute brown puppies. They are so cute and sticking out their tongues at me, hahaha!", in response to the determination operation on the descriptive information (such as clicking the generate button), the information is used as the current social status of the target account (i.e., the target status), and the first virtual image generated according to the descriptive information is displayed (such as the background picture of a little girl playing with three puppies).
[0148] In Figure 16, when the current target state of the target account is "playing with three puppies" and the corresponding initial virtual image is (such as the background picture of a little girl playing with three puppies), when the target account clicks the "Auto Generate" button (that is, the above-mentioned state image creation control), the virtual keyboard can be used to enter descriptive information such as "It's summer vacation, it's so hot, and the sun is very strong" in the text input box. In response to the confirmation operation on the descriptive information (such as clicking the Generate button), the descriptive information is used as the current target state of the target account (that is, "the state of playing with three puppies" is changed to "It's summer vacation, it's so hot, and the sun is very strong"), and the displayed initial virtual image is switched to displaying the first virtual image generated according to the descriptive information (such as the background picture of a little girl basking in the sun).
[0149] In Figure 17, when the current target state of the target account is "fishing" and the corresponding initial virtual image (such as a background picture of a boy and a girl fishing), when the target account clicks the "Auto Generate" button (i.e., the above-mentioned state image creation control), the virtual keyboard can be used to enter descriptive information such as "The weather is good, my object is transformed into a big white bear, we sit together on a brown-striped picnic mat, play games together, and there is a puppy sitting next to us watching us play games" in the text input box. In response to the determination operation on the descriptive information (such as clicking the Generate button), key information is extracted from the descriptive information (such as two people sitting together on a picnic mat playing games, and a puppy is watching them playing games) as the current target state of the target account (i.e., "fishing" is changed to "playing games"), and the displayed initial virtual image is switched to displaying the first virtual image generated according to the key information in the descriptive information (such as two people sitting together on a picnic mat playing games, and a puppy is watching them playing games as a background picture).
[0150] Among them, the social interaction control (such as "form friend status" in Figures 15 to 17) is used to invite at least one social account to establish a social relationship with the target account in the target state.
[0151] Step 306: The first terminal sends a social invitation request to the data server in response to the social invitation operation for the target social account triggered by the social interaction control.
[0152] For example, refer to Figure 18, which is a social interaction schematic diagram provided by an embodiment of the present application. In response to a trigger operation on a social interaction control (such as forming a friend status), the first terminal displays at least one candidate social relationship for selection, such as forming a two-person status (for forming a couple relationship) and forming a multi-person status (for forming relationships such as besties / gay friends / best friends). When the user chooses to form a pair status, the terminal responds to the selection operation and displays at least one candidate social account and at least one type of social relationship (such as besties / gay friends / best friends) for selection, from which the target social account and the target type of social relationship (such as besties) can be selected. In response to the determination operation on the target social account and the target type of social relationship, a social invitation operation for the target social account is received, wherein the social invitation operation is used to invite the target social account and the target account to establish a social relationship of the target type (such as a bestie relationship) in the target status.
[0153] When the user chooses to form a two-person status, the terminal displays at least one candidate social account for selection in response to the selection operation, receives a social invitation operation for the target social account in response to the confirmation operation for the target social account, and sends a social invitation request to the data server, wherein the social invitation request is used to invite the target social account and the target account to form a target type of social relationship (i.e., a couple relationship) in the target status.
[0154] Step 307: The data server sends a social invitation request to the second terminal corresponding to the target social account.
[0155] After the data server sends the social interaction invitation request to the second terminal corresponding to the target social account, the corresponding feedback prompt information is displayed in the status display area of the first terminal to prompt waiting for the target social account to respond to the social interaction invitation request, such as the feedback prompt information "Invitation has been sent to friends, waiting for the other party to accept" shown in Figure 18.
[0156] Step 308: The second terminal sends a status resource acquisition request to the resource server.
[0157] Step 309: The resource server determines the corresponding state resource based on the state resource acquisition request, assembles social interaction invitation information according to the state resource, and returns the social interaction invitation information to the second terminal.
[0158] Among them, the social invitation request carries the state identifier of the target state and the relationship identifier of the target type of social relationship. Similarly, the state resource acquisition request carries the state identifier of the target state and the relationship identifier of the target type of social relationship. The resource server determines the corresponding state resource based on the state resource acquisition request, such as obtaining the corresponding target state based on the state identifier carried in the state resource acquisition request, obtaining the social state data of the corresponding social relationship chain according to the relationship identifier, and assembling the corresponding social interaction invitation information according to the target state and the social state data of the social relationship chain.
[0159] Step 310: The second terminal displays social interaction invitation information.
[0160] Among them, the social interaction invitation information can be displayed in the form of an information card. See Figure 19, which is a social interaction schematic diagram provided by an embodiment of the present application. Assuming that the target status of the target account (such as Xiao A) is "fishing in progress", the social interaction invitation information sent by the first terminal corresponding to the target account (i.e., Xiao A) is used to invite the target social account (i.e., Xiao B), other social accounts (such as Xiao C and Xiao D) to establish a bestie relationship with the target account (i.e., Xiao A) in the social status of "fishing in progress". When this happens, an information card is displayed on the second terminal corresponding to the target social account (i.e., Xiao B) and other social accounts (such as Xiao C and Xiao D), and the social interaction invitation information is displayed in the information card, such as: "Xiao A invites you and other 3 friends to form a bestie relationship and fish together", and a second virtual image is displayed on the information card as the background screen, wherein the second virtual image includes 4 virtual characters (the number of virtual characters is the same as the number of friends in the multi-person status, i.e., Xiao A, Xiao B, Xiao C and Xiao D, a total of 4 friends), which is used to preview the social relationship established between the target social account, other social accounts and the target account.
[0161] Step 311: The second terminal sends an invitation acceptance feedback message to the data server in response to the target social account's confirmation operation on the social interaction invitation message.
[0162] Still referring to Figure 19, interactive entrances for receiving or rejecting invitations can also be displayed, such as an accept button and a reject button. When the target social account or other social account agrees to the invitation, the accept button can be triggered to trigger a confirmation operation for the social interaction invitation information. The second terminal corresponding to the target social account responds to the confirmation operation and sends an acceptance invitation feedback information to the data server.
[0163] In actual applications, after receiving the social interaction invitation information, the second terminal can confirm whether to receive the invitation. If the second terminal does not accept the invitation, the second terminal can send a rejection invitation feedback information to the data server. Based on the rejection invitation feedback information, the data server notifies the resource server to delete the corresponding status resources, such as deleting the target status and the social status data of the corresponding social relationship chain to reduce storage pressure; at the same time, based on the rejection invitation feedback information, the data server informs the target account in the first terminal that the target social account of the second terminal has rejected the social interaction invitation (that is, rejected the synchronization of the social status).
[0164] Step 312: The data server sends a status update notification to the first terminal and the second terminal based on the invitation acceptance feedback information.
[0165] After the second terminal accepts the social interaction invitation and sends the acceptance feedback information to the data server, the data server sends a status update notification to the first terminal and the second terminal, wherein the status update notification may carry corresponding social status data (such as the status identifier of the corresponding social status, and the corresponding second virtual image). The first terminal and the second terminal display the interactive establishment indication information based on the social status data. As shown in Figure 19, the second virtual image and status prompt information (such as "fishing in progress") are displayed on the status card as interactive establishment indication information to indicate that the target social account has received the social interaction invitation. At this time, the social status of the target social account is set to the target status consistent with the target account (such as "fishing in progress", to achieve synchronization of social status), and a corresponding social relationship (i.e., a bestie relationship) is established between the target account and the target social account.
[0166] When a user triggers a status card, in response to the triggering operation on the status card, the details interface of the status card is displayed, and the target status of the target social account and the target account (such as "fishing"), a second virtual image used to represent that the target social account and the target account have established a close friend relationship, and interactive controls are displayed in the details interface. Through the interactive controls, the second virtual image displayed on the status card can be interacted with, such as sending emoticons to interact; in addition, a release control for releasing the social relationship is also displayed. Through the release control, the social relationship established between the target social account and the target account can be released (such as releasing the close friend relationship).
[0167] In addition, the virtual images displayed in the status display areas of the first terminal and the second terminal are updated. For example, in the second terminal, the current social status of the target social account is set as the target status, and the second virtual image corresponding to the target status is displayed in the status display area; in the first terminal, the first virtual image corresponding to the target status is replaced with the second virtual image to reflect that the social status of the target social account and the target account are both the target status (such as "fishing"), and a corresponding social relationship (i.e., a bestie relationship) is established between the target account and the target social account.
[0168] Through the above-described method, users can customize their social statuses and generate corresponding avatars. Specifically, within social status display applications, users can customize and generate avatars corresponding to their target statuses, increasing the flexibility and speed of avatar generation, and providing users with richer interactive content within the statuses. Furthermore, through the social interaction control, users can invite other social accounts to establish social relationships with the target account within the target status. When a target social account receives a social interaction invitation from the target account, the target account's first avatar is replaced with a second avatar. Since the second avatar indicates that a corresponding social relationship has been established between the target account and the target social account, upon receiving the social interaction invitation from the target account, the target account's social status can be automatically set to the same target status as the target account. Furthermore, the second avatar can be used to display the social status of multiple people, including the target social account (i.e., all in the target status), thereby increasing interactivity based on social status. Since both the first and second avatars correspond to the target status, the social status display application adds avatar elements, enriching the display style of social statuses and improving the utilization of graphics processing resources.
[0169] So far, the social interaction method provided by the embodiment of the present application has been described in combination with the exemplary application and implementation of the electronic device provided by the embodiment of the present application. The following will continue to describe the cooperation of various modules in the social interaction device 555 provided by the embodiment of the present application to implement the social interaction solution.
[0170] When the social interaction device is applied to a social invitation initiator, it includes: a first display module 5551, configured to display a status display area of a target account, wherein the status display area is used to display the social status of the target account; a second display module 5552, configured to display a first virtual image and a social interaction control corresponding to the target status in the status display area in response to the social status of the target account being a target status, wherein the social interaction control is used to invite at least one social account to establish a social relationship with the target account in the target status; a sending module 5553, configured to send a social interaction invitation message to a terminal corresponding to the target social account in response to a social invitation operation for the target social account triggered by the social interaction control; a replacement module 5554, configured to replace the first virtual image with a second virtual image corresponding to the target status when the target social account triggers a determination operation for the social interaction invitation message, wherein the second virtual image is used to indicate that the target account and the target social account have established the social relationship in the target status.
[0171] In some embodiments, before displaying the first virtual image corresponding to the target status in the status display area, the device also includes: a status setting module, configured to display a status setting control corresponding to the target account; in response to a trigger operation on the status setting control, displaying at least one candidate social status; in response to a selection operation on a target status from at least one candidate social status, setting the social status of the target account to the target status.
[0172] In some embodiments, the second display module is further configured to display a status image creation control corresponding to the target account; in response to an information editing operation triggered based on the status image creation control, determine at least one of the following types of descriptive information corresponding to the information editing operation: text, picture, audio and video; in response to a determination operation on the descriptive information, set the social status of the target account as a target status, and display a first virtual image corresponding to the target status in the status display area, wherein the target status is determined according to the descriptive information, and the first virtual image is generated based on the descriptive information.
[0173] In some embodiments, before setting the social status of the target account as the target status, the device also includes a status determination module, configured to perform text recognition processing on the description information to obtain the recognition text corresponding to the description information, and use the recognition text as the target status of the target account, or extract key information from the recognition text, and use the key information as the target status of the target account; before displaying the first virtual image corresponding to the target status in the status display area, the device also includes: an image determination module, configured to perform text recognition processing on the description information to obtain the recognition text of the description information; perform keyword extraction on the recognition text to obtain at least one keyword of the recognition text; based on the keyword, call the virtual image model to perform image prediction processing to obtain the first virtual image corresponding to the description information; wherein, the virtual image model is trained based on the keywords corresponding to the description information sample and the virtual image associated with the description information sample.
[0174] In some embodiments, the image determination module is further configured to, when the description information includes an expression element, perform expression recognition processing on the expression element to obtain recognition text for characterizing the mood or emotion conveyed by the expression element; when the description information is a picture, extract visual features and semantic features from the description information, perform feature fusion of the visual features with the semantic features to obtain multimodal features, and perform text recognition processing on the description information based on the multimodal features to obtain the recognition text of the description information; when the description information is audio or video, perform semantic understanding on the key frames of the description information to obtain semantic features, and perform text recognition processing based on the semantic features to obtain the recognition text of the description information.
[0175] In some embodiments, the image determination module is further configured to perform special effects conversion processing on the description information of the picture type when the type of the description information is a picture, obtain a corresponding special effects picture, and use the special effects picture as the first virtual image corresponding to the target state.
[0176] In some embodiments, before displaying the first virtual image corresponding to the target state in the state display area, the image determination module is further configured to display at least one image label in an operable state, wherein the image label is obtained by performing label recognition on the descriptive information and is used to indicate the image characteristics of the corresponding virtual image; in response to a selection operation on the target image label, a first virtual image that meets the image characteristics indicated by the target image label is obtained.
[0177] In some embodiments, the second display module is further configured to display an initial virtual image corresponding to the target state and a replacement control for replacing the initial virtual image in the state display area; in response to an information update operation triggered based on the replacement control, determine at least one of the following types of descriptive information corresponding to the information update operation: text, picture, audio and video; in response to a determination operation for the descriptive information, replace the initial virtual image displayed in the state display area with a first virtual image, wherein the first virtual image is generated based on the descriptive information.
[0178] In some embodiments, the second display module is further configured to display an initial virtual image corresponding to the target state and a replacement control for replacing the initial virtual image in the state display area; in response to a trigger operation on the replacement control, display at least one candidate virtual image corresponding to the target state, wherein the at least one candidate virtual image includes a first virtual image; in response to a selection operation on the first virtual image, replace the initial virtual image displayed in the state display area with the first virtual image.
[0179] In some embodiments, the image determination module is further configured to obtain a status identifier of the target state, and a correspondence between different social states and different virtual images; query the correspondence based on the status identifier, and use the queried virtual image as the first virtual image corresponding to the target state.
[0180] In some embodiments, the second display module is further configured to display social interaction controls corresponding to the at least two types of social relationships in the status display area when there are at least two types of social relationships; before sending the social interaction invitation information to the terminal corresponding to the target social account, the device also includes: an operation receiving module, configured to display at least one candidate social account and at least one type of social relationship for selection in response to a trigger operation on the social interaction control; in response to an account selection operation, determine the target social account selected by the account selection operation, and in response to a relationship selection operation, determine the target type of social relationship selected by the relationship selection operation; in response to the determination operation on the target social account and the target type of social relationship, receive a social invitation operation for the target social account, wherein the social invitation operation is used to invite the target social account and the target account to establish a social relationship of the target type in the target state.
[0181] In some embodiments, the second display module is further configured to display social interaction controls corresponding to each type of social relationship in the status display area when the type of the social relationship is at least two types; wherein there is a one-to-one correspondence between the social interaction controls and the types of the social relationships; the operation receiving module is further configured to display at least one candidate social account for selection in response to a triggering operation of a social interaction control corresponding to the social relationship of the target type; determine the target social account selected by the account selection operation in response to an account selection operation; receive a social invitation operation for the target social account in response to a determination operation for the target social account, wherein the social invitation operation is used to invite the target social account to establish a social relationship of the target type with the target account in the target state.
[0182] In some embodiments, the device also includes: a third display module, configured to display selection prompt information when the number of target social accounts selected by the account selection operation does not match the target number corresponding to the social relationship of the target type; wherein, the selection prompt information is used to prompt the reselection of the target number of target social accounts, and the target number is less than the number of accounts.
[0183] In some embodiments, after sending the social interaction invitation information to the terminal corresponding to the target social account, the device also includes: a fourth display module, configured to display feedback prompt information corresponding to the social interaction invitation information in the status display area; wherein, the feedback prompt information is used to prompt waiting for the target social account to feedback on the social interaction invitation information.
[0184] The present invention provides a social interaction device for a recipient of a social invitation, including:
[0185] an invitation display module configured to display the social interaction invitation information sent by the target account to the target social account in the interaction interface between the target social account and the target account;
[0186] The social interaction invitation information is used to invite the target social account to establish a social relationship with the target account in a target state, where the target state is the current social state of the target account;
[0187] an establishment display module configured to display interaction establishment indication information in response to a determination operation of the target social account with respect to the social interaction invitation information;
[0188] The interactive relationship establishment indication information is used to indicate that the social status of the target social account has been set to the target status, and the social relationship has been established between the target social account and the target account.
[0189] In some embodiments, the invitation display module is further configured to display an information card in the interactive interface between the target social account and the target account, and to display the social interaction invitation information sent by the target account to the target social account, as well as a third virtual image on the information card; wherein the third virtual image is used to preview the social relationship established between the target social account and the target account; accordingly, the establishment of relationship display module is further configured to display a status card indicating that the target social account is in the target state, and to display the third virtual image on the status card, so as to use the status card and the third virtual image as the interactive establishment of relationship indication information.
[0190] In some embodiments, the device also includes: a details display module, configured to display the details interface of the status card in response to a trigger operation on the status card, and display interactive controls on the details interface; wherein the interactive controls are used to interact with the third virtual image displayed on the status card.
[0191] In some embodiments, before displaying the interactive establishment indication information, the device also includes: an image display module, configured to display a fourth virtual image corresponding to the current status of the target social account in the status display area of the target social account in response to a status viewing operation on the target social account; after displaying the interactive establishment indication information, the device also includes: an image replacement module, configured to replace the fourth virtual image with the third virtual image in the status display area of the target social account.
[0192] In some embodiments, when the social interaction invitation information is also used to invite other social accounts to establish a social relationship with the target account in the target state, the third virtual image is used to preview the social relationship established between the target social account, the other social account and the target account; the establishment display module is also used to display a fifth virtual image on the status card when the other social account triggers a rejection operation for the social interaction invitation information, wherein the fifth virtual image is different from the third virtual image, and the fifth virtual image is used to indicate that the social relationship has been established between the target social account and the target account.
[0193] The present invention provides a computer program product comprising a computer program or computer-executable instructions stored in a computer-readable storage medium. A processor of an electronic device reads the computer-executable instructions from the computer-readable storage medium and executes the computer-executable instructions, causing the electronic device to perform the social interaction method described in the present invention.
[0194] An embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions, which stores computer-executable instructions or computer programs. When the computer-executable instructions or computer programs are executed by a processor, the processor will execute the xx method provided in the embodiment of the present application, for example, the social interaction method shown in Figure 3.
[0195] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface storage, optical disk, or CD-ROM; or various devices including one or any combination of the above memories.
[0196] In some embodiments, computer-executable instructions may be in the form of a program, software, software module, script, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
[0197] As an example, computer-executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinating files (e.g., files storing one or more modules, subroutines, or code portions).
[0198] By way of example, computer-executable instructions may be deployed to be executed on one electronic device, or on multiple electronic devices located at one site, or on multiple electronic devices distributed across multiple sites and interconnected by a communication network.
[0199] The above description is merely an embodiment of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent replacements, and improvements made within the spirit and scope of the present application are included in the scope of protection of the present application.
Claims
1. A social interaction method, the method being performed by an electronic device, the method comprising: Display a status display area of the target account, where the status display area is used to display the social status of the target account; In response to the target account's social status being a target status, displaying a first virtual image and a social interaction control corresponding to the target status in the status display area, wherein the social interaction control is used to invite at least one social account to establish a social relationship with the target account in the target status; In response to a social invitation operation for a target social account triggered based on the social interaction control, sending social interaction invitation information to a terminal corresponding to the target social account; When the target social account triggers a confirmation operation for the social interaction invitation information, the first virtual image is replaced with a second virtual image corresponding to the target state, wherein the second virtual image is used to indicate that the target account and the target social account have established the social relationship under the target state.
2. The method of claim 1, wherein: Before displaying the first virtual image corresponding to the target state in the state display area, the method further includes: Display the status setting control corresponding to the target account; In response to a trigger operation on the status setting control, displaying at least one candidate social status; In response to a selection operation on a target status among at least one candidate social status, the social status of the target account is set as the target status.
3. The method of claim 1, wherein: In response to the target account's social status being a target status, displaying a first virtual image corresponding to the target status in the status display area includes: Display the status image creation control corresponding to the target account; In response to an information editing operation triggered by the status image creation control, determining at least one of the following types of description information corresponding to the information editing operation: text, picture, audio and video; In response to a determination operation on the description information, setting the social status of the target account as a target status, and displaying a first virtual image corresponding to the target status in the status display area; The target state is determined according to the description information, and the first virtual image is generated based on the description information.
4. The method of claim 3, wherein: Before setting the social status of the target account as the target status, the method further includes: Performing text recognition processing on the description information to obtain recognized text of the description information, and using the recognized text as the target state of the target account, or extracting key information from the recognized text, and using the key information as the target state of the target account; Before displaying the first virtual image corresponding to the target state in the state display area, the method further includes: Extracting keywords from the recognized text to obtain at least one keyword of the recognized text; According to the keyword, calling the virtual image model to perform image prediction processing to obtain a first virtual image corresponding to the description information; The virtual image model is obtained by training based on keywords of the description information sample and the virtual image associated with the description information sample.
5. The method of claim 4, wherein: The performing text recognition processing on the description information to obtain the recognition text of the description information includes: When the description information includes an expression element, performing expression recognition processing on the expression element to obtain a recognition text for representing the mood or emotion conveyed by the expression element; When the type of the description information is a picture, extracting visual features and semantic features from the description information, performing feature fusion on the visual features and the semantic features to obtain multimodal features, and performing text recognition processing on the description information based on the multimodal features to obtain recognized text of the description information; When the type of the description information is audio or video, semantic understanding is performed on the key frames of the description information to obtain semantic features, and text recognition processing is performed based on the semantic features to obtain recognized text of the description information.
6. The method of claim 3, wherein: Before displaying the first virtual image corresponding to the target state in the state display area, the method further includes: When the type of the description information is a picture type, special effect conversion processing is performed on the description information of the picture type to obtain a special effect picture of the description information of the picture type, and the special effect picture is determined as the first virtual image corresponding to the target state.
7. The method of claim 3, wherein: Before displaying the first virtual image corresponding to the target state in the state display area, the method further includes: Displaying at least one image tag in an operable state, wherein the image tag is obtained by performing tag recognition on the description information and is used to indicate image characteristics of the corresponding virtual image; In response to a selection operation on a target image label, a first virtual image that meets the image characteristics indicated by the target image label is obtained.
8. The method of claim 1, wherein: The step of displaying the first virtual image corresponding to the target state in the state display area includes: Displaying an initial virtual image corresponding to the target state and a replacement control for replacing the initial virtual image in the state display area; In response to the information update operation triggered by the replacement control, determining description information of at least one of the following types corresponding to the information update operation: text, picture, audio and video; In response to a determination operation on the description information, the initial virtual image displayed in the status display area is replaced with a first virtual image, wherein the first virtual image is generated based on the description information.
9. The method of claim 1, wherein: The step of displaying the first virtual image corresponding to the target state in the state display area includes: Displaying an initial virtual image corresponding to the target state and a replacement control for replacing the initial virtual image in the state display area; In response to a trigger operation on the change control, displaying at least one candidate virtual image matching the target state, wherein the at least one candidate virtual image includes a first virtual image; In response to a selection operation on the first virtual image, the initial virtual image displayed in the status display area is replaced with the first virtual image.
10. The method of claim 1, wherein: Before displaying the first virtual image corresponding to the target state in the state display area, the method further includes: Acquire a state identifier of the target state, and a correspondence between different social states and different virtual images; The corresponding relationship is queried based on the state identifier, and the queried virtual image is used as the first virtual image corresponding to the target state.
11. The method of claim 1, wherein: The displaying of the social interaction controls in the status display area includes: When there are at least two types of social relationships, displaying social interaction controls corresponding to the at least two types of social relationships in the status display area; Before sending the social interaction invitation information to the terminal corresponding to the target social account, the method further includes: In response to a trigger operation on the social interaction control, displaying at least one candidate social account and at least one type of social relationship for selection; In response to an account selection operation, determining a target social account selected as indicated by the account selection operation, and in response to a relationship selection operation, determining a social relationship of a target type selected as indicated by the relationship selection operation; In response to a determination operation on the target social account and the target type of social relationship, a social invitation operation on the target social account is received, wherein the social invitation operation is used to invite the target social account to establish a social relationship of the target type with the target account in the target state.
12. The method of claim 1, wherein: The displaying of the social interaction controls in the status display area includes: When there are at least two types of the social relationship, displaying social interaction controls corresponding to each type of the social relationship in the status display area, wherein there is a one-to-one correspondence between the social interaction controls and the types of the social relationship; Before sending the social interaction invitation information to the terminal corresponding to the target social account, the method further includes: In response to a triggering operation of a social interaction control corresponding to a social relationship of a target type, displaying at least one candidate social account for selection; In response to the account selection operation, determining a target social account selected by the account selection operation; In response to a determination operation on the target social account, a social invitation operation on the target social account is received, wherein the social invitation operation is used to invite the target social account to establish a social relationship of the target type with the target account in the target state.
13. The method of claim 12, wherein: The method further comprises: When the number of target social accounts selected by the account selection operation does not match the target number corresponding to the social relationships of the target type, displaying selection prompt information; The selection prompt information is used to prompt the user to reselect another number of target social accounts, where the other number is less than the number of accounts.
14. The method of claim 1, wherein: After sending the social interaction invitation information to the terminal corresponding to the target social account, the method further includes: Displaying feedback prompt information corresponding to the social interaction invitation information in the status display area; The feedback prompt information is used to prompt waiting for the target social account to provide feedback on the social interaction invitation information.
15. A social interaction method, the method being performed by an electronic device, the method comprising: In the interaction interface between the target social account and the target account, the social messages sent by the target account to the target social account are displayed. Interaction invitation information; The social interaction invitation information is used to invite the target social account to establish a social relationship with the target account in a target state, where the target state is the current social state of the target account; In response to a determination operation of the target social account on the social interaction invitation information, displaying interaction establishment indication information; The interactive relationship establishment indication information is used to indicate that the social status of the target social account has been set to the target status, and the social relationship has been established between the target social account and the target account.
16. The method of claim 15, wherein: The step of displaying the social interaction invitation information sent by the target account to the target social account in the interaction interface between the target social account and the target account includes: Displaying an information card in an interaction interface between the target social account and the target account, and displaying social interaction invitation information sent by the target account to the target social account and a third virtual image on the information card; The third virtual image is used to preview the social relationship established between the target social account and the target account; The display of interactive establishment indication information includes: A status card for indicating that the target social account is in the target status is displayed, and the third virtual image is displayed on the status card, so that the status card and the third virtual image are used as the interactive establishment indication information.
17. The method of claim 16, wherein: The method further comprises: In response to a trigger operation on the status card, display a detail interface of the status card, and display interactive controls on the detail interface; Wherein, the interactive control is used to interact with the third virtual image displayed on the status card.
18. The method of claim 16, wherein: Before displaying the interactive establishment indication information, the method further includes: In response to a status viewing operation on the target social account, displaying a fourth virtual image corresponding to the current status of the target social account in a status display area of the target social account; After displaying the interactive establishment indication information, the method further includes: In the status display area of the target social account, the fourth virtual image is replaced with the third virtual image.
19. The method of claim 16, wherein: When the social interaction invitation information is also used to invite other social accounts to establish a social relationship with the target account in the target state, the third virtual image is used to preview the social relationship established between the target social account, the other social accounts and the target account; The display of interactive establishment indication information includes: When the other social account triggers a rejection operation for the social interaction invitation information, a fifth virtual image is displayed on the status card, wherein the fifth virtual image is different from the third virtual image, and the fifth virtual image is used to indicate that the social relationship has been established between the target social account and the target account.
20. A social interaction device, comprising: A first display module, configured to display a status display area of a target account, wherein the status display area is used to display a social status of the target account; a second display module, configured to display, in response to the target account being in a target state as the social state, a first virtual image and a social interaction control corresponding to the target state in the state display area, wherein the social interaction control is used to invite at least one social account to establish a social relationship with the target account in the target state; A sending module, configured to send social interaction invitation information to a terminal corresponding to the target social account in response to a social invitation operation for the target social account triggered based on the social interaction control; The replacement module is configured to replace the first virtual image with a second virtual image corresponding to the target state when the target social account triggers a confirmation operation for the social interaction invitation information, wherein the second virtual image is used to indicate that the target account and the target social account have established the social relationship under the target state.
21. A social interaction device, comprising: An invitation display module, configured to display the social interaction invitation information sent by the target account to the target social account in the interaction interface between the target social account and the target account; The social interaction invitation information is used to invite the target social account to establish a social relationship with the target account in a target state, where the target state is the current social state of the target account; A relationship establishment display module, configured to display interaction relationship establishment indication information in response to a determination operation of the target social account with respect to the social interaction invitation information; The interactive relationship establishment indication information is used to indicate that the social status of the target social account has been set to the target status, and the social relationship has been established between the target social account and the target account.
22. An electronic device comprising: a memory configured to store computer executable instructions or computer programs; The processor is configured to execute the computer executable instructions or computer programs stored in the memory to implement claims 1 to 19. The social interaction method according to any one of items 19.
23. A computer-readable storage medium storing computer-executable instructions or a computer program, wherein when the computer-executable instructions or the computer program are executed by a processor, the social interaction method according to any one of claims 1 to 19 is implemented.
24. A computer program product, comprising a computer program or computer executable instructions, wherein when the computer program or computer executable instructions are executed by a processor, the social interaction method according to any one of claims 1 to 19 is implemented.
Citation Information
Patent Citations
Display state information control method and device, electronic equipment and storage medium
CN110717974A
Game invitation method and device, computer equipment and storage medium
CN113413615A
Information processing method and device, computer readable medium and electronic equipment
CN114527912A
Social interaction method and device, electronic equipment, storage medium and program product
CN116974364A
