WO2023035524A1 - Intention recognition-based process node jump method and apparatus, device, and medium - Google Patents

Intention recognition-based process node jump method and apparatus, device, and medium Download PDF

Info

Publication number
WO2023035524A1
WO2023035524A1 PCT/CN2022/071073 CN2022071073W WO2023035524A1 WO 2023035524 A1 WO2023035524 A1 WO 2023035524A1 CN 2022071073 W CN2022071073 W CN 2022071073W WO 2023035524 A1 WO2023035524 A1 WO 2023035524A1
Authority
WO
WIPO (PCT)
Prior art keywords
tag
label
intent
node
accumulation result
Prior art date
Application number
PCT/CN2022/071073
Other languages
French (fr)
Chinese (zh)
Inventor
陈欣
吴星
马骏
王少军
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2023035524A1 publication Critical patent/WO2023035524A1/en

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/06Creation of reference templates; Training of speech recognition systems, e.g. adaptation to the characteristics of the speaker's voice
    • G10L15/063Training
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/08Speech classification or search
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/08Speech classification or search
    • G10L15/18Speech classification or search using natural language modelling
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Definitions

  • the present application relates to but not limited to the technical field of artificial intelligence, and in particular relates to a method, device, device and medium for jumping process nodes based on intent recognition.
  • a common intelligent customer service system usually pre-determines the business process. After obtaining the user's voice information, it determines the user's intention through speech recognition and natural language processing (Natural Language Processing, NLP) technology, and then determines the user's intention from the business process according to the user's intention. Determine the corresponding process node, and perform an intelligent response according to the preset response mode in the process node.
  • NLP Natural Language Processing
  • the user intention is usually determined based on the last voice information input by the user, and the process node is determined based on this.
  • the embodiment of the present application provides a process node jump method, device, device, and medium based on intent recognition, which can identify user intent in complex scenarios, improve the accuracy of process node jumps, and improve the reliability of the intelligent customer service system .
  • the embodiment of the present application provides a process node jump method based on intent recognition, including the following steps:
  • the business process is preset with at least two process nodes, and the process node is associated with a conditional tag set and an optional intent, and the optional
  • the intent is associated with identification information and an intent tag, the intent tags associated with different optional intents are different from each other, and the conditional tag set includes at least one conditional tag;
  • the embodiment of the present application also provides a process node jumping device based on intent recognition, including:
  • a node to be processed determining unit configured to determine the process node where the business process is currently located as a node to be processed, wherein the business process is preset with at least two process nodes, and the process node is associated with a conditional label set and Optional intents, the optional intents are associated with identification information and intent tags, the intent tags associated with different optional intents are different from each other, and the conditional tag set includes at least one conditional tag;
  • a speech processing unit configured to obtain speech information to be processed, input the speech information to be processed into a preset NLP model for semantic recognition, and obtain a recognition result output by the NLP model;
  • an intention exit determination unit configured to determine the optional intention whose identification information matches the identification result as a target intention
  • the first counting unit is configured to input the intent label of the target intention into a label counter, and obtain the label accumulation result obtained by the label counter, wherein the label accumulation result includes the label counter in the business process All said intent tags fetched after start;
  • a target process node determining unit configured to match the condition label set and the label accumulation result, and determine the process node associated with the condition label set that matches successfully as a target process node;
  • a node jumping unit configured to jump to the target process node, and determine the target process node as a new node to be processed.
  • the device for jumping process nodes based on intent identification further includes:
  • a label counter creation unit configured to create and initialize the label counter when the node to be processed is the first node of the business process.
  • the target process node determining unit further includes:
  • a first quantity acquiring unit configured to acquire the quantity of the conditional labels in the conditional label set to obtain the first quantity
  • a second quantity acquisition unit configured to acquire the quantity of the intended label of the label accumulation result to obtain a second quantity
  • a first matching unit configured to determine the set of conditions when the first quantity is the same as the second quantity, and the condition labels of the condition label set correspond one-to-one with the intent labels of the label accumulation result.
  • the label set of the above condition matches the accumulative result of the label successfully.
  • the first counting unit also includes:
  • a label input unit for inputting the type label and the attribute label of the target intent into the label counter
  • the second counting unit is configured to obtain a first tag accumulation result and a second tag accumulation result through the tag counter, wherein the first tag accumulation result includes all the tag counters acquired after the business process starts For the type tag, the second tag accumulation result includes all the attribute tags acquired by the tag counter after the business process starts;
  • a counting result merging unit configured to combine the first tag cumulative result and the second tag cumulative result by the tag counter to obtain the tag cumulative result
  • the counting result obtaining unit is configured to obtain the tag accumulation result output by the tag counter.
  • the first matching unit further includes:
  • a candidate process node determining unit configured to determine a process node whose associated condition type label matches the type label of the first label accumulation result as a candidate process node
  • the second matching unit is configured to, when the condition attribute label associated with the candidate process node matches the attribute label corresponding to the second label accumulation result, determine the condition label set and the label The cumulative result matches successfully.
  • the unit to determine the node to be processed further includes:
  • a speech playing unit configured to play the speech information
  • a voice information acquiring unit configured to acquire the input voice information if a voice input is detected within a preset time range after the script information is played, or during the playback of the script information;
  • a voice determining unit configured to determine the acquired voice information as the voice information to be processed.
  • the embodiment of the present application also provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor implements the following when executing the computer program:
  • the process node jumping method based on intent recognition includes: determining the current process node in the business process as the node to be processed, wherein, The business process is preset with at least two process nodes, and the process nodes are associated with a set of conditional tags and optional intents, and the optional intents are associated with identification information and intent tags, and the different optional intents are The associated intention tags are different from each other, and the condition tag set includes at least one condition tag; the speech information to be processed is obtained, and the speech information to be processed is input into a preset natural semantic processing NLP model for semantic recognition, and obtained The identification result output by the NLP model; determining the optional intention whose identification information matches the identification result as a target intention; inputting the
  • the embodiment of the present application further provides a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are used to perform the process node jump based on the recognition of intent as described in the first aspect.
  • the method for jumping process nodes based on intent recognition includes: determining the current process node in the business process as a node to be processed, wherein the business process is preset with at least two process nodes , the process node is associated with a conditional tag set and an optional intent, the optional intent is associated with identification information and an intent tag, the intent tags associated with different optional intents are different from each other, and the conditional tag
  • the set includes at least one condition label; acquire the speech information to be processed, input the speech information to be processed into a preset natural semantic processing NLP model for semantic recognition, and obtain the recognition result output by the NLP model;
  • the optional intention matching the recognition result is determined as the target intention; the intention label of the target intention is input into the label counter, and the label accumulation result obtained by the label
  • the embodiment of the present application includes: determining the process node where the business process is currently located as the node to be processed, wherein the business process is preset with at least two process nodes, and the process node is associated with a conditional label set and an optional Intent, the optional intent is associated with identification information and intent tags, the intent tags associated with different optional intents are different from each other, and the condition tag set includes at least one condition tag; to obtain the voice information to be processed, Input the speech information to be processed into a preset NLP model for semantic recognition, and obtain the recognition result output by the NLP model; determine the optional intention that the recognition information matches the recognition result as a target Intention: input the intent tag of the target intent into a tag counter, and obtain the tag accumulation result obtained by the tag counter, wherein the tag accumulation result includes the tag counter obtained after the business process starts All the intent tags; matching the condition tag set and the cumulative result of the tags, determining the process node associated with the successfully matched condition tag set as the target process node; jumping to the target process node,
  • different intent tags can be automatically accumulated through the operation of the process nodes without manual operation, and the target process node can be determined through the intent tags accumulated multiple times, which can effectively improve the target process in the case of complex logic Matching accuracy of nodes.
  • FIG. 1 is a flow chart of a process node jump method based on intent recognition provided by an embodiment of the present application
  • FIG. 2 is a flow chart of creating a tag counter provided by another embodiment of the present application.
  • Fig. 3 is a flowchart of determining a target process node provided by another embodiment of the present application.
  • Fig. 4 is the working flowchart of the label counter that another embodiment of the present application provides;
  • Fig. 5 is an example diagram of a business process provided by another embodiment of the present application.
  • Fig. 6 is a flow chart of determining a target process node provided by another embodiment of the present application.
  • Fig. 7 is a flow chart of determining target intent provided by another embodiment of the present application.
  • Fig. 8 is a flow chart of obtaining voice information to be processed provided by another embodiment of the present application.
  • Fig. 9 is a structural diagram of a process node jumping device based on intent recognition provided by another embodiment of the present application.
  • Fig. 10 is a structural diagram of an electronic device provided by another embodiment of the present application.
  • the present invention provides a process node jump method, device, device and medium based on intent recognition.
  • the method includes: determining the process node where the business process is currently located as the node to be processed, wherein the business process is preset with at least Two process nodes, the process nodes are associated with a conditional tag set and an optional intent, the optional intent is associated with identification information and intent tags, and the intent tags associated with different optional intents are different from each other Same, the condition label set includes at least one condition label; obtain the speech information to be processed, input the speech information to be processed into a preset NLP model for semantic recognition, and obtain the recognition result output by the NLP model; The optional intention whose identification information matches the identification result is determined as the target intention; the intention label of the target intention is input into the label counter, and the label accumulation result obtained by the label counter is obtained, wherein the The label accumulation result includes all the intent labels acquired by the label counter after the business process starts; match the condition label set with the label accumulation result, and match the condition label set associated with the successful The process
  • different intent tags can be automatically accumulated through the operation of the process nodes without manual operation, and the target process node can be determined through the intent tags accumulated multiple times, which can effectively improve the target process in the case of complex logic Matching accuracy of nodes.
  • AI artificial intelligence
  • digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
  • Figure 1 is a process node jump method based on intent recognition provided by an embodiment
  • Step S110 determine the process node where the business process is currently located as the node to be processed, wherein the business process is preset with at least two process nodes, and the process node is associated with a conditional label set and an optional intent, and the optional intent is associated with identification information and intent tags, the intent tags associated with different optional intents are different from each other, and the conditional tag set includes at least one conditional tag;
  • Step S120 acquiring the speech information to be processed, inputting the speech information to be processed into a preset NLP model for semantic recognition, and obtaining the recognition result output by the NLP model;
  • Step S130 determining the optional intention whose identification information matches the identification result as the target intention
  • Step S140 input the intent tag of the target intent into the tag counter, and obtain the tag accumulation result obtained by the tag counter, wherein the tag accumulation result includes all the intent tags acquired by the tag counter after the business process starts;
  • Step S150 matching the condition label set and the label accumulation result, and determining the process node associated with the successfully matched condition label set as the target process node;
  • Step S160 jump to the target process node, and determine the target process node as a new node to be processed.
  • the intelligent customer service system that applies artificial intelligence usually serves enterprise users, and user consultation is usually highly subjective, so it is impossible to predict the specific business that users need to consult. Therefore, the business process It can cover all businesses that can provide intelligent customer service.
  • the business process can include balance business, credit card business, overdue business, etc., and set up multiple process nodes for each business to ensure full process coverage. Effectively improve user experience.
  • process nodes Through the setting of process nodes, the flexibility of intelligent customer service can be effectively improved.
  • process nodes When a certain business needs to modify the process, only the process nodes need to be adjusted, such as adding process nodes, deleting process nodes, or modifying the process
  • the condition label set and optional intent of the node are modified.
  • Those skilled in the art are familiar with how to adjust the configuration of the process node when the process node is set, and details will not be repeated here.
  • condition tag set can include one or more condition tags, and the condition tags can be configured in each process node in a preset way, and the matching conditions of the process nodes can be adjusted through the condition tag set, for example, in the process
  • the conditional label and the intent label can be the same label, that is, one label can be configured as an intent label and a conditional label at the same time. For example, taking label 1 as an example, when label 1 is set in the conditional label set, the label 1 can be It is determined as a conditional label. At the same time, label 1 can also be applied to the intent label, so that the intent label can be matched with the conditional label and provide a data basis for the automatic jump of the process node.
  • the number of optional intents can be arbitrary, which is not limited in this embodiment.
  • different intent tags can be set for the optional intents, so as to ensure that the matching target process node different from each other. It can be understood that different intent tags may have different specific content of the tag, or may be a combination of the same tag content and different numbers.
  • process node 1 can set optional intent 1-1 and optional intent 1-2, taking optional intent 1-1 as an example, you can set consulting tag 1, credit card tag 1, etc.; or determine the specific intent tag number for different trigger times of optional intent, as shown in Figure 5
  • optional intent 1 when optional intent 1 is triggered once, it can be determined as optional intent 1-1, and its corresponding tags can include, for example, consulting tag 1, credit card tag 1, balance tag 1, and overdue tag 1; when If it is triggered twice, for example, the consulting tag and the credit card tag are triggered, it can be determined as optional intent 1-2, and the corresponding intent tags are consulting tag 2, credit card tag 2, balance tag 2, and overdue tag 2.
  • the optional intent 1-2 has been successfully matched twice, and those skilled in the art have the motivation to adjust the type of the intent tag according to actual needs, which is not limited here.
  • the optional intention identification information may be a preset keyword or identification information, which can be used to match the identification result output by the NLP model, which is not limited in this embodiment.
  • the voice to be processed can be real-time voice obtained through the telephone.
  • Those skilled in the art are familiar with how to obtain the user's telephone voice, so I won't go into details here.
  • the NLP model is a natural language processing model based on artificial intelligence. Through the pre-trained NLP model, it can process the input speech information, including but not limited to semantic recognition, speech synthesis, speech recognition, etc., and output Recognition results, where the recognition results can be keywords or pre-set identification information, which can be used to match with the set identification information. Those skilled in the art are familiar with how to configure, train and select NLP models The specific types of output results need not be repeated here.
  • the intent tags are accumulated by the tag counter, and the target process node can be matched in combination with the intent tags determined by multiple process nodes, so as to improve the accuracy of the target process node matching.
  • the tag counter can be a functional module of the intelligent customer service system, which is used to accumulate and save the intent tags input by each process node, and output all the intent tags obtained after the business process starts, for example, at process node 1 Intent tag 1 is input, and intent tag 2 is input in process node 2, then the cumulative result of tags output for process node 2 is intent tag 1 and intent tag 2, which reflects the logical relationship between processes in a cumulative way, making intelligent customer service The response of the system is more in line with user needs.
  • the target process node can be determined as a new node to be processed, and steps S110 to S150 can be executed repeatedly, so as to realize the automatic operation of the business process without manual operation , improving the operating efficiency of intelligent customer service.
  • step S110 in the embodiment shown in FIG. 1 it also includes but is not limited to the following steps:
  • Step S210 when the node to be processed is the first node of the business process, create and initialize a label counter.
  • the label counter is used to accumulate intent labels, so the label counter can be created and initialized before the first intention label is obtained, for example, it is created when the node to be processed is determined to be the first node , the counter can also be pre-configured, and the specific creation time can be selected according to actual needs.
  • step S150 in the embodiment shown in FIG. 1 also includes but is not limited to the following steps:
  • Step S310 acquiring the number of conditional tags in the conditional tag set to obtain the first number
  • Step S320 acquiring the number of intent tags in the tag accumulation result to obtain the second number
  • step S330 when the first quantity is the same as the second quantity, and the condition labels of the condition label set correspond to the intent labels of the label accumulation result, it is determined that the condition label set matches the label accumulation result successfully.
  • conditional tag set is a set of conditional tags, including at least one conditional tag, and the cumulative result of tags is all the intent tags obtained after the business process starts, which is essentially equivalent to a set of intent tags. If the number of tags is different, it means that the tags included in the two cannot be completely matched, and the efficiency of tag matching can be improved. It can be understood that those skilled in the art know how to count the numbers in the set to obtain the above-mentioned first number and second number, and details are not repeated here.
  • condition tag and the intent tag may be the same tag, for example, the tag name or identification information is the same, so when the quantity matches, the specific content of the tag can be matched.
  • condition tags of the condition tag set 3 can include consulting tag 2, credit card tag 2, balance tag 2, and overdue tag 2, which can be successfully matched with the intent tags in optional intent 1-2 , , the specific matching process is a technology well known to those skilled in the art, and will not be repeated here.
  • the intent tag includes a type tag and an attribute tag.
  • Step S140 in the embodiment shown in FIG. 1 also includes but is not limited to the following steps:
  • Step S410 inputting the type label and attribute label of the target intent into the label counter
  • Step S420 using the tag counter to obtain the first tag accumulation result and the second tag accumulation result, wherein the first tag accumulation result includes all types of tags acquired by the tag counter after the business process starts, and the second tag accumulation result includes the tag counter in All attribute tags obtained after the business process starts;
  • Step S430 combining the first tag accumulation result and the second tag accumulation result by the tag counter to obtain the tag accumulation result
  • Step S440 acquiring the tag accumulation result output by the tag counter.
  • the type label can represent the user's needs.
  • the user intention indicates that the user needs to consult, and the type label can be the consultation label shown in Figure 5.
  • the user intention indicates that the user expresses an affirmative answer, then the type The label can be the positive label shown in Figure 5, and the specific type can be adjusted according to actual needs.
  • attribute tags can represent specific attributes of user intentions, such as balance tags and overdue tags shown in Figure 5.
  • user intent can be distinguished from two dimensions, which is convenient for management .
  • the tag counter can accumulate the input tags, and in order to count the type tags and attribute tags separately, the tag technology device can also be pre-configured with a classification function, that is, after the tags are input, they are classified according to the category, so as to realize the type Tags and attribute tags are accumulated separately to obtain the first tag accumulation result and the second tag accumulation result.
  • the specific accumulation method and principle can refer to the description of the embodiment shown in FIG. 1 , and will not be repeated here.
  • the condition tag includes a condition type tag and a condition attribute tag.
  • Step S320 in the embodiment shown in FIG. 3 also includes but is not limited to the following steps:
  • Step S610 determining the process node whose associated condition type label matches the type label of the first label accumulation result as a candidate process node
  • Step S620 when the condition attribute label associated with the candidate process node matches the attribute label corresponding to the second label accumulation result, it is determined that the condition label set matches the label accumulation result successfully.
  • the cumulative result of the first label determines the candidate process node, and then further refines the matching according to the cumulative result of the second label.
  • the cumulative result of the first label can be determined first, such as counting all the consulting categories obtained after the business process starts
  • the type label can be determined as the consultation label 2
  • the process node 3 can be determined as the candidate process node.
  • process node 3 can be determined as the target process node, which can effectively reduce the number of matching times and improve the matching efficiency of the target process node.
  • the recognition result includes first keyword information
  • the recognition information includes second keyword information.
  • Step S130 in the embodiment shown in FIG. 1 also includes but is not limited to the following steps:
  • Step S710 the first keyword information is the same as the second keyword information
  • Step S720 the first keyword information and the second keyword information represent the same semantics.
  • the intelligent customer service system its purpose is to provide customer service, so the first keyword information can be used for the services, objects, operations, etc. that the process node can provide, such as the corresponding Keywords can include “query”, “repayment”, etc., keywords corresponding to objects can include “account”, “credit card”, etc., keywords corresponding to operations can include “report loss”, “cancel”, etc. Technicians are motivated to select different keywords as the first keyword information according to the actual needs of process nodes.
  • the second keyword information is obtained from the voice to be processed input by the user, for example, the real-time voice from the customer phone, and the NLP model is used for semantic recognition to propose at least one second keyword information.
  • the NLP model can be pre-trained.
  • the NLP model can be trained with the first keyword information as a sample output.
  • the number of keyword information can be arbitrary.
  • the identification information can be a plurality of preset second keyword information, and the first keyword information in the recognition result can be compared with the second keyword information. If at least one of them matches, the match can be determined to be successful.
  • the recognition results obtained may be different. If the recognized second keyword information is the same as the first keyword information, then It can be determined by simple text matching, so I won’t go into details here; if the second keyword information is different from the first keyword information in text, but may be the same in semantics, for example, the first keyword information is "Balance", the second keyword information is "remaining amount", it can be determined that the two represent the same semantics, therefore, after the recognition result is determined, the first keyword information and the second keyword information can be determined through common word meaning recognition methods Whether the two keyword information are similar in meaning, if so, it can be determined that the recognition is successful, which can improve the scope of application of the intelligent customer service system.
  • the process node also includes speech information.
  • Step S120 in the embodiment shown in FIG. 1 also includes but is not limited to the following steps:
  • Step S810 playing the speech information
  • Step S820 if voice input is detected within the preset time range after the script information is played, or during the playback of the script information, the input voice information is acquired;
  • Step S830 determining the acquired voice information as voice information to be processed.
  • the speech information can refer to the method shown in Figure 5, and the speech information is preset for each process node.
  • the mapping method of the speech information can also be set in the process node, such as setting the speech number, Read the corresponding voice information to be played from the database through the script number and play it, or it can be the script text stored in the process node, and play it according to the script text through the artificial intelligence broadcast system.
  • the process node is determined to be After the target process node, it is sufficient to play the corresponding speech information, and the specific setting method of the speech information in this embodiment is not limited too much.
  • the preset time can be set in advance If the voice input is detected within the preset time range, the voice information will be obtained normally, and the specific time range can be adjusted according to actual needs.
  • the user may make the next answer after listening to it, or may directly interrupt the playback of the speech information.
  • the playback of the speech information is interrupted and the speech to be processed is obtained.
  • the specific method of obtaining the user's voice can be obtained through a common telephone recording method, which is not limited in this embodiment.
  • an embodiment of the present invention also provides a process node jumping device based on intent recognition, including:
  • the node to be processed determining unit 910 is configured to determine the process node where the business process is currently located as the node to be processed, wherein the business process is preset with at least two process nodes, and the process node is associated with a conditional label set and an optional intent, which can be
  • the selected intents are associated with identification information and intent tags, and the intent tags associated with different optional intents are different from each other, and the conditional tag set includes at least one conditional tag;
  • the voice processing unit 920 is configured to obtain voice information to be processed, input the voice information to be processed into a preset NLP model for semantic recognition, and obtain a recognition result output by the NLP model;
  • An intention exit determination unit 930 configured to determine a target intention, where the target intention is an optional intention whose identification information matches the identification result;
  • the first counting unit 940 is configured to input the intent tag of the target intent into the tag counter, and obtain the tag accumulation result obtained by the tag counter, wherein the tag accumulation result includes all the intent tags acquired by the tag counter after the business process starts;
  • the target process node determination unit 950 is configured to match the condition label set and the label accumulation result, and determine the process node associated with the successfully matched condition label set as the target process node;
  • the node jumping unit 960 is configured to jump to a target process node and determine the target process node as a new node to be processed.
  • the process node jumping device 900 based on intent recognition further includes:
  • the tag counter creation unit 970 is configured to create and initialize a tag counter when the node to be processed is the first node of the business process.
  • the target process node determination unit 950 further includes:
  • the first quantity acquiring unit 951 is configured to acquire the first quantity, the first quantity is the quantity of the conditional labels of the conditional label set;
  • the second quantity acquisition unit 952 is configured to acquire a second quantity, the second quantity being the quantity of the intended label of the label accumulation result;
  • the first matching unit 953 is configured to determine that the conditional label set matches the label accumulation result successfully when the first quantity is the same as the second quantity, and the condition label of the condition label set corresponds to the intent label of the label accumulation result.
  • the first counting unit 940 further includes:
  • a label input unit 941 configured to input the type label and attribute label of the target intent to the label counter;
  • the second counting unit 942 is used to obtain the first label accumulation result and the second label accumulation result through the label counter, wherein the first label accumulation result includes all types of labels acquired by the label counter after the business process starts, and the second label accumulation result The result includes all attribute tags obtained by the tag counter after the business process starts;
  • the counting result merging unit 943 is used to combine the first tag cumulative result and the second tag cumulative result through the tag counter to obtain the tag cumulative result;
  • the counting result obtaining unit 944 is configured to obtain the label accumulation result output by the label counter.
  • the first matching unit 953 further includes:
  • the second matching unit 955 is configured to determine that the conditional label set matches the label accumulation result successfully when the condition attribute label associated with the candidate process node matches the attribute label corresponding to the second label accumulation result.
  • the node to be processed determining unit 910 further includes:
  • the script playing unit 911 is used to play the script information
  • the voice information acquiring unit 912 is configured to acquire the input voice information if a voice input is detected within a preset time range after the script information is played, or during the playback of the script information;
  • the voice determining unit 913 is configured to determine the acquired voice information as voice information to be processed.
  • an embodiment of the present application also provides an electronic device.
  • the electronic device 1000 includes: a memory 1010 , a processor 1020 , and a computer program stored in the memory 1010 and operable on the processor 1020 .
  • the processor 1020 and the memory 1010 may be connected through a bus or in other ways.
  • the non-transitory software programs and instructions required to realize the method for jumping process nodes based on intent recognition in the above embodiments are stored in the memory 1010, and when executed by the processor 1020, the process nodes in the above embodiments are executed based on intent recognition Jump method, for example, execute method step S110 to step S160 in Fig. 1 described above, method step S210 in Fig. 2, method step S310 to step S330 in Fig. 3, method step S410 to step S440 in Fig. 4 , the method step S610 to step S620 in FIG. 6 , the method step S710 to step S720 in FIG. 7 , and the method step S810 to step S830 in FIG. 8 .
  • the device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • the process node where the business process is currently located is determined as the node to be processed, wherein the business process is preset with at least two process nodes, and the process nodes are associated with a conditional label set and an optional intent, and the Optional intents are associated with identification information and intent tags, and the intent tags associated with different optional intents are different from each other, and the condition tag set includes at least one condition tag; to obtain the voice information to be processed, the pending Processing the speech information and inputting it into a preset NLP model for semantic recognition, and obtaining the recognition result output by the NLP model; determining the optional intention matching the recognition information with the recognition result as the target intention; Input the intent tag of the target intent into the tag counter, and obtain the tag accumulation result obtained by the tag counter, wherein the tag accumulation result includes all the intents obtained by the tag counter after the business process starts label; match the condition label set with the label accumulation result, determine the process node associated with the condition label set that matches successfully as the target process node; jump to the target process node,
  • different intent tags can be automatically accumulated through the operation of the process nodes without manual operation, and the target process node can be determined through the intent tags accumulated multiple times, which can effectively improve the target process in the case of complex logic Matching accuracy of nodes.
  • an embodiment of the present application also provides a computer-readable storage medium
  • the computer-readable storage medium may be non-volatile or volatile
  • the computer-readable storage medium stores the computer-executable Instructions
  • the computer-executable instructions are executed by a processor or a controller, for example, executed by a processor in the above-mentioned device embodiment, so that the above-mentioned processor executes the process node jumping method based on the recognition of intent in the above-mentioned embodiment, For example, the method step S110 to step S160 in FIG. 1 described above, the method step S210 in FIG. 2 , the method step S310 to step S330 in FIG. 3 , the method step S410 to step S440 in FIG.
  • a processor such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit .
  • Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media).
  • computer storage media includes both volatile and nonvolatile media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data. permanent, removable and non-removable media.
  • Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, tape, magnetic disk storage or other magnetic storage devices, or can Any other medium used to store desired information and which can be accessed by a computer.
  • communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .
  • the application can be used in numerous general purpose or special purpose computer system environments or configurations. Examples: personal computers, server computers, handheld or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, including A distributed computing environment for any of the above systems or devices, etc.
  • This application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer.
  • program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types.
  • the application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network.
  • program modules may be located in both local and remote computer storage media including storage devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Acoustics & Sound (AREA)
  • Artificial Intelligence (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Machine Translation (AREA)

Abstract

An intention recognition-based process node jump method and apparatus, a device, and a medium, the method comprising: determining, from a service process that is preset with at least two process nodes, a node to be processed, the process nodes being associated with a conditional label set and an optional intention, the optional intention being associated with recognition information and a unique intention label, and the conditional label set comprising at least one condition label (S110); acquiring voice information to be processed and inputting same into a preset NLP model to obtain a recognition result (S120); inputting the intention label of a target intention determined according to the recognition result into a label counter, and obtaining a label accumulation result consisting of all intention labels obtained after the service process has started (S140); and matching a target process node according to the label accumulation result and carrying out a jump (S160). A target process node is determined by means of an accumulated intention label without manual operation, and the matching accuracy of the target process node can be improved when in a condition of complex logic.

Description

基于意图识别的流程节点跳转方法、装置、设备及介质Process node jump method, device, equipment and medium based on intent recognition
本申请要求于2021年9月10日提交中国专利局、申请号为202111061994.4,发明名称为“基于意图识别的流程节点跳转方法、装置、设备及介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202111061994.4 submitted to the China Patent Office on Sep. The contents are incorporated by reference in this application.
技术领域technical field
本申请涉及但不限于人工智能技术领域,尤其涉及一种基于意图识别的流程节点跳转方法、装置、设备及介质。The present application relates to but not limited to the technical field of artificial intelligence, and in particular relates to a method, device, device and medium for jumping process nodes based on intent recognition.
背景技术Background technique
随着人工智能技术和语音识别技术的发展,智能客服系统开始应用到各行各业,尤其是银行客服或者外呼催收业务。常见的智能客服系统通常会预先制定好业务流程,在获取到用户的语音信息之后,通过语音识别和自然语言处理(Natural Language Processing,NLP)技术确定用户意图,再根据用户意图确定从业务流程中确定对应的流程节点,根据该流程节点中预先设定的应答方式进行智能应答。但是在现有的方案中,用户意图通常基于用户最近输入的一次语音信息确定,并以此确定流程节点,虽然能够完成简单的智能交互,但发明人意识到随着业务流程的逻辑越来越复杂,相同内容的语音信息可能在不同的咨询节点出现,若仅以从一次的语音信息中确定用户意图,很容易跳转到错误的流程节点,因此当前的方法无法满足复杂业务场景的需求。With the development of artificial intelligence technology and voice recognition technology, intelligent customer service systems have begun to be applied to all walks of life, especially bank customer service or outbound collection services. A common intelligent customer service system usually pre-determines the business process. After obtaining the user's voice information, it determines the user's intention through speech recognition and natural language processing (Natural Language Processing, NLP) technology, and then determines the user's intention from the business process according to the user's intention. Determine the corresponding process node, and perform an intelligent response according to the preset response mode in the process node. However, in the existing solutions, the user intention is usually determined based on the last voice information input by the user, and the process node is determined based on this. Although simple intelligent interaction can be completed, the inventor realized that as the logic of the business process becomes more and more Complex voice information with the same content may appear in different consultation nodes. If the user's intention is determined only from one voice information, it is easy to jump to the wrong process node. Therefore, the current method cannot meet the needs of complex business scenarios.
发明内容Contents of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics described in detail in this article. This summary is not intended to limit the scope of the claims.
本申请实施例提供了一种基于意图识别的流程节点跳转方法、装置、设备及介质,能够在复杂场景下识别出用户意图,提高流程节点跳转的准确性,提高智能客服系统的可靠性。The embodiment of the present application provides a process node jump method, device, device, and medium based on intent recognition, which can identify user intent in complex scenarios, improve the accuracy of process node jumps, and improve the reliability of the intelligent customer service system .
第一方面,本申请实施例提供了一种基于意图识别的流程节点跳转方法,包括以下步骤:In the first aspect, the embodiment of the present application provides a process node jump method based on intent recognition, including the following steps:
将业务流程当前所处的流程节点确定为待处理节点,其中,所述业务流程预设有至少两个所述流程节点,所述流程节点关联有条件标签集和可选意图,所述可选意图关联有识别信息和意图标签,不同的所述可选意图所关联的所述意图标签互不相同,所述条件标签集包括至少一个条件标签;Determine the process node where the business process is currently located as the node to be processed, wherein the business process is preset with at least two process nodes, and the process node is associated with a conditional tag set and an optional intent, and the optional The intent is associated with identification information and an intent tag, the intent tags associated with different optional intents are different from each other, and the conditional tag set includes at least one conditional tag;
获取待处理语音信息,将所述待处理语音信息输入至预设的NLP模型进行语义识别,并获取所述NLP模型输出的识别结果;Obtaining the speech information to be processed, inputting the speech information to be processed into a preset NLP model for semantic recognition, and obtaining the recognition result output by the NLP model;
将所述识别信息与所述识别结果相匹配的所述可选意图确定为目标意图;determining the optional intent whose identification information matches the identification result as a target intent;
将所述目标意图的所述意图标签输入至标签计数器,获取所述标签计数器得到的标签累计结果,其中,所述标签累计结果包括所述标签计数器在所述业务流程开始后获取到的全部所述意图标签;inputting the intent tag of the target intent into a tag counter, and obtaining a tag accumulation result obtained by the tag counter, wherein the tag accumulation result includes all the tags obtained by the tag counter after the business process starts descriptive intent label;
匹配所述条件标签集与所述标签累计结果,将匹配成功的所述条件标签集所关联的所述流程节点确定为目标流程节点;matching the condition label set and the label accumulation result, and determining the process node associated with the successfully matched condition label set as a target process node;
跳转至所述目标流程节点,并将所述目标流程节点确定为新的待处理节点。Jump to the target process node, and determine the target process node as a new node to be processed.
第二方面,本申请实施例还提供了一种基于意图识别的流程节点跳转装置,包括:In the second aspect, the embodiment of the present application also provides a process node jumping device based on intent recognition, including:
待处理节点确定单元,用于将业务流程当前所处的流程节点确定为待处理节点,其中,所述业务流程预设有至少两个所述流程节点,所述流程节点关联有条件标签集和可选意图,所述可选意图关联有识别信息和意图标签,不同的所述可选意图所关联的所述意图标签互不相同,所述条件标签集包括至少一个条件标签;A node to be processed determining unit, configured to determine the process node where the business process is currently located as a node to be processed, wherein the business process is preset with at least two process nodes, and the process node is associated with a conditional label set and Optional intents, the optional intents are associated with identification information and intent tags, the intent tags associated with different optional intents are different from each other, and the conditional tag set includes at least one conditional tag;
语音处理单元,用于获取待处理语音信息,将所述待处理语音信息输入至预设的NLP模型进行语义识别,并获取所述NLP模型输出的识别结果;A speech processing unit, configured to obtain speech information to be processed, input the speech information to be processed into a preset NLP model for semantic recognition, and obtain a recognition result output by the NLP model;
意图出口确定单元,用于将所述识别信息与所述识别结果相匹配的所述可选意图确定为目标意图;an intention exit determination unit, configured to determine the optional intention whose identification information matches the identification result as a target intention;
第一计数单元,用于将所述目标意图的所述意图标签输入至标签计数器,获取所述标签计数器得到的标签累计结果,其中,所述标签累计结果包括所述标签计数器在所述业务流程开始后获取到的全部所述意图标签;The first counting unit is configured to input the intent label of the target intention into a label counter, and obtain the label accumulation result obtained by the label counter, wherein the label accumulation result includes the label counter in the business process All said intent tags fetched after start;
目标流程节点确定单元,用于匹配所述条件标签集与所述标签累计结果,将匹配成功的所述条件标签集所关联的所述流程节点确定为目标流程节点;A target process node determining unit, configured to match the condition label set and the label accumulation result, and determine the process node associated with the condition label set that matches successfully as a target process node;
节点跳转单元,用于跳转至所述目标流程节点,并将所述目标流程节点确定为新的待处理节点。A node jumping unit, configured to jump to the target process node, and determine the target process node as a new node to be processed.
在一些实施例中,所述基于意图识别的流程节点跳转装置还包括:In some embodiments, the device for jumping process nodes based on intent identification further includes:
标签计数器创建单元,用于当所述待处理节点为所述业务流程的首节点,创建并初始化所述标签计数器。A label counter creation unit, configured to create and initialize the label counter when the node to be processed is the first node of the business process.
在一些实施例中,所述目标流程节点确定单元还包括:In some embodiments, the target process node determining unit further includes:
第一数量获取单元,用于获取所述条件标签集的所述条件标签的数量,得到第一数量;a first quantity acquiring unit, configured to acquire the quantity of the conditional labels in the conditional label set to obtain the first quantity;
第二数量获取单元,用于获取所述标签累计结果的所述意图标签的数量,得到第二数量;a second quantity acquisition unit, configured to acquire the quantity of the intended label of the label accumulation result to obtain a second quantity;
第一匹配单元,用于当所述第一数量与所述第二数量相同,且所述条件标签集的所述条件标签与所述标签累计结果的所述意图标签一一对应时,确定所述条件标签集与所述标签累计结果匹配成功。A first matching unit, configured to determine the set of conditions when the first quantity is the same as the second quantity, and the condition labels of the condition label set correspond one-to-one with the intent labels of the label accumulation result. The label set of the above condition matches the accumulative result of the label successfully.
在一些实施例中,所述第一计数单元还包括:In some embodiments, the first counting unit also includes:
标签输入单元,用于将所述目标意图的所述类型标签和所述属性标签输入至所述标签计数器;a label input unit for inputting the type label and the attribute label of the target intent into the label counter;
第二计数单元,用于通过所述标签计数器得到第一标签累计结果和第二标签累计结果,其中,所述第一标签累计结果包括所述标签计数器在所述业务流程开始后获取到的全部所述类型标签,所述第二标签累计结果包括所述标签计数器在所述业务流程开始后获取到的全部所述属性标签;The second counting unit is configured to obtain a first tag accumulation result and a second tag accumulation result through the tag counter, wherein the first tag accumulation result includes all the tag counters acquired after the business process starts For the type tag, the second tag accumulation result includes all the attribute tags acquired by the tag counter after the business process starts;
计数结果合并单元,用于通过所述标签计数器组合所述第一标签累计结果和所述第二标签累计结果,得到的所述标签累计结果;A counting result merging unit, configured to combine the first tag cumulative result and the second tag cumulative result by the tag counter to obtain the tag cumulative result;
计数结果获取单元,用于获取所述标签计数器输出的所述标签累计结果。The counting result obtaining unit is configured to obtain the tag accumulation result output by the tag counter.
在一些实施例中,所述第一匹配单元还包括:In some embodiments, the first matching unit further includes:
备选流程节点确定单元,用于将所关联的所述条件类型标签与所述第一标签累计结果的所述类型标签相匹配的流程节点确定为备选流程节点;A candidate process node determining unit, configured to determine a process node whose associated condition type label matches the type label of the first label accumulation result as a candidate process node;
第二匹配单元,用于当所述备选流程节点所关联的所述条件属性标签与所述第二标签累计结果所对应的所述属性标签相匹配,确定所述条件标签集与所述标签累计结果匹配成功。The second matching unit is configured to, when the condition attribute label associated with the candidate process node matches the attribute label corresponding to the second label accumulation result, determine the condition label set and the label The cumulative result matches successfully.
在一些实施例中,所述待处理节点确定单元还包括:In some embodiments, the unit to determine the node to be processed further includes:
话术播放单元,用于播放所述话术信息;A speech playing unit, configured to play the speech information;
语音信息获取单元,用于在所述话术信息播放完成后的预设时间范围内,或者在所述话术信息的播放过程中,若检测到语音输入,则获取输入的语音信息;A voice information acquiring unit, configured to acquire the input voice information if a voice input is detected within a preset time range after the script information is played, or during the playback of the script information;
语音确定单元,用于将获取到的所述语音信息确定为所述待处理语音信息。A voice determining unit, configured to determine the acquired voice information as the voice information to be processed.
第三方面,本申请实施例还提供了一种电子设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如第一方面所述的基于意图识别的流程节点跳转方法,其中,所述基于意图识别的流程节点跳转方法包括:将当前在业务流程中所处的流程节点确定为待处理节点,其中,所述业务流程预设有至少两个所述流程节点,所述流程节点关联有条件标签集和可选意图,所述可选意图关联有识别信息和意图标签,不同的所述可选意图所关联的所述意图标签互不相同,所述条件标签集包括至少一个条件标签;获取待处理语音信息,将所述待处理语音信息输入至预设的自然语义处理NLP模型进行语义识别,并获取所述NLP模型输出的识别结果;将所述识别信息与所述识别结果相匹配的所述可选意图确定为目标意图;将所述目标意图的所述意图标签输入至标签计数器,获取所述标签计数器得到的标签累计结果,其中,所述标签累计结果包括所述 标签计数器在所述业务流程开始后获取到的全部所述意图标签;匹配所述条件标签集与所述标签累计结果,将匹配成功的所述条件标签集所关联的所述流程节点确定为目标流程节点;跳转至所述目标流程节点,并将所述目标流程节点确定为新的待处理节点。In the third aspect, the embodiment of the present application also provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and operable on the processor, and the processor implements the following when executing the computer program: The process node jumping method based on intent recognition according to the first aspect, wherein the process node jumping method based on intent recognition includes: determining the current process node in the business process as the node to be processed, wherein, The business process is preset with at least two process nodes, and the process nodes are associated with a set of conditional tags and optional intents, and the optional intents are associated with identification information and intent tags, and the different optional intents are The associated intention tags are different from each other, and the condition tag set includes at least one condition tag; the speech information to be processed is obtained, and the speech information to be processed is input into a preset natural semantic processing NLP model for semantic recognition, and obtained The identification result output by the NLP model; determining the optional intention whose identification information matches the identification result as a target intention; inputting the intention label of the target intention into a label counter to obtain the The label accumulation result obtained by the label counter, wherein the label accumulation result includes all the intention tags obtained by the label counter after the business process starts; matching the conditional label set and the label accumulation result will The process node associated with the condition label set that matches successfully is determined as a target process node; jump to the target process node, and determine the target process node as a new node to be processed.
第四方面,本申请实施例还提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令用于执行如第一方面所述的基于意图识别的流程节点跳转方法,其中,所述基于意图识别的流程节点跳转方法包括:将当前在业务流程中所处的流程节点确定为待处理节点,其中,所述业务流程预设有至少两个所述流程节点,所述流程节点关联有条件标签集和可选意图,所述可选意图关联有识别信息和意图标签,不同的所述可选意图所关联的所述意图标签互不相同,所述条件标签集包括至少一个条件标签;获取待处理语音信息,将所述待处理语音信息输入至预设的自然语义处理NLP模型进行语义识别,并获取所述NLP模型输出的识别结果;将所述识别信息与所述识别结果相匹配的所述可选意图确定为目标意图;将所述目标意图的所述意图标签输入至标签计数器,获取所述标签计数器得到的标签累计结果,其中,所述标签累计结果包括所述标签计数器在所述业务流程开始后获取到的全部所述意图标签;匹配所述条件标签集与所述标签累计结果,将匹配成功的所述条件标签集所关联的所述流程节点确定为目标流程节点;跳转至所述目标流程节点,并将所述目标流程节点确定为新的待处理节点。In the fourth aspect, the embodiment of the present application further provides a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are used to perform the process node jump based on the recognition of intent as described in the first aspect. method, wherein the method for jumping process nodes based on intent recognition includes: determining the current process node in the business process as a node to be processed, wherein the business process is preset with at least two process nodes , the process node is associated with a conditional tag set and an optional intent, the optional intent is associated with identification information and an intent tag, the intent tags associated with different optional intents are different from each other, and the conditional tag The set includes at least one condition label; acquire the speech information to be processed, input the speech information to be processed into a preset natural semantic processing NLP model for semantic recognition, and obtain the recognition result output by the NLP model; The optional intention matching the recognition result is determined as the target intention; the intention label of the target intention is input into the label counter, and the label accumulation result obtained by the label counter is obtained, wherein the label accumulation The result includes all the intent tags obtained by the tag counter after the start of the business process; matching the condition tag set and the tag accumulation result will match the process associated with the condition tag set successfully The node is determined as a target process node; jump to the target process node, and determine the target process node as a new node to be processed.
本申请实施例包括:将业务流程当前所处的流程节点确定为待处理节点,其中,所述业务流程预设有至少两个所述流程节点,所述流程节点关联有条件标签集和可选意图,所述可选意图关联有识别信息和意图标签,不同的所述可选意图所关联的所述意图标签互不相同,所述条件标签集包括至少一个条件标签;获取待处理语音信息,将所述待处理语音信息输入至预设的NLP模型进行语义识别,并获取所述NLP模型输出的识别结果;将所述识别信息与所述识别结果相匹配的所述可选意图确定为目标意图;将所述目标意图的所述意图标签输入至标签计数器,获取所述标签计数器得到的标签累计结果,其中,所述标签累计结果包括所述标签计数器在所述业务流程开始后获取到的全部所述意图标签;匹配所述条件标签集与所述标签累计结果,将匹配成功的所述条件标签集所关联的所述流程节点确定为目标流程节点;跳转至所述目标流程节点,并将所述目标流程节点确定为新的待处理节点。根据本申请实施例提供的方案,能够通过流程节点的运行自动累计不同的意图标签,无需人手操作,通过多次累计到的意图标签确定目标流程节点,能够在复杂逻辑的情况下有效提高目标流程节点的匹配准确性。The embodiment of the present application includes: determining the process node where the business process is currently located as the node to be processed, wherein the business process is preset with at least two process nodes, and the process node is associated with a conditional label set and an optional Intent, the optional intent is associated with identification information and intent tags, the intent tags associated with different optional intents are different from each other, and the condition tag set includes at least one condition tag; to obtain the voice information to be processed, Input the speech information to be processed into a preset NLP model for semantic recognition, and obtain the recognition result output by the NLP model; determine the optional intention that the recognition information matches the recognition result as a target Intention: input the intent tag of the target intent into a tag counter, and obtain the tag accumulation result obtained by the tag counter, wherein the tag accumulation result includes the tag counter obtained after the business process starts All the intent tags; matching the condition tag set and the cumulative result of the tags, determining the process node associated with the successfully matched condition tag set as the target process node; jumping to the target process node, And determine the target process node as a new node to be processed. According to the solution provided by the embodiment of the present application, different intent tags can be automatically accumulated through the operation of the process nodes without manual operation, and the target process node can be determined through the intent tags accumulated multiple times, which can effectively improve the target process in the case of complex logic Matching accuracy of nodes.
本申请的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本申请而了解。本申请的目的和其他优点可通过在说明书、权利要求书以及附图中所特别指出的结构来实现和获得。Additional features and advantages of the application will be set forth in the description which follows, and, in part, will be obvious from the description, or may be learned by practice of the application. The objectives and other advantages of the application will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
附图说明Description of drawings
附图用来提供对本申请技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本申请的技术方案,并不构成对本申请技术方案的限制。The accompanying drawings are used to provide a further understanding of the technical solution of the present application, and constitute a part of the specification, and are used together with the embodiments of the present application to explain the technical solution of the present application, and do not constitute a limitation to the technical solution of the present application.
图1是本申请一个实施例提供的基于意图识别的流程节点跳转方法的流程图;FIG. 1 is a flow chart of a process node jump method based on intent recognition provided by an embodiment of the present application;
图2是本申请另一个实施例提供的创建标签计数器的流程图;FIG. 2 is a flow chart of creating a tag counter provided by another embodiment of the present application;
图3是本申请另一个实施例提供的确定目标流程节点的流程图;Fig. 3 is a flowchart of determining a target process node provided by another embodiment of the present application;
图4是本申请另一个实施例提供的标签计数器的工作流程图;Fig. 4 is the working flowchart of the label counter that another embodiment of the present application provides;
图5是本申请另一个实施例提供的业务流程的示例图;Fig. 5 is an example diagram of a business process provided by another embodiment of the present application;
图6是本申请另一个实施例提供的确定目标流程节点的流程图;Fig. 6 is a flow chart of determining a target process node provided by another embodiment of the present application;
图7是本申请另一个实施例提供的确定目标意图的流程图;Fig. 7 is a flow chart of determining target intent provided by another embodiment of the present application;
图8是本申请另一个实施例提供的获取待处理语音信息的流程图;Fig. 8 is a flow chart of obtaining voice information to be processed provided by another embodiment of the present application;
图9是本申请另一个实施例提供的基于意图识别的流程节点跳转装置的结构图;Fig. 9 is a structural diagram of a process node jumping device based on intent recognition provided by another embodiment of the present application;
图10是本申请另一个实施例提供的电子设备结构图。Fig. 10 is a structural diagram of an electronic device provided by another embodiment of the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solution and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, not to limit the present application.
需要说明的是,虽然在装置示意图中进行了功能模块划分,在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于装置中的模块划分,或流程图中的顺序执行所示出或描述的步骤。说明书、权利要求书或上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that although the functional modules are divided in the schematic diagram of the device, and the logical sequence is shown in the flowchart, in some cases, it can be executed in a different order than the module division in the device or the flowchart in the flowchart. steps shown or described. The terms "first", "second" and the like in the specification, claims or the above drawings are used to distinguish similar objects, and not necessarily used to describe a specific order or sequence.
本发明提供了一种基于意图识别的流程节点跳转方法、装置、设备及介质,方法包括:将业务流程当前所处的流程节点确定为待处理节点,其中,所述业务流程预设有至少两个所述流程节点,所述流程节点关联有条件标签集和可选意图,所述可选意图关联有识别信息和意图标签,不同的所述可选意图所关联的所述意图标签互不相同,所述条件标签集包括至少一个条件标签;获取待处理语音信息,将所述待处理语音信息输入至预设的NLP模型进行语义识别,并获取所述NLP模型输出的识别结果;将所述识别信息与所述识别结果相匹配的所述可选意图确定为目标意图;将所述目标意图的所述意图标签输入至标签计数器,获取所述标签计数器得到的标签累计结果,其中,所述标签累计结果包括所述标签计数器在所述业务流程开始后获取到的全部所述意图标签;匹配所述条件标签集与所述标签累计结果,将匹配成功的所述条件标签集所关联的所述流程节点确定为目标流程节点;跳转至所述目标流程节点,并将所述目标流程节点确定为新的待处理节点。根据本发明实施例提供的方案,能够通过流程节点的运行自动累计不同的意图标签,无需人手操作,通过多次累计到的意图标签确定目标流程节点,能够在复杂逻辑的情况下有效提高目标流程节点的匹配准确性。The present invention provides a process node jump method, device, device and medium based on intent recognition. The method includes: determining the process node where the business process is currently located as the node to be processed, wherein the business process is preset with at least Two process nodes, the process nodes are associated with a conditional tag set and an optional intent, the optional intent is associated with identification information and intent tags, and the intent tags associated with different optional intents are different from each other Same, the condition label set includes at least one condition label; obtain the speech information to be processed, input the speech information to be processed into a preset NLP model for semantic recognition, and obtain the recognition result output by the NLP model; The optional intention whose identification information matches the identification result is determined as the target intention; the intention label of the target intention is input into the label counter, and the label accumulation result obtained by the label counter is obtained, wherein the The label accumulation result includes all the intent labels acquired by the label counter after the business process starts; match the condition label set with the label accumulation result, and match the condition label set associated with the successful The process node is determined as a target process node; jump to the target process node, and determine the target process node as a new node to be processed. According to the solution provided by the embodiment of the present invention, different intent tags can be automatically accumulated through the operation of the process nodes without manual operation, and the target process node can be determined through the intent tags accumulated multiple times, which can effectively improve the target process in the case of complex logic Matching accuracy of nodes.
本申请实施例可以基于人工智能技术对相关的数据进行获取和处理。其中,人工智能(Artificial Intelligence,AI)是利用数字计算机或者数字计算机控制的机器模拟、延伸和扩展人的智能,感知环境、获取知识并使用知识获得最佳结果的理论、方法、技术及应用系统。The embodiments of the present application may acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is a theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. .
下面结合附图,对本申请实施例作进一步阐述。The embodiments of the present application will be further described below in conjunction with the accompanying drawings.
为了解决上述问题,本申请提供了一种基于意图识别的流程节点跳转方法,涉及人工智能领域,具体可参考图1,图1是一个实施例提供的一种基于意图识别的流程节点跳转方法的流程图,该方法包括以下步骤:In order to solve the above problems, the present application provides a process node jump method based on intent recognition, which relates to the field of artificial intelligence. For details, please refer to Figure 1. Figure 1 is a process node jump method based on intent recognition provided by an embodiment A flowchart of the method, the method comprising the steps of:
步骤S110,将业务流程当前所处的流程节点确定为待处理节点,其中,业务流程预设有至少两个流程节点,流程节点关联有条件标签集和可选意图,可选意图关联有识别信息和意图标签,不同的可选意图所关联的意图标签互不相同,条件标签集包括至少一个条件标签;Step S110, determine the process node where the business process is currently located as the node to be processed, wherein the business process is preset with at least two process nodes, and the process node is associated with a conditional label set and an optional intent, and the optional intent is associated with identification information and intent tags, the intent tags associated with different optional intents are different from each other, and the conditional tag set includes at least one conditional tag;
步骤S120,获取待处理语音信息,将待处理语音信息输入至预设的NLP模型进行语义识别,并获取NLP模型输出的识别结果;Step S120, acquiring the speech information to be processed, inputting the speech information to be processed into a preset NLP model for semantic recognition, and obtaining the recognition result output by the NLP model;
步骤S130,将识别信息与识别结果相匹配的可选意图确定为目标意图;Step S130, determining the optional intention whose identification information matches the identification result as the target intention;
步骤S140,将目标意图的意图标签输入至标签计数器,获取标签计数器得到的标签累计结果,其中,标签累计结果包括标签计数器在业务流程开始后获取到的全部意图标签;Step S140, input the intent tag of the target intent into the tag counter, and obtain the tag accumulation result obtained by the tag counter, wherein the tag accumulation result includes all the intent tags acquired by the tag counter after the business process starts;
步骤S150,匹配条件标签集与标签累计结果,将匹配成功的条件标签集所关联的流程节点确定为目标流程节点;Step S150, matching the condition label set and the label accumulation result, and determining the process node associated with the successfully matched condition label set as the target process node;
步骤S160,跳转至目标流程节点,并将目标流程节点确定为新的待处理节点。Step S160, jump to the target process node, and determine the target process node as a new node to be processed.
需要说明的是,应用人工智能的智能客服系统,服务对象为通常为企业的用户,而在用户咨询通常具有较强的主观性,因此并不能预测用户所需要咨询的具体业务,因此,业务流程可以覆盖全部能够提供智能客服的业务,例如对于银行客服领域,业务流程可以包括余额业务、信用卡业务、逾期业务等,并且针对每一种业务设置多个流程节点,能够确保全流程覆盖即可,有效提高用户体验。It should be noted that the intelligent customer service system that applies artificial intelligence usually serves enterprise users, and user consultation is usually highly subjective, so it is impossible to predict the specific business that users need to consult. Therefore, the business process It can cover all businesses that can provide intelligent customer service. For example, in the field of bank customer service, the business process can include balance business, credit card business, overdue business, etc., and set up multiple process nodes for each business to ensure full process coverage. Effectively improve user experience.
可以理解的是,通过流程节点的设置,能够有效提高智能客服的灵活性,当某一个业务需要修改流程时,只需要对流程节点进行调整,例如增加流程节点、删除流程节点,也可以 对流程节点的条件标签集和可选意图进行修改,本领域技术人员熟知如何在设置有流程节点的情况下对其配置进行调整,在此不多作赘述。It is understandable that through the setting of process nodes, the flexibility of intelligent customer service can be effectively improved. When a certain business needs to modify the process, only the process nodes need to be adjusted, such as adding process nodes, deleting process nodes, or modifying the process The condition label set and optional intent of the node are modified. Those skilled in the art are familiar with how to adjust the configuration of the process node when the process node is set, and details will not be repeated here.
需要说明的是,条件标签集可以包括一个或者多个条件标签,条件标签可以通过预先设定的方式配置于每一个流程节点,通过条件标签集能够实现流程节点的匹配条件的调整,例如在流程节点的跳转条件需要变更的情况下,可以通过增加或者减少条件标签的数量,或者修改条件标签的类型实现,有效提高了业务流程的灵活性。可以理解的是,条件标签和意图标签可以是相同的标签,即一个标签可以同时配置为意图标签和条件标签,例如,以标签1为例,当标签1设置在条件标签集,该标签1可以确定为条件标签,与此同时,标签1也可以应用于意图标签,从而使得意图标签能够与条件标签实现匹配,为流程节点的自动跳转提供数据基础。It should be noted that the condition tag set can include one or more condition tags, and the condition tags can be configured in each process node in a preset way, and the matching conditions of the process nodes can be adjusted through the condition tag set, for example, in the process When the jump condition of a node needs to be changed, it can be realized by increasing or decreasing the number of condition labels, or modifying the type of condition labels, which effectively improves the flexibility of the business process. It can be understood that the conditional label and the intent label can be the same label, that is, one label can be configured as an intent label and a conditional label at the same time. For example, taking label 1 as an example, when label 1 is set in the conditional label set, the label 1 can be It is determined as a conditional label. At the same time, label 1 can also be applied to the intent label, so that the intent label can be matched with the conditional label and provide a data basis for the automatic jump of the process node.
需要说明的是,可选意图的数量可以是任意,本实施例对此不多作限定,为了对可选意图进行区分,可以针对可选意图设置不同的意图标签,从而确保匹配的目标流程节点互不相同。可以理解的是,不同的意图标签可以是标签的具体内容不同,也可以是相同的标签内容与不同编号的组合,例如如图5所示,可以是流程节点1可以设置可选意图1-1和可选意图1-2,以可选意图1-1为例,可以设置咨询类标签1、信用卡标签1等;或者针对可选意图的不同触发次数确定具体的意图标签编号,以图5的流程节点1为例,当可选意图1被触发一次,可以确定为可选意图1-1,其对应的标签可以包括例如咨询类标签1、信用卡标签1、余额标签1和逾期标签1;当被触发两次,例如触发了咨询类标签和信用卡标签,则可以确定为可选意图1-2,其对应的意图标签为咨询类标签2、信用卡标签2、余额标签2和逾期标签2,以表征该可选意图1-2被匹配成功两次,本领域技术人员有动机根据实际需求调整意图标签的类型,在此不多作限定。可以理解的是,可选意图的识别信息可以是预先设定的关键词或者标识信息,能够用于与NLP模型输出的识别结果进行匹配即可,本实施例对此不多作限定。It should be noted that the number of optional intents can be arbitrary, which is not limited in this embodiment. In order to distinguish the optional intents, different intent tags can be set for the optional intents, so as to ensure that the matching target process node different from each other. It can be understood that different intent tags may have different specific content of the tag, or may be a combination of the same tag content and different numbers. For example, as shown in Figure 5, it may be that process node 1 can set optional intent 1-1 and optional intent 1-2, taking optional intent 1-1 as an example, you can set consulting tag 1, credit card tag 1, etc.; or determine the specific intent tag number for different trigger times of optional intent, as shown in Figure 5 Take process node 1 as an example, when optional intent 1 is triggered once, it can be determined as optional intent 1-1, and its corresponding tags can include, for example, consulting tag 1, credit card tag 1, balance tag 1, and overdue tag 1; when If it is triggered twice, for example, the consulting tag and the credit card tag are triggered, it can be determined as optional intent 1-2, and the corresponding intent tags are consulting tag 2, credit card tag 2, balance tag 2, and overdue tag 2. It indicates that the optional intent 1-2 has been successfully matched twice, and those skilled in the art have the motivation to adjust the type of the intent tag according to actual needs, which is not limited here. It can be understood that the optional intention identification information may be a preset keyword or identification information, which can be used to match the identification result output by the NLP model, which is not limited in this embodiment.
需要说明的是,由于智能客服系统用于为用户提供人工智能服务,因此待处理语音可以是通过电话获取到实时语音,本领域技术人员熟知如何获取用户的电话语音,在此不多作赘述。It should be noted that since the intelligent customer service system is used to provide artificial intelligence services for users, the voice to be processed can be real-time voice obtained through the telephone. Those skilled in the art are familiar with how to obtain the user's telephone voice, so I won't go into details here.
值得注意的是,NLP模型是基于人工智能的自然语言处理模型,通过预先训练好的NLP模型,能够对输入的语音信息进行处理,包括但不限于语义识别、语音合成、语音识别等,并且输出识别结果,其中,识别结果可以是关键词或者预先设定好的标识信息,能够用于与设定好的识别信息进行匹配即可,本领域技术人员熟知如何对NLP模型进行配置、训练和选取具体的输出结果的类型,在此不用多作赘述。It is worth noting that the NLP model is a natural language processing model based on artificial intelligence. Through the pre-trained NLP model, it can process the input speech information, including but not limited to semantic recognition, speech synthesis, speech recognition, etc., and output Recognition results, where the recognition results can be keywords or pre-set identification information, which can be used to match with the set identification information. Those skilled in the art are familiar with how to configure, train and select NLP models The specific types of output results need not be repeated here.
需要说明的是,对于银行客服或者催收类领域,例如对于信用卡业务,可以是先咨询逾期的相关信息,再咨询逾期情况,再针对逾期情况咨询需要还款的相关信息,上述三个信息是具有前后逻辑关联的,若采用现有技术的针对每个问题单独匹配流程节点,很容易在后两个问题中脱离与该用户的关联,例如在咨询需要还款的相关信息时,仅仅向客户反馈还款方式,而不会结合逾期情况附加关于期限的提醒。基于此,本实施例通过标签计数器对意图标签进行累计,能够结合多个流程节点确定的意图标签进行目标流程节点的匹配,提高目标流程节点匹配的准确性。需要说明的是,标签计数器可以是智能客服系统的功能模块,用于对每个流程节点输入的意图标签进行累计并保存,并且输出业务流程开始后获取到的全部意图标签,例如在流程节点1输入了意图标签1,在流程节点2输入了意图标签2,则针对流程节点2输出的标签累计结果为意图标签1和意图标签2,通过累计的方式体现流程之间的逻辑关系,使得智能客服系统的响应更加符合用户需求。It should be noted that, for bank customer service or collection fields, such as credit card business, it is possible to first consult the overdue information, then consult the overdue situation, and then consult the overdue situation for repayment-related information. The above three information have It is logically related. If the existing technology is used to individually match process nodes for each question, it is easy to break away from the association with the user in the latter two questions. For example, when consulting related information that needs to be repaid, only feedback to the customer Repayment method without additional reminders about deadlines combined with overdue conditions. Based on this, in this embodiment, the intent tags are accumulated by the tag counter, and the target process node can be matched in combination with the intent tags determined by multiple process nodes, so as to improve the accuracy of the target process node matching. It should be noted that the tag counter can be a functional module of the intelligent customer service system, which is used to accumulate and save the intent tags input by each process node, and output all the intent tags obtained after the business process starts, for example, at process node 1 Intent tag 1 is input, and intent tag 2 is input in process node 2, then the cumulative result of tags output for process node 2 is intent tag 1 and intent tag 2, which reflects the logical relationship between processes in a cumulative way, making intelligent customer service The response of the system is more in line with user needs.
值得注意的是,当执行步骤S160跳转至目标流程节点之后,可以将目标流程节点确定为新的待处理节点,并且重复执行步骤S110至步骤S150,从而实现业务流程的自动运作,无需人工操作,提高了智能客服的运行效率。It is worth noting that after executing step S160 and jumping to the target process node, the target process node can be determined as a new node to be processed, and steps S110 to S150 can be executed repeatedly, so as to realize the automatic operation of the business process without manual operation , improving the operating efficiency of intelligent customer service.
另外,参照图2,在一实施例中,在执行完图1所示实施例中的步骤S110之后,还包括 但不限于有以下步骤:In addition, referring to FIG. 2, in one embodiment, after executing step S110 in the embodiment shown in FIG. 1, it also includes but is not limited to the following steps:
步骤S210,当待处理节点为业务流程的首节点,创建并初始化标签计数器。Step S210, when the node to be processed is the first node of the business process, create and initialize a label counter.
需要说明的是,基于上述实施例的描述,标签计数器用于对意图标签进行累计,因此标签计数器可以在获取到首个意图标签之前创建和初始化,例如在确定待处理节点为首节点的情况下创建,也可以预先配置好计数器,根据实际需求选取具体的创建时机即可。It should be noted that, based on the description of the above embodiments, the label counter is used to accumulate intent labels, so the label counter can be created and initialized before the first intention label is obtained, for example, it is created when the node to be processed is determined to be the first node , the counter can also be pre-configured, and the specific creation time can be selected according to actual needs.
另外,参照图3,在一实施例中,图1所示实施例中的步骤S150,还包括但不限于有以下步骤:In addition, referring to FIG. 3 , in one embodiment, step S150 in the embodiment shown in FIG. 1 also includes but is not limited to the following steps:
步骤S310,获取条件标签集的条件标签的数量,得到第一数量;Step S310, acquiring the number of conditional tags in the conditional tag set to obtain the first number;
步骤S320,获取标签累计结果的意图标签的数量,得到第二数量;Step S320, acquiring the number of intent tags in the tag accumulation result to obtain the second number;
步骤S330,当第一数量与第二数量相同,且条件标签集的条件标签与标签累计结果的意图标签一一对应时,确定条件标签集与标签累计结果匹配成功。In step S330, when the first quantity is the same as the second quantity, and the condition labels of the condition label set correspond to the intent labels of the label accumulation result, it is determined that the condition label set matches the label accumulation result successfully.
需要说明的是,在获取到每一个待处理节点的意图标签之后,可以通过标签计数器进行累计,从而得到从业务流程开始积累的全部意图标签,因此可以在每个流程节点的条件标签集设置多个条件标签,在匹配的过程中确保标签累计结果与条件标签集的内容一一对应,避免模糊匹配导致匹配到错误的目标流程节点。It should be noted that after obtaining the intent tag of each node to be processed, it can be accumulated through the tag counter to obtain all the intent tags accumulated from the business process, so you can set multiple In the process of matching, ensure that the cumulative result of the label corresponds to the content of the conditional label set one by one, so as to avoid fuzzy matching and cause the wrong target process node to be matched.
需要说明的是,条件标签集是条件标签的集合,包括至少一个条件标签,而标签累计结果是业务流程开始后获取到的全部意图标签,实质上也相当于意图标签的集合,因此为了对两个集合的标签进行匹配,可以先通过标签的数量进行初步判断,若数量不同则代表二者包括的标签不能完全匹配,提高标签匹配的效率。可以理解的是,本领域技术人员熟知如何对集合内的数量进行统计,从而得到上述的第一数量和第二数量,在此不多作赘述。It should be noted that the conditional tag set is a set of conditional tags, including at least one conditional tag, and the cumulative result of tags is all the intent tags obtained after the business process starts, which is essentially equivalent to a set of intent tags. If the number of tags is different, it means that the tags included in the two cannot be completely matched, and the efficiency of tag matching can be improved. It can be understood that those skilled in the art know how to count the numbers in the set to obtain the above-mentioned first number and second number, and details are not repeated here.
需要说明的是,基于上述图1的实施例,条件标签和意图标签可以是相同的标签,例如标签名称或者标识信息相同,因此在数量相匹配的情况下,可以对标签的具体内容进行匹配,例如图5所示的流程节点3,条件标签集3的条件标签可以包括咨询类标签2、信用卡标签2、余额标签2和逾期标签2,与可选意图1-2中的意图标签能够匹配成功,,具体匹配流程为本领域技术人员熟知的技术,在此不再赘述。It should be noted that, based on the above-mentioned embodiment in FIG. 1 , the condition tag and the intent tag may be the same tag, for example, the tag name or identification information is the same, so when the quantity matches, the specific content of the tag can be matched, For example, in the process node 3 shown in Figure 5, the condition tags of the condition tag set 3 can include consulting tag 2, credit card tag 2, balance tag 2, and overdue tag 2, which can be successfully matched with the intent tags in optional intent 1-2 , , the specific matching process is a technology well known to those skilled in the art, and will not be repeated here.
另外,参照图4,在一实施例中,意图标签包括类型标签和属性标签,图1所示实施例中的步骤S140,还包括但不限于有以下步骤:In addition, referring to FIG. 4 , in one embodiment, the intent tag includes a type tag and an attribute tag. Step S140 in the embodiment shown in FIG. 1 also includes but is not limited to the following steps:
步骤S410,将目标意图的类型标签和属性标签输入至标签计数器;Step S410, inputting the type label and attribute label of the target intent into the label counter;
步骤S420,通过标签计数器得到第一标签累计结果和第二标签累计结果,其中,第一标签累计结果包括标签计数器在业务流程开始后获取到的全部类型标签,第二标签累计结果包括标签计数器在业务流程开始后获取到的全部属性标签;Step S420, using the tag counter to obtain the first tag accumulation result and the second tag accumulation result, wherein the first tag accumulation result includes all types of tags acquired by the tag counter after the business process starts, and the second tag accumulation result includes the tag counter in All attribute tags obtained after the business process starts;
步骤S430,通过标签计数器组合第一标签累计结果和第二标签累计结果,得到的标签累计结果;Step S430, combining the first tag accumulation result and the second tag accumulation result by the tag counter to obtain the tag accumulation result;
步骤S440,获取标签计数器输出的标签累计结果。Step S440, acquiring the tag accumulation result output by the tag counter.
需要说明的是,类型标签可以表征用户需求,例如用户意图表征用户需要进行咨询,则类型标签可以是图5中所示的咨询类标签,又如,用户意图表征用户表达了肯定回答,则类型标签可以是图5中所示的肯定类标签,具体类型根据实际需求调整即可。It should be noted that the type label can represent the user's needs. For example, the user intention indicates that the user needs to consult, and the type label can be the consultation label shown in Figure 5. For another example, the user intention indicates that the user expresses an affirmative answer, then the type The label can be the positive label shown in Figure 5, and the specific type can be adjusted according to actual needs.
需要说明的是,属性标签可以表征用户意图的具体属性,例如图5所示的余额标签、逾期标签等,通过类别标签和属性标签的组合,能够从两个维度对用户意图进行区分,便于管理。It should be noted that attribute tags can represent specific attributes of user intentions, such as balance tags and overdue tags shown in Figure 5. Through the combination of category tags and attribute tags, user intent can be distinguished from two dimensions, which is convenient for management .
需要说明的是,标签计数器能够对输入的标签进行累计,而为了分别对类型标签和属性标签进行统计,标签技术器也可以预先配置好分类功能,即标签输入后按照类别分类,从而实现将类型标签和属性标签分别进行累计,从而得到第一标签累计结果和第二标签累计结果,具体的累计方法和原理可以参考图1所示实施例的描述,在此不多作赘述。It should be noted that the tag counter can accumulate the input tags, and in order to count the type tags and attribute tags separately, the tag technology device can also be pre-configured with a classification function, that is, after the tags are input, they are classified according to the category, so as to realize the type Tags and attribute tags are accumulated separately to obtain the first tag accumulation result and the second tag accumulation result. The specific accumulation method and principle can refer to the description of the embodiment shown in FIG. 1 , and will not be repeated here.
另外,参照图6,在一实施例中,条件标签包括条件类型标签和条件属性标签,图3所示实施例中的步骤S320,还包括但不限于有以下步骤:In addition, referring to FIG. 6, in one embodiment, the condition tag includes a condition type tag and a condition attribute tag. Step S320 in the embodiment shown in FIG. 3 also includes but is not limited to the following steps:
步骤S610,将所关联的条件类型标签与第一标签累计结果的类型标签相匹配的流程节点确定为备选流程节点;Step S610, determining the process node whose associated condition type label matches the type label of the first label accumulation result as a candidate process node;
步骤S620,当备选流程节点所关联的条件属性标签与第二标签累计结果所对应的属性标签相匹配,确定条件标签集与标签累计结果匹配成功。Step S620, when the condition attribute label associated with the candidate process node matches the attribute label corresponding to the second label accumulation result, it is determined that the condition label set matches the label accumulation result successfully.
需要说明的是,在业务流程的逻辑较为复杂,以及每个流程节点的条件标签数量较多的情况下,标签累计结果和条件标签集需要匹配的数据较多,为了提高匹配效率,可以先通过第一标签累计结果确定出备选流程节点,再根据第二标签累计结果进行进一步的细化匹配,例如,可以先确定第一标签累计结果,例如统计在业务流程开始后获取到的全部咨询类标签,例如如图5所示,当咨询类标签被累计两次,可以确定类型标签为咨询类标签2,确定流程节点3为备选流程节点,在此基础上,在通过第二标签累计结果,当确定属性标签包括信用卡标签2、余额标签2和逾期标签2,则可以确定流程节点3为目标流程节点,能够有效减少匹配次数,提高目标流程节点的匹配效率。It should be noted that when the logic of the business process is relatively complex, and the number of conditional labels for each process node is large, the cumulative result of the label and the set of conditional labels need to match more data. In order to improve the matching efficiency, you can first pass The cumulative result of the first label determines the candidate process node, and then further refines the matching according to the cumulative result of the second label. For example, the cumulative result of the first label can be determined first, such as counting all the consulting categories obtained after the business process starts For example, as shown in Figure 5, when the consultation label is accumulated twice, the type label can be determined as the consultation label 2, and the process node 3 can be determined as the candidate process node. On this basis, the accumulated results through the second label , when it is determined that the attribute tags include credit card tag 2, balance tag 2 and overdue tag 2, then process node 3 can be determined as the target process node, which can effectively reduce the number of matching times and improve the matching efficiency of the target process node.
另外,参照图7,在一实施例中,识别结果包括第一关键词信息,识别信息包括第二关键词信息,图1所示实施例中的步骤S130,还包括但不限于有以下步骤:In addition, referring to FIG. 7, in one embodiment, the recognition result includes first keyword information, and the recognition information includes second keyword information. Step S130 in the embodiment shown in FIG. 1 also includes but is not limited to the following steps:
步骤S710,第一关键词信息与第二关键词信息相同;Step S710, the first keyword information is the same as the second keyword information;
或者,or,
步骤S720,第一关键词信息与第二关键词信息表征相同的语义。Step S720, the first keyword information and the second keyword information represent the same semantics.
需要说明的是,对于智能客服系统而言,其目的在于提供客户服务,因此第一关键词信息可以用于流程节点所能提供的服务、对象、操作等,例如所能提供的服务所对应的关键词可以包括“查询”、“还款”等,对象所对应的关键词可以包括“账户”、“信用卡”等,操作所对应的关键词可以包括“挂失”、“注销”等,本领域技术人员有动机根据流程节点的实际需求选取不同的关键词作为第一关键词信息。It should be noted that for the intelligent customer service system, its purpose is to provide customer service, so the first keyword information can be used for the services, objects, operations, etc. that the process node can provide, such as the corresponding Keywords can include "query", "repayment", etc., keywords corresponding to objects can include "account", "credit card", etc., keywords corresponding to operations can include "report loss", "cancel", etc. Technicians are motivated to select different keywords as the first keyword information according to the actual needs of process nodes.
需要说明的是,第二关键词信息获取于用户输入的待处理语音,例如来自于客户电话的实时语音,通过NLP模型进行语义识别,以提出至少一个第二关键词信息。例如,NLP模型可以是预先训练好,为了使得NLP模型的输出尽量接近于第一关键词信息,可以以第一关键词信息作为样本输出对NLP模型进行训练,本领域技术人员熟知如何配置和训练NLP模型,在此不多作赘述。It should be noted that the second keyword information is obtained from the voice to be processed input by the user, for example, the real-time voice from the customer phone, and the NLP model is used for semantic recognition to propose at least one second keyword information. For example, the NLP model can be pre-trained. In order to make the output of the NLP model as close as possible to the first keyword information, the NLP model can be trained with the first keyword information as a sample output. Those skilled in the art know how to configure and train The NLP model will not be described here.
需要说明的是,关键词信息的数量可以是任意,例如在识别信息可以是预先设定的多个第二关键词信息,识别结果中的第一关键词信息能够与第二关键词信息中的至少一个相匹配,则可以确定匹配成功。It should be noted that the number of keyword information can be arbitrary. For example, the identification information can be a plurality of preset second keyword information, and the first keyword information in the recognition result can be compared with the second keyword information. If at least one of them matches, the match can be determined to be successful.
需要说明的是,由于不同用户的语言习惯不同,因此即使通过相同的NLP模型进行语义识别,得到的识别结果也可能不同,若识别得到的第二关键词信息与第一关键词信息相同,则通过简单的文字匹配即可确定,在此不多作赘述;若第二关键词信息与第一关键词信息在文字上不相同,但是可能在语义上是相同的,例如第一关键词信息为“余额”,第二关键词信息为“剩余的金额”,可以确定为二者表征相同的语义,因此,在确定识别结果之后,可以通过常见的词义识别方式,确定第一关键词信息和第二关键词信息在词义上是否相近,若是则可以确定识别成功,能够提高智能客服系统的适用范围。It should be noted that, due to the different language habits of different users, even if the same NLP model is used for semantic recognition, the recognition results obtained may be different. If the recognized second keyword information is the same as the first keyword information, then It can be determined by simple text matching, so I won’t go into details here; if the second keyword information is different from the first keyword information in text, but may be the same in semantics, for example, the first keyword information is "Balance", the second keyword information is "remaining amount", it can be determined that the two represent the same semantics, therefore, after the recognition result is determined, the first keyword information and the second keyword information can be determined through common word meaning recognition methods Whether the two keyword information are similar in meaning, if so, it can be determined that the recognition is successful, which can improve the scope of application of the intelligent customer service system.
另外,参照图8,在一实施例中,流程节点还包括话术信息,图1所示实施例中的步骤S120,还包括但不限于有以下步骤:In addition, referring to FIG. 8, in one embodiment, the process node also includes speech information. Step S120 in the embodiment shown in FIG. 1 also includes but is not limited to the following steps:
步骤S810,播放话术信息;Step S810, playing the speech information;
步骤S820,在话术信息播放完成后的预设时间范围内,或者在话术信息的播放过程中,若检测到语音输入,则获取输入的语音信息;Step S820, if voice input is detected within the preset time range after the script information is played, or during the playback of the script information, the input voice information is acquired;
步骤S830,将获取到的语音信息确定为待处理语音信息。Step S830, determining the acquired voice information as voice information to be processed.
需要说明的是,话术信息可以参考图5所示的方式,针对每个流程节点预先设置好话术信息,当然,也可以在流程节点中设置话术信息的映射方式,例如设置话术编号,通过话术编号从数据库汇总读取出对应的待播放语音信息进行播放,也可以是保存在流程节点中的话 术文字,通过人工智能播报系统根据该话术文字进行播放,当确定该流程节点为目标流程节点之后,播放相对应的话术信息即可,本实施例对话术信息的具体设置方式不作过多的限定。It should be noted that the speech information can refer to the method shown in Figure 5, and the speech information is preset for each process node. Of course, the mapping method of the speech information can also be set in the process node, such as setting the speech number, Read the corresponding voice information to be played from the database through the script number and play it, or it can be the script text stored in the process node, and play it according to the script text through the artificial intelligence broadcast system. When the process node is determined to be After the target process node, it is sufficient to play the corresponding speech information, and the specific setting method of the speech information in this embodiment is not limited too much.
需要说明的是,对于智能客服系统而言,在播放完语音信息后,若遇到用户长时间不应答,保持获取语音信息的待机状态会导致资源的浪费,因此,可以预先设定预设时间范围,在该预设时间范围内检测到语音输入,则正常获取语音信息,具体的时间范围可以根据实际需求调整。It should be noted that for the intelligent customer service system, if the user does not answer for a long time after playing the voice information, keeping the standby state for acquiring the voice information will lead to waste of resources. Therefore, the preset time can be set in advance If the voice input is detected within the preset time range, the voice information will be obtained normally, and the specific time range can be adjusted according to actual needs.
可以理解的是,在该语音信息播放过程中,用户可能听完之后再作出下一次回答,也可能直接打断话术信息的播放,为了提供更好的用户体验,可以在检测到语音信息输入的情况下,中断话术信息的播放并获取待处理语音,具体的用户语音的获取方式可以通过常见的电话录音方式获取,本实施例对此不多作限定。It is understandable that during the playback of the voice information, the user may make the next answer after listening to it, or may directly interrupt the playback of the speech information. In the case of , the playback of the speech information is interrupted and the speech to be processed is obtained. The specific method of obtaining the user's voice can be obtained through a common telephone recording method, which is not limited in this embodiment.
另外,参考图9,本发明的一个实施例还提供了一种基于意图识别的流程节点跳转装置,包括:In addition, referring to FIG. 9 , an embodiment of the present invention also provides a process node jumping device based on intent recognition, including:
待处理节点确定单元910,用于将业务流程当前所处的流程节点确定为待处理节点,其中,业务流程预设有至少两个流程节点,流程节点关联有条件标签集和可选意图,可选意图关联有识别信息和意图标签,不同的可选意图所关联的意图标签互不相同,条件标签集包括至少一个条件标签;The node to be processed determining unit 910 is configured to determine the process node where the business process is currently located as the node to be processed, wherein the business process is preset with at least two process nodes, and the process node is associated with a conditional label set and an optional intent, which can be The selected intents are associated with identification information and intent tags, and the intent tags associated with different optional intents are different from each other, and the conditional tag set includes at least one conditional tag;
语音处理单元920,用于获取待处理语音信息,将待处理语音信息输入至预设的NLP模型进行语义识别,并获取NLP模型输出的识别结果;The voice processing unit 920 is configured to obtain voice information to be processed, input the voice information to be processed into a preset NLP model for semantic recognition, and obtain a recognition result output by the NLP model;
意图出口确定单元930,用于确定目标意图,目标意图为识别信息与识别结果相匹配的可选意图;An intention exit determination unit 930, configured to determine a target intention, where the target intention is an optional intention whose identification information matches the identification result;
第一计数单元940,用于将目标意图的意图标签输入至标签计数器,获取标签计数器得到的标签累计结果,其中,标签累计结果包括标签计数器在业务流程开始后获取到的全部意图标签;The first counting unit 940 is configured to input the intent tag of the target intent into the tag counter, and obtain the tag accumulation result obtained by the tag counter, wherein the tag accumulation result includes all the intent tags acquired by the tag counter after the business process starts;
目标流程节点确定单元950,用于匹配条件标签集与标签累计结果,将匹配成功的条件标签集所关联的流程节点确定为目标流程节点;The target process node determination unit 950 is configured to match the condition label set and the label accumulation result, and determine the process node associated with the successfully matched condition label set as the target process node;
节点跳转单元960,用于跳转至目标流程节点,并将目标流程节点确定为新的待处理节点。The node jumping unit 960 is configured to jump to a target process node and determine the target process node as a new node to be processed.
另外,参考图9,在一实施例中,基于意图识别的流程节点跳转装置900还包括:In addition, referring to FIG. 9 , in an embodiment, the process node jumping device 900 based on intent recognition further includes:
标签计数器创建单元970,用于当待处理节点为业务流程的首节点,创建并初始化标签计数器。The tag counter creation unit 970 is configured to create and initialize a tag counter when the node to be processed is the first node of the business process.
另外,参考图9,在一实施例中,目标流程节点确定单元950还包括:In addition, referring to FIG. 9, in an embodiment, the target process node determination unit 950 further includes:
第一数量获取单元951,用于获取第一数量,第一数量为条件标签集的条件标签的数量;The first quantity acquiring unit 951 is configured to acquire the first quantity, the first quantity is the quantity of the conditional labels of the conditional label set;
第二数量获取单元952,用于获取第二数量,第二数量为标签累计结果的意图标签的数量;The second quantity acquisition unit 952 is configured to acquire a second quantity, the second quantity being the quantity of the intended label of the label accumulation result;
第一匹配单元953,用于当第一数量与第二数量相同,且条件标签集的条件标签与标签累计结果的意图标签一一对应时,确定条件标签集与标签累计结果匹配成功。The first matching unit 953 is configured to determine that the conditional label set matches the label accumulation result successfully when the first quantity is the same as the second quantity, and the condition label of the condition label set corresponds to the intent label of the label accumulation result.
另外,参考图9,在一实施例中,第一计数单元940还包括:In addition, referring to FIG. 9, in one embodiment, the first counting unit 940 further includes:
标签输入单元941,用于将目标意图的类型标签和属性标签输入至标签计数器;A label input unit 941, configured to input the type label and attribute label of the target intent to the label counter;
第二计数单元942,用于通过标签计数器得到第一标签累计结果和第二标签累计结果,其中,第一标签累计结果包括标签计数器在业务流程开始后获取到的全部类型标签,第二标 签累计结果包括标签计数器在业务流程开始后获取到的全部属性标签;The second counting unit 942 is used to obtain the first label accumulation result and the second label accumulation result through the label counter, wherein the first label accumulation result includes all types of labels acquired by the label counter after the business process starts, and the second label accumulation result The result includes all attribute tags obtained by the tag counter after the business process starts;
计数结果合并单元943,用于通过标签计数器组合第一标签累计结果和第二标签累计结果,得到的标签累计结果;The counting result merging unit 943 is used to combine the first tag cumulative result and the second tag cumulative result through the tag counter to obtain the tag cumulative result;
计数结果获取单元944,用于获取标签计数器输出的标签累计结果。The counting result obtaining unit 944 is configured to obtain the label accumulation result output by the label counter.
另外,参考图9,在一实施例中,第一匹配单元953还包括:In addition, referring to FIG. 9, in one embodiment, the first matching unit 953 further includes:
备选流程节点确定单元954,用于将所关联的条件类型标签与第一标签累计结果的类型标签相匹配的流程节点确定为备选流程节点;An alternative process node determining unit 954, configured to determine a process node whose associated condition type label matches the type label of the first label accumulation result as an alternative process node;
第二匹配单元955,用于当备选流程节点所关联的条件属性标签与第二标签累计结果所对应的属性标签相匹配,确定条件标签集与标签累计结果匹配成功。The second matching unit 955 is configured to determine that the conditional label set matches the label accumulation result successfully when the condition attribute label associated with the candidate process node matches the attribute label corresponding to the second label accumulation result.
另外,参考图9,在一实施例中,待处理节点确定单元910还包括:In addition, referring to FIG. 9, in one embodiment, the node to be processed determining unit 910 further includes:
话术播放单元911,用于播放话术信息;The script playing unit 911 is used to play the script information;
语音信息获取单元912,用于在话术信息播放完成后的预设时间范围内,或者在话术信息的播放过程中,若检测到语音输入,则获取输入的语音信息;The voice information acquiring unit 912 is configured to acquire the input voice information if a voice input is detected within a preset time range after the script information is played, or during the playback of the script information;
语音确定单元913,用于将获取到的语音信息确定为待处理语音信息。The voice determining unit 913 is configured to determine the acquired voice information as voice information to be processed.
另外,参照图10,本申请的一个实施例还提供了一种电子设备,该电子设备1000包括:存储器1010、处理器1020及存储在存储器1010上并可在处理器1020上运行的计算机程序。In addition, referring to FIG. 10 , an embodiment of the present application also provides an electronic device. The electronic device 1000 includes: a memory 1010 , a processor 1020 , and a computer program stored in the memory 1010 and operable on the processor 1020 .
处理器1020和存储器1010可以通过总线或者其他方式连接。The processor 1020 and the memory 1010 may be connected through a bus or in other ways.
实现上述实施例的基于意图识别的流程节点跳转方法所需的非暂态软件程序以及指令存储在存储器1010中,当被处理器1020执行时,执行上述实施例中的基于意图识别的流程节点跳转方法,例如,执行以上描述的图1中的方法步骤S110至步骤S160、图2中的方法步骤S210、图3中的方法步骤S310至步骤S330、图4中的方法步骤S410至步骤S440、图6中的方法步骤S610至步骤S620、图7中的方法步骤S710至步骤S720、图8中的方法步骤S810至步骤S830。The non-transitory software programs and instructions required to realize the method for jumping process nodes based on intent recognition in the above embodiments are stored in the memory 1010, and when executed by the processor 1020, the process nodes in the above embodiments are executed based on intent recognition Jump method, for example, execute method step S110 to step S160 in Fig. 1 described above, method step S210 in Fig. 2, method step S310 to step S330 in Fig. 3, method step S410 to step S440 in Fig. 4 , the method step S610 to step S620 in FIG. 6 , the method step S710 to step S720 in FIG. 7 , and the method step S810 to step S830 in FIG. 8 .
以上所描述的装置实施例仅仅是示意性的,其中作为分离部件说明的单元可以是或者也可以不是物理上分开的,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本申请将业务流程当前所处的流程节点确定为待处理节点,其中,所述业务流程预设有至少两个所述流程节点,所述流程节点关联有条件标签集和可选意图,所述可选意图关联有识别信息和意图标签,不同的所述可选意图所关联的所述意图标签互不相同,所述条件标签集包括至少一个条件标签;获取待处理语音信息,将所述待处理语音信息输入至预设的NLP模型进行语义识别,并获取所述NLP模型输出的识别结果;将所述识别信息与所述识别结果相匹配的所述可选意图确定为目标意图;将所述目标意图的所述意图标签输入至标签计数器,获取所述标签计数器得到的标签累计结果,其中,所述标签累计结果包括所述标签计数器在所述业务流程开始后获取到的全部所述意图标签;匹配所述条件标签集与所述标签累计结果,将匹配成功的所述条件标签集所关联的所述流程节点确定为目标流程节点;跳转至所述目标流程节点,并将所述目标流程节点确定为新的待处理节点。根据本申请实施例提供的方案,能够通过流程节点的运行自动累计不同的意图标签,无需人手操作,通过多次累计到的意图标签确定目标流程节点,能够在复杂逻辑的情况下有效提高目标流程节点的匹配准确性。The device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. In this application, the process node where the business process is currently located is determined as the node to be processed, wherein the business process is preset with at least two process nodes, and the process nodes are associated with a conditional label set and an optional intent, and the Optional intents are associated with identification information and intent tags, and the intent tags associated with different optional intents are different from each other, and the condition tag set includes at least one condition tag; to obtain the voice information to be processed, the pending Processing the speech information and inputting it into a preset NLP model for semantic recognition, and obtaining the recognition result output by the NLP model; determining the optional intention matching the recognition information with the recognition result as the target intention; Input the intent tag of the target intent into the tag counter, and obtain the tag accumulation result obtained by the tag counter, wherein the tag accumulation result includes all the intents obtained by the tag counter after the business process starts label; match the condition label set with the label accumulation result, determine the process node associated with the condition label set that matches successfully as the target process node; jump to the target process node, and set the The target process node is determined as a new node to be processed. According to the solution provided by the embodiment of the present application, different intent tags can be automatically accumulated through the operation of the process nodes without manual operation, and the target process node can be determined through the intent tags accumulated multiple times, which can effectively improve the target process in the case of complex logic Matching accuracy of nodes.
此外,本申请的一个实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质可以是非易失性,也可以是易失性,该计算机可读存储介质存储有计算机可执行指令,该计算机可执行指令被一个处理器或控制器执行,例如,被上述设备实施例中的一个处理器执行,可使得上述处理器执行上述实施例中基于意图识别的流程节点跳转方法,例如,执行以上描述的图1中的方法步骤S110至步骤S160、图2中的方法步骤S210、图3中的方法步骤 S310至步骤S330、图4中的方法步骤S410至步骤S440、图6中的方法步骤S610至步骤S620、图7中的方法步骤S710至步骤S720、图8中的方法步骤S810至步骤S830。本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、系统可以被实施为软件、固件、硬件及其适当的组合。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。In addition, an embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium may be non-volatile or volatile, and the computer-readable storage medium stores the computer-executable Instructions, the computer-executable instructions are executed by a processor or a controller, for example, executed by a processor in the above-mentioned device embodiment, so that the above-mentioned processor executes the process node jumping method based on the recognition of intent in the above-mentioned embodiment, For example, the method step S110 to step S160 in FIG. 1 described above, the method step S210 in FIG. 2 , the method step S310 to step S330 in FIG. 3 , the method step S410 to step S440 in FIG. Step S610 to step S620 of the method, step S710 to step S720 of the method in FIG. 7 , and step S810 to step S830 of the method in FIG. 8 . Those skilled in the art can understand that all or some of the steps and systems in the methods disclosed above can be implemented as software, firmware, hardware and an appropriate combination thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit . Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As known to those of ordinary skill in the art, the term computer storage media includes both volatile and nonvolatile media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data. permanent, removable and non-removable media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cartridges, tape, magnetic disk storage or other magnetic storage devices, or can Any other medium used to store desired information and which can be accessed by a computer. In addition, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .
本申请可用于众多通用或专用的计算机系统环境或配置中。例如:个人计算机、服务器计算机、手持设备或便携式设备、平板型设备、多处理器系统、基于微处理器的系统、置顶盒、可编程的消费电子设备、网络PC、小型计算机、大型计算机、包括以上任何系统或设备的分布式计算环境等等。本申请可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本申请,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。The application can be used in numerous general purpose or special purpose computer system environments or configurations. Examples: personal computers, server computers, handheld or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, including A distributed computing environment for any of the above systems or devices, etc. This application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including storage devices.
以上是对本申请的较佳实施进行了具体说明,但本申请并不局限于上述实施方式,熟悉本领域的技术人员在不违背本申请精神的前提下还可作出种种的等同变形或替换,这些等同的变形或替换均包含在本申请权利要求所限定的范围内。The above is a specific description of the preferred implementation of the application, but the application is not limited to the above-mentioned implementation, and those skilled in the art can also make various equivalent deformations or replacements without violating the spirit of the application. Equivalent modifications or replacements are all within the scope defined by the claims of the present application.

Claims (20)

  1. 一种基于意图识别的流程节点跳转方法,其中,包括以下步骤:A process node jumping method based on intent recognition, which includes the following steps:
    将当前在业务流程中所处的流程节点确定为待处理节点,其中,所述业务流程预设有至少两个所述流程节点,所述流程节点关联有条件标签集和可选意图,所述可选意图关联有识别信息和意图标签,不同的所述可选意图所关联的所述意图标签互不相同,所述条件标签集包括至少一个条件标签;Determine the current process node in the business process as a node to be processed, wherein the business process is preset with at least two process nodes, and the process nodes are associated with a conditional label set and an optional intent, the Optional intents are associated with identification information and intent tags, the intent tags associated with different optional intents are different from each other, and the set of condition tags includes at least one condition tag;
    获取待处理语音信息,将所述待处理语音信息输入至预设的自然语义处理NLP模型进行语义识别,并获取所述NLP模型输出的识别结果;Acquiring the speech information to be processed, inputting the speech information to be processed into a preset NLP model for semantic recognition, and obtaining the recognition result output by the NLP model;
    将所述识别信息与所述识别结果相匹配的所述可选意图确定为目标意图;determining the optional intent whose identification information matches the identification result as a target intent;
    将所述目标意图的所述意图标签输入至标签计数器,获取所述标签计数器得到的标签累计结果,其中,所述标签累计结果包括所述标签计数器在所述业务流程开始后获取到的全部所述意图标签;inputting the intent tag of the target intent into a tag counter, and obtaining a tag accumulation result obtained by the tag counter, wherein the tag accumulation result includes all the tags obtained by the tag counter after the business process starts descriptive intent label;
    匹配所述条件标签集与所述标签累计结果,将匹配成功的所述条件标签集所关联的所述流程节点确定为目标流程节点;matching the condition label set and the label accumulation result, and determining the process node associated with the successfully matched condition label set as a target process node;
    跳转至所述目标流程节点,并将所述目标流程节点确定为新的待处理节点。Jump to the target process node, and determine the target process node as a new node to be processed.
  2. 根据权利要求1所述的方法,其中,在所述将当前在业务流程中所处的流程节点确定为待处理节点之后,所述方法还包括:The method according to claim 1, wherein, after the process node currently located in the business process is determined as the node to be processed, the method further comprises:
    当所述待处理节点为所述业务流程的首节点,创建并初始化所述标签计数器。When the node to be processed is the first node of the business process, create and initialize the tag counter.
  3. 根据权利要求1所述的方法,其中,所述将所述目标意图的所述意图标签输入至标签计数器,获取所述标签计数器得到的标签累计结果,包括:The method according to claim 1, wherein the inputting the intention label of the target intention into a label counter, and obtaining the label accumulation result obtained by the label counter includes:
    获取所述条件标签集的所述条件标签的数量,得到第一数量;Acquiring the quantity of the conditional labels in the conditional label set to obtain the first quantity;
    获取所述标签累计结果的所述意图标签的数量,得到第二数量;Acquiring the quantity of the intention label of the accumulation result of the label to obtain the second quantity;
    当所述第一数量与所述第二数量相同,且所述条件标签集的所述条件标签与所述标签累计结果的所述意图标签一一对应时,确定所述条件标签集与所述标签累计结果匹配成功。When the first quantity is the same as the second quantity, and the condition labels of the condition label set correspond to the intent labels of the label accumulation result one-to-one, determine that the condition label set and the The tag accumulative result matches successfully.
  4. 根据权利要求3所述的方法,其中,所述意图标签包括类型标签和属性标签,所述将所述目标意图的所述意图标签输入至标签计数器,获取所述标签计数器得到的标签累计结果,包括:The method according to claim 3, wherein the intent tag includes a type tag and an attribute tag, inputting the intent tag of the target intent into a tag counter, and obtaining the tag accumulation result obtained by the tag counter, include:
    将所述目标意图的所述类型标签和所述属性标签输入至所述标签计数器;inputting the type tag and the attribute tag of the target intent into the tag counter;
    通过所述标签计数器得到第一标签累计结果和第二标签累计结果,其中,所述第一标签累计结果包括所述标签计数器在所述业务流程开始后获取到的全部所述类型标签,所述第二标签累计结果包括所述标签计数器在所述业务流程开始后获取到的全部所述属性标签;The first tag accumulation result and the second tag accumulation result are obtained through the tag counter, wherein the first tag accumulation result includes all tags of the type acquired by the tag counter after the business process starts, the The second tag accumulation result includes all the attribute tags acquired by the tag counter after the business process starts;
    通过所述标签计数器组合所述第一标签累计结果和所述第二标签累计结果,得到的所述标签累计结果;The label accumulation result obtained by combining the first label accumulation result and the second label accumulation result by the label counter;
    获取所述标签计数器输出的所述标签累计结果。Obtain the tag accumulation result output by the tag counter.
  5. 根据权利要求4所述的方法,其中,所述条件标签包括条件类型标签和条件属性标签,所述当所述条件标签集的所述条件标签与所述标签累计结果的所述意图标签一一对应时,确定所述条件标签集与所述标签累计结果匹配成功,包括:The method according to claim 4, wherein the condition tag includes a condition type tag and a condition attribute tag, and when the condition tag of the condition tag set and the intent tag of the tag accumulation result are one by one When corresponding, it is determined that the condition tag set matches the tag accumulation result successfully, including:
    将所关联的所述条件类型标签与所述第一标签累计结果的所述类型标签相匹配的流程节点确定为备选流程节点;determining a process node whose associated condition type label matches the type label of the first label accumulation result as a candidate process node;
    当所述备选流程节点所关联的所述条件属性标签与所述第二标签累计结果所对应的所述属性标签相匹配时,确定所述条件标签集与所述标签累计结果匹配成功。When the condition attribute label associated with the candidate process node matches the attribute label corresponding to the second label accumulation result, it is determined that the condition label set matches the label accumulation result successfully.
  6. 根据权利要求1所述的方法,其中,所述识别结果包括第一关键词信息,所述识别信息包括第二关键词信息,所述识别信息与所述识别结果相匹配至少包括如下之一情况:The method according to claim 1, wherein the recognition result includes first keyword information, the recognition information includes second keyword information, and the matching of the recognition information with the recognition result includes at least one of the following situations :
    所述第一关键词信息与所述第二关键词信息相同;The first keyword information is the same as the second keyword information;
    或者,or,
    所述第一关键词信息与所述第二关键词信息表征相同的语义。The first keyword information and the second keyword information represent the same semantics.
  7. 根据权利要求1所述的方法,其中,所述流程节点还包括话术信息,所述获取待处理语音信息还包括:The method according to claim 1, wherein the process node further includes speech information, and the acquiring the voice information to be processed further includes:
    播放所述话术信息;Play the script information;
    在所述话术信息播放完成后的预设时间范围内,或者在所述话术信息的播放过程中,若检测到语音输入,则获取输入的语音信息;Within a preset time range after the speech information is played, or during the playback of the speech information, if a voice input is detected, the input voice information is acquired;
    将获取到的所述语音信息确定为所述待处理语音信息。Determining the acquired voice information as the voice information to be processed.
  8. 一种基于意图识别的流程节点跳转装置,其中,包括:A device for jumping process nodes based on intent recognition, including:
    待处理节点确定单元,用于将业务流程当前所处的流程节点确定为待处理节点,其中,所述业务流程预设有至少两个所述流程节点,所述流程节点关联有条件标签集和可选意图,所述可选意图关联有识别信息和意图标签,不同的所述可选意图所关联的所述意图标签互不相同,所述条件标签集包括至少一个条件标签;A node to be processed determining unit, configured to determine the process node where the business process is currently located as a node to be processed, wherein the business process is preset with at least two process nodes, and the process node is associated with a conditional label set and Optional intents, the optional intents are associated with identification information and intent tags, the intent tags associated with different optional intents are different from each other, and the conditional tag set includes at least one conditional tag;
    语音处理单元,用于获取待处理语音信息,将所述待处理语音信息输入至预设的NLP模型进行语义识别,并获取所述NLP模型输出的识别结果;A speech processing unit, configured to obtain speech information to be processed, input the speech information to be processed into a preset NLP model for semantic recognition, and obtain a recognition result output by the NLP model;
    意图出口确定单元,用于将所述识别信息与所述识别结果相匹配的所述可选意图确定为目标意图;an intention exit determination unit, configured to determine the optional intention whose identification information matches the identification result as a target intention;
    第一计数单元,用于将所述目标意图的所述意图标签输入至标签计数器,获取所述标签计数器得到的标签累计结果,其中,所述标签累计结果包括所述标签计数器在所述业务流程开始后获取到的全部所述意图标签;The first counting unit is configured to input the intent label of the target intention into a label counter, and obtain the label accumulation result obtained by the label counter, wherein the label accumulation result includes the label counter in the business process All said intent tags fetched after start;
    目标流程节点确定单元,用于匹配所述条件标签集与所述标签累计结果,将匹配成功的所述条件标签集所关联的所述流程节点确定为目标流程节点;A target process node determining unit, configured to match the condition label set and the label accumulation result, and determine the process node associated with the condition label set that matches successfully as a target process node;
    节点跳转单元,用于跳转至所述目标流程节点,并将所述目标流程节点确定为新的待处理节点。A node jumping unit, configured to jump to the target process node, and determine the target process node as a new node to be processed.
  9. 一种电子设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,所述处理器执行所述计算机程序时实现基于意图识别的流程节点跳转方法;An electronic device, comprising: a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein, when the processor executes the computer program, a process node jump method based on intent identification is implemented;
    其中,所述基于意图识别的流程节点跳转方法包括:Wherein, the process node jump method based on intent identification includes:
    将当前在业务流程中所处的流程节点确定为待处理节点,其中,所述业务流程预设有至少两个所述流程节点,所述流程节点关联有条件标签集和可选意图,所述可选意图关联有识别信息和意图标签,不同的所述可选意图所关联的所述意图标签互不相同,所述条件标签集包括至少一个条件标签;Determine the current process node in the business process as a node to be processed, wherein the business process is preset with at least two process nodes, and the process nodes are associated with a conditional label set and an optional intent, the Optional intents are associated with identification information and intent tags, the intent tags associated with different optional intents are different from each other, and the set of condition tags includes at least one condition tag;
    获取待处理语音信息,将所述待处理语音信息输入至预设的自然语义处理NLP模型进行语义识别,并获取所述NLP模型输出的识别结果;Acquiring the speech information to be processed, inputting the speech information to be processed into a preset NLP model for semantic recognition, and obtaining the recognition result output by the NLP model;
    将所述识别信息与所述识别结果相匹配的所述可选意图确定为目标意图;determining the optional intent whose identification information matches the identification result as a target intent;
    将所述目标意图的所述意图标签输入至标签计数器,获取所述标签计数器得到的标签累计结果,其中,所述标签累计结果包括所述标签计数器在所述业务流程开始后获取到的全部所述意图标签;inputting the intent tag of the target intent into a tag counter, and obtaining a tag accumulation result obtained by the tag counter, wherein the tag accumulation result includes all the tags obtained by the tag counter after the business process starts descriptive intent label;
    匹配所述条件标签集与所述标签累计结果,将匹配成功的所述条件标签集所关联的所述流程节点确定为目标流程节点;matching the condition label set and the label accumulation result, and determining the process node associated with the successfully matched condition label set as a target process node;
    跳转至所述目标流程节点,并将所述目标流程节点确定为新的待处理节点。Jump to the target process node, and determine the target process node as a new node to be processed.
  10. 根据权利要求9所述的一种电子设备,其中,在所述将当前在业务流程中所处的流程节点确定为待处理节点之后,所述方法还包括:An electronic device according to claim 9, wherein, after the process node currently located in the business process is determined as the node to be processed, the method further comprises:
    当所述待处理节点为所述业务流程的首节点,创建并初始化所述标签计数器。When the node to be processed is the first node of the business process, create and initialize the label counter.
  11. 根据权利要求9所述的一种电子设备,其中,所述将所述目标意图的所述意图标签输入至标签计数器,获取所述标签计数器得到的标签累计结果,包括:An electronic device according to claim 9, wherein said inputting the intention label of the target intention into a label counter, and acquiring the label accumulation result obtained by the label counter includes:
    获取所述条件标签集的所述条件标签的数量,得到第一数量;Acquiring the quantity of the conditional labels in the conditional label set to obtain the first quantity;
    获取所述标签累计结果的所述意图标签的数量,得到第二数量;Acquiring the quantity of the intention label of the accumulation result of the label to obtain the second quantity;
    当所述第一数量与所述第二数量相同,且所述条件标签集的所述条件标签与所述标签累计结果的所述意图标签一一对应时,确定所述条件标签集与所述标签累计结果匹配成功。When the first quantity is the same as the second quantity, and the condition labels of the condition label set correspond to the intent labels of the label accumulation result one-to-one, determine that the condition label set and the The tag accumulative result matches successfully.
  12. 根据权利要求11所述的一种电子设备,其中,所述意图标签包括类型标签和属性标签,所述将所述目标意图的所述意图标签输入至标签计数器,获取所述标签计数器得到的标签累计结果,包括:The electronic device according to claim 11, wherein the intent tag includes a type tag and an attribute tag, the input of the intent tag of the target intent into a tag counter, and obtaining the tag obtained by the tag counter Cumulative results, including:
    将所述目标意图的所述类型标签和所述属性标签输入至所述标签计数器;inputting the type tag and the attribute tag of the target intent into the tag counter;
    通过所述标签计数器得到第一标签累计结果和第二标签累计结果,其中,所述第一标签累计结果包括所述标签计数器在所述业务流程开始后获取到的全部所述类型标签,所述第二标签累计结果包括所述标签计数器在所述业务流程开始后获取到的全部所述属性标签;The first tag accumulation result and the second tag accumulation result are obtained through the tag counter, wherein the first tag accumulation result includes all tags of the type acquired by the tag counter after the business process starts, the The second tag accumulation result includes all the attribute tags acquired by the tag counter after the business process starts;
    通过所述标签计数器组合所述第一标签累计结果和所述第二标签累计结果,得到的所述标签累计结果;The label accumulation result obtained by combining the first label accumulation result and the second label accumulation result by the label counter;
    获取所述标签计数器输出的所述标签累计结果。Obtain the tag accumulation result output by the tag counter.
  13. 根据权利要求12所述的一种电子设备,其中,所述条件标签包括条件类型标签和条件属性标签,所述当所述条件标签集的所述条件标签与所述标签累计结果的所述意图标签一一对应时,确定所述条件标签集与所述标签累计结果匹配成功,包括:The electronic device according to claim 12, wherein the condition tag includes a condition type tag and a condition attribute tag, and when the condition tag of the condition tag set and the intent of the tag accumulation result When the tags are in one-to-one correspondence, it is determined that the conditional tag set matches the tag cumulative result successfully, including:
    将所关联的所述条件类型标签与所述第一标签累计结果的所述类型标签相匹配的流程节点确定为备选流程节点;determining a process node whose associated condition type label matches the type label of the first label accumulation result as a candidate process node;
    当所述备选流程节点所关联的所述条件属性标签与所述第二标签累计结果所对应的所述属性标签相匹配时,确定所述条件标签集与所述标签累计结果匹配成功。When the condition attribute label associated with the candidate process node matches the attribute label corresponding to the second label accumulation result, it is determined that the condition label set matches the label accumulation result successfully.
  14. 根据权利要求9所述的一种电子设备,其中,所述识别结果包括第一关键词信息,所述识别信息包括第二关键词信息,所述识别信息与所述识别结果相匹配至少包括如下之一情况:The electronic device according to claim 9, wherein the recognition result includes first keyword information, the recognition information includes second keyword information, and the matching of the recognition information with the recognition result includes at least the following One of the situations:
    所述第一关键词信息与所述第二关键词信息相同;The first keyword information is the same as the second keyword information;
    或者,or,
    所述第一关键词信息与所述第二关键词信息表征相同的语义。The first keyword information and the second keyword information represent the same semantics.
  15. 根据权利要求9所述的一种电子设备,其中,所述流程节点还包括话术信息,所述获取待处理语音信息还包括:The electronic device according to claim 9, wherein the process node further includes speech information, and the acquiring the voice information to be processed further includes:
    播放所述话术信息;Play the script information;
    在所述话术信息播放完成后的预设时间范围内,或者在所述话术信息的播放过程中,若检测到语音输入,则获取输入的语音信息;Within a preset time range after the speech information is played, or during the playback of the speech information, if a voice input is detected, the input voice information is acquired;
    将获取到的所述语音信息确定为所述待处理语音信息。Determining the acquired voice information as the voice information to be processed.
  16. 一种计算机可读存储介质,存储有计算机可执行指令,其中,所述计算机可执行指令用于执行基于意图识别的流程节点跳转方法;A computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute a process node jump method based on intent recognition;
    其中,所述基于意图识别的流程节点跳转方法包括:Wherein, the process node jump method based on intent identification includes:
    将当前在业务流程中所处的流程节点确定为待处理节点,其中,所述业务流程预设有至少两个所述流程节点,所述流程节点关联有条件标签集和可选意图,所述可选意图关联有识别信息和意图标签,不同的所述可选意图所关联的所述意图标签互不相同,所述条件标签集包括至少一个条件标签;Determine the current process node in the business process as a node to be processed, wherein the business process is preset with at least two process nodes, and the process nodes are associated with a conditional label set and an optional intent, the Optional intents are associated with identification information and intent tags, the intent tags associated with different optional intents are different from each other, and the set of condition tags includes at least one condition tag;
    获取待处理语音信息,将所述待处理语音信息输入至预设的自然语义处理NLP模型进行语义识别,并获取所述NLP模型输出的识别结果;Acquiring the speech information to be processed, inputting the speech information to be processed into a preset NLP model for semantic recognition, and obtaining the recognition result output by the NLP model;
    将所述识别信息与所述识别结果相匹配的所述可选意图确定为目标意图;determining the optional intent whose identification information matches the identification result as a target intent;
    将所述目标意图的所述意图标签输入至标签计数器,获取所述标签计数器得到的标签累计结果,其中,所述标签累计结果包括所述标签计数器在所述业务流程开始后获取到的全部所述意图标签;inputting the intent tag of the target intent into a tag counter, and obtaining a tag accumulation result obtained by the tag counter, wherein the tag accumulation result includes all the tags obtained by the tag counter after the business process starts descriptive intent label;
    匹配所述条件标签集与所述标签累计结果,将匹配成功的所述条件标签集所关联的所述流程节点确定为目标流程节点;matching the condition label set and the label accumulation result, and determining the process node associated with the successfully matched condition label set as a target process node;
    跳转至所述目标流程节点,并将所述目标流程节点确定为新的待处理节点。Jump to the target process node, and determine the target process node as a new node to be processed.
  17. 根据权利要求16所述的一种计算机可读存储介质,其中,在所述将当前在业务流程中所处的流程节点确定为待处理节点之后,所述方法还包括:A computer-readable storage medium according to claim 16, wherein, after the process node currently located in the business process is determined as the node to be processed, the method further comprises:
    当所述待处理节点为所述业务流程的首节点,创建并初始化所述标签计数器。When the node to be processed is the first node of the business process, create and initialize the label counter.
  18. 根据权利要求16所述的一种计算机可读存储介质,其中,所述将所述目标意图的所述意图标签输入至标签计数器,获取所述标签计数器得到的标签累计结果,包括:A computer-readable storage medium according to claim 16, wherein said inputting the intention label of the target intention into a label counter, and acquiring the label accumulation result obtained by the label counter comprises:
    获取所述条件标签集的所述条件标签的数量,得到第一数量;Acquiring the quantity of the conditional labels in the conditional label set to obtain the first quantity;
    获取所述标签累计结果的所述意图标签的数量,得到第二数量;Acquiring the quantity of the intention label of the accumulation result of the label to obtain the second quantity;
    当所述第一数量与所述第二数量相同,且所述条件标签集的所述条件标签与所述标签累计结果的所述意图标签一一对应时,确定所述条件标签集与所述标签累计结果匹配成功。When the first quantity is the same as the second quantity, and the condition labels of the condition label set correspond to the intent labels of the label accumulation result one-to-one, determine that the condition label set and the The tag accumulative result matches successfully.
  19. 根据权利要求18所述的一种计算机可读存储介质,其中,所述意图标签包括类型标签和属性标签,所述将所述目标意图的所述意图标签输入至标签计数器,获取所述标签计数器得到的标签累计结果,包括:The computer-readable storage medium according to claim 18, wherein the intent tag includes a type tag and an attribute tag, the input of the intent tag of the target intent into a tag counter, and obtaining the tag counter The accumulated label results obtained include:
    将所述目标意图的所述类型标签和所述属性标签输入至所述标签计数器;inputting the type tag and the attribute tag of the target intent into the tag counter;
    通过所述标签计数器得到第一标签累计结果和第二标签累计结果,其中,所述第一标签累计结果包括所述标签计数器在所述业务流程开始后获取到的全部所述类型标签,所述第二标签累计结果包括所述标签计数器在所述业务流程开始后获取到的全部所述属性标签;The first tag accumulation result and the second tag accumulation result are obtained through the tag counter, wherein the first tag accumulation result includes all tags of the type acquired by the tag counter after the business process starts, the The second tag accumulation result includes all the attribute tags acquired by the tag counter after the business process starts;
    通过所述标签计数器组合所述第一标签累计结果和所述第二标签累计结果,得到的所述标签累计结果;The label accumulation result obtained by combining the first label accumulation result and the second label accumulation result by the label counter;
    获取所述标签计数器输出的所述标签累计结果。Obtain the tag accumulation result output by the tag counter.
  20. 根据权利要求19所述的一种计算机可读存储介质,其中,所述条件标签包括条件类型标签和条件属性标签,所述当所述条件标签集的所述条件标签与所述标签累计结果的所述意图标签一一对应时,确定所述条件标签集与所述标签累计结果匹配成功,包括:The computer-readable storage medium according to claim 19, wherein the condition tag includes a condition type tag and a condition attribute tag, and when the condition tag of the condition tag set and the tag accumulation result When the intent tags are in one-to-one correspondence, it is determined that the condition tag set matches the tag accumulation result successfully, including:
    将所关联的所述条件类型标签与所述第一标签累计结果的所述类型标签相匹配的流程节点确定为备选流程节点;determining a process node whose associated condition type label matches the type label of the first label accumulation result as a candidate process node;
    当所述备选流程节点所关联的所述条件属性标签与所述第二标签累计结果所对应的所述属性标签相匹配时,确定所述条件标签集与所述标签累计结果匹配成功。When the condition attribute label associated with the candidate process node matches the attribute label corresponding to the second label accumulation result, it is determined that the condition label set matches the label accumulation result successfully.
PCT/CN2022/071073 2021-09-10 2022-01-10 Intention recognition-based process node jump method and apparatus, device, and medium WO2023035524A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111061994.4 2021-09-10
CN202111061994.4A CN113593533B (en) 2021-09-10 2021-09-10 Method, device, equipment and medium for jumping flow node based on intention recognition

Publications (1)

Publication Number Publication Date
WO2023035524A1 true WO2023035524A1 (en) 2023-03-16

Family

ID=78241786

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/071073 WO2023035524A1 (en) 2021-09-10 2022-01-10 Intention recognition-based process node jump method and apparatus, device, and medium

Country Status (2)

Country Link
CN (1) CN113593533B (en)
WO (1) WO2023035524A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116665676A (en) * 2023-07-31 2023-08-29 枣庄福缘网络科技有限公司 Semantic recognition method for intelligent voice outbound system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113593533B (en) * 2021-09-10 2023-05-02 平安科技(深圳)有限公司 Method, device, equipment and medium for jumping flow node based on intention recognition

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019164020A1 (en) * 2018-02-20 2019-08-29 엘지전자 주식회사 Display device
CN111078855A (en) * 2019-12-19 2020-04-28 联想(北京)有限公司 Information processing method, information processing device, electronic equipment and storage medium
CN111324727A (en) * 2020-02-19 2020-06-23 百度在线网络技术(北京)有限公司 User intention recognition method, device, equipment and readable storage medium
CN112163081A (en) * 2020-10-14 2021-01-01 网易(杭州)网络有限公司 Label determination method, device, medium and electronic equipment
CN112732882A (en) * 2020-12-30 2021-04-30 平安科技(深圳)有限公司 User intention identification method, device, equipment and computer readable storage medium
CN112989035A (en) * 2020-12-22 2021-06-18 平安普惠企业管理有限公司 Method, device and storage medium for recognizing user intention based on text classification
CN113593533A (en) * 2021-09-10 2021-11-02 平安科技(深圳)有限公司 Flow node skipping method, device, equipment and medium based on intention recognition

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104951458B (en) * 2014-03-26 2019-03-01 华为技术有限公司 Help processing method and equipment based on semantics recognition
CN110956956A (en) * 2019-12-13 2020-04-03 集奥聚合(北京)人工智能科技有限公司 Voice recognition method and device based on policy rules
CN111488447B (en) * 2020-04-16 2023-06-13 上海茂声智能科技有限公司 Method and device for jumping intention node and jumping equipment
CN112185358A (en) * 2020-08-24 2021-01-05 维知科技张家口有限责任公司 Intention recognition method, model training method, device, equipment and medium
CN112905901A (en) * 2020-09-11 2021-06-04 卞美玲 Service interest extraction method, system and platform oriented to big data positioning

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019164020A1 (en) * 2018-02-20 2019-08-29 엘지전자 주식회사 Display device
CN111078855A (en) * 2019-12-19 2020-04-28 联想(北京)有限公司 Information processing method, information processing device, electronic equipment and storage medium
CN111324727A (en) * 2020-02-19 2020-06-23 百度在线网络技术(北京)有限公司 User intention recognition method, device, equipment and readable storage medium
CN112163081A (en) * 2020-10-14 2021-01-01 网易(杭州)网络有限公司 Label determination method, device, medium and electronic equipment
CN112989035A (en) * 2020-12-22 2021-06-18 平安普惠企业管理有限公司 Method, device and storage medium for recognizing user intention based on text classification
CN112732882A (en) * 2020-12-30 2021-04-30 平安科技(深圳)有限公司 User intention identification method, device, equipment and computer readable storage medium
CN113593533A (en) * 2021-09-10 2021-11-02 平安科技(深圳)有限公司 Flow node skipping method, device, equipment and medium based on intention recognition

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116665676A (en) * 2023-07-31 2023-08-29 枣庄福缘网络科技有限公司 Semantic recognition method for intelligent voice outbound system
CN116665676B (en) * 2023-07-31 2023-09-22 枣庄福缘网络科技有限公司 Semantic recognition method for intelligent voice outbound system

Also Published As

Publication number Publication date
CN113593533A (en) 2021-11-02
CN113593533B (en) 2023-05-02

Similar Documents

Publication Publication Date Title
US11030412B2 (en) System and method for chatbot conversation construction and management
CN106776936B (en) Intelligent interaction method and system
US20190019077A1 (en) Automatic configuration of cognitive assistant
US20200089709A1 (en) Providing command bundle suggestions for an automated assistant
US8903711B2 (en) System and methods for semiautomatic generation and tuning of natural language interaction applications
WO2023035524A1 (en) Intention recognition-based process node jump method and apparatus, device, and medium
US20170337261A1 (en) Decision Making and Planning/Prediction System for Human Intention Resolution
US7904440B2 (en) Search diagnostics based upon query sets
EP3776175B1 (en) Action validation for digital assistant-based applications
CN109727041A (en) Intelligent customer service takes turns answering method, equipment, storage medium and device more
US20230092702A1 (en) Database systems and methods of naming record groups
EP2172839A1 (en) Methods for identifying and/or analyzing concepts and systems thereof
US20210142291A1 (en) Virtual business assistant ai engine for multipoint communication
US8972404B1 (en) Methods and systems for organizing content
CN113051362B (en) Data query method, device and server
US11893993B2 (en) Interfacing with applications via dynamically updating natural language processing
US11514896B2 (en) Interfacing with applications via dynamically updating natural language processing
CN110390182B (en) Method, system and equipment for determining applet category
JP7436077B2 (en) Skill voice wake-up method and device
US20220052976A1 (en) Answer text processing methods and apparatuses, and key text determination methods
CN112149419B (en) Method, device and system for normalized automatic naming of fields
US11935536B2 (en) Action validation for digital assistant-based applications
CN111813900A (en) Multi-turn conversation processing method and device, electronic equipment and storage medium
US11769013B2 (en) Machine learning based tenant-specific chatbots for performing actions in a multi-tenant system
WO2021185113A1 (en) Data analysis method based on multiple analysis tasks and electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22866004

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE