WO2021047189A1 - Method and apparatus for interactive session information processing, computer device and storage medium - Google Patents

Method and apparatus for interactive session information processing, computer device and storage medium Download PDF

Info

Publication number
WO2021047189A1
WO2021047189A1 PCT/CN2020/087775 CN2020087775W WO2021047189A1 WO 2021047189 A1 WO2021047189 A1 WO 2021047189A1 CN 2020087775 W CN2020087775 W CN 2020087775W WO 2021047189 A1 WO2021047189 A1 WO 2021047189A1
Authority
WO
WIPO (PCT)
Prior art keywords
slot
information
speculative
slots
analysis model
Prior art date
Application number
PCT/CN2020/087775
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 WO2021047189A1 publication Critical patent/WO2021047189A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • G06F16/3329Natural language query formulation or dialogue systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting

Definitions

  • This application relates to the field of computer technology, and in particular to a method, device, computer equipment and storage medium for interactive processing of session information.
  • a method for processing session information interaction comprising:
  • the session information includes a user ID and a service type
  • the interaction information of the next interaction node is generated according to the target slot information, and the interaction information is pushed to the user terminal corresponding to the user identifier.
  • important factors of multiple slots are deployed in the relationship analysis model
  • the step of identifying the associated speculative slots according to the multiple slots includes: comparing multiple slots with the relationship analysis model Perform feature extraction of slots and slot values to obtain corresponding slot vectors; calculate the relevance between multiple slot vectors based on the important factors of multiple slots; calculate multiple based on the relevance between multiple slot vectors The correlation between a slot vector and a candidate slot; extract the candidate slot whose correlation reaches a preset threshold, and use the candidate slot as a speculative slot.
  • the step of calculating the speculative slot value corresponding to the speculative slot according to the plurality of slot values in the session information includes: calculating the speculative slot corresponding to the speculative slot according to the plurality of slots and the slot value Probability distribution values of multiple elements; calculate the confidence levels of multiple elements according to the probability distribution values; if there is no element whose confidence level meets the threshold, use the speculative slot as the target slot of the next node session.
  • the method further includes: if there is an element whose confidence level meets the threshold, determining the element as the speculative slot value corresponding to the speculative slot; and comparing the speculative slot with the speculative slot
  • the slot value is added to the slot information set of the user identification; the slot information set is matched with the slot definition table of the service type, and the candidate slot is determined according to the matching result; the known slot information is calculated
  • the correlation with the candidate slot is extracted, and the candidate slot whose correlation reaches a preset threshold is extracted, and the candidate slot is used as the target slot of the next interactive node.
  • the method before obtaining the trained relationship analysis model, further includes: obtaining a plurality of sample data, and dividing the sample data into a training set and a verification set, and the sample data includes a plurality of slot information; Input the training data into a preset network model, train the dependency relationships between multiple slots and the corresponding probability distributions according to the preset network model, and generate an initial relationship analysis model; The initial relationship analysis model is further trained and verified to obtain category probabilities corresponding to multiple verification data; until the number of category probabilities corresponding to the verification data within the preset range reaches a preset threshold, the training is stopped to obtain the required Relationship analysis model.
  • the method further includes: when the slot information in the slot information set identified by the user meets a preset threshold, obtaining product data corresponding to the service type, the product data including attributes Information; calculate the matching degree between the slot information of the user ID and the attribute information of multiple product data; obtain the product data whose matching degree reaches the matching degree threshold, and push the product data to the user corresponding to the user ID terminal.
  • a device for processing session information interaction comprising:
  • a data acquisition module configured to acquire session information sent by a user terminal, where the session information includes user identification and service type;
  • a slot identification module configured to perform slot identification on the session information, and identify the slot and the slot value in the session information
  • the slot analysis module obtains the trained relationship analysis model according to the service type, inputs the identified slot and slot value into the relationship analysis model, identifies the associated speculative slot according to multiple slots, and calculates The correlation between the slot and a plurality of speculative slots; extract the speculative slot whose correlation reaches the threshold, and calculate the speculative slot corresponding to the speculative slot according to the multiple slot values in the session information Value; Determine the target slot information of the next interactive node according to the slot information and the inferred slot information;
  • the interactive information sending module is configured to generate the interactive information of the next interactive node according to the target slot information, and push the interactive information to the user terminal corresponding to the user identifier.
  • the device further includes a product data push module, configured to obtain product data corresponding to the service type when the slot information in the slot information set identified by the user meets a preset threshold,
  • the product data includes attribute information; the matching degree between the slot information of the user identification and the attribute information of a plurality of product data is calculated; the product data whose matching degree reaches the matching degree threshold is obtained, and the product data is pushed to all The user terminal corresponding to the user ID.
  • a computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the session information interaction processing method provided in any embodiment of the present application when the processor executes the computer program.
  • a computer-readable storage medium has a computer program stored thereon, and when the computer program is executed by a processor, it implements the steps of the session information interactive processing method provided in any one of the embodiments of the present application.
  • the server obtains the session information sent by the user terminal, it performs slot identification on the session information, and identifies the slot and slot value in the session information.
  • the server obtains the trained relationship analysis model according to the business type of the current session, and analyzes related speculation slots based on the identified slots and slot values through the relationship analysis model, so as to accurately and effectively identify and analyze the associated speculations Slot and speculative slot value.
  • the server can then effectively determine the target slot information of the next interactive node based on the identified slot information and the analyzed speculative slot information, and generate the query information of the next interactive node based on the target slot information, and then query The information is sent to the corresponding user terminal, so that the user terminal can further input corresponding session information according to the query information, so as to effectively conduct interactive query for the user slot information, thereby accurately and effectively pushing accurate push data to the user terminal.
  • the relationship analysis model can accurately and effectively infer and analyze the associated slot information based on the known information, which can effectively save unnecessary dialogue branches, thereby effectively improving the efficiency of conversational information interaction processing.
  • Fig. 1 is an application scenario diagram of a session information interaction processing method in an embodiment
  • FIG. 2 is a schematic flowchart of a method for processing session information interaction in an embodiment
  • FIG. 3 is a schematic flow chart of the step of calculating the inferred slot value in an embodiment
  • FIG. 4 is a schematic flowchart of the step of calculating the inferred slot value in another embodiment
  • Figure 5 is a structural block diagram of a session information interaction processing device in an embodiment
  • Fig. 6 is an internal structure diagram of a computer device in an embodiment.
  • the session information interaction processing method provided in this application can be applied to the application environment as shown in FIG. 1.
  • the user terminal 102 communicates with the server 104 via the network.
  • the user terminal 102 may send session information to the server 104.
  • the server 104 obtains the session information sent by the user terminal, the server 104 performs slot identification on the session information, and identifies the slot and the slot value in the session information.
  • the trained relationship analysis model is obtained according to the business type of the current session, and the related speculative slot is analyzed according to the identified slot and the slot value through the relationship analysis model.
  • the user terminal 102 of the user terminal 102 enables the user terminal 102 to further input corresponding session information for interaction according to the query information.
  • the user terminal 102 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices.
  • the server 104 may be implemented by an independent server or a server cluster composed of multiple servers.
  • a method for processing session information interaction is provided. Taking the method applied to the server in FIG. 1 as an example for description, the method includes the following steps:
  • Step 202 Obtain the session information sent by the user terminal.
  • the session information includes the user ID and the service type.
  • the session information can be input and sent to the corresponding server, and the server can recognize the session information sent by the user and return corresponding reply information for human-computer interaction.
  • the common intelligent consulting interactive system For example, the common intelligent consulting interactive system.
  • the server may obtain the session information sent by the user terminal.
  • the session information includes the service type and may also include the user identification.
  • the session information may include historical session information and current session information sent by the user terminal, and reply information returned by the server to the user terminal.
  • Step 204 Perform slot identification on the session information, and identify the slot and the slot value in the session information.
  • the slot may refer to the key information attribute in the session information, for example, it may be the key information that the server needs to obtain; the slot value may refer to the specific content corresponding to the key information attribute in the session information. For example, it can be specific key information expressed by the user.
  • the information attribute corresponding to "sex" can be a slot, and "male” can be the slot value corresponding to the "sex" slot.
  • the server may pre-configure a slot definition table corresponding to the service type, and the slot definition table stores various slot information required by the service type.
  • the value of the slot may include an enumerable string type, an enumerable numeric type, a continuous numeric type, an enumerable numeric range, and so on.
  • the dependence of the slot can include dependence on other variables and independent variables.
  • the gender ratio is basically a stable ratio between 0-70 years old. If the ratio is more than 70 years old, the proportion of women will increase significantly. Therefore, the gender ratio can be reduced. Ratio is an independent variable and does not have a specific distribution with age.
  • the server After obtaining the session information sent by the user terminal, the server identifies the slot information in the session information. Specifically, the server may collect slot information. A plurality of slot keywords are stored in the slot definition table. The slot keywords correspond to corresponding slot information, and the slot information includes the slot and the corresponding slot value.
  • the server can perform keyword identification on the session information according to the slot definition table, and identify the slot information in the query information. Among them, the server recognizes the current session information and the session information adjacent to the historical session information according to multiple slot keywords, extracts the text information corresponding to the slot that matches the slot keyword in the slot definition table, and extracts The text information is used as the recognized slot and the corresponding slot value.
  • the server can also obtain corresponding user information according to the user identification, identify the user information and the obtained historical session information and current session information, and identify multiple slots and corresponding slot values.
  • the slot and the corresponding slot value are complete slot information.
  • Step 206 Obtain the trained relationship analysis model according to the service type, input the identified slot and the value of the slot into the relationship analysis model, and identify the associated speculative slot according to the multiple slots, and calculate the slot and multiple speculatives The correlation between the slots.
  • Step 208 Extract the speculative slot whose relevance reaches the threshold, and calculate the slot value corresponding to the speculative slot according to the multiple slot values in the session information.
  • the server can construct a relationship analysis model in advance, and the relationship analysis model can be an intelligent decision model based on a Bayesian network.
  • the server After identifying the slot information in the session information, the server obtains the trained relationship analysis model according to the service type, and inputs the identified slots and slot values into the relationship analysis model. The server then identifies the associated speculative slots according to the multiple slot information through the relationship analysis model, and calculates the relevance between the slots and the multiple speculative slots.
  • the server further extracts the speculative slot whose relevance reaches the threshold, and calculates the slot value corresponding to the speculative slot according to the multiple slot values in the session information. Specifically, the server analyzes and infers the element probability distribution value of the slot according to the slot value in the session information, and when there is a slot value that satisfies the threshold, it determines the slot value as the slot value of the inferred slot.
  • Step 210 Determine the target slot information of the next interactive node according to the slot information and the inferred slot information.
  • Step 212 Generate interactive information of the next interactive node according to the target slot, and push the interactive information to the user terminal corresponding to the user identifier.
  • the server After the server analyzes the slot information and the inferred slot information in the session information through the relationship analysis model, it determines the target slot information of the next interactive node according to the slot information and the inferred slot information. Specifically, the to-be-identified slot information corresponding to the service type can be calculated according to the existing slot information and the inferred slot information, and the to-be-identified slot information corresponding to the service type can be determined as the target slot information of the next interactive node.
  • the server then generates the interaction information of the next interaction node according to the target slot, and pushes the interaction information to the user terminal corresponding to the user identification.
  • the user terminal can input corresponding session information according to the interactive information, and the server can obtain complete slot information from the session information, so that it can accurately and effectively identify the key slot information in the session information, so as to effectively improve the efficiency of human-computer interaction. .
  • the slots of "gender” and “age” can be extracted, as well as the corresponding slot values of "gender: male” and “age: 0-4 years old”. Then through the relationship analysis model, the associated slot "education level” can be analyzed, and the slot value of the "education level” slot can be further analyzed according to the slot value "not attended elementary school", then it can be analyzed Obtain the slot value with higher confidence, and then skip the inquiry information about the "education level” slot. Further analyze the target slot of the next conversation node.
  • the relationship analysis model can accurately and effectively infer and analyze the associated slot information based on the known information, which can effectively save unnecessary dialogue branches, thereby effectively improving the efficiency of conversational information interaction processing.
  • the server after the server obtains the session information sent by the user terminal, it performs slot identification on the session information, and identifies the slot and the slot value in the session information.
  • the server then obtains the trained relationship analysis model according to the business type of the current session, and analyzes related speculation slots based on the identified slots and slot values through the relationship analysis model, so as to accurately and effectively identify and analyze the associated speculations Slot and speculative slot value.
  • the server can then effectively determine the target slot information of the next interactive node based on the identified slot information and the analyzed speculative slot information, and generate the query information of the next interactive node based on the target slot information, and then query The information is sent to the corresponding user terminal, so that the user terminal can further input corresponding session information according to the query information, so as to effectively perform interactive query for the user slot information, so as to accurately and effectively push accurate push data to the user terminal.
  • the relationship analysis model can accurately and effectively infer and analyze the associated slot information based on the known information, which can effectively save unnecessary dialogue branches, thereby effectively improving the efficiency of conversational information interaction processing.
  • the step of identifying associated speculative slots based on multiple slots includes: performing feature extraction on multiple slots and slot values through a relationship analysis model to obtain corresponding slot vectors; Calculate the relevance between multiple slot vectors; calculate the relevance between multiple slot vectors and candidate slots according to the relevance between multiple slot vectors; extract the relevance to a preset threshold Candidate slots are considered as speculative slots.
  • the server After the server receives the session information sent by the user terminal, it performs slot identification on the session information, and identifies the slot and slot value in the session information. The server then obtains the trained relationship analysis model according to the service type of the current session, and analyzes the relevant speculative slot according to the identified slot and the slot value through the relationship analysis model. Specifically, the server performs feature extraction on the identified multiple slots and corresponding slot values through the relationship analysis model, and extracts the corresponding slot vector.
  • the server then calculates the correlation between the multiple slot vectors based on the important factors of the multiple slots deployed in the relationship analysis model, and then calculates the multiple slot vectors and candidate slots based on the correlation between the multiple slot vectors The correlation between.
  • the server obtains a candidate slot whose relevance reaches a preset threshold, and uses the candidate slot as a speculative slot. In this way, the server can effectively base on the identified slot information and the analyzed inferred slot information.
  • the slot types of "sex” and “age” can be extracted, as well as the corresponding slot values of "sex: male” and “age: 15 years old".
  • age and gender can be two important factors that determine the educational procedure.
  • the relationship analysis model can be used to analyze the associated "education level” slot, and the two candidate slots of "marital status” and “reproductive status” can be directly excluded.
  • the server then obtains the associated slots, and then It can effectively analyze the slot value of the associated slot.
  • the step of calculating the corresponding speculative slot value of the speculative slot according to multiple slot values in the session information specifically includes the following content:
  • Step 302 Calculate the probability distribution values of the multiple elements corresponding to the inferred slots according to the multiple slots and the slot values.
  • Step 304 Calculate the confidence of multiple elements according to the probability distribution value.
  • step 306 if there is no element whose confidence level meets the threshold, the inferred slot is used as the target slot of the next node session.
  • the server After obtaining the session information sent by the user terminal, the server performs slot identification on the session information, and identifies the slot and the slot value in the session information. The server then obtains the trained relationship analysis model according to the service type of the current session, and analyzes the relevant speculative slot according to the identified slot and the slot value through the relationship analysis model. Specifically, the server performs feature extraction on multiple slots and slot values through the relationship analysis model to obtain corresponding slot vectors, and then calculates the correlation between the multiple slot vectors according to the important factors of the multiple slots. The server calculates the relevance between the multiple slot vectors and the candidate slots according to the relevance between the multiple slot vectors, extracts the preset slots whose relevance reaches the preset threshold, and then extracts the candidate slots As a speculative slot.
  • the server After the server extracts the inferred slot based on the existing slot information, it further calculates the inferred slot value corresponding to the inferred slot. Specifically, the server calculates the probability distribution values of multiple elements corresponding to the inferred slot according to the slot value corresponding to the slot. Among them, the slot value can be a numerical interval. The server further calculates the probability confidence of multiple slot values based on the distribution probability. When there is no slot value with the probability confidence meeting the threshold, it means that the slot value corresponding to the speculative slot is unknown, and the user needs to be further prompted to enter the corresponding Answer information.
  • the server can directly use the speculative slot as the target speculative slot of the next interactive node, generate corresponding interactive information according to the target speculative slot, and send the interactive information to the user terminal so that the user can input the interactive information through the user terminal
  • the corresponding answer information is interacted so that the server can push the corresponding push data to the user after obtaining the required slot information.
  • the relationship analysis model can be a Bayesian network-based model.
  • X is called a Bayesian network relative to a directed acyclic graph G
  • pa(i) represents the "cause" of node i.
  • its joint distribution can be compared with the respective local conditional probability distributions.
  • the joint probability distribution of a Bayesian network can be:
  • Xi corresponds to each corresponding "dependent" variable Xj.
  • the difference between the above two expressions lies in the part of conditional probability.
  • a Bayesian network if its "dependent" variable is known, some nodes will be conditionally independent from its "dependent” variable, and only those related to the "dependent” variable The node will have conditional probability.
  • E is the education level
  • A is the age
  • G is the gender.
  • E, A, G form a directed acyclic graph.
  • the formula for calculating the probability distribution value of multiple elements can be:
  • E can be education level
  • A can be age
  • G can be gender.
  • a and G can be two independent variables.
  • G can have two values, namely G0 and G1.
  • the probability distribution value corresponding to the "sex" slot can be as follows:
  • the "age" slot can have 20 values, namely A0-A19, and the probability distribution value can be as follows:
  • the probability distribution value of the "Education Level” slot can be as follows:
  • the set threshold can be 0.95. Therefore, if the confidence of E0 satisfies the preset threshold, it can be concluded that the value of the slot that satisfies the confidence of the "education level" slot is "has not attended elementary school".
  • the server can skip the question corresponding to this slot and does not need to further send the inquiry information corresponding to the "education level” slot to the user terminal.
  • the server can accurately and effectively infer and analyze the inferred slot and the corresponding inferred slot value through the relationship analysis model based on the known slot information, so as to effectively generate the corresponding interactive information according to the target inferred slot to improve the interaction efficiency.
  • the step of calculating the corresponding speculative slot value of the speculative slot according to multiple slot values in the session information specifically includes the following content:
  • Step 402 If there is an element whose confidence level meets the threshold, the element is determined as the speculative slot value corresponding to the speculative slot.
  • Step 404 Add the speculative slot and the speculative slot value to the slot information set identified by the user.
  • Step 406 Perform matching according to the slot information set and the slot definition table of the service type, and determine the candidate slot according to the matching result.
  • Step 408 Calculate the correlation between the known slot information and the candidate slot, extract the candidate slot whose correlation reaches the preset threshold, and use the candidate slot as the target slot of the next interactive node.
  • the server After obtaining the session information sent by the user terminal, the server performs slot identification on the session information, and identifies the slot and the slot value in the session information. The server then obtains the trained relationship analysis model according to the service type of the current session, and analyzes the relevant speculative slot according to the identified slot and the slot value through the relationship analysis model.
  • the server performs feature extraction on multiple slots and slot values through the relationship analysis model to obtain corresponding slot vectors, and then calculates the correlation between the multiple slot vectors according to the important factors of the multiple slots.
  • the server calculates the relevance between the multiple slot vectors and the candidate slots according to the relevance between the multiple slot vectors, extracts the preset slots whose relevance reaches the preset threshold, and then extracts the candidate slots As a speculative slot.
  • the server After the server extracts the inferred slot based on the existing slot information, it further calculates the inferred slot value corresponding to the inferred slot. Specifically, the server calculates the probability distribution values of multiple elements corresponding to the inferred slot according to the slot value corresponding to the slot. The server further calculates the probability confidence of multiple slot values based on the distribution probability. When there is no slot value with the probability confidence meeting the threshold, it means that the slot value corresponding to the speculative slot is unknown, and the user needs to be further prompted to enter the corresponding Answer information. The server can directly use the speculative slot as the target speculative slot of the next interactive node.
  • the server determines the element as the speculative slot value corresponding to the speculative slot.
  • the server may configure a slot definition table corresponding to the service type in advance, and the slot definition table stores various slot information required by the service type.
  • the server can pre-establish a set of slot information corresponding to the user ID. After the server analyzes and obtains the known slot information corresponding to the user ID, it adds the identified slot information and the analyzed speculative slot information to the corresponding user ID. Slot information collection.
  • the server further matches the slot definition table of the service type according to the slot information set, and determines the candidate slot according to the matching result. For example, the server can match the slot information in the slot definition table of the service type according to the known slot information in the slot information set, identify the remaining unknown slot information in the slot definition table, and replace the unknown slot with the slot information in the slot definition table of the service type. The information is determined as a candidate slot.
  • the server calculates the correlation between the multiple known slot information and the candidate slot, extracts the candidate slot whose correlation reaches the preset threshold, and uses the candidate slot as the target slot of the next interactive node.
  • the server can then generate query information for the next interactive node based on the target slot information, and send the query information to the corresponding user terminal, so that the user terminal can further input corresponding session information according to the query information, thereby effectively targeting the user slot information
  • the relationship analysis model can accurately and effectively infer and analyze the associated slot information based on the known information, which can effectively save unnecessary dialogue branches, thereby effectively improving the efficiency of conversational information interaction processing.
  • the server before acquiring the trained relationship analysis model, the server further includes the step of constructing the relationship analysis model, which specifically includes: acquiring multiple sample data, dividing the sample data into a training set and a validation set, and the sample data includes multiple Slot information; input the training data into the preset network model, train the dependency relationship between multiple slots and the corresponding probability distribution according to the preset network model, and generate the initial relationship analysis model; use the verification set to compare the initial relationship
  • the analysis model is further trained and verified to obtain the category probabilities corresponding to multiple verification data; until the number of category probabilities corresponding to the verification data within the preset range reaches the preset threshold, the training is stopped, and the required relationship analysis model is obtained.
  • the server Before the server obtains the preset relationship analysis model, it can also construct and train the relationship analysis model in advance. Specifically, the server may obtain a large amount of sample data from a local database or a third-party database in advance, and generate a training set and a validation set from the large amount of sample data. Among them, the sample data in the training set may be multiple slot information manually labeled, and the verification set contains multiple unlabeled slot information.
  • the server first performs data cleaning and data preprocessing on the training sample data in the training set to obtain multiple preprocessed slot information.
  • the server inputs multiple slot information into a preset network model, where the preset network model may be a model based on a Bayesian network.
  • the server trains and learns the dependency relationship between the multiple slots according to the initial network model, and the probability distribution interval corresponding to the multiple slot information, and trains to obtain the initial relationship analysis model.
  • the server further uses multiple slot information in the verification set to further train and verify the generated initial relationship analysis model to obtain category probabilities corresponding to multiple verification data. Until the number of category probabilities corresponding to the verification data within the preset range reaches the preset threshold, the training is stopped, and the required relationship analysis model is obtained. By analyzing and training a large amount of training data, it is possible to effectively analyze the dependencies between multiple slots, and effectively construct a relationship analysis model, which can then accurately and effectively infer and analyze the associated slots based on the known information. information.
  • the method further includes: when the slot information in the slot information set identified by the user meets a preset threshold, obtaining product data corresponding to the service type, and the product data includes attribute information; and calculating the slot identified by the user The matching degree between the information and the attribute information of multiple product data; obtaining product data whose matching degree reaches the matching degree threshold, and pushing the product data to the user terminal corresponding to the user identification.
  • the server After obtaining the session information sent by the user terminal, the server performs slot identification on the session information, and identifies the slot and the slot value in the session information. The server then obtains the trained relationship analysis model according to the business type of the current session, and analyzes related speculation slots based on the identified slots and slot values through the relationship analysis model, so as to accurately and effectively identify and analyze the associated speculations Slot and speculative slot value.
  • the server can then effectively determine the target slot information of the next interactive node based on the identified slot information and the analyzed speculative slot information, and generate the query information of the next interactive node based on the target slot information, and then query The information is sent to the corresponding user terminal, so that the user terminal further inputs the corresponding session information according to the query information, so that the interactive query for the user slot information can be effectively performed.
  • the server continuously obtains the slot information corresponding to the user ID and adds it to the slot information collection of the user ID.
  • the server detects that the slot information in the slot information set of the user ID meets the preset threshold, it means that the known slot information corresponding to the user ID has met the amount of slot information required by the service type.
  • the server obtains the product data corresponding to the business type, and the product data includes corresponding attribute information.
  • product data may include financial product data, insurance product data, and so on.
  • the corresponding product data is matched according to the slot information of the user identification.
  • the server may calculate the matching degree between the slot information of the user ID and the attribute information of multiple product data, obtain product data whose matching degree reaches the matching degree threshold, and push the product data to the user terminal corresponding to the user ID.
  • the relationship analysis model can accurately and effectively infer and analyze the associated slot information based on the known information, which can effectively save unnecessary dialogue branches, thereby effectively improving the efficiency of interactive processing of session information, and accurately pushing matches to users High-degree product data.
  • a session information interactive processing device including: a data acquisition module 502, a slot identification module 504, a slot analysis module 506, and an interactive information sending module 508, wherein:
  • the data acquisition module 502 is configured to acquire session information sent by the user terminal, and the session information includes a user ID and service type;
  • the slot identification module 504 is used to identify the slot in the session information, and identify the slot and the slot value in the session information;
  • the slot analysis module 506 obtains the trained relationship analysis model according to the service type, inputs the identified slot and the value of the slot into the relationship analysis model, identifies the associated speculative slot according to multiple slots, and calculates the slot and Relevance between multiple speculative slots; extract speculative slots whose relevance reaches the threshold, and calculate the corresponding speculative slot value of the speculative slot according to the multiple slot values in the session information; according to the slot information and speculative slot The position information determines the target slot information of the next interactive node;
  • the interactive information sending module 508 is configured to generate the interactive information of the next interactive node according to the target slot information, and push the interactive information to the user terminal corresponding to the user identifier.
  • important factors of multiple slots are deployed in the relationship analysis model, and the slot analysis module 506 is also used to extract features of multiple slots and slot values through the relationship analysis model to obtain corresponding slots.
  • Vector calculate the relevance between multiple slot vectors based on the important factors of multiple slots; calculate the relevance between multiple slot vectors and candidate slots based on the relevance between multiple slot vectors; extract Candidate slots whose relevance reaches the preset threshold are regarded as speculative slots.
  • the slot analysis module 506 is further configured to calculate the probability distribution values of multiple elements corresponding to the inferred slots according to the multiple slots and the slot values; calculate the confidence levels of the multiple elements according to the probability distribution values; if There is no element whose confidence level meets the threshold, and the speculative slot is used as the target slot for the next node session.
  • the slot analysis module 506 is further configured to determine the element as the speculative slot value corresponding to the speculative slot if there is an element whose confidence level meets the threshold; add the speculative slot and the speculative slot value to the user identification According to the slot information set of the slot information set and the slot definition table of the service type, the candidate slot is determined according to the matching result; the correlation between the known slot information and the candidate slot is calculated, and the correlation is extracted For candidate slots that reach the preset threshold, the candidate slot is used as the target slot of the next interactive node.
  • the device further includes a model building module for obtaining a plurality of sample data, dividing the sample data into a training set and a verification set, the sample data includes a plurality of slot information;
  • the training data is input to the preset network In the model, train the dependencies between multiple slots and the corresponding probability distribution according to the preset network model, and generate the initial relationship analysis model; use the verification set to further train and verify the initial relationship analysis model, and obtain multiple verification data Corresponding category probability; until the number of category probabilities corresponding to the verification data within the preset range reaches the preset threshold, stop training to obtain the required relationship analysis model.
  • the device further includes a product data push module, configured to obtain product data corresponding to the service type when the slot information in the slot information set identified by the user meets a preset threshold, and the product data includes attribute information; Calculate the matching degree between the slot information of the user ID and the attribute information of multiple product data; obtain the product data whose matching degree reaches the matching degree threshold, and push the product data to the user terminal corresponding to the user ID.
  • a product data push module configured to obtain product data corresponding to the service type when the slot information in the slot information set identified by the user meets a preset threshold, and the product data includes attribute information; Calculate the matching degree between the slot information of the user ID and the attribute information of multiple product data; obtain the product data whose matching degree reaches the matching degree threshold, and push the product data to the user terminal corresponding to the user ID.
  • Each module in the apparatus for interactive processing of session information may be implemented in whole or in part by software, hardware, and a combination thereof.
  • the above-mentioned modules may be embedded in the form of hardware or independent of the processor in the computer equipment, or may be stored in the memory of the computer equipment in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules.
  • a computer device is provided.
  • the computer device may be a server, and its internal structure diagram may be as shown in FIG. 6.
  • the computer equipment includes a processor, a memory, a network interface, and a database connected through a system bus. Among them, the processor of the computer device is used to provide calculation and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system, a computer program, and a database.
  • the internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium.
  • the computer equipment database is used to store data such as session information, slot information, product data, and slot definition tables.
  • the network interface of the computer device is used to communicate with an external terminal through a network connection.
  • the computer program is executed by the processor to implement the steps of the session information interaction processing method provided in any embodiment of the present application.
  • a computer-readable storage medium may be non-volatile or volatile with a computer program stored thereon.
  • the computer program is executed by a processor, the present application is implemented. Steps of the session information interactive processing method provided in any one of the embodiments.
  • Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

Abstract

A method and an apparatus for interactive session information processing based on relationship network analysis, a computer device, and a storage medium. The method comprises: obtaining session information sent by a user terminal; performing slot recognition on the session information to recognize slots and slot values in the session information; inputting the slot information in the session information into a trained relationship analysis model to analyze associated speculative slots according to the plurality of slots, and calculating the correlation between each slot and the plurality of speculative slots; extracting the speculative slots having a correlation reaching a threshold, and calculating corresponding speculative slot values of the speculative slots according to the plurality of slot information; determining target slot information of a next interactive node according to the slot information and the speculative slot information; and generating interactive information of the next interactive node according to the target slot information, and pushing the interactive information to the corresponding user terminal. By means of the method, the slot information in the session information can be accurately and effectively analyzed and predicted, thereby effectively improving the interactive session information processing efficiency.

Description

会话信息交互处理方法、装置、计算机设备和存储介质Session information interactive processing method, device, computer equipment and storage medium
本申请要求于2019年9月9日提交中国专利局、申请号为201910848656.1,发明名称为“会话信息交互处理方法、装置、计算机设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on September 9, 2019, the application number is 201910848656.1, and the invention title is "Conversational Information Interaction Processing Method, Device, Computer Equipment, and Storage Medium". The entire content is approved The reference is incorporated in this application.
技术领域Technical field
本申请涉及计算机技术领域,特别是涉及一种会话信息交互处理方法、装置、计算机设备和存储介质。This application relates to the field of computer technology, and in particular to a method, device, computer equipment and storage medium for interactive processing of session information.
背景技术Background technique
随着计算机技术的迅速发展,出现了许多基于任务型对话的人机交互系统,可以有效辅助用户进行一些业务。此前,基于规则的槽填充方式只用较为广泛,通过观察训练预料中的文本数据,基于语言学知识,人工为每个槽构造识别模板组成模板集合,得到模板集合后再设置模板使用的顺序,对用户输入的橘子逐一按顺序使用模板来抽取槽信息。With the rapid development of computer technology, there have been many human-computer interaction systems based on task-based dialogues, which can effectively assist users in some business. Previously, the rule-based slot filling method was only widely used. By observing the text data in the training expectation, based on linguistic knowledge, manually constructing recognition templates for each slot to form a template set, and then setting the order in which the templates are used after the template set is obtained. Use the template to extract the slot information for the oranges input by the user one by one in order.
发明人意识到传统的这种方式需要耗费大量的人力成本,且使用范围比较窄,难以覆盖多种情况。还有基于分类模型的槽填充任务方式,这种方式需要为每个词进行基于槽的分类,不能够有效地建立槽位值之间的关联,无法准确有效地分析和预测会话信息中的槽位信息,导致会话的交互效率不高。The inventor realizes that this traditional method requires a lot of labor costs, and the scope of use is relatively narrow, which makes it difficult to cover multiple situations. There is also a slot filling task method based on a classification model. This method requires slot-based classification for each word, which cannot effectively establish the association between the slot values, and cannot accurately and effectively analyze and predict the slots in the conversation information. Bit information, resulting in low interaction efficiency of the session.
发明内容Summary of the invention
基于此,有必要针对上述技术问题,提供一种能够准确有效地识别并进一步分析和预测会话信息中的槽位信息,从而能够有效提高会话信息的交互处理效率的会话信息交互处理方法、装置、计算机设备和存储介质。Based on this, it is necessary to address the above technical problems and provide a session information interactive processing method, device, and device that can accurately and effectively identify and further analyze and predict the slot information in the session information, thereby effectively improving the efficiency of interactive processing of the session information. Computer equipment and storage media.
一种会话信息交互处理方法,所述方法包括:A method for processing session information interaction, the method comprising:
获取用户终端发送的会话信息,所述会话信息包括用户标识和业务类型;Acquiring session information sent by the user terminal, where the session information includes a user ID and a service type;
对所述会话信息进行槽位识别,识别所述会话信息中的槽位和槽位值;Perform slot identification on the session information, and identify the slot and the slot value in the session information;
根据所述业务类型获取已训练的关系分析模型,将识别的槽位和槽位值输入至所述关系分析模型中,根据多个槽位识别相关联的推测槽位,计算所述槽位与多个推测槽位之间的关联性;Obtain the trained relationship analysis model according to the business type, input the identified slot and slot value into the relationship analysis model, and calculate the slot and the associated speculative slot based on multiple slot identifications The correlation between multiple speculative slots;
提取所述关联性达到阈值的推测槽位,并根据所述会话信息中的多个槽位值计算推测槽位相应的推测槽位值;Extracting the speculative slot whose relevance reaches the threshold, and calculating the speculative slot value corresponding to the speculative slot according to the multiple slot values in the session information;
根据槽位信息和推测槽位信息确定下一交互节点的目标槽位信息;Determine the target slot information of the next interactive node according to the slot information and the inferred slot information;
根据所述目标槽位信息生成所述下一交互节点的交互信息,并将所述交互信息推送至所述用户标识对应的用户终端。The interaction information of the next interaction node is generated according to the target slot information, and the interaction information is pushed to the user terminal corresponding to the user identifier.
在其中一个实施例中,所述关系分析模型中部署了多个槽位的重要因子,所述根据多个槽位识别相关联的推测槽位的步骤包括:通过所述关系分析模型对多个槽位和槽位值进行特征提取,得到对应的槽位向量;根据多个槽位的重要因子计算多个槽位向量之间的关联性;根据多个槽位向量之间的关联性计算多个槽位向量与候选槽位之间的关联性;提取所述关联性达到预设阈值的候选槽位,将所述候选槽位作为推测槽位。In one of the embodiments, important factors of multiple slots are deployed in the relationship analysis model, and the step of identifying the associated speculative slots according to the multiple slots includes: comparing multiple slots with the relationship analysis model Perform feature extraction of slots and slot values to obtain corresponding slot vectors; calculate the relevance between multiple slot vectors based on the important factors of multiple slots; calculate multiple based on the relevance between multiple slot vectors The correlation between a slot vector and a candidate slot; extract the candidate slot whose correlation reaches a preset threshold, and use the candidate slot as a speculative slot.
在其中一个实施例中,所述根据所述会话信息中的多个槽位值计算推测槽位相应的推测槽位值的步骤包括:根据多个槽位和槽位值计算推测槽位对应的多个元素的概率分布值;根据所述概率分布值计算多个元素的置信度;若不存在所述置信度满足阈值的元素,将所述推测槽位作为下一节点会话的目标槽位。In one of the embodiments, the step of calculating the speculative slot value corresponding to the speculative slot according to the plurality of slot values in the session information includes: calculating the speculative slot corresponding to the speculative slot according to the plurality of slots and the slot value Probability distribution values of multiple elements; calculate the confidence levels of multiple elements according to the probability distribution values; if there is no element whose confidence level meets the threshold, use the speculative slot as the target slot of the next node session.
在其中一个实施例中,所述方法还包括:若存在所述置信度满足阈值的元素,将所述元素确定为所述推测槽位对应的推测槽位值;将所述推测槽位和推测槽位值添加至所述用户标识的槽位信息集合中;根据所述槽位信息集合与所述业务类型的槽位定义表进行匹配,根据 匹配结果确定候选槽位;计算已知槽位信息和候选槽位之间的相关性,提取所述关联性达到预设阈值的候选槽位,将所述候选槽位作为下一交互节点的目标槽位。In one of the embodiments, the method further includes: if there is an element whose confidence level meets the threshold, determining the element as the speculative slot value corresponding to the speculative slot; and comparing the speculative slot with the speculative slot The slot value is added to the slot information set of the user identification; the slot information set is matched with the slot definition table of the service type, and the candidate slot is determined according to the matching result; the known slot information is calculated The correlation with the candidate slot is extracted, and the candidate slot whose correlation reaches a preset threshold is extracted, and the candidate slot is used as the target slot of the next interactive node.
在其中一个实施例中,在获取已训练的关系分析模型之前,还包括:获取多个样本数据,将所述样本数据分为训练集和验证集,所述样本数据包括多个槽位信息;将所述训练数据输入至预设网络模型中,根据所述预设网络模型训练多个槽位之间的依赖关系以及对应的概率分布,并生成初始关系分析模型;利用所述验证集对所述初始关系分析模型进行进一步训练和验证,得到多个验证数据对应的类别概率;直到所述验证数据对应的类别概率在预设范围内的数量达到预设阈值时,停止训练,得到所需的关系分析模型。In one of the embodiments, before obtaining the trained relationship analysis model, the method further includes: obtaining a plurality of sample data, and dividing the sample data into a training set and a verification set, and the sample data includes a plurality of slot information; Input the training data into a preset network model, train the dependency relationships between multiple slots and the corresponding probability distributions according to the preset network model, and generate an initial relationship analysis model; The initial relationship analysis model is further trained and verified to obtain category probabilities corresponding to multiple verification data; until the number of category probabilities corresponding to the verification data within the preset range reaches a preset threshold, the training is stopped to obtain the required Relationship analysis model.
在其中一个实施例中,所述方法还包括:当所述用户标识的槽位信息集合中的槽位信息满足预设阈值时,获取所述业务类型对应的产品数据,所述产品数据包括属性信息;计算所述用户标识的槽位信息与多个产品数据的属性信息之间的匹配度;获取匹配度达到匹配度阈值的产品数据,将所述产品数据推送至所述用户标识对应的用户终端。In one of the embodiments, the method further includes: when the slot information in the slot information set identified by the user meets a preset threshold, obtaining product data corresponding to the service type, the product data including attributes Information; calculate the matching degree between the slot information of the user ID and the attribute information of multiple product data; obtain the product data whose matching degree reaches the matching degree threshold, and push the product data to the user corresponding to the user ID terminal.
一种会话信息交互处理装置,所述装置包括:A device for processing session information interaction, the device comprising:
数据获取模块,用于获取用户终端发送的会话信息,所述会话信息包括用户标识和业务类型;A data acquisition module, configured to acquire session information sent by a user terminal, where the session information includes user identification and service type;
槽位识别模块,用于对所述会话信息进行槽位识别,识别所述会话信息中的槽位和槽位值;A slot identification module, configured to perform slot identification on the session information, and identify the slot and the slot value in the session information;
槽位分析模块,根据所述业务类型获取已训练的关系分析模型,将识别的槽位和槽位值输入至所述关系分析模型中,根据多个槽位识别相关联的推测槽位,计算所述槽位与多个推测槽位之间的关联性;提取所述关联性达到阈值的推测槽位,并根据所述会话信息中的多个槽位值计算推测槽位相应的推测槽位值;根据槽位信息和推测槽位信息确定下一交互节点的目标槽位信息;The slot analysis module obtains the trained relationship analysis model according to the service type, inputs the identified slot and slot value into the relationship analysis model, identifies the associated speculative slot according to multiple slots, and calculates The correlation between the slot and a plurality of speculative slots; extract the speculative slot whose correlation reaches the threshold, and calculate the speculative slot corresponding to the speculative slot according to the multiple slot values in the session information Value; Determine the target slot information of the next interactive node according to the slot information and the inferred slot information;
交互信息发送模块,用于根据所述目标槽位信息生成所述下一交互节点的交互信息,并将所述交互信息推送至所述用户标识对应的用户终端。The interactive information sending module is configured to generate the interactive information of the next interactive node according to the target slot information, and push the interactive information to the user terminal corresponding to the user identifier.
在其中一个实施例中,所述装置还包括产品数据推送模块,用于当所述用户标识的槽位信息集合中的槽位信息满足预设阈值时,获取所述业务类型对应的产品数据,所述产品数据包括属性信息;计算所述用户标识的槽位信息与多个产品数据的属性信息之间的匹配度;获取匹配度达到匹配度阈值的产品数据,将所述产品数据推送至所述用户标识对应的用户终端。In one of the embodiments, the device further includes a product data push module, configured to obtain product data corresponding to the service type when the slot information in the slot information set identified by the user meets a preset threshold, The product data includes attribute information; the matching degree between the slot information of the user identification and the attribute information of a plurality of product data is calculated; the product data whose matching degree reaches the matching degree threshold is obtained, and the product data is pushed to all The user terminal corresponding to the user ID.
一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现本申请任意一个实施例中提供的会话信息交互处理方法的步骤。A computer device includes a memory and a processor, the memory stores a computer program, and the processor implements the steps of the session information interaction processing method provided in any embodiment of the present application when the processor executes the computer program.
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现本申请任意一个实施例中提供的会话信息交互处理方法的步骤。A computer-readable storage medium has a computer program stored thereon, and when the computer program is executed by a processor, it implements the steps of the session information interactive processing method provided in any one of the embodiments of the present application.
上述会话信息交互处理方法、装置、计算机设备和存储介质,服务器获取用户终端发送的会话信息后,对会话信息进行槽位识别,识别出会话信息中的槽位和槽位值。服务器进而根据当前会话的业务类型获取已训练的关系分析模型,通过关系分析模型根据已识别的槽位和槽位值分析相关的推测槽位,从而能够准确有效地识别和分析出相关联的推测槽位以及推测槽位值。服务器进而可以有效的根据已识别的槽位信息和分析出的推测槽位信息确定出下一交互节点的目标槽位信息,并根据目标槽位信息生成下一交互节点的询问信息,并将询问信息发送至对应的用户终端,使得用户终端根据询问信息进一步输入相应的会话信息,从而能够有效地针对用户槽位信息进行交互询问,从而能够准确有效地向用户终端推送精准的推送数据。通过关系分析模型根据已知信息能够准确有效地推理分析出关联槽位信息,由此可以有效节省不必要的对话分支,从而有效提高了会话信息交互处理的效率。In the foregoing session information interactive processing method, device, computer equipment and storage medium, after the server obtains the session information sent by the user terminal, it performs slot identification on the session information, and identifies the slot and slot value in the session information. The server then obtains the trained relationship analysis model according to the business type of the current session, and analyzes related speculation slots based on the identified slots and slot values through the relationship analysis model, so as to accurately and effectively identify and analyze the associated speculations Slot and speculative slot value. The server can then effectively determine the target slot information of the next interactive node based on the identified slot information and the analyzed speculative slot information, and generate the query information of the next interactive node based on the target slot information, and then query The information is sent to the corresponding user terminal, so that the user terminal can further input corresponding session information according to the query information, so as to effectively conduct interactive query for the user slot information, thereby accurately and effectively pushing accurate push data to the user terminal. The relationship analysis model can accurately and effectively infer and analyze the associated slot information based on the known information, which can effectively save unnecessary dialogue branches, thereby effectively improving the efficiency of conversational information interaction processing.
附图说明Description of the drawings
图1为一个实施例中会话信息交互处理方法的应用场景图;Fig. 1 is an application scenario diagram of a session information interaction processing method in an embodiment;
图2为一个实施例中会话信息交互处理方法的流程示意图;FIG. 2 is a schematic flowchart of a method for processing session information interaction in an embodiment;
图3为一个实施例中计算推测槽位值的步骤的流程示意图;FIG. 3 is a schematic flow chart of the step of calculating the inferred slot value in an embodiment;
图4为另一个实施例中计算推测槽位值的步骤的流程示意图;FIG. 4 is a schematic flowchart of the step of calculating the inferred slot value in another embodiment;
图5为一个实施例中会话信息交互处理装置的结构框图;Figure 5 is a structural block diagram of a session information interaction processing device in an embodiment;
图6为一个实施例中计算机设备的内部结构图。Fig. 6 is an internal structure diagram of a computer device in an embodiment.
具体实施方式detailed description
本申请提供的会话信息交互处理方法,可以应用于如图1所示的应用环境中。其中,用户终端102通过网络与服务器104进行通信。用户终端102可以向服务器104发送会话信息,服务器104服务器获取用户终端发送的会话信息后,对会话信息进行槽位识别,识别出会话信息中的槽位和槽位值。进而根据当前会话的业务类型获取已训练的关系分析模型,通过关系分析模型根据已识别的槽位和槽位值分析相关的推测槽位。进而根据已识别的槽位信息和分析出的推测槽位信息确定出下一交互节点的目标槽位信息,并根据目标槽位信息生成下一交互节点的询问信息,并将询问信息发送至对应的用户终端102,使得用户终端102根据询问信息进一步输入相应的会话信息进行交互。其中,用户终端102可以但不限于是各种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备,服务器104可以用独立的服务器或者是多个服务器组成的服务器集群来实现。The session information interaction processing method provided in this application can be applied to the application environment as shown in FIG. 1. Among them, the user terminal 102 communicates with the server 104 via the network. The user terminal 102 may send session information to the server 104. After the server 104 obtains the session information sent by the user terminal, the server 104 performs slot identification on the session information, and identifies the slot and the slot value in the session information. Furthermore, the trained relationship analysis model is obtained according to the business type of the current session, and the related speculative slot is analyzed according to the identified slot and the slot value through the relationship analysis model. Then, the target slot information of the next interactive node is determined according to the identified slot information and the analyzed speculative slot information, and the query information of the next interactive node is generated according to the target slot information, and the query information is sent to the corresponding The user terminal 102 of the user terminal 102 enables the user terminal 102 to further input corresponding session information for interaction according to the query information. The user terminal 102 may be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices. The server 104 may be implemented by an independent server or a server cluster composed of multiple servers.
在一个实施例中,如图2所示,提供了一种会话信息交互处理方法,以该方法应用于图1中的服务器为例进行说明,包括以下步骤:In one embodiment, as shown in FIG. 2, a method for processing session information interaction is provided. Taking the method applied to the server in FIG. 1 as an example for description, the method includes the following steps:
步骤202,获取用户终端发送的会话信息,会话信息包括用户标识和业务类型。Step 202: Obtain the session information sent by the user terminal. The session information includes the user ID and the service type.
用户通过对应的用户终端的交互应用进行人机交互时,可以通过输入会话信息并发送至对应的服务器,服务器则可以识别用户发送的会话信息并返回相应的答复信息,以进行人机交互。例如常见的智能咨询交互系统。When the user performs human-computer interaction through the interactive application of the corresponding user terminal, the session information can be input and sent to the corresponding server, and the server can recognize the session information sent by the user and return corresponding reply information for human-computer interaction. For example, the common intelligent consulting interactive system.
服务器可以获取用户终端发送的会话信息,会话信息包括业务类型,还可以包括用户标识。其中,会话信息可以包括用户终端发送的历史会话信息和当前会话信息以及服务器返回给用户终端的回复信息。The server may obtain the session information sent by the user terminal. The session information includes the service type and may also include the user identification. The session information may include historical session information and current session information sent by the user terminal, and reply information returned by the server to the user terminal.
步骤204,对会话信息进行槽位识别,识别会话信息中的槽位和槽位值。Step 204: Perform slot identification on the session information, and identify the slot and the slot value in the session information.
其中,槽位可以指会话信息中的关键信息属性,例如可以是服务器需要获取的关键信息;槽位值可以指会话信息中的关键信息属性对应的具体内容。例如可以是用户表达的具体关键信息。例如,“性别”对应的信息属性可以为槽位,“男”则可以为“性别”槽位对应的槽位值。服务器可以预先业务类型对应的配置槽位定义表,槽位定义表中存储了业务类型所需的多种槽位信息。Wherein, the slot may refer to the key information attribute in the session information, for example, it may be the key information that the server needs to obtain; the slot value may refer to the specific content corresponding to the key information attribute in the session information. For example, it can be specific key information expressed by the user. For example, the information attribute corresponding to "sex" can be a slot, and "male" can be the slot value corresponding to the "sex" slot. The server may pre-configure a slot definition table corresponding to the service type, and the slot definition table stores various slot information required by the service type.
在其中一个实施例中,槽位的取值可以包括可枚举的字符串型、可枚举的数值型、连续的数值型以及可枚举的数值区间等。其中,槽位的依赖关系可以包括依赖于其他变量和独立变量等形式。例如,在金融领域中,可以对依赖关系和独立的槽位进行简化,例如性别比,在0-70岁,基本是一个稳定的比例,>70岁,女性比例会明显上升,因此可以将性别比作为一个独立的变量,不随年龄有特定的分布。In one of the embodiments, the value of the slot may include an enumerable string type, an enumerable numeric type, a continuous numeric type, an enumerable numeric range, and so on. Among them, the dependence of the slot can include dependence on other variables and independent variables. For example, in the financial field, you can simplify the dependency and independent slots. For example, the gender ratio is basically a stable ratio between 0-70 years old. If the ratio is more than 70 years old, the proportion of women will increase significantly. Therefore, the gender ratio can be reduced. Ratio is an independent variable and does not have a specific distribution with age.
服务器获取用户终端发送的会话信息后,则识别会话信息中的槽位信息。具体地,服务器可以槽位信息集合,槽位定义表中存储了多个槽位关键词,槽位关键词对应了相应的槽位信息,槽位信息包括槽位和相应的槽位值。服务器可以根据槽位定义表对会话信息进行关键词识别,识别出询问信息中的槽位信息。其中,服务器根据多个槽位关键词对当前会话信息以及历史会话信息相邻的会话信息进行识别,提取与槽位定义表中槽位关键词相匹配的槽位对应的文本信息,将提取的文本信息作为识别的槽位以及对应的槽位值。After obtaining the session information sent by the user terminal, the server identifies the slot information in the session information. Specifically, the server may collect slot information. A plurality of slot keywords are stored in the slot definition table. The slot keywords correspond to corresponding slot information, and the slot information includes the slot and the corresponding slot value. The server can perform keyword identification on the session information according to the slot definition table, and identify the slot information in the query information. Among them, the server recognizes the current session information and the session information adjacent to the historical session information according to multiple slot keywords, extracts the text information corresponding to the slot that matches the slot keyword in the slot definition table, and extracts The text information is used as the recognized slot and the corresponding slot value.
进一步地,服务器还可以根据用户标识获取对应的用户信息,对用户信息和已获取的历史会话信息以及当前会话信息进行识别,识别出多个槽位和相应的槽位值。槽位和相应的槽位值则为完整的槽位信息。Further, the server can also obtain corresponding user information according to the user identification, identify the user information and the obtained historical session information and current session information, and identify multiple slots and corresponding slot values. The slot and the corresponding slot value are complete slot information.
步骤206,根据业务类型获取已训练的关系分析模型,将识别的槽位和槽位值输入至关 系分析模型中,根据多个槽位识别相关联的推测槽位,计算槽位与多个推测槽位之间的关联性。Step 206: Obtain the trained relationship analysis model according to the service type, input the identified slot and the value of the slot into the relationship analysis model, and identify the associated speculative slot according to the multiple slots, and calculate the slot and multiple speculatives The correlation between the slots.
步骤208,提取关联性达到阈值的推测槽位,并根据会话信息中的多个槽位值计算推测槽位对应的槽位值。Step 208: Extract the speculative slot whose relevance reaches the threshold, and calculate the slot value corresponding to the speculative slot according to the multiple slot values in the session information.
其中,服务器可以预先构建关系分析模型,关系分析模型可以是基于贝叶斯网络的智能决策模型。Among them, the server can construct a relationship analysis model in advance, and the relationship analysis model can be an intelligent decision model based on a Bayesian network.
服务器识别出会话信息中的槽位信息后,则根据业务类型获取已训练的关系分析模型,将识别的槽位和槽位值输入至关系分析模型中。服务器进而通过关系分析模型根据多个槽位信息识别相关联的推测槽位,计算槽位与多个推测槽位之间的关联性。After identifying the slot information in the session information, the server obtains the trained relationship analysis model according to the service type, and inputs the identified slots and slot values into the relationship analysis model. The server then identifies the associated speculative slots according to the multiple slot information through the relationship analysis model, and calculates the relevance between the slots and the multiple speculative slots.
服务器进一步提取关联性达到阈值的推测槽位,并根据会话信息中的多个槽位值计算推测槽位对应的槽位值。具体地,服务器根据会话信息中的槽位值分析推测槽位的元素概率分布值,当存在满足阈值的槽位值时,将槽位值确定为推测槽位的槽位值。The server further extracts the speculative slot whose relevance reaches the threshold, and calculates the slot value corresponding to the speculative slot according to the multiple slot values in the session information. Specifically, the server analyzes and infers the element probability distribution value of the slot according to the slot value in the session information, and when there is a slot value that satisfies the threshold, it determines the slot value as the slot value of the inferred slot.
步骤210,根据槽位信息和推测槽位信息确定下一交互节点的目标槽位信息。Step 210: Determine the target slot information of the next interactive node according to the slot information and the inferred slot information.
步骤212,根据目标槽位生成下一交互节点的交互信息,并将交互信息推送至用户标识对应的用户终端。Step 212: Generate interactive information of the next interactive node according to the target slot, and push the interactive information to the user terminal corresponding to the user identifier.
服务器通过关系分析模型分析出会话信息中的槽位信息以及推测槽位信息后,则根据槽位信息以及推测槽位信息确定下一交互节点的目标槽位信息。具体地,可以根据已有的槽位信息和推测槽位信息计算业务类型对应的待识别槽位信息,并将业务类型对应的待识别槽位信息确定为下一交互节点的目标槽位信息。After the server analyzes the slot information and the inferred slot information in the session information through the relationship analysis model, it determines the target slot information of the next interactive node according to the slot information and the inferred slot information. Specifically, the to-be-identified slot information corresponding to the service type can be calculated according to the existing slot information and the inferred slot information, and the to-be-identified slot information corresponding to the service type can be determined as the target slot information of the next interactive node.
服务器进而根据目标槽位生成下一交互节点的交互信息,并将交互信息推送至用户标识对应的用户终端。以使得用户终端根据交互信息输入相应的会话信息,服务器从而能够从会话信息中获取完整的槽位信息,从而能够准确有效地识别会话信息中的关键槽位信息,以有效提高人机交互的效率。The server then generates the interaction information of the next interaction node according to the target slot, and pushes the interaction information to the user terminal corresponding to the user identification. In this way, the user terminal can input corresponding session information according to the interactive information, and the server can obtain complete slot information from the session information, so that it can accurately and effectively identify the key slot information in the session information, so as to effectively improve the efficiency of human-computer interaction. .
例如,当根据用户输入的当前会话信息可以提取到“性别”和“年龄”的槽位,以及对应的“性别:男”和“年龄:0-4岁”的槽位值。则通过关系分析模型可以分析出相关联的槽位“受教育程度”,根据槽位值可以进一步分析出“受教育程度”这个槽位的槽位值为“未上过小学”,则可以分析得到置信度较高的槽位值,进而可以跳过关于“受教育程度”槽位的询问信息。进一步分析下一会话节点的目标槽位。通过关系分析模型根据已知信息能够准确有效地推理分析出关联槽位信息,由此可以有效节省不必要的对话分支,从而有效提高了会话信息交互处理的效率。For example, according to the current session information input by the user, the slots of "gender" and "age" can be extracted, as well as the corresponding slot values of "gender: male" and "age: 0-4 years old". Then through the relationship analysis model, the associated slot "education level" can be analyzed, and the slot value of the "education level" slot can be further analyzed according to the slot value "not attended elementary school", then it can be analyzed Obtain the slot value with higher confidence, and then skip the inquiry information about the "education level" slot. Further analyze the target slot of the next conversation node. The relationship analysis model can accurately and effectively infer and analyze the associated slot information based on the known information, which can effectively save unnecessary dialogue branches, thereby effectively improving the efficiency of conversational information interaction processing.
上述会话信息交互处理方法中,服务器获取用户终端发送的会话信息后,对会话信息进行槽位识别,识别出会话信息中的槽位和槽位值。服务器进而根据当前会话的业务类型获取已训练的关系分析模型,通过关系分析模型根据已识别的槽位和槽位值分析相关的推测槽位,从而能够准确有效地识别和分析出相关联的推测槽位以及推测槽位值。服务器进而可以有效的根据已识别的槽位信息和分析出的推测槽位信息确定出下一交互节点的目标槽位信息,并根据目标槽位信息生成下一交互节点的询问信息,并将询问信息发送至对应的用户终端,使得用户终端根据询问信息进一步输入相应的会话信息,从而能够有效地针对用户槽位信息进行交互询问,从而能够准确有效地向用户终端推送精准的推送数据。通过关系分析模型根据已知信息能够准确有效地推理分析出关联槽位信息,由此可以有效节省不必要的对话分支,从而有效提高了会话信息交互处理的效率。In the foregoing session information interaction processing method, after the server obtains the session information sent by the user terminal, it performs slot identification on the session information, and identifies the slot and the slot value in the session information. The server then obtains the trained relationship analysis model according to the business type of the current session, and analyzes related speculation slots based on the identified slots and slot values through the relationship analysis model, so as to accurately and effectively identify and analyze the associated speculations Slot and speculative slot value. The server can then effectively determine the target slot information of the next interactive node based on the identified slot information and the analyzed speculative slot information, and generate the query information of the next interactive node based on the target slot information, and then query The information is sent to the corresponding user terminal, so that the user terminal can further input corresponding session information according to the query information, so as to effectively perform interactive query for the user slot information, so as to accurately and effectively push accurate push data to the user terminal. The relationship analysis model can accurately and effectively infer and analyze the associated slot information based on the known information, which can effectively save unnecessary dialogue branches, thereby effectively improving the efficiency of conversational information interaction processing.
在一个实施例中,根据多个槽位识别相关联的推测槽位的步骤包括:通过关系分析模型对多个槽位和槽位值进行特征提取,得到对应的槽位向量;根据多个槽位的重要因子计算多个槽位向量之间的关联性;根据多个槽位向量之间的关联性计算多个槽位向量与候选槽位之间的关联性;提取关联性达到预设阈值的候选槽位,将候选槽位作为推测槽位。In one embodiment, the step of identifying associated speculative slots based on multiple slots includes: performing feature extraction on multiple slots and slot values through a relationship analysis model to obtain corresponding slot vectors; Calculate the relevance between multiple slot vectors; calculate the relevance between multiple slot vectors and candidate slots according to the relevance between multiple slot vectors; extract the relevance to a preset threshold Candidate slots are considered as speculative slots.
其中,关系分析模型中预先部署了每个槽位相应的重要因子。Among them, the important factors corresponding to each slot are pre-deployed in the relationship analysis model.
服务器接收到用户终端发送的会话信息后,对会话信息进行槽位识别,识别出会话信息 中的槽位和槽位值。服务器进而根据当前会话的业务类型获取已训练的关系分析模型,通过关系分析模型根据已识别的槽位和槽位值分析相关的推测槽位。具体地,服务器通过关系分析模型对已识别的多个槽位和相应的槽位值进行特征提取,提取出对应的槽位向量。After the server receives the session information sent by the user terminal, it performs slot identification on the session information, and identifies the slot and slot value in the session information. The server then obtains the trained relationship analysis model according to the service type of the current session, and analyzes the relevant speculative slot according to the identified slot and the slot value through the relationship analysis model. Specifically, the server performs feature extraction on the identified multiple slots and corresponding slot values through the relationship analysis model, and extracts the corresponding slot vector.
服务器进而根据关系分析模型中部署的多个槽位的重要因子计算多个槽位向量之间的关联性,进而根据多个槽位向量之间的关联性计算多个槽位向量与候选槽位之间的关联性。服务器则获取关联性达到预设阈值的候选槽位,并将该候选槽位作为推测槽位。由此服务器可以有效的根据已识别的槽位信息和分析出的推测槽位信息。The server then calculates the correlation between the multiple slot vectors based on the important factors of the multiple slots deployed in the relationship analysis model, and then calculates the multiple slot vectors and candidate slots based on the correlation between the multiple slot vectors The correlation between. The server obtains a candidate slot whose relevance reaches a preset threshold, and uses the candidate slot as a speculative slot. In this way, the server can effectively base on the identified slot information and the analyzed inferred slot information.
例如,当根据用户信息和当前会话信息可以提取到“性别”和“年龄”的槽位类型,以及对应的“性别:男”和“年龄:15岁”的槽位值。其中,年龄和性别可以是决定受教育程序的两个重要因子。则通过关系分析模型可以分析出相关联的“受教育程度”槽位,同时可以直接排除掉“婚姻状况”和“生育状况”这两个候选槽位,服务器则获取相关联的槽位,进而能够有效分析出关联槽位的槽位值。For example, based on user information and current session information, the slot types of "sex" and "age" can be extracted, as well as the corresponding slot values of "sex: male" and "age: 15 years old". Among them, age and gender can be two important factors that determine the educational procedure. The relationship analysis model can be used to analyze the associated "education level" slot, and the two candidate slots of "marital status" and "reproductive status" can be directly excluded. The server then obtains the associated slots, and then It can effectively analyze the slot value of the associated slot.
在一个实施例中,如图3所示,根据会话信息中的多个槽位值计算推测槽位相应的推测槽位值的步骤,具体包括以下内容:In one embodiment, as shown in FIG. 3, the step of calculating the corresponding speculative slot value of the speculative slot according to multiple slot values in the session information specifically includes the following content:
步骤302,根据多个槽位和槽位值计算推测槽位对应的多个元素的概率分布值。Step 302: Calculate the probability distribution values of the multiple elements corresponding to the inferred slots according to the multiple slots and the slot values.
步骤304,根据概率分布值计算多个元素的置信度。Step 304: Calculate the confidence of multiple elements according to the probability distribution value.
步骤306,若不存在置信度满足阈值的元素,将推测槽位作为下一节点会话的目标槽位。In step 306, if there is no element whose confidence level meets the threshold, the inferred slot is used as the target slot of the next node session.
服务器获取用户终端发送的会话信息后,对会话信息进行槽位识别,识别出会话信息中的槽位和槽位值。服务器进而根据当前会话的业务类型获取已训练的关系分析模型,通过关系分析模型根据已识别的槽位和槽位值分析相关的推测槽位。具体地,服务器通过关系分析模型对多个槽位和槽位值进行特征提取,得到对应的槽位向量,进而根据多个槽位的重要因子计算多个槽位向量之间的关联性。服务器则根据多个槽位向量之间的关联性计算多个槽位向量与候选槽位之间的关联性,提取出关联性达到预设阈值的预设槽位,并将提取的候选槽位作为推测槽位。After obtaining the session information sent by the user terminal, the server performs slot identification on the session information, and identifies the slot and the slot value in the session information. The server then obtains the trained relationship analysis model according to the service type of the current session, and analyzes the relevant speculative slot according to the identified slot and the slot value through the relationship analysis model. Specifically, the server performs feature extraction on multiple slots and slot values through the relationship analysis model to obtain corresponding slot vectors, and then calculates the correlation between the multiple slot vectors according to the important factors of the multiple slots. The server calculates the relevance between the multiple slot vectors and the candidate slots according to the relevance between the multiple slot vectors, extracts the preset slots whose relevance reaches the preset threshold, and then extracts the candidate slots As a speculative slot.
服务器根据已有的槽位信息提取出推测槽位后,进一步计算推测槽位对应的推测槽位值。具体地,服务器根据槽位对应的槽位值计算推测槽位的对应的多个元素概率分布值。其中,槽位值可以是数值区间。服务器进一步根据分布概率计算多个槽位值的概率置信度,当不存在概率置信度满足阈值的槽位值时,表示该推测槽位对应的槽位值是未知的,需要进一步提示用户输入相应的回答信息。服务器则可以直接将该推测槽位作为下一交互节点的槽目标推测槽位,并根据目标推测槽位生成相应的交互信息,将交互信息发送至用户终端,使得用户通过用户终端根据交互信息输入相应的回答信息进行交互,以使得服务器获取所需的槽位信息后,向用户推送相应的推送数据。After the server extracts the inferred slot based on the existing slot information, it further calculates the inferred slot value corresponding to the inferred slot. Specifically, the server calculates the probability distribution values of multiple elements corresponding to the inferred slot according to the slot value corresponding to the slot. Among them, the slot value can be a numerical interval. The server further calculates the probability confidence of multiple slot values based on the distribution probability. When there is no slot value with the probability confidence meeting the threshold, it means that the slot value corresponding to the speculative slot is unknown, and the user needs to be further prompted to enter the corresponding Answer information. The server can directly use the speculative slot as the target speculative slot of the next interactive node, generate corresponding interactive information according to the target speculative slot, and send the interactive information to the user terminal so that the user can input the interactive information through the user terminal The corresponding answer information is interacted so that the server can push the corresponding push data to the user after obtaining the required slot information.
举例说明,关系分析模型可以为基于贝叶斯网络的模型,令G=(I,E)表示一个有向无环图(DAG),其中I代表图中所有的节点的集合,而E代表有向连接线段的集合,且令X=(Xi)i∈I为其有向无环图中的某一节点i所代表之随机变量,若节点X的联合概率分布的公式可以为:For example, the relationship analysis model can be a Bayesian network-based model. Let G = (I, E) represent a directed acyclic graph (DAG), where I represents the set of all nodes in the graph, and E represents The set of connected line segments, and let X=(Xi)i∈I be the random variable represented by a certain node i in the directed acyclic graph. If the formula of the joint probability distribution of node X can be:
P(x)=∏ i∈Ip(x i|x pa(i)) P(x)=∏ i∈I p(x i |x pa(i) )
其中,则称X为相对于一有向无环图G的贝叶斯网络,pa(i)表示节点i之“因”,对任意的随机变量,其联合分布可由各自的局部条件概率分布相乘而得出:Among them, X is called a Bayesian network relative to a directed acyclic graph G, pa(i) represents the "cause" of node i. For any random variable, its joint distribution can be compared with the respective local conditional probability distributions. Multiply and get:
Figure PCTCN2020087775-appb-000001
Figure PCTCN2020087775-appb-000001
依照上式,一贝叶斯网络的联合概率分布可以为:According to the above formula, the joint probability distribution of a Bayesian network can be:
Figure PCTCN2020087775-appb-000002
Figure PCTCN2020087775-appb-000002
其中,Xi对应每个相应的“因”变量Xj。上面两个表示式之差别在于条件概率的部分,在贝叶斯网络中,若已知其“因”变量下,某些节点会与其“因”变量条件独立,只有与“因”变量有关的节点才会有条件概率的存在。Among them, Xi corresponds to each corresponding "dependent" variable Xj. The difference between the above two expressions lies in the part of conditional probability. In a Bayesian network, if its "dependent" variable is known, some nodes will be conditionally independent from its "dependent" variable, and only those related to the "dependent" variable The node will have conditional probability.
如果联合分布的相依数目很稀少时,使用贝氏函数的方法可以节省相当大的存储器容量。举例而言,若想将10个变量其值皆为0或1存储成一条件概率表型式,一个直观的想法可知,总共必须要计算2 10=1024个值;但若这10个变量中无任何变量之相关“因”变量是超过三个以上的话,则贝叶斯网络的条件概率表最多只需计算10*2 3=80个值即可。另一个贝式网上优点在于更能轻易地得知各变量间是否条件独立或相依与其局部分布(local distribution)的类型来求得所有随机变量之联合分布。 If the number of dependencies of the joint distribution is very rare, the Bayesian function method can save considerable memory capacity. For example, if you want to store 10 variables whose values are all 0 or 1 as a conditional probability table type, an intuitive idea can be seen that a total of 2 10 =1024 values must be calculated; but if there are none of these 10 variables If there are more than three related "dependent" variables, the conditional probability table of the Bayesian network only needs to calculate 10*2 3 =80 values at most. Another advantage of the Bayesian network is that it is easier to know whether each variable is conditionally independent or dependent on the type of local distribution to obtain the joint distribution of all random variables.
例如,若已知的“年龄”和“性别”的槽位信息,要分析“年龄”和“性别”以及“受教育程度”之间的相关性。可以根据已知的槽位信息,推理出未知的推测槽位及其概率分布值。如E是受教育程度,A是年龄,G是性别,其中,年龄和性别是决定受教育程序的两个重要因子,即E=(A,G)。E,A,G构成了一个有向无环图。For example, if the slot information of "age" and "sex" is known, the correlation between "age" and "sex" and "education level" should be analyzed. The unknown speculative slot and its probability distribution value can be inferred based on the known slot information. For example, E is the education level, A is the age, and G is the gender. Among them, age and gender are two important factors that determine the educational procedure, that is, E=(A, G). E, A, G form a directed acyclic graph.
计算多个元素的概率分布值的公式可以为:The formula for calculating the probability distribution value of multiple elements can be:
P(E)=∏ i∈Ip(E i|A,G) P(E)=∏ i∈I p(E i |A,G)
其中,E可以是受教育程度,A可以是年龄,G可以是性别。A,G可以是两个独立的变量。G可以有两种取值,即G0和G1。Among them, E can be education level, A can be age, and G can be gender. A and G can be two independent variables. G can have two values, namely G0 and G1.
如下表1所示,“性别”槽位对应的概率分布值可以如下:As shown in Table 1 below, the probability distribution value corresponding to the "sex" slot can be as follows:
性别取值Gender value 概率Probability 说明Description
G0G0 0.50850.5085 male
G1G1 0.49150.4915 Female
表1Table 1
如下表2所示,“年龄”槽位可以有20种取值,即A0-A19,概率分布值可以如下:As shown in Table 2 below, the "age" slot can have 20 values, namely A0-A19, and the probability distribution value can be as follows:
年龄取值Age value 概率Probability 说明Description
A0A0 0.05850.0585 0-4岁0-4 years old
A1A1 0.05480.0548 5-9岁5-9 years old
A20A20 0.0000010.000001 >100岁>100 years old
表2Table 2
如下表3所示,“受教育程度”槽位的概率分布取值可以如下:As shown in Table 3 below, the probability distribution value of the "Education Level" slot can be as follows:
受教育程度education level 未上过学Never went to school 小学primary school 初中junior high school 高中High school 中专Technical secondary school 大专Junior college 大学the University 研究生Postgraduate
 To E0E0 E1E1 E2E2 E3E3 E4E4 E5E5 E6E6 E7E7
表3table 3
“性别”槽位、“年龄”槽位和“受教育程度”槽位三者的CPD(conditional probability distribution,条件概率分布)关系可以如下表4所示:The CPD (conditional probability distribution) relationship between the "sex" slot, the "age" slot, and the "education level" slot can be shown in Table 4 below:
 To E0E0 E1E1 E2E2 E3E3 E4E4 E5E5 E6E6 E7E7
G0,A0G0, A0 0.990.99 0.010.01 00 00 00 00 00 00
G0,A1G0, A1 0.040.04 0.950.95 0.010.01 00 00 00 00 00
 To  To  To  To  To  To  To  To
G1,A19G1, A19 0.660.66 0.30.3 0.030.03 0.010.01 00 00 00 00
表4Table 4
通过上述公式和表数据可计算得,在已知槽位信息:性别:男,年龄:0-4岁的条件下,E0的取值是0.99。其中,设置的阈值可以是0.95。因此,E0的置信度满足预设的阈值,则可以得出“受教育程度”槽位的满足置信度的槽位值为“未上过小学”。服务器则可以跳过该 槽位对应的问题,不需要进一步向用户终端发送“受教育程度”槽位对应的询问信息。服务器通过关系分析模型根据已知槽位信息,能够准确有效地推理分析出推测槽位和相应的推测槽位值,从而能够有效地根据目标推测槽位生成相应的交互信息,以提高交互效率。According to the above formula and table data, it can be calculated that the value of E0 is 0.99 under the conditions of known slot information: gender: male, age: 0-4 years old. Among them, the set threshold can be 0.95. Therefore, if the confidence of E0 satisfies the preset threshold, it can be concluded that the value of the slot that satisfies the confidence of the "education level" slot is "has not attended elementary school". The server can skip the question corresponding to this slot and does not need to further send the inquiry information corresponding to the "education level" slot to the user terminal. The server can accurately and effectively infer and analyze the inferred slot and the corresponding inferred slot value through the relationship analysis model based on the known slot information, so as to effectively generate the corresponding interactive information according to the target inferred slot to improve the interaction efficiency.
在一个实施例中,如图4所示,根据会话信息中的多个槽位值计算推测槽位相应的推测槽位值的步骤,具体包括以下内容:In one embodiment, as shown in FIG. 4, the step of calculating the corresponding speculative slot value of the speculative slot according to multiple slot values in the session information specifically includes the following content:
步骤402,若存在置信度满足阈值的元素,将元素确定为推测槽位对应的推测槽位值。Step 402: If there is an element whose confidence level meets the threshold, the element is determined as the speculative slot value corresponding to the speculative slot.
步骤404,将推测槽位和推测槽位值添加至用户标识的槽位信息集合中。Step 404: Add the speculative slot and the speculative slot value to the slot information set identified by the user.
步骤406,根据槽位信息集合与业务类型的槽位定义表进行匹配,根据匹配结果确定候选槽位。Step 406: Perform matching according to the slot information set and the slot definition table of the service type, and determine the candidate slot according to the matching result.
步骤408,计算已知槽位信息和候选槽位之间的相关性,提取关联性达到预设阈值的候选槽位,将候选槽位作为下一交互节点的目标槽位。Step 408: Calculate the correlation between the known slot information and the candidate slot, extract the candidate slot whose correlation reaches the preset threshold, and use the candidate slot as the target slot of the next interactive node.
服务器获取用户终端发送的会话信息后,对会话信息进行槽位识别,识别出会话信息中的槽位和槽位值。服务器进而根据当前会话的业务类型获取已训练的关系分析模型,通过关系分析模型根据已识别的槽位和槽位值分析相关的推测槽位。After obtaining the session information sent by the user terminal, the server performs slot identification on the session information, and identifies the slot and the slot value in the session information. The server then obtains the trained relationship analysis model according to the service type of the current session, and analyzes the relevant speculative slot according to the identified slot and the slot value through the relationship analysis model.
具体地,服务器通过关系分析模型对多个槽位和槽位值进行特征提取,得到对应的槽位向量,进而根据多个槽位的重要因子计算多个槽位向量之间的关联性。服务器则根据多个槽位向量之间的关联性计算多个槽位向量与候选槽位之间的关联性,提取出关联性达到预设阈值的预设槽位,并将提取的候选槽位作为推测槽位。Specifically, the server performs feature extraction on multiple slots and slot values through the relationship analysis model to obtain corresponding slot vectors, and then calculates the correlation between the multiple slot vectors according to the important factors of the multiple slots. The server calculates the relevance between the multiple slot vectors and the candidate slots according to the relevance between the multiple slot vectors, extracts the preset slots whose relevance reaches the preset threshold, and then extracts the candidate slots As a speculative slot.
服务器根据已有的槽位信息提取出推测槽位后,进一步计算推测槽位对应的推测槽位值。具体地,服务器根据槽位对应的槽位值计算推测槽位的对应的多个元素概率分布值。服务器进一步根据分布概率计算多个槽位值的概率置信度,当不存在概率置信度满足阈值的槽位值时,表示该推测槽位对应的槽位值是未知的,需要进一步提示用户输入相应的回答信息。服务器则可以直接将该推测槽位作为下一交互节点的槽目标推测槽位。After the server extracts the inferred slot based on the existing slot information, it further calculates the inferred slot value corresponding to the inferred slot. Specifically, the server calculates the probability distribution values of multiple elements corresponding to the inferred slot according to the slot value corresponding to the slot. The server further calculates the probability confidence of multiple slot values based on the distribution probability. When there is no slot value with the probability confidence meeting the threshold, it means that the slot value corresponding to the speculative slot is unknown, and the user needs to be further prompted to enter the corresponding Answer information. The server can directly use the speculative slot as the target speculative slot of the next interactive node.
若存在置信度满足阈值的元素时,服务器则将该元素确定为推测槽位对应的推测槽位值。其中,服务器可以预先业务类型对应的配置槽位定义表,槽位定义表中存储了业务类型所需的多种槽位信息。服务器可以预先建立用户标识对应的槽位信息集合,服务器分析得到用户标识对应的已知的槽位信息后,则将识别得到的槽位信息以及分析得到的推测槽位信息添加至用户标识对应的槽位信息集合中。If there is an element whose confidence level meets the threshold, the server determines the element as the speculative slot value corresponding to the speculative slot. Among them, the server may configure a slot definition table corresponding to the service type in advance, and the slot definition table stores various slot information required by the service type. The server can pre-establish a set of slot information corresponding to the user ID. After the server analyzes and obtains the known slot information corresponding to the user ID, it adds the identified slot information and the analyzed speculative slot information to the corresponding user ID. Slot information collection.
服务器进一步根据槽位信息集合与业务类型的槽位定义表进行匹配,根据匹配结果确定候选槽位。例如,服务器可以根据槽位信息集合中已知的槽位信息,与业务类型的槽位定义表中的槽位信息进行匹配,识别槽位定义表中剩余的未知槽位信息,将未知槽位信息确定为候选槽位。The server further matches the slot definition table of the service type according to the slot information set, and determines the candidate slot according to the matching result. For example, the server can match the slot information in the slot definition table of the service type according to the known slot information in the slot information set, identify the remaining unknown slot information in the slot definition table, and replace the unknown slot with the slot information in the slot definition table of the service type. The information is determined as a candidate slot.
服务器则计算多个已知槽位信息和候选槽位之间的相关性,提取关联性达到预设阈值的候选槽位,并将该候选槽位作为下一交互节点的目标槽位。The server calculates the correlation between the multiple known slot information and the candidate slot, extracts the candidate slot whose correlation reaches the preset threshold, and uses the candidate slot as the target slot of the next interactive node.
服务器进而可以根据目标槽位信息生成下一交互节点的询问信息,并将询问信息发送至对应的用户终端,使得用户终端根据询问信息进一步输入相应的会话信息,从而能够有效地针对用户槽位信息进行交互询问,从而能够准确有效地向用户终端推送精准的推送数据。通过关系分析模型根据已知信息能够准确有效地推理分析出关联槽位信息,由此可以有效节省不必要的对话分支,从而有效提高了会话信息交互处理的效率。The server can then generate query information for the next interactive node based on the target slot information, and send the query information to the corresponding user terminal, so that the user terminal can further input corresponding session information according to the query information, thereby effectively targeting the user slot information By conducting interactive inquiry, it is possible to accurately and effectively push accurate push data to the user terminal. The relationship analysis model can accurately and effectively infer and analyze the associated slot information based on the known information, which can effectively save unnecessary dialogue branches, thereby effectively improving the efficiency of conversational information interaction processing.
在一个实施例中,服务器在获取已训练的关系分析模型之前,还包括构建关系分析模型的步骤,具体包括:获取多个样本数据,将样本数据分为训练集和验证集,样本数据包括多个槽位信息;将训练数据输入至预设网络模型中,根据预设网络模型训练多个槽位之间的依赖关系以及对应的概率分布,并生成初始关系分析模型;利用验证集对初始关系分析模型进行进一步训练和验证,得到多个验证数据对应的类别概率;直到验证数据对应的类别概率在预设范围内的数量达到预设阈值时,停止训练,得到所需的关系分析模型。In one embodiment, before acquiring the trained relationship analysis model, the server further includes the step of constructing the relationship analysis model, which specifically includes: acquiring multiple sample data, dividing the sample data into a training set and a validation set, and the sample data includes multiple Slot information; input the training data into the preset network model, train the dependency relationship between multiple slots and the corresponding probability distribution according to the preset network model, and generate the initial relationship analysis model; use the verification set to compare the initial relationship The analysis model is further trained and verified to obtain the category probabilities corresponding to multiple verification data; until the number of category probabilities corresponding to the verification data within the preset range reaches the preset threshold, the training is stopped, and the required relationship analysis model is obtained.
服务器获取预设的关系分析模型之前,还可以预先构建和训练出关系分析模型。具体地, 服务器可以预先从本地数据库或第三方数据库中获取大量的样本数据,并将大量的样本数据生成训练集和验证集。其中,训练集中的样本数据可以是经过人工标注后的多个槽位信息,验证集中是未标注的多个槽位信息。Before the server obtains the preset relationship analysis model, it can also construct and train the relationship analysis model in advance. Specifically, the server may obtain a large amount of sample data from a local database or a third-party database in advance, and generate a training set and a validation set from the large amount of sample data. Among them, the sample data in the training set may be multiple slot information manually labeled, and the verification set contains multiple unlabeled slot information.
服务器首先对训练集中的训练样本数据进行数据清洗和数据预处理,得到多个预处理后的槽位信息。服务器则将多个槽位信息输入至预设网络模型中,其中,预设网络模型可以是基于贝叶斯网络的模型。服务器根据初始网络模型训练和学习多个槽位之间的依赖关系,以及多个槽位信息对应的概率分布区间,并训练得到初始关系分析模型。The server first performs data cleaning and data preprocessing on the training sample data in the training set to obtain multiple preprocessed slot information. The server inputs multiple slot information into a preset network model, where the preset network model may be a model based on a Bayesian network. The server trains and learns the dependency relationship between the multiple slots according to the initial network model, and the probability distribution interval corresponding to the multiple slot information, and trains to obtain the initial relationship analysis model.
服务器进一步利用验证集中的多个槽位信息对生成的初始关系分析模型进行进一步训练和验证,得到多个验证数据对应的类别概率。直到验证数据对应的类别概率在预设范围内的数量达到预设阈值时,则停止训练,得到所需的关系分析模型。通过对大量的训练数据进行分析和训练,可以有效地分析出多个槽位之间的依赖关系,并有效地构建出关系分析模型,进而能够根据已知信息准确有效地推理分析出关联槽位信息。The server further uses multiple slot information in the verification set to further train and verify the generated initial relationship analysis model to obtain category probabilities corresponding to multiple verification data. Until the number of category probabilities corresponding to the verification data within the preset range reaches the preset threshold, the training is stopped, and the required relationship analysis model is obtained. By analyzing and training a large amount of training data, it is possible to effectively analyze the dependencies between multiple slots, and effectively construct a relationship analysis model, which can then accurately and effectively infer and analyze the associated slots based on the known information. information.
在一个实施例中,该方法还包括:当用户标识的槽位信息集合中的槽位信息满足预设阈值时,获取业务类型对应的产品数据,产品数据包括属性信息;计算用户标识的槽位信息与多个产品数据的属性信息之间的匹配度;获取匹配度达到匹配度阈值的产品数据,将产品数据推送至用户标识对应的用户终端。In one embodiment, the method further includes: when the slot information in the slot information set identified by the user meets a preset threshold, obtaining product data corresponding to the service type, and the product data includes attribute information; and calculating the slot identified by the user The matching degree between the information and the attribute information of multiple product data; obtaining product data whose matching degree reaches the matching degree threshold, and pushing the product data to the user terminal corresponding to the user identification.
服务器获取用户终端发送的会话信息后,对会话信息进行槽位识别,识别出会话信息中的槽位和槽位值。服务器进而根据当前会话的业务类型获取已训练的关系分析模型,通过关系分析模型根据已识别的槽位和槽位值分析相关的推测槽位,从而能够准确有效地识别和分析出相关联的推测槽位以及推测槽位值。服务器进而可以有效的根据已识别的槽位信息和分析出的推测槽位信息确定出下一交互节点的目标槽位信息,并根据目标槽位信息生成下一交互节点的询问信息,并将询问信息发送至对应的用户终端,使得用户终端根据询问信息进一步输入相应的会话信息,从而能够有效地针对用户槽位信息进行交互询问。After obtaining the session information sent by the user terminal, the server performs slot identification on the session information, and identifies the slot and the slot value in the session information. The server then obtains the trained relationship analysis model according to the business type of the current session, and analyzes related speculation slots based on the identified slots and slot values through the relationship analysis model, so as to accurately and effectively identify and analyze the associated speculations Slot and speculative slot value. The server can then effectively determine the target slot information of the next interactive node based on the identified slot information and the analyzed speculative slot information, and generate the query information of the next interactive node based on the target slot information, and then query The information is sent to the corresponding user terminal, so that the user terminal further inputs the corresponding session information according to the query information, so that the interactive query for the user slot information can be effectively performed.
在用户终端与服务器进行交互的过程中,服务器不断获取用户标识对应的槽位信息,并添加至用户标识的槽位信息集合中。During the interaction between the user terminal and the server, the server continuously obtains the slot information corresponding to the user ID and adds it to the slot information collection of the user ID.
当服务器检测到用户标识的槽位信息集合中的槽位信息满足预设阈值时,表示用户标识对应的已知的槽位信息已经满足业务类型所需的槽位信息量了。服务器则获取业务类型对应的产品数据,产品数据包括了相应的属性信息。例如,产品数据可以包括金融产品数据、保险产品数据等。进而根据用户标识的槽位信息匹配相应的产品数据。具体地,服务器可以计算用户标识的槽位信息与多个产品数据的属性信息之间的匹配度,获取匹配度达到匹配度阈值的产品数据,并将产品数据推送至用户标识对应的用户终端。通过关系分析模型根据已知信息能够准确有效地推理分析出关联槽位信息,由此可以有效节省不必要的对话分支,从而有效提高了会话信息交互处理的效率,进而能够准确地向用户推送匹配度较高的产品数据。When the server detects that the slot information in the slot information set of the user ID meets the preset threshold, it means that the known slot information corresponding to the user ID has met the amount of slot information required by the service type. The server obtains the product data corresponding to the business type, and the product data includes corresponding attribute information. For example, product data may include financial product data, insurance product data, and so on. Then, the corresponding product data is matched according to the slot information of the user identification. Specifically, the server may calculate the matching degree between the slot information of the user ID and the attribute information of multiple product data, obtain product data whose matching degree reaches the matching degree threshold, and push the product data to the user terminal corresponding to the user ID. The relationship analysis model can accurately and effectively infer and analyze the associated slot information based on the known information, which can effectively save unnecessary dialogue branches, thereby effectively improving the efficiency of interactive processing of session information, and accurately pushing matches to users High-degree product data.
在一个实施例中,如图5所示,提供了一种会话信息交互处理装置,包括:数据获取模块502、槽位识别模块504、槽位分析模块506和交互信息发送模块508,其中:In one embodiment, as shown in FIG. 5, a session information interactive processing device is provided, including: a data acquisition module 502, a slot identification module 504, a slot analysis module 506, and an interactive information sending module 508, wherein:
数据获取模块502,用于获取用户终端发送的会话信息,会话信息包括用户标识和业务类型;The data acquisition module 502 is configured to acquire session information sent by the user terminal, and the session information includes a user ID and service type;
槽位识别模块504,用于对会话信息进行槽位识别,识别会话信息中的槽位和槽位值;The slot identification module 504 is used to identify the slot in the session information, and identify the slot and the slot value in the session information;
槽位分析模块506,根据业务类型获取已训练的关系分析模型,将识别的槽位和槽位值输入至关系分析模型中,根据多个槽位识别相关联的推测槽位,计算槽位与多个推测槽位之间的关联性;提取关联性达到阈值的推测槽位,并根据会话信息中的多个槽位值计算推测槽位相应的推测槽位值;根据槽位信息和推测槽位信息确定下一交互节点的目标槽位信息;The slot analysis module 506 obtains the trained relationship analysis model according to the service type, inputs the identified slot and the value of the slot into the relationship analysis model, identifies the associated speculative slot according to multiple slots, and calculates the slot and Relevance between multiple speculative slots; extract speculative slots whose relevance reaches the threshold, and calculate the corresponding speculative slot value of the speculative slot according to the multiple slot values in the session information; according to the slot information and speculative slot The position information determines the target slot information of the next interactive node;
交互信息发送模块508,用于根据目标槽位信息生成下一交互节点的交互信息,并将交互信息推送至用户标识对应的用户终端。The interactive information sending module 508 is configured to generate the interactive information of the next interactive node according to the target slot information, and push the interactive information to the user terminal corresponding to the user identifier.
在一个实施例中,关系分析模型中部署了多个槽位的重要因子,槽位分析模块506还用于通过关系分析模型对多个槽位和槽位值进行特征提取,得到对应的槽位向量;根据多个槽 位的重要因子计算多个槽位向量之间的关联性;根据多个槽位向量之间的关联性计算多个槽位向量与候选槽位之间的关联性;提取关联性达到预设阈值的候选槽位,将候选槽位作为推测槽位。In one embodiment, important factors of multiple slots are deployed in the relationship analysis model, and the slot analysis module 506 is also used to extract features of multiple slots and slot values through the relationship analysis model to obtain corresponding slots. Vector; calculate the relevance between multiple slot vectors based on the important factors of multiple slots; calculate the relevance between multiple slot vectors and candidate slots based on the relevance between multiple slot vectors; extract Candidate slots whose relevance reaches the preset threshold are regarded as speculative slots.
在一个实施例中,槽位分析模块506还用于根据多个槽位和槽位值计算推测槽位对应的多个元素的概率分布值;根据概率分布值计算多个元素的置信度;若不存在置信度满足阈值的元素,将推测槽位作为下一节点会话的目标槽位。In one embodiment, the slot analysis module 506 is further configured to calculate the probability distribution values of multiple elements corresponding to the inferred slots according to the multiple slots and the slot values; calculate the confidence levels of the multiple elements according to the probability distribution values; if There is no element whose confidence level meets the threshold, and the speculative slot is used as the target slot for the next node session.
在一个实施例中,槽位分析模块506还用于若存在置信度满足阈值的元素,将元素确定为推测槽位对应的推测槽位值;将推测槽位和推测槽位值添加至用户标识的槽位信息集合中;根据槽位信息集合与业务类型的槽位定义表进行匹配,根据匹配结果确定候选槽位;计算已知槽位信息和候选槽位之间的相关性,提取关联性达到预设阈值的候选槽位,将候选槽位作为下一交互节点的目标槽位。In one embodiment, the slot analysis module 506 is further configured to determine the element as the speculative slot value corresponding to the speculative slot if there is an element whose confidence level meets the threshold; add the speculative slot and the speculative slot value to the user identification According to the slot information set of the slot information set and the slot definition table of the service type, the candidate slot is determined according to the matching result; the correlation between the known slot information and the candidate slot is calculated, and the correlation is extracted For candidate slots that reach the preset threshold, the candidate slot is used as the target slot of the next interactive node.
在一个实施例中,该装置还包括模型构建模块,用于获取多个样本数据,将样本数据分为训练集和验证集,样本数据包括多个槽位信息;将训练数据输入至预设网络模型中,根据预设网络模型训练多个槽位之间的依赖关系以及对应的概率分布,并生成初始关系分析模型;利用验证集对初始关系分析模型进行进一步训练和验证,得到多个验证数据对应的类别概率;直到验证数据对应的类别概率在预设范围内的数量达到预设阈值时,停止训练,得到所需的关系分析模型。In one embodiment, the device further includes a model building module for obtaining a plurality of sample data, dividing the sample data into a training set and a verification set, the sample data includes a plurality of slot information; the training data is input to the preset network In the model, train the dependencies between multiple slots and the corresponding probability distribution according to the preset network model, and generate the initial relationship analysis model; use the verification set to further train and verify the initial relationship analysis model, and obtain multiple verification data Corresponding category probability; until the number of category probabilities corresponding to the verification data within the preset range reaches the preset threshold, stop training to obtain the required relationship analysis model.
在一个实施例中,该装置还包括产品数据推送模块,用于当用户标识的槽位信息集合中的槽位信息满足预设阈值时,获取业务类型对应的产品数据,产品数据包括属性信息;计算用户标识的槽位信息与多个产品数据的属性信息之间的匹配度;获取匹配度达到匹配度阈值的产品数据,将产品数据推送至用户标识对应的用户终端。In one embodiment, the device further includes a product data push module, configured to obtain product data corresponding to the service type when the slot information in the slot information set identified by the user meets a preset threshold, and the product data includes attribute information; Calculate the matching degree between the slot information of the user ID and the attribute information of multiple product data; obtain the product data whose matching degree reaches the matching degree threshold, and push the product data to the user terminal corresponding to the user ID.
关于会话信息交互处理装置的具体限定可以参见上文中对于会话信息交互处理方法的限定,在此不再赘述。上述会话信息交互处理装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitation of the session information interaction processing device, please refer to the above limitation on the session information interaction processing method, which will not be repeated here. Each module in the apparatus for interactive processing of session information may be implemented in whole or in part by software, hardware, and a combination thereof. The above-mentioned modules may be embedded in the form of hardware or independent of the processor in the computer equipment, or may be stored in the memory of the computer equipment in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules.
在一个实施例中,提供了一种计算机设备,该计算机设备可以是服务器,其内部结构图可以如图6所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的数据库用于存储会话信息、槽位信息、产品数据以及槽位定义表等数据。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现本申请任意一个实施例中提供的会话信息交互处理方法的步骤。In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. 6. The computer equipment includes a processor, a memory, a network interface, and a database connected through a system bus. Among them, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The computer equipment database is used to store data such as session information, slot information, product data, and slot definition tables. The network interface of the computer device is used to communicate with an external terminal through a network connection. The computer program is executed by the processor to implement the steps of the session information interaction processing method provided in any embodiment of the present application.
在一个实施例中,提供了一种计算机可读存储介质,计算机可读存储介质可以是非易失性,也可以是易失性其上存储有计算机程序,计算机程序被处理器执行时实现本申请任意一个实施例中提供的会话信息交互处理方法的步骤。In one embodiment, a computer-readable storage medium is provided. The computer-readable storage medium may be non-volatile or volatile with a computer program stored thereon. When the computer program is executed by a processor, the present application is implemented. Steps of the session information interactive processing method provided in any one of the embodiments.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM (SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer readable storage. In the medium, when the computer program is executed, it may include the procedures of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and/or volatile memory. Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not a limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

Claims (20)

  1. 一种会话信息交互处理方法,所述方法包括:A method for processing session information interaction, the method comprising:
    获取用户终端发送的会话信息,所述会话信息包括用户标识和业务类型;Acquiring session information sent by the user terminal, where the session information includes a user ID and a service type;
    对所述会话信息进行槽位识别,识别所述会话信息中的槽位和槽位值;Perform slot identification on the session information, and identify the slot and the slot value in the session information;
    根据所述业务类型获取已训练的关系分析模型,将识别的槽位和槽位值输入至所述关系分析模型中,根据多个槽位识别相关联的推测槽位,计算所述槽位与多个推测槽位之间的关联性;Obtain the trained relationship analysis model according to the business type, input the identified slot and slot value into the relationship analysis model, and calculate the slot and the associated speculative slot based on multiple slot identifications The correlation between multiple speculative slots;
    提取所述关联性达到阈值的推测槽位,并根据所述会话信息中的多个槽位值计算推测槽位相应的推测槽位值;Extracting the speculative slot whose relevance reaches the threshold, and calculating the speculative slot value corresponding to the speculative slot according to the multiple slot values in the session information;
    根据槽位信息和推测槽位信息确定下一交互节点的目标槽位信息;Determine the target slot information of the next interactive node according to the slot information and the inferred slot information;
    根据所述目标槽位信息生成所述下一交互节点的交互信息,并将所述交互信息推送至所述用户标识对应的用户终端。The interaction information of the next interaction node is generated according to the target slot information, and the interaction information is pushed to the user terminal corresponding to the user identifier.
  2. 根据权利要求1所述的方法,所述关系分析模型中部署了多个槽位的重要因子,所述根据多个槽位识别相关联的推测槽位的步骤包括:The method according to claim 1, wherein important factors of multiple slots are deployed in the relationship analysis model, and the step of identifying the associated speculative slots according to the multiple slots comprises:
    通过所述关系分析模型对多个槽位和槽位值进行特征提取,得到对应的槽位向量;Perform feature extraction on multiple slots and slot values through the relationship analysis model to obtain corresponding slot vectors;
    根据多个槽位的重要因子计算多个槽位向量之间的关联性;Calculate the correlation between multiple slot vectors based on the important factors of multiple slots;
    根据多个槽位向量之间的关联性计算多个槽位向量与候选槽位之间的关联性;Calculate the correlation between multiple slot vectors and candidate slots according to the correlation between multiple slot vectors;
    提取所述关联性达到预设阈值的候选槽位,将所述候选槽位作为推测槽位。The candidate slots whose relevance reaches a preset threshold are extracted, and the candidate slots are used as speculative slots.
  3. 根据权利要求1所述的方法,所述根据所述会话信息中的多个槽位值计算推测槽位相应的推测槽位值的步骤包括:The method according to claim 1, wherein the step of calculating a speculative slot value corresponding to a speculative slot according to a plurality of slot values in the session information comprises:
    根据多个槽位和槽位值计算推测槽位对应的多个元素的概率分布值;Calculate the probability distribution value of multiple elements corresponding to the inferred slot based on multiple slots and slot values;
    根据所述概率分布值计算多个元素的置信度;Calculating the confidence levels of multiple elements according to the probability distribution value;
    若不存在所述置信度满足阈值的元素,将所述推测槽位作为下一节点会话的目标槽位。If there is no element whose confidence level meets the threshold, the speculative slot is used as the target slot of the next node session.
  4. 根据权利要求3所述的方法,所述方法还包括:The method according to claim 3, further comprising:
    若存在所述置信度满足阈值的元素,将所述元素确定为所述推测槽位对应的推测槽位值;If there is an element whose confidence level meets the threshold, determine the element as the speculative slot value corresponding to the speculative slot;
    将所述推测槽位和推测槽位值添加至所述用户标识的槽位信息集合中;Adding the speculative slot and the speculative slot value to the slot information set identified by the user;
    根据所述槽位信息集合与所述业务类型的槽位定义表进行匹配,根据匹配结果确定候选槽位;Matching the slot information set with the slot definition table of the service type, and determining candidate slots according to the matching result;
    计算已知槽位信息和候选槽位之间的相关性,提取所述关联性达到预设阈值的候选槽位,将所述候选槽位作为下一交互节点的目标槽位。Calculate the correlation between the known slot information and the candidate slot, extract the candidate slot whose correlation reaches a preset threshold, and use the candidate slot as the target slot of the next interactive node.
  5. 根据权利要求1所述的方法,在获取已训练的关系分析模型之前,还包括:The method according to claim 1, before obtaining the trained relationship analysis model, further comprising:
    获取多个样本数据,将所述样本数据分为训练集和验证集,所述样本数据包括多个槽位信息;Acquiring a plurality of sample data, dividing the sample data into a training set and a verification set, the sample data including a plurality of slot information;
    将所述训练数据输入至预设网络模型中,根据所述预设网络模型训练多个槽位之间的依赖关系以及对应的概率分布,并生成初始关系分析模型;Input the training data into a preset network model, train the dependency relationships and corresponding probability distributions among a plurality of slots according to the preset network model, and generate an initial relationship analysis model;
    利用所述验证集对所述初始关系分析模型进行进一步训练和验证,得到多个验证数据对应的类别概率;Further training and verification of the initial relationship analysis model by using the verification set to obtain category probabilities corresponding to multiple verification data;
    直到所述验证数据对应的类别概率在预设范围内的数量达到预设阈值时,停止训练,得到所需的关系分析模型。Until the number of category probabilities corresponding to the verification data within the preset range reaches the preset threshold, the training is stopped, and the required relationship analysis model is obtained.
  6. 根据权利要求1至5任一项所述的方法,所述方法还包括:The method according to any one of claims 1 to 5, further comprising:
    当所述用户标识的槽位信息集合中的槽位信息满足预设阈值时,获取所述业务类型对应的产品数据,所述产品数据包括属性信息;When the slot information in the slot information set identified by the user meets a preset threshold, acquiring product data corresponding to the service type, where the product data includes attribute information;
    计算所述用户标识的槽位信息与多个产品数据的属性信息之间的匹配度;Calculating the degree of matching between the slot information of the user identification and the attribute information of the multiple product data;
    获取匹配度达到匹配度阈值的产品数据,将所述产品数据推送至所述用户标识对应的用户终端。Acquire product data whose matching degree reaches a matching degree threshold, and push the product data to the user terminal corresponding to the user identifier.
  7. 一种会话信息交互处理装置,所述装置包括:A device for processing session information interaction, the device comprising:
    数据获取模块,用于获取用户终端发送的会话信息,所述会话信息包括用户标识和业务 类型;A data acquisition module, configured to acquire session information sent by a user terminal, where the session information includes user identification and service type;
    槽位识别模块,用于对所述会话信息进行槽位识别,识别所述会话信息中的槽位和槽位值;A slot identification module, configured to perform slot identification on the session information, and identify the slot and the slot value in the session information;
    槽位分析模块,根据所述业务类型获取已训练的关系分析模型,将识别的槽位和槽位值输入至所述关系分析模型中,根据多个槽位识别相关联的推测槽位,计算所述槽位与多个推测槽位之间的关联性;提取所述关联性达到阈值的推测槽位,并根据所述会话信息中的多个槽位值计算推测槽位相应的推测槽位值;根据槽位信息和推测槽位信息确定下一交互节点的目标槽位信息;The slot analysis module obtains the trained relationship analysis model according to the service type, inputs the identified slot and slot value into the relationship analysis model, identifies the associated speculative slot according to multiple slots, and calculates The correlation between the slot and a plurality of speculative slots; extract the speculative slot whose correlation reaches the threshold, and calculate the speculative slot corresponding to the speculative slot according to the multiple slot values in the session information Value; Determine the target slot information of the next interactive node according to the slot information and the inferred slot information;
    交互信息发送模块,用于根据所述目标槽位信息生成所述下一交互节点的交互信息,并将所述交互信息推送至所述用户标识对应的用户终端。The interactive information sending module is configured to generate the interactive information of the next interactive node according to the target slot information, and push the interactive information to the user terminal corresponding to the user identifier.
  8. 根据权利要求7所述的装置,所述装置还包括产品数据推送模块,用于当所述用户标识的槽位信息集合中的槽位信息满足预设阈值时,获取所述业务类型对应的产品数据,所述产品数据包括属性信息;计算所述用户标识的槽位信息与多个产品数据的属性信息之间的匹配度;获取匹配度达到匹配度阈值的产品数据,将所述产品数据推送至所述用户标识对应的用户终端。The device according to claim 7, the device further comprising a product data push module, configured to obtain the product corresponding to the service type when the slot information in the slot information set of the user identification meets a preset threshold Data, the product data includes attribute information; the matching degree between the slot information of the user identification and the attribute information of multiple product data is calculated; the product data whose matching degree reaches the matching degree threshold is obtained, and the product data is pushed To the user terminal corresponding to the user identifier.
  9. 一种计算机设备,包括存储器和处理器,所述存储器存储有计算机程序,所述处理器执行所述计算机程序时实现会话信息交互处理方法:A computer device includes a memory and a processor, the memory stores a computer program, and the processor implements a session information interactive processing method when the computer program is executed:
    其中,所述会话信息交互处理方法包括:Wherein, the session information interaction processing method includes:
    获取用户终端发送的会话信息,所述会话信息包括用户标识和业务类型;Acquiring session information sent by the user terminal, where the session information includes a user ID and a service type;
    对所述会话信息进行槽位识别,识别所述会话信息中的槽位和槽位值;Perform slot identification on the session information, and identify the slot and the slot value in the session information;
    根据所述业务类型获取已训练的关系分析模型,将识别的槽位和槽位值输入至所述关系分析模型中,根据多个槽位识别相关联的推测槽位,计算所述槽位与多个推测槽位之间的关联性;Obtain the trained relationship analysis model according to the business type, input the identified slot and slot value into the relationship analysis model, and calculate the slot and the associated speculative slot based on multiple slot identifications The correlation between multiple speculative slots;
    提取所述关联性达到阈值的推测槽位,并根据所述会话信息中的多个槽位值计算推测槽位相应的推测槽位值;Extracting the speculative slot whose relevance reaches the threshold, and calculating the speculative slot value corresponding to the speculative slot according to the multiple slot values in the session information;
    根据槽位信息和推测槽位信息确定下一交互节点的目标槽位信息;Determine the target slot information of the next interactive node according to the slot information and the inferred slot information;
    根据所述目标槽位信息生成所述下一交互节点的交互信息,并将所述交互信息推送至所述用户标识对应的用户终端。The interaction information of the next interaction node is generated according to the target slot information, and the interaction information is pushed to the user terminal corresponding to the user identifier.
  10. 根据权利要求9所述的一种计算机设备,所述关系分析模型中部署了多个槽位的重要因子,所述根据多个槽位识别相关联的推测槽位的步骤包括:The computer device according to claim 9, wherein the important factors of multiple slots are deployed in the relationship analysis model, and the step of identifying the associated speculative slots according to the multiple slots comprises:
    通过所述关系分析模型对多个槽位和槽位值进行特征提取,得到对应的槽位向量;Perform feature extraction on multiple slots and slot values through the relationship analysis model to obtain corresponding slot vectors;
    根据多个槽位的重要因子计算多个槽位向量之间的关联性;Calculate the correlation between multiple slot vectors based on the important factors of multiple slots;
    根据多个槽位向量之间的关联性计算多个槽位向量与候选槽位之间的关联性;Calculate the correlation between multiple slot vectors and candidate slots according to the correlation between multiple slot vectors;
    提取所述关联性达到预设阈值的候选槽位,将所述候选槽位作为推测槽位。The candidate slots whose relevance reaches a preset threshold are extracted, and the candidate slots are used as speculative slots.
  11. 根据权利要求9所述的一种计算机设备,所述根据所述会话信息中的多个槽位值计算推测槽位相应的推测槽位值的步骤包括:8. The computer device according to claim 9, wherein the step of calculating a speculative slot value corresponding to a speculative slot according to a plurality of slot values in the session information comprises:
    根据多个槽位和槽位值计算推测槽位对应的多个元素的概率分布值;Calculate the probability distribution value of multiple elements corresponding to the inferred slot based on multiple slots and slot values;
    根据所述概率分布值计算多个元素的置信度;Calculating the confidence levels of multiple elements according to the probability distribution value;
    若不存在所述置信度满足阈值的元素,将所述推测槽位作为下一节点会话的目标槽位。If there is no element whose confidence level meets the threshold, the speculative slot is used as the target slot of the next node session.
  12. 根据权利要求11所述的一种计算机设备,包括:A computer device according to claim 11, comprising:
    若存在所述置信度满足阈值的元素,将所述元素确定为所述推测槽位对应的推测槽位值;If there is an element whose confidence level meets the threshold, determine the element as the speculative slot value corresponding to the speculative slot;
    将所述推测槽位和推测槽位值添加至所述用户标识的槽位信息集合中;Adding the speculative slot and the speculative slot value to the slot information set identified by the user;
    根据所述槽位信息集合与所述业务类型的槽位定义表进行匹配,根据匹配结果确定候选槽位;Matching the slot information set with the slot definition table of the service type, and determining candidate slots according to the matching result;
    计算已知槽位信息和候选槽位之间的相关性,提取所述关联性达到预设阈值的候选槽位, 将所述候选槽位作为下一交互节点的目标槽位。Calculate the correlation between the known slot information and the candidate slot, extract the candidate slot whose correlation reaches a preset threshold, and use the candidate slot as the target slot of the next interactive node.
  13. 根据权利要求9所述的一种计算机设备,在获取已训练的关系分析模型之前,还包括:The computer device according to claim 9, before acquiring the trained relationship analysis model, further comprising:
    获取多个样本数据,将所述样本数据分为训练集和验证集,所述样本数据包括多个槽位信息;Acquiring a plurality of sample data, dividing the sample data into a training set and a verification set, the sample data including a plurality of slot information;
    将所述训练数据输入至预设网络模型中,根据所述预设网络模型训练多个槽位之间的依赖关系以及对应的概率分布,并生成初始关系分析模型;Input the training data into a preset network model, train the dependency relationships and corresponding probability distributions among a plurality of slots according to the preset network model, and generate an initial relationship analysis model;
    利用所述验证集对所述初始关系分析模型进行进一步训练和验证,得到多个验证数据对应的类别概率;Further training and verification of the initial relationship analysis model by using the verification set to obtain category probabilities corresponding to multiple verification data;
    直到所述验证数据对应的类别概率在预设范围内的数量达到预设阈值时,停止训练,得到所需的关系分析模型。Until the number of category probabilities corresponding to the verification data within the preset range reaches the preset threshold, the training is stopped, and the required relationship analysis model is obtained.
  14. 根据权利要求9至13任一项所述的一种计算机设备,当所述用户标识的槽位信息集合中的槽位信息满足预设阈值时,获取所述业务类型对应的产品数据,所述产品数据包括属性信息;The computer device according to any one of claims 9 to 13, when the slot information in the slot information set of the user identification meets a preset threshold, the product data corresponding to the service type is acquired, and the Product data includes attribute information;
    计算所述用户标识的槽位信息与多个产品数据的属性信息之间的匹配度;Calculating the degree of matching between the slot information of the user identification and the attribute information of the multiple product data;
    获取匹配度达到匹配度阈值的产品数据,将所述产品数据推送至所述用户标识对应的用户终端。Acquire product data whose matching degree reaches a matching degree threshold, and push the product data to the user terminal corresponding to the user identifier.
  15. 一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现会话信息交互处理方法,A computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, a method for interactive processing of session information is realized,
    其中,所述会话信息交互处理方法包括以下步骤:Wherein, the session information interaction processing method includes the following steps:
    获取用户终端发送的会话信息,所述会话信息包括用户标识和业务类型;Acquiring session information sent by the user terminal, where the session information includes a user ID and a service type;
    对所述会话信息进行槽位识别,识别所述会话信息中的槽位和槽位值;Perform slot identification on the session information, and identify the slot and the slot value in the session information;
    根据所述业务类型获取已训练的关系分析模型,将识别的槽位和槽位值输入至所述关系分析模型中,根据多个槽位识别相关联的推测槽位,计算所述槽位与多个推测槽位之间的关联性;Obtain the trained relationship analysis model according to the business type, input the identified slot and slot value into the relationship analysis model, and calculate the slot and the associated speculative slot based on multiple slot identifications The correlation between multiple speculative slots;
    提取所述关联性达到阈值的推测槽位,并根据所述会话信息中的多个槽位值计算推测槽位相应的推测槽位值;Extracting the speculative slot whose relevance reaches the threshold, and calculating the speculative slot value corresponding to the speculative slot according to the multiple slot values in the session information;
    根据槽位信息和推测槽位信息确定下一交互节点的目标槽位信息;Determine the target slot information of the next interactive node according to the slot information and the inferred slot information;
    根据所述目标槽位信息生成所述下一交互节点的交互信息,并将所述交互信息推送至所述用户标识对应的用户终端。The interaction information of the next interaction node is generated according to the target slot information, and the interaction information is pushed to the user terminal corresponding to the user identifier.
  16. 根据权利要求15所述的计算机可读存储介质,所述关系分析模型中部署了多个槽位的重要因子,所述根据多个槽位识别相关联的推测槽位的步骤包括:The computer-readable storage medium according to claim 15, wherein important factors of multiple slots are deployed in the relationship analysis model, and the step of identifying the associated speculative slots according to the multiple slots comprises:
    通过所述关系分析模型对多个槽位和槽位值进行特征提取,得到对应的槽位向量;Perform feature extraction on multiple slots and slot values through the relationship analysis model to obtain corresponding slot vectors;
    根据多个槽位的重要因子计算多个槽位向量之间的关联性;Calculate the correlation between multiple slot vectors based on the important factors of multiple slots;
    根据多个槽位向量之间的关联性计算多个槽位向量与候选槽位之间的关联性;Calculate the correlation between multiple slot vectors and candidate slots according to the correlation between multiple slot vectors;
    提取所述关联性达到预设阈值的候选槽位,将所述候选槽位作为推测槽位。The candidate slots whose relevance reaches a preset threshold are extracted, and the candidate slots are used as speculative slots.
  17. 根据权利要求15所述的计算机可读存储介质,所述根据所述会话信息中的多个槽位值计算推测槽位相应的推测槽位值的步骤包括:15. The computer-readable storage medium according to claim 15, wherein the step of calculating a speculative slot value corresponding to a speculative slot according to a plurality of slot values in the session information comprises:
    根据多个槽位和槽位值计算推测槽位对应的多个元素的概率分布值;Calculate the probability distribution value of multiple elements corresponding to the inferred slot based on multiple slots and slot values;
    根据所述概率分布值计算多个元素的置信度;Calculating the confidence levels of multiple elements according to the probability distribution value;
    若不存在所述置信度满足阈值的元素,将所述推测槽位作为下一节点会话的目标槽位。If there is no element whose confidence level meets the threshold, the speculative slot is used as the target slot of the next node session.
  18. 根据权利要求17所述的计算机可读存储介质,若存在所述置信度满足阈值的元素,将所述元素确定为所述推测槽位对应的推测槽位值;The computer-readable storage medium according to claim 17, if there is an element whose confidence level meets a threshold, determining the element as the speculative slot value corresponding to the speculative slot;
    将所述推测槽位和推测槽位值添加至所述用户标识的槽位信息集合中;Adding the speculative slot and the speculative slot value to the slot information set identified by the user;
    根据所述槽位信息集合与所述业务类型的槽位定义表进行匹配,根据匹配结果确定候选槽位;Matching the slot information set with the slot definition table of the service type, and determining candidate slots according to the matching result;
    计算已知槽位信息和候选槽位之间的相关性,提取所述关联性达到预设阈值的候选槽位,将所述候选槽位作为下一交互节点的目标槽位。Calculate the correlation between the known slot information and the candidate slot, extract the candidate slot whose correlation reaches a preset threshold, and use the candidate slot as the target slot of the next interactive node.
  19. 根据权利要求15所述的计算机可读存储介质,在获取已训练的关系分析模型之前,还包括:15. The computer-readable storage medium according to claim 15, before acquiring the trained relationship analysis model, further comprising:
    获取多个样本数据,将所述样本数据分为训练集和验证集,所述样本数据包括多个槽位信息;Acquiring a plurality of sample data, dividing the sample data into a training set and a verification set, the sample data including a plurality of slot information;
    将所述训练数据输入至预设网络模型中,根据所述预设网络模型训练多个槽位之间的依赖关系以及对应的概率分布,并生成初始关系分析模型;Input the training data into a preset network model, train the dependency relationships and corresponding probability distributions among a plurality of slots according to the preset network model, and generate an initial relationship analysis model;
    利用所述验证集对所述初始关系分析模型进行进一步训练和验证,得到多个验证数据对应的类别概率;Further training and verification of the initial relationship analysis model by using the verification set to obtain category probabilities corresponding to multiple verification data;
    直到所述验证数据对应的类别概率在预设范围内的数量达到预设阈值时,停止训练,得到所需的关系分析模型。Until the number of category probabilities corresponding to the verification data within the preset range reaches the preset threshold, the training is stopped, and the required relationship analysis model is obtained.
  20. 根据权利要求15-19所述的计算机可读存储介质,当所述用户标识的槽位信息集合中的槽位信息满足预设阈值时,获取所述业务类型对应的产品数据,所述产品数据包括属性信息;The computer-readable storage medium according to claims 15-19, when the slot information in the slot information set identified by the user meets a preset threshold, the product data corresponding to the service type is acquired, and the product data Including attribute information;
    计算所述用户标识的槽位信息与多个产品数据的属性信息之间的匹配度;Calculating the degree of matching between the slot information of the user identification and the attribute information of the multiple product data;
    获取匹配度达到匹配度阈值的产品数据,将所述产品数据推送至所述用户标识对应的用户终端。Acquire product data whose matching degree reaches a matching degree threshold, and push the product data to the user terminal corresponding to the user identifier.
PCT/CN2020/087775 2019-09-09 2020-04-29 Method and apparatus for interactive session information processing, computer device and storage medium WO2021047189A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910848656.1A CN110750628A (en) 2019-09-09 2019-09-09 Session information interaction processing method and device, computer equipment and storage medium
CN201910848656.1 2019-09-09

Publications (1)

Publication Number Publication Date
WO2021047189A1 true WO2021047189A1 (en) 2021-03-18

Family

ID=69276096

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/087775 WO2021047189A1 (en) 2019-09-09 2020-04-29 Method and apparatus for interactive session information processing, computer device and storage medium

Country Status (2)

Country Link
CN (1) CN110750628A (en)
WO (1) WO2021047189A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116150221A (en) * 2022-10-09 2023-05-23 浙江博观瑞思科技有限公司 Information interaction method and system for service of enterprise E-business operation management

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110750628A (en) * 2019-09-09 2020-02-04 深圳壹账通智能科技有限公司 Session information interaction processing method and device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107133345A (en) * 2017-05-22 2017-09-05 北京百度网讯科技有限公司 Exchange method and device based on artificial intelligence
CN108153902A (en) * 2018-01-16 2018-06-12 和美(深圳)信息技术股份有限公司 More wheel session interaction method, apparatus, computer equipment and storage medium
CN109241251A (en) * 2018-07-27 2019-01-18 众安信息技术服务有限公司 A kind of session interaction method
CN109785833A (en) * 2019-01-02 2019-05-21 苏宁易购集团股份有限公司 Human-computer interaction audio recognition method and system for smart machine
CN109901896A (en) * 2018-12-06 2019-06-18 华为技术有限公司 Multi-task processing method in a kind of man-machine interactive system and man-machine interactive system
CN110750628A (en) * 2019-09-09 2020-02-04 深圳壹账通智能科技有限公司 Session information interaction processing method and device, computer equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10325510B2 (en) * 2016-10-21 2019-06-18 Vedantu Innovations Pvt Ltd. System for measuring effectiveness of an interactive online learning system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107133345A (en) * 2017-05-22 2017-09-05 北京百度网讯科技有限公司 Exchange method and device based on artificial intelligence
CN108153902A (en) * 2018-01-16 2018-06-12 和美(深圳)信息技术股份有限公司 More wheel session interaction method, apparatus, computer equipment and storage medium
CN109241251A (en) * 2018-07-27 2019-01-18 众安信息技术服务有限公司 A kind of session interaction method
CN109901896A (en) * 2018-12-06 2019-06-18 华为技术有限公司 Multi-task processing method in a kind of man-machine interactive system and man-machine interactive system
CN109785833A (en) * 2019-01-02 2019-05-21 苏宁易购集团股份有限公司 Human-computer interaction audio recognition method and system for smart machine
CN110750628A (en) * 2019-09-09 2020-02-04 深圳壹账通智能科技有限公司 Session information interaction processing method and device, computer equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116150221A (en) * 2022-10-09 2023-05-23 浙江博观瑞思科技有限公司 Information interaction method and system for service of enterprise E-business operation management

Also Published As

Publication number Publication date
CN110750628A (en) 2020-02-04

Similar Documents

Publication Publication Date Title
WO2020143844A1 (en) Intent analysis method and apparatus, display terminal, and computer readable storage medium
US11727243B2 (en) Knowledge-graph-embedding-based question answering
CN111104495B (en) Information interaction method, device, equipment and storage medium based on intention recognition
WO2020057022A1 (en) Associative recommendation method and apparatus, computer device, and storage medium
CN110909137A (en) Information pushing method and device based on man-machine interaction and computer equipment
WO2022142613A1 (en) Training corpus expansion method and apparatus, and intent recognition model training method and apparatus
CN109522393A (en) Intelligent answer method, apparatus, computer equipment and storage medium
CN110704588A (en) Multi-round dialogue semantic analysis method and system based on long-term and short-term memory network
CN110008250B (en) Social security data processing method and device based on data mining and computer equipment
WO2017133615A1 (en) Service parameter acquisition method and apparatus
WO2021212968A1 (en) Unstructured data processing method, apparatus, and device, and medium
WO2019080661A1 (en) Method and device for identifying intention of user
WO2022227162A1 (en) Question and answer data processing method and apparatus, and computer device and storage medium
WO2021189922A1 (en) Method and apparatus for generating user portrait, and device and medium
WO2021047189A1 (en) Method and apparatus for interactive session information processing, computer device and storage medium
CN108304424B (en) Text keyword extraction method and text keyword extraction device
CN110268472B (en) Detection mechanism for automated dialog system
CN109460541B (en) Vocabulary relation labeling method and device, computer equipment and storage medium
CN112766319A (en) Dialogue intention recognition model training method and device, computer equipment and medium
CN112397197A (en) Artificial intelligence-based inquiry data processing method and device
JP2015162109A (en) Task assignment server, task assignment method, and program
CN111583911A (en) Speech recognition method, device, terminal and medium based on label smoothing
US20170061957A1 (en) Method and apparatus for improving a language model, and speech recognition method and apparatus
US11615441B2 (en) Multi-stage content analysis system that profiles users and selects promotions
CN110597951A (en) Text parsing method and device, computer equipment and storage medium

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: 20862622

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 22.07.2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20862622

Country of ref document: EP

Kind code of ref document: A1