Conversational interaction method, device, equipment and storage medium in robot group
By providing conversational interaction methods in the robot group and recommending candidate robots and interactive instructions, the problem of low conversational efficiency when users do not understand the robot instructions is solved, and efficient robot group interaction is achieved.
Patent Information
- Application Number
- CN202110641462.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-09
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-06-09
AI Technical Summary
In a robot group, since different robots have different conversational interaction instructions, it is difficult for users to efficiently implement conversational interaction with robots without fully understanding the instructions of each robot, resulting in low efficiency.
Provides a conversational interaction method in a robot group. By presenting a conversational interface, it receives the instructions and content input by the user, recommends candidate robots, and displays the conversational interaction instructions associated with the target robot. The user can select and execute the instructions to realize the interaction with the target robot. Efficient interaction between robots.
Users do not need to enter the target robot's complete name or interactive instructions verbatim. Through the recommendation and selection functions, the number of conversation inputs is greatly reduced and the efficiency of the conversation with the robot is improved.
Smart Images

Figure CN113239172B
Abstract
Description
Technical Field
[0001] The present application relates to computer technology, and more particularly to a conversation interaction method, apparatus, device and computer-readable storage medium in a robot group. Background Art
[0002] In the process of conversational interaction with a robot group including multiple robots, since different robots have different conversational interaction instructions, if the user has not fully learned and understood the conversational interaction instructions corresponding to each robot, if the user wants to achieve a certain conversational interaction purpose with the robots, the user often needs to try to perform multiple conversational input operations, and the conversation efficiency with the robots is low. Summary of the invention
[0003] Embodiments of the present application provide a conversation interaction method, apparatus, device, and computer-readable storage medium in a robot group, which can improve the efficiency of conversations with robots.
[0004] The technical solution of the embodiment of the present application is implemented as follows:
[0005] The present application embodiment provides a conversation interaction method in a robot group, including:
[0006] Presenting a conversation interface corresponding to a robot group including a plurality of robots;
[0007] In the conversation interface, receiving a conversation instruction input for instructing conversation interaction with a target robot and input content associated with a robot name in the robot group;
[0008] In response to the conversation instruction, during the process of inputting the content, presenting at least one candidate robot recommended based on the content;
[0009] receiving a selection operation for the candidate robot, taking the selected candidate robot as the target robot, and presenting a plurality of recommended conversation interaction instructions associated with the target robot;
[0010] In response to a selection operation on a target interaction instruction among the multiple conversation interaction instructions, a result of the target robot executing the target interaction instruction is output.
[0011] The embodiment of the present application provides a conversation interaction device in a robot group, comprising:
[0012] A first presentation module, used to present a conversation interface corresponding to a robot group including a plurality of robots;
[0013] An input receiving module, configured to receive, in the conversation interface, a conversation instruction input for instructing conversation interaction with a target robot, and input content associated with a robot name in the robot group;
[0014] A second presentation module, configured to present at least one candidate robot recommended based on the content in response to the conversation instruction during the process of inputting the content;
[0015] A third presentation module is configured to receive a selection operation for the candidate robot, use the selected candidate robot as the target robot, and present a plurality of recommended conversation interaction instructions associated with the target robot;
[0016] The result output module is used to output the result of the target robot executing the target interaction instruction in response to the selection operation of the target interaction instruction among the multiple conversation interaction instructions.
[0017] In the above scheme, the result output module is further used for presenting the instruction content and the guidance information corresponding to the instruction content in the input box corresponding to the conversation instruction in response to the selection operation on the target interaction instruction when the instruction content of the target interaction instruction includes an instruction object;
[0018] Wherein, the guiding information is used to guide the input of the object name corresponding to the instruction object;
[0019] When an object name input in the input box is received, a result of the target robot executing the target interaction instruction for the target instruction object corresponding to the object name is output.
[0020] In the above solution, the device further comprises:
[0021] An object determination module, configured to receive content associated with an object name input by a current account in the input box;
[0022] During the process of inputting content associated with the object name, presenting at least one candidate instruction object recommended based on the input content;
[0023] In response to a selection operation on the candidate instruction object, the selected candidate instruction object is used as the target instruction object.
[0024] In the above scheme, the result output module is further used to present a conversation message of the current account corresponding to the target robot in the conversation interface in response to a selection operation on the target interaction instruction when the instruction content of the target interaction instruction does not contain an instruction object, wherein the conversation message contains the instruction content, and
[0025] A reply message of the target robot to the conversation message is presented, wherein the reply message includes a result of the target robot executing the target interaction instruction.
[0026] In the above solution, the result includes a plurality of sub-session interaction instructions, the instruction content of the sub-session interaction instructions includes an instruction object, and the device further includes:
[0027] a sub-interaction result output module, configured to, when receiving a selection instruction for a target sub-session interaction instruction among the plurality of sub-session interaction instructions, present the instruction content of the target sub-session interaction instruction and guidance information corresponding to the instruction content in an input box corresponding to the target sub-session interaction instruction;
[0028] The guiding information is used to guide the target sub-session interaction instruction to be input, and the instruction content includes the object name corresponding to the instruction object;
[0029] When an object name input in the input box is received, the result of the target robot executing the target sub-interaction instruction for the target instruction object corresponding to the object name is output.
[0030] In the above solution, before presenting the instruction content of the target sub-session interaction instruction and the guidance information corresponding to the instruction content in the input box corresponding to the target sub-session interaction instruction, the device further includes:
[0031] A selection instruction receiving module is used to present a usage function item for each of the sub-session interaction instructions;
[0032] In response to a triggering operation on a use function item corresponding to a target sub-session interaction instruction among the multiple sub-session interaction instructions, a selection instruction for the target sub-session interaction instruction is received.
[0033] In the above solution, after presenting the recommended multiple conversation interaction instructions associated with the target robot, the device further includes:
[0034] An instruction updating module, configured to receive an input instruction content associated with a conversation instruction corresponding to the target robot;
[0035] Along with the input of the instruction content, the recommended multiple conversation interaction instructions are updated so that the content of the updated conversation interaction instructions matches the instruction content.
[0036] In the above solution, the third presentation module is further used to present a text editing box for editing the conversation content of the conversation interaction;
[0037] In response to the directional characters for the target robot input by the current account in the text editing box, a conversation instruction for instructing conversation interaction with the target robot is received.
[0038] In the above solution, after presenting the recommended multiple conversation interaction instructions associated with the target robot, the device further includes:
[0039] An instruction canceling module, configured to receive a deletion operation for the directional character;
[0040] In response to the deletion operation, multiple conversation interaction instructions associated with the target robot that are presented are canceled.
[0041] In the above solution, the third presentation module is further used to respectively obtain the usage frequency of each conversation interaction instruction associated with the target robot;
[0042] The conversation interaction instructions are presented in a manner such that the ones with high usage frequency have corresponding conversation interaction instructions in front.
[0043] In the above solution, the third presentation module is further used to respectively obtain the interval between the last use time and the current time of each conversation interaction instruction associated with the target robot;
[0044] The conversation interaction instructions are presented in a manner that the intervals are small and the corresponding conversation interaction instructions are in front.
[0045] In the above solution, the third presentation module is further used to present a plurality of recommended conversation interaction instructions associated with the target robot in the conversation interface by means of a floating layer or a pop-up window; or,
[0046] A plurality of recommended conversation interaction instructions associated with the target robot are presented through a sub-interface independent of the conversation interface.
[0047] In the above solution, before presenting the recommended multiple conversation interaction instructions associated with the target robot, the device further includes:
[0048] An instruction determination module, used to obtain an association relationship table storing association relationships between robots and conversation interaction instructions;
[0049] In the association relationship table, multiple conversation interaction instructions associated with the target robot are found.
[0050] In the above solution, before outputting the result of the target robot executing the target interaction instruction, the device further includes:
[0051] A session sending module, used for presenting a sending function item corresponding to the target interaction instruction;
[0052] In response to the triggering operation for the sending function item, a session message carrying the target interaction instruction is sent, and
[0053] In the conversation interface, the conversation message of the current account corresponding to the target robot is presented.
[0054] An embodiment of the present application provides an electronic device, including:
[0055] A memory for storing executable instructions;
[0056] The processor is used to implement the conversation interaction method in the robot group provided in the embodiment of the present application when executing the executable instructions stored in the memory.
[0057] An embodiment of the present application provides a computer-readable storage medium storing executable instructions for causing a processor to execute instructions to implement the conversation interaction method in a robot group provided in the embodiment of the present application.
[0058] The embodiments of the present application have the following beneficial effects:
[0059] In the process of inputting content associated with the robot name, at least one recommended candidate robot is first presented for the user to select. The user does not need to input the full name of the target robot word by word, and the target robot can be determined from it; secondly, when determining the target robot, multiple conversation interaction instructions associated with the target robot are presented for the user to select. The user does not need to manually input the instruction content of the target interaction instruction word by word, and the target interaction instruction can be selected from it, and then the result of the robot executing the target interaction instruction can be obtained; in this way, in the process of conversation interaction with multiple robots in the robot group, the user only needs to input part of the content related to the robot, and perform corresponding selection operations based on the options recommended step by step, so as to obtain the corresponding result of the robot execution, which greatly reduces the number of conversation inputs performed by the user to achieve a certain interaction purpose, and improves the conversation efficiency with the robot. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] Figure 1 An optional schematic diagram of the architecture of a conversation interaction system 100 in a robot group provided in an embodiment of the present application;
[0061] Figure 2 An optional structural diagram of an electronic device 500 provided in an embodiment of the present application;
[0062] Figure 3 A schematic diagram of a flow chart of a conversation interaction method in a robot group provided in an embodiment of the present application;
[0063] Figure 4A schematic diagram showing a robot recommended by an embodiment of the present application;
[0064] Figure 5 A schematic diagram showing a display of a recommended instruction provided in an embodiment of the present application;
[0065] Figure 6 A schematic diagram showing the display result of the execution of the interactive instruction provided in the embodiment of the present application;
[0066] Figure 7 A schematic diagram showing the display result of the execution of the interactive instruction provided in the embodiment of the present application;
[0067] Figure 8 A schematic diagram showing the display result of the execution of the interactive instruction provided in the embodiment of the present application;
[0068] Fig. 9 A schematic diagram showing the display result of the execution of the interactive instruction provided in the embodiment of the present application;
[0069] Fig.10 A schematic diagram showing the display result of the execution of the interactive instruction provided in the embodiment of the present application;
[0070] Fig.11 A schematic diagram of a flow chart of a conversation interaction method in a robot group provided in an embodiment of the present application;
[0071] Fig.12 A schematic diagram of a flow chart of a conversation interaction method in a robot group provided in an embodiment of the present application;
[0072] Fig.13 A schematic diagram of the structure of a conversation interaction device in a robot group provided in an embodiment of the present application. DETAILED DESCRIPTION
[0073] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.
[0074] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0075] In the following description, the terms "first\second..." are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second..." can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0076] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0077] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.
[0078] 1) Client: an application running in the terminal to provide various services, such as video playback client, instant messaging client, game client, etc.
[0079] 2) In response, it is used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed may be in real time or have a set delay. Unless otherwise specified, there is no restriction on the order of execution of the multiple operations executed.
[0080] See also Figure 1 , Figure 1 An optional architectural diagram of a conversation interaction system 100 in a robot group provided in an embodiment of the present application. To support an exemplary application, terminals (terminal 400-1 and terminal 400-2 are shown as examples) are connected to a server 200 via a network 300. The network 300 may be a wide area network or a local area network, or a combination of the two, and wireless links are used to implement data transmission.
[0081] The terminal can be various types of user terminals such as smart phones, tablet computers, laptops, etc., and can also be desktop computers, televisions, or a combination of any two or more of these data processing devices; the server 200 is a background server corresponding to the client on the terminal, which can be a separately configured server supporting various services, or it can be configured as a server cluster, or it can be a cloud server, etc.
[0082] In actual applications, the terminal is provided with a client, such as a video player client, an instant messaging client, a game client, etc. When a user opens the client on the terminal to conduct a conversation with a robot in a robot group, the terminal presents a conversation interface corresponding to a robot group including multiple robots; in the conversation interface, a conversation instruction input for instructing to conduct a conversation interaction with a target robot and input content associated with the robot name in the robot group are received; in response to the conversation instruction, the terminal sends a robot recommendation request to the server 200 during the process of inputting the content; based on the recommendation request and the input content, the server 200 determines and returns at least one recommended candidate robot to the terminal; the terminal presents at least one candidate robot recommended based on the content; when a selection operation for a candidate robot is received, the selected candidate robot is used as the target robot, and a request for obtaining the conversation interaction instruction for the target robot is sent to the server 200; based on the acquisition request, the server obtains and returns multiple recommended conversation interaction instructions associated with the target robot to the terminal for presentation; in response to the selection operation for the target interaction instruction among the multiple conversation interaction instructions, the terminal sends a conversation message carrying the target interaction instruction to the target robot, and outputs the result of the target robot executing the target interaction instruction.
[0083] See also Figure 2 , Figure 2 This is an optional structural diagram of an electronic device 500 provided in an embodiment of the present application. In practical applications, the electronic device 500 may be Figure 1 The terminal or server 200 in the embodiment of the present invention is an electronic device. Figure 1 Taking the terminal shown as an example, an electronic device for implementing the conversation interaction method in a robot group of an embodiment of the present application is described. Figure 2 The electronic device 500 shown includes: at least one processor 510, a memory 550, at least one network interface 520 and a user interface 530. The various components in the electronic device 500 are coupled together via a bus system 540. It is understood that the bus system 540 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 540 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 540 is not described in detail. Figure 2 Various buses are labeled as bus system 540 .
[0084] The processor 510 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0085] The user interface 530 includes one or more output devices 531 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 530 also includes one or more input devices 532, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
[0086] The memory 550 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. The memory 550 may optionally include one or more storage devices that are physically remote from the processor 510.
[0087] The memory 550 includes a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 550 described in the embodiments of the present application is intended to include any suitable type of memory.
[0088] In some embodiments, the memory 550 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.
[0089] Operating system 551, including system programs for processing various basic system services and performing hardware-related tasks, such as framework layer, core library layer, driver layer, etc., for implementing various basic services and processing hardware-based tasks;
[0090] A network communication module 552, for reaching other computing devices via one or more (wired or wireless) network interfaces 520, exemplary network interfaces 520 include: Bluetooth, Wireless Compatibility Certification (WiFi), and Universal Serial Bus (USB);
[0091] a presentation module 553 for enabling presentation of information via one or more output devices 531 (e.g., display screen, speaker, etc.) associated with the user interface 530 (e.g., a user interface for operating peripherals and displaying content and information);
[0092] The input processing module 554 is used to detect one or more user inputs or interactions from one of the one or more input devices 532 and translate the detected inputs or interactions.
[0093] In some embodiments, the conversation interaction device in the robot group provided in the embodiments of the present application can be implemented in a software manner. Figure 2 A conversation interaction device 555 in a robot group stored in a memory 550 is shown, which may be software in the form of a program and a plug-in, etc., and includes the following software modules: a first presentation module 5551, an input receiving module 5552, a second presentation module 5553, a third presentation module 5554 and a result output module 5555. These modules are logical, and therefore can be arbitrarily combined or further split according to the functions implemented. The functions of each module will be explained below.
[0094] In other embodiments, the conversation interaction device in the robot group provided in the embodiments of the present application can be implemented in hardware. As an example, the conversation interaction device in the robot group provided in the embodiments of the present application can be a processor in the form of a hardware decoding processor, which is programmed to execute the conversation interaction method in the robot group provided in the embodiments of the present application. For example, the processor in the form of a hardware decoding processor can adopt one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs) or other electronic components.
[0095] Based on the above description of the conversation interaction system in the robot group provided in the embodiment of the present application, the conversation interaction method in the robot group provided in the embodiment of the present application is described below. In actual implementation, the method can be Figure 1 The terminal or server 200 shown is implemented separately, and can also be implemented by Figure 1 The terminal and server 200 shown are implemented in cooperation. Figure 1 and Figure 3 , Figure 3 A flow chart of a conversation interaction method in a robot group provided in an embodiment of the present application, with Figure 1 The terminal shown implements the conversation interaction method in the robot group provided in the embodiment of the present application alone as an example for explanation.
[0096] Step 101: The terminal presents a conversation interface corresponding to a robot group including multiple robots.
[0097] In actual applications, a client is provided on the terminal, such as a video player client, an instant messaging client, a game client, etc. A user can have a conversation with a robot in a robot group through the client. When a user opens the client on the terminal to have a conversation with a robot in a robot group, the terminal presents a corresponding conversation interface. In actual applications, in addition to multiple robots, a robot group may also include other friends besides robots. For example, for a game community, members of a robot group may include: multiple users who join the game community and multiple robots that provide services for games in the game community.
[0098] A robot is an object that can interact with a user in a conversation. It can receive messages and send messages. Different robots have different functions, that is, different robots can respond to different conversation interaction instructions. In actual applications, users can add corresponding robots to the robot group according to actual needs to perform corresponding conversation interactions with the robots. For example, a user adds a notification robot and a chat robot to a robot group. The user can receive system messages pushed by the notification robot and can also interact with the chat robot in a conversation. There are many types of chat robots. The user sends a conversation message carrying a conversation interaction instruction to a chat robot. When it is determined that the chat robot can respond to the conversation message instruction, the robot can feedback a reply message corresponding to the conversation message to the user in response to the user's conversation interaction instruction.
[0099] Step 102: In the conversation interface, a conversation instruction input for instructing conversation interaction with a target robot and input content associated with a robot name in a robot group are received.
[0100] Here, in a group chat scenario, if the user wants to invoke a specific function of a robot, the user needs to use the conversation interaction instruction corresponding to the specific function, that is, the user needs to input relevant conversation content that can trigger the conversation interaction instruction. For example, if the user wants to have a conversation interaction with a target robot, the user needs to input directional characters for the target robot to trigger the conversation instruction for conversation interaction with the target robot, and enter content associated with the name of the target robot.
[0101] In some embodiments, the terminal may receive input of a conversation instruction for instructing a conversation interaction with a target robot in the following manner: presenting a text editing box for editing the conversation content of the conversation interaction; in response to directional characters for the target robot input in the text editing box by the current account, receiving a conversation instruction for instructing a conversation interaction with the target robot.
[0102] Here, when the terminal receives a directional character (such as the @ symbol) input by the user, the session instruction can be triggered.
[0103] Step 103: In response to the conversation instruction, during the process of inputting content, present at least one candidate robot recommended based on the content.
[0104] Here, when the user enters directional characters (such as the @ symbol) and content associated with the name of the target robot (such as the first character or part of the character) in the text editing box, the terminal responds to the user's input operation and sends a recognition request carrying the content entered by the user to the server in real time. Based on the recognition request, the server matches the content entered by the user with the member names included in the pre-stored robot group (including the robot name and the names of other members except the robot), and based on the matching results, determines the recommended members whose member names contain the content entered by the user, and returns the recommended members to the terminal for presentation. After receiving the recommended members returned by the server, the terminal pops up a recommendation page and presents the recommended members recommended in real time on the recommendation page, wherein the recommended members include at least one candidate robot for the user to select. As the content entered by the user changes, the recommended members presented on the recommendation page will also change accordingly, so that the recommended members presented in real time always match the content entered by the user.
[0105] See also Figure 4 , Figure 4 A display diagram of a recommended robot provided in an embodiment of the present application. When a user inputs content, such as inputting the @ symbol and the character M, the terminal pops up a recommendation page in response to the trigger operation, and presents a plurality of recommended members whose names contain the character M for the user to select on the recommendation page, such as the candidate robot "Mudac" and other group members in the robot group whose names contain the character M.
[0106] Step 104: receiving a selection operation for a candidate robot, taking the selected candidate robot as a target robot, and presenting a plurality of recommended conversation interaction instructions associated with the target robot.
[0107] In some embodiments, before presenting the recommended multiple conversation interaction instructions associated with the target robot, the terminal may also obtain an association table storing the association between the robot and the conversation interaction instructions; in the association table, find the multiple conversation interaction instructions associated with the target robot.
[0108] Here, when the user selects a target robot from at least one candidate robot, the terminal responds to the selection operation and searches for the conversation interaction instructions associated with the selected target robot from the association relationship table of the association relationship between the robot and the conversation interaction instructions stored locally. In actual applications, the association relationship table can also be stored in the server, and the terminal responds to the selection operation and sends an instruction acquisition request for the target robot to the server, wherein the instruction acquisition request carries the identifier of the target robot, and the server obtains multiple conversation interaction instructions corresponding to the identifier from the association relationship table based on the identifier of the target robot carried in the instruction acquisition request, as multiple conversation interaction instructions associated with the target robot, and returns them to the terminal for recommendation presentation.
[0109] In some embodiments, the terminal may present multiple recommended conversation interaction instructions associated with the target robot in the following manner: presenting multiple recommended conversation interaction instructions associated with the target robot in the conversation interface through a floating layer or pop-up window; or presenting multiple recommended conversation interaction instructions associated with the target robot through a sub-interface independent of the conversation interface.
[0110] In actual applications, the floating layer or pop-up window may have a certain degree of transparency and may be movable in the conversation interface. The size of the floating layer or pop-up window may be set according to the actual application. When there are many conversation interaction instructions, a larger floating layer or pop-up window may be presented to fully display the conversation interaction instructions, or a smaller floating layer or pop-up window may be presented to display part of the conversation interaction instructions. In this case, the floating layer or pop-up window presents a progress drop-down bar, and the remaining part of the conversation interaction instructions can be displayed by dragging the progress drop-down bar. The sub-interface may also have a certain degree of transparency and be located above the conversation interface. The video content played in the conversation interface can be viewed through the sub-interface. The sub-interface may occupy only a part of the conversation interface or the entire conversation interface. In this way, by presenting the conversation interaction instructions through a sub-interface with a certain degree of transparency, users can see more information and meet their needs for quick information acquisition. At the same time, the presentation position of the sub-interface on the conversation interface moves synchronously with the user's sliding operation.
[0111] See also Figure 5 , Figure 5 A display diagram of recommended instructions provided in an embodiment of the present application. When a user selects the candidate robot "Mudac" as the target robot, the terminal presents a recommendation pop-up window in response to the selection operation, and presents multiple recommended conversation interaction instructions associated with the target robot "Mudac" in the recommendation pop-up window for the user to choose from.
[0112] In some embodiments, the terminal may present multiple recommended conversation interaction instructions associated with the target robot in the following manner: respectively obtain the usage frequency of each conversation interaction instruction associated with the target robot; and present each conversation interaction instruction in a manner in which the corresponding conversation interaction instruction with a high usage frequency comes first.
[0113] Here, when there are multiple conversation interaction instructions, the display order of the corresponding conversation interaction instructions can be determined based on the usage frequency of each conversation interaction instruction. For example, each conversation display instruction is displayed in a manner according to the usage frequency, with the corresponding conversation interaction instruction in front. In this way, the popular conversation interaction instructions frequently used by the user are displayed in front, which is convenient for the user to choose from, and is conducive to improving selection efficiency.
[0114] In some embodiments, the terminal may present multiple recommended conversation interaction instructions associated with the target robot in the following manner: respectively obtain the interval between the last use time and the current time of each conversation interaction instruction associated with the target robot; and present each conversation interaction instruction in a manner with a small interval and the corresponding conversation interaction instruction in front.
[0115] Here, when there are multiple conversation interaction instructions, the display order of the corresponding conversation interaction instructions can be determined based on the interval between the user's use of each conversation interaction instruction. For example, the smaller the interval between the last use time and the current time, the closer the display position of the corresponding conversation interaction instruction is. In this way, the conversation interaction instruction most recently used by the user is displayed in the front, which is convenient for the user to choose from, and is conducive to improving selection efficiency.
[0116] In some embodiments, when there are multiple conversation interaction instructions, it is also possible to obtain portrait information of the user corresponding to the current account, and obtain the matching degree between the portrait information and each conversation interaction instruction respectively, and present each conversation interaction instruction in a manner in which the one with a high matching degree is in front of the corresponding conversation interaction instruction; in this way, in combination with the user's portrait information, the recommended conversation interaction instructions are presented, and the conversation interaction instructions with a high matching degree with the user's portrait information are presented in front, thereby improving the accuracy of the conversation interaction instruction recommendation, making it easier for users to choose from them, and helping to improve selection efficiency.
[0117] In some embodiments, after presenting the recommended multiple conversation interaction instructions associated with the target robot, the terminal may also receive input instruction content associated with the conversation instructions corresponding to the target robot; along with the input of the instruction content, the recommended multiple conversation interaction instructions are updated so that the content of the updated conversation interaction instructions matches the instruction content.
[0118] See also Figure 6 , Figure 6A schematic diagram of the display of the execution results of the interactive instructions provided in an embodiment of the present application, wherein, after the terminal presents a plurality of recommended conversation interaction instructions associated with a target robot, if the user does not select the target interaction instruction from the plurality of conversation interaction instructions, but manually enters the instruction content in the input box corresponding to the conversation instruction, the terminal responds to the user's input operation, performs instruction matching on the content input by the user in real time, and obtains a plurality of conversation interaction instructions that match the currently input content to update the plurality of previously recommended conversation interaction instructions, such as presenting the recommended instructions containing the content input by the user in sequence until there is no corresponding instruction match for the content input by the user.
[0119] In some embodiments, after the terminal presents the recommended multiple conversation interaction instructions associated with the target robot, it may also receive a deletion operation for the directional character; in response to the deletion operation, the presented multiple conversation interaction instructions associated with the target robot are canceled.
[0120] Here, when the conversation instruction is triggered based on the directional characters entered by the current account in the text editing box for editing the conversation content of the conversation interaction, if the user deletes the directional characters, the terminal will hide the recommended multiple conversation interaction instructions until the content in the text editing box is cleared, and the user enters the directional characters again and enters the content associated with the robot name in the robot group, that is, when steps 101-104 are executed, multiple recommended conversation interaction instructions can be presented.
[0121] Step 105: In response to a selection operation on a target interaction instruction from among the multiple conversation interaction instructions, output a result of the target robot executing the target interaction instruction.
[0122] Here, when the user selects a target interaction instruction from multiple conversation interaction instructions, the terminal automatically publishes a conversation message carrying the target interaction instruction in response to the selection operation, that is, presents a conversation message of the target robot corresponding to the current account in the conversation interface, and the conversation message includes the target interaction instruction. At the same time, the target robot executes the target interaction instruction and displays the result of the execution in the form of a conversation message in the conversation interface, that is, presents a reply message of the target robot to the conversation message sent by the current account, and the reply message includes the result of the target robot executing the target interaction instruction.
[0123] See also Figure 7 , Figure 7 A schematic diagram of the display of the execution results of the interaction instructions provided in the embodiment of the present application. When the user selects the target interaction instruction 701, the terminal automatically publishes a conversation message 702 carrying the target interaction instruction in response to the selection operation, and at the same time, presents a reply message 703 from the target robot carrying the result of the target robot executing the target interaction instruction.
[0124] In some embodiments, before outputting the result of the target robot executing the target interaction instruction, the terminal may also present a sending function item corresponding to the target interaction instruction; in response to a trigger operation on the sending function item, a session message carrying the target interaction instruction is sent, and in the session interface, a session message of the current account corresponding to the target robot is presented.
[0125] Here, when the user selects a target interaction instruction from multiple conversation interaction instructions, the terminal responds to the selection operation by first presenting a prompt message for confirming the target interaction instruction and a sending function item for the target interaction instruction. When the user triggers the sending function item based on the prompt message, the terminal responds to the trigger operation and publishes a conversation message carrying the target interaction instruction, that is, presents a conversation message of the target robot corresponding to the current account in the conversation interface, and the conversation message includes the target interaction instruction.
[0126] In some embodiments, the terminal may output the result of the target robot executing the target interaction instruction in response to a selection operation on the target interaction instruction among multiple conversation interaction instructions in the following manner: when the instruction content of the target interaction instruction includes an instruction object, in response to the selection operation on the target interaction instruction, the instruction content and guidance information of the corresponding instruction content are presented in the input box of the corresponding conversation instruction; wherein the guidance information is used to guide the input of the object name corresponding to the instruction object; when the object name entered in the input box is received, the result of the target robot executing the target interaction instruction for the target instruction object corresponding to the object name is output.
[0127] Here, when the instruction content of the target interaction instruction includes an instruction object, after the user selects the target interaction instruction, he needs to further fill in the object name of the instruction object. When the terminal receives the object name filled in and input by the user, it automatically publishes a conversation message carrying the instruction content. At the same time, the target robot executes the target interaction instruction and displays the execution result in the form of a conversation message in the conversation interface, that is, presenting the target robot's reply message to the conversation message, which includes the result of the target robot executing the target interaction instruction on the target instruction object corresponding to the object name.
[0128] See also Figure 8 , Figure 8 A schematic diagram of the display of the execution results of the interactive instructions provided in the embodiment of the present application. When the user selects the target interactive instruction 801, the terminal responds to the selection operation by presenting the instruction content 802 and the guidance information 803 corresponding to the instruction content 802 in the input box of the corresponding conversation instruction. When the user enters the object name 804 in the input box based on the guidance information 803, the conversation message carrying the target interactive instruction is published, and the result 805 of the target robot executing the target interactive instruction for the target instruction object corresponding to the object name is output.
[0129] In some embodiments, the terminal can obtain the target instruction object in the following manner: receiving content associated with the object name entered by the current account in an input box; during the process of entering content associated with the object name, presenting at least one candidate instruction object recommended based on the input content; and in response to a selection operation on the candidate instruction object, using the selected candidate instruction object as the target instruction object.
[0130] Here, in the process of the user inputting content associated with the object name of the instruction object based on the guidance information, an identification request carrying the content input by the user is sent to the server in real time. Based on the identification request, the server matches the content input by the user with the object name of the pre-stored instruction object, and based on the matching result, determines the candidate instruction object containing the object name of the content input by the user, and returns the candidate instruction object to the terminal for presentation. After receiving the candidate instruction object returned by the server, the terminal pops up a recommendation page, and presents the real-time recommended candidate instruction objects on the recommendation page for the user to select, and uses the candidate instruction object selected by the user as the target instruction object.
[0131] See also Fig. 9 , Fig. 9 A schematic diagram of the display of the execution results of the interactive instructions provided in an embodiment of the present application, in the process of the user inputting the object name corresponding to the instruction, such as when the user inputs the character B associated with the object name, a plurality of candidate instruction objects including the character B are presented in the recommendation page, and when the user selects the target instruction object from them, the result of the target robot executing the target interactive instruction for the target instruction object is output.
[0132] In some embodiments, the terminal may respond to a selection operation on a target interaction instruction from multiple conversation interaction instructions by outputting a result of the target robot executing the target interaction instruction in the following manner: when the instruction content of the target interaction instruction does not contain an instruction object, in response to the selection operation on the target interaction instruction, present a conversation message of the current account corresponding to the target robot in the conversation interface, the conversation message including the instruction content, and present a reply message of the target robot to the conversation message, the reply message including the result of the target robot executing the target interaction instruction.
[0133] Here, when the instruction content of the target interaction instruction does not contain an instruction object, the terminal automatically publishes a conversation message carrying the target interaction instruction in response to the selection operation for the target interaction instruction, that is, presents the conversation message of the target robot corresponding to the current account in the conversation interface, and the conversation message includes the target interaction instruction. At the same time, the target robot executes the target interaction instruction and displays the execution result in the form of a conversation message in the conversation interface, that is, presents a reply message of the target robot to the conversation message sent by the current account, and the reply message includes the result of the target robot executing the target interaction instruction.
[0134] See also Fig.10 , Fig.10 A schematic diagram of the display of the execution results of the interaction instructions provided in the embodiment of the present application, when the user selects the target interaction instruction 1001, and the instruction content of the target interaction instruction 1001 does not contain an instruction object, the terminal responds to the selection operation for the target interaction instruction, automatically publishes a conversation message 1002 carrying the target interaction instruction, and at the same time, presents a reply message 1003 carrying the result of the target robot executing the target interaction instruction.
[0135] In some embodiments, when the instruction content of the target interaction instruction does not include an instruction object, the result of the target robot executing the target interaction instruction includes multiple sub-session interaction instructions, and the instruction content of the sub-session interaction instruction includes an instruction object, the terminal can also obtain the execution result of the target robot executing the sub-session interaction instruction in the following manner:
[0136] When a selection instruction for a target sub-session interaction instruction among multiple sub-session interaction instructions is received, the instruction content of the target sub-session interaction instruction and guidance information corresponding to the instruction content are presented in an input box corresponding to the target sub-session interaction instruction; wherein the guidance information is used to guide the input of the instruction content of the target sub-session interaction instruction to include an object name corresponding to the instruction object; and when the object name entered in the input box is received, the result of the target robot executing the target sub-interaction instruction for the target instruction object corresponding to the object name is output.
[0137] Here, when the instruction content of the sub-session interaction instruction includes an instruction object, the terminal may present a use function item for each sub-session interaction instruction; in response to a trigger operation on the use function item corresponding to the target sub-session interaction instruction among the multiple sub-session interaction instructions, a selection instruction for the target sub-session interaction instruction is received; in response to the selection instruction, an input box for the target sub-session interaction instruction is presented, and the instruction content of the target sub-session interaction instruction and guidance information corresponding to the instruction content are presented in the input box, and the user may further manually fill in the object name of the instruction object based on the guidance information, or select the target instruction object according to at least one candidate instruction object recommended based on the input content associated with the object name presented; when the terminal receives the object name filled in and input by the user, the terminal automatically publishes a session message carrying the instruction content, and at the same time, the target robot executes the target sub-session interaction instruction, and displays the execution result in the form of a session message in the session interface, that is, presents a reply message of the target robot to the session message, and the reply message includes the result of the target robot executing the target sub-session interaction instruction on the target instruction object corresponding to the object name.
[0138] For example, Fig.10 In the embodiment, when the result of the target robot executing the target interaction instruction includes multiple sub-session interaction instructions, and the instruction content of the sub-session interaction instruction includes an instruction object, if the user wants to evoke the target robot to execute the target sub-session interaction instruction, the user can trigger the corresponding use function item and input the object name of the instruction object. When the terminal receives the input object name, it automatically publishes a session message to the target robot for obtaining the result of the target robot executing the target sub-session interaction instruction for the target instruction object corresponding to the object name, so as to obtain the corresponding result fed back by the target robot.
[0139] The conversation interaction method in a robot group provided in the embodiment of the present application can also be applied to game scenarios. For example, during the interaction process of executing Game A, a user or player can conduct conversation interactions with other players in the conversation area of Game A. In order to obtain relevant content about Game A, such as the acquisition of virtual props, the use of skills or the progress of the game, a robot that executes the corresponding conversation interaction instructions can be added to the robot group. The user can send corresponding conversation information to the target robot to obtain feedback information from the target robot.
[0140] The following will describe an exemplary application of the embodiment of the present application in an actual application scenario. The present application is applied to the application scenario of quickly calling and invoking a specific function of a specified robot in a mobile group chat. In the group chat scenario, the user needs to use a specified command to call a specific function of the robot. The user can enter a command that complies with the specification or use artificial intelligence to parse the natural language into the corresponding command.
[0141] See also Fig.11 , Fig.11 A flow chart of a conversation interaction method in a robot group provided in an embodiment of the present application, the method comprising:
[0142] Step 201: In response to a conversation instruction triggered by an input directional character, the terminal presents at least one candidate robot recommended based on the content during the process of inputting content associated with the name of a target robot.
[0143] Here, if the user wants to have a conversational interaction with the target robot, the user needs to input a directional character (such as the @ character) for the target robot to trigger a conversational instruction for the conversational interaction with the target robot, and enter content associated with the name of the target robot. The terminal responds to the conversational instruction and presents at least one candidate robot based on content recommendation for the user to select during the process of entering content associated with the name of the target robot.
[0144] Step 202: Determine whether the user is quickly targeting the robot.
[0145] Here, the user can select the target robot from at least one candidate robot, or determine the target robot by manually entering the complete robot name; when the user does not quickly select the target robot from at least one candidate robot, such as not clicking on the target robot in the candidate machine, execute step 203; otherwise, when the user quickly selects the target robot from at least one candidate robot, such as clicking on the target robot in the candidate machine, execute step 208.
[0146] Step 203: receiving content manually input by the user.
[0147] Step 204: Determine whether the content manually input by the user has a corresponding instruction.
[0148] Here, when the user manually inputs content, during the process of inputting content, the terminal performs real-time instruction matching according to the content input by the user, and recommends instructions containing the content input by the user in order until there is no corresponding instruction matching for the content input by the user. When there is a corresponding instruction for the content input by the user, step 205 is executed; otherwise, when there is no corresponding instruction for the content input by the user, step 207 is executed.
[0149] In actual applications, when the content input by the user is related to the name of the target robot, the terminal responds to the user's input operation and sends an identification request carrying the content input by the user to the server in real time. Based on the identification request, the server matches the content input by the user with the names of the robots included in the pre-stored robot group, and based on the matching result, determines whether the target robot corresponding to the name of the content input by the user is included; when the content input by the user has a corresponding target robot, execute step 205; when the content input by the user does not have a corresponding target robot, execute step 207.
[0150] When the content input by the user is content associated with the target interaction instruction corresponding to the target robot, the terminal responds to the user's input operation and sends a recognition request carrying the content input by the user to the server in real time. Based on the recognition request, the server matches the content input by the user with the pre-stored interaction instruction corresponding to the robot, and determines whether the interaction instruction contains the content input by the user based on the matching result. When the content input by the user has a corresponding interaction instruction, step 205 is executed; when the content input by the user does not have a corresponding interaction instruction, step 207 is executed.
[0151] Step 205: Present a plurality of recommended conversation interaction instructions associated with the target robot.
[0152] Step 206: Determine whether the user quickly selects the target interaction instruction.
[0153] Here, when the user quickly selects the target interaction instruction from multiple conversation interaction instructions, such as clicking the target interaction instruction among the multiple conversation interaction instructions, step 209 is executed; otherwise, when the user does not quickly select the target interaction instruction from the multiple conversation interaction instructions, such as not clicking the target interaction instruction among the multiple conversation interaction instructions, step 203 is executed.
[0154] Step 207: The associated multiple session interaction instructions are not presented.
[0155] Step 208: In response to a selection operation on a target robot, a plurality of recommended conversation interaction instructions associated with the target robot are presented.
[0156] Here, when the user completes entering the robot name (selecting from candidate robots or entering a robot name), the terminal will recommend a corresponding instruction set based on the received robot name. The instruction set includes multiple commonly used conversation interaction instructions (high-frequency instructions that the user has used) and all other instructions.
[0157] Step 209: In response to a selection operation on a target interaction instruction among the plurality of conversation interaction instructions, determining whether the target interaction instruction is an instruction with an object.
[0158] Here, interactive instructions include object instructions and non-object instructions. Object instructions refer to interactive instructions whose instruction content contains instruction objects. For example, the format of object instructions is: @+robot name+instruction behavior+instruction object; non-object instructions refer to interactive instructions whose instruction content does not contain instruction objects. For example, the format of non-object instructions is: @+robot name+instruction behavior.
[0159] When the target interaction instruction selected by the user is an instruction with an object, step 210 is executed; when the target interaction instruction selected by the user is an instruction without an object, step 212 is executed.
[0160] Step 210: Present the instruction content and guidance information corresponding to the instruction content in the input box corresponding to the conversation instruction.
[0161] Here, when the user selects an instruction with an object, the user is required to continue to fill in the object name of the instruction object contained in the instruction content. Therefore, the instruction assistant will automatically complete the fixed content part of the instruction, namely [@machine target robot + instruction behavior], and package it as a whole. When the user does not enter the object name, an input information prompt will be displayed, that is, the object name corresponding to the instruction object will be presented to guide the user to enter content that meets the requirements.
[0162] Step 211: When receiving the object name input in the input box, a conversation message carrying the target interaction instruction is sent to the target robot.
[0163] The target interaction instruction carries instruction content and object name.
[0164] Step 212: Present the result of the target robot executing the target interaction instruction.
[0165] Here, when the target interaction instruction is an instruction with an object, the target robot executes the target interaction instruction for the target instruction object corresponding to the object name, obtains the corresponding result, and feeds back the execution result to the current account in the form of a conversation message, that is, the reply information of the target robot is presented in the conversation interface, and the reply information includes the result of the target robot executing the target interaction instruction.
[0166] When the target interaction instruction is a non-object instruction, after the user selects the target interaction instruction, the user does not need to customize the object name of the instruction object. The terminal will automatically issue the instruction for the user and start the robot feedback, that is, automatically publish the conversation message carrying the target interaction instruction. At the same time, the target robot executes the target interaction instruction and displays the execution result in the form of a conversation message in the conversation interface, that is, presenting the target robot's reply message to the conversation message, which includes the result of the target robot executing the target interaction instruction.
[0167] See also Fig.12, Fig.12 A flow chart of a conversation interaction method in a robot group provided in an embodiment of the present application, the method comprising:
[0168] Step 301: In response to a user input operation, the terminal sends a recognition request carrying the user input content to a server in real time.
[0169] Here, the input content corresponding to the input operation is: a directional character (such as @) for the target robot and content associated with the name of the target robot. During the process of inputting the above content, the terminal sends a recognition request to the server in real time.
[0170] Step 302: Based on the recognition request, the server matches the content input by the user with the name of the pre-stored robot.
[0171] Step 303: The server recommends the successfully matched candidate robots to the terminal.
[0172] Here, when the matching result indicates that there is a candidate robot corresponding to the name containing the content input by the user (matching is successful), the server recommends the candidate robot to the terminal to invoke the terminal's quick object selection, that is, the user can quickly select the target robot from multiple candidate robots.
[0173] Step 304: In response to the input operation to the target robot, the terminal sends a command acquisition request to the server for the target robot.
[0174] In practical applications, the input operation for the target robot can be a selection operation for quickly selecting a target robot from multiple candidate robots, or a manual input operation in which a user manually inputs @target robot name and ends with a space. The instruction acquisition request carries the identifier of the target robot.
[0175] Step 305: The server obtains multiple session interaction instructions corresponding to the identifier from the association table based on the instruction acquisition request.
[0176] Here, the association table stores the association between the robot and the conversation interaction instructions. The server matches the identifier of the target robot carried in the instruction acquisition request with the identifier of the robot stored in the association table, and uses the conversation interaction instruction of the robot corresponding to the successfully matched identifier as the conversation interaction instruction associated with the target robot.
[0177] Step 306: The server returns multiple conversation interaction instructions associated with the target robot to the terminal for recommendation presentation.
[0178] Here, the server returns the conversation interaction instructions associated with the target robot to the terminal for recommendation and presentation, which triggers the terminal's shortcut instruction selection, that is, the user can quickly select the target interaction instruction from multiple conversation interaction instruction persons.
[0179] Step 307: In response to the selection operation on the target interaction instruction among the multiple session interaction instructions, the terminal sends a session message carrying the target interaction instruction to the server.
[0180] Step 308: The server sends a conversation message carrying the target interaction instruction to the target robot.
[0181] Step 309: The target robot executes the target interaction instruction and obtains an execution result.
[0182] Step 310: The target robot feeds back a reply message carrying the execution result to the terminal.
[0183] Through the above-mentioned manner, the method provided in the embodiment of the present application is combined with the interactive logic of the terminal publishing messages, and has a hierarchical associative recommendation capability based on user input, realizing hierarchical robot command input prompts and quick use, which can not only quickly select the target robot, but also increase the complex semantic input auxiliary capability of real-time associative prompts, and is applicable to both object-oriented and non-object-oriented commands. It can effectively simplify the user's input complexity and reduce the memory cost of commands, thereby solving the pain point of users having difficulty interacting with robots without a learning foundation.
[0184] The following is a description of an exemplary structure of a software module implemented as a conversation interaction device 555 in a robot group provided in an embodiment of the present application. In some embodiments, see Fig.13 , Fig.13 A schematic diagram of the structure of a conversation interaction device in a robot group provided in an embodiment of the present application, stored in Figure 2 The software modules in the conversation interaction device 555 in the robot group in the memory 550 may include:
[0185] A first presentation module 5551, used to present a conversation interface corresponding to a robot group including multiple robots;
[0186] An input receiving module 5552, configured to receive, in the conversation interface, a conversation instruction input for instructing to conduct a conversation interaction with a target robot, and input content associated with a robot name in the robot group;
[0187] A second presentation module 5553 is used for presenting at least one candidate robot recommended based on the content in response to the conversation instruction during the process of inputting the content;
[0188] The third presentation module 5554 is used to receive a selection operation for the candidate robot, take the selected candidate robot as the target robot, and present a plurality of recommended conversation interaction instructions associated with the target robot;
[0189] The result output module 5555 is used to output the result of the target robot executing the target interaction instruction in response to the selection operation of the target interaction instruction among the multiple conversation interaction instructions.
[0190] In some embodiments, the result output module is further configured to present the instruction content and guidance information corresponding to the instruction content in an input box corresponding to the conversation instruction in response to a selection operation on the target interaction instruction when the instruction content of the target interaction instruction includes an instruction object;
[0191] Wherein, the guiding information is used to guide the input of the object name corresponding to the instruction object;
[0192] When an object name input in the input box is received, a result of the target robot executing the target interaction instruction for the target instruction object corresponding to the object name is output.
[0193] In some embodiments, the apparatus further comprises:
[0194] An object determination module, configured to receive content associated with an object name input by a current account in the input box;
[0195] During the process of inputting content associated with the object name, presenting at least one candidate instruction object recommended based on the input content;
[0196] In response to a selection operation on the candidate instruction object, the selected candidate instruction object is used as the target instruction object.
[0197] In some embodiments, the result output module is further configured to, when the instruction content of the target interaction instruction does not contain an instruction object, in response to a selection operation on the target interaction instruction, present, in the conversation interface, a conversation message of the current account corresponding to the target robot, the conversation message containing the instruction content, and
[0198] A reply message of the target robot to the conversation message is presented, wherein the reply message includes a result of the target robot executing the target interaction instruction.
[0199] In some embodiments, the result includes a plurality of sub-session interaction instructions, the instruction content of the sub-session interaction instructions includes an instruction object, and the apparatus further includes:
[0200] a sub-interaction result output module, configured to, when receiving a selection instruction for a target sub-session interaction instruction among the plurality of sub-session interaction instructions, present the instruction content of the target sub-session interaction instruction and guidance information corresponding to the instruction content in an input box corresponding to the target sub-session interaction instruction;
[0201] The guiding information is used to guide the target sub-session interaction instruction to be input, and the instruction content includes the object name corresponding to the instruction object;
[0202] When an object name input in the input box is received, the result of the target robot executing the target sub-interaction instruction for the target instruction object corresponding to the object name is output.
[0203] In some embodiments, before presenting the instruction content of the target sub-session interaction instruction and the guidance information corresponding to the instruction content in the input box corresponding to the target sub-session interaction instruction, the apparatus further includes:
[0204] A selection instruction receiving module is used to present a usage function item for each of the sub-session interaction instructions;
[0205] In response to a triggering operation on a use function item corresponding to a target sub-session interaction instruction among the multiple sub-session interaction instructions, a selection instruction for the target sub-session interaction instruction is received.
[0206] In some embodiments, after presenting the recommended multiple conversation interaction instructions associated with the target robot, the device further includes:
[0207] An instruction updating module, configured to receive an input instruction content associated with a conversation instruction corresponding to the target robot;
[0208] Along with the input of the instruction content, the recommended multiple conversation interaction instructions are updated so that the content of the updated conversation interaction instructions matches the instruction content.
[0209] In some embodiments, the third presentation module is further used to present a text editing box for editing the session content of the session interaction;
[0210] In response to the directional characters for the target robot input by the current account in the text editing box, a conversation instruction for instructing conversation interaction with the target robot is received.
[0211] In some embodiments, after presenting the recommended multiple conversation interaction instructions associated with the target robot, the device further includes:
[0212] An instruction canceling module, configured to receive a deletion operation for the directional character;
[0213] In response to the deletion operation, multiple conversation interaction instructions associated with the target robot that are presented are canceled.
[0214] In some embodiments, the third presentation module is further used to respectively obtain the usage frequency of each conversation interaction instruction associated with the target robot;
[0215] The conversation interaction instructions are presented in a manner such that the ones with high usage frequency have corresponding conversation interaction instructions in front.
[0216] In some embodiments, the third presentation module is further used to respectively obtain the interval between the last use time and the current time of each conversation interaction instruction associated with the target robot;
[0217] The conversation interaction instructions are presented in a manner that the intervals are small and the corresponding conversation interaction instructions are in front.
[0218] In some embodiments, the third presentation module is further configured to present a plurality of recommended conversation interaction instructions associated with the target robot in the conversation interface by means of a floating layer or a pop-up window; or
[0219] A plurality of recommended conversation interaction instructions associated with the target robot are presented through a sub-interface independent of the conversation interface.
[0220] In some embodiments, before presenting the recommended multiple conversation interaction instructions associated with the target robot, the device further includes:
[0221] An instruction determination module, used to obtain an association relationship table storing association relationships between robots and conversation interaction instructions;
[0222] In the association relationship table, multiple conversation interaction instructions associated with the target robot are found.
[0223] In some embodiments, before outputting the result of the target robot executing the target interaction instruction, the device further includes:
[0224] A session sending module, used for presenting a sending function item corresponding to the target interaction instruction;
[0225] In response to the triggering operation for the sending function item, a session message carrying the target interaction instruction is sent, and
[0226] In the conversation interface, the conversation message of the current account corresponding to the target robot is presented.
[0227] The embodiment of the present application provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the conversation interaction method in the robot group described in the embodiment of the present application.
[0228] An embodiment of the present application provides a computer-readable storage medium storing executable instructions, wherein executable instructions are stored. When the executable instructions are executed by a processor, the processor will execute the conversation interaction method in a robot group provided in the embodiment of the present application.
[0229] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EP ROM, EEPROM, flash memory, magnetic surface storage, optical disk, or CD-ROM; or it may be various devices including one or any combination of the above memories.
[0230] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.
[0231] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).
[0232] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.
[0233] The above is only an embodiment of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.
Claims
1. A conversation interaction method in a robot group, characterized in that: The method comprises: Presenting a conversation interface corresponding to a robot group including a plurality of robots; In the conversation interface, receiving a conversation instruction input for instructing conversation interaction with a target robot and input content associated with a robot name in the robot group; In response to the conversation instruction, during the process of inputting the content, presenting at least one candidate robot recommended based on the content; receiving a selection operation for the candidate robot, taking the selected candidate robot as the target robot, and presenting a plurality of recommended conversation interaction instructions associated with the target robot; When the instruction content of the target interaction instruction among the multiple conversation interaction instructions includes an instruction object, in response to a selection operation on the target interaction instruction, the fixed instruction content and guidance information corresponding to the fixed instruction content are presented in an input box corresponding to the conversation instruction, wherein the guidance information is used to guide the input of an object name corresponding to the instruction object; When the object name input in the input box is received, a conversation message carrying the target interaction instruction is automatically issued, and the result of the target robot executing the target interaction instruction for the target instruction object corresponding to the object name is output.
2. The method according to claim 1, characterized in that The method further comprises: receiving content associated with the object name input by the current account in the input box; During the process of inputting content associated with the object name, presenting at least one candidate instruction object recommended based on the input content; In response to a selection operation on the candidate instruction object, the selected candidate instruction object is used as the target instruction object.
3. The method according to claim 1, characterized in that The method further comprises: When the instruction content of the target interaction instruction does not include an instruction object, in response to a selection operation on the target interaction instruction, a conversation message of the current account corresponding to the target robot is presented in the conversation interface, the conversation message including the instruction content, and A reply message of the target robot to the conversation message is presented, wherein the reply message includes a result of the target robot executing the target interaction instruction.
4. The method according to claim 3, characterized in that The result includes a plurality of sub-session interaction instructions, and the instruction content of the sub-session interaction instructions includes an instruction object. The method further includes: When a selection instruction for a target sub-session interaction instruction among the multiple sub-session interaction instructions is received, presenting instruction content of the target sub-session interaction instruction and guidance information corresponding to the instruction content in an input box corresponding to the target sub-session interaction instruction; The guiding information is used to guide the target sub-session interaction instruction to be input, and the instruction content includes the object name corresponding to the instruction object; When the object name entered in the input box is received, a session message carrying the target interaction instruction is automatically published, and the result of the target robot executing the target sub-session interaction instruction for the target instruction object corresponding to the object name is output.
5. The method according to claim 4, characterized in that Before presenting the instruction content of the target sub-session interaction instruction and the guidance information corresponding to the instruction content in the input box corresponding to the target sub-session interaction instruction, the method further includes: Presenting usage function items for each of the sub-session interaction instructions; In response to a triggering operation on a use function item corresponding to a target sub-session interaction instruction among the multiple sub-session interaction instructions, a selection instruction for the target sub-session interaction instruction is received.
6. The method according to claim 1, characterized in that After presenting the recommended multiple conversation interaction instructions associated with the target robot, the method further includes: receiving input instruction content associated with the conversation instruction corresponding to the target robot; Along with the input of the instruction content, the recommended multiple conversation interaction instructions are updated so that the content of the updated conversation interaction instructions matches the instruction content.
7. The method according to claim 1, characterized in that The received input conversation instruction for instructing conversation interaction with the target robot includes: Presenting a text editing box for editing the conversation content of the conversation interaction; In response to the directional characters for the target robot input by the current account in the text editing box, a conversation instruction for instructing conversation interaction with the target robot is received.
8. The method according to claim 7, characterized in that After presenting the recommended multiple conversation interaction instructions associated with the target robot, the method further includes: Receiving a deletion operation for the directional character; In response to the deletion operation, multiple conversation interaction instructions associated with the target robot that are presented are canceled.
9. The method according to claim 1, characterized in that The presenting of the recommended multiple conversation interaction instructions associated with the target robot includes: respectively obtaining the usage frequency of each conversation interaction instruction associated with the target robot; The conversation interaction instructions are presented in a manner such that the ones with high usage frequency have corresponding conversation interaction instructions in front.
10. The method according to claim 1, characterized in that The presenting of the recommended multiple conversation interaction instructions associated with the target robot includes: Respectively obtain the interval between the last use time and the current time of each conversation interaction instruction associated with the target robot; The conversation interaction instructions are presented in a manner that the intervals are small and the corresponding conversation interaction instructions are in front.
11. The method according to claim 1, characterized in that The presenting of the recommended multiple conversation interaction instructions associated with the target robot includes: Presenting a plurality of recommended conversation interaction instructions associated with the target robot in the conversation interface by means of a floating layer or a pop-up window; or, A plurality of recommended conversation interaction instructions associated with the target robot are presented through a sub-interface independent of the conversation interface.
12. The method according to claim 1, characterized in that Before presenting the recommended multiple conversation interaction instructions associated with the target robot, the method further includes: Obtaining an association relationship table storing association relationships between robots and conversation interaction instructions; In the association relationship table, multiple conversation interaction instructions associated with the target robot are found.
13. The method according to claim 1, characterized in that Before outputting the result of the target robot executing the target interaction instruction, the method further includes: Presenting a sending function item corresponding to the target interaction instruction; In response to the triggering operation for the sending function item, a session message carrying the target interaction instruction is sent, and In the conversation interface, the conversation message of the current account corresponding to the target robot is presented.
14. A conversation interaction device in a robot group, characterized in that: The device comprises: A first presentation module, used to present a conversation interface corresponding to a robot group including a plurality of robots; An input receiving module, configured to receive, in the conversation interface, a conversation instruction input for instructing conversation interaction with a target robot, and input content associated with a robot name in the robot group; A second presentation module, configured to present at least one candidate robot recommended based on the content in response to the conversation instruction during the process of inputting the content; A third presentation module is configured to receive a selection operation for the candidate robot, use the selected candidate robot as the target robot, and present a plurality of recommended conversation interaction instructions associated with the target robot; A result output module is used for presenting fixed instruction content and guidance information corresponding to the fixed instruction content in an input box corresponding to the conversation instruction in response to a selection operation on the target interaction instruction when the instruction content of the target interaction instruction among the multiple conversation interaction instructions includes an instruction object, wherein the guidance information is used to guide the input of an object name corresponding to the instruction object; when the object name entered in the input box is received, a conversation message carrying the target interaction instruction is automatically published, and the result of the target robot executing the target interaction instruction on the target instruction object corresponding to the object name is output.
15. An electronic device, characterized in that: include: A memory for storing executable instructions; A processor, configured to implement the conversation interaction method in a robot group as described in any one of claims 1 to 13 when executing the executable instructions stored in the memory.
16. A computer-readable storage medium, characterized in that: Executable instructions are stored, which are used to implement the conversation interaction method in the robot group described in any one of claims 1 to 13 when executed by a processor.
17. A computer program product comprising computer instructions or a computer program, characterized in that When the computer instructions or computer programs are executed by a processor, the conversation interaction method in the robot group described in any one of claims 1 to 13 is implemented.
