CN116737900A - Man-machine interaction processing system and method, storage medium and electronic equipment - Google Patents
Man-machine interaction processing system and method, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN116737900A CN116737900A CN202310706597.0A CN202310706597A CN116737900A CN 116737900 A CN116737900 A CN 116737900A CN 202310706597 A CN202310706597 A CN 202310706597A CN 116737900 A CN116737900 A CN 116737900A
- Authority
- CN
- China
- Prior art keywords
- interactive
- interaction
- task
- input
- node
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000003993 interaction Effects 0.000 title claims abstract description 153
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000012545 processing Methods 0.000 title claims abstract description 24
- 230000002452 interceptive effect Effects 0.000 claims abstract description 134
- 230000008520 organization Effects 0.000 claims abstract description 18
- 230000009471 action Effects 0.000 claims description 28
- 230000008569 process Effects 0.000 claims description 18
- 230000004044 response Effects 0.000 claims description 8
- 238000003672 processing method Methods 0.000 claims description 6
- 230000001960 triggered effect Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 13
- 238000004590 computer program Methods 0.000 description 7
- 230000006399 behavior Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000010485 coping Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000000644 propagated effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/332—Query formulation
- G06F16/3329—Natural language query formulation or dialogue systems
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/08—Speech classification or search
- G10L15/18—Speech classification or search using natural language modelling
- G10L15/1822—Parsing for meaning understanding
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L2015/223—Execution procedure of a spoken command
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computational Linguistics (AREA)
- Human Computer Interaction (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Software Systems (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Artificial Intelligence (AREA)
- Mathematical Physics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the application provides a human-computer interaction processing system and a method thereof, a storage medium and electronic equipment, wherein the system comprises: the interactive service device is used for describing an interactive task in an interactive scene, an interactive control unit and an interactive organization unit are configured on the interactive engine, the interactive control unit controls the current interactive input according to the interactive task, and the interactive organization unit is used for determining the expected next interactive input in the interactive scene corresponding to the current interactive input according to the control of the interactive flow. The application realizes the self definition of the complex dialogue flow, makes the control of the dialogue flow more flexible, can meet the requirements of different dialogue scenes and allows the user to flexibly jump topics.
Description
The application relates to a man-machine interaction processing system and a method thereof, a storage medium and electronic equipment, which are divisional applications of Chinese patent application with the application date of 2018, 10, 15 and 201811194884.3.
Technical Field
The embodiment of the application relates to the technical field of man-machine interaction, in particular to a man-machine interaction processing system and method, a storage medium and electronic equipment.
Background
In recent years, with the continuous development of speech recognition and natural language understanding technologies, intelligent interaction has been widely applied to different fields, such as chat robots, intelligent speakers, intelligent customer service, etc.
The more common interaction management methods in the prior art include the following:
1. key-pharse (keyword matching): the proposal of capturing the last sentence of user input and carrying out interactive response according to the keywords or key phrases in the last sentence of user input has the defect of being inflexible, and being incapable of coping with all interactive scenes only by virtue of the last sentence of user input and the keywords.
2. Finish-state machine: the finite state machine is used for exhausting various interaction flows, and the disadvantage of the scheme is that: complex tasks are difficult to handle and users are not allowed to jump to topics.
3. Slot-filling (filling Slot): the method is suitable for scenes with few slot information and task types, has limited application range, and cannot process tasks with more slot information such as consultation, shopping guide and the like.
In summary, there is a need to provide a technical solution for solving or alleviating the above-mentioned problems of the prior art.
Disclosure of Invention
In view of the above, one of the technical problems to be solved by the embodiments of the present application is to provide a man-machine interaction processing system, a method, a storage medium, and an electronic device for overcoming or alleviating the above technical drawbacks in the prior art.
The embodiment of the application provides a human-computer interaction processing system, which comprises: the interactive service device is used for describing an interactive task in an interactive scene, an interactive control unit and an interactive organization unit are configured on the interactive engine, the interactive control unit controls the current interactive input according to the interactive task, and the interactive organization unit is used for determining the expected next interactive input in the interactive scene corresponding to the current interactive input according to the control of the interactive flow.
The embodiment of the application provides a man-machine interaction processing method, which comprises the following steps:
describing an interaction task in an interaction scene, and controlling the interaction flow of the current interaction input in the interaction scene according to the interaction task;
and determining the expected next interactive input in the interactive scene corresponding to the current interactive input according to the control of the interactive flow.
The embodiment of the application provides a storage medium, on which computer executable instructions are stored, which when executed by a processor, implement the man-machine interaction processing method of the embodiment of the application.
The embodiment of the application provides electronic equipment, which comprises a processor and a storage medium, wherein computer executable instructions are stored on the storage medium, and when the computer executable instructions are executed by the processor, the man-machine interaction processing method of the embodiment of the application is used for processing the man-machine interaction.
In the embodiment of the application, the interactive tasks in different application scenes can be described through the interactive service device, so that the customization of the complex dialogue flow can be realized. And further, the interactive control unit controls the interactive flow of the current interactive input according to the interactive task, so that the control of the dialogue flow becomes more flexible, and different dialogue scene requirements can be met. And further determining the expected next interaction input in the interaction scene corresponding to the current interaction input by the interaction organization unit according to the control of the interaction flow, so as to allow the user to flexibly jump to the topic.
Drawings
Some specific embodiments of the application will be described in detail hereinafter by way of example and not by way of limitation with reference to the accompanying drawings. The same reference numbers will be used throughout the drawings to refer to the same or like parts or portions. It will be appreciated by those skilled in the art that the drawings are not necessarily drawn to scale. In the accompanying drawings:
fig. 1 is a schematic structural diagram of an electronic terminal according to a first embodiment of the present application;
FIG. 2 is a schematic diagram of a man-machine interaction processing system according to a second embodiment of the present application;
FIG. 3 is a schematic structural diagram of a three-man-machine interaction processing system according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a man-machine interaction processing system in a fourth embodiment of the present application;
fig. 5 is a flow chart of a man-machine interaction processing method in a fifth embodiment of the application.
Detailed Description
It is not necessary for any of the embodiments of the application to be practiced with all of the advantages described above.
The method and the device provided by the embodiment of the application can be applied to the electronic terminal in the first embodiment shown in fig. 1.
In the embodiment of the present application, the electronic terminal 100 is preferably a mobile terminal device, and may include, for example, a smart phone, a tablet computer, an electronic book reader, an MP3 player (movingpicture expertise audio layer 3), an MP4 (movingpicture expertise audio layer 4) player, a laptop, a wearable mobile terminal, and so on.
As shown in fig. 1, the electronic terminal includes a memory 110 (or also referred to as a storage medium), a storage controller 120, one or more (only one is shown in the figure) processors 130, a peripheral interface 140, a radio frequency module 105, an audio module 106, a display screen 107, sensors 108 such as acceleration sensors, distance sensors, and the like. These components communicate with each other via one or more communication buses/signal lines 116.
The memory 110 may be used to store software programs and modules, such as program instructions/modules corresponding to the man-machine interaction methods and apparatus of the embodiments of the present application, and the processor 130 executes the software programs and modules stored in the memory 110 to perform various functional applications and data processing.
Memory 110 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. Access to the memory 110 by the processor 130, as well as other possible components, may be under the control of the memory controller 120.
The peripheral interface 140 couples various input/output devices to the processor 130 and the memory 110. In some embodiments, the peripheral interface 140, the processor 130, and the memory controller 120 may be implemented in a single chip. In other examples, they may be implemented by separate chips.
The rf module 105 is configured to receive and transmit electromagnetic waves, and to implement mutual conversion between the electromagnetic waves and the electrical signals, so as to communicate with a communication network or other devices.
The audio module 106 provides an audio interface to the user, which may include one or more microphones, one or more speakers, and audio circuitry.
The display screen 107 provides both an output and input interface between the electronic terminal and the user. Specifically, the display screen 107 displays content outputs to the user, which may include text, graphics, video, and any combination thereof.
The distance sensor in the sensor 108 is used for sensing the distance between the electronic terminal and the human body, for example, when the screen of the electronic terminal is close to the face of the user in the conversation process, the distance between the electronic terminal and the human body can be automatically sensed, and when the distance is smaller than a certain value, the screen can be extinguished, and the event that the user touches the screen is not received any more, so that misoperation in the conversation process is prevented. The distance sensor can also be used for realizing suspension and other control.
The acceleration sensor in the sensor 108 is a sensor that can sense acceleration and convert it into a usable output signal.
It will be appreciated that the configuration shown in fig. 1 is merely illustrative, and that the electronic terminal may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
In the embodiment of the application, a client is installed in the electronic terminal, and the client can be a browser or third party application software, and corresponds to a Server (Server) end, so as to provide services for users, such as an electronic reading service, for playing various local or online visual text files.
In the embodiment of the application, the display interface may include a display interface of a client in the electronic terminal, including an interface for actually displaying the context, and a progress tab for displaying a browsing progress of the currently displayed context. The size of the display interface is related to the setting of the display interface by the client, if the display interface set by the client can be in full screen mode, the size of the display interface can be the same as the display area of the display screen (such as the display screen 107) of the electronic terminal, and if the display interface set by the client is smaller than the display screen of the electronic terminal, the size of the display interface is the size of the display interface actually set.
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present application.
In order to better understand the technical solutions in the embodiments of the present application, the following description will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the accompanying drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which are derived by a person skilled in the art based on the embodiments of the present application, shall fall within the scope of protection of the embodiments of the present application.
The implementation of the embodiments of the present application will be further described below with reference to the accompanying drawings.
The following embodiments of the present application provide a man-machine interaction processing system, which includes: the interactive service device is used for describing an interactive task in an interactive scene, an interactive control unit and an interactive organization unit are configured on the interactive engine, the interactive control unit controls the current interactive input according to the interactive task, and the interactive organization unit is used for determining the expected next interactive input in the interactive scene corresponding to the current interactive input according to the control of the interactive flow.
FIG. 2 is a schematic diagram of a man-machine interaction processing system according to a second embodiment of the present application; as shown in fig. 2, the interactive service device 101 and the interaction engine 102 are included, wherein the interaction engine 102 is configured with an interaction control unit 112 and an interaction organization unit 122, the interaction control unit 112 controls an interaction flow of a current interaction input according to the interaction task, and the interaction organization unit 122 is configured to determine a next interaction input expected in an interaction scene corresponding to the current interaction input according to the control of the interaction flow. The interactive service device 101 is further configured to describe the interactive tasks in the interactive scene according to a hierarchical model of the interactive tasks. The interactive service device 101 is further configured to build a hierarchical model according to the interaction subtask division of the interaction task and describe the interaction task in the interaction scene according to the hierarchical model of the interaction task.
In a specific scenario, the interactive service device 101 may specifically include: the system comprises a model building unit 111 and a description unit 121, wherein the model building unit 111 is used for building a hierarchical model according to interaction subtask division of interaction tasks, and the description unit 121 is used for describing interaction tasks in an interaction scene according to the hierarchical model of the interaction tasks. In a specific application scenario, the hierarchical model is an interaction task tree, and one subtree on the interaction task tree corresponds to one interaction subtask.
In this embodiment, the interaction control unit 112 is configured to perform flow control on the current interaction input according to the context information of the interaction task.
Further, the interaction control unit 112 is further configured to perform flow control on the current interaction input according to slot information in the context information of the interaction task.
Still further, the interaction control unit 112 is further configured to perform a stacking operation on the task execution control item to process slot information in the context information of the interaction task to perform flow control on the current interaction input.
Specifically, in a specific application scenario, the interaction control unit 112 is an interaction execution stack, and after the current interaction input is executed, the interaction service device 101 is correspondingly configured to execute the task control item along the direction from the top to the bottom of the interaction execution stack, and push the triggered task control item into the interaction execution stack along the direction from the top to the bottom of the stack.
Still further, the interaction control unit 112 is further configured to perform a stacking operation on the task execution control item to process slot information in the context information of the interaction task to perform flow control on the current interaction input.
When the above-mentioned technical solution of fig. 2 is applied to an intelligent robot dialogue product, the man-machine interaction processing system may be implemented by a dialogue management platform or a dialogue manager (DM for short), where the current interaction input is also called a current user input, the interaction business device 101 may also be called a dialogue business device, the interaction engine 102 may also be called a dialogue engine, and the interaction engine is used to describe dialogue tasks in the interaction scene according to pre-collected scenarios in different dialogue scenes, where a correspondence between the pre-collected user input and a possible answer is recorded, a logical relationship between different user inputs in context information of the dialogue tasks, and so on. Specifically, the correspondence and the logic relationship are embodied specifically by a task tree, and the dialogue task is divided into a plurality of dialogue subtasks, each of which corresponds to a subtree on the task tree. For each dialog subtask, a task execution control item, such as a proxy component (also referred to as Agent), is configured, and the Agent defines key actions that need to be performed to execute the corresponding dialog subtask, such as response actions, initiate query actions to the user, initiate service call actions to the outside, and so on, to perform a man-machine dialog with the user. For example, if the user input is: i want to send express delivery, then configure the behavior of initiating inquiry to the user in the corresponding agent, and generate the sentence of inquiry behavior in the dialogue process: asking which courier company to use. For example, if the user input is: please help me inquire about the express delivery with the list number of 123456, configure the action of responding to the user and the action of calling the external third party express delivery inquiry in the corresponding agent, and generate the statement of inquiring and responding in the dialogue process: the logistics state of the express bill number 123456 is as follows: sellers have shipped and transported in Hangzhou.
It should be noted that, in this embodiment, the key actions defined by the task execution control item are merely examples, and it is possible for those skilled in the art to set the key actions according to the requirements of the specific usage scenario.
Since the dialog task can be divided into a plurality of dialog subtasks, each dialog subtask corresponds to a subtree on the dialog tree, and task execution control items are configured for each subtree, for example, the dialog tree comprises an express subtree and a weather subtree, and the express subtree is configured to respond to user behaviors, query user behaviors and call third party application behaviors. The interaction control unit 112 is configured to perform flow control on a current interaction input according to context information of the dialog task, specifically, trigger the current interaction input according to a change of slot information (keyword) in the context information of the interaction task, and the interaction business device 101 pushes agents corresponding to sub-trees into a dialog execution stack along a stack top to a stack bottom according to a sequence of a dialog, in the dialog process, according to the change of slot information, the dialog task stack performs a pop operation on the corresponding agents, and determines, by the interaction organization unit 122 (such as a dialog agenda table), a next interaction input expected in an interaction scene corresponding to the current interaction input, thereby effectively tracking and managing a dialog focus in the dialog process, such as maintaining, switching, backtracking, and the like, and finally implementing flow control of the dialog.
FIG. 3 is a schematic structural diagram of a three-man-machine interaction processing system according to an embodiment of the present application; as shown in fig. 3, the system includes an interactive service device 101 and an interactive engine 102, where the interactive service device 101 is further configured to configure a task execution control item for a node of the interactive task tree to execute an interactive subtask corresponding to the node according to the task execution control item.
In a specific scenario, the interactive service device 101 may include: the configuration unit 131 is configured to configure task execution control items for nodes of the interaction task tree, and the execution unit 141 is configured to execute interaction subtasks corresponding to the nodes according to the task execution control items. Specifically, the task execution control item defines an interaction variable corresponding to the interaction subtask to be controlled, and the interaction variable is used for controlling the execution of the interaction subtask corresponding to the node. The interaction variable is also used for managing the corresponding slot information so as to control the execution of the interaction subtask corresponding to the node.
In a specific scenario, the task execution control item is configured to initiate one or more of a response action to a user, initiate an inquiry action to the user, and initiate a service call action to the outside, so as to execute the interaction subtask corresponding to the node according to the task execution control item.
In a specific scenario, if the task execution control item is used to initiate a response action to a user, the interactive service device 101 is further configured to perform a structuring process on at least one of the response action and the slot information of the interactive subtask, so as to execute the interactive subtask corresponding to the node.
In this embodiment, if the task execution control item is used to initiate a query action to a user, the interactive service device 101 is further configured to trigger the query action when the associated interactive variable is not bound to the slot information, so as to execute the interactive subtask corresponding to the node, thereby implementing switching and transferring of the user session theme.
In this embodiment, if the task execution control item initiates a service call action to the outside, the interactive business device 101 further assigns a result of the service call from the outside to a corresponding interactive variable through an input/output protocol.
In this embodiment, taking the application scenario similar to that of fig. 2 as an example, unlike the above embodiment, a dialogue variable is assigned to each slot information, and the slot information is managed by the dialogue variable. For example, in a subtree of an express Company, a dialogue variable "Company" corresponding to the slot information of the express Company is defined, and the dialogue variable corresponds to a subtree of "send express", for example, and further, a dialogue variable "Code" corresponding to the slot information of the express list number corresponds to a subtree of "express inquiry". The conversation agenda is built according to the conversation variable corresponding to the slot position information in the context information of the interactive task, so that all possible user inputs in the current conversation scene are recorded, and the determination of the next conversation input can be realized. Further, when there is a change of the agent in the session task stack, such as pushing or pulling, the session variable in the session agenda table is correspondingly updated, so as to flexibly support the jump and backtracking of the session theme.
Fig. 4 is a schematic structural diagram of a man-machine interaction processing system in a fourth embodiment of the present application; as shown in fig. 4, which includes the interactive service device 101 and the interaction engine 102, unlike the above embodiment, in this embodiment, the human-computer interaction processing system may further include: the natural language parsing unit 103 and the natural language generating unit 104. Therefore, in this embodiment, if applied to the above-mentioned human-machine dialogue application scenario of fig. 2 or fig. 3, the human-machine interaction processing system may also be referred to as a human-machine dialogue system, and when there is a user input, a reply for the user input is generated through the human-machine dialogue system.
In this embodiment, a natural language parsing unit (Natural Language Understanding, abbreviated as NLU) 103 is configured to perform natural language parsing on the current interactive input to determine the slot information.
In this embodiment, the interaction organization unit 122 is further configured to divide the nodes of the interaction task tree into a plurality of levels, where one level of interaction organization unit 122 corresponds to one node of the interaction task tree. When the interaction organization unit 122 is a session agenda table, the subtrees according to the session task number form a multi-layer structure from the direction of the branch node of the root node, and each layer corresponds to a node of the subtree, for example, a node of the subtree expression send in the session task tree corresponding to the company in the session agenda table.
In this embodiment, the natural language generating unit 104 (Natural Language Generation, abbreviated as NLG) is configured to generate a natural language reply for the current interactive input.
Specifically, when the interactive service device 101 performs the structuring process, a natural language is generated by a natural language generating unit according to the result of the structuring process, so as to execute the interactive subtasks corresponding to the nodes. The structuring process is, for example, a style according to the language habits of a particular country.
Specifically, when the interactive service device 101 triggers an inquiry action, the natural language generating unit generates a natural language according to the triggering inquiry action to initiate an inquiry to the user so as to execute the interactive subtasks corresponding to the nodes.
FIG. 5 is a flowchart of a man-machine interaction processing method in a fifth embodiment of the present application; as shown in fig. 5, it includes:
501. describing an interaction task in an interaction scene, and controlling the interaction flow of the current interaction input in the interaction scene according to the interaction task;
in this embodiment, the interactive task is specifically described according to a scenario collected in advance.
502. And determining the expected next interactive input in the interactive scene corresponding to the current interactive input according to the control of the interactive flow.
Exemplary illustrations of the above steps 501/502 may be found in the description of the embodiments described above with respect to fig. 2-4.
The present application further provides a storage medium having stored thereon computer executable instructions which when executed by a processor implement the method described in any of the embodiments above.
The present application also provides an electronic device comprising a processor and a storage medium having stored thereon computer executable instructions that when executed by the processor implement the method of any of the embodiments described above. In a specific embodiment, the electronic device may be a front-end mobile terminal or a background server.
In the above embodiment of the present application, since the interactive tasks in different application scenarios can be described by the interactive service device, the customization of the complex dialog flow can be realized. And further, the interactive control unit controls the interactive flow of the current interactive input according to the interactive task, so that the control of the dialogue flow becomes more flexible, and different dialogue scene requirements can be met. And further determining the expected next interaction input in the interaction scene corresponding to the current interaction input by the interaction organization unit according to the control of the interaction flow, so as to allow the user to flexibly jump to the topic.
The apparatus embodiments described above are merely illustrative, wherein the modules illustrated as separate components may or may not be physically separate, and the components shown as modules may or may not be physical, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present application without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on such understanding, the foregoing technical solutions may be embodied essentially or in part in the form of a software product that may be stored in a computer-readable storage medium including any mechanism for storing or transmitting information in a form readable by a computer (e.g., a computer). For example, a machine-readable medium includes read-only memory (ROM), random-access memory (RAM), magnetic disk storage media, optical storage media, flash-memory media, electrical, optical, acoustical or other form of propagated signals (e.g., carrier waves, infrared signals, digital signals, etc.), and the computer software product includes instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform the various embodiments or portions of the methods described herein.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the embodiments of the present application, and are not limited thereto; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.
It will be apparent to those skilled in the art that embodiments of the present application may be provided as a method, apparatus (device), or computer program product. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the application may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Claims (17)
1. A human-computer interaction processing system, comprising: the interactive service device is used for describing interactive tasks in an interactive scene according to an interactive task tree, configuring task execution control items for nodes of the interactive task tree, and executing interactive subtasks corresponding to the nodes according to the task execution control items; the interaction engine is configured with an interaction control unit and an interaction organization unit, the interaction control unit controls the current interaction input according to the interaction task, and the interaction organization unit is used for determining the expected next interaction input in the interaction scene corresponding to the current interaction input according to the control of the interaction flow.
2. The system of claim 1, wherein the task execution control item defines an interaction variable corresponding to an interaction subtask to be controlled, and the interaction variable is used for controlling execution of the interaction subtask corresponding to the node.
3. The system of claim 2, wherein the interaction variables are further configured to manage slot information corresponding thereto to control execution of interaction subtasks corresponding to the nodes.
4. The system of claim 1, wherein the task execution control item is configured to initiate one or more of a response action to a user, a query action to a user, and a service invocation action to the outside, to execute the interaction subtask corresponding to the node according to the task execution control item.
5. The system of claim 4, wherein if the task execution control item is configured to initiate a response action to a user, the interactive service device is further configured to perform a structuring process on at least one of the response action and slot information of the interactive subtask to execute the interactive subtask corresponding to the node.
6. The system according to claim 5, wherein after the interactive service device performs the structuring process, a natural language generating unit generates a natural language according to a result of the structuring process, so as to execute an interactive subtask corresponding to the node.
7. The system of claim 4, wherein if the task execution control item is configured to initiate a query action to a user, the interactive service device is further configured to trigger the query action to execute an interactive subtask corresponding to the node when the associated interactive variable is not bound to slot information.
8. The system according to claim 7, wherein when the interactive service device triggers the query action, the natural language generating unit generates a natural language according to the triggered query action to initiate a query to a user so as to execute the interactive subtask corresponding to the node.
9. The system of claim 4, wherein if the task execution control item initiates an externally initiated service invocation action, the interactive business device further assigns a result of the external service invocation to a corresponding interactive variable via an input-output protocol.
10. The system of claim 1, wherein the interactive control unit is further configured to perform flow control on the current interactive input according to slot information in the context information of the interactive task.
11. The system of claim 10, wherein the interactive control unit is further configured to perform a push operation on the task execution control item to process slot information in context information of the interactive task to perform flow control on the current interactive input.
12. The system of claim 11, wherein the interactive control unit is an interactive execution stack, and the interactive service device is further configured to execute task control items along a top-to-bottom direction of the interactive execution stack after the current interactive input is executed, and push triggered task control items into the interactive execution stack along the top-to-bottom direction.
13. The system of claim 1, wherein the interaction organization unit is further configured to divide the nodes of the interaction task tree into a plurality of levels, each level of interaction organization unit corresponding to a node of the interaction task tree.
14. The system according to any of claims 1-13, wherein the interactive service device is further configured to describe the dialogue tasks in the interaction scenario by means of an interaction task tree according to a pre-collected scenario in different dialogue scenarios, wherein the scenario records a pre-collected correspondence between user inputs and possible replies and a logical relationship between different user inputs in context information of the dialogue tasks.
15. A man-machine interaction processing method is characterized by comprising the following steps:
describing an interactive task in an interactive scene according to an interactive task tree, and configuring a task execution control item for a node of the interactive task tree so as to execute an interactive subtask corresponding to the node according to the task execution control item; performing interaction flow control on current interaction input in the interaction scene according to the interaction task;
and determining the expected next interactive input in the interactive scene corresponding to the current interactive input according to the control of the interactive flow.
16. A storage medium having stored thereon computer executable instructions which when executed by a processor implement the method of claim 15.
17. An electronic device comprising a processor and a storage medium having stored thereon computer executable instructions that when executed by the processor implement the method of claim 15.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310706597.0A CN116737900A (en) | 2018-10-15 | 2018-10-15 | Man-machine interaction processing system and method, storage medium and electronic equipment |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310706597.0A CN116737900A (en) | 2018-10-15 | 2018-10-15 | Man-machine interaction processing system and method, storage medium and electronic equipment |
CN201811194884.3A CN111046150B (en) | 2018-10-15 | 2018-10-15 | Man-machine interaction processing system and method, storage medium and electronic equipment |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811194884.3A Division CN111046150B (en) | 2018-10-15 | 2018-10-15 | Man-machine interaction processing system and method, storage medium and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116737900A true CN116737900A (en) | 2023-09-12 |
Family
ID=70159432
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811194884.3A Active CN111046150B (en) | 2018-10-15 | 2018-10-15 | Man-machine interaction processing system and method, storage medium and electronic equipment |
CN202310706597.0A Pending CN116737900A (en) | 2018-10-15 | 2018-10-15 | Man-machine interaction processing system and method, storage medium and electronic equipment |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811194884.3A Active CN111046150B (en) | 2018-10-15 | 2018-10-15 | Man-machine interaction processing system and method, storage medium and electronic equipment |
Country Status (4)
Country | Link |
---|---|
US (1) | US11386893B2 (en) |
CN (2) | CN111046150B (en) |
TW (1) | TW202016693A (en) |
WO (1) | WO2020081453A1 (en) |
Families Citing this family (37)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8977255B2 (en) | 2007-04-03 | 2015-03-10 | Apple Inc. | Method and system for operating a multi-function portable electronic device using voice-activation |
US8676904B2 (en) | 2008-10-02 | 2014-03-18 | Apple Inc. | Electronic devices with voice command and contextual data processing capabilities |
US10417037B2 (en) | 2012-05-15 | 2019-09-17 | Apple Inc. | Systems and methods for integrating third party services with a digital assistant |
CN104969289B (en) | 2013-02-07 | 2021-05-28 | 苹果公司 | Voice trigger of digital assistant |
US9715875B2 (en) | 2014-05-30 | 2017-07-25 | Apple Inc. | Reducing the need for manual start/end-pointing and trigger phrases |
US10170123B2 (en) | 2014-05-30 | 2019-01-01 | Apple Inc. | Intelligent assistant for home automation |
US9338493B2 (en) | 2014-06-30 | 2016-05-10 | Apple Inc. | Intelligent automated assistant for TV user interactions |
US9886953B2 (en) | 2015-03-08 | 2018-02-06 | Apple Inc. | Virtual assistant activation |
US10460227B2 (en) | 2015-05-15 | 2019-10-29 | Apple Inc. | Virtual assistant in a communication session |
US20160378747A1 (en) | 2015-06-29 | 2016-12-29 | Apple Inc. | Virtual assistant for media playback |
US10747498B2 (en) | 2015-09-08 | 2020-08-18 | Apple Inc. | Zero latency digital assistant |
US10691473B2 (en) | 2015-11-06 | 2020-06-23 | Apple Inc. | Intelligent automated assistant in a messaging environment |
US10586535B2 (en) | 2016-06-10 | 2020-03-10 | Apple Inc. | Intelligent digital assistant in a multi-tasking environment |
DK201670540A1 (en) | 2016-06-11 | 2018-01-08 | Apple Inc | Application integration with a digital assistant |
DK180048B1 (en) | 2017-05-11 | 2020-02-04 | Apple Inc. | MAINTAINING THE DATA PROTECTION OF PERSONAL INFORMATION |
DK179496B1 (en) | 2017-05-12 | 2019-01-15 | Apple Inc. | USER-SPECIFIC Acoustic Models |
DK201770429A1 (en) | 2017-05-12 | 2018-12-14 | Apple Inc. | Low-latency intelligent automated assistant |
DK201770411A1 (en) | 2017-05-15 | 2018-12-20 | Apple Inc. | Multi-modal interfaces |
US20180336275A1 (en) | 2017-05-16 | 2018-11-22 | Apple Inc. | Intelligent automated assistant for media exploration |
US10928918B2 (en) | 2018-05-07 | 2021-02-23 | Apple Inc. | Raise to speak |
US11145294B2 (en) | 2018-05-07 | 2021-10-12 | Apple Inc. | Intelligent automated assistant for delivering content from user experiences |
DK180639B1 (en) | 2018-06-01 | 2021-11-04 | Apple Inc | DISABILITY OF ATTENTION-ATTENTIVE VIRTUAL ASSISTANT |
US11462215B2 (en) | 2018-09-28 | 2022-10-04 | Apple Inc. | Multi-modal inputs for voice commands |
US11348573B2 (en) | 2019-03-18 | 2022-05-31 | Apple Inc. | Multimodality in digital assistant systems |
DK201970509A1 (en) | 2019-05-06 | 2021-01-15 | Apple Inc | Spoken notifications |
US11307752B2 (en) | 2019-05-06 | 2022-04-19 | Apple Inc. | User configurable task triggers |
US11140099B2 (en) | 2019-05-21 | 2021-10-05 | Apple Inc. | Providing message response suggestions |
US11227599B2 (en) | 2019-06-01 | 2022-01-18 | Apple Inc. | Methods and user interfaces for voice-based control of electronic devices |
US11061543B1 (en) | 2020-05-11 | 2021-07-13 | Apple Inc. | Providing relevant data items based on context |
US11183193B1 (en) | 2020-05-11 | 2021-11-23 | Apple Inc. | Digital assistant hardware abstraction |
CN111612482A (en) * | 2020-05-22 | 2020-09-01 | 云知声智能科技股份有限公司 | Conversation management method, device and equipment |
US11490204B2 (en) | 2020-07-20 | 2022-11-01 | Apple Inc. | Multi-device audio adjustment coordination |
US11438683B2 (en) | 2020-07-21 | 2022-09-06 | Apple Inc. | User identification using headphones |
CN112164401B (en) * | 2020-09-18 | 2022-03-18 | 广州小鹏汽车科技有限公司 | Voice interaction method, server and computer-readable storage medium |
CN112148416B (en) * | 2020-09-30 | 2023-10-20 | 上海联影医疗科技股份有限公司 | Information interaction method, device, equipment and storage medium |
CN113515423B (en) * | 2021-04-21 | 2023-05-23 | 香港理工大学深圳研究院 | Android application behavior characterization construction method based on execution track information |
CN113407321B (en) * | 2021-06-18 | 2023-07-25 | 斑马网络技术有限公司 | Task type session management framework, equipment and storage medium based on computational graph |
Family Cites Families (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7546382B2 (en) * | 2002-05-28 | 2009-06-09 | International Business Machines Corporation | Methods and systems for authoring of mixed-initiative multi-modal interactions and related browsing mechanisms |
US7302383B2 (en) * | 2002-09-12 | 2007-11-27 | Luis Calixto Valles | Apparatus and methods for developing conversational applications |
US8812323B2 (en) * | 2007-10-11 | 2014-08-19 | Agency For Science, Technology And Research | Dialogue system and a method for executing a fully mixed initiative dialogue (FMID) interaction between a human and a machine |
US9634855B2 (en) | 2010-05-13 | 2017-04-25 | Alexander Poltorak | Electronic personal interactive device that determines topics of interest using a conversational agent |
CN103092432B (en) | 2011-11-08 | 2016-08-03 | 深圳市中科睿成智能科技有限公司 | The trigger control method of man-machine interactive operation instruction and system and laser beam emitting device |
US8346563B1 (en) * | 2012-04-10 | 2013-01-01 | Artificial Solutions Ltd. | System and methods for delivering advanced natural language interaction applications |
US20130297318A1 (en) | 2012-05-02 | 2013-11-07 | Qualcomm Incorporated | Speech recognition systems and methods |
US20140012574A1 (en) | 2012-06-21 | 2014-01-09 | Maluuba Inc. | Interactive timeline for presenting and organizing tasks |
US20130346085A1 (en) | 2012-06-23 | 2013-12-26 | Zoltan Stekkelpak | Mouth click sound based computer-human interaction method, system and apparatus |
US20140173440A1 (en) | 2012-12-13 | 2014-06-19 | Imimtek, Inc. | Systems and methods for natural interaction with operating systems and application graphical user interfaces using gestural and vocal input |
US9460715B2 (en) | 2013-03-04 | 2016-10-04 | Amazon Technologies, Inc. | Identification using audio signatures and additional characteristics |
US9292254B2 (en) | 2013-05-15 | 2016-03-22 | Maluuba Inc. | Interactive user interface for an intelligent assistant |
US10030878B2 (en) | 2013-08-21 | 2018-07-24 | Honeywell International Inc. | User interaction with building controller device using a remote server and a duplex connection |
US10048748B2 (en) | 2013-11-12 | 2018-08-14 | Excalibur Ip, Llc | Audio-visual interaction with user devices |
US9189742B2 (en) * | 2013-11-20 | 2015-11-17 | Justin London | Adaptive virtual intelligent agent |
US9698999B2 (en) | 2013-12-02 | 2017-07-04 | Amazon Technologies, Inc. | Natural language control of secondary device |
US9582246B2 (en) | 2014-03-04 | 2017-02-28 | Microsoft Technology Licensing, Llc | Voice-command suggestions based on computer context |
US9489171B2 (en) | 2014-03-04 | 2016-11-08 | Microsoft Technology Licensing, Llc | Voice-command suggestions based on user identity |
US9767794B2 (en) * | 2014-08-11 | 2017-09-19 | Nuance Communications, Inc. | Dialog flow management in hierarchical task dialogs |
US20160365101A1 (en) | 2015-06-15 | 2016-12-15 | Motorola Mobility Llc | Enabling Event Driven Voice Interaction with a Device |
US9653075B1 (en) | 2015-11-06 | 2017-05-16 | Google Inc. | Voice commands across devices |
US9812127B1 (en) * | 2016-04-29 | 2017-11-07 | Conduent Business Services, Llc | Reactive learning for efficient dialog tree expansion |
CN107665708B (en) * | 2016-07-29 | 2021-06-08 | 科大讯飞股份有限公司 | Intelligent voice interaction method and system |
CN108614689B (en) * | 2017-01-09 | 2021-08-13 | 斑马智行网络(香港)有限公司 | Scene service generation method and device and terminal equipment |
GB2559618B (en) * | 2017-02-13 | 2020-07-08 | Toshiba Kk | A dialogue system, a dialogue method and a method of adapting a dialogue system |
US10424302B2 (en) * | 2017-10-12 | 2019-09-24 | Google Llc | Turn-based reinforcement learning for dialog management |
CN108597509A (en) * | 2018-03-30 | 2018-09-28 | 百度在线网络技术(北京)有限公司 | Intelligent sound interacts implementation method, device, computer equipment and storage medium |
-
2018
- 2018-10-15 CN CN201811194884.3A patent/CN111046150B/en active Active
- 2018-10-15 CN CN202310706597.0A patent/CN116737900A/en active Pending
-
2019
- 2019-08-13 TW TW108128699A patent/TW202016693A/en unknown
- 2019-10-14 US US16/601,262 patent/US11386893B2/en active Active
- 2019-10-14 WO PCT/US2019/056125 patent/WO2020081453A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
CN111046150B (en) | 2023-04-25 |
CN111046150A (en) | 2020-04-21 |
US11386893B2 (en) | 2022-07-12 |
TW202016693A (en) | 2020-05-01 |
WO2020081453A1 (en) | 2020-04-23 |
US20200118566A1 (en) | 2020-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111046150B (en) | Man-machine interaction processing system and method, storage medium and electronic equipment | |
US11409425B2 (en) | Transactional conversation-based computing system | |
US10366160B2 (en) | Automatic generation and display of context, missing attributes and suggestions for context dependent questions in response to a mouse hover on a displayed term | |
RU2689203C2 (en) | Flexible circuit for adjusting language model | |
JP2023504777A (en) | Systems and methods for managing interactions between contact center systems and their users | |
CN102223363B (en) | System and method for generating persistent sessions in a graphical interface for managing communication sessions | |
CN108491147A (en) | A kind of man-machine interaction method and mobile terminal based on virtual portrait | |
CN108279839A (en) | Voice-based exchange method, device, electronic equipment and operating system | |
CN109564530A (en) | The personal supplementary module for having the selectable state machine traversed is provided | |
KR20210134675A (en) | Method and system for learning and executing instructions through user demonstration | |
CN108073587A (en) | A kind of automatic question-answering method, device and electronic equipment | |
CN112152913B (en) | Service control method, device and system | |
US10474439B2 (en) | Systems and methods for building conversational understanding systems | |
CN107258072A (en) | The conversation content management method and system and recording medium of chat software | |
CN110297616A (en) | Talk about generation method, device, equipment and the storage medium of art | |
US20220075960A1 (en) | Interactive Communication System with Natural Language Adaptive Components | |
US20230126821A1 (en) | Systems, devices and methods for the dynamic generation of dialog-based interactive content | |
CN111984355A (en) | Method and device for realizing man-machine multi-turn conversation | |
CN112069830A (en) | Intelligent conversation method and device | |
Soic et al. | Agent-based system for context-aware human-computer interaction | |
CN113343138A (en) | Rollback interception method and device, intelligent terminal and storage medium | |
Mitrevski | Developing Conversational Interfaces for IOS: Add Responsive Voice Control to Your Apps | |
CN112100338B (en) | Dialog theme extension method, device and system for intelligent robot | |
CN115774776A (en) | Man-machine conversation processing method and system and electronic equipment | |
WO2015196541A1 (en) | Script processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |