Human-Machine Conversation Method, Client, Electronic Device, and Program
The human-machine conversation system addresses the issue of inaccurate responses by allowing users to select function identifiers, enhancing the accuracy and interactivity of machine responses to user inputs, thereby improving user experience.
Patent Information
- Application Number
- JP2020561854
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2018-05-07
- Filing Date
- 2019-04-26
- Publication Date
- 2025-07-10
- Estimated Expiration
- 2039-04-26
AI Technical Summary
Current human-machine conversation systems often fail to accurately respond to user inputs, leading to a low user experience, as they frequently misinterpret or fail to understand user queries, as exemplified by systems like Microsoft's Xiao AI Si.
A human-machine conversation method and system that includes a client and server, where the client displays user inputs, response results, and function identifiers, allowing users to select a target function identifier to ensure accurate responses, and the server analyzes user inputs to determine appropriate service functions.
Enhances user experience by improving the accuracy of machine responses to user intentions, enabling users to correct misinterpretations and ensuring that the system provides relevant information through a more intuitive and interactive interface.
Smart Images

Figure 0007705591000001 
Figure 0007705591000002 
Figure 0007705591000003
Abstract
Description
Technical Field
[0001] [Cross - Reference to Related Applications] This application is a national phase transition of International Application No. PCT / CN2019 / 084520, filed on April 26, 2019, claiming priority based on Chinese Patent Application No. 201810426209.2, filed on May 7, 2018, and both applications are hereby incorporated by reference in their entirety into this application.
[0002] This disclosure relates to the field of Internet technology, particularly to methods, electronic devices, and programs for human - machine conversation.
Background Art
[0003] Currently, numerous human - machine conversation robots or software applications have emerged, such as Xiaobing (Xiao AI Si) of the intelligent chatbot designed by Microsoft Corp. (registered trademark) in Redmond, Washington. Users can conduct human - machine conversations by using a client to input messages. However, in human - machine conversations, the result information fed back by the machine often fails to respond to the messages input by the user, leading to a relatively low user experience. For example, when a user tries to search for and purchase an air ticket from Suzhou to Beijing and inputs "Search for air tickets from Suzhou to Beijing", the machine responds with information about the user's past purchase orders related to air tickets.
Summary of the Invention
[0004] Embodiments of this disclosure provide a human - machine conversation method, a client, an electronic device, and a storage medium for an improved overall user experience.
[0005] In one embodiment, the present disclosure provides a human-machine conversation method applicable to a client. The human-machine conversation method includes providing a human-machine conversation interface; when receiving a first input, displaying the input information of the user; displaying a response result of the input information; when receiving a second input, displaying at least one function identifier based on the second input, where the service function indicated by the function identifier is used to respond to the input information; and when receiving a third input, determining a target function identifier based on the third input, where the service function indicated by the target function identifier is used to respond to the input information.
[0006] In one embodiment, the present disclosure provides a client including a display module and a processing module. The display module is configured to provide a human-machine conversation interface. The processing module is configured to, when receiving a first input, display the input information of the user, display a response result of the input information, when receiving a second input, display at least one function identifier based on the second input, where the service function indicated by the function identifier is used to respond to the input information, and when receiving a third input, determine a target function identifier based on the third input, where the service function indicated by the target function identifier is used to respond to the input information.
[0007] In one embodiment, the present disclosure provides an electronic device including a display and a processor. The display is configured to provide a human-machine conversation interface. When receiving a first input, the processor is configured to display user input information, display a response result of the input information, and when receiving a second input, display at least one function identifier based on the second input, wherein the service function indicated by the function identifier is used to respond to the input information, and when receiving a third input, determine a target function identifier based on the third input, wherein the service function indicated by the target function identifier is used to respond to the input information.
[0008] In one embodiment, the present disclosure provides a computer-readable storage medium configured to store computer program instructions, the computer-readable storage medium including program instructions for performing: providing a human-machine conversation interface; when receiving a first input, displaying user input information; displaying a response result of the input information; when receiving a second input, displaying at least one function identifier based on the second input, wherein the service function indicated by the function identifier is used to respond to the input information; and when receiving a third input, determining a target function identifier based on the third input, wherein the service function indicated by the target function identifier is used to respond to the input information.
[0009] In one embodiment, the present disclosure provides a human-machine conversation method applied to a client. The human-machine conversation method includes providing a human-machine conversation interface, when receiving user input, displaying the input information of the user, displaying the response result of the input information, and when the user input is not received within a specified time period, displaying at least one function identifier, wherein the service function indicated by the function identifier is used to respond to the input information; determining a target function identifier based on the user input; and responding to the input information based on the service function indicated by the target function identifier.
[0010] In one embodiment, the present disclosure provides a client including a display module and a processing module. The display module provides a human-machine conversation interface, when receiving user input, displays the input information of the user, displays the response result of the input information, and when the user input is not received within a specified time period, displays at least one function identifier, wherein the service function indicated by the function identifier is configured to be used to respond to the input information. The processing module is configured to determine a target function identifier based on the user input and respond to the input information based on the service function indicated by the target function identifier.
[0011] In one embodiment, the present disclosure provides an electronic device including a display and a processor. The display provides a human-machine conversation interface, when receiving user input, displays the input information of the user, displays the response result of the input information, and when the user input is not received within a specified time period, displays at least one function identifier, wherein the service function indicated by the function identifier is configured to be used to respond to the input information. The processor is configured to determine a target function identifier based on the user input and respond to the input information based on the service function indicated by the target function identifier.
[0012] In one embodiment, the present disclosure provides a computer-readable storage medium configured to store computer program instructions. The computer-readable storage medium includes program instructions for performing the following steps: providing a human-machine conversation interface; when receiving user input, displaying the user's input information; displaying a response result of the input information; when the user input is not received within a specified time period, displaying at least one function identifier, where the service function indicated by the function identifier is used to respond to the input information; determining a target function identifier based on the user input; and responding to the input information based on the service function indicated by the target function identifier.
[0013] In one embodiment, the present disclosure provides a service function activation method for use in a server. The service function activation method includes the following steps: receiving first input information of a user on a human-machine conversation interface of a client provided by the client; transmitting a response result to the client based on the input information; receiving second input information provided by the client; providing at least one function identifier to the client, where the service function indicated by the function identifier is used to respond to the input information; and activating a corresponding service function based on a target function identifier determined based on the user input of the client.
[0014] In one embodiment, the present disclosure provides an electronic device including a network communication unit and a processor. The network communication unit is configured to receive first input information of a user on a human-machine conversation interface of a client provided by the client, transmit a response result to the client based on the input information, and receive second input information provided by the client. The processor is configured to provide at least one function identifier to the client, and the service function indicated by the function identifier is used to respond to the input information and activate the corresponding service function based on a target function identifier determined based on the user input of the client.
[0015] In one embodiment, the present disclosure further provides a computer-readable storage medium configured to store computer program instructions. The computer-readable storage medium includes program instructions for executing a procedure of receiving first input information of a user on a human-machine conversation interface of a client provided by the client, a procedure of transmitting a response result to the client based on the input information, a procedure of receiving second input information provided by the client, and a procedure of providing at least one function identifier to the client, wherein the service function indicated by the function identifier is used to respond to the input information, and a procedure of activating the corresponding service function based on a target function identifier determined based on the user input of the client.
[0016] Embodiments of the present disclosure provide a human-machine conversation method, a client, an electronic device, and a storage medium for enabling a human-machine conversation interface. When a first input of a user is received, the input information of the user is displayed, and a response result regarding the input information is displayed. When a second input is received, at least one function identifier based on the second input is displayed. At this time, the service function indicated by the function identifier is used to respond to the input information. When a third input is received, a target function identifier is determined based on the third input. At this time, the service function indicated by the target function identifier is used to respond to the input information. Thus, in a human-machine conversation, when the user knows that the machine cannot identify the user's intention or has misrecognized the user's intention, a function identifier is selected to determine a corresponding service function for responding to the input information, thereby increasing the possibility that the machine understands the user's intention in the human-machine conversation and enhancing the user experience.
Brief Description of the Drawings
[0017] The drawings used in the description of the embodiments are briefly introduced below. The drawings are only some embodiments of the present disclosure, and those of ordinary skill in the art will be able to obtain other drawings according to these attached drawings without special effort.
[0018]
Figure 1
[0019]
Figure 2
[0020]
Figure 3
[0021]
Figure 4
[0022]
Figure 5
[0023]
Figure 6
[0024]
Figure 7
[0025]
Figure 8
[0026]
Figure 9
[0027]
Figure 10
DETAILED DESCRIPTION OF THE INVENTION
[0028] To enable those skilled in the art to better understand the technical solution of the present disclosure, the technical solution in the embodiments of the present disclosure will be clearly and fully described below with reference to the drawings of the embodiments of the present disclosure. The described embodiments are only some of the embodiments of the present disclosure, rather than all of them. Based on the embodiments of the present disclosure, all other embodiments that can be obtained by those skilled in the art with ordinary skills without any special efforts fall within the scope of the present disclosure.
[0029] The embodiments of the present disclosure provide a human-machine conversation system. According to various embodiments, the human-machine conversation system includes a client and a server.
[0030] In some embodiments, the client includes a desktop computer, a tablet computer, a notebook computer, a smartphone, a digital assistant, a smart wearable device, etc. The smart wearable device may include a smart bracelet, a smart watch, smart glasses, a smart helmet, etc. In other embodiments, the client includes not only the above-mentioned tangible electronic devices, but also software executed on the above-mentioned electronic devices.
[0031] In some embodiments, the client is configured to provide a human-machine conversation interface. The human-machine conversation interface is configured to display the user input information and the response result about the input information when receiving the user input. When receiving a second input, the human-machine conversation interface is further configured to display at least one function identifier based on the second input and the service function indicated by the function identifier used to respond to the input information. When receiving a third input, the human-machine conversation interface is further configured to determine a target function identifier based on the third input and the service function indicated by the target function identifier used to respond to the input information. Further, the client is configured to execute data interaction with the server, receive data such as data sent from the client, and obtain output information based on the service function corresponding to the target function identifier selected by the user in response. Subsequently, the server transmits the output information to the client for display to the user.
[0032] In some embodiments, the server includes one or more independently running servers, a distributed server, or a server cluster composed of multiple servers. The server may include a network communication unit, a processor, a memory, etc. The distributed memory may include multiple processors, multiple network communication units, multiple memories, etc. The multiple memories may include multiple independent physical memories or a distributed memory system.
[0033] In some embodiments, the server includes an electronic device having functions of computing and network interaction. In other embodiments, the server includes software that runs on the electronic device and provides service logic for data processing and network interaction.
[0034] In an exemplary scenario, the user conducts a human-machine conversation via an interface on the client. The content of the conversation relates to, for example, travel, shopping, movies, general knowledge, jokes, and so on.
[0035] FIG. 1 is a diagram showing a user interface for human-machine conversation according to some embodiments of the present disclosure. In some embodiments, as shown in FIG. 1, the user inputs "Search for an air ticket to Beijing" on the human-machine conversation interface provided by the client. The client displays the information and transmits the information to the server, and the server analyzes the information. During the process in which the server analyzes the input information and obtains the service function designated by the system corresponding to the input information, the client correspondingly displays a picture indicating the progress of the process to the user. For example, within the dotted box of the interface in FIG. 1, pictures related to a plurality of function identifiers are continuously displayed from the one representing "Health Attendant" to the one representing "Travel", to the one representing "Shopping Hints", to the one representing "General Knowledge" (more detailed content is shown in FIG. 2) until the analysis result stops. In one embodiment, the server analyzes the intention of the information to determine whether the intention of the information is related to the topic of health. As a result, the server obtains a value indicating that the confidence level that the intention of the information is within the scope of the "Health Attendant" topic is lower than 20%, that is, lower than a preset threshold. This means that the information input by the user is less likely to be related to the topic of health. While the server is analyzing whether the information input by the user is related to the topic of health, the client displays the function identifier of "Health Attendant" on the interface. Then, the server analyzes the confidence level that the intention of the information is within the scope of the "Travel" topic and changes the function identifier of "Health Attendant" displayed on the client to a function identifier such as "Travel". When the probability that the information is within the scope of the topic corresponding to a specific service function is higher than a preset value, the server concludes the analysis, executes the service function, obtains an output result in response to the information, and the output result is transmitted to the client and displayed to the user.
[0036] In this exemplary scenario of FIG. 1, when an analysis is performed based on the above method, the server classifies the intention of the information "looking for an air ticket to Beijing" as related to the theme of shopping. Based on its corresponding service function, the information receives a response, and the output information "Dear customer, do you want to proceed with an order from Beijing?" for answering the user is obtained and displayed on the human-machine conversation interface. As shown here, an icon b is further displayed at a position fixed to the displayed information, enabling the user to modify the output result displayed on the client. When it is found that the machine has misrecognized the user's intention, the user clicks on icon b. After the user clicks on icon b, the client receives the user's operation and responds by displaying on the human-machine conversation interface "Dear customer, was my understanding incorrect? Can I receive a correction instruction?" and further provides a list of function identifiers. The services indicated by each function identifier in the list of function identifiers are used to respond to the input information.
[0037] As shown in FIG. 1, the user swipes the interface with a finger to browse another function identifier. The user clicks on the "travel" picture in the list of function identifiers to select the function identifier corresponding to the function. As a result, the human-machine conversation interface is configured to display the message "Dear customer, do you need help looking for an air ticket from Hangzhou to Beijing?" For confirmation, a button d is further provided below the information. Then the user determines whether the output result displayed by the human-machine conversation interface is correct. Referring to FIG. 3, when the user selects "yes", the server obtains the corresponding air ticket information from a third-party service provider, sends the air ticket information to the client, and the client displays the air ticket information as selected by the user through the client interface. Further, the server is configured to continuously learn so as to continuously improve the conversation performed by the artificial intelligence based on the options selected by the user.
[0038] In other exemplary scenarios, the user conducts a conversation on a human-machine conversation interface that includes content related to topics such as travel, shopping, movies, general knowledge, jokes, etc.
[0039] In this example, the user inputs "Search for a flight ticket to Beijing" on the human-machine conversation interface at the client. The server analyzes the input information and obtains the service function specified by the system corresponding to the input information to analyze the information. Since the time required for analysis is short, the client hides the display of the box on the human-machine conversation interface of FIG. 1 and it is no longer displayed to the user.
[0040] Here, the server analyzes the input information to obtain the service specified by the system corresponding to the input information, and based on this, the server responds to the input information. Further, the obtained output result is sent to the client, and the client displays the output result by executing the system service. When the user knows that the output result is not the information they want, the user inputs the text "That's not it". In response to this, the human-machine conversation interface displays a list of function identifiers in full screen as shown in FIG. 2 to make it easier for the user to select the service function corresponding to the corresponding function identifier in the list, and responds to the information "Search for a flight ticket to Beijing" input by the user.
[0041] FIG. 4 is a flowchart showing a method for providing a human-machine conversation according to some embodiments of the present disclosure. In some embodiments, the human-machine conversation method is applied to a client. In one embodiment, as shown in FIG. 4, the human-machine conversation method includes the following steps.
[0042] In step S100, a human-machine conversation interface is provided.
[0043] In some embodiments, the human-machine conversation interface is an interface for human-machine information interaction. In one embodiment, the information displayed on the interface includes the client's system information, or the information received from the server, or the information input by the user in the client, or the result output by the client or the server in response to the information input by the user. For example, when the user inputs "Tell me a joke", the client or the server will display a joke on the interface in response to the information. In this way, information interaction is performed on the human-machine conversation interface between the user and the client (or the server), thereby implementing a conversation assisted by artificial intelligence. According to various embodiments, the information displayed on the human-machine conversation interface includes information such as text, pictures, animations, videos, and sounds. In one example, the human-machine conversation includes a chat that builds a closer relationship. In another example, the conversation includes questions and answers for providing information. For example, such questions include "What do you want to buy?" or "How much is this instant noodle bag?". In other examples, the conversation has a specific intention. For example, when the user's intention is to buy instant noodles, the conversation is composed of a plurality of questions and answers regarding this intention.
[0044] In one embodiment, the user performs a preset operation to cause a client-side popup on the human-machine conversation interface. In some embodiments, the preset operation includes a user operation that triggers a trigger state so that the human-machine conversation interface is displayed on the client (e.g., a popup). In some examples, the preset operation includes text input, voice input, or input of other actions. In some embodiments, the user inputs the operation directly on the client or operates via an external device such as a VR device, an electronic stylus, a keyboard, or a mouse. When the operation matches the preset operation, the trigger state is satisfied and the human-machine conversation interface pops up on the client. For example, if the sound attribute value is greater than the preset attribute value, the sound is recognized as matching the instruction of the preset operation. When it matches, the human-machine conversation interface pops up. In another example, when the user clicks on a specified area of the client, the human-machine conversation interface pops up. For another example, when the user clicks on "Customer Service Bot", the human-machine conversation interface pops up on the client interface and a conversation assisted by artificial intelligence is conducted.
[0045] In step S102, when the first input or user input is received, the client displays the user's input information.
[0046] In some embodiments, the user input includes text input, voice input, or input of other actions. Correspondingly, the user's input information includes text information, voice information, etc., and as a result, this is displayed to the user by the human-machine conversation interface. The user makes an input directly on the client or via an external device such as a VR device, an electronic stylus, a keyboard, or a mouse. In one embodiment, when the first input of the user is received, the first input generally refers to an input operation that is distinguished from the second input and the third input described below.
[0047] In step S104, the client displays the response result about the input information.
[0048] In some embodiments, the response result includes feedback information obtained by a server or a client that processes the input information. As shown in the example of FIG. 1, when the user provides an input of "looking for an air ticket to Beijing", the client sends the information to the server, and the server processes the information and responds to proceed to the theme category of the shopping service. Subsequently, the input information is processed through the service to obtain a response result of "Do you want to proceed with the order from Beijing, sir / madam?". For another example, if no service is found through matching, the response result includes feedback information such as "I'm sorry, sir / madam, I don't quite understand what you want".
[0049] In step S106, when the second input is received, the client displays at least one function identifier based on the second input, and there, the service function indicated by the function identifier is used to respond to the input information.
[0050] In some embodiments, the second input includes text input, voice input, or input of other actions. In one example, when the user knows that the output information returned by the machine does not correspond to the user's intention, the user performs a text input of "That's different" or speaks "That's different" in voice input. In another example, the user clicks on icon b in FIG. 1 to pop up a list of function identifiers for correction. Here, the operation of the user clicking on icon b is regarded as the second input. When the user's second input satisfies a preset trigger state, at least one function identifier is displayed based on the second input.
[0051] In some embodiments, the service functions indicated by the function identifiers are used to respond to the input information. In some embodiments, the function identifiers include pictures, texts, animations, etc. that represent the corresponding service functions. Displaying at least one function identifier includes displaying one or more function identifiers for the user to select.
[0052] In some embodiments, displaying at least one function identifier includes displaying a list of function identifiers. Referring to icon c in FIG. 1, the user swipes the interface with a finger to browse another function identifier. In other embodiments, displaying at least one function identifier includes displaying (for example, popping up) a new interface window. As shown in FIG. 2, at least one function identifier is listed in the full-screen interface of FIG. 2. In some embodiments, the user performs an operation of switching between the above forms to display two lists of function identifiers. For example, when the user long-presses icon c in FIG. 1, the interface displays a list of function identifiers in full screen.
[0053] In some embodiments, responding to input information includes analyzing the input information based on a service function indicated by a function identifier and obtaining corresponding output information for display to a user. In one example, the service function indicated by the function identifier includes a service function related to a particular aspect or topic. To respond to the user's input information, the input information is processed and analyzed based on the aspect or topic to obtain corresponding output information. For example, a user sends a picture and clicks on a "picture shopping" function identifier. In this case, the picture is analyzed using the service function of picture shopping to obtain a list of corresponding products for selection by the user. When the user clicks on a "trivia knowledge" function identifier, the picture is analyzed for trivia knowledge (e.g., obtaining similar pictures or obtaining the source or background of the picture).
[0054] In some embodiments, responding to input information includes building a keyword library, which is used to match the utterance / text input by the user. As a result, a corresponding knowledge repository is used to obtain the output information. In various embodiments, responding to input information includes the use of search engines, text mining, natural language processing (NLP), or other techniques. For example, the most likely intention of the user is inferred based on the meaning of a fragment of short text (e.g., a question from the user), and the most similar results are identified from the big data in the knowledge repository. In other embodiments, responding to input information includes the use of deep data mining or big data techniques.
[0055] In step S108, when a third input is received, a target function identifier is determined based on the third input, where the service function indicated by the target function identifier is used to respond to the input information.
[0056] In some embodiments, the target function identifier is determined based on a third input. In some embodiments, the third input includes, but is not limited to, voice input, text input, action operations, etc. The user selects one or more function identifiers as the target function identifier from at least one displayed function identifier by the third input. The server or the client uses the function identifier specified by the user input as the target function identifier. Some examples of selecting a function identifier using user input are illustrated herein. Using the interface of FIG. 2 as an example, the user taps the upper left corner of the "Travel" function identifier to specify that the function identifier is selected as the target function identifier. In multiple examples, the user determines the target function identifier in other input manners. For example, if the user looks at a function identifier for a while, the function identifier is selected as the target function identifier. Optionally, or additionally, the user long-presses the identifier to specify it as the target function identifier. The embodiments of the present disclosure are not limited to the above examples, and those skilled in the art can also make other changes under the inspiration of the technical essence of the present disclosure, and all such changes should be included in the scope of the present disclosure as long as the achieved functions and effects are the same as or similar to those of the present disclosure.
[0057] In some embodiments, the target function identifier is determined based on a third input, where the service function indicated by the target function identifier is used to respond to the input information. In some embodiments, after the target function identifier is determined based on the third input, the input information receives a response based on the service function indicated by the target function identifier. In some embodiments, the service function is executed by the client to respond to the input information. The client responds to the input information from the user based on the service function corresponding to the target function identifier selected by the user. In other embodiments, the service function is executed by the server to respond to the input information. The server responds to the user's input information based on the service function corresponding to the target function identifier selected by the user, obtains the corresponding output information, and this information is fed back to the client. As a result, the client displays the output information to the user.
[0058] In some embodiments, the output information obtained in response to the input information includes text information or voice information that answers the input information from the user. In other embodiments, the output information includes the corresponding service content. In the example shown in the interface of FIG. 3, the user's input information is "Looking for a flight ticket to Beijing". And the function identifier selected by the user is "Travel". The client or the server responds to the input of the information "Looking for a flight ticket to Beijing" by the user through the service function corresponding to the identifier, and obtains output information including the information "Would you like help finding a flight ticket from Hangzhou to Beijing?" and the corresponding service content. The user selects a flight and places an order to purchase the flight ticket. In other examples, the service content obtained by responding to the input information includes a link for the user to select. By the user's click, the client interface navigates to the corresponding page to try to meet the user's needs.
[0059] In some embodiments, the data interaction between the client and the server includes transmitting and / or receiving data information via a specific protocol. In some embodiments, it is performed via protocols such as the TCP / IP (Transmission Control Protocol / Internet Protocol) protocol, the HyperText Transfer Protocol (HTTP). Using the above method, the data interaction between the client and the server is implemented, and the client provides a human-machine conversation interface to the user.
[0060] In some embodiments, the human-machine conversation interface is provided for the user to converse with the machine via the interface. In one example, the content of the conversation includes a chat for building a closer relationship. In another example, the conversation includes questions and answers for providing information. In other examples, the conversation includes a conversation themed on a specific intention. If the machine cannot identify the user's intention or misidentifies the intention, the user can select a corresponding function identifier to respond to their input information, improving the success rate when the machine identifies the user's intention, thereby increasing the user's sense of "being well understood" and improving the user experience.
[0061] In some embodiments, the step of displaying the response result for the input information includes the following steps.
[0062] In step S200, the input information is analyzed to obtain the service function designated by the system corresponding to the input information.
[0063] In some embodiments, analyzing the input information to obtain the service function designated by the system corresponding to the input information is executed by the client or the server.
[0064] In some embodiments, the service function specified by the system refers to the service function corresponding to the input information, which is determined by the client or the server after analyzing the input information. In one embodiment, for example, the user inputs "Search for an air ticket to Beijing". The client or the server analyzes the meaning and intention of the information based on the input information and determines the corresponding service function. For example, the probabilities that the information falls within the scope of topics such as "health attendant", "travel", and "general knowledge" are respectively calculated, and the service function corresponding to the topic with the highest probability is selected as the service function specified by the system.
[0065] In one embodiment, obtaining the service function specified by the system corresponding to the input information by analyzing the input information includes analyzing and determining based on the input information which service function should be used to process the information. In some embodiments, analyzing and determining the service function specified by the system utilizes a recurrent neural network, a convolutional neural network, etc. The embodiments described in this specification may be configured such that analyzing and determining the service function specified by the system is implemented using any suitable artificial intelligence conversation technology, but is not limited thereto.
[0066] In one embodiment, the analysis order of the process of analyzing the input information to obtain the service function specified by the system corresponding to the input information is based on the machine training results for achieving an appropriate order, such as the behavior of the general public, the supervision of experts, personal training, cloud clustering training, context sequence training, or reinforcement learning.
[0067] In step S202, a response is made to the input information based on the service function specified by the system.
[0068] In step S204, the output result is displayed by executing the service function specified by the system.
[0069] In some embodiments, the input information receives a response, and the output result of executing the service function specified by the system is displayed. In some embodiments, the service function specified by the system includes creating a keyword library in which keyword matching is performed on the utterance / text input by the user. As a result, the corresponding repository is called to obtain the output information. In other embodiments, the input information receives a response based on a search engine, text mining, natural language processing (NLP), or other technologies. For example, the most likely intention of the user is inferred based on the meaning of a fragment of short text (e.g., a question from the user), and the most similar results are found from a large amount of content in the repository. In other embodiments, the input information receives a response based on deep mining or big data technologies.
[0070] In some embodiments, the output result includes the result of responding to the input information. In one example, when the user inputs "Tell me a joke", in response, the client or the server calculates the probability that the information falls within the scope of the service function. The probability represents the degree to which the intention corresponding to the user's input information matches the service function. When the client or the server determines that the probability that the information falls within the scope of the service function "taking a break" is high, the input information is analyzed based on the service function "taking a break". As a result, one of the jokes is selected from the pool of joke content and displayed to the user.
[0071] In some embodiments, displaying the output result by executing the service function specified by the system includes the client executing the system service function to obtain the output result and displaying the output result on the human-machine conversation interface. In other embodiments, the server executes the system service function to obtain the output result, transmits the output result to the client, and as a result, the client displays the output result on the human-machine conversation interface.
[0072] In the above embodiment, the client or the server performs processing and analysis based on the user's input information to obtain an output result, thereby enhancing the smoothness of the conversation and saving the user the trouble of performing unnecessary operations.
[0073] In some embodiments, the process of analyzing the input information to obtain the service function specified by the system corresponding to the input information further includes the step of displaying at least one function identifier corresponding to the service function.
[0074] In one embodiment, displaying at least one function identifier corresponding to the service function means that by analyzing the input information to obtain the service function specified by the system corresponding to the input information, the user recognizes from the interface the progress state of determining the service function specified by the system.
[0075] In one embodiment, displaying at least one function identifier corresponding to a service function is to display at least one function identifier corresponding to the service function in a sequence. In the example shown in FIG. 1, the user inputs a text "Search for an air ticket to Beijing". During the process where the content is displayed in box a, the client or the server analyzes the text and which service functions should be used to respond to the input information. For example, the client or the server first analyzes the probability that the information input by the user is within the scope of the service function "Health Butler", and then analyzes the probability that it is within the scope of the service function "Travel". As a result, the content displayed in box a on the human-machine conversation interface changes from the function identifier corresponding to the service function "Health Butler" (for example, the first displayed) to the function identifier corresponding to the service function "Travel" (for example, the next displayed). In some embodiments, the displayed function identifier has no correspondence with the function identifier involved in the process of analyzing the input information to obtain the service function designated by the system corresponding to the input information, and is only used to inform the user by indicating that the client or the server analyzes and determines the service function designated by the system.
[0076] In some embodiments, the at least one displayed function identifier corresponding to the service function includes an animation, text information, or sound information indicating the process of analyzing the input information to obtain the service function designated by the system corresponding to the input information.
[0077] In some embodiments, when the analysis process ends, at least one displayed function identifier corresponding to the service function is hidden, or a picture corresponding to the end of the analysis process is displayed. In other embodiments, after the process of analyzing the input information to obtain the service function designated by the system corresponding to the input information ends, text information of "Analysis completed" is displayed to inform the user that the process has ended.
[0078] In some embodiments, at least one function identifier corresponding to a service function is unconditionally displayed. In other embodiments, such at least one function identifier is displayed only when the visual operation time is shorter than the time used for analysis. For example, when the client or the server is analyzing the probability that the information input by the user is within the scope of the service function "Health Butler", the client displays the function identifier corresponding to the service function "Health Butler" in response to the analysis process. The time spent by the client in displaying the corresponding function identifier in response to the analysis process is referred to herein as the visual operation time.
[0079] As shown in the embodiments described above, at least one function identifier corresponding to a service function is displayed to indicate to the user that the client or the server is analyzing the input information to determine the service function specified by the system corresponding to the input information, thereby realizing a more intuitive display for the user, enriching the human-machine conversation, and improving the user experience.
[0080] In some embodiments, the function identifier at the stage of displaying at least one function identifier corresponding to a service function is a function identifier corresponding to a service function involved in the process of obtaining the service function specified by the system corresponding to the input information by analyzing the input information.
[0081] In some embodiments, at least one displayed function identifier corresponding to a service function is an animation formed by sequentially displaying pictures. In one embodiment, referring to FIG. 1 again, the identifier displayed in the analysis animation, as a result, changes from the function identifier of "Health Butler" to the function identifier of "Travel" representing the service function involved in the process of determining the service function.
[0082] As shown in the above embodiments, at least one function identifier corresponding to the service function is displayed to the user. Such an involved function identifier is related to the service function involved in the process of analyzing the input information to obtain the service function specified by the system corresponding to the input information. In this way, the process of determining the service function is more intuitively reflected by displaying the pictures in sequence, which helps the user to know what the machine is doing, thereby improving the interactivity.
[0083] In some embodiments, when receiving the second input, in the stage of displaying at least one function identifier based on the second input, the second input includes at least one of text information input by the user, voice information input by the user, or an operation received from the user via a human-machine conversation interface.
[0084] FIG. 5 is a diagram showing a user interface for human-machine conversation according to some embodiments of the present disclosure. In some embodiments, the above second input includes at least one of text information input by the user, voice information input by the user, or an operation of the user received via a human-machine conversation interface. In one example, the text information is "It is not correct", "It doesn't mean that", etc. input by the user. In another example, the voice information is utterances such as "It's different", "It doesn't mean that", etc. recorded by the user via a voice input device. In other examples, the operation of the user in the human-machine conversation interface is the operation of the user clicking on a specific area in the human-machine conversation interface, the operation of the user waving the client, etc.
[0085] According to the above embodiments, the second input is provided in various forms such that when the second input is received, the client displays at least one function identifier based on the second input.
[0086] In some embodiments, when receiving a second input and displaying at least one function identifier based on the second input, if the text information of the second input includes a specified phrase, it includes the step of displaying the function identifier indicated by the specified phrase, or, if the voice information of the second input includes a specified voice, it includes the step of displaying the function identifier indicated by the specified voice, or, if the second input includes a specified operation of the user in a human-machine conversation interface, it includes the step of displaying the function identifier indicated by the specified operation.
[0087] In one embodiment, at least one function identifier is displayed when the second input meets a specified trigger condition for correcting the output result originally obtained by the client or server from analyzing the user's input information. In one example, the specified phrases include "It's not correct", "It doesn't matter", etc. When the text information of the second input includes the aforementioned specified phrases, the trigger condition is met and at least one function identifier is displayed. In another example, the specified sounds include voice utterances such as "It's not correct", "It doesn't matter", etc. When the voice information of the second input includes the aforementioned specified sounds, the trigger condition is met and at least one function identifier is displayed. In yet another example, the specified operations include the user clicking on area b of the user interface in FIG. 1 or long-pressing the output result displayed on the human-machine conversation interface. When the second input is the specified operation, the trigger condition is met and the interface displays at least one function identifier for correcting the output result.
[0088] According to the above embodiments, a plurality of trigger conditions for displaying at least one function identifier are provided. When the user's second input meets one or more trigger conditions, the client displays at least one function identifier for the user to select.
[0089] In some embodiments, the function identifier is image information or text information, or a combination of both, that describes the service function.
[0090] In some embodiments, the function identifier includes a picture, text, or a combination of both. Referring to the example shown in FIG. 1, the function identifier "Transactions in society" indicates that the user's input information is analyzed from the aspect or theme of transactions. As shown in FIG. 1, the function identifier is a picture. In other examples, the function identifier is the text "Transactions in society" or a combination of both. In some implementation examples, the function identifier further includes corresponding text information for explaining the service function corresponding to the function identifier.
[0091] According to the above embodiments, the expression of the function identifier is provided and displayed to the user in a convenient manner for the user to understand the service function corresponding to a certain identifier.
[0092] In one embodiment, the text information for explaining the service function corresponding to the function identifier is displayed under the function identifier.
[0093] In one example, the text information includes text for explaining the service function corresponding to the function identifier. In the example shown in FIG. 2, the captions "What does the product look like?", "Want to search for general knowledge", and "Want to live a long life" are respectively displayed under the function identifiers "Picture shopping", "General knowledge", and "Health butler" that explain the corresponding service functions.
[0094] In some embodiments, the text information for explaining the service function corresponding to the function identifier is displayed under the function identifier in a convenient manner for the user to understand the service function represented by the function identifier.
[0095] In some embodiments, the step of determining a target function identifier based on a third input further includes the following steps.
[0096] In step S300, text information input by the user is received.
[0097] In step S302, a corresponding service function is activated based on the text information in response to the user's input information.
[0098] FIG. 6 is a diagram showing a user interface for human-machine conversation according to some embodiments of the present disclosure. In some embodiments, the user further inputs text information for triggering a corresponding service function in response to the user's input information. In one example, the user inputs "Search for a flight ticket to Beijing", but receives feedback information "It is necessary to proceed with an order from Beijing". The user determines that the information is incorrect and not what they want. The user inputs text information "Want to go out and play" corresponding to the service function "Travel". Based on the reception of the text information "Want to go out and play", the machine executes a service function (for example, a travel service) to respond to the user's input information "Search for a flight ticket to Beijing".
[0099] According to the above embodiments, a method for determining a target function identifier is provided. The user inputs text information of the function identifier they want to select to select the function identifier. In this way, the server or the client uses the function identifier selected by the user as the target function identifier for responding to the user's input information.
[0100] In some embodiments, displaying at least one function identifier includes displaying at least two function identifiers, different function identifiers corresponding to different service functions.
[0101] In some embodiments, different service functions respond to the user's input information from different perspectives. Thus, function identifiers corresponding to at least two service functions are provided for the user to select. For example, two, three, or more function identifiers are displayed to increase the probability of matching the user's intention.
[0102] In one embodiment, when determining a target function identifier based on a third input, there are multiple target function identifiers. Therefore, when responding to the input information based on the service function indicated by the target function identifier, the input information ultimately receives a response based on the service functions indicated by multiple target function identifiers.
[0103] In some embodiments, the third input is clicking on the corresponding function identifier, or the user gazing at the function identifier they want to select for a specified period, or entering specified text information or voice information to select the corresponding function identifier, which is used as the target function identifier.
[0104] In some embodiments, the user selects multiple function identifiers to act as target function identifiers. When the user selects multiple target function identifiers, when responding to the input information based on the service functions indicated by the target function identifiers, as a result, the client or server obtains multiple corresponding output results for display to the user.
[0105] According to the above embodiments, multiple target function identifiers are determined. Thus, the corresponding service function ultimately provides multiple output results to the user in response to the input information, thereby increasing the probability of matching the user's intention.
[0106] FIG. 7 is a block diagram showing a client device according to some embodiments of the present disclosure. In some embodiments, as shown herein, the client includes a display module and a processing module.
[0107] The display module is configured to provide a human-machine conversation interface. When receiving a first input, the display module is configured to display the user's input information and display a response result regarding the input information. When receiving a second input, the display module is configured to display at least one function identifier based on the second input and a service function indicated by the function identifier used to respond to the input information.
[0108] When receiving a third input, the processing module is configured to determine a target function identifier based on the third input and a service function indicated by the target function identifier used to respond to the input information.
[0109] In some embodiments, details substantially similar to the above embodiments regarding the client are not repeatedly described herein.
[0110] FIG. 8 is a block diagram showing an electronic device according to some embodiments of the present disclosure. In some embodiments, and as shown herein, the electronic device includes a display and a processor.
[0111] The display is configured to provide a human-machine conversation interface. When receiving a first input, the display is configured to display the user's input information and a response result regarding the input information. When receiving a second input, the display is configured to display at least one function identifier based on the second input and a service function indicated by the function identifier used to respond to the input information.
[0112] When the processor receives a third input, it is configured to determine a target function identifier based on the third input and a service function indicated by the target function identifier used to respond to the input information.
[0113] In some embodiments, the display is an interface for displaying a client. In some examples, the display is a computer display or a mobile phone screen. In other examples, the display is an input / output device that is a display tool for displaying electronic file data on a screen via a specific transmission device to reflect the electronic file data to the human eye.
[0114] In some embodiments, the processor may be implemented in any suitable manner, without limitation. For example, the processor may be implemented in the form of a (micro)processor, logic gate, switch, application-specific integrated circuit (ASIC), programmable logic controller, and a microprocessor or processor that stores computer-readable program code (such as software or firmware) executable by an embedded microcontroller, and a computer-readable medium.
[0115] Only the differences from the above embodiments are described. Substantially similar details are not repeated here.
[0116] Some embodiments of the present disclosure provide a human-machine conversation interface, display the user's input information when receiving a first input, display the response result of the input information, and when receiving a second input, display at least one function identifier based on the second input, wherein the service function indicated by the function identifier is used to respond to the input information, and when receiving a third input, determine a target function identifier based on the third input, wherein the service function indicated by the target function identifier is used to respond to the input information, and further provide a computer storage medium configured to store computer program instructions for performing the above.
[0117] In some embodiments, the computer storage medium includes, but is not limited to, random access memory (RAM), read-only memory (ROM), cache, hard disk drive (HDD), or memory card.
[0118] Details of the functions and effects achieved by executing the program instructions stored in the computer storage medium, which are substantially similar to the above embodiments, will not be repeated here.
[0119] FIG. 9 is a flowchart showing a method for providing a human-machine conversation according to some embodiments of the present disclosure. In some embodiments, the method is applied to a client. In one embodiment, as shown in FIG. 9, the method includes the following steps.
[0120] In step S400, a human-machine conversation interface is provided.
[0121] In step S402, when receiving user input, display the user's input information.
[0122] In step S404, display the response result for the input information.
[0123] In step S406, when no user input is received within the specified time period, at least one function identifier is displayed, which indicates a service function used to respond to the input information.
[0124] In step S408, a target function identifier is determined based on the user input.
[0125] In step S410, a response is made to the input information based on the service function indicated by the target function identifier.
[0126] In some embodiments, the case where no user input is received within the specified time period refers to the case where the client does not receive text information, voice information, or an input operation by the user within the specified time period. In some embodiments, the specified time period is a period preset by the client. For example, the specified period is 30 seconds, 60 seconds, etc. In one example, after the user inputs "Search for air tickets to Beijing", the client sends information to the server, and the server executes processing to match the information with the service function of the shopping theme. The input information is processed through the service function to obtain a response result of "Dear customer, do you want to proceed with the order from Beijing?". After the client displays the response result, the client does not receive any input from the user within the specified period of 30 seconds. When the specified time period ends, the client displays at least one function identifier so that the user can correct the original response result by selection.
[0127] The above embodiments provide a human-machine conversation method. In this embodiment, when no user input is received within the specified time period after the response result for the input information is displayed, at least one function identifier is displayed so that the user can select.
[0128] Only the differences from the above embodiments are described. Details substantially similar to other embodiments described in this specification will not be repeatedly described.
[0129] In one embodiment, the present disclosure provides a client. The client includes a display module and a processing module.
[0130] The display module provides a human-machine conversation interface. When receiving user input, it displays the user's input information, displays the response result of the input information, and when no user input is received within a specified time period, it displays at least one function identifier. At this time, the service function indicated by the function identifier is configured to be used to respond to the input information.
[0131] The processing module is configured to determine a target function identifier based on user input and respond to the input information based on the service function indicated by the target function identifier.
[0132] Only the differences from the above embodiments are described. Details substantially similar to other embodiments in this specification will not be repeatedly described.
[0133] In one embodiment, the present disclosure provides an electronic device. The device includes a display and a processor.
[0134] The display provides a human-machine conversation interface. When receiving user input, it displays the user's input information, displays the response result of the input information, and when no user input is received within a specified time period, it displays at least one function identifier. At this time, the service function indicated by the function identifier is configured to be used to respond to the input information.
[0135] The processor is configured to determine a target function identifier based on user input and respond to the input information based on the service function indicated by the target function identifier.
[0136] Only the differences from the above-described embodiments will be explained. Details substantially similar to other embodiments described in this specification will not be repeatedly explained.
[0137] One embodiment of the present disclosure provides a computer storage medium configured to store computer program instructions for implementing providing a human-machine conversation interface, receiving user input, displaying the user's input information, displaying the response result of the input information, and when the user input is not received within a specified time period, displaying at least one function identifier, wherein the service function indicated by the function identifier is used to respond to the input information, a procedure for determining a target function identifier based on the user input, and a step of responding to the input information based on the service function indicated by the target function identifier.
[0138] Only the differences from the embodiments described above will be explained. Details substantially similar to other embodiments described in this specification will not be repeatedly explained. FIG. 10 is a flowchart showing a method for providing a human-machine conversation according to some embodiments of the present disclosure. In some embodiments, the method is applied on a server. In one embodiment, as shown in FIG. 10, the method includes the following steps.
[0139] In step S500, receive first input information provided by the user's client on the client's human-machine conversation interface.
[0140] In step S502, send a response result to the client based on the input information.
[0141] In step S504, receive second input information provided by the client.
[0142] In step S506, at least one function identifier is provided to the client, where the service function indicated by the function identifier is used to respond to the input information.
[0143] In step S508, in the client, a response is made to the first input information based on the service function corresponding to the target function identifier determined based on the user input.
[0144] In some embodiments, the user's first input information on the human-machine conversation interface of the client includes text information, voice information, etc. In one example, the user inputs text information such as "Search for air tickets to Beijing" on the interface of the client. The client sends the user's first input information to the server, whereupon the server performs an analysis based on the first input information to obtain a response result and sends the response result to the client.
[0145] In some embodiments, second input information provided by the client is received. In some implementations, the second input information includes a signal representing the user's intention to correct the response result, based on which the server is triggered and at least one function identifier is provided to the client. In one embodiment, the service function is determined based on the target function identifier determined based on the user input in the client.
[0146] In some embodiments, the human-machine conversation method is provided on the server. Since its details are substantially similar to the embodiments described above, it will not be repeatedly described in this specification.
[0147] In some embodiments, the step of sending the response result to the client includes the following steps.
[0148] In step S600, the first input information is analyzed to obtain the service function specified by the system corresponding to the first input information.
[0149] In step S602, based on the service function specified by the system, in response to the first input information, an output result of executing the service function specified by the system is obtained.
[0150] In some embodiments, the service function specified by the system includes a service function that corresponds to the input information and is determined by the server after analyzing the input information. In one example, the user inputs "Search for air tickets to Beijing". The client or the server analyzes the meaning and intention of the information based on the information and determines the corresponding service function. For example, the probabilities that the information falls within the scope of themes such as "health attendant", "travel", and "general knowledge" are calculated respectively, and the service function corresponding to the theme with the highest probability is selected as the service function specified by the system.
[0151] In some embodiments, obtaining the service function specified by the system that corresponds to the input information by analyzing the input information includes analyzing and determining based on the input information which service function should be used to process the information. In some embodiments, analyzing and determining the service function specified by the system is implemented by using a recurrent neural network, a convolutional neural network, etc. Other artificial intelligence conversation technologies may be applied to, but are not limited to, analyzing and determining the service function specified by the system.
[0152] In some embodiments, the analysis order involved in the process of obtaining the service function specified by the system that corresponds to the input information by analyzing the input information is based on the machine training results to achieve an appropriate order, such as the behavior of the general public, the supervision of experts, personal training, cloud clustering training, context sequence training, or reinforcement learning.
[0153] In one embodiment, when activating a corresponding service function based on a target function identifier determined based on user input at a client, there are a plurality of target function identifiers. Therefore, the server, as a result, responds to the input information based on the service functions indicated by the plurality of target function identifiers.
[0154] In some embodiments, the user selects a plurality of function identifiers to act as target function identifiers. When the user selects a plurality of target function identifiers, the server obtains a plurality of corresponding output results when responding to the input information, and as a result, based on the service functions indicated by the target function identifiers, transmits the output results to the client for display to the user by the client.
[0155] According to the above embodiments, the plurality of target function identifiers are determined so as to improve the probability of matching the user's intention by the corresponding service functions responding to the input information and as a result providing a plurality of output results to the user.
[0156] Embodiments of the present disclosure further provide an electronic device. The electronic device includes a network communication unit and a processor.
[0157] The network communication unit is configured to receive first input information of a user on a human-machine conversation interface of the client provided by the client, transmit a response result to the client based on the input information, and receive second input information provided by the client.
[0158] The processor is configured to provide at least one function identifier to the client, the service function indicated by the function identifier is used to respond to the input information, and based on a target function identifier determined based on user input at the client, activate a corresponding service function.
[0159] Only the differences from the above-described embodiments will be explained. Details that are substantially similar to other embodiments in this specification will not be repeatedly explained. One embodiment of the present disclosure further provides a computer storage medium configured to store computer program instructions for performing the following procedures. The procedures include: a procedure of receiving, by a client, first input information of a user on a human-machine conversation interface of the client; a procedure of transmitting a response result to the client based on the input information; a procedure of receiving second input information provided by the client; a procedure of providing at least one function identifier to the client, where the service function indicated by the function identifier is used to respond to the input information; and a procedure of activating a corresponding service function based on a target function identifier determined based on a user input of the client.
[0160] Only the differences from the above-described embodiments will be explained. Details that are substantially similar to other embodiments in this specification will not be repeatedly explained. The embodiments of the present disclosure are described in a progressive manner, and for the same or similar parts between different embodiments, they may be cross-referenced to enable each embodiment to focus on the differences from other embodiments.
[0161] The server mentioned in the embodiments of the present disclosure may be an electronic device having specific computing capabilities and processing capabilities. The server may have a network communication unit, a processor, a memory, etc. Of course, the aforementioned server may also refer to software executed on an electronic device. Further, the aforementioned server may be a distributed server, which may be a system having a plurality of processors, a memory, and a network communication module that operate cooperatively.
[0162] In the 1990s, it was possible to clearly distinguish whether technological improvements were hardware improvements (e.g., improvements in circuit structures such as diodes, transistors, or switches) or software improvements (improvements in method steps). However, with the progress of technology, many current improvements in method steps can be regarded as direct improvements in hardware circuit structures. Almost all designers program improvements in method steps into hardware circuits to obtain the corresponding hardware circuit structures. Therefore, it cannot be said that improvements in method steps cannot be implemented by hardware entity modules. For example, a programmable logic device (PLD) (e.g., a field-programmable gate array (FPGA)) is such an integrated circuit, and its logical function is determined by the user's device programming. Since designers can program themselves to "incorporate" a digital system into a PLD, there is no need to rely on chip manufacturers to design and manufacture application-specific integrated circuit chips. Furthermore, instead of hand-making integrated circuit chips, such programming is often implemented by "logic compiler" software. This is similar to the software compilers used in program development and writing, and the original code may also be written in a specific programming language called a hardware description language (HDL) before compilation. There are not only one type of HDL, but multiple types of HDLs. For example, there are ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (JAVA (registered trademark) Hardware Description Language), Lava, Lola, MyHDL, PALASM, and RHDL (Ruby Hardware Description Language), among which VHDL (Very High-Speed Integrated Circuit Hardware Description Language) and Verilog2 are currently the most commonly used.Moreover, those skilled in the art will understand that by using some of the above-mentioned hardware description languages to program the method steps into an integrated circuit and only logically programming the method steps slightly, a hardware circuit for implementing the logical method steps can be easily obtained.
[0163] Those skilled in the art also know that in addition to implementing the client and server with pure computer-readable program code, they can perform logical programming on the method steps to enable the client and server to implement the same functions in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc. Therefore, such a client or server may be regarded as a hardware component, and the devices for implementing various functions included in the client or server may be regarded as the structure within the hardware component. Or, the devices for implementing various functions may also be regarded as both a software module for implementing the method and the structure within the hardware component.
[0164] Through the above description of the embodiments, those skilled in the art will clearly understand that the present disclosure can be implemented by software and, in addition, the necessary universal hardware platform. Based on such an understanding, the essence of the technical solution of the present disclosure, or the part that contributes to the prior art, can be embodied in the form of a software product. The computer software product may be stored in a storage medium such as ROM / RAM, magnetic disk, or optical disk, and include instructions for instructing a computer device (which may be a personal computer, server, network device, etc.) to execute the methods described in the embodiments of the present disclosure or some parts of the embodiments.
[0165] Embodiments of the present disclosure are described in a progressive manner, and for the same or similar parts among different embodiments, they may be referred to each other so that each embodiment can focus on the differences from other embodiments. In particular, embodiments of the server, user client, and computer storage medium can all be described with reference to the foregoing embodiments of the method.
[0166] The present disclosure may be described in the general context of computer-executable instructions, such as program modules, executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. for performing specific tasks or implementing specific abstract data types. The present disclosure may be implemented in a distributed computing environment. In a distributed computing environment, tasks are executed by remote processing devices connected by a communication network. In a distributed computing environment, program modules may be located in computer storage media, including local and remote storage devices.
[0167] Although the present disclosure is described through embodiments, those skilled in the art will understand that there are many modifications and changes within the scope not departing from the spirit of the present disclosure. The appended claims are intended to cover these modifications and changes within the scope not departing from the spirit of the present disclosure.
Claims
1. A human-machine conversation method, wherein the human-machine conversation method is applied to a client, and the human-machine conversation method includes: providing a human-machine conversation interface; when receiving a first input, displaying input information of a user; displaying a response result of the input information; when receiving a second input, displaying at least one function identifier in response to the second input, wherein each of the at least one function identifier is related to a service function for executing an action on each topic by a computer device; when receiving a third input, determining a target function identifier from the at least one function identifier based on the third input, wherein the service function indicated by the target function identifier is used to analyze the intention of the input information based on the topic of the service function in order to respond to the input information, whereby output information corresponding to the service function is obtained; A human-machine conversation method comprising the above steps.
2. The step of displaying the response result of the input information includes: analyzing the input information to obtain a service function designated by the system corresponding to the input information; responding to the input information based on the service function designated by the system; displaying an output result of executing the service function designated by the system; The human-machine conversation method according to Claim 1, comprising the above steps.
3. In the process of analyzing the input information to obtain a service function designated by the system corresponding to the input information, the human-machine conversation method further includes: displaying at least one function identifier corresponding to the service function; The human-machine conversation method according to Claim 2, further comprising the above step.
4. The function identifier in the step of displaying at least one function identifier corresponding to the service function is the function identifier corresponding to the service function involved in the process of analyzing the input information to obtain the service function designated by the system corresponding to the input information. The human-machine conversation method according to Claim 3.
5. The step of, when receiving a second input, displaying at least one function identifier based on the second input includes: When the second input includes the input of text information by the user and the text information includes a specified phrase, display a function identifier indicated by the specified phrase, or When the second input includes the input of voice information by the user and the voice information of the second input includes a specified sound, display a function identifier indicated by the specified sound, The human-machine conversation method according to any one of claims 1 to 4, including at least one of the above.
6. The step of receiving a second input and displaying at least one function identifier based on the second input further includes, when the second input includes a specified operation of the user on the human-machine conversation interface, displaying a function identifier indicated by the specified operation. The human-machine conversation method according to claim 5.
7. The function identifier is a picture or text information for explaining the service function, or a combination of both. The human-machine conversation method according to any one of claims 1 to 6.
8. Copy text information representing the service function corresponding to the function identifier is displayed below the function identifier. The human-machine conversation method according to any one of claims 1 to 7.
9. In the process of determining a target function identifier based on the third input, the human-machine conversation method includes Receiving the input of the copy text information by the user; and Activating a corresponding service function based on the copy text information in response to the input information of the user. The human-machine conversation method according to claim 8.
10. The step of displaying at least one function identifier includes Displaying at least two function identifiers, where different function identifiers correspond to different service functions. The human-machine conversation method according to any one of claims 1 to 9.
11. In the step of determining a target function identifier based on the third input, there are multiple target function identifiers, Subsequently, in the step of responding to the input information based on the service function indicated by the target function identifier, the input information receives, as a result, a response based on the service functions indicated by the plurality of target function identifiers, according to any one of claims 1 to 10, the human-machine conversation method.
12. A client including a display module and a processing module, wherein the display module provides a human-machine conversation interface, and when receiving a first input, displays the input information of the user and the response result of the input information, and when receiving a second input, is configured to display at least one function identifier in response to the second input, and each of the at least one function identifier is related to a service function for performing an action on each topic by a computer device, wherein the processing module is configured to determine a target function identifier from the at least one function identifier based on the third input when receiving a third input, and the service function indicated by the target function identifier is used to analyze the intention of the input information based on the topic of the service function in order to respond to the input information, thereby obtaining output information corresponding to the service function. Client.
13. An electronic device including a display and a processor, wherein the display provides a human-machine conversation interface, and when receiving a first input, displays the input information of the user and the response result of the input information, and when receiving a second input, is configured to display at least one function identifier in response to the second input, and each of the at least one function identifier is related to a service function for performing an action on each topic by a computer device, wherein the processor is configured to determine a target function identifier from the at least one function identifier based on the third input when receiving a third input, and the service function indicated by the target function identifier is used to analyze the intention of the input information based on the topic of the service function in order to respond to the input information, thereby obtaining output information corresponding to the service function. Electronic device.
14. On a computer, A procedure for providing a human-machine conversation interface, and a procedure for displaying user input information when receiving a first input, and a procedure for displaying a response result of the input information, and a procedure for displaying at least one function identifier in response to a second input when receiving the second input, wherein each of the at least one function identifier is related to a service function for executing an action on each topic by a computer device, the procedure for displaying, and a procedure for determining a target function identifier from the at least one function identifier based on the third input when receiving a third input, wherein the service function indicated by the target function identifier is used to analyze the intention of the input information based on the topic of the service function in order to respond to the input information, whereby output information corresponding to the service function is obtained, the procedure for determining, and a program for causing execution.
15. A human-machine conversation method, wherein the human-machine conversation method is applied to a client, and the human-machine conversation method includes a stage of providing a human-machine conversation interface, and a stage of displaying user input information when receiving user input, and a stage of displaying a response result of the input information, and a stage of displaying at least one function identifier when user input is not received within a specified period, wherein each of the at least one function identifier is related to a service function for executing an action on each topic by a computer device, the stage of displaying, and a stage of determining a target function identifier from the at least one function identifier based on the user input, and a stage of responding to the input information based on the service function indicated by the target function identifier, wherein the service function indicated by the target function identifier is used to analyze the intention of the input information based on the topic of the service function in order to respond to the input information, whereby output information corresponding to the service function is obtained, the stage, and a human-machine conversation method including the above.
16. The stage of displaying the response result of the input information includes analyzing the input information to obtain a service function specified by the system corresponding to the input information, and responding to the input information based on the service function specified by the system. Displaying the output result of executing the service function specified by the system; The human-machine conversation method according to claim 15, including this.
17. In the process of analyzing the input information to obtain the service function specified by the system corresponding to the input information, the human-machine conversation method further includes: Displaying at least one function identifier corresponding to the service function; The human-machine conversation method according to claim 16, including this.
18. The function identifier in the step of displaying at least one function identifier corresponding to the service function is the function identifier corresponding to the service function involved in the process of analyzing the input information to obtain the service function specified by the system corresponding to the input information. The human-machine conversation method according to claim 17.
19. The function identifier according to any one of claims 15 to 18 is a picture or text information for explaining the service function, or a combination of both.
20. The human-machine conversation method according to any one of claims 15 to 19, wherein the copy text information representing the service function corresponding to the function identifier is displayed under the function identifier.
21. In the process of determining the target function identifier based on the user input, the human-machine conversation method includes: Receiving the input of the copy text information by the user; Activating the corresponding service function based on the copy text information in response to the input information of the user. The human-machine conversation method according to claim 20, including this.
22. The step of displaying at least one function identifier includes: Displaying at least two function identifiers, where different function identifiers correspond to different service functions. The human-machine conversation method according to any one of claims 15 to 21.
23. A client including a display module and a processing module, The display module provides a human-machine conversation interface. When receiving user input, it displays the user's input information, displays the response result of the input information, and is configured to display at least one function identifier when no user input is received within a specified period. Each of the at least one function identifier is related to a service function for the computer device to perform actions on each subject. The processing module is configured to determine a target function identifier from the at least one function identifier based on the user input, and to respond to the input information based on the service function indicated by the target function identifier. The service function indicated by the target function identifier is used to analyze the intention of the input information based on the subject of the service function in order to respond to the input information, thereby obtaining output information corresponding to the service function. Client.
24. An electronic device including a display and a processor, The display provides a human-machine conversation interface. When receiving user input, it displays the user's input information, displays the response result of the input information, and is configured to display at least one function identifier when no user input is received within a specified period. Each of the at least one function identifier is related to a service function for the computer device to perform actions on each subject. The processor is configured to determine a target function identifier from the at least one function identifier based on the user input, and to respond to the input information based on the service function indicated by the target function identifier. The service function indicated by the target function identifier is used to analyze the intention of the input information based on the subject of the service function in order to respond to the input information, thereby obtaining output information corresponding to the service function. Electronic device.
25. On a computer, A procedure for providing a human-machine conversation interface, A procedure for displaying the user's input information when receiving user input, A procedure for displaying the response result of the input information, A procedure for displaying at least one function identifier when user input is not received within a specified period, wherein each of the at least one function identifier is related to a service function for performing an action on each subject by a computer device, and the procedure for displaying; A procedure for determining a target function identifier from the at least one function identifier based on the user input; A procedure for responding to the input information based on the service function indicated by the target function identifier, wherein the service function indicated by the target function identifier is used to analyze the intention of the input information based on the subject of the service function in order to respond to the input information, thereby obtaining output information corresponding to the service function; A program for executing the above.
26. A service function activation method applied to a server, wherein the service function activation method includes: Receiving first input information of a user on a human-machine conversation interface of the client provided by the client; Transmitting a response result to the client based on the first input information; Receiving second input information provided by the client; Providing at least one function identifier to the client, wherein each of the at least one function identifier is related to a service function for performing an action on each subject by a computer device; Activating a corresponding service function based on a target function identifier determined from the at least one function identifier based on the user input of the client, wherein output information corresponding to the service function is obtained by analyzing the intention of the first input information based on the subject of the service function indicated by the target function identifier; A service function activation method including the above.
27. The step of transmitting a response result to the client includes: Analyzing the first input information to obtain a service function specified by the system corresponding to the first input information; Responding to the first input information based on the service function specified by the system to obtain an output result of executing the service function specified by the system; The service function activation method according to Claim 26, including the above.
28. Based on a target function identifier determined based on the user input of the client, when activating the corresponding service function, there are a plurality of target function identifiers, Subsequently, as a result, the server responds to the second input information based on the service functions indicated by the plurality of target function identifiers. The service function activation method according to claim 26 or 27.
29. An electronic device including a network communication unit and a processor, The network communication unit is configured to receive first input information of a user on a human-machine conversation interface of the client provided by the client, transmit a response result to the client based on the first input information, and receive second input information provided by the client. The processor is configured to provide at least one function identifier to the client, each of the at least one function identifier is related to a service function for performing an action on each subject by a computer device, and activate a corresponding service function based on a target function identifier determined from the at least one function identifier based on the user input of the client, and analyze the intention of the first input information based on the subject of the service function indicated by the target function identifier to obtain output information corresponding to the service function. Electronic device.
30. On a computer, A procedure for receiving first input information of a user on a human-machine conversation interface of the client provided by the client, A procedure for transmitting a response result to the client based on the first input information, A procedure for receiving second input information provided by the client, A procedure for providing at least one function identifier to the client, each of the at least one function identifier being related to a service function for performing an action on each subject by a computer device. A procedure for enabling a corresponding service function based on a target function identifier determined from the at least one function identifier based on a user input of the client, the method comprising analyzing the intention of the first input information based on the subject of the service function indicated by the target function identifier to obtain output information corresponding to the service function, A program for causing the execution.
Citation Information
Patent Citations
Function selection device
JP2003084875A
Navigation system and method and program for displaying image
JP2003227729A
Presenting device and presenting program
JP2007122510A
Information processor, information processing method, and program
JP2011209787A
Function presentation system, terminal device, server device, program and function presentation method
JP2012248016A