A business-based question-answering method, device, electronic device, and storage medium
Through the business-based question and answer method, the text generation model is used to identify the question intention and convert it into a query statement, and query the business ES database in real time. This solves the problem that the existing intelligent question and answer system cannot obtain business data in real time, and realizes intelligent and humanized real-time interaction. .
Patent Information
- Application Number
- CN202311752542.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-19
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2043-12-19
AI Technical Summary
Existing intelligent question and answer systems are difficult to obtain business data in real time, resulting in inaccurate or outdated answers, and cannot meet users' real-time interaction needs.
Through a business-based question and answer method, the text generation model is used to identify and convert question intentions, generate query statements, query the business ES database in real time, obtain the latest business data, and answer questions in an intelligent and humane way.
Real-time acquisition of system data is achieved, so that answers are always up-to-date and accurate. Users do not need manual intervention, meeting users' real-time interaction needs.
Smart Images

Figure CN117786071B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of AI technology, and in particular to a business-based question-answering method, device, electronic device, and storage medium. Background Art
[0002] In the current era of information explosion, users need convenient and efficient ways to interact with intelligent systems. However, existing dialogue systems can only respond to questions in a preset knowledge base or a specific corpus, but cannot answer questions based on real-time business data. Therefore, developing a dialogue system that can query business data in real time will have broad commercial value and market prospects in application scenarios in multiple fields. Summary of the invention
[0003] In view of this, the embodiments of the present application provide a business-based question-answering method, device, electronic device and storage medium, which can identify the intention of the question and guide the text generation model on behalf of the user, so that the user can obtain system data more easily without manual intervention.
[0004] The technical solution of the embodiment of the present application is implemented as follows:
[0005] In a first aspect, an embodiment of the present application provides a business-based question-answering method, comprising the following steps:
[0006] In response to a question request, an initial input question is obtained, a first conversion process is performed on the initial input question to obtain a first input question, and a first answer corresponding to the first input question is obtained based on a text generation model, wherein the first input question is used to obtain target classification information of the initial input question;
[0007] Performing a second conversion process on the initial input question based on the target classification information and the initial input question to obtain a second input question, and obtaining a second answer corresponding to the second input question based on the text generation model, wherein the second input question is a query statement of the business corresponding to the initial input question under the classification information;
[0008] A query result is obtained based on the query statement, and a third conversion process is performed on the query result to obtain a third input question, and a third answer corresponding to the third input question is obtained based on the text generation model, wherein the third input question is used to add an answer constraint, the third answer is the final answer, and the first input question, the second input question, the third input question, the first answer and the second answer are not displayed in the human-computer interaction interface.
[0009] In a second aspect, an embodiment of the present application further provides a business-based question-answering device, the device comprising:
[0010] A first conversion module is used to obtain an initial input question in response to a question request, perform a first conversion process on the initial input question to obtain a first input question, and obtain a first answer corresponding to the first input question based on a text generation model, wherein the first input question is used to obtain target classification information of the initial input question;
[0011] A second conversion module is used to perform a second conversion process on the initial input question based on the target classification information and the initial input question to obtain a second input question, and obtain a second answer corresponding to the second input question based on the text generation model, wherein the second input question is a query statement of the business corresponding to the initial input question under the classification information;
[0012] A third conversion module is used to obtain a query result based on the query statement, perform a third conversion on the query result to obtain a third input question, and obtain a third answer corresponding to the third input question based on the text generation model, wherein the third input question is used to add an answer constraint, the third answer is a final answer, and the first input question, the second input question, the third input question, the first answer and the second answer are not displayed in the human-computer interaction interface.
[0013] In a third aspect, an embodiment of the present application further provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to execute the business-based question-and-answer method described in any one of the first aspects.
[0014] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the business-based question-and-answer method described in any one of the first aspects is executed.
[0015] The embodiments of the present application have the following beneficial effects:
[0016] It can obtain system data in real time and keep it synchronized with business data, thus ensuring that the answers and information provided are always up-to-date and accurate. In addition, by leveraging the semantic understanding, text classification capabilities, and natural language to ES DSL capabilities of the general text generation model, the system can identify the intent of the question, convert the question into an executable ES query request, query the business ES database, obtain business data, and answer the question in an intelligent and humanized way. This enables users to obtain system data more easily without manual intervention. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0018] Figure 1 is a flowchart of steps S101-S103 provided in an embodiment of the present application;
[0019] Figure 2 It is a flowchart of steps S201-S202 provided in an embodiment of the present application;
[0020] Figure 3 It is a flowchart of steps S301-S302 provided in an embodiment of the present application;
[0021] Figure 4 It is a flowchart of steps S401-S402 provided in an embodiment of the present application;
[0022] Figure 5 It is a flowchart of steps S501-S502 provided in an embodiment of the present application;
[0023] Figure 6 It is a principle block diagram provided by an embodiment of the present application;
[0024] Figure 7 This is one of the example data provided in the embodiment of the present application;
[0025] Figure 8 This is the second example data provided in the embodiment of the present application;
[0026] Fig. 9 is a schematic diagram of the structure of a business-based question-answering device provided in an embodiment of the present application;
[0027] Fig.10 It is a schematic diagram of the composition structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0028] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.
[0029] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0030] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0031] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0032] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.
[0033] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0034] When implementing the embodiments of the present application, the applicant found that currently, the technologies for solving intelligent question-answering tasks mainly include the following:
[0035] The first method is to perform similarity matching based on the question database and return the preset answer. This method is not very accurate due to the diversity of question expressions, the way the question is expressed, the context and the tone of the question may be different. It cannot answer based on real-time business data.
[0036] The second method is to match vectors based on the question database, match vectors in the preset vector database, and then return the associated preset answer. This method is more accurate than the first method, but it still cannot solve the problem of semantic recognition. These methods usually rely on keyword matching, but cannot understand the semantics of the question. Therefore, some subtle differences in the question may lead to incorrect answers. It is impossible to make answers based on real-time business data.
[0037] The third method is to train the model through deep learning and let the model output the answer. This method can solve the problem of semantic recognition, but it also has a limitation, that is, the content of the question and answer is limited by the training corpus, and it is impossible to obtain real-time data to answer the question.
[0038] The fourth type is based on the knowledge graph. Through vector analysis, we can obtain question entities, relationships, etc., and then query knowledge in the knowledge graph to infer answers. Maintaining and updating the knowledge graph is a complex task. Over time, the information in the knowledge graph may become outdated and need to be constantly updated manually, which is very time-consuming and expensive for large-scale graphs. Therefore, the real-time and accuracy of the knowledge graph may be limited.
[0039] In general, existing intelligent question-answering technologies are basically unable to obtain business data in real time to answer questions. Therefore, developing a dialogue system that can query business data in real time will have broad commercial value and market prospects in application scenarios in multiple fields.
[0040] See also Figure 1 , Figure 1 is a flow chart of steps S101-S103 of the business-based question-answering method provided in an embodiment of the present application, which will be combined with Figure 1 Steps S101-S103 are shown for explanation.
[0041] Step S101: in response to a question request, obtaining an initial input question, performing a first conversion process on the initial input question to obtain a first input question, and obtaining a first answer corresponding to the first input question based on a text generation model, wherein the first input question is used to obtain target classification information of the initial input question;
[0042] Step S102: performing a second conversion process on the initial input question based on the target classification information and the initial input question to obtain a second input question, and obtaining a second answer corresponding to the second input question based on the text generation model, wherein the second input question is a query statement of the business corresponding to the initial input question under the classification information;
[0043] Step S103: obtain a query result based on the query statement, perform a third conversion process on the query result to obtain a third input question, and obtain a third answer corresponding to the third input question based on the text generation model, wherein the third input question is used to add an answer constraint, the third answer is the final answer, and the first input question, the second input question, the third input question, the first answer and the second answer are not displayed in the human-computer interaction interface.
[0044] The above business-based question-answering method can obtain system data in real time and keep it synchronized with business data, thereby ensuring that the answers and information provided are always up-to-date and accurate. In addition, by leveraging the semantic understanding, text classification capabilities, and natural language to ES DSL capabilities of the general text generation model, this system can identify the intent of the question, convert the question into an executable ES query request, query the business ES database, obtain business data, and answer the question in an intelligent and humanized way. This enables users to obtain system data more easily without manual intervention.
[0045] The above exemplary steps of the embodiments of the present application are described below respectively.
[0046] In step S101, in response to a question request, an initial input question is obtained, a first conversion process is performed on the initial input question to obtain a first input question, and a first answer corresponding to the first input question is obtained based on a text generation model, wherein the first input question is used to obtain target classification information of the initial input question.
[0047] The user asks a question in an interface or application, and the question is obtained by the system as the initial input question. For example, the user asks: "How do I change my account password?" This conversion process is mainly to analyze the core content and intent of the question. In the above example, the first conversion process may analyze that the target of this question is about the category of "account management". This classification information helps the system understand the general direction of the user's question.
[0048] Using the text generation model, the system generates a first answer based on the first input question. This answer may be an internal label or category, such as "Account Management-Password Change". This label is not displayed in the user interface, but provides direction for subsequent processing.
[0049] In step S102, a second conversion process is performed on the initial input question based on the target classification information and the initial input question to obtain a second input question, and a second answer corresponding to the second input question is obtained based on the text generation model, wherein the second input question is a query statement of the business corresponding to the initial input question under the classification information.
[0050] After knowing the classification of the question, the second transformation process will transform the initial input question into a more specific query statement. For example, "How do I change my account password?" is transformed into "Get the steps to change my account password." In this way, the question becomes clearer and points to a specific business query.
[0051] Using the text generation model again, the system generates a second answer based on the second input question. This answer may be a database query statement or API call instruction to obtain actual business data. For example, it may be an instruction to query the "account management" database for the steps of "password change".
[0052] In step S103, a query result is obtained based on the query statement, the query result is subjected to a third conversion process to obtain a third input question, and a third answer corresponding to the third input question is obtained based on the text generation model, wherein the third input question is used to add an answer constraint, the third answer is the final answer, and the first input question, the second input question, the third input question, the first answer and the second answer are not displayed in the human-computer interaction interface.
[0053] The system executes the query statement in the second answer and obtains actual query results from a database or other data source. These results are usually specific steps or information on how to change the password.
[0054] The query results need to go through a third conversion process to ensure that they meet the display requirements of the user interface or a specific format. For example, the professional terms or codes in the database are converted into a language that ordinary users can understand.
[0055] Finally, the system uses the text generation model to generate the third answer, which is the answer finally presented to the user. This answer combines the query results and the results of the third conversion process to ensure that it is both accurate and easy to understand. For example, the final answer may be: "To change your account password, please log in to your account, then select 'Security Settings', enter your new password in the 'Change Password' option and save it." This answer will be displayed directly on the user interface to meet the user's query needs.
[0056] In some embodiments, before obtaining the initial input question in response to the question request, the method further includes:
[0057] Based on the business, a business entity corresponding to the business is obtained, and at least one classification information is defined for different businesses, wherein the business entity includes the definition of entity attributes, the data type of entity attributes, the relationship between entities, the association rules between entities, and an example ES DSL query statement for each entity, wherein the example ES DSL query statement includes query conditions, sorting, and restrictions.
[0058] First, the system will obtain relevant business entities based on the current business environment or business domain. These business entities are usually some core concepts or objects in the business domain. For example, in an e-commerce business, "products", "users", "orders", etc. may all be business entities.
[0059] For different businesses, the system will define at least one category information. This category information is used to classify problems or data, which helps the system understand and handle problems more accurately. For example, in e-commerce business, category information may include "product query", "order management", "user service", etc.
[0060] For each business entity, the system will provide a detailed definition. These definitions include:
[0061] Definition of entity attributes: clarify what attributes an entity has. For example, a "product" entity may have attributes such as "price", "stock", and "description".
[0062] Data type of entity attribute: Specify the data type of entity attribute, such as string, number, date, etc. This helps the system process and analyze the attribute data.
[0063] Relationships between entities: Describes the relationships between different entities, such as "users" can place "orders", "orders" contain "goods", etc. These relationships can help the system understand and process the interactions or connections between different entities.
[0064] Association rules between entities: define some association rules or logic between entities, such as under certain conditions, the status of an "order" may change.
[0065] For each business entity, the system provides one or more sample query statements (Elasticsearch Domain Specific Language, ES DSL). These query statements show how to perform query operations on the entity, including:
[0066] Query conditions: specify the conditions or constraints for the query, such as querying for products with prices within a certain range.
[0067] Sorting: Define how the query results are sorted, such as sorting products by price from low to high.
[0068] Limits: Set some limits for the query, such as the maximum number of results returned.
[0069] These preprocessing operations help the system build a complete business model and data structure. When users ask questions, the system can accurately understand the background of the question and the business environment, thereby providing more accurate and targeted answers. At the same time, this also provides a basis and basis for subsequent question classification and conversion processing.
[0070] In some embodiments, see Figure 2 , Figure 2 It is a flowchart of steps S201-S202 provided in an embodiment of the present application. The first conversion processing of the initial input question to obtain the first input question can be achieved through steps S201-S202, which will be explained in combination with each step.
[0071] In step S201, a first content is determined based on the at least one classification information, a second content is determined based on a preset first answer format, and a third content is determined based on the initial input question, wherein the first content represents descriptive information of the at least one classification information, the second content is used to extract answer content of the text generation model in the first answer format, and the third content is the initial input question.
[0072] In step S202, the first content, the second content and the third content are concatenated to obtain the first input question.
[0073] First, the system will determine the first content based on at least one previously defined classification information. This first content is mainly used to characterize the description information of these classification information. It may be one or more keywords, phrases or tags to identify the category or field to which the question belongs. For example, if the question involves "product query", then the first content may contain keywords such as "product" and "query".
[0074] Next, the system determines the second content based on the preset first answer format. This first answer format may be a fixed template or structure used to standardize the answer content of the text generation model. The role of the second content is to extract the specific content or placeholders that need to be filled by the text generation model based on this first answer format. This ensures that no matter how the question changes, the generated answer can maintain a consistent format and structure.
[0075] Then, the system will directly use the initial input question as the third content. This third content represents the user's original question without any modification or conversion, retaining the original appearance of the user's question.
[0076] Finally, the system concatenates the first content, the second content, and the third content. This concatenation process may be a simple string concatenation, or it may be a merger according to a specific syntax or rule. The result of the concatenation process is the first input question.
[0077] Through such processing, the first input question not only contains the information of the user's original question (third content), but also incorporates the constraints of classification information and answer format (first content and second content). This enables the text generation model to more accurately understand the context and intention of the question when generating answers, while ensuring the consistency of the format and structure of the answers.
[0078] In some embodiments, see Figure 3 , Figure 3 It is a flow chart of steps S301-S302 provided in an embodiment of the present application. The initial input question is subjected to a second conversion process based on the target classification information and the initial input question to obtain a second input question. This can be achieved through steps S301-S302 and will be explained in conjunction with each step.
[0079] In step S301, a fourth content is determined based on a preset second answer format, a fifth content is determined based on the business entity, and a sixth content is determined based on the initial input question, wherein the fourth content is used to set an introductory statement and define the second answer format, the fifth content is an ES DSL query statement, and the sixth content is the initial input question.
[0080] In step S302, the fourth content, the fifth content and the sixth content are concatenated to obtain the second input question.
[0081] First, the system determines the fourth content based on the preset second answer format. This second answer format is different from the first answer format mentioned above. It may be another fixed template or structure to adapt to different types or levels of detail of answers. The fourth content is mainly used to set the introduction and define the second answer format. The introduction may be some sentences used to introduce or explain the answer content, while the second answer format defines the overall structure and presentation of the answer content.
[0082] Next, the system will determine the fifth content based on the previously defined business entity. This fifth content is actually an ES DSL query statement. This query statement is a query statement for a certain business entity, used to retrieve information related to the entity from the database. This query statement may be automatically generated based on the content of the user's question, or it may be pre-defined.
[0083] Similar to the first conversion process, the system will directly use the initial input question as the sixth content. This sixth content represents the user's original question and retains the original appearance of the user's question without any modification or conversion.
[0084] Finally, the system concatenates the fourth content, the fifth content, and the sixth content. This concatenation may be a merger according to a specific grammar or rule, or it may be a simple string concatenation. Through the concatenation process, the system obtains the second input question.
[0085] Through such processing, the second input question not only contains the information of the user's original question (the sixth content), but also combines the guide words, answer format (the fourth content) and the query statement of the business entity (the fifth content). This enables the system to more accurately understand the background and intention of the question when generating an answer, and at the same time retrieve the actual information related to the question from the database, thereby providing a more accurate and targeted answer.
[0086] In some embodiments, after obtaining a query result based on the query statement and before performing a third conversion process on the query result to obtain a third input question, the method further includes:
[0087] Performing format conversion processing on the query result to obtain the query result in a target format, wherein the target format includes one of the following formats: JSON, XML, CSV;
[0088] The method further comprises:
[0089] The query result is encrypted or access control is added.
[0090] After obtaining the query results, the system will convert the results to obtain the query results in the target format. The target format mentioned here can be any one of JSON, XML or CSV. The format conversion process may be to adapt to different application scenarios or user needs. For example, if the user needs to import these query results into a specific software or system for analysis, it will be more convenient to convert them into a format supported by the software or system (such as CSV).
[0091] In addition to format conversion, the system will also encrypt the query results or add access control. This step may be to protect sensitive information in the query results or prevent unauthorized access.
[0092] Encryption: By encrypting the query results, it can be ensured that only the user or system holding the corresponding decryption key can read and understand the data. Encryption can use various algorithms and technologies, such as symmetric encryption, asymmetric encryption, etc.
[0093] Add access control: Access control is a more granular data protection mechanism that controls the access rights to query results based on the user's identity, role, or other attributes. For example, some query results may only be visible to administrators or specific user groups.
[0094] Through these two additional steps, this method not only provides more flexible query result format selection, but also enhances the security and privacy protection of the query results, thereby ensuring the accuracy and security of the entire question handling and answering process.
[0095] In some embodiments, see Figure 4 , Figure 4 It is a flowchart of steps S401-S402 provided in an embodiment of the present application. The query result is subjected to a third conversion process to obtain a third input question, which can be achieved through steps S401-S402 and will be explained in combination with each step.
[0096] In step S401, the seventh content is obtained based on the query result and the preset guidance model, the eighth content is obtained based on the initial input question and the query result, and the ninth content is obtained based on the answer constraint, wherein the seventh content is used to guide the text generation model to generate a natural language answer in combination with the initial input question and the query result, the eighth content is the initial input question and the query result, and the ninth content is the answer constraint.
[0097] In step S402, the seventh content, the eighth content and the ninth content are concatenated to obtain the third input question.
[0098] First, the system determines the seventh content based on the query results and the preset guidance model. This guidance model may be a model for generating guidance words, which can automatically generate some sentences or prompts for guiding the text generation model based on the content of the query results. The seventh content is mainly used to guide the text generation model to generate natural language answers based on the initial input question and query results. It may contain some keywords, phrases or questions to indicate the direction or focus of the answer.
[0099] Next, the system will directly use the initial input question and query results as the eighth content. This eighth content is actually a combination of the user's original question and related query results, which provides the text generation model with all the information needed to generate an answer.
[0100] In addition, the system will determine the ninth content based on the answer constraints. Answer constraints may be some predefined rules or conditions that are used to limit or regulate the answer content of the text generation model. These constraints may be based on business logic, laws and regulations, or user needs, etc., to ensure that the generated answers are accurate, compliant, and useful.
[0101] Finally, the system concatenates the seventh content, the eighth content, and the ninth content. This concatenation may be a merger according to a specific grammar or rule, or it may be a simple string concatenation. Through the concatenation process, the system obtains the third input question.
[0102] Through this processing, the third input question not only contains the information of the user's original question (through the eighth content), but also incorporates the guide (through the seventh content) and answer constraints (through the ninth content), thereby guiding the text generation model to generate a natural language answer that meets the requirements. This design makes the entire question processing and answering process more flexible, accurate and in line with actual needs.
[0103] In some embodiments, see Figure 5 , Figure 5 It is a flowchart of steps S501-S502 provided in an embodiment of the present application. The method also includes steps S501-S502, which will be described in combination with each step.
[0104] In step S501, a feedback interface is displayed through a human-computer interaction interface to receive feedback information through the feedback interface.
[0105] In step S502, the first conversion process, the second conversion process, and the third conversion process are adjusted based on the feedback information.
[0106] First, the system will display a feedback interface through the human-computer interaction interface. This feedback interface may be a pop-up window, a dedicated page, or a specific area to show the user the results of question processing and answering, and allow the user to provide feedback.
[0107] After the feedback interface is displayed, the system will wait for and receive feedback information provided by the user through the interface. This feedback information may be the user's evaluation of the problem handling results, the rating of the answer quality, the modification suggestion of a certain step, or other forms of opinions and suggestions.
[0108] After receiving the feedback information, the system will analyze and process the feedback and adjust the first conversion process, the second conversion process and the third conversion process according to the feedback content. These adjustments may be modifications to the conversion process algorithm, parameter adjustments, rule updates or other forms of optimization.
[0109] Adjusting the first conversion process: Based on the feedback, the system may adjust the algorithm or rules for how the first input question is generated based on the classification information and the initial input question.
[0110] Adjust the second conversion process: Based on the feedback, the system may modify the logic or parameters of how the second input question is generated based on the target classification information and the initial input question.
[0111] Adjust the third-party conversion process: Based on user feedback on the query results and answer quality, the system may adjust the query result format conversion, encryption processing, or access control, while optimizing the logic of how to generate the third-party input question.
[0112] Through such a feedback and adjustment mechanism, the method can continuously learn and improve from user feedback, improve the accuracy and satisfaction of question handling and answers, and thus better meet user needs.
[0113] Below, a complete embodiment of the present application will be systematically described, see Figure 6 .
[0114] Implementation ideas:
[0115] 1. Business personnel or developers classify and define business problems based on business data entities in advance based on the business system. Developers provide the business entity schema and the fields of the entity object in the Elasticsearch library. The more specific the abstraction of entity attributes, the better the effect.
[0116] 2. Developers preset problem classification prompt templates.
[0117] 3. For each type of question, a prompt template for converting natural language to ES DSL is preset.
[0118] 4. The user inputs a question, and the system uses the large model to identify the question into a preset category.
[0119] 5. Combine the user's input question and the preset classified natural language to ES DSL prompt template into a prompt, and call the natural language to DSL capability of the large model to convert the question into an executable ES DSL corresponding to the business system.
[0120] 6. Based on the query statement generated in the previous step, query the data of the business system Elasticsearch and convert it into JSON.
[0121] 7. Submit the question, result JSON, and answer prompt to the big model to obtain the final answer. The big model gradually classifies the questions, accurately prompts, and converts them into executable DSL, providing reliability and robustness of the dialogue system.
[0122] System Modules:
[0123] 1. Dialogue process control module: responsible for handling the overall process of the dialogue.
[0124] The main functions of this module are:
[0125] 1) Manage the start, progress and end of the conversation. Obtain user input, call the large model module interface step by step to process the user input questions, call the real-time business data module to query data, and finally output the answer to the user.
[0126] 2) Exception handling: When the question range exceeds the limit or other exceptions occur during the conversation, a friendly prompt or fallback answer can be output to the user.
[0127] 3) Conversation history: manage and record user conversation history.
[0128] 2. Large language model calling module: used to call large language model capabilities.
[0129] The module needs to include the following capabilities:
[0130] 1) The ability to understand semantics and classify text, which is used to compare the questions entered by the user with the system's preset classifications and determine the category of the question;
[0131] 2) Natural language to DSL capability, used to convert user input questions and preset prompts into executable ES DSL;
[0132] 3) Text generation capability, where users convert questions entered by users and answers to system queries into natural language;
[0133] 3. Real-time business database module: used to query real-time business data.
[0134] The module needs to include the following capabilities:
[0135] 1) Query the business Elasticsearch database according to the ES DSL query statement and return the query results.
[0136] System Characterization Steps:
[0137] Step 1: System preset business categories.
[0138] 1. Collect and analyze business data entities, identify key data entities and their attributes;
[0139] 2. Provide detailed business entity schema, including the definition and data types of entity attributes, relationships and association rules between entities, and sample DSL query statements for each entity, including query conditions, sorting, and restrictions;
[0140] 3. Define the problem categories based on business data.
[0141] Step 2: Problem classification.
[0142] 1. According to the classification in step 1, formulate a specific question classification prompt template in advance. These prompts are used to guide the large model to classify questions into the correct category according to the question description. The prompts contain three main parts. The first part lists the description of each category, including the key features of the question, such as question type, example, question pattern or domain keywords, to assist the model in correctly classifying the question; the second part defines the format of the model answer to facilitate the program to extract the model answer content; the third part is the question input, which is the question that needs to be classified, that is, the question entered by the user.
[0143] The prompt is designed in the following format: "I want you to act as a platform robot. The platform currently has X functions, 1-XXX, 2-XXX, 3-XXX. I will provide you with a sentence. You identify which function it is and directly return the number corresponding to the function. If you cannot identify it, directly return 0. Don't explain. My question is: XXX".
[0144] 2. Fill the classification and description in step 1 into the first part of the above template to obtain a complete preset classification template.
[0145] 3. Replace the question entered by the user into the third part of the preset prompt template to obtain a complete prompt, call the large model interface, obtain the answer to the question classification, and extract the classification information. Here, the answer form defined in the above template is combined with regular expressions for extraction.
[0146] Step 3: Transform the question into an executable query request.
[0147] 1. According to the classification and business entity schema in step 1, prepare a detailed DSL prompt template in advance. This part of the prompt will be used to convert the user's natural language questions into executable ES DSL. The prompt mainly consists of three parts: the first part is the introduction and the format of the answer definition; the second part is the business entity schema of the classification, including the definition and data type of entity attributes, the mapping of query conditions and restrictions, to assist the model in generating accurate ES DSL queries; the third part is the question entered by the user. The second part of the prompt can also include some examples of questions converted into ES DSL.
[0148] The prompt is designed to be in the following format: "I want you to act as an ES query assistant. The current time is %time. I will provide you with the index document structure, and you can generate the query request body based on my question and return it directly without explanation. When doing aggregate queries, remember to set the size to 0. If time is involved, please use yyyy-MM-dd hh:mm:ss. Do not use now or other time formats. Do not add keywords to the query field, and exclude the XXX field from the query results. If you are doing an aggregate query, please use the id field for aggregation. The document structure of the XXX index is as follows: XXX; My question is: XXX".
[0149] 2. Fill the classification and business entity schema in step 1 and some query restrictions or mappings into the second part of the above DSL prompt template to obtain a complete preset DSL prompt template.
[0150] 3. Fill the question entered by the user into the third part of the above preset DSL prompt template to obtain a complete prompt, call the interface of the large model, and generate executable ESDSL statements. Here, DSL statements are extracted according to the answer form defined in the above template combined with regular expressions.
[0151] Step 4: Query business data in real time.
[0152] 1. Execute the statement obtained in step 3 in the business Elasticsearch database module to query the business database document data in real time, and finally convert the query results into JSON text format.
[0153] Step 5: Convert query results into humanized answers.
[0154] 1. Specify the answer prompt template in advance. This part of the prompt is used to guide the model to generate the final answer to the question. The prompt mainly consists of three parts. The first part, the guide, is mainly used to guide the model to generate a natural language answer based on the question and the query results in step 4; the second part includes the question entered by the user and the query results in step 4; the third part is the constraint of the answer to ensure that the tone and structure of the generated answer meet expectations.
[0155] The prompt is designed in a similar format as follows: "I would like you to act as a system assistant. You should answer in a humanized tone based on the question and query results. Question: %question, query result: %answer. Please output the answer directly to the customer. If the answer is very long, please pay attention to line breaks."
[0156] 2. Replace the question entered by the user into the above preset prompt template to obtain the complete prompt, call the interface of the large model, and obtain the final answer.
[0157] The following takes an intelligent perception system as an example. The system's business data includes camera data and IoT device data (smoke sensors, temperature sensors, etc.). The large model uses ChatGPT3.
[0158] 1. System preset business classification
[0159] There are mainly two types of entities in this business system, one is the camera entity, and the other is the IoT device entity, so the device information of the two can be divided into categories. These devices will generate alarms and save them as a type of entity. People who use the system also want to obtain these alarm information, so the alarm information is classified into a separate category. In addition, calling up surveillance cameras is also a common business scenario. Since calling up surveillance cameras and querying camera entities are different operations, they are also classified separately here.
[0160] In summary, information service issues are divided into four categories: 1-query alarm information, 2-query IoT device information and device statistics, 3-query camera information and statistics camera information, and 4-retrieve monitoring.
[0161] The alarm information index is alarm_history_alias, and the fields are as follows:
[0162] Alarm configuration name, alarmConfigName, type: keyword.
[0163] Alarm status (0 means alarm is in progress, 1 means it has been marked as cleared), alarmStatus, type: integer.
[0164] Alarm time, alarmTime, type: date.
[0165] Alarm information, alarmInfo, type: keyword.
[0166] Alarm level (1 for super urgent, 2 for urgent, 3 for serious, 4 for general, 5 for warning), level, type: integer. ......
[0168] The camera information index is ipc_info_alias, and the fields are as follows:
[0169] name,name,type:keyword.
[0170] Device address, deviceAddress, type: keyword.
[0171] Manufacturer (Hikvision, Dahua, Uniview), manufacturer, type: keyword.
[0172] Model, model, type: keyword.
[0173] Whether online (1 for online; 0 for offline), online, type: integer.
[0174] Registration time, registerTime, type: date. ......
[0176] Other entity indexes are omitted for now.
[0177] 2. Preset prompt template
[0178] 1) Question prompt template: I want you to act as a platform robot. The platform currently has four functions: 1-query alarm information, 2-query device information and device statistics, 3-query camera information and statistics camera information, 4-call monitoring, play real-time video, obtain playback address, open the screen, view monitoring, and view real-time status; I will provide you with a sentence. You identify which function it is and directly return the number corresponding to the function. If you cannot identify it, directly return 0. Don't explain. My question is: %question.
[0179] 2) Alarm questions (querying ElasticSearch) Prompt template: I want you to act as an ES query assistant. The current time is %time. I will provide you with the index document structure. You can generate the query request body based on my question and return it directly without explanation. When doing aggregate query, please set the size to 0. If time is involved, please use yyyy-MM-dd hh:mm:ss. Do not use now or other time formats. Do not add keywords to the query field, and exclude the alarmInfo field from the query results. If you are doing an aggregate query, please use the id field for aggregation. The document structure of the alarm history index is as follows: XXXX. level, alarm level enumeration 1 means super urgent 2 means urgent 3 means serious 4 means general 5 means reminder; alarmTime, alarm time unix timestamp; alarmConfigName, alarm configuration name, which can also be considered as the alarm name; alarmInfo, alarm details; alarmStatus, alarm status enumeration 0 means in alarm 1 means marked as cleared; My question is: %question.
[0180] The index document structure is the structure corresponding to the entity in ElasticSearch.
[0181] 3) Other class templates are omitted for now.
[0182] 3. Problem Classification
[0183] The user inputs the question "How many camera devices are there according to the manufacturer?" and calls the large model interface to obtain the question category. Figure 7 As shown, the category obtained is 3-query camera information.
[0184] 4. Convert the problem into an executable query statement
[0185] According to the above step categories, the preset template is obtained, the user's question is filled into the third part of the template, and the large model interface is called to obtain the ES DSL statement.
[0186] 5. Real-time query of business data
[0187] According to the generated query statement, business data is obtained from the Elasticsearch database in the business system and converted into a JSON string for the next step.
[0188] 6. Convert query results into humanized answers
[0189] The user's input question and the JSON result of the above query are constructed into prompts, and the interface of the large model is called to obtain the final answer, such as Figure 8 shown.
[0190] In summary, the embodiments of the present application have the following beneficial effects:
[0191] It can obtain system data in real time and keep it synchronized with business data, thus ensuring that the answers and information provided are always up-to-date and accurate. In addition, by leveraging the semantic understanding, text classification capabilities, and natural language to ES DSL capabilities of the general text generation model, the system can identify the intent of the question, convert the question into an executable ES query request, query the business ES database, obtain business data, and answer the question in an intelligent and humanized way. This enables users to obtain system data more easily without manual intervention.
[0192] Based on the same inventive concept, the embodiments of the present application also provide a business-based question-and-answer device corresponding to the business-based question-and-answer method in the first embodiment. Since the principle of solving the problem by the device in the embodiments of the present application is similar to the above-mentioned business-based question-and-answer method, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0193] like Fig. 9 As shown, Fig. 9is a schematic diagram of the structure of a business-based question-answering device 900 provided in an embodiment of the present application. The business-based question-answering device 900 includes:
[0194] A first conversion module 901 is used to obtain an initial input question in response to a question request, perform a first conversion process on the initial input question to obtain a first input question, and obtain a first answer corresponding to the first input question based on a text generation model, wherein the first input question is used to obtain target classification information of the initial input question;
[0195] A second conversion module 902 is used to perform a second conversion process on the initial input question based on the target classification information and the initial input question to obtain a second input question, and obtain a second answer corresponding to the second input question based on the text generation model, wherein the second input question is a query statement of the business corresponding to the initial input question under the classification information;
[0196] The third conversion module 903 is used to obtain a query result based on the query statement, perform a third conversion on the query result to obtain a third input question, and obtain a third answer corresponding to the third input question based on the text generation model, wherein the third input question is used to add an answer constraint, the third answer is the final answer, and the first input question, the second input question, the third input question, the first answer and the second answer are not displayed in the human-computer interaction interface.
[0197] Those skilled in the art should understand that Fig. 9 The implementation functions of each unit in the business-based question-and-answer device 900 shown can be understood by referring to the relevant description of the aforementioned business-based question-and-answer method. Fig. 9 The functions of each unit in the business-based question-answering device 900 shown may be implemented by a program running on a processor, or may be implemented by a specific logic circuit.
[0198] In a possible implementation manner, before the first conversion module 901 obtains the initial input question in response to the question request, the method further includes:
[0199] Based on the business, a business entity corresponding to the business is obtained, and at least one classification information is defined for different businesses, wherein the business entity includes the definition of entity attributes, the data type of entity attributes, the relationship between entities, the association rules between entities, and an example ES DSL query statement for each entity, wherein the example ES DSL query statement includes query conditions, sorting, and restrictions.
[0200] In a possible implementation, the first conversion module 901 performs a first conversion process on the initial input question to obtain a first input question, including:
[0201] Determine a first content based on the at least one classified information, determine a second content based on a preset first answer format, and determine a third content based on the initial input question, wherein the first content represents description information of the at least one classified information, the second content is used to extract answer content of the text generation model in the first answer format, and the third content is the initial input question;
[0202] The first content, the second content and the third content are concatenated to obtain the first input question.
[0203] In a possible implementation, the second conversion module 902 performs a second conversion process on the initial input question based on the target classification information and the initial input question to obtain a second input question, including:
[0204] Determine a fourth content based on a preset second answer format, determine a fifth content based on the business entity, and determine a sixth content based on the initial input question, wherein the fourth content is used to set an introductory statement and define the second answer format, the fifth content is an ES DSL query statement, and the sixth content is the initial input question;
[0205] The fourth content, the fifth content and the sixth content are concatenated to obtain the second input question.
[0206] In a possible implementation manner, after obtaining a query result based on the query statement and before performing a third conversion process on the query result to obtain a third input question, the third conversion module 903 further includes:
[0207] Performing format conversion processing on the query result to obtain the query result in a target format, wherein the target format includes one of the following formats: JSON, XML, and CSV;
[0208] Also includes:
[0209] The query result is encrypted or access control is added.
[0210] In a possible implementation, the third conversion module 903 performs a third conversion process on the query result to obtain a third input question, including:
[0211] A seventh content is obtained based on the query result and a preset guidance model, an eighth content is obtained based on the initial input question and the query result, and a ninth content is obtained based on an answer constraint, wherein the seventh content is used to guide the text generation model to generate a natural language answer in combination with the initial input question and the query result, the eighth content is the initial input question and the query result, and the ninth content is the answer constraint;
[0212] The seventh content, the eighth content and the ninth content are concatenated to obtain the third input question.
[0213] In a possible implementation manner, the third conversion module 903 further includes:
[0214] Displaying a feedback interface through the human-computer interaction interface to receive feedback information through the feedback interface;
[0215] The first conversion process, the second conversion process, and the third conversion process are adjusted based on the feedback information.
[0216] The above-mentioned business-based question-answering device can obtain system data in real time and keep it synchronized with business data, thereby ensuring that the answers and information provided are always up-to-date and accurate. In addition, by leveraging the semantic understanding, text classification capabilities, and natural language to ES DSL capabilities of the general text generation large model, the system can identify the intent of the question, convert the question into an executable ES query request, query the business ES database, obtain business data, and answer the question in an intelligent and humanized way. This enables users to obtain system data more easily without manual intervention.
[0217] like Fig.10 As shown, Fig.10 The present invention provides a schematic diagram of the structure of an electronic device 1000, wherein the electronic device 1000 includes:
[0218] A processor 1001, a storage medium 1002 and a bus 1003, wherein the storage medium 1002 stores machine-readable instructions executable by the processor 1001. When the electronic device 1000 is running, the processor 1001 communicates with the storage medium 1002 via the bus 1003, and the processor 1001 executes the machine-readable instructions to perform the steps of the business-based question-and-answer method described in the embodiment of the present application.
[0219] In actual application, the components in the electronic device 1000 are coupled together via the bus 1003. It is understood that the bus 1003 is used to realize the connection and communication between these components. In addition to the data bus, the bus 1003 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Fig.10 Various buses are labeled as bus 1003.
[0220] The electronic devices can acquire system data in real time and synchronize it with business data, thus ensuring that the answers and information provided are always up-to-date and accurate. Moreover, by leveraging the semantic understanding, text classification and natural language to ES DSL capabilities of the general text generation model, the system can identify the intent of the question, convert the question into an executable ES query request, query the business ES database, acquire business data, and answer the question in an intelligent and humanized way. This enables users to obtain system data more easily without manual intervention.
[0221] The embodiment of the present application also provides a computer-readable storage medium, which stores executable instructions. When the executable instructions are executed by at least one processor 1001, the business-based question-and-answer method described in the embodiment of the present application is implemented.
[0222] In some embodiments, the storage medium can be a magnetic random access memory (FRAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic surface storage, an optical disk, or a compact disc read-only memory (CD-ROM); it can also be various devices including one or any combination of the above memories.
[0223] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.
[0224] As an example, executable instructions may, but do not necessarily, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, for example, in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (for example, files storing one or more modules, subroutines, or code portions).
[0225] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.
[0226] The computer-readable storage medium can acquire system data in real time and synchronize it with business data, thereby ensuring that the answers and information provided are always up-to-date and accurate. In addition, by leveraging the semantic understanding, text classification capabilities, and natural language to ES DSL capabilities of the general text generation model, the system can identify the intent of the question, convert the question into an executable ES query request, query the business ES database, acquire business data, and answer the question in an intelligent and humanized way. This enables users to obtain system data more easily without manual intervention.
[0227] In the several embodiments provided in the present application, it should be understood that the disclosed methods and electronic devices can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.
[0228] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0229] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0230] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a platform server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.
[0231] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A business-based question-answering approach, It is characterized in that The method comprises: Based on the business, a business entity corresponding to the business is obtained, and at least one classification information is defined for different businesses, wherein the business entity includes the definition of entity attributes, the data type of entity attributes, the relationship between entities, and the association rules between entities, and an example ES DSL query statement for each entity, wherein the example ES DSL query statement includes a query condition, sorting, and restriction; In response to a question request, an initial input question is obtained, a first conversion process is performed on the initial input question to obtain a first input question, and a first answer corresponding to the first input question is obtained based on a text generation model, wherein the first input question is used to obtain target classification information of the initial input question; Performing a second conversion process on the initial input question based on the target classification information and the initial input question to obtain a second input question, and obtaining a second answer corresponding to the second input question based on the text generation model, wherein the second input question is a query statement of the business corresponding to the initial input question under the classification information; A query result is obtained based on the query statement, and a third conversion process is performed on the query result to obtain a third input question, and a third answer corresponding to the third input question is obtained based on the text generation model, wherein the third input question is used to add an answer constraint, the third answer is the final answer, and the first input question, the second input question, the third input question, the first answer and the second answer are not displayed in the human-computer interaction interface.
2. The method according to claim 1, It is characterized in that The performing a first conversion process on the initial input question to obtain a first input question includes: Determine a first content based on the at least one classified information, determine a second content based on a preset first answer format, and determine a third content based on the initial input question, wherein the first content represents description information of the at least one classified information, the second content is used to extract answer content of the text generation model in the first answer format, and the third content is the initial input question; The first content, the second content and the third content are concatenated to obtain the first input question.
3. The method according to claim 1, It is characterized in that The performing a second conversion process on the initial input question based on the target classification information and the initial input question to obtain a second input question includes: Determine a fourth content based on a preset second answer format, determine a fifth content based on the business entity, and determine a sixth content based on the initial input question, wherein the fourth content is used to set an introductory statement and define the second answer format, the fifth content is an ES DSL query statement, and the sixth content is the initial input question; The fourth content, the fifth content and the sixth content are concatenated to obtain the second input question.
4. The method according to claim 1, It is characterized in that After obtaining a query result based on the query statement and before performing a third conversion process on the query result to obtain a third input question, the method further includes: Performing format conversion processing on the query result to obtain the query result in a target format, wherein the target format includes one of the following formats: JSON, XML, and CSV; The method further comprises: The query result is encrypted or access control is added.
5. The method according to claim 1, It is characterized in that The step of performing a third conversion process on the query result to obtain a third input question includes: A seventh content is obtained based on the query result and a preset guidance model, an eighth content is obtained based on the initial input question and the query result, and a ninth content is obtained based on an answer constraint, wherein the seventh content is used to guide the text generation model to generate a natural language answer in combination with the initial input question and the query result, the eighth content is the initial input question and the query result, and the ninth content is the answer constraint; The seventh content, the eighth content and the ninth content are concatenated to obtain the third input question.
6. The method according to claim 1, It is characterized in that The method further comprises: Displaying a feedback interface through the human-computer interaction interface to receive feedback information through the feedback interface; The first conversion process, the second conversion process, and the third conversion process are adjusted based on the feedback information.
7. A business-based question-answering device, It is characterized in that The device comprises: A first conversion module is used to obtain a business entity corresponding to the business based on the business, and define at least one classification information for different businesses, wherein the business entity includes a definition of entity attributes, a data type of entity attributes, a relationship between entities, and an association rule between entities, and an example ES DSL query statement for each entity, wherein the example ES DSL query statement includes a query condition, sorting, and restriction; in response to a question request, an initial input question is obtained, a first conversion process is performed on the initial input question to obtain a first input question, and a first answer corresponding to the first input question is obtained based on a text generation model, wherein the first input question is used to obtain target classification information of the initial input question; A second conversion module is used to perform a second conversion process on the initial input question based on the target classification information and the initial input question to obtain a second input question, and obtain a second answer corresponding to the second input question based on the text generation model, wherein the second input question is a query statement of the business corresponding to the initial input question under the classification information; A third conversion module is used to obtain a query result based on the query statement, perform a third conversion on the query result to obtain a third input question, and obtain a third answer corresponding to the third input question based on the text generation model, wherein the third input question is used to add an answer constraint, the third answer is a final answer, and the first input question, the second input question, the third input question, the first answer and the second answer are not displayed in the human-computer interaction interface.
8. An electronic device, It is characterized in that include: A processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the storage medium communicate via the bus, and the processor executes the machine-readable instructions to execute the business-based question-and-answer method as described in any one of claims 1 to 6.
9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the business-based question-answering method according to any one of claims 1 to 6 is executed.
Citation Information
Patent Citations
Query statement processing method and device, equipment and storage medium
CN113434653A
Session control method and device, computer equipment and storage medium
CN115481231A
