Dialogue processing method and device

By providing a server-maintained service identification set in the dialogue processing device, the problem of multiple dialogue rounds between the user and the dialogue system is solved, and the user experience and service execution efficiency are improved.

CN111427992BActive Publication Date: 2024-10-15HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910025807.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-01-10
Publication Date
2024-10-15
Estimated Expiration
2039-01-10

AI Technical Summary

Technical Problem

In existing dialogue processing methods, there are many dialogue rounds between the user and the dialogue system, resulting in poor user experience.

Method used

By presetting the service identification set in the dialogue processing device, if the slot information input by the user does not match, multiple service identifications maintained by the server are provided for the user to choose, thereby reducing dialogue rounds and improving efficiency.

Benefits of technology

It realizes that when the server's custom service items do not correspond to the slot type, the service items are displayed to the user in a timely manner, avoiding multiple rounds of dialogue, and improving the user experience and service execution efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111427992B_ABST
    Figure CN111427992B_ABST
Patent Text Reader

Abstract

The present application discloses a conversation processing method and device. The method comprises: the conversation processing device receives conversation information from a user device; if the conversation information does not contain slot information corresponding to a first slot type capable of determining a service, obtains a service identification set corresponding to the first slot type from a server, and sends the service identification set to the user device; after receiving a target service identification from the user device, requests the server for a service corresponding to the target service identification, and sends information on successful execution to the user device. By adopting this implementation method, not only can service items be displayed to users in a timely manner, but also multiple rounds of conversations between users and the conversation processing device can be avoided, thereby improving the efficiency of executing services and, in turn, improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computers, and in particular to a conversation processing method and device. Background Art

[0002] A human-computer dialogue system (hereinafter referred to as a dialogue system) can respond to the user's voice input and provide feedback to the user. The dialogue system can include task-oriented dialogue systems and non-task-oriented dialogue systems. A non-task-oriented dialogue system can be a chat-style dialogue system. A task-oriented dialogue system can trigger a certain service based on the user's voice and provide feedback to the user on the result of the execution of the corresponding service.

[0003] Among them, the service-oriented dialogue system may correspond to a target server, which is used to provide and execute one or more services. Based on this, after the dialogue system receives the voice input by the user, it can obtain one or more mandatory slot information from the voice. The mandatory slot information is information that indicates that a service is indispensable. For example, the mandatory slot information of the service of booking air tickets includes the starting place, the departure time and the destination. Furthermore, the dialogue system can detect whether the one or more mandatory slot information are all included in the slot information preset by the dialogue system. If the one or more mandatory slot information are all included in the slot information preset by the dialogue system, the dialogue system requests the target server to execute the target service according to the one or more mandatory slot information. The target server responds to the request to detect whether the target service is included in the one or more services. If the target service is included in the one or more services, the target server executes the target service. Then, the dialogue system can feedback information that the target service is successfully executed to the user. In addition, if any of the one or more required slot information is not included in the slot information preset by the dialogue system, or if the target service is not included in the one or more services, the dialogue system may feedback to the user information that the execution of the target service has failed. Then, the user may continue to input voice of other content so that a certain service can be executed successfully.

[0004] It can be seen that, with the above-mentioned dialogue processing method, the number of dialogue turns between the user and the dialogue system is large, resulting in a poor user experience. Summary of the invention

[0005] The present application provides a dialogue processing method and device, which solves the problem of multiple dialogue turns between a user and a dialogue system when using the existing dialogue processing method.

[0006] In a first aspect, the present application provides a conversation processing method, the method comprising:

[0007] The conversation processing device receives conversation information from the user device;

[0008] If the dialog information does not include slot information corresponding to a first slot type capable of determining a service, the dialog processing device acquires a service identifier set corresponding to the first slot type from a server, wherein the first slot type indicates a slot type to which slot information used to indicate a service identifier in the mandatory slot information belongs, and the service identifier set includes multiple service identifiers corresponding to the first slot type;

[0009] The dialogue processing device sends the service identification set to the user equipment;

[0010] If a target service identifier is received from the user equipment, the dialogue processing device requests the server for a service corresponding to the target service identifier, and the target service identifier belongs to the service identifier set;

[0011] If receiving the information that the service execution is successful from the server, the dialogue processing device sends the information that the execution is successful to the user device.

[0012] With this implementation, when the service items customized by the server do not correspond to the slot information of the corresponding slot type, the dialogue processing device feeds back multiple service identifiers maintained by the server to the user, so that the corresponding slot information input by the user must correspond to a service item in the server. In this way, not only can the service items be displayed to the user in a timely manner, but also the user can avoid initiating multiple rounds of dialogue with the dialogue processing device, thereby improving the efficiency of executing services.

[0013] In a possible implementation manner, after the dialogue processing device receives the dialogue information from the user equipment and before acquiring the service identifier set corresponding to the first slot type from the server, the process includes:

[0014] The dialogue processing device parses the dialogue information;

[0015] If the slot information corresponding to the first slot type is not parsed from the dialog information, the dialog processing device determines that the dialog information does not contain the slot information corresponding to the first slot type that can determine the service. In a possible implementation, after the dialog processing device receives the dialog information from the user equipment and before obtaining the service identifier set corresponding to the first slot type from the server, it includes:

[0016] The dialogue processing device parses the dialogue information to obtain slot information corresponding to the first slot type;

[0017] The dialogue processing device requests the server for a service corresponding to the slot information;

[0018] If the service execution failure information is received from the server, the dialog processing device determines that the dialog information does not include slot information corresponding to the first slot type capable of determining the service.

[0019] By adopting the present implementation method, when the slot information preset in the dialogue processing device does not correspond to the required slot information input by the user, and / or the slot information preset in the dialogue processing device does not correspond to the services included in the server, the dialogue processing device can provide effective information and / or processing strategies in a timely manner, which can not only reduce unnecessary dialogue rounds but also provide flexible processing methods, thereby improving the user experience.

[0020] In a possible implementation, after the dialogue processing device receives the dialogue information from the user equipment and before sending the execution success information to the user equipment, the process further includes:

[0021] The dialogue processing device parses the dialogue information to obtain slot information corresponding to the first slot type;

[0022] The dialogue processing device requests the server for a service corresponding to the slot information;

[0023] If the information indicating that the service is successfully executed is received from the server and the dialog processing device does not contain the slot information, the dialog processing device adds the slot information to an information base corresponding to the first slot type.

[0024] It can be seen that the implementation method can not only reduce the number of conversation turns between the conversation processing device and the user and provide services to the user in a timely manner, but also enable the conversation processing device to update the slot information maintained by the conversation processing device in a timely manner.

[0025] In a possible implementation, before receiving the dialog information from the user equipment, the dialog processing device includes:

[0026] The dialog processing device receives an instruction to add a label, where the instruction to add a label corresponds to the first slot type;

[0027] The dialog processing device adds a label to the first slot type.

[0028] According to the description of the relationship between slot information and services, the required slot information includes slot information indicating the service identifier, such as "ride-sharing" in the ride-hailing service, and regular slot information used to determine the service, such as the destination "Tsinghua West Gate". The services provided by the server to users are usually customized by relevant service personnel, so the services provided by the server may be changed, for example, the "ride-sharing" service item is removed from the shelves, and the "carpooling" service item is added, resulting in the non-existence of the service corresponding to the corresponding service identifier.

[0029] Based on this, in order to facilitate the dialogue processing device to identify the first slot type and the second slot type, the present application can pre-mark the first slot type by adding labels according to the attributes of the above-mentioned mandatory slot type, thereby providing a basis for the implementation of the technical solution of the present application.

[0030] In a possible implementation, the conversation information is text or audio.

[0031] In a second aspect, the present application provides a conversation processing method, the method comprising:

[0032] The user equipment sends the dialogue information to the dialogue processing equipment;

[0033] The user equipment receives and prompts a service identifier set corresponding to a first slot type from the dialogue processing device, where the first slot type indicates a slot type to which slot information used to indicate a service identifier in the mandatory slot information belongs, and the service identifier set includes multiple service identifiers corresponding to the first slot type;

[0034] The user equipment sends a target service identifier to the dialogue processing device, where the target service identifier belongs to the service identifier set;

[0035] The user equipment receives information indicating successful execution of a service from the dialog processing device, where the service is the service corresponding to the target service identifier.

[0036] With this implementation, regardless of whether the conversation information input by the user contains slot information corresponding to the first slot type, regardless of the correspondence between the slot information input by the user and the slot information preset in the conversation processing device, and regardless of the correspondence between the slot information input by the user and the service provided by the server, the user can obtain the desired service. This not only avoids the user from initiating multiple rounds of conversations, but also enables the user to be informed of multiple services provided by the server in a timely manner, thereby improving the user's experience.

[0037] In a possible implementation, the user equipment prompts a service identifier set corresponding to the first slot type, including:

[0038] The user equipment prompts all service identifiers in the service identifier set.

[0039] In a possible implementation, the user equipment prompts a service identifier set corresponding to the first slot type, including:

[0040] The user equipment prompts an entry identifier linking the service identifier set;

[0041] The user device receives an opening instruction input by a user;

[0042] The user equipment prompts a page linked to the entry identifier, wherein the page includes all service identifiers in the service identifier set.

[0043] In a possible implementation, the user equipment prompts a service identifier set corresponding to the first slot type, including:

[0044] The user equipment prompts a menu control, wherein the menu control prompts some service identifiers in the service identifier set;

[0045] The user equipment receives a prompt instruction input by a user;

[0046] The user equipment switches the service identifier prompted in the menu control.

[0047] In some embodiments, the service identifiers corresponding to the first slot type may be two or three. In other embodiments, the service identifiers corresponding to the first slot type may be more than ten. By adopting this implementation, the service identifier prompt method can be flexibly set, thereby improving the user experience.

[0048] In a third aspect, the present application provides a method for processing a conversation, the method comprising: a conversation processing device receives conversation information from a user device, and then determines the keywords corresponding to all the mandatory slot types in the conversation information. If any keyword among the keywords corresponding to all the mandatory slot types corresponds to at least two slot information in the corresponding slot type, the conversation processing device determines the specific slot information corresponding to the optimal service solution among the at least two slot information. Furthermore, the conversation processing device can request the service corresponding to the specific slot information from the server, and after receiving the information that the corresponding service is successfully executed from the server, the information that the corresponding service is successfully executed is sent to the user device.

[0049] By adopting this implementation method, the dialogue processing device can automatically provide users with relatively better services when the meaning of the keywords input by the user is ambiguous. This not only avoids multiple rounds of dialogue with the user, but also has flexible operation and can further improve the user experience.

[0050] In a fourth aspect, the present application provides a conversation processing method, the method comprising:

[0051] The conversation processing device receives conversation information from the user device;

[0052] The dialogue processing device requests the first server for a service corresponding to the slot information;

[0053] If the information received from the first server indicates that the service execution has failed, the dialogue processing device requests the service corresponding to the slot information from the second server;

[0054] If the information indicating that the service is successfully executed is received from the second server, the dialogue processing device sends the information indicating that the service is successfully executed to the user equipment.

[0055] With this implementation, when the first server cannot provide services, the conversation processing device can trigger the second server to provide corresponding services. This can reduce the number of conversation rounds between the conversation processing device and the user, and provide services to the user in a timely manner.

[0056] In a fifth aspect, the present application provides a conversation processing method, the method comprising:

[0057] Receive dialogue information input by the user;

[0058] If the dialog information does not include slot information corresponding to a first slot type capable of determining a service, obtaining a service identifier set corresponding to the first slot type from a local application or a server, wherein the first slot type indicates a slot type to which the slot information used to indicate a service identifier in the mandatory slot information belongs, and the service identifier set includes multiple service identifiers corresponding to the first slot type;

[0059] Prompt the service identifier in the service identifier set;

[0060] If the user determines a target service identifier from the service identifier set, the user requests a service corresponding to the target service identifier from the local application or the server;

[0061] Information indicating successful execution of the service.

[0062] In a possible implementation, after receiving the dialog information input by the user and before obtaining the service identifier set corresponding to the first slot type from the local application or the server, the method includes:

[0063] If the slot information corresponding to the first slot type is not parsed from the dialog information, it is determined that the dialog information does not include the slot information corresponding to the first slot type capable of determining the service.

[0064] In a possible implementation, after receiving the dialog information input by the user and before obtaining the service identifier set corresponding to the first slot type from the local application or the server, the method includes:

[0065] Parsing the conversation information to obtain slot information corresponding to the first slot type;

[0066] Requesting the local application or the server for a service corresponding to the slot information;

[0067] If the service request from both the local application and the server fails, it is determined that the dialog information does not include slot information corresponding to the first slot type capable of determining the service.

[0068] In a possible implementation, the obtaining, from a local application or a server, a service identifier set corresponding to the first slot type includes:

[0069] Acquire a service identifier set corresponding to the first slot type from the local application; or,

[0070] Acquire a service identification set corresponding to the first slot type from the server; or,

[0071] The local application is called to obtain a service identifier set corresponding to the first slot type from the server.

[0072] In a possible implementation, prompting the service identifier in the service identifier set includes:

[0073] Prompt all service identifiers in the service identifier set; or,

[0074] Prompt an entry identifier for linking the service identifier set;

[0075] If the opening instruction input by the user prompts the page linked to the entry mark, the page includes all the service marks in the service mark set; or

[0076] A prompt menu control, wherein the menu control prompts some service identifiers in the service identifier set;

[0077] If the user inputs a prompt instruction, the service identifier prompted in the menu control is switched.

[0078] In a sixth aspect, the present application provides a dialogue processing device, which has the function of implementing the behavior of the wireless access network device in the above method. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. In a possible design, the structure of the above wireless access network device includes a processor and a transceiver, and the processor is configured to process the dialogue processing device to perform the corresponding functions in the above method. The transceiver is used to implement information interaction between the above dialogue processing device and the user equipment and the server. The dialogue processing device may also include a memory, which is used to couple with the processor and store the necessary program instructions and data of the dialogue processing device.

[0079] In a seventh aspect, the present application provides a user device having a function of implementing the user device behavior in the above method. The function can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. In a possible design, the structure of the above user device includes a processor and a transceiver, and the processor is configured to process the user device to execute the corresponding functions in the above method. The transceiver is used to implement communication between the above user device and a dialogue processing device. The user device may also include a memory, which is used to couple with the processor and store the necessary program instructions and data of the user device.

[0080] In an eighth aspect, the present application provides a human-computer interaction system, the human-computer interaction system comprising a user device, a dialogue processing device and a server, the dialogue processing device communicates with the user device and the server respectively to complete the human-computer dialogue operation described in any one of the above-mentioned first aspect, second aspect, third aspect, various possible implementations of the first aspect, and various possible implementations of the second aspect. The dialogue processing device is the dialogue processing device described in the fifth aspect, and the user device is the user device described in the sixth aspect.

[0081] In a ninth aspect, the present application provides a human-computer interaction system, the human-computer interaction system comprising a user device, a dialogue processing device, a first server and a second server, the dialogue processing device communicates with the user device, the first server and the second server respectively to complete the human-computer dialogue operation described in the fourth aspect. The dialogue processing device is the dialogue processing device described in the fifth aspect, and the user device is the user device described in the sixth aspect.

[0082] In a tenth aspect, the present application provides a computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, and when the computer-readable storage medium is run on a computer, the computer executes any possible method described above.

[0083] In order to solve the problem of multiple rounds of existing human-computer dialogue, in this application, when the service items customized by the server do not correspond to the slot information of the corresponding slot type, the dialogue processing device feeds back the service identifier maintained by the server to the user, so that the corresponding slot information input by the user must correspond to a certain service item in the server. By adopting this implementation method, not only can the service items be displayed to the user in a timely manner, but also the user can be prevented from initiating multiple rounds of dialogue with the dialogue processing device, thereby improving the efficiency of executing the service and, in turn, improving the user's experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0084] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0085] Figure 1 It is a user interface of an implementation of a multi-round dialogue provided by the present application;

[0086] Figure 2A is a schematic diagram of the hardware structure of the conversation processing device 10 provided in the present application;

[0087] Figure 2B is a schematic diagram of the software architecture of the conversation processing device 10 provided by the present application;

[0088] Figure 3A is a schematic diagram of the hardware structure of the user equipment 20 provided in this application;

[0089] Figure 3B is a schematic diagram of the software architecture of the user equipment 20 provided in the present application;

[0090] Figure 4 It is a schematic diagram of an operation interface provided by this application;

[0091] Figure 5A is a schematic diagram of a first implementation of the user interface provided by the present application;

[0092] Figure 5B is a schematic diagram of a second implementation of the user interface provided by the present application;

[0093] Figure 5C is a schematic diagram of a third implementation of the user interface provided by the present application;

[0094] Figure 6 is a user interface schematic diagram of the first implementation scenario provided by this application;

[0095] Figure 7 is a user interface schematic diagram of the second implementation scenario provided by the present application;

[0096] Figure 8 is a user interface schematic diagram of the third implementation scenario provided by the present application;

[0097] Fig. 9 is a user interface schematic diagram of the fourth implementation scenario provided by the present application;

[0098] Fig.10 is a user interface schematic diagram of the fifth implementation scenario provided by the present application;

[0099] Fig.11It is a structural schematic diagram of the first implementation mode of the human-computer interaction system provided by the present application;

[0100] Fig.12 It is a method flow chart of the first implementation mode of the dialogue processing method provided by the present application;

[0101] Fig.13 is a method flow chart of a second implementation of the conversation processing method provided by the present application;

[0102] Fig.14 It is a structural schematic diagram of a second implementation mode of the human-computer interaction system provided by the present application;

[0103] Fig.15 is a method flow chart of the fourth implementation mode of the conversation processing method provided by the present application;

[0104] Fig.16 It is a method flow chart of the fifth implementation mode of the dialogue processing method provided by this application. DETAILED DESCRIPTION

[0105] The technical solution of the present application will be clearly described below in conjunction with the drawings in the present application.

[0106] The terms used in the following embodiments of the present application are only for the purpose of describing specific embodiments, and are not intended to be used as limitations to the present application. As used in the specification and the appended claims of the present application, the singular expressions "one", "a kind of", "said", "above", "the" and "this" are intended to also include plural expressions, unless there is a clear contrary indication in its context. It should also be understood that although the terms first, second, etc. may be used to describe a certain class of objects in the following embodiments, the objects should not be limited to these terms. These terms are only used to distinguish the specific objects of the class of objects. For example, the terms first, second, etc. may be used to describe the server in the following embodiments, but the server should not be limited to these terms. These terms are only used to distinguish the different servers. The same is true for other classes of objects that may be described in the following embodiments using the terms first, second, etc., which will not be repeated here. In addition, the term "and / or" used in the present application refers to and includes any or all possible combinations of one or more listed items.

[0107] Before explaining the technical solution of the present application, the technical scenario of the present application and the technical terms involved in the present application are first introduced.

[0108] The present application relates to information interaction between a conversation processing device and a user equipment (UE), and between the conversation processing device and a server. The user equipment is a medium for a user to have a conversation with the conversation processing device. The user equipment transmits information input by the user to the conversation processing device, and prompts the conversation processing device for feedback information. After receiving the information sent by the user equipment, the conversation processing device can request the server to execute the service indicated by the corresponding information. After receiving the execution result of the service from the server, the conversation processing device sends the execution result to the user equipment.

[0109] Among them, the dialog management device can maintain the intent, slot type and slot information. The server maintains the service information. The following introduces the meanings of the technical terms "intent", "slot type", "slot information" and "service information" and the relationship between the technical terms with examples.

[0110] Intent refers to the purpose of the user and is used to indicate the user's needs. The dialogue processing device can identify the user's intent from the information input by the user device. For example, the input information of the user device is "help me book a flight from City A to City B", and the dialogue processing device can identify from the input information that the user's intent is "book a flight". Among them, the intent recognition model can be trained based on a large amount of corpus, which is a corpus that expresses the intent in different ways. In addition, the dialogue processing device can maintain one or more intents.

[0111] Slot information (slot) refers to the specific information of the intent content, and is also the key information used to trigger specific services. Slot information is, for example, the keywords in the user device input information. Exemplarily, the "City A" and "City B" in the input information "Help me book a flight from City A to City B" are the slot information of the input information. Slot information may include mandatory slot information and optional slot information. Mandatory slot information refers to slot information that is essential for triggering a service. Optional slot information refers to slot information that is not necessary for triggering a service. Exemplarily, the mandatory slot information for triggering the service "Book a flight" includes the starting point "City A", the departure time "XX year XX month XX day XX hour XX minute" and the destination "City B". In this example, the optional slot information is, for example, "the country to which City B belongs".

[0112] The slot type (slot_type) is used to identify the category to which the slot information belongs. Exemplarily, the slot information "City A" and the slot information "City B" belong to the slot type "address", and the slot information "XX year XX month XX day XX hour XX minute" belongs to the slot type "time". It can be understood that one slot type corresponds to a specific knowledge base. Among them, according to the attributes of the slot information, all slot information belonging to a slot type can be stored in the dialogue processing device in different structural forms. For example, the slot information corresponding to the slot type "address" can be stored in the dialogue processing device in the form of a list of city names. For another example, the slot information corresponding to the slot type "time" can be all expressions of time. Generally, an intent can correspond to one or more slot types. For example, the intent "book a flight ticket" corresponds to the slot type "address" and the slot type "time".

[0113] A service refers to an action that a server performs purposefully to complete a specific service item. In a server, a service can be indicated by a service identifier. In this application, one or more mandatory slot information can determine a service. Among them, the service identifier of the service corresponds to one of the one or more mandatory slot information, or the service identifier of the service is one of the one or more mandatory slot information. As described in the above introduction to the mandatory slot information, the slot information "City A", the slot information "City B" and the slot information "XX year XX month XX day XX hour XX minute" determine the service "booking a flight ticket from City A to City B at XX year XX month XX day XX hour XX minute". The ticket booking server establishes a connection between a ticket of "XX year XX month XX day XX hour XX minute from City A to City B" and the user information, and marks the ticket as being booked, that is, executing the service of booking a ticket of "XX year XX month XX day XX hour XX minute from City A to City B". Among them, the service can be expressed in the form of an instruction, a program or a process.

[0114] The dialogue processing device is a device that can process the voice or text sent by the user and feedback the voice or text to the user. In some embodiments, the dialogue processing device is carried in a robot (robot, Bot) for human-computer dialogue, wherein the Bot exists independently of the user device used by the user and exchanges information with the user device through wireless communication. In other embodiments, the skill or program that supports the dialogue processing is installed in the user device. In this scenario, the user device and the dialogue processing are an electronic device entity.

[0115] The server can be a computer, an operating system or a cloud server (elastic compute service, ECS) that carries the program corresponding to the service project. The program carried by the server can provide the above-mentioned service projects when it is running, and each service project corresponds to a corresponding service identifier. Among them, the program carried by the server can be a source code written in a specific computer program language, such as hypertext markup language (HTML), hypertext preprocessor (PHP), javascript (JS), etc. The source code can be loaded and displayed as user-recognizable content by a browser or a web page display component similar to the browser function. Based on this, relevant technical personnel can add new service projects to the server by modifying the source code, or delete existing service projects.

[0116] In some embodiments, the user device may be a portable electronic device that also includes other functions such as a personal digital assistant and / or a music player, such as a mobile phone, a tablet computer, a wearable electronic device with wireless communication function (such as a smart watch), etc. Exemplary embodiments of portable electronic devices include but are not limited to devices equipped with Or a portable electronic device with other operating systems. The portable electronic device may also be other portable electronic devices, such as a laptop computer with a touch-sensitive surface or a touch panel. It should also be understood that in some other embodiments, the electronic device may not be a portable electronic device, but a desktop computer with a touch-sensitive surface or a touch panel.

[0117] The user device can exchange information with the dialogue processing device through the user interface (UI). The user interface is a medium interface for interaction and information exchange between the application or operating system and the user. It realizes the conversion between the internal form of information and the form acceptable to the user. The user interface of the application is the source code written in a specific computer language such as Java and extensible markup language (XML). The interface source code is parsed and rendered on the terminal device, and finally presented as content that the user can recognize, such as pictures, text, buttons and other controls. Controls, also known as widgets, are the basic elements of the user interface. Typical controls include toolbars, menu bars, text boxes, buttons, scroll bars, pictures and text. The properties and contents of controls in the interface are defined by tags or nodes, such as XML through <textview> 、 <imgview> 、 <videoview>The nodes are used to define the controls contained in the interface. A node corresponds to a control or attribute in the interface. After parsing and rendering, the node is presented as user-visible content.

[0118] The dialogue described in this application refers to "human-computer dialogue", that is, the information interaction between a user and a dialogue processing device. In some embodiments, a user can send audio to a dialogue processing device through a user device. In other embodiments, a user can send text to a dialogue processing device through a user device. Accordingly, in some embodiments, the dialogue processing device can convert the execution result into audio, and then send the audio to the user device. In other embodiments, the dialogue processing device can convert the execution result into text, and then send the text to the user device. Based on this, audio interaction between a user and a dialogue processing device, text interaction between a user and a dialogue processing device, and interaction between a user and a dialogue processing device in which one party sends audio and the other party sends text all fall within the scope of "human-computer dialogue" in this application.

[0119] In combination with the existing dialogue processing method, if the slot information preset in the dialogue processing device does not include the mandatory slot information input by the user device, the dialogue processing device will not be able to determine the first service to be requested, resulting in failure to execute the first service. If the services included in the server do not include the first service requested by the dialogue processing device, the server cannot execute the first service requested by the dialogue processing device, which will also result in failure to execute the first service. Only when the first service is successfully executed can the service requested by the user be provided. Therefore, after the dialogue processing device sends information that the first service has failed to execute to the user device, the dialogue processing device may receive a dialogue sent by the user device to trigger the second service. The second service has the same attributes as the first service.

[0120] Figure 1 illustrating an exemplary user interface for multiple rounds of dialogue. In this embodiment, the user requests vehicle service through human-computer dialogue. Figure 1 As shown, the user inputs "Help me call a ride to Tsinghua West Gate" to the user device. After the dialogue processing device receives the information "Help me call a ride to Tsinghua West Gate" sent by the user device, it generates a request message and sends the request message to the target ride-hailing server. Among them, the request information includes the user's current address, the destination "Tsinghua West Gate" and the required slot information "ride". Exemplarily, the target ride-hailing server does not provide the "ride" service, so the service triggered by the user cannot be executed. Correspondingly, the dialogue processing device sends the user device a message "Sorry, the service you requested cannot be executed". Then, the user can continue to input "Then help me call an express car" to the user device, thereby initiating a new round of dialogue with the dialogue processing device. The dialogue processing device requests the "express car" service from the target ride-hailing server according to the above-mentioned process of requesting the "ride" service. If the target ride-hailing server does not provide the "express car" service either, the user and the dialogue processing device may need to have more rounds of dialogue. This not only causes the dialogue processing device to continuously perform dialogue processing operations, occupying resources, but also makes the user's experience poor.

[0121] In view of this, the present application provides a conversation processing method and device. When the slot information preset in the conversation processing device does not correspond to the required slot information input by the user, and / or the slot information preset in the conversation processing device does not correspond to the service included in the server, the conversation processing device can provide effective information and / or processing strategies in a timely manner, which can not only reduce unnecessary conversation rounds, but also has a flexible processing method and can improve the user experience.

[0122] The following introduces an exemplary dialog processing device 10 provided in the present application.

[0123] Figure 2A A schematic diagram of the structure of the dialogue processing device 10 is shown.

[0124] The dialog processing device 10 includes a processor 11, a memory 12 and a transceiver 13. The processor 11, the memory 12 and the transceiver 13 are connected via a bus interface.

[0125] Understandably, Figure 2A The illustrated structure does not constitute a specific limitation on the dialog processing device 10. In other embodiments of the present application, the dialog processing device 10 may include more or fewer components than those shown in the figure, or combine some components, or separate some components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0126] The processor 11 may be a central processing unit (CPU), a network processor (NP) or a combination of a CPU and a NP. The processor may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.

[0127] The memory 12 may include a volatile memory, such as a random-access memory (RAM); the memory may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD); the memory may also include a combination of the above types of memory.

[0128] The transceiver 13 may be a wired transceiver, a wireless transceiver or a combination thereof. The wired transceiver may be, for example, an Ethernet interface. The Ethernet interface may be an optical interface, an electrical interface or a combination thereof. The wireless transceiver may be, for example, a wireless local area network transceiver, a cellular network transceiver or a combination thereof.

[0129] The bus interface may include any number of interconnected buses and bridges, specifically linking together various circuits of one or more processors represented by processor 11 and memory represented by memory 12. The bus interface may also link together various other circuits such as peripherals, voltage regulators, and power management circuits. The transceiver 13 provides a unit for communicating with various other devices (such as user equipment, servers) over a transmission medium. The processor 11 is responsible for managing the bus architecture and general processing, and the memory 12 may store data used by the processor when performing operations.

[0130] It is also known to those skilled in the art that the various illustrative logical blocks and steps listed in the embodiments of the present application can be implemented by electronic hardware, computer software, or a combination of the two. Whether such functions are implemented by hardware or software depends on the specific application and the design requirements of the entire system. Those skilled in the art can use various methods to implement the functions described for each specific application, but such implementation should not be understood as exceeding the scope of protection of the embodiments of the present application.

[0131] Figure 2A The hardware architecture shown relates to hardware components for performing dialogue processing. Exemplarily, the transceiver 13 can be used to perform information transmission and reception between the dialogue processing device and the user device, for example, receiving voice information sent by the user device, sending a service identifier and an execution result to the user device, etc. The transceiver 13 can also be used for information transmission and reception between the dialogue processing device and the server, for example, sending information requesting a service to the server, and receiving a service identifier and an execution result from the server, etc. The memory 12 is used to store instructions and data. In some embodiments, the memory 12 can save instructions or data that the processor 11 has just used or cyclically used. If the processor 11 needs to use the instruction or data again, it can be directly called from the memory 12 to avoid repeated access. The memory 12 is also used to store one or more intent information, one or more slot types corresponding to each intent information in the one or more intent information, and slot information contained in each slot type in the one or more slot types. The processor 11 calls the instructions and data in the memory 12 to perform other operations besides information transmission and reception, for example, recognizing speech, parsing semantics, and determining user intent and slot information based on the parsed semantics.

[0132] Figure 2B It is a software structure block diagram of the dialogue processing device 10 of the present application.

[0133] The software system of the dialogue processing device 10 may include functional modules for performing various functions of dialogue processing, such as an operating system, a transceiver module, an automatic speech recognition (ASR) module, a natural language understanding (NLU) module, a dialogue generation (NLG) module, a slot information recognition module, a request information generation module, etc.

[0134] In some embodiments, the dialog processing device 10 further includes an editing interface. When the editing interface is triggered, an editing operation interface may be presented.

[0135] Figure 2B The software system shown involves functional modules for executing dialogue processing, wherein the operating system drives each module to perform operations. Exemplarily, after the transceiver module receives the user's dialogue voice, the ASR module recognizes the voice, and then the NLU module parses the semantics of the recognized voice. Furthermore, the slot information recognition module can identify the slot information from the parsed semantics, and the request information generation module generates information requesting the service. After the transceiver module receives the execution result of the service from the server, the NLG module generates the execution result to generate the voice, and then the transceiver module sends the generated voice to the user device.

[0136] The following introduces an exemplary user device 20 provided in the following embodiments of the present application.

[0137] Figure 3A A schematic structural diagram of the user equipment 20 is shown.

[0138] The user device 20 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0139] It is to be understood that the structure illustrated in the present application does not constitute a specific limitation on the user equipment 20. In other embodiments of the present application, the user equipment 20 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0140] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a controller, a memory, etc. Different processing units may be independent devices or integrated into one or more processors. In some embodiments, the user equipment 20 may also include one or more processors 110.

[0141] The controller may be the nerve center and command center of the user equipment 20. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0142] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the user device 20.

[0143] In some embodiments, the processor 110 may include one or more interfaces, including an interface for implementing communication between the processor 110 and the audio module 170, and an interface for connecting the processor 110 and the display screen 194, etc. These interfaces will not be described in detail here.

[0144] The wireless communication function of the user equipment 20 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0145] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks) and the like applied to the user device 20. In some embodiments, the antenna 2 of the user device 20 is coupled to the wireless communication module 160, so that the user device 20 can communicate with the network and other devices through wireless communication technology.

[0146] The display screen 194 of the user device 20 and the application processor can realize the prompt function. The display screen 194 is used to prompt text, menus, audio controls, etc.

[0147] The user device 20 can implement audio functions such as audio playback and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor.

[0148] The audio module 170 is used to convert digital audio information into analog audio signal output, and also used to convert analog audio input into digital audio signal. The audio module 170 can also be used to encode and decode audio signals.

[0149] The speaker 170A, also called a "speaker", is used to convert an audio electrical signal into a sound signal. The user device 20 can listen to the audio conversation sent by the conversation processing device through the speaker 170A.

[0150] The receiver 170B, also called a "earpiece", is used to convert audio electrical signals into sound signals. When the user device 20 receives audio information, the user can listen to the sound of the audio information by placing the receiver 170B close to the ear.

[0151] Microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When sending voice information, the user can speak by approaching microphone 170C with his mouth to input the sound signal into microphone 170C. User device 20 can be provided with at least one microphone 170C.

[0152] Figure 3A The exemplary user device 20 can display and prompt various user interfaces described in the following embodiments through the display screen 194. The user device 20 can input voice information to various user interfaces through the microphone 170C, and can also play the audio prompted by the user interface through the speaker 170A or the receiver 170B.

[0153] The software system of the user equipment 20 may adopt a layered architecture. This application takes the Android system of the layered architecture as an example to exemplify the software structure of the user equipment 20.

[0154] Figure 3B It is a software structure block diagram of the user equipment 20 of the present application.

[0155] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.

[0156] The application layer can include a series of application packages.

[0157] like Figure 3B As shown, the application package may include applications such as camera, gallery, WLAN, Bluetooth, music, video, short message, etc.

[0158] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0159] like Figure 3B As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.

[0160] The window manager is used to manage window programs. The window manager can obtain the display screen size, determine whether there is a status bar, lock the screen, capture the screen, etc.

[0161] Content providers are used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, text, etc.

[0162] The view system includes visual controls, such as controls that display text. The view system can be used to build applications. The display interface can be composed of one or more views.

[0163] The media library supports a variety of commonly used audio playback and recording, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0164] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, audio driver, and sensor driver.

[0165] Figure 3B The software system shown involves application presentation that performs human-computer dialogue (such as window manager, view system), providing audio codec services, as well as kernel and basic communication protocols.

[0166] The following is an illustrative description of the workflow of the software and hardware of the user device 20 in conjunction with a human-computer dialogue scenario.

[0167] After the display 121 presents the application interface of the human-computer dialogue, the microphone 170C receives the user's voice audio. Accordingly, the audio driver of the kernel layer is triggered to convert the user's voice audio into an electrical signal. The wireless communication module 160 sends the electrical signal to the dialogue processing device. After the wireless communication module 160 receives the audio from the dialogue processing device, the display driver of the kernel layer calls the window manager to display the audio. After the pressure sensor 180A receives the instruction to play the audio, the corresponding hardware interrupt is sent to the kernel layer. The audio driver of the kernel layer triggers the audio module 170 to decode the audio, and the decoded audio is played through the speaker 170A or the receiver 170B.

[0168] Combined with the above description of the relationship between slot information and services, the required slot information includes slot information indicating the service identifier, such as "ride-sharing" in the ride-hailing service, and conventional slot information used to determine the service, such as the destination "Tsinghua West Gate". Among them, the services provided by the server to the user are usually customized by relevant service personnel, so the services provided by the server may change, for example, the "ride-sharing" service item is removed from the shelves, and the "carpooling" service item is put on the shelves, resulting in the absence of services corresponding to the corresponding service identifiers. However, on the one hand, the user may not be able to know in a timely manner what services the server provides, and on the other hand, the relevant slot information maintained in the dialogue processing device may not be updated in a timely manner, resulting in the above-mentioned series of problems in this application. In the following, this application refers to the slot type to which the slot information used to indicate the service identifier in the required slot information belongs as the "first slot type", and the slot type of the conventional slot information in the required slot information is referred to as the "second slot type". Correspondingly, the "first slot type" referenced below refers to the slot type of the slot information used to indicate the service identifier in the required slot information, and the "second slot type" referenced below refers to the slot type of the regular slot information in the required slot information, which will not be repeated below.

[0169] In order to facilitate the dialogue processing device to identify the first slot type and the second slot type, the developer can mark the first slot type by adding a label according to the attributes of the above-mentioned mandatory slot type when designing the dialogue processing device. For example, the developer can add the label "M" to the first slot type in the mandatory slot type, but not add any label to the first slot type in the mandatory slot type. Accordingly, when the dialogue processing device reads a slot type carrying the label "M", it determines the slot type as the first slot type. When the dialogue processing device reads a mandatory slot type that does not carry the label "M", it determines the mandatory slot type as the second slot type.

[0170] In some embodiments, the developer can directly add a label to the first slot type during the process of designing a program related to the slot type. In other embodiments, the present application can provide an editing interface, and the developer can classify the slot type by checking the box on the editing interface.

[0171] Figure 4 The exemplary editing interface of a slot type is illustrated. The slot list illustrated in the editing interface may include five items: slot type name, slot information library corresponding to the slot type, mandatory slot option, prompt option and question. Among them, the slot type name is used to name the slot type to indicate the corresponding slot type. The slot information library corresponding to the slot type can be a link, which is used to link the slot information library corresponding to the same row of slot types. The question indicates various expressions corresponding to the slot information of the corresponding row of slot types. If the mandatory slot option is selected, the slot type of the corresponding row is considered to be marked as a mandatory slot type. Accordingly, the slot type is added with a "mandatory" label. The prompt option is an option used to mark whether it is the first slot type in this implementation. Based on this, similarly, if the prompt option is selected, the slot type of the corresponding row is considered to be marked as the first slot type. Correspondingly, the slot type is added with a "prompt" label. It should be pointed out that in this embodiment, only when the mandatory slot option of the corresponding row is selected, the prompt option of the row can be operated. In addition, developers can also trigger "+ Add slot type" to add slot types as needed, and can click the delete symbol to delete the slot type in the row corresponding to the delete symbol.

[0172] According to the above description, Figure 4 In the illustrated embodiment, slot type "vehicle type" and slot type "destination" are mandatory slot types, and slot type "departure place" is an optional slot type. Among the mandatory slot types, "vehicle type" is the first slot type, and "destination" is the second slot type.

[0173] Based on this, the technical solution of the present application is that when the user does not enter the slot information corresponding to the first slot type, or the slot information corresponding to the first slot type entered by the user has no matching service, the dialogue processing device will feedback multiple service identifiers corresponding to the first slot type to the user, so that the user can select a service identifier from the multiple service identifiers as the corresponding slot information, thereby being able to quickly and accurately trigger a service.

[0174] In some embodiments, the multiple service identifiers may be all service identifiers corresponding to the first slot type in the server. In other embodiments, the multiple service identifiers may be some service identifiers corresponding to the first slot type in the server. Specifically, the multiple service identifiers may be service identifiers in which user favorable comments are higher than a certain value, for example, service identifiers corresponding to service items in which user favorable comments are higher than 95%. Alternatively, the multiple service identifiers may be service identifiers of service items updated within a certain time from the current time, for example, the multiple service identifiers are service identifiers of service items updated within the last 3 months.

[0175] It is understandable that the above-mentioned selection conditions of "multiple service identifiers" are only selection conditions corresponding to some exemplary implementation scenarios of the present application, and do not constitute a specific limitation on the selection of "multiple service identifiers". In other embodiments, the selection of "multiple service identifiers" can be flexibly set according to other implementation scenarios. No further details will be given here.

[0176] The following introduces the implementation scenario of the user terminal of the present application in conjunction with an exemplary user interface.

[0177] First implementation scenario: A user inputs a dialog message to a user device, and the dialog message does not include slot information corresponding to the first slot type. Then, the user device receives all service identifiers corresponding to the first slot type from the dialog processing device. The user can select a service identifier from all service identifiers as the slot information of the first slot type and input it into the user device.

[0178] In some embodiments, the total number of service identifiers corresponding to the first slot type may be two or three. For example, the first slot type is the "vehicle type" in the taxi-hailing service, and the "vehicle type" corresponds to the three service identifiers of "ride-sharing", "private car" and "express car". In other embodiments, the total number of service identifiers corresponding to the first slot type may be more than a dozen. For example, the first slot type is the "beverage" in the meal ordering service, and the "beverage" corresponds to ten services, namely, "cola", "Sprite", "soy milk", "coffee", "juice", "milk", "black tea", "green tea", "milk tea" and "beer". However, the size of the user interface is limited. Therefore, in some embodiments, when the number of all service identifiers is less than or equal to a preset threshold, the user device may prompt all service identifiers on the user interface, such as Figure 5A The preset threshold is, for example, 5. In some other embodiments, when the number of all service identifiers is greater than the preset threshold, the user device may prompt all service identifiers on the user interface in a link manner, such as Figure 5B Alternatively, the user device may set a menu bar for the scroll bar, such as Figure 5C An illustrative user interface is shown.

[0179] Understandably, FIG. 5A to FIG. 5C The illustrated user interface does not constitute a specific limitation of the present application. In other embodiments of the present application, the user interface may prompt the service identifier in a manner different from the above description. No further details are given here.

[0180] Further, if the dialog information includes slot information corresponding to the second slot type, the user device may receive information indicating that the service has been successfully executed from the dialog processing device. If the dialog information does not include slot information corresponding to the second slot type, the user device may receive a dialog from the dialog processing device requiring the user to input corresponding slot information, and the user may respond to the corresponding dialog and input corresponding slot information. Finally, the user device may receive information indicating that the service has been successfully executed from the dialog processing device.

[0181] For example, Figure 6 As shown, the user inputs "Help me call a car" into the user interface, and then the user device prompts "The currently available vehicle types include: private car, express car and carpooling, which one do you want?" Then, the user selects "express car". Then, the user interface may prompt "Where are you going?" After the user inputs "Tsinghua West Gate", the user interface prompts "An express car from your location to Tsinghua West Gate has been successfully booked for you."

[0182] Second implementation scenario: A user inputs a conversation message to a user device, and the conversation message includes slot information corresponding to the first slot type, but the server does not include the service corresponding to the slot information. Then, the user device can receive multiple service identifiers corresponding to the first slot type from the conversation processing device. The user selects a service identifier from the multiple service identifiers as the slot information of the first slot type and inputs it to the user device. The user interface corresponding to the service identifier is as follows: FIG. 5A to FIG. 5C In addition, the subsequent operations of the user and the subsequent dialog content prompted by the user device are similar to those in the first implementation scenario and will not be described in detail here.

[0183] It is understandable that the multiple service identifiers are displayed on the user interface in a manner such as FIG. 5A to FIG. 5C The above is not repeated here.

[0184] For example, Figure 7 As shown, the user inputs "Order me a cup of coffee" into the user interface. In this embodiment, for example, the coffee is sold out. Then, the user device prompts "The drinks currently available include: milk, cola, Sprite, juice, milk tea, soy milk, black tea, which one would you like?". Figure 6 As shown, there are many service logos corresponding to "drinks", so the user device prompts the above logos by setting a menu bar with a scroll bar. The user can slide up and down Figure 6 The scroll bar on the user interface is used to view the logo corresponding to "drinks". Then, the user selects "black tea", for example. Then, the user interface prompts "the black tea you ordered will be delivered in 15 minutes". Among them, the types of drinks listed in this embodiment can be some of the drinks in "drinks currently in stock".

[0185] Third implementation scenario: A user inputs a dialog message to a user device, and the dialog message includes slot information corresponding to the first slot type. The dialog processing device does not include the slot information, but the server includes a service corresponding to the slot information. After the user inputs the slot information corresponding to the second slot type, the user device prompts information indicating that the service is successfully executed.

[0186] For example, Figure 8 As shown, the user inputs "Order me a double hamburger A meal" into the user interface. In this embodiment, the dialog processing device does not include the slot information corresponding to the "double hamburger A meal", but the user device can receive the information "The double hamburger A meal you ordered will be delivered in half an hour".

[0187] Fourth implementation scenario: The user inputs a dialog message to the user device, and the dialog message includes slot information corresponding to the first slot type. However, the first server does not include the service corresponding to the slot information. After the user inputs the slot information corresponding to the second slot type, the user device prompts information that the service is successfully executed by the second server.

[0188] For example, Fig. 9 As shown, the user inputs "check the flights from Hong Kong, China to New York from 10:00 to 11:00 tomorrow morning" into the user interface. In this embodiment, the first server is a server that maintains domestic flight data, such as a server of a domestic travel platform. However, the user device may receive the information "official data of international flights indicates that the flight from Hong Kong, China to New York from 10:00 to 11:00 tomorrow morning is AA8925, taking off from Hong Kong, China at 10:35 am".

[0189] Fifth implementation scenario: A user inputs a dialog message to a user device, the dialog message includes slot information corresponding to the first slot type, and / or slot information corresponding to the first slot type, but the meaning of at least one of the slot information is unclear. Then, the user device prompts information that the corresponding service is executed according to the best solution.

[0190] Among them, the meaning of the slot information indication is unclear, which means that the slot information can indicate multiple different specific information, thereby causing the dialogue processing device to be unable to trigger a certain service based on the slot information. For example, the information "Help me book a hotel near Beijing Station", where "hotel near Beijing Station" at least includes "hotel within 500 meters from Beijing Station", "five-star hotel near Beijing Station" and "five-star hotel within 500 meters from Beijing Station" and other more specific information. Therefore, the meanings of "near Beijing Station" and "hotel" in this embodiment are unclear. In addition, the best solution refers to the solution that is the most, fastest, best and / or economical for the user, for example, the shortest route for the user, or the package that requires the user to pay the least fee.

[0191] For example, Fig.10 As shown, the user inputs "Help me book a hotel near Beijing Station" into the user interface. The user device receives and prompts "A standard room at Hotel X, a five-star hotel, 400 meters away from Beijing Station, has been booked for you". The "Hotel X" is, for example, the five-star hotel closest to Beijing Station.

[0192] Understandably, Figures 6 to 10 The illustrated implementation scenarios are only some of the illustrated implementation scenarios of the present application and do not constitute a limitation on the applicable scenarios of the present application. In other embodiments, the present application may also be applicable to any other scenario in which any other user triggers a service through human-computer dialogue. No further details will be given here.

[0193] According to the description of the first to fifth implementation scenarios, by adopting the technical solution of the present application, no matter whether the dialogue information input by the user contains the slot information corresponding to the first slot type, no matter what the correspondence relationship is between the slot information input by the user and the slot information preset in the dialogue processing device, and no matter what the correspondence relationship is between the slot information input by the user and the service provided by the server, the user can obtain the desired service. This not only avoids the user from initiating multiple rounds of dialogue, but also enables the user to be informed of the services provided by the server in a timely manner, thereby improving the user's experience.

[0194] The first to fifth implementation scenarios are described from the user side, and the execution process of the present application to achieve the effects of the above-mentioned scenarios is described in detail below on the dialogue processing device side. The following is an introduction to the execution process of the dialogue processing device side of the present application in conjunction with the accompanying drawings and the above-mentioned implementation scenarios.

[0195] Fig.11 The diagram shows the architecture of the first embodiment of the present application human-computer dialogue system. In this embodiment, the intent, slot type and slot information maintained in the dialogue processing device correspond to the services supported by the server. The user can communicate with the dialogue device through the user device. The dialogue processing device can be as follows: Figure 2A and Figure 2B As described above, the user equipment can be Figure 3A and Figure 3B described.

[0196] Combination Fig.11 Schematic diagram of human-computer dialogue system, Fig.12 A method flow chart showing an implementation of the conversation processing method of the present application. Fig.12 The illustrated dialog processing method 100 includes the following steps:

[0197] Step S101: The conversation processing device receives conversation information from the user equipment.

[0198] The dialogue information may be audio or text. If the dialogue information is audio, the dialogue processing device may perform speech recognition on the audio, and then perform semantic understanding on the content after speech recognition, thereby determining the intention corresponding to the dialogue information. If the dialogue information is text, the dialogue processing device may perform semantic understanding on the text, thereby determining the intention corresponding to the dialogue information. Further, the dialogue processing device determines one or more mandatory slot types corresponding to the intention, and determines whether each mandatory slot type in the one or more mandatory slot types is a first slot type or a second slot type. Then, the dialogue processing device may identify whether the dialogue information includes slot information corresponding to the first slot type. The first slot type described in this embodiment refers to the slot type to which the slot information used to indicate the service identifier in the mandatory slot information belongs. The second slot type described in this embodiment refers to the slot type of the regular slot information in the mandatory slot information.

[0199] Optionally, in combination with the above description of the first slot type and the second slot type, the dialogue processing device can determine whether each mandatory slot type contains a preset tag to determine whether the mandatory slot type is the first slot type. If the mandatory slot type contains a preset tag, the dialogue processing device considers that the mandatory slot type is the first slot type. If the mandatory slot type does not contain a preset tag, the dialogue processing device considers that the mandatory slot type is the second slot type. The setting process of the preset tag and the content of the preset tag are described in detail in Figure 4 The corresponding embodiments are described and will not be described in detail here.

[0200] Optionally, the dialog processing device can identify one or more keywords in the dialog information. Then, corresponding to each of the one or more keywords, in some embodiments, the dialog processing device determines the slot type to which the keyword belongs through a word vector model. In other embodiments, the dialog processing device determines the slot type to which the keyword belongs through the expression format of the keyword, for example: according to the format of the keyword "12:30", it can be determined that the keyword "12:30" belongs to the slot type "time".

[0201] Step S102: If the dialog information does not include slot information corresponding to the first slot type that can identify the service, the dialog processing device obtains a service identifier set corresponding to the first slot type from the server.

[0202] The service identification set includes all service identifications corresponding to the first slot type.

[0203] Step S103: The dialog processing device sends the service identification set to the user equipment.

[0204] Among them, the dialog information does not contain the slot information corresponding to the first slot type that can determine the service, which may include two scenarios: Scenario 1: The dialog information does not contain the slot information corresponding to the first slot type. Scenario 2, the dialog information contains the slot information corresponding to the first slot type, but the server does not contain the service corresponding to the slot information. Based on this, in order to avoid the user from entering the slot information corresponding to the first slot type multiple times, when any of the above implementation modes occurs, the dialog processing device may send a retrieval request to the server, and the retrieval request may include the identifier of the first slot type. Then, the server responds to the retrieval request and sends a service identifier set formed by all service identifiers corresponding to the first slot type to the dialog processing device. The dialog processing device may send the service identifier set to the user device so that the user can select any service identifier as the slot information corresponding to the first slot type.

[0205] Corresponding to the first situation, if the dialogue processing device does not obtain the slot information corresponding to the first slot type from the dialogue information, the dialogue processing device determines that the dialogue information does not include the slot information corresponding to the first slot type.

[0206] For example, as in the first implementation scenario and Figure 6 The embodiments are shown in FIG.

[0207] Corresponding to the second situation, the dialogue processing device obtains the slot information corresponding to the first slot type from the dialogue information, and then, based on all the required slot information included in the dialogue information, the dialogue processing device requests the server for the services corresponding to all the required slot information. If the dialogue processing device receives information indicating that the service execution fails from the server, it determines that the dialogue information does not contain the slot information that can determine the corresponding to the first slot type.

[0208] For example, as in the second implementation scenario above and Figure 7 In an exemplary embodiment, after receiving the dialog information "Please order a cup of coffee for me", the dialog processing device can determine the slot information "coffee" corresponding to the first slot type from the dialog information "Please order a cup of coffee for me". Then, the dialog processing device requests the server to provide the "order coffee" service. Since the coffee is sold out, the server fails to perform the "order coffee" service and can send a failure message to the dialog processing device. In other embodiments, after the server fails to perform the "order coffee" service, it can also directly Figure 7 The indicated available beverages are sent to the dialog processing device.

[0209] The user equipment prompts the method of all service identifiers, such as FIG. 5A to FIG. 5C As shown, no further description is given here.

[0210] Step S104: the dialogue processing device receives the target service identifier sent by the user equipment, and requests the service corresponding to the target service identifier from the server.

[0211] The target service identifier belongs to the above service identifier set. In the present application, the target service identifier is used as the slot information corresponding to the first slot type.

[0212] It is understandable that before executing this step, the dialog processing device has already learned the slot information corresponding to the second slot type. The execution process of the dialog processing device learning the slot information corresponding to the second slot type is not described in detail in this embodiment.

[0213] Step S105: The dialog processing device receives information indicating that the service is successfully executed from the server, and sends the information indicating that the service is successfully executed to the user device.

[0214] It can be seen from this that in the technical solution of the present application, if the service item customized by the server does not correspond to the slot information of the corresponding slot type, the dialogue processing device will feedback all the service identifiers maintained by the server to the user, so that the corresponding slot information input by the user must correspond to a service item in the server. By adopting this implementation method, not only can the service items be displayed to the user in a timely manner, but also the user can avoid initiating multiple rounds of dialogue with the dialogue processing device, improve the efficiency of executing the service, and then improve the user's experience.

[0215] Combination Fig.11 Schematic diagram of human-computer dialogue system, Fig.13 A method flow chart showing another implementation of the conversation processing method of the present application. Fig.13 The illustrated dialog processing method 200 includes the following steps:

[0216] Step S201: The dialogue processing device receives dialogue information from the user equipment.

[0217] The dialog information includes slot information corresponding to the first slot type. In addition, in this embodiment, the operation of the dialog processing device after receiving the dialog information is similar to the description of step S101 in method 100, and will not be repeated here.

[0218] Step S202: The dialogue processing device requests the server for the service corresponding to the slot information.

[0219] In this embodiment, even if the slot information is not included in the slot information preset in the dialogue processing device, the dialogue processing device still requests the server to provide corresponding services according to the slot information.

[0220] Step S203: If the dialog processing device does not contain the slot information and receives information indicating that the service is successfully executed from the server, the dialog processing device adds the slot information to the information base corresponding to the first slot type.

[0221] If the slot information is not included in the slot information preset in the dialog processing device, and the service is successfully executed by the server, it means that the service item maintained in the server is updated, but the slot information corresponding to the first slot type in the dialog processing device is not updated in time. Figure 8 In the illustrated embodiment, the server adds a new product "Double Burger A Set Meal", but the dialog processing device does not update the information base corresponding to the slot type "Set Meal", then the dialog processing device can add the slot information corresponding to the "Double Burger A Set Meal" to the information base corresponding to the slot type "Set Meal". In addition, in this embodiment, the slot information corresponding to the "Double Burger A Set Meal" can be the "Double Burger A Set Meal".

[0222] Step S204: the dialog processing device sends information indicating that the service has been successfully executed to the user equipment.

[0223] It can be seen that the implementation method can not only reduce the number of conversation turns between the conversation processing device and the user and provide services to the user in a timely manner, but also enable the conversation processing device to update the slot information maintained by the conversation processing device in a timely manner.

[0224] The user interface corresponding to the method 200 is as shown in the third implementation scenario and Figure 8 As shown, no further details are given here.

[0225] Combination Fig.11 The present application also provides a third embodiment of the dialogue processing method. The dialogue processing method 300 includes:

[0226] The dialogue processing device receives dialogue information from the user device, and then determines the keywords corresponding to all the mandatory slot types in the dialogue information. If any of the keywords corresponding to all the mandatory slot types corresponds to at least two slot information in the corresponding slot type, the dialogue processing device determines the specific slot information corresponding to the optimal service solution in the at least two slot information. Then, the dialogue processing device can request the service corresponding to the specific slot information from the server, and after receiving the information that the corresponding service is successfully executed from the server, send the information that the corresponding service is successfully executed to the user device.

[0227] The keywords corresponding to at least two slot information in a slot type may be general terms that include multiple specific slot information. For example, "hotels near Beijing Station" may include the names of all hotels within 1,000 meters from Beijing Station. For another example, "Tsinghua" may include the addresses of all gates of Tsinghua University.

[0228] In this application, the standard of "optimal" in "optimal service solution" varies according to the service content and user needs. Fig.10 In the illustrated embodiment, the optimal service solution for "Book me a hotel near Beijing Railway Station" may be, for example, the hotel closest to Beijing Railway Station or the hotel with the highest star rating within 1,000 meters from Beijing Railway Station. For another example, for the dialogue message "Book me a car to Tsinghua University", the optimal service solution may be, for example, the solution with the shortest driving route or the vehicle with the lowest cost. Based on this, the dialogue processing device may determine it according to the computing model of the corresponding service scenario. The computing model may be trained based on the big data of the corresponding service scenario and the user's historical order data. It will not be described in detail here.

[0229] Furthermore, in this embodiment, after the dialogue processing device determines at least two slot information corresponding to the keyword, it can determine whether the service corresponding to each slot information is the above-mentioned "optimal service solution". If so, the slot information is determined as specific slot information.

[0230] It can be seen that by adopting this implementation method, the dialogue processing device can automatically provide users with relatively better services when the meaning of the keywords input by the user is ambiguous. It can not only avoid multiple rounds of dialogue with the user, but also has flexible operation and can further improve the user experience.

[0231] Fig.14 The diagram shows the architecture of the second embodiment of the present application human-computer dialogue system. In this embodiment, the dialogue processing device establishes a connection with the first server and the second server. The user can communicate with the dialogue device through the user device. The dialogue processing device can be as follows: Figure 2A and Figure 2B As described above, the user equipment can be Figure 3A and Figure 3B described.

[0232] Combination Fig.14 Schematic diagram of human-computer dialogue system, Fig.15 A method flow chart showing a fourth implementation of the conversation processing method of the present application. Fig.15 The illustrated dialog processing method 400 includes the following steps:

[0233] Step S401: The dialogue processing device receives dialogue information from the user equipment.

[0234] The dialog information includes slot information corresponding to the first slot type. In addition, in this embodiment, the operation of the dialog processing device after receiving the dialog information is similar to the description of step S101 in method 100, and will not be repeated here.

[0235] Step S402: The dialogue processing device requests the first server for the service corresponding to the slot information.

[0236] Step S403: If the information received from the first server indicates that the service execution has failed, the dialogue processing device requests the service corresponding to the slot information from the second server.

[0237] Step S404: If the information indicating that the service is successfully executed is received from the second server, the dialogue processing device sends the information indicating that the service is successfully executed to the user equipment.

[0238] The user interface corresponding to the method 400 is as shown in the fourth implementation scenario and Fig. 9 As shown, no further details are given here.

[0239] Exemplarily, in this embodiment, the first server may be a server that provides customized services, and the second server may be an official server related to the services provided by the first server. Fig. 9 In the illustrated embodiment, the first server is, for example, a server providing domestic travel services, and the second server is, for example, an official server providing domestic and international flight data.

[0240] It can be seen that, with this implementation, when the first server cannot provide services, the dialogue processing device can trigger the second server to provide corresponding services. This can reduce the number of dialogue turns between the dialogue processing device and the user, and provide services to the user in a timely manner.

[0241] In an optional embodiment, the above Figures 11 to 15 In the illustrated embodiment, the dialogue processing device may be a cloud-based solution, that is, the dialogue processing device is a server, which is an entity relatively independent from the user device.

[0242] In another optional embodiment, the above Figures 11 to 15 In the illustrated embodiment, the dialogue processing device may be a terminal-cloud combined solution, that is, the dialogue processing device includes a server and functional modules on a user device. For example, the dialogue processing device may include a Bot platform on a server and an application on a user device.

[0243] In another optional embodiment, the above Figures 11 to 15 In the illustrated embodiment, the conversation processing device may be a solution on the end side, that is, the conversation processing device is a functional module integrated on the user device. For example, the conversation processing device may be an application on the user device. It is understood that when the conversation processing device may be a solution on the end side, the hardware of the conversation processing device is the hardware corresponding to the user device.

[0244] The following embodiment provides a method for a user equipment. The user equipment may be as follows Figure 3A and Figure 3B described.

[0245] Fig.16 A method flow chart of a fifth implementation of the conversation processing method of the user equipment in an embodiment of the present application is shown. Fig.16 The illustrated dialog processing method 500 includes the following steps:

[0246] Step S501: receiving dialogue information input by the user.

[0247] In an optional implementation, the user device may receive the user's dialogue information through a human-computer dialogue application, and the dialogue information indicates the service that the user wants to reserve. The human-computer dialogue application may be a voice assistant or other installed application that can realize the dialogue function. The dialogue information may be voice information, or other information such as text, gestures, etc.

[0248] Step S502: If the dialog information does not include slot information corresponding to the first slot type capable of determining the service, a service identifier set corresponding to the first slot type is obtained from a local application or a server.

[0249] In one possible implementation, if the slot information corresponding to the first slot type contained in the dialogue information input by the user does not match the service identifier set of the application that can currently provide the service, for example, the user wants to book a ride-sharing service of the Didi Taxi application, but the current Didi Taxi application does not provide the ride-sharing service, then the human-computer dialogue application can query the service identifier set corresponding to the first slot type from the local application for the user to choose. The local application is an application that can provide the service that the user wants to book. The local application can be a third-party application, such as the Didi Taxi application, which is different from the human-computer dialogue application.

[0250] In another possible implementation, if the slot information corresponding to the first slot type contained in the dialogue information input by the user does not match the service identification set of the application that can currently provide the service, the human-computer dialogue application can also query the service identification set corresponding to the first slot type from the server for the user to select. The server can be a server corresponding to the local application or a server corresponding to the human-computer dialogue application. This application does not limit this.

[0251] Similarly, if the dialogue information input by the user does not contain the slot information corresponding to the first slot type, for example, the user wants to book a car for travel, but does not have information about the vehicle type, and the vehicle type is necessary information for booking a car, then the human-computer dialogue application can query the service identification set corresponding to the first slot type from the local application or from the server for the user to select.

[0252] Step S503: prompting the service identifier in the service identifier set.

[0253] Optionally, the user device may prompt the user by voice, such as by voice broadcast of a voice assistant; the user device may also prompt the user by text, or by a combination of multiple methods, etc. This application is not limited

[0254] Step S504: if the user determines the target service identifier from the service identifier set, the user requests the service corresponding to the target service identifier from the local application or server.

[0255] Similar to the description of step S502, in this step, the user device may request a service from a local application, such as a Didi taxi application, or directly request a service from a server. The user device may request a service from a server by sending a request to a server corresponding to a human-computer dialogue application, or directly requesting a service from a server corresponding to a local application. This application does not limit this.

[0256] Step S505, prompting information indicating that the service is successfully executed.

[0257] For example, if the user wants to book a car, the user can be prompted that the car reservation is successful, etc.

[0258] It should be noted that the above-mentioned exemplary dialogue processing methods are all based on a general technical concept. Based on this, the same or similar parts of the exemplary dialogue processing methods will not be repeated in this application. The execution process of each exemplary dialogue processing method and the prompt effect presented by the corresponding user interface can be used as a reference for each other.

[0259] In summary, the technical solution of the present application, when the service item customized by the server does not correspond to the slot information of the corresponding slot type, the dialogue processing device feeds back the service identifier maintained by the server to the user, so that the corresponding slot information input by the user must correspond to a service item in the server. By adopting this implementation method, not only can the service items be displayed to the user in a timely manner, but also the user can avoid initiating multiple rounds of dialogue with the dialogue processing device, improve the efficiency of executing the service, and then improve the user's experience.

[0260] In the embodiments provided by the present application above, each scheme of the dialogue processing method provided by the embodiments of the present application is introduced from the perspective of each device itself and from the perspective of the interaction between each device. For example, the above-mentioned dialogue processing device, user device and server all include hardware structures and / or software modules corresponding to the execution of each function. It should be easy for those skilled in the art to realize that, in combination with the modules and algorithm steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present application.

[0261] In a specific implementation, corresponding to the above-mentioned devices, the embodiment of the present application further provides a computer storage medium, wherein the computer storage medium set in any device can store a program, and when the program is executed, it can implement the following Figures 4 to 15 The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM).

[0262] It is also known to those skilled in the art that the various illustrative logical blocks and steps listed in the embodiments of the present application can be implemented by electronic hardware, computer software, or a combination of the two. Whether such functions are implemented by hardware or software depends on the specific application and the design requirements of the entire system. Those skilled in the art can use various methods to implement the functions described for each specific application, but such implementation should not be understood as exceeding the scope of protection of the embodiments of the present application.

[0263] It should be understood that in various embodiments of the present application, the size of the serial number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0264] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive Solid State Disk (SSD)), etc.

[0265] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.

[0266] Obviously, those skilled in the art can make various changes and modifications to the embodiments of the present application without departing from the spirit and scope of the embodiments of the present application. Thus, if these modifications and variations of the embodiments of the present application fall within the scope of the claims of the embodiments of the present application and their equivalents, the embodiments of the present application are also intended to include these modifications and variations.< / videoview> < / imgview> < / textview>

Claims

1. A method for processing a conversation, characterized in that: The method comprises: The dialog processing device displays an editing interface for adding a label to the first slot type, wherein the slot list displayed in the editing interface includes a slot type name and a prompt option corresponding to the slot type, wherein the prompt option is an option for marking whether it is the first slot type; The dialog processing device receives an instruction to add a tag, wherein the instruction to add a tag includes the prompt option if it is selected; If the prompt option is selected, the dialog processing device adds a label to the first slot type; The conversation processing device receives conversation information from the user equipment; If the dialog information does not include mandatory slot information corresponding to the first slot type used to determine the service identifier, the dialog processing device obtains a service identifier set corresponding to the first slot type from the server, the first slot type indicates the slot type to which the slot information used to indicate the service identifier in the mandatory slot information belongs, the mandatory slot information is information required to trigger the service, the mandatory slot information includes mandatory slot information corresponding to the first slot type and mandatory slot information corresponding to the second slot type, the mandatory slot information corresponding to the second slot type is regular slot information, the first slot type has a label determined based on an add label instruction, and the second slot type does not have the label, the service identifier set includes multiple service identifiers corresponding to the first slot type, and each of the service identifiers is used to indicate a service that can be provided by a program carried by the server when running; The dialogue processing device sends the service identification set to the user equipment; If a target service identifier is received from the user equipment, the dialogue processing device requests the server for a service corresponding to the target service identifier, and the target service identifier belongs to the service identifier set; If receiving the information that the service execution is successful from the server, the dialogue processing device sends the information that the execution is successful to the user device.

2. The method for processing a conversation according to claim 1, wherein: After the dialogue processing device receives the dialogue information from the user equipment and before acquiring the service identifier set corresponding to the first slot type from the server, the method includes: If mandatory slot information corresponding to the first slot type is not parsed from the dialog information, the dialog processing device determines that the dialog information does not include mandatory slot information corresponding to the first slot type for determining the service identifier.

3. The method for processing a conversation according to claim 1, wherein: After the dialogue processing device receives the dialogue information from the user equipment and before acquiring the service identifier set corresponding to the first slot type from the server, the method includes: The dialogue processing device parses the dialogue information to obtain mandatory slot information corresponding to the first slot type; The dialogue processing device requests the server for a service corresponding to the slot information; If the service execution failure information is received from the server, the dialogue processing device determines that the dialogue information does not include mandatory slot information corresponding to the first slot type for determining the service identifier.

4. The method for processing a conversation according to claim 1, wherein: After receiving the dialog information from the user equipment and before sending the execution success information to the user equipment, the dialog processing device further includes: The dialogue processing device parses the dialogue information to obtain mandatory slot information corresponding to the first slot type; The dialogue processing device requests the server for a service corresponding to the slot information; If the information indicating that the service is successfully executed is received from the server and the dialog processing device does not contain the slot information, the dialog processing device adds the slot information to an information base corresponding to the first slot type.

5. The dialog processing method according to any one of claims 1 to 4, characterized in that: The conversation information is text or audio.

6. A conversation processing device, characterized in that: It includes a processor and a transceiver, wherein the processor is used to couple with a memory, read instructions in the memory and perform operations according to the instructions, wherein: The processor is configured to generate an editing interface for adding a label to a first slot type, wherein a slot list shown in the editing interface includes a slot type name and a prompt option corresponding to the slot type, wherein the prompt option is an option for marking whether it is the first slot type; receiving an instruction to add a label, wherein the instruction to add a label includes the prompt option being selected; and if the prompt option is selected, adding a label to the first slot type; The transceiver is used to receive conversation information from the user equipment; The processor is configured to, when the dialog information does not include mandatory slot information corresponding to a first slot type for determining a service identifier, obtain a service identifier set corresponding to the first slot type from a server, the first slot type indicating a slot type to which the slot information used to indicate the service identifier in the mandatory slot information belongs, the mandatory slot information being information required for triggering a service, the mandatory slot information including mandatory slot information corresponding to the first slot type and mandatory slot information corresponding to the second slot type, the mandatory slot information corresponding to the second slot type being regular slot information, the first slot type having a label determined based on an add label instruction, the second slot type not having the label, the service identifier set including a plurality of service identifiers corresponding to the first slot type, each of the service identifiers being used to indicate a service item that a program carried by the server can provide when running; The transceiver is further configured to send the service identification set to the user equipment; The processor is further configured to, if a target service identifier is received from the user equipment, request the server for a service corresponding to the target service identifier, wherein the target service identifier belongs to the service identifier set; The transceiver is further configured to receive information about successful service execution from the server, and send the information about successful execution to the user equipment.

7. The dialog processing device according to claim 6, characterized in that: The processor is further configured to parse the dialog information, and in response to failure to parse the mandatory slot information corresponding to the first slot type from the dialog information, determine that the dialog information does not include the mandatory slot information corresponding to the first slot type for determining the service identifier.

8. The dialog processing device according to claim 6, characterized in that The processor is also used to parse the conversation information to obtain the mandatory slot information corresponding to the first slot type, and request the service corresponding to the slot information from the server; and is also used to respond to information received from the server indicating that the service execution failed, and determine that the conversation information does not contain the mandatory slot information corresponding to the first slot type used to determine the service identifier.

9. The dialog processing device according to claim 6, characterized in that: The processor is further configured to, in response to receiving information indicating successful execution of the service from the server and the dialog processing device not including the slot information, add the slot information to an information base corresponding to the first slot type.

10. A human-computer dialogue system, characterized in that: Comprising a server, a dialogue processing device as described in any one of claims 6 to 9, wherein the dialogue processing device interacts with the user equipment and the server respectively.