Function configuration method and device, computer device and storage medium
By engaging in conversations with AI objects within the application to instruct and confirm recommended resources, the problem of complex function configuration in existing technologies is solved, enabling convenient configuration of configuration items and improving human-computer interaction efficiency and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- TENCENT TECHNOLOGY (SHENZHEN) CO LTD
- Filing Date
- 2025-01-21
- Publication Date
- 2026-07-21
AI Technical Summary
The complex configuration process of existing applications leads to low efficiency in human-computer interaction.
By engaging in conversations with the AI object within the application, the AI object is instructed to perform configuration-related operations for the target function and to display recommended resources. After user confirmation, the configuration items are configured in the function interface.
It enables convenient configuration of configuration items, improving human-computer interaction efficiency and user experience.
Smart Images

Figure CN122431764A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a functional configuration method, apparatus, computer device, and storage medium. Background Technology
[0002] With the development of computer technology, applications are becoming increasingly popular among users. Currently, applications offer a variety of functions, such as chat functionality and interaction with friends, allowing users to utilize any of these functions. However, using any function within a current application requires relatively complex operations, resulting in low human-computer interaction efficiency. Summary of the Invention
[0003] This application provides a function configuration method, apparatus, computer device, and storage medium, which can improve the efficiency of human-computer interaction. The technical solution is as follows:
[0004] On the one hand, a function configuration method is provided, the method comprising:
[0005] In the first session interface of the application, the first session message of the local object is displayed, which instructs the artificial intelligence object to perform an operation related to the configuration items of the application's target function;
[0006] In the first session interface, the first response message of the artificial intelligence object is displayed, and the first response message includes a first recommended resource for the operation;
[0007] In response to the confirmation operation of the first recommended resource, the configuration items configured based on the first recommended resource are displayed in the function interface of the target function.
[0008] On the other hand, a function configuration device is provided, the device comprising:
[0009] The display module is used to display the first session message of the local object in the first session interface of the application. The first session message instructs the artificial intelligence object to perform an operation related to the configuration items of the target function of the application.
[0010] The display module is further configured to display a first response message from the artificial intelligence object in the first session interface, the first response message including a first recommended resource for the operation;
[0011] The display module is further configured to, in response to a confirmation operation of the first recommended resource, display configuration items configured based on the first recommended resource in the function interface of the target function.
[0012] In one possible implementation, the first session message includes first instruction information and configuration requirement information. The first instruction information instructs the AI object to perform an operation related to the configuration item of the target function according to the configuration requirement information, and the first recommended resource satisfies the configuration requirement information; or...
[0013] The first session message includes a second instruction, which instructs the AI object to perform an operation related to the configuration item of the target function according to default conditions; or...
[0014] The first session message includes a third instruction message and configuration items configured based on reference resources. The third instruction message instructs the artificial intelligence object to perform an adjustment operation on the configuration items configured based on the reference resources.
[0015] In another possible implementation, the display module is further configured to display at least one object that is associated with the local object, the at least one object including the artificial intelligence object; and to display the first session interface in response to a session initiation operation on the artificial intelligence object.
[0016] In another possible implementation, the display module is configured to display the first session message in response to an input operation in the first session interface; or, if n function options are displayed in the first session interface, the first session message is displayed in response to a trigger operation on a target function option, wherein the target function option is any one of the n function options, and n is an integer greater than 1.
[0017] In another possible implementation, the display module is further configured to display the functional interface, which displays a first help option, the first help option being used to request help from the artificial intelligence object;
[0018] The display module is used to display the first session message in the first session interface in response to the triggering operation of the first help option.
[0019] In another possible implementation, the display module is configured to, in response to a triggering operation of the first help option, display the first session message in the first session interface if there is an association between the local object and the artificial intelligence object.
[0020] In another possible implementation, the display module is configured to, in response to a triggering operation of the first help option, display an establishment prompt message indicating the establishment of an association with the artificial intelligence object when there is no association between the local object and the artificial intelligence object; and, in response to a confirmation operation of the establishment prompt message, establish an association between the local object and the artificial intelligence object, and display the first session message in the first session interface.
[0021] In another possible implementation, the first recommended resource is generated based on the object information of the local object; or...
[0022] The first recommended resource is a randomly generated resource; or,
[0023] The first recommended resource is a resource randomly selected from multiple resources included in the resource library; or,
[0024] The first recommended resource is generated based on the historical sessions with the local object; or,
[0025] The first recommended resource is generated based on this session.
[0026] In another possible implementation, the display module is further configured to display a second response message from the AI object in the first session interface, the second response message indicating the duration required for the AI object to respond to the first session message.
[0027] In another possible implementation, the display module is further configured to display a second session message of the local object in the first session interface, the second session message instructing the AI object to re-execute the operation related to the configuration item; and to display a third reply message of the AI object in the first session interface, the third reply message including a second recommended resource for the operation.
[0028] In another possible implementation, the target function is a virtual resource package function, the function interface is a resource package configuration interface, and the configuration item is the cover of the virtual resource package; the display module is used to display the cover of the first recommended resource in the resource package configuration interface in response to the confirmation operation of the first recommended resource.
[0029] In another possible implementation, the display module is further configured to display a second session interface of the application, the second session interface displaying a second help option, the second session interface being a session interface between the local object and other objects, and the second help option being used to initiate a help request to the artificial intelligence object for the virtual resource package function;
[0030] The display module is configured to display the first session message in the first session interface in response to a trigger operation of the second help option;
[0031] The display module is also used to respond to the resource package sending operation in the second session interface and display the virtual resource package of the cover in the second session interface.
[0032] In another possible implementation, when the second session interface is a session interface between the local object and any other object, the first recommended resource is generated based on the object information of the object; or...
[0033] When the second session interface is a group session interface, the first recommended resource is generated based on the group information of the group session.
[0034] In another possible implementation, the target function is an interactive information publishing function, the function interface is an information publishing interface, and the configuration item is the interactive information to be published; the display module is used to display the interactive information including the first recommended resource in the information publishing interface in response to the confirmation operation of the first recommended resource.
[0035] In another possible implementation, the display module is further configured to publish the interactive information in response to a publishing operation of the interactive information.
[0036] In another possible implementation, the target function is an emoji function, and the function interface is an emoji display interface; the display module is used to display emojis including the first recommended resource in the emoji display interface in response to the confirmation operation of the first recommended resource.
[0037] On the other hand, a computer device is provided, the computer device including a processor and a memory, the memory storing at least one computer program, the at least one computer program being loaded and executed by the processor to perform the operations performed by the function configuration method as described above.
[0038] On the other hand, a computer-readable storage medium is provided that stores at least one computer program, which is loaded and executed by a processor to perform the operations performed by the functional configuration method as described above.
[0039] In another aspect, a computer program product is provided, comprising a computer program that, when executed by a processor, performs the operations performed by the function configuration method described above.
[0040] In the solution provided in this application embodiment, the application has a conversation function and a target function. By engaging in a conversation with an artificial intelligence object within the application, the user can request the artificial intelligence object to perform operations related to the configuration items of the application's target function. This allows the artificial intelligence object to assist the user in configuring the configuration items, and then displays the recommended resources obtained by the artificial intelligence object in the conversation interface. In response to the confirmation operation of the first recommended resource, the configuration items configured based on the first recommended resource are displayed in the function interface of the target function. This provides a convenient way to configure configuration items, enabling configuration items to be configured with the help of the capabilities of the artificial intelligence object. Users do not need to create the resources required for configuring configuration items themselves, nor do they need to perform complex operations to configure the configuration items, thus ensuring the convenience of configuring configuration items, improving human-computer interaction efficiency, and ultimately enhancing the user experience. Attached Figure Description
[0041] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0042] Figure 1 This is a structural block diagram of a computer system provided in an embodiment of this application;
[0043] Figure 2 This is a flowchart of a functional configuration method provided in an embodiment of this application;
[0044] Figure 3 This is a flowchart of a functional configuration method provided in an embodiment of this application;
[0045] Figure 4 This is a flowchart of a functional configuration method provided in an embodiment of this application;
[0046] Figure 5 This is a flowchart of a functional configuration method provided in an embodiment of this application;
[0047] Figure 6 This is a flowchart of a functional configuration method provided in an embodiment of this application;
[0048] Figure 7 This is a flowchart of a functional configuration method provided in an embodiment of this application;
[0049] Figure 8 This is a schematic diagram of an interface provided in an embodiment of this application;
[0050] Figure 9This is a flowchart of a functional configuration method provided in an embodiment of this application;
[0051] Figure 10 This is a flowchart of a functional configuration method provided in an embodiment of this application;
[0052] Figure 11 This is a schematic diagram of an interface provided in an embodiment of this application;
[0053] Figure 12 This is a schematic diagram of an interface provided in an embodiment of this application;
[0054] Figure 13 This is a schematic diagram of an interface provided in an embodiment of this application;
[0055] Figure 14 This is a schematic diagram of an interface provided in an embodiment of this application;
[0056] Figure 15 This is a schematic diagram of an interface provided in an embodiment of this application;
[0057] Figure 16 This is a schematic diagram of an interface provided in an embodiment of this application;
[0058] Figure 17 This is a schematic diagram of the structure of a functional configuration device provided in an embodiment of this application;
[0059] Figure 18 This is a schematic diagram of the structure of a terminal provided in an embodiment of this application;
[0060] Figure 19 This is a schematic diagram of the structure of a server provided in an embodiment of this application. Detailed Implementation
[0061] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the implementation methods of this application will be further described in detail below with reference to the accompanying drawings.
[0062] The terms “first,” “second,” “third,” etc., used in this application may be used to describe various concepts, but unless otherwise stated, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another. For example, without departing from the scope of this application, a first response message may be referred to as a second response message, and similarly, a second response message may be referred to as a first response message.
[0063] As used in this application, the terms "at least one", "multiple", "each", and "any" mean that at least one includes one, two, or more than two; multiple includes two or more than two; each refers to each of the corresponding multiple; and any means refers to any one of the multiple. For example, multiple functions include three functions, where each refers to each of the three functions, and any means refers to any one of the three functions, which could be the first function, or the second function, or the third function.
[0064] It should be noted that all information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data used for analysis, stored data, displayed data, etc.), and signals involved in this application have been authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions. For example, the conversation messages and reply messages involved in this application were obtained with full authorization.
[0065] Figure 1 This is a structural block diagram of a computer system provided in an embodiment of this application. See also... Figure 1 The computer system includes a first terminal 101, a server 102, and a second terminal 103.
[0066] The first terminal 101 has an application 111 installed and running. Optionally, the application 111 can be any type of application. For example, the application 111 can be an instant messaging application, a game application, etc. The first terminal 101 is the terminal used by the first user. The first terminal 101 logs into the application 111 based on a first object and can communicate with other objects through the application 111, including artificial intelligence objects. The first object represents the first user; for the first terminal 101, the first object is the local object of the first terminal 101.
[0067] The second terminal 103 has application 131 installed and running. The second terminal 103 is the terminal used by the second user. The second terminal 103 logs into application 111 based on the second object and can communicate with other objects through application 111, as well as with artificial intelligence objects. The second object is used to represent the second user. For the second terminal 103, the second object is the local object of the second terminal 103.
[0068] The first terminal 101 is connected to the server 102 via a wireless or wired network, and the second terminal 103 is also connected to the server 102 via a wireless or wired network. The server 102 provides background services for the application 111. The server 102 includes at least one of a single server, multiple servers, or a virtualization center. For example, the server 102 includes a processor and a memory. The memory further includes a receiving module and a sending module. The receiving module receives requests sent by clients, such as message sending requests or session requests. The sending module sends responses to clients, such as sending information to clients. Optionally, the server 102 undertakes the primary computing work, while the first terminal 101 and the second terminal 103 undertake secondary computing work; or, the server 102 undertakes secondary computing work, while the first terminal 101 and the second terminal 103 undertake the primary computing work; or, the server 102, the first terminal 101, and the second terminal 103 collaborate using a distributed computing architecture.
[0069] Optionally, the applications installed on the first terminal 101 and the second terminal 103 are the same, or the applications installed on the three terminals are the same type of application on different operating system platforms. The first terminal 101 can refer to one of multiple terminals, and the second terminal 103 can refer to one of multiple terminals; this embodiment only uses the first terminal 101 and the second terminal 103 as examples. The device types of the first terminal 101 and the second terminal 103 may be the same or different, and these device types include at least one of the following: smartphones, smartwatches, smart TVs, tablets, wearable devices, in-vehicle terminals, MP3 players, MP4 players, laptops, and desktop computers. The following embodiment uses smartphones as an example.
[0070] Furthermore, during the process of configuring the configuration items of the target function through application 111 on the first terminal 101, taking the target function as the virtual resource package function and the configuration item as the cover of the virtual resource package function as an example, the screen displayed by the first terminal 101 through application 111 is as follows: Figure 1 As shown in (1)-(3) in the figure. The first conversation interface displayed by the first terminal 101 through the application 111 is shown in the figure (1). In the figure (1), the conversation message 113 of the first object 112 is displayed. After that, the first conversation interface displayed by the first terminal 101 through the application 111 is shown in the figure (2). In the figure (2), the reply message 115 of the artificial intelligence object 114 is displayed in the first conversation interface. The reply message 115 includes the first recommended resource 116. Taking the first recommended resource 116 as an image as an example, the first user clicks on the first recommended resource 116 through the terminal 101. The terminal 101 displays the function interface of the target function through the application 111. The function interface is shown in the figure (3). In the figure (3), the cover of the virtual resource package is set to the first recommended resource 116.
[0071] Those skilled in the art will understand that the number of terminals described above can be more or less. For example, there may be only one terminal, or there may be dozens or hundreds of terminals, or even more. This application does not limit the number of terminals or the type of device.
[0072] Figure 2 This is a flowchart of a function configuration method provided in an embodiment of this application. Taking the method executed by a terminal as an example, as follows... Figure 2 As shown, the method includes:
[0073] 201. In the first session interface of the application, the terminal displays the first session message of the local object. The first session message instructs the artificial intelligence object to perform operations related to the configuration items of the application's target function.
[0074] In this embodiment, the application provides not only a conversational function but also other functions, with the target function being any function other than the conversational function. Users can engage in conversations with other objects within the application, such as with an artificial intelligence object, through a terminal. Furthermore, through these conversations, users can request the artificial intelligence object to perform operations related to configuration items for the application's target function. This allows the artificial intelligence object to assist the user in configuring these items, eliminating the need for the user to perform complex operations and ensuring ease of configuration.
[0075] The "local object" refers to the object used by the terminal login application. This object can be represented in any form; for example, it could be the account used by the terminal login application, represented as a string, name, or other format. The "artificial intelligence object" represents the artificial intelligence robot. This object can also be represented in any form; for example, it could be the account or name of the artificial intelligence robot. The first conversation interface is the interface between the local object and the artificial intelligence object. That is, the user represented by the local object can interact with the artificial intelligence robot through the terminal in the first conversation interface. The artificial intelligence robot can also be called a conversational AI (Artificial Intelligence) robot. An artificial intelligence robot is essentially an intelligent system that uses natural language processing and machine learning technologies to engage in natural and fluent dialogue with humans, generating corresponding response messages by understanding the input conversational messages.
[0076] The target function can be any function provided by the application, such as a virtual resource pack function, an emoticon function, or an interactive information publishing function. Configuration items represent any configuration parameter of the target function or a specific element within the target function. For example, if the target function is a virtual resource pack function, the configuration item could be the cover of the virtual resource pack; or if the target function is an emoticon function, the configuration item could be the emoticons within the emoticon function; or if the target function is an interactive information publishing function, the configuration item could be the interactive information to be published within the interactive information publishing function.
[0077] In this embodiment of the application, in the first conversation interface between the local object and the artificial intelligence object, a conversation message can be sent to the artificial intelligence object to instruct the artificial intelligence object to perform operations related to the configuration items of the application's target function, so as to ask the artificial intelligence object for help to configure the configuration items, thereby realizing a way to ask the artificial intelligence object for help through a conversation.
[0078] 202. In the first session interface, the terminal displays the first response message from the artificial intelligence object, which includes the first recommended resource for the operation.
[0079] In this embodiment, after the local object sends a first session message to the artificial intelligence object, the artificial intelligence object can recommend resources for configuring configuration items to the local object and reply to the first session message in the first session interface. Then, the first reply message of the artificial intelligence object is displayed in the first session interface so that the user can know the recommended resources of the artificial intelligence object for the operation by viewing the first session interface.
[0080] The first recommended resource is a resource that can be configured with configuration items. The first recommended resource can be any type of resource, such as an image, text, or video.
[0081] 203. In response to the confirmation operation of the first recommended resource, the terminal displays the configuration items configured based on the first recommended resource in the function interface of the target function.
[0082] In this embodiment of the application, when a first reply message is displayed in the first session interface, if the user is satisfied with the first recommended resource replied by the artificial intelligence object, the user can trigger a confirmation operation on the first recommended resource through the terminal, which is equivalent to triggering an operation based on the configuration items configured based on the first recommended resource. Then the function interface of the target function is displayed, and the configuration items configured based on the first recommended resource are displayed in the function interface, realizing a convenient way to configure the configuration items.
[0083] The target function's interface is used to configure the target function's configuration items. The interface can display the configured configuration items or configure the configuration items.
[0084] In the solution provided in this application embodiment, the application has a conversation function and a target function. By engaging in a conversation with an artificial intelligence object within the application, the user can request the artificial intelligence object to perform operations related to the configuration items of the application's target function. This allows the artificial intelligence object to assist the user in configuring the configuration items, and then displays the recommended resources obtained by the artificial intelligence object in the conversation interface. In response to the confirmation operation of the first recommended resource, the configuration items configured based on the first recommended resource are displayed in the function interface of the target function. This provides a convenient way to configure configuration items, enabling configuration items to be configured with the help of the capabilities of the artificial intelligence object. Users do not need to create the resources required for configuring configuration items themselves, nor do they need to perform complex operations to configure the configuration items, thus ensuring the convenience of configuring configuration items, improving human-computer interaction efficiency, and ultimately enhancing the user experience.
[0085] exist Figure 2 Based on the illustrated embodiment, this application embodiment initiates a conversation with an artificial intelligence object by displaying an object that is associated with the local object. For details of the process, please refer to the following embodiment.
[0086] Figure 3 This is a flowchart of a function configuration method provided in an embodiment of this application. Taking the method executed by a terminal as an example, as follows... Figure 3 As shown, the method includes:
[0087] 301. The terminal displays at least one object that is associated with the local object, and the at least one object includes an artificial intelligence object.
[0088] In this embodiment of the application, the local object is associated with at least one object in the application. The terminal can display at least one object associated with the local object through the application so that it can select any object from the displayed objects to start a session.
[0089] In this context, objects associated with the current object are equivalent to the current object's friends; that is, the current object has at least one friend in the application. An association can be of any type, such as a friend relationship or a follow relationship. Objects associated with the current object can be of any type; for example, an object associated with the current object can represent any user or any group. When an object associated with the current object represents a group, it means that the current object belongs to that group.
[0090] In one possible implementation, step 301 includes: the terminal displays an object list in the application's object display interface, the object list including objects that are associated with objects on the local terminal.
[0091] In this application, the object display interface is used to display a list of objects that are associated with the local object. By displaying the object list in the application's object display interface, users can select objects from the object list to start a session.
[0092] 302. The terminal responds to the session initiated by the artificial intelligence object and displays the first session interface.
[0093] In this embodiment of the application, when the terminal displays at least one object that is associated with the local object through the application, the user can trigger a session initiation operation for the artificial intelligence object among the at least one object through the terminal, thereby displaying a session interface with the artificial intelligence object, so as to communicate with the artificial intelligence object in the session interface and ensure the convenience of session initiation.
[0094] The session initiation operation can be any type of operation, such as a click operation, a long press operation, etc.
[0095] For example, the terminal displays at least one object that is associated with the local object through the application, and the user clicks on any object through the terminal, and the terminal displays a session interface with that object through the application.
[0096] It should be noted that the embodiments of this application are illustrated by taking the example of initiating a conversation with an artificial intelligence object by displaying an object that has an association with the local object. In another embodiment, it is not necessary to perform the above steps 301-302, but other methods are used to initiate a conversation between the local object and the artificial intelligence object.
[0097] 303. In the first session interface of the application, the terminal displays the first session message of the local object. The first session message instructs the artificial intelligence object to perform operations related to the configuration items of the application's target function.
[0098] In one possible implementation, the content of the first session message can be in one of the following three ways.
[0099] The first method: The first session message includes first instruction information and configuration requirement information. The first instruction information instructs the artificial intelligence object to perform operations related to the configuration items of the application's target function according to the configuration requirement information. The first recommended resource satisfies the configuration requirement information.
[0100] In this embodiment, the configuration requirement information indicates the requirement to configure the configuration item, that is, it reflects what kind of configuration item the user wants, while the first indication information indicates how the artificial intelligence object should process it. In this way, the content of the first session message is enriched, which can improve the accuracy of the first session message in describing the user's intent, thereby ensuring that the subsequent session can satisfy the user and thus improve the user experience.
[0101] The first instruction information and the configuration requirement information can be any type of information. For example, the first instruction information can be text, image, or video, and the configuration requirement information can be text, image, or video.
[0102] For example, the first session message is "I want a comic-style virtual resource pack cover", where the configuration requirement information is "comic style" and the first instruction information is "configure the cover of the virtual resource pack".
[0103] The second approach: The first session message includes a second instruction message, which instructs the AI object to perform operations related to the configuration items of the application's target function according to default conditions.
[0104] In this embodiment, the second instruction information can instruct the artificial intelligence object to process according to default conditions, so that the artificial intelligence object can reply to the first session message, realize the interaction between the local object and the artificial intelligence object, and thus improve the user experience.
[0105] The second indication information can be of any type, such as text, image, or video. The default conditions indicate the configuration method for the configuration items of the target function. In this embodiment, if the first session message does not indicate other configuration methods, the AI object performs operations related to the configuration items of the application's target function according to the default conditions.
[0106] The third approach: The first session message includes a third instruction message and configuration items configured based on reference resources. The third instruction message instructs the AI object to perform adjustment operations on the configuration items configured based on reference resources.
[0107] In this embodiment, the user can configure configuration items based on reference resources through the terminal, and the first session message sent to the artificial intelligence object includes third instruction information and configuration items configured based on the reference resources, so that the artificial intelligence object can adjust the configuration items configured based on the reference resources according to the third instruction information to generate a new configuration item. This enriches the interaction between the local object and the artificial intelligence object and can improve the user experience.
[0108] For example, taking the configuration of the cover of a virtual resource pack as an example, the first session message includes a third instruction message and a cover image. The cover image is a configuration item configured through a reference image. The third instruction message instructs the artificial intelligence object to adjust the cover image through the virtual resource pack function so that the cover of the virtual resource pack function can be configured based on the adjusted cover image in the future.
[0109] In one possible implementation, when the first session interface is displayed, the user can input session messages in the first session interface through the terminal. That is, the process of displaying the first session message includes either of the following two methods.
[0110] The first method: respond to input operations in the first session interface and display the first session message.
[0111] In this embodiment of the application, after the terminal displays the first session interface through the application, the user can input any information in the first session interface through the terminal. The terminal displays the input information as a session message in the first session interface. In this way, the user can input any information as a session message, ensuring the flexibility of the session and thus improving the user experience.
[0112] Optionally, if the first session interface includes a message display area and an input area, then the first method includes: in response to an input operation in the input area, obtaining the input information and displaying the input information in the input area; in response to a sending operation of the information in the input area, displaying a first session message including the information in the message display area.
[0113] In this embodiment, the message display area is used to display conversation messages between the local object and the AI object, while the input area is used to input conversation messages. After any information is entered in the input area, a sending operation is triggered on the information already displayed in the input area, which is equivalent to triggering an operation to send the information entered in the input area as a conversation message to the AI object. Then, the conversation message including the input information is displayed in the message display area.
[0114] The second method: When n function options are displayed in the first session interface, in response to the triggering operation of the target function option, the first session message is displayed. The target function option is any one of the n function options, where n is an integer greater than 1.
[0115] In this embodiment, the first conversation interface displays n function options that reflect the capabilities of the artificial intelligence object. That is, it reflects that the artificial intelligence object can perform corresponding operations on the functions represented by the n function options. This makes it convenient for the user to trigger any function option to ask the artificial intelligence object for help, and then automatically input the corresponding conversation message to instruct the artificial intelligence object to perform the corresponding operation. This eliminates the need for the user to manually input conversation messages, improves the display effect of the conversation between the local object and the artificial intelligence object, and thus improves the user experience.
[0116] The first session interface displays n function options, each corresponding one-to-one with multiple functions of the application. The target function option corresponds to the application's target function. Function options can be represented in any form, such as buttons or links. The first session message is essentially a pre-set session message for the target function option. Once the user triggers the target function option, it triggers the sending of the first session message to the AI object in the first session interface. Different function options correspond to different pre-set session messages. The pre-set session message for any function option instructs the AI object to perform an operation on the configuration item through the function corresponding to that option.
[0117] Optionally, if a set of options is displayed in the first session interface, the process of displaying n function options includes: in response to a triggering operation on the set of options, displaying n function options in the first session interface.
[0118] In this embodiment, the first session interface displays only the set options by default. Only when the set options are triggered will the n function options be displayed. This avoids visual interference caused by displaying too many function options in the first session interface and improves the display effect of the first session interface.
[0119] In one possible implementation, the two methods of displaying the first session message described above can be combined: the first session interface displays a switching option for switching the input method of the session message. When the first session interface is displayed, if the first session message can be input in the first method described above, in response to the triggering operation of the switching option, the first session message can be input in the second method described above.
[0120] Optionally, the switching options display an identifier, which includes a first identifier or a second identifier. The first identifier is used to indicate the first method described above, and the second identifier is used to indicate the second method described above.
[0121] For example, if the switching options display a first identifier, it means that the first session message can be entered in the first way described above; if the switching options display a second identifier, it means that the first session message can be entered in the second way.
[0122] For example, if the first conversation message can be entered in the first way described above, a second identifier will be displayed in the switching options to indicate that the way of entering the conversation message can be switched from the first way to the second way through the switching options; if the first conversation message can be entered in the second way, a first identifier will be displayed in the switching options to indicate that the way of entering the conversation message can be switched from the second way to the first way through the switching options.
[0123] 304. In the first session interface, the terminal displays the first response message from the artificial intelligence object, which includes the first recommended resource for the operation.
[0124] In one possible implementation, step 304 includes: displaying the first response message in a first session interface in response to receiving a first response message from an AI object.
[0125] In this embodiment of the application, after the local object sends a first session message to the artificial intelligence object, if it can receive a reply message from the artificial intelligence object, it will be displayed in the first session interface for the user to view.
[0126] In one possible implementation, the first recommended resource can be generated in any of the following five ways.
[0127] The first method: The first recommended resource is generated based on the object information of the local object.
[0128] In this embodiment, object information is used to represent the preferences of the local object. The artificial intelligence object responds with the first recommended resource based on the object information of the local object, realizing the personalized configuration of the recommended resource. This enables the first recommended resource to meet the satisfaction of the local object as much as possible, thereby improving the user experience.
[0129] Among them, object information refers to the object information that has been authorized by the local object. For example, object information is user-defined interest tags.
[0130] The second method: The first recommended resource is a randomly generated resource.
[0131] In this embodiment, the first recommended resource is a randomly generated resource. This ensures the randomness of the recommended resource and avoids the AI object responding with the same recommended resource when multiple requests are made, thereby improving the user experience.
[0132] The third method: The first recommended resource is a resource randomly selected from multiple resources included in the resource library.
[0133] In this embodiment of the application, multiple resources are pre-stored in the resource library, and a resource can be randomly selected from the resource library as the first recommended resource to ensure the randomness of the recommended resources and thus improve the user experience.
[0134] The fourth method: The first recommended resource is generated based on the historical session with the local object.
[0135] In this embodiment, the historical session refers to the historical session between the local object and the artificial intelligence object. Responding to the first recommended resource based on the historical session can ensure that the first recommended resource can satisfy the user, thereby improving the user experience.
[0136] Among them, the historical session is the historical session that the local object has authorized. That is, if the local object has authorized the use of the historical session, the artificial intelligence object can generate the first recommended resource based on the local object's historical session.
[0137] The fifth method: The first recommended resource is generated based on this session.
[0138] In this embodiment of the application, when the first session interface is displayed, the local object can have one or more rounds of dialogue with the artificial intelligence object in the first session interface. One or more rounds of dialogue can instruct the artificial intelligence object on how to perform operations related to configuration items, and then generate the first recommended resource in combination with the current session, so as to ensure that the first recommended resource can meet the user's satisfaction as much as possible, thereby improving the user experience.
[0139] In one possible implementation, where the AI object represents the AI robot, the process of displaying the first reply message includes: the terminal sending a first session message to the server; the server generating a first recommended resource based on the AI robot and the first session message, according to any of the four methods mentioned above, and sending a first reply message including the first recommended resource to the terminal; the terminal receiving the first reply message and displaying the first reply message of the AI object in the first session interface.
[0140] Among them, the AI robot is an artificial intelligence model, which is also equivalent to an intelligent chatbot. The AI robot can respond to the conversational messages sent by the user, and the server is used to provide services to the AI robot.
[0141] 305. In response to the confirmation operation of the first recommended resource, the terminal displays the configuration items configured based on the first recommended resource in the function interface of the target function.
[0142] In one possible implementation, the first reply message further includes a confirmation option for the first recommended resource. In this case, step 305 includes: in response to the confirmation operation of the confirmation option, the terminal switches the first session interface to the function interface of the target function, and displays the configuration items configured based on the first recommended resource in the function interface.
[0143] In this embodiment of the application, the first reply message also includes a confirmation option for the first recommended resource. If the first recommended resource meets the user's requirements, the user can trigger the confirmation option to enable the terminal to configure the configuration items based on the first recommended resource so that the configuration items configured based on the first recommended resource can be displayed in the function interface. This provides a convenient way to configure the configuration items, improves configuration efficiency, and enhances the user experience.
[0144] The confirmation option can be any type of option; for example, the confirmation option can be a button or a link.
[0145] For example, taking the target function as the virtual resource pack function and the configuration item as the cover of the virtual resource pack as an example, the first reply message includes the cover image and "use as the cover of the virtual resource pack", and "use as the cover of the virtual resource pack" can be triggered. "Use as the cover of the virtual resource pack" is equivalent to a confirmation option. When the user triggers "use as the cover of the virtual resource pack", this cover image is configured as the cover of the virtual resource pack and displayed in the function interface.
[0146] In one possible implementation, step 305 includes: in response to a confirmation operation on the first recommended resource, the terminal displays a preview of the configuration items configured based on the first recommended resource and a confirmation option in the function interface of the target function; in response to a trigger operation on the confirmation option, the terminal displays the configuration items configured based on the first recommended resource.
[0147] In this embodiment, a confirmation operation for the first recommended resource is triggered in the first session interface. This not only redirects the user to the function interface but also displays a preview of the configuration items based on the first recommended resource for the user to view. If the user is satisfied, a confirmation option can be triggered, and the configuration items will be configured according to the preview. This allows the user to further confirm the configuration items in the function interface, avoiding the situation where the user is dissatisfied with the configuration items based on the first recommended resource and needs to delete them again, thus ensuring a good user experience.
[0148] In the solution provided in this application embodiment, the application has a conversation function and a target function. By engaging in a conversation with an artificial intelligence object within the application, the user can request the artificial intelligence object to perform operations related to the configuration items of the application's target function. This allows the artificial intelligence object to assist the user in configuring the configuration items, and then displays the recommended resources obtained by the artificial intelligence object in the conversation interface. In response to the confirmation operation of the first recommended resource, the configuration items configured based on the first recommended resource are displayed in the function interface of the target function. This provides a convenient way to configure configuration items, enabling configuration items to be configured with the help of the capabilities of the artificial intelligence object. Users do not need to create the resources required for configuring configuration items themselves, nor do they need to perform complex operations to configure the configuration items, thus ensuring the convenience of configuration item configuration, improving human-computer interaction efficiency, and ultimately enhancing the user experience.
[0149] exist Figure 2 Based on the embodiments shown, in this application embodiment, a conversation with an artificial intelligence object is initiated through a functional interface, and the specific process is detailed in the following embodiments.
[0150] Figure 4 This is a flowchart of a function configuration method provided in an embodiment of this application. Taking the method executed by a terminal as an example, as follows... Figure 4 As shown, the method includes:
[0151] 401. The terminal displays the function interface of the target function in the application. The function interface displays a first help option, which is used to request help from the artificial intelligence object.
[0152] In this embodiment, when the terminal displays the function interface of the target function through the application, it can configure the target function, such as configuring the configuration items of the target function, or the function interface can display the currently configured configuration items. When the function interface is displayed, a first help option is shown, which can initiate a help request to the artificial intelligence object so that the artificial intelligence object can help the local object configure the configuration items.
[0153] The first help option can be any type of option; for example, the first help option can be a button.
[0154] In one possible implementation, if the function interface of the target function displays configuration options, the process of displaying the first help option includes: in response to the triggering operation of the configuration options, displaying multiple resource entry options, including the first help option.
[0155] Different resource entry options are used to obtain resources for configuring configuration items in different ways.
[0156] For example, taking the target function as the virtual resource package function and the configuration item as the cover of the virtual resource package, the function interface of the target function is the cover configuration interface of the virtual resource package. When the user clicks the configuration option in the cover configuration interface through the terminal, the multiple resource entry options displayed are: "Select from album", "Select from video channel", and "Generate with artificial intelligence object". Among them, "Generate with artificial intelligence object" is equivalent to the first help option.
[0157] 402. In response to the triggering operation of the first help option, the terminal displays the first session message in the first session interface.
[0158] In this embodiment, when the function interface is displayed, a first help option is shown. If the triggering operation of the first help option is detected, it is equivalent to triggering an operation to ask the artificial intelligence object for help. Then, a first conversation interface is displayed so that communication with the artificial intelligence object can be carried out in the first conversation interface. This allows the artificial intelligence object to help the local object configure the configuration items, which improves the convenience of the artificial intelligence object assisting the local object in configuring the configuration items. It eliminates the need for the user to perform complex operations, thereby ensuring the efficiency of subsequent configuration and improving the user experience.
[0159] Among them, the first session message is an automatically entered session message, which is a session message related to the first help option.
[0160] In one possible implementation, step 402 includes: in response to a triggering operation of the first help option, if there is an association between the local object and the artificial intelligence object, displaying a first session message in the first session interface.
[0161] In this embodiment, a conversation with an AI object can only be initiated if there is an association between the two objects. Triggering the first help option is equivalent to initiating a conversation with the AI object. If there is an association between the local object and the AI object, the conversation can be successfully initiated. This enables various objects to interact with the AI object, thereby improving the user experience.
[0162] In one possible implementation, step 402 includes: in response to a triggering operation of the first help option, if there is no association between the local object and the artificial intelligence object, displaying an establishment prompt message, the establishment prompt message indicating the establishment of an association with the artificial intelligence object; in response to a confirmation operation of the establishment prompt message, establishing an association between the local object and the artificial intelligence object, and displaying a first session message in the first session interface.
[0163] In this embodiment, a conversation with an AI object can only be initiated if there is an association between the two objects. Triggering the first help option is equivalent to initiating a conversation with the AI object. If there is no association between the local object and the AI object, a prompt message will be displayed first to establish the association between the local object and the AI object, thereby successfully initiating a conversation. This encourages interaction between the objects and the AI object, thereby improving the user experience.
[0164] It should be noted that the above description is based on the example that a conversation with an AI object can only be initiated when there is an association between the local object and the AI object. In another embodiment, a conversation with an AI object can be initiated regardless of whether there is an association between the local object and the AI object.
[0165] In one possible implementation, step 402 includes: in response to a triggering operation of the first help option, displaying a prompt message and a confirmation option; in response to a triggering operation of the confirmation option, displaying a first session interface; and displaying the first session message of the local object in the first session interface.
[0166] The prompt message is used to remind users of information protection when requesting help from an AI object.
[0167] In this embodiment of the application, when a request for help is made to an AI object, a prompt message and a confirmation option will be displayed. The conversation with the AI object will only be initiated if the user triggers the confirmation option, thus ensuring the security of the relevant information of the local object.
[0168] It should be noted that the embodiments of this application are illustrated by taking the initiation of a conversation with an artificial intelligence object through a functional interface as an example. In another embodiment, it is not necessary to perform the above steps 401-402. Instead, other methods are adopted. In the first conversation interface of the application, the first conversation message of the local object is displayed. The first conversation message instructs the artificial intelligence object to perform operations related to the configuration items of the application's target function.
[0169] 403. In the first session interface, the terminal displays the first response message from the artificial intelligence object, which includes the first recommended resource for the operation.
[0170] 404. In response to the confirmation operation of the first recommended resource, the terminal displays the configuration items configured based on the first recommended resource in the function interface of the target function.
[0171] It should be noted that steps 403-404 are the same as steps 304-305 above, and will not be repeated here.
[0172] In the solution provided in this application embodiment, the application has a conversation function and a target function. By engaging in a conversation with an artificial intelligence object within the application, the user can request the artificial intelligence object to perform operations related to the configuration items of the application's target function. This allows the artificial intelligence object to assist the user in configuring the configuration items, and then displays the recommended resources obtained by the artificial intelligence object in the conversation interface. In response to the confirmation operation of the first recommended resource, the configuration items configured based on the first recommended resource are displayed in the function interface of the target function. This provides a convenient way to configure configuration items, enabling configuration items to be configured with the help of the capabilities of the artificial intelligence object. Users do not need to create the resources required for configuring configuration items themselves, nor do they need to perform complex operations to configure the configuration items, thus ensuring the convenience of configuration item configuration, improving human-computer interaction efficiency, and ultimately enhancing the user experience.
[0173] exist Figure 2 Based on the illustrated embodiment, in this embodiment of the application, before the artificial intelligence object replies to the first conversation message, it first replies with a message indicating the duration of waiting. For details of the process, please refer to the following embodiment.
[0174] Figure 5 This is a flowchart of a function configuration method provided in an embodiment of this application. Taking the method executed by a terminal as an example, as follows... Figure 5 As shown, the method includes:
[0175] 501. In the first session interface of the application, the terminal displays the first session message of the local object. The first session message instructs the artificial intelligence object to perform operations related to the configuration items of the application's target function.
[0176] It should be noted that step 501 is the same as steps 201 and 303 above, and will not be repeated here.
[0177] 502. In the first session interface, the terminal displays the second reply message of the artificial intelligence object, which indicates the time required for the artificial intelligence object to reply to the first session message.
[0178] In this embodiment, considering that the AI object may need to wait for a period of time to reply to the first session message, after the local object sends the first session message to the AI object, the AI object first replies with a second reply message to indicate the time required for the AI object to reply to the first session message. This allows the user to know the required waiting time, avoiding the situation where the AI object takes too long to reply to the first session message, thus improving the user experience.
[0179] In one possible implementation, step 502 includes: if the duration exceeds a preset duration, displaying a second response message from the AI object in the first session interface.
[0180] In this embodiment, considering the difference in the time required for the AI object to reply to the first conversation message, the AI object will only send a second reply message to the local object if the time required is longer than a preset time, and then display it in the first conversation interface. This avoids message redundancy caused by the short time required for the AI object to reply to the first conversation message, thereby ensuring the user's conversation experience.
[0181] The preset duration can be any length, for example, 30 seconds or 1 minute.
[0182] Optionally, the second reply message is sent by the server that provides services to the artificial intelligence object. After receiving the first session message, the server determines the time required to reply to the first session message based on the first session message. If the time is longer than a preset time, the server sends the second reply message to the terminal. The second reply message includes the waiting time. The terminal displays the second reply message in the first session interface.
[0183] In this embodiment, after receiving the first session message, the server estimates the time required to reply to the first session message. If the time exceeds the preset time, it first sends a second reply message to the terminal. After obtaining the first recommended resource, it directly sends a first reply message including the first recommended resource to the terminal. If the time is not greater than the preset time, it does not send a second reply message to the terminal. After obtaining the first recommended resource, it directly sends a first reply message including the first recommended resource to the terminal.
[0184] Optionally, the process of estimating the time required to reply to the first session message includes: processing the first session message using a large language model to obtain the complexity of the first session message, and determining the time required to reply to the first session message based on the complexity.
[0185] In this embodiment of the application, the large language model is used to estimate the complexity of the operation indicated by the session message. Considering that the more complex the operation, the longer it takes, the duration is determined based on the complexity to ensure the accuracy of the duration.
[0186] Optionally, based on the complexity of the first session message, the correspondence between complexity and duration is queried to obtain the duration required to reply to the first session message; or, the product of complexity and duration corresponding to unit complexity is determined as the duration required to reply to the first session message.
[0187] The relationship between complexity and duration includes multiple complexities and the duration corresponding to each complexity, while the duration corresponding to a unit complexity is any duration.
[0188] It should be noted that the embodiments of this application are described using the example of displaying the second reply message first. In another embodiment, it is not necessary to perform the above step 502. Instead, after displaying the first session message, only the first reply message needs to be displayed.
[0189] 503. In the first session interface, the terminal displays the first response message from the artificial intelligence object, which includes the first recommended resource for the operation.
[0190] 504. In response to the confirmation operation of the first recommended resource, the terminal displays the configuration items configured based on the first recommended resource in the function interface of the target function.
[0191] It should be noted that steps 503-504 are the same as steps 304-305 above, and will not be repeated here.
[0192] In the solution provided in this application embodiment, the application has a conversation function and a target function. By engaging in a conversation with an artificial intelligence object within the application, the user can request the artificial intelligence object to perform operations related to the configuration items of the application's target function. This allows the artificial intelligence object to assist the user in configuring the configuration items, and then displays the recommended resources obtained by the artificial intelligence object in the conversation interface. In response to the confirmation operation of the first recommended resource, the configuration items configured based on the first recommended resource are displayed in the function interface of the target function. This provides a convenient way to configure configuration items, enabling configuration items to be configured with the help of the capabilities of the artificial intelligence object. Users do not need to create the resources required for configuring configuration items themselves, nor do they need to perform complex operations to configure the configuration items, thus ensuring the convenience of configuration item configuration, improving human-computer interaction efficiency, and ultimately enhancing the user experience.
[0193] exist Figure 2 Based on the illustrated embodiment, in this embodiment of the application, if the user is not satisfied with the first recommended resource, the artificial intelligence object can be allowed to reply with a new recommended resource. The specific process is detailed in the following embodiment.
[0194] Figure 6 This is a flowchart of a function configuration method provided in an embodiment of this application. Taking the method executed by a terminal as an example, as follows... Figure 6 As shown, the method includes:
[0195] 601. In the first session interface of the application, the terminal displays the first session message of the local object. The first session message instructs the artificial intelligence object to perform operations related to the configuration items of the application's target function.
[0196] 602. In the first session interface, the terminal displays the first response message from the artificial intelligence object, which includes the first recommended resource for the operation.
[0197] It should be noted that steps 601-602 are the same as steps 303-304 above, and will not be repeated here.
[0198] 603. In the first session interface, the terminal displays the second session message of the local object. The second session message instructs the artificial intelligence object to re-execute the operation related to the configuration items of the application's target function.
[0199] In this embodiment of the application, when the first reply message is displayed in the first session interface, the user can view the first recommended resource in the first reply message through the terminal. If the user is not satisfied with the first recommended resource, the user can send a new session message to the artificial intelligence object to instruct the artificial intelligence object to re-execute the operation related to the configuration item of the target function so as to reply with a resource different from the first recommended resource. This enriches the interaction between the local object and the artificial intelligence object, and ensures that the local object is provided with resources that meet the user's satisfaction as much as possible, thereby improving the user experience.
[0200] The method of entering the second session message in the first session interface is the same as the method of entering the first session message in the first session interface, and will not be repeated here.
[0201] 604. In the first session interface, the terminal displays the third response message from the artificial intelligence object, which includes a second recommended resource for the operation.
[0202] In this embodiment, the second recommended resource is different from the first recommended resource. Since the AI object has already responded to the first session message, and upon receiving the second session message sent by the local object, it indicates that the local object is not satisfied with the first recommended resource, the AI object can then re-execute the operations related to the configuration items of the application's target function in order to regenerate a recommended resource for the local object.
[0203] In one possible implementation, the second recommended resource is generated by generating the second recommended resource based on the second session message and the first recommended resource.
[0204] In this embodiment of the application, since receiving the second session message indicates that the user is not satisfied with the first recommended resource, the second recommended resource is generated by combining the second session message and the first recommended resource. This is to generate a resource that is different from the first recommended resource, so as to ensure that the second recommended resource satisfies the user as much as possible and to ensure the accuracy of the second recommended resource.
[0205] 605. In response to the confirmation operation of the second recommended resource, the terminal displays the configuration items configured based on the second recommended resource in the function interface of the target function.
[0206] It should be noted that step 605 is the same as step 305 above, and will not be repeated here.
[0207] It should be noted that the embodiments of this application are illustrated by taking the example of an artificial intelligence object re-executing the operation related to the configuration items of the target function of the application. In another embodiment, it is not necessary to execute the above steps 603-605, but the configuration items can be configured based on the first recommended resource.
[0208] In this embodiment, the application has a conversation function and a target function. By engaging in a conversation with an AI object within the application, the user can request the AI object to perform operations related to the configuration items of the application's target function. This allows the AI object to assist the user in configuring the configuration items, and the recommended resources obtained by the AI object's operations are displayed in the conversation interface. When a first reply message is displayed in the first conversation interface, the user can view the first recommended resource in the first reply message through the terminal. If the user is not satisfied with the first recommended resource, they can send a new conversation message to the AI object to instruct the AI object to re-execute the operations related to the configuration items of the target function, so as to reply with a resource different from the first recommended resource. This enriches the interaction between the local object and the AI object, and ensures that the local object is provided with resources that meet its satisfaction as much as possible, thereby improving the user experience.
[0209] exist Figure 2 Based on the illustrated embodiments, in this application embodiment, the target function is the virtual resource package function, and the configuration item is the cover of the virtual resource package. For details of the process, please refer to the following embodiments.
[0210] Figure 7 This is a flowchart of a function configuration method provided in an embodiment of this application. Taking the method executed by a terminal as an example, as follows... Figure 7 As shown, the method includes:
[0211] 701. In the first session interface of the application, the terminal displays the first session message of the local object. The first session message instructs the artificial intelligence object to perform operations related to the cover of the virtual resource package of the application's virtual resource package function.
[0212] In this embodiment, the target function is the virtual resource pack function, and the configuration item is the cover of the virtual resource pack. By conversing with an artificial intelligence object, it is possible to request the artificial intelligence object to configure the cover of the virtual resource pack.
[0213] A virtual resource package is a virtual carrier for transferring virtual resources between at least two objects. Optionally, these at least two objects are associated with each other in the application or belong to the same group. A virtual resource package includes at least one virtual resource, which may be virtual coins, game equipment, virtual costumes, points, virtual coupons, etc., and this application embodiment does not limit this. For example, an object can receive one resource from the virtual resource package. In this application embodiment, the virtual resource package may also be called a virtual red envelope, electronic red envelope, etc.
[0214] 702. In the first session interface, the terminal displays the first response message from the artificial intelligence object, which includes the first recommended resource for the operation.
[0215] It should be noted that step 702 is the same as step 304 above, and will not be repeated here.
[0216] 703. In response to the confirmation operation of the first recommended resource, the terminal displays a cover page including the first recommended resource in the resource package configuration interface.
[0217] In this embodiment, the functional interface of the target function is a resource package configuration interface. When the terminal detects a confirmation operation on the first recommended resource in the first session interface, it sets the first recommended resource as the cover of the virtual resource package and displays the resource package configuration interface. The resource package configuration interface displays the cover including the first recommended resource so that the user can view the display effect of the virtual resource package cover.
[0218] It should be noted that the embodiments of this application are illustrated using the example of the target function being the virtual resource package function and the configuration item being the cover of the virtual resource package. In another embodiment, the target function may be other functions, or the configuration item may be other items of the target function. In this case, it is not necessary to execute the above step 703. Instead, other methods are adopted to respond to the confirmation operation of the first recommended resource by displaying the configuration item configured based on the first recommended resource in the function interface of the target function.
[0219] In this embodiment, the application has a conversation function and a virtual resource pack function. By engaging in a conversation with an AI object within the application, the user can request the AI object to perform operations related to the cover of the application's virtual resource pack function. This allows the AI object to assist the user in configuring the cover of the virtual resource pack function, and then displays the recommended resources obtained by the AI object in the conversation interface. In response to the confirmation operation of the first recommended resource, the cover including the first recommended resource is displayed in the resource pack configuration interface. This provides a convenient way to configure the cover of the virtual resource pack function, eliminating the need for the user to create and configure the resources required for the cover of the virtual resource pack function, and eliminating the need for the user to perform complex operations to configure the cover of the virtual resource pack function. This ensures the convenience of configuring the cover of the virtual resource pack function, thereby improving the efficiency of human-computer interaction and enhancing the user experience.
[0220] It should be noted that the above Figure 7 and Figure 4 The illustrated embodiments can be combined. As described above... Figure 7 and Figure 4 The illustrated embodiment, taking the configuration of the virtual resource package cover as an example, will display the following on the terminal during the configuration process: Figure 8 The interface shown. Figure 8 The screen (1) shown is the cover configuration interface, which displays an "Add Image" button 801. When the user clicks the "Add Image" button 801 on the terminal, the cover configuration interface displayed on the terminal is as follows: Figure 8 As shown in screen (2), the multiple resource entry options 802 displayed in the cover configuration interface are: "Select from album", "Select from video channel", and "Generate with AI object". When the user clicks "Generate with AI object" on the terminal, the cover configuration interface displayed on the terminal is as follows: Figure 8 As shown in screen (3), the cover configuration interface displays a prompt message 803 indicating information protection when requesting help from an AI object, an "Agree" button 804, and a "Refuse" button 805. When the user clicks the "Agree" button 804 on the terminal, the first session interface displayed on the terminal is as follows: Figure 8 As shown in screen (4), the screen (4) displays the message "Give me a red envelope cover" automatically entered by the local object, and displays the reply message from the artificial intelligence object. The reply message "Use as red envelope cover" is the confirmation option for the cover image. When the user clicks the confirmation option on the terminal, the terminal will display the cover configuration interface, which displays red envelope covers including the image.
[0221] Furthermore, the terminal displays as follows Figure 8When the user is in the first conversation interface shown in Figure (4), they can continue to have a conversation with the AI object through the terminal in the conversation interface shown in Figure (4) above, to explain their requirements for the red envelope cover. The AI object will create the corresponding picture and reply in the first conversation interface.
[0222] In the above Figure 7 Based on the illustrated embodiment, the first session interface is initiated through a second session interface. That is, the method includes: displaying the application's second session interface, which displays a second help option. The second session interface is a session interface between the local object and other objects. The second help option is used to initiate a help request for the virtual resource package function to the artificial intelligence object. In response to the triggering operation of the second help option, a first session message is displayed in the first session interface. Then, steps 701-703 above are executed. In response to the resource package sending operation in the second session interface, the virtual resource package with the cover is displayed in the second session interface.
[0223] In this embodiment, when the second conversation interface is displayed, the local object can engage in conversations with other objects and send virtual resource packages to other objects within the second conversation interface. Furthermore, the second conversation interface displays a second help option, allowing the user to request assistance from an AI object. The AI object then assists the user in configuring the cover of the virtual resource package, enabling the local object to send the newly configured cover virtual resource package within the second conversation interface. This enriches the ways to interact with other objects, allowing the user to configure the cover of the virtual resource package during conversations, ensuring ease of cover configuration, and thus improving the user experience.
[0224] The second conversation interface can be any type of interface. For example, the second conversation interface is a conversation interface between the local object and any other object, or a group conversation interface.
[0225] In one possible implementation, the process of displaying an interactive set of options and a second help option in the second session interface includes: in response to a triggering operation on the interactive set of options, displaying multiple interactive options in the second session interface, the multiple interactive options including a virtual resource package option; in response to a triggering operation on the virtual resource package option, displaying an editing interface for the virtual resource package, the editing interface being used to edit the virtual resource package to be sent in the second session interface, the editing interface displaying a cover of the virtual resource package; in response to a triggering operation on the cover of the virtual resource package, displaying a resource package configuration interface, the resource package configuration interface displaying configuration options; and in response to a triggering operation on the configuration options, displaying multiple resource entry options, the multiple resource entry options including the second help option.
[0226] In this embodiment, the second session interface only displays the interaction set option by default. Multiple interaction options are only displayed when the interaction set option is triggered, allowing interaction with other objects within the second session interface. The virtual resource pack option allows sending virtual resource packs within the second session interface. Specifically, the virtual resource pack option displays an editing interface for virtual resource packs, allowing configuration of the quantity of virtual resources in the pack and the number of objects that can claim them. Confirmation in the editing interface sends the virtual resource pack to the second session interface according to the configured quantity of virtual resources and the number of objects. Different resource entry options are used to obtain resources for configuring settings in different ways.
[0227] Optionally, the second session interface may generate the first recommended resource in different ways at different times. The process of generating the first recommended resource includes the following two methods.
[0228] The first approach: When the second session interface is a session interface between the local object and any other object, the first recommended resource is generated based on the object's object information.
[0229] In this embodiment, the second session interface is a session interface between the local object and any other object. The first recommended resource is generated by combining the object information of the object, so that the first recommended resource matches the object's preferences. In this way, the local object can send a virtual resource package with the cover of the first recommended resource in the second session interface, which can improve the interaction between the local object and the other object, thereby improving the user interaction experience.
[0230] Here, the object refers to any object that has a relationship with the object on this end, such as any friend of the object on this end. The object information of the object is used to describe the object, and since the object information of the object is the object information of the object, the first recommended resource can be generated based on the object information of the object.
[0231] The second approach: When the second session interface is a group session interface, the first recommended resource is generated based on the group information of the group session.
[0232] The group information is used to describe the group conversation. For example, the group information describes what kind of group the conversation is, such as a technical exchange group, a shopping sharing group, a travel group, etc.
[0233] In this embodiment, the second session interface is a group session interface. The first recommended resource is generated by combining the group information of the group session, so that the first recommended resource matches the group session. In this way, the local object can send a virtual resource package with the cover of the first recommended resource in the second session interface, which can improve the interaction between the local object and other objects in the group session, thereby improving the interactive experience between users.
[0234] For example, if the group session is a travel group, that is, the second session interface is the travel group interface, then the first recommended resource related to travel is generated according to the group information of the routing group. In this way, after configuring the cover of the virtual resource package of the first recommended resource, the local object can send the virtual resource package with the cover related to travel in the travel group interface, making the virtual resource package more in line with the theme of the travel group, thereby improving the interaction effect with other objects.
[0235] exist Figure 2 Based on the embodiments shown, in this application embodiment, the target function is the interactive information publishing function, and the configuration item is the interactive information to be published. For details of the process, please refer to the following embodiments.
[0236] Figure 9 This is a flowchart of a function configuration method provided in an embodiment of this application. Taking the method executed by a terminal as an example, as follows... Figure 9 As shown, the method includes:
[0237] 901. In the first session interface of the application, the terminal displays the first session message of the local object. The first session message instructs the artificial intelligence object to perform operations related to the interactive information to be published in the interactive information publishing function.
[0238] In this embodiment, the target function is an interactive information publishing function, and the configuration item is the interactive information to be published. By engaging in a conversation with an artificial intelligence object, it is possible to request assistance from the artificial intelligence object to configure the interactive information to be published.
[0239] Interactive information is used to interact with other objects. Interactive information can be of any type, such as text, images, or videos.
[0240] In this embodiment of the application, the local object can publish interactive information through the application, and other objects can view the interactive information published by the local object through the application, and can also perform interactive operations on the interactive information, thereby interacting with the local object.
[0241] For example, a local object can publish an interactive message, and other objects can comment, like, or share the interactive message when viewing it.
[0242] In one possible implementation, the application provides an interactive space for displaying interactive information published by the local object or other objects. That is, when any object publishes interactive information through the application, it can publish the interactive information in the interactive space.
[0243] 902. In the first session interface, the terminal displays the first response message from the artificial intelligence object, which includes the first recommended resource for the operation.
[0244] It should be noted that step 902 is the same as step 304 above, and will not be repeated here.
[0245] 903. In response to the confirmation operation of the first recommended resource, the terminal displays interactive information including the first recommended resource in the information publishing interface.
[0246] In this embodiment, the functional interface of the target function is an information publishing interface, which is used to edit interactive information to be published. When the terminal detects a confirmation operation on the first recommended resource in the first session interface, it displays the first recommended resource as interactive information to be published in the information publishing interface, allowing the user to view the interactive information to be published. This facilitates user operation, eliminating the need for manual editing of the interactive information to be published, ensuring the convenience of publishing interactive information, and thus improving the user experience.
[0247] In one possible implementation, step 903 includes: publishing the interactive information in response to the publishing operation of the interactive information.
[0248] In this embodiment of the application, when the information publishing interface displays interactive information that includes the first recommended resource and is to be published, once the publishing operation of the interactive information is detected, the interactive information is published so that other objects can view it. The process of publishing interactive information does not require the user to perform complex editing operations, thus ensuring the convenience of publishing interactive information.
[0249] Optionally, the interactive information can be edited before it is published. That is, the method further includes: when interactive information including the first recommended resource is displayed in the information publishing interface, in response to the update operation of the interactive information, displaying the updated interactive information, and in response to the publishing operation of the updated interactive information, publishing the updated interactive information.
[0250] In this embodiment, after editing the interactive information to be published by interacting with an artificial intelligence object, the interactive information to be published can be edited again, and then the edited interactive information can be published, which improves the flexibility of publishing interactive information and thus enhances the user experience.
[0251] In this embodiment, the application has a conversation function and an interactive information publishing function. By engaging in a conversation with an artificial intelligence object within the application, the user can request the artificial intelligence object to perform operations related to the application's interactive information publishing function. This allows the artificial intelligence object to help the user configure the interactive information to be published, and then display the recommended resources obtained by the artificial intelligence object in the conversation interface. In response to the confirmation operation of the first recommended resource, the interactive information including the first recommended resource is displayed in the information publishing interface. This provides a convenient way to configure interactive information without requiring the user to create the interactive information themselves or perform complex operations to configure it, thus ensuring the convenience of configuring interactive information, improving human-computer interaction efficiency, and ultimately enhancing the user experience.
[0252] exist Figure 2 Based on the embodiments shown, in this application embodiment, the target function is an emoji function, and the specific process is detailed in the following embodiments.
[0253] Figure 10 This is a flowchart of a function configuration method provided in an embodiment of this application. Taking the method executed by a terminal as an example, as follows... Figure 10 As shown, the method includes:
[0254] 1001. In the first session interface of the application, the terminal displays the first session message of the local object. The first session message instructs the artificial intelligence object to perform operations related to the emoji function.
[0255] In this embodiment, the target function is an emoji function, and the configuration item is emojis. By conversing with an AI object, it is possible to request assistance from the AI object to configure emojis.
[0256] Emoticons are visual symbols composed of images, animations, and text. They express various emotions, thoughts, or situations in a concise, intuitive, and humorous way. Emoticons come in various forms, including still images, animated images, and short videos.
[0257] 1002. In the first session interface, the terminal displays the first response message from the artificial intelligence object, which includes the first recommended resource for the operation.
[0258] It should be noted that step 1002 is the same as step 304 above, and will not be repeated here.
[0259] 1003. In response to the confirmation operation of the first recommended resource, the terminal displays an emoticon that includes the first recommended resource in the emoticon display interface.
[0260] The emoticon display interface is used to display emoticons. Optionally, the emoticon display interface is used to display emoticons that can be used by the local object, or to display emoticons owned by the local object.
[0261] In this embodiment of the application, the functional interface of the target function is an emoticon display interface. This emoticon display interface is used to display emoticons. When the terminal detects the confirmation operation of the first recommended resource in the first conversation interface, it configures the first recommended resource as an emoticon and displays it in the emoticon display interface so that the user can view the configured emoticons and use the emoticons in the emoticon display interface to communicate with the target during subsequent conversations. The user does not need to perform complicated operations during the creation of emoticons, which ensures the convenience of creating emoticons and thus improves the user experience.
[0262] It should be noted that the above embodiment is illustrated by configuring the configuration items of the target function through a conversation with an artificial intelligence object. In another embodiment, it is also possible to chat with the artificial intelligence object through the application, or to ask the artificial intelligence object for help to perform other operations.
[0263] For example, the local object can request an artificial intelligence object to summarize the article, and the conversation interface is as follows: Figure 11 As shown, in Figure 11 In the conversation interface shown, the local object forwards an article 1101 to the artificial intelligence object and sends a conversation message 1102 "Summarize the article". The artificial intelligence object can then summarize the content of the article and send the summarized content 1103 as a reply message in the conversation interface.
[0264] For example, a local object can engage in casual conversation with an AI object. The terminal displays a conversation list interface through the application, such as... Figure 12 As shown in screen (1), the conversation list interface displays historical conversations 1201 that the current object has participated in. Taking the user clicking on conversation 1202 with the AI object as an example, the terminal will display the conversation interface with the AI object, such as... Figure 12 As shown in screen (2), the local object can send conversation message 1 to the artificial intelligence object in the conversation interface, such as voice, text, emoticons, etc. The artificial intelligence object can reply to the conversation message 1 in the conversation interface, that is, reply message 2.
[0265] Based on the embodiments shown above, users can establish a relationship between local objects and artificial intelligence objects through the terminal in the application.
[0266] The terminal displays the object search interface as follows: Figure 13As shown in screen (1), the object search interface displays an input area 1301; taking the user entering the name of the object in the input area as an example, the object search interface displayed on the terminal is as follows. Figure 13 As shown in screen (2), the input area of the object search interface displays the name of the artificial intelligence object, and also displays search option 1302; when the user clicks search option 1302 on the terminal, the object search interface displayed on the terminal is as follows. Figure 13 As shown in screen (3), the object search interface displays search options 1304 for the AI object 1303 with the input name and other objects; when the user clicks the search option 1304 on the terminal, the object search interface displayed on the terminal is as follows. Figure 13 As shown in screen (4), the object search interface displays other objects with the same name as the input name.
[0267] Furthermore, in the above Figure 13 Based on the object search interface shown in screen (3), the user clicks on the AI object through the terminal, and the terminal will display something like... Figure 14 The introductory interface shown in screen (1) is shown in the image. Figure 14 In screen (1), information items and operation items are displayed. The information items include avatar, nickname, account type, account introduction, author information, privacy protection agreement, user service agreement, etc.; the operation item is the "Add to Contacts" button 1401. After the user clicks the "Add to Contacts" button 1401 on the terminal, the terminal displays the following briefing interface: Figure 14 As shown in screen (2). With Figure 14 Compared to the scene in (1), in Figure 14 In screen (2), the "Add to Contacts" button 1401 is switched to the "Send Message" button 1402, and a function button 1403 is displayed in the upper right corner of the profile screen. When the user clicks function button 1403 on the terminal, the terminal displays the following interface: Figure 14 As shown in screen (3), in Figure 14 In screen (3), a recommend button 1404 and a delete button 1405 are displayed for recommending the AI object to other friends. The delete button 1405 is used to delete the AI object from the friends list of the current user. When the user clicks the delete button 1405 on the terminal, the AI object is deleted from the friends list of the current user. In addition, the background will prevent the AI object from sending conversation messages to the current user, and the AI object's background server will delete the conversation record between the current user and the AI object. The terminal will also be automatically deleted. Figure 14 The interface shown in screen (3) is switched to the interface that was displayed before the introduction interface.
[0268] Based on the embodiments shown above, users can initiate conversations with AI objects through object cards shared by friends on the terminal: the terminal displays as follows... Figure 15 The conversation interface shown in screen (1) displays a friend-recommended contact card 1501. This contact card is an AI object's contact card, and the contact card displays the name of the AI object. When the user clicks on contact card 1501 on the terminal, the terminal displays the following... Figure 15 The conversation interface shown in screen (2) displays a prompt message 1502 indicating information protection when requesting help from an AI object, an "Agree" button 1503, and a "Refuse" button 1504. The user clicks the "Agree" button 1503 on the terminal, and the terminal displays... Figure 15 The conversation interface shown in screen (3) displays the opening conversation message input by the artificial intelligence object to guide the user to further the conversation.
[0269] Based on the embodiments described above, various capabilities of the artificial intelligence object can be integrated into the session interface with the artificial intelligence object, such as... Figure 16 The conversation interface shown in the middle screen (1) displays a function integration button 1601; when the user clicks the function integration button 1601 on the terminal, the terminal will display the following: Figure 16 The conversation interface shown in screen (2) displays various function options 1602 of the artificial intelligence object. Each function option represents a capability of the artificial intelligence object, and each function option is associated with a webpage, link, mini-program, etc. When the user clicks on any function option on the terminal, the terminal will switch from the current conversation interface to the corresponding function interface.
[0270] In the embodiments described above, AI objects can be displayed as a special category of contacts within the application's address book or chat list. Furthermore, when an AI object is displayed, an indicator is shown to identify it as an AI robot. Users can initiate conversations with AI objects at any time within the application, and during these conversations, they can send text, voice messages, images, videos, files, location data, and other information. Moreover, interactions with AI objects can be initiated in specific scenarios, such as configuring the cover of a virtual resource pack, configuring emoticons, and publishing interactive information.
[0271] In this application embodiment, there may be at least one artificial intelligence object in the application. Each artificial intelligence object has a specific prefix. The terminal identifies whether any object contains the specific prefix by identifying whether the object is an artificial intelligence object.
[0272] In this embodiment, the AI object is a public account type of object, equivalent to a subcategory of a public WeChat account. Any object can add the AI object as a friend and have a conversation with it through the aforementioned search or card recommendation methods. There is no limit to the number of friends an AI object can have; every object in the application can add an AI object as a friend. Within the application, the AI object has a specific ID and is also assigned an alias, but the link to add the AI object as a friend through the alias is blocked.
[0273] In this embodiment, the conversation between the local object and the AI object adopts a user uplink mechanism. That is, only the user can initiate a conversation at a time; the AI object cannot initiate conversations but can only reply to user-inputted messages. During the conversation between the local object and the AI object, each message sent by the local object counts as a user uplink, allowing the AI object to reply. Alternatively, when the local object initiates a conversation with the AI object through a specific scenario, it counts as a user uplink, in which case the AI object will proactively send an opening message related to that specific scenario. Furthermore, when initiating a conversation with the AI object from a specific scenario, the user does not need to actively input conversation messages. The local object will automatically input conversation messages related to the specific scenario in the conversation interface to reflect the entered scenario. The automatically input conversation messages are obtained by fusing messages automatically entered in the background with a scenario value, which represents the scenario in which the conversation was initiated. Specific scenarios include a red envelope cover creation scenario, a business card entry scenario, and a search path entry scenario, each with different scenario values.
[0274] Furthermore, the conversation between the local object and the AI object will adopt an AI downlink mechanism. That is, after the user goes uplinks, the AI object can reply with a preset number of reply messages within a preset time period. The duration of the preset time period and the preset number can be configured arbitrarily by the developers. For example, the AI object can reply with 3 reply messages within 1 hour.
[0275] Furthermore, in the conversation interface between the local object and the AI object, if the local object sends a conversation message to the AI object, the top of the conversation interface will display a "typing..." status to indicate that the AI object is replying to the conversation message. If the AI object has already replied to the conversation message in the conversation interface, the "typing..." status will be removed from the top of the conversation interface; if the timeout period after the local object sends a conversation message to the AI object reaches a threshold, the "typing..." status will also be removed from the top of the conversation interface. The timeout period starts from when the local object sends a conversation message to the AI object. The threshold is arbitrary and can be configured by the developers, such as a threshold of 30 seconds.
[0276] Furthermore, during a conversation between the local object and the AI object, if the local object has already replied with multiple messages, the "typing..." status will no longer be displayed in the conversation interface. Also, when the AI object replies to any conversation message, it will estimate the time required for the reply in advance. If the reply takes too long, it will proactively send a reply message to the local object to inform it of the waiting time.
[0277] In this embodiment, the session between the local object and the AI object employs a user protection mechanism. Only when the user actively sends a session message to the AI object can the AI object obtain an authorization token based on the session message. Only after obtaining the authorization token can the AI object send messages to the local object. Furthermore, the number and duration of messages sent by the AI object to the local object are limited.
[0278] In this embodiment of the application, the server used to provide services to the application is referred to as the first server, and the server used to provide services to the artificial intelligence object is referred to as the second server. When the local object sends a session message to the artificial intelligence object, the terminal sends a session message to the first server. When the first server sends a session message to the second server, it will perform a format conversion on the session message, retaining only the necessary content and hiding the relevant information in the application. This ensures that when the second server responds to the session message based on the artificial intelligence robot, it can only know the special identifier and session message converted by the local object, and cannot know who the local object is, thus ensuring user security.
[0279] Furthermore, a bypass channel is used between the terminal and the primary server to transmit messages related to the artificial intelligence object. A bypass channel is an information transmission path relatively independent of the main data transmission channel. It can be used to divert specific types of messages, namely those related to the artificial intelligence object, avoiding the privacy risks that might be faced when these messages are transmitted through the main channel, thus ensuring their security and privacy.
[0280] Furthermore, messages related to AI objects transmitted between the first and second servers undergo message format conversion to ensure message security. Both the first and second servers are equipped with anti-spam channels, enabling them to detect, classify, and handle potential spam messages during transmission, ensuring the smooth flow of legitimate messages and stable system operation, and protecting users from spam interference and harm.
[0281] Figure 17 This is a schematic diagram of the structure of a functional configuration device provided in an embodiment of this application, such as... Figure 17 As shown, the device includes:
[0282] Display module 1701 is used to display the first session message of the local object in the first session interface of the application. The first session message instructs the artificial intelligence object to perform operations related to the configuration items of the application's target function.
[0283] The display module 1701 is also used to display a first response message from an artificial intelligence object in the first session interface, the first response message including a first recommended resource for the operation;
[0284] The display module 1701 is also used to display the configuration items configured based on the first recommended resource in the function interface of the target function in response to the confirmation operation of the first recommended resource.
[0285] In one possible implementation, the first session message includes first instruction information and configuration requirement information. The first instruction information instructs the AI object to perform operations related to the configuration items of the target function according to the configuration requirement information, and the first recommended resource satisfies the configuration requirement information; or...
[0286] The first session message includes a second instruction, which instructs the AI object to perform an operation related to the configuration items of the target function, according to default conditions; or...
[0287] The first session message includes a third instruction message and configuration items configured based on reference resources. The third instruction message instructs the AI object to perform adjustment operations on the configuration items configured based on reference resources.
[0288] In another possible implementation, the display module 1701 is further configured to display at least one object that is associated with the local object, the at least one object including an artificial intelligence object; and to display a first session interface in response to a session initiation operation on the artificial intelligence object.
[0289] In another possible implementation, the display module 1701 is used to display a first session message in response to an input operation in the first session interface; or, if n function options are displayed in the first session interface, the first session message is displayed in response to a trigger operation on a target function option, where the target function option is any one of the n function options, and n is an integer greater than 1.
[0290] In another possible implementation, the display module 1701 is also used to display a function interface, which displays a first help option, which is used to request help from the artificial intelligence object.
[0291] Display module 1701 is used to display the first session message in the first session interface in response to the triggering operation of the first help option.
[0292] In another possible implementation, the display module 1701 is used to display a first session message in the first session interface in response to a triggering operation of the first help option, provided that there is an association between the local object and the artificial intelligence object.
[0293] In another possible implementation, the display module 1701 is used to respond to the triggering operation of the first help option, and if there is no association between the local object and the artificial intelligence object, display an establishment prompt message indicating that an association should be established with the artificial intelligence object; in response to the confirmation operation of the establishment prompt message, establish an association between the local object and the artificial intelligence object, and display the first session message in the first session interface.
[0294] In another possible implementation, the first recommended resource is generated based on the object information of the local object; or,
[0295] The first recommended resource is a randomly generated resource; or,
[0296] The first recommended resource is a resource randomly selected from multiple resources included in the resource pool; or,
[0297] The first recommended resource is generated based on the historical sessions with the local client; or...
[0298] The first recommended resource is generated based on this session.
[0299] In another possible implementation, the display module 1701 is also configured to display a second response message from the artificial intelligence object in the first session interface, the second response message indicating the duration required for the artificial intelligence object to respond to the first session message.
[0300] In another possible implementation, the display module 1701 is further configured to display a second session message of the local object in the first session interface, the second session message instructing the AI object to re-execute the operation related to the configuration item; and to display a third response message of the AI object in the first session interface, the third response message including a second recommended resource for the operation.
[0301] In another possible implementation, the target function is a virtual resource package function, the function interface is a resource package configuration interface, and the configuration item is the cover of the virtual resource package; the display module 1701 is used to respond to the confirmation operation of the first recommended resource and display the cover of the first recommended resource in the resource package configuration interface.
[0302] In another possible implementation, the display module 1701 is also used to display the application's second session interface, which displays a second help option. The second session interface is a session interface between the local object and other objects, and the second help option is used to request help from the artificial intelligence object for the virtual resource package function.
[0303] Display module 1701 is used to display the first session message in the first session interface in response to the triggering operation of the second help option;
[0304] The display module 1701 is also used to respond to the resource package sending operation in the second session interface and display the cover of the virtual resource package in the second session interface.
[0305] In another possible implementation, when the second session interface is a session interface between the local object and any other object, the first recommended resource is generated based on the object's object information; or...
[0306] When the second session interface is a group session interface, the first recommended resource is generated based on the group information of the group session.
[0307] In another possible implementation, the target function is an interactive information publishing function, the function interface is an information publishing interface, and the configuration items are the interactive information to be published; the display module 1701 is used to respond to the confirmation operation of the first recommended resource and display the interactive information including the first recommended resource in the information publishing interface.
[0308] In another possible implementation, the display module 1701 is also used to publish interactive information in response to an operation on publishing interactive information.
[0309] In another possible implementation, the target function is an emoji function, and the function interface is an emoji display interface; the display module 1701 is used to display emojis including the first recommended resource in the emoji display interface in response to the confirmation operation of the first recommended resource.
[0310] It should be noted that the functional configuration device provided in the above embodiments is only an example of the division of the above functional modules. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the computer device can be divided into different functional modules to complete all or part of the functions described above. In addition, the functional configuration device and the functional configuration method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.
[0311] This application also provides a computer device, which includes a processor and a memory. The memory stores at least one computer program, which is loaded and executed by the processor to perform the operations performed by the functional configuration method of the above embodiments.
[0312] Optionally, the computer device is provided as a terminal. Figure 18 A structural block diagram of a terminal 1800 provided in an exemplary embodiment of this application is shown. The terminal 1800 includes a processor 1801 and a memory 1802.
[0313] Processor 1801 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 1801 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1801 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 1801 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the screen. In some embodiments, processor 1801 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0314] The memory 1802 may include one or more computer-readable storage media, which may be non-transitory. The memory 1802 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1802 are used to store at least one computer program, which is executed by the processor 1801 to implement the functional configuration method provided in the method embodiments of this application.
[0315] In some embodiments, the terminal 1800 may also optionally include a peripheral device interface 1803 and at least one peripheral device. The processor 1801, memory 1802, and peripheral device interface 1803 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 1803 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 1804, a display screen 1805, a camera assembly 1806, an audio circuit 1807, and a power supply 1808.
[0316] Peripheral device interface 1803 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 1801 and memory 1802. In some embodiments, processor 1801, memory 1802 and peripheral device interface 1803 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 1801, memory 1802 and peripheral device interface 1803 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0317] The radio frequency (RF) circuit 1804 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 1804 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 1804 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 1804 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 1804 can communicate with other terminals through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 1804 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.
[0318] Display screen 1805 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 1805 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 1801 for processing. In this case, display screen 1805 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 1805, disposed on the front panel of terminal 1800; in other embodiments, there may be at least two display screens, disposed on different surfaces of terminal 1800 or in a folded design; in still other embodiments, display screen 1805 may be a flexible display screen, disposed on a curved or folded surface of terminal 1800. Furthermore, display screen 1805 may also be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. The display screen 1805 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).
[0319] The camera assembly 1806 is used to acquire images or videos. Optionally, the camera assembly 1806 includes a front-facing camera and a rear-facing camera. The front-facing camera is disposed on the front panel of the terminal, and the rear-facing camera is disposed on the back of the terminal. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 1806 may also include a flash. The flash may be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cool light flash, which can be used for light compensation at different color temperatures.
[0320] The audio circuit 1807 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting them into electrical signals that are input to the processor 1801 for processing, or to the radio frequency circuit 1804 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each positioned at a different location on the terminal 1800. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from the processor 1801 or the radio frequency circuit 1804 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 1807 may also include a headphone jack.
[0321] Power supply 1808 is used to power the various components in terminal 1800. Power supply 1808 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 1808 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, and a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0322] Those skilled in the art will understand that Figure 18 The structure shown does not constitute a limitation on terminal 1800 and may include more or fewer components than shown, or combine certain components, or use different component arrangements.
[0323] Optionally, the computer equipment is provided as a server. Figure 19This is a schematic diagram of a server structure provided in an embodiment of this application. The server 1900 can vary significantly due to different configurations or performance. It may include one or more Central Processing Units (CPUs) 1901 and one or more memories 1902. The memories 1902 store at least one computer program, which is loaded and executed by the processor 1901 to implement the methods provided in the above-described method embodiments. Of course, the server may also have wired or wireless network interfaces, a keyboard, and input / output interfaces for input and output. The server may also include other components for implementing device functions, which will not be elaborated upon here.
[0324] This application also provides a computer-readable storage medium storing at least one computer program, which is loaded and executed by a processor to perform the operations performed by the functional configuration method of the above embodiments.
[0325] This application also provides a computer program product, including a computer program that, when executed by a processor, performs the operations performed by the functional configuration method of the above embodiments.
[0326] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0327] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present application should be included within the protection scope of the present application.
Claims
1. A function configuration method, characterized in that, The method includes: In the first session interface of the application, the first session message of the local object is displayed, which instructs the artificial intelligence object to perform an operation related to the configuration items of the application's target function; In the first session interface, the first response message of the artificial intelligence object is displayed, and the first response message includes a first recommended resource for the operation; In response to the confirmation operation of the first recommended resource, the configuration items configured based on the first recommended resource are displayed in the function interface of the target function.
2. The method according to claim 1, characterized in that, The first session message includes first instruction information and configuration requirement information. The first instruction information instructs the AI object to perform an operation related to the configuration item of the target function according to the configuration requirement information, and the first recommended resource satisfies the configuration requirement information; or... The first session message includes a second instruction message, which instructs the AI object to perform an operation related to the configuration item of the target function according to default conditions; or, The first session message includes a third instruction message and configuration items configured based on reference resources. The third instruction message instructs the artificial intelligence object to perform an adjustment operation on the configuration items configured based on the reference resources.
3. The method according to claim 1, characterized in that, Before displaying the first session message of the local object in the first session interface of the application, the method further includes: Display at least one object that is associated with the local object, the at least one object including the artificial intelligence object; In response to an operation initiated on the AI object's session, the first session interface is displayed.
4. The method according to claim 3, characterized in that, The first session message of the local object is displayed in the first session interface of the application, including: In response to an input operation in the first session interface, display the first session message; or... When n function options are displayed in the first session interface, in response to the triggering operation of the target function option, the first session message is displayed, wherein the target function option is any one of the n function options, and n is an integer greater than 1.
5. The method according to claim 1, characterized in that, Before displaying the first session message of the local object in the first session interface of the application, the method further includes: The function interface is displayed, and the function interface displays a first help option, which is used to request help from the artificial intelligence object; The first session message of the local object is displayed in the first session interface of the application, including: In response to the triggering of the first help option, the first session message is displayed in the first session interface.
6. The method according to claim 5, characterized in that, In response to the triggering operation of the first help option, the first session message is displayed in the first session interface, including: In response to the triggering of the first help option, if there is an association between the local object and the artificial intelligence object, the first session message is displayed in the first session interface.
7. The method according to claim 5, characterized in that, In response to the triggering operation of the first help option, the first session message is displayed in the first session interface, including: In response to the triggering operation of the first help option, if there is no association between the local object and the artificial intelligence object, a prompt message is displayed, indicating that an association should be established with the artificial intelligence object; In response to the confirmation operation of the establishment prompt information, the association between the local object and the artificial intelligence object is established, and the first session message is displayed in the first session interface.
8. The method according to claim 1, characterized in that, The first recommended resource is generated based on the object information of the local object; or, The first recommended resource is a randomly generated resource; or, The first recommended resource is a resource randomly selected from multiple resources included in the resource library; or, The first recommended resource is generated based on the historical sessions with the local object; or, The first recommended resource is generated based on this session.
9. The method according to claim 1, characterized in that, Before displaying the first reply message from the AI object in the first session interface, the method further includes: In the first session interface, a second reply message from the artificial intelligence object is displayed, which indicates the duration required for the artificial intelligence object to reply to the first session message.
10. The method according to claim 1, characterized in that, After displaying the first reply message of the artificial intelligence object in the first session interface, the method further includes: In the first session interface, the second session message of the local object is displayed, and the second session message instructs the artificial intelligence object to re-execute the operation related to the configuration item; In the first session interface, a third response message from the artificial intelligence object is displayed, the third response message including a second recommended resource for the operation.
11. The method according to claim 1, characterized in that, The target function is a virtual resource package function, the function interface is a resource package configuration interface, and the configuration items are the cover of the virtual resource package; in response to the confirmation operation of the first recommended resource, the function interface of the target function displays the configuration items configured based on the first recommended resource, including: In response to the confirmation operation of the first recommended resource, the cover of the first recommended resource is displayed in the resource package configuration interface.
12. The method according to claim 11, characterized in that, Before displaying the first session message of the local object in the first session interface of the application, the method further includes: The application displays a second session interface, which includes a second help option. The second session interface is a conversation interface between the local object and other objects. The second help option is used to request help from the artificial intelligence object regarding the virtual resource pack function. The first session message of the local object is displayed in the first session interface of the application, including: In response to the triggering of the second help option, the first session message is displayed in the first session interface; In response to the confirmation operation of the first recommended resource, after displaying the cover of the first recommended resource in the resource package configuration interface, the method further includes: In response to the resource package sending operation in the second session interface, the virtual resource package of the cover is displayed in the second session interface.
13. The method according to claim 12, characterized in that, When the second session interface is a session interface between the local object and any other object, the first recommended resource is generated based on the object information of the object; or... When the second session interface is a group session interface, the first recommended resource is generated based on the group information of the group session.
14. The method according to claim 1, characterized in that, The target function is an interactive information publishing function, the function interface is an information publishing interface, and the configuration items are the interactive information to be published; in response to the confirmation operation of the first recommended resource, the function interface of the target function displays the configuration items configured based on the first recommended resource, including: In response to the confirmation operation of the first recommended resource, the interactive information including the first recommended resource is displayed on the information publishing interface.
15. The method according to claim 14, characterized in that, In response to the confirmation operation of the first recommended resource, after displaying the interactive information including the first recommended resource in the information publishing interface, the method further includes: In response to the operation of publishing the interactive information, the interactive information is published.
16. The method according to claim 1, characterized in that, The target function is an emoji function, and the function interface is an emoji display interface; in response to the confirmation operation of the first recommended resource, the function interface of the target function displays configuration items based on the first recommended resource, including: In response to the confirmation operation of the first recommended resource, an emoji including the first recommended resource is displayed in the emoji display interface.
17. A functional configuration device, characterized in that, The device includes: The display module is used to display the first session message of the local object in the first session interface of the application. The first session message instructs the artificial intelligence object to perform an operation related to the configuration items of the target function of the application. The display module is further configured to display a first response message from the artificial intelligence object in the first session interface, the first response message including a first recommended resource for the operation; The display module is further configured to, in response to a confirmation operation of the first recommended resource, display configuration items configured based on the first recommended resource in the function interface of the target function.
18. A computer device, characterized in that, The computer device includes a processor and a memory, the memory storing at least one computer program, which is loaded and executed by the processor to perform the operations performed by the function configuration method as described in any one of claims 1 to 16.
19. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one computer program, which is loaded and executed by a processor to perform the operations performed by the function configuration method as described in any one of claims 1 to 16.
20. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it performs the operations performed by the function configuration method as described in any one of claims 1 to 16.