Business processing method, device and computer equipment based on natural language processing

Processing business dialogue text through natural language understanding, matching and configuring business script logic containers, solving the problems of complex logic and high maintenance costs in natural language processing systems, and achieving efficient business processing.

CN112784029BActive Publication Date: 2024-09-17SHENZHEN ZHUIYI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110116794.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-28
Publication Date
2024-09-17
Estimated Expiration
2041-01-28

AI Technical Summary

Technical Problem

In existing natural language processing systems, the business processing logic is complex and the number of codes is huge. Errors or logical loopholes are prone to occur, which affects processing efficiency and maintenance costs.

Method used

Through natural language understanding and processing of business dialogue text, business identifiers and parameters are obtained, matched with preset business script logic containers, and parameter configuration is performed to simplify business processing logic and improve processing efficiency.

Benefits of technology

It simplifies business processing logic, improves business process processing efficiency, reduces maintenance costs, and avoids the management and maintenance of complex code logic branches.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112784029B
    Figure CN112784029B
Patent Text Reader

Abstract

The present application relates to a business processing method, device and computer equipment based on natural language processing. The method includes: obtaining a business conversation text that triggers business processing; performing natural language understanding processing on the business conversation text, and obtaining a business identifier and business parameters corresponding to the business conversation text according to the processing result; matching the business identifier in a preset business script logic container, and determining the target business script logic corresponding to the business identifier in the business script logic container; configuring the target business script logic according to the business parameters to obtain the configured target business script logic; and performing business processing based on the configured target business script logic. The use of this method can simplify the business processing logic and improve the efficiency of business process processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a business processing method, apparatus, computer equipment and storage medium based on natural language processing. Background Art

[0002] With the development of computer technology, more and more businesses are supported for online processing, such as weather query, business record query, financial business processing, etc. As the volume of online business increases and the types of business become more and more complex, the number of codes for processing the corresponding business processes is huge and the logic is complex. For example, in businesses based on natural language processing, it is necessary to maintain branch codes corresponding to various businesses in the natural language processing system, resulting in a large number of codes in the natural language processing system and complex logic, which is easy to cause errors or logical loopholes and affect the efficiency of business processing. Summary of the invention

[0003] Based on this, it is necessary to provide a business processing method, device, computer equipment and storage medium based on natural language processing that can simplify business processing logic and improve business process processing efficiency in response to the above technical problems.

[0004] A business processing method based on natural language processing, the method comprising:

[0005] Get the business conversation text that triggers business processing;

[0006] Perform natural language understanding processing on the business conversation text, and obtain the business identifier and business parameters corresponding to the business conversation text according to the processing results;

[0007] Matching the business identifier in a preset business script logic container to determine the target business script logic corresponding to the business identifier in the business script logic container;

[0008] Configure the target business script logic according to the business parameters to obtain the configured target business script logic;

[0009] Perform business processing based on the configured target business script logic.

[0010] In one of the embodiments, the business identifier is matched in a preset business script logic container to determine the target business script logic in the business script logic container that corresponds to the business identifier, including: querying the preset business script logic container; matching the business identifier with each business script logic in the business script logic container to obtain a matching result; and determining the target business script logic in the business script logic container that corresponds to the business identifier based on the matching result.

[0011] In one of the embodiments, the business identifier is matched with each business script logic in the business script logic container to obtain a matching result, including: determining the script logic identifier associated with each business script logic in the business script logic container; performing an identifier comparison between the business identifier and each script logic identifier to obtain a comparison result; and obtaining a matching result between the business identifier and each business script logic according to the comparison result.

[0012] In one of the embodiments, querying a preset business script logic container includes: determining a business scenario type corresponding to a business triggered by a business dialogue text; and querying a business script logic container corresponding to the business scenario type from a preset script logic container library.

[0013] In one of the embodiments, parameter configuration is performed on the target business script logic according to the business parameters to obtain the configured target business script logic, including: determining at least one field to be configured in the target business script logic; determining field configuration parameters corresponding to the at least one field to be configured from the business parameters; and writing the field configuration parameters into the at least one field to be configured to obtain the configured target business script logic.

[0014] In one of the embodiments, natural language understanding processing is performed on the business conversation text, and a business identifier and business parameters corresponding to the business conversation text are obtained based on the processing results, including: intent recognition is performed on the business conversation text, and a to-be-processed business is determined based on the intent recognition result; a business identifier corresponding to the business conversation text is determined based on the to-be-processed business; business entity extraction is performed on the business conversation text based on the business entity type corresponding to the business identifier, and business parameters corresponding to the business conversation text are obtained based on the business entity extraction result.

[0015] In one of the embodiments, the method also includes: generating each business script logic corresponding to each type of business processing flow; creating a main business script logic container and a backup business script logic container, and storing each business script logic in the main business script logic container and the backup business script logic container; and obtaining a business script logic container based on the main business script logic container and the backup business script logic container.

[0016] A business processing device based on natural language processing, the device comprising:

[0017] A dialogue text acquisition module is used to acquire the business dialogue text that triggers business processing;

[0018] A natural language processing module is used to perform natural language understanding processing on the business dialogue text, and obtain the business identifier and business parameters corresponding to the business dialogue text according to the processing results;

[0019] A script logic determination module, used to match the business identifier in a preset business script logic container, and determine the target business script logic corresponding to the business identifier in the business script logic container;

[0020] The script logic configuration module is used to configure the target business script logic according to the business parameters to obtain the configured target business script logic;

[0021] The business processing module is used to perform business processing based on the configured target business script logic.

[0022] In one embodiment, the script logic determination module includes a container query module, a script logic matching module and a target script logic module; wherein: the container query module is used to query a preset business script logic container; the script logic matching module is used to match the business identifier with each business script logic in the business script logic container to obtain a matching result; the target script logic module is used to determine the target business script logic corresponding to the business identifier in the business script logic container based on the matching result.

[0023] In one embodiment, the script logic matching module includes a script identification determination module, a comparison module and a comparison result processing module; wherein: the script identification determination module is used to determine the script logic identification associated with each business script logic in the business script logic container; the comparison module is used to compare the business identification with each script logic identification respectively to obtain a comparison result; the comparison result processing module is used to obtain a matching result between the business identification and each business script logic according to the comparison result.

[0024] In one of the embodiments, the container query module includes a scenario type determination module and a scenario type matching module; wherein: the scenario type determination module is used to determine the business scenario type corresponding to the business triggered by the business conversation text; the scenario type matching module is used to query the business script logic container corresponding to the business scenario type from a preset script logic container library.

[0025] In one embodiment, the script logic configuration module includes a module for determining fields to be configured, a module for determining field configuration parameters, and a configuration module; wherein: the module for determining fields to be configured is used to determine at least one field to be configured in the target business script logic; the module for determining field configuration parameters is used to determine field configuration parameters corresponding to at least one field to be configured from business parameters; and the configuration module is used to write field configuration parameters into at least one field to be configured to obtain the configured target business script logic.

[0026] In one embodiment, the natural language processing module includes an intent recognition module, a business identification determination module and a business parameter determination module; wherein: the intent recognition module is used to perform intent recognition on a business conversation text, and determine the business to be processed based on the intent recognition result; the business identification determination module is used to determine the business identification corresponding to the business conversation text based on the business to be processed; the business parameter determination module is used to extract business entities from the business conversation text based on the business entity type corresponding to the business identification, and obtain the business parameters corresponding to the business conversation text based on the business entity extraction result.

[0027] In one embodiment, the device also includes a script logic generation module, a container creation module and a container acquisition module; wherein: the script logic generation module is used to generate various business script logics corresponding to various types of business processing flows; the container creation module is used to create a main business script logic container and a backup business script logic container, and store each business script logic in the main business script logic container and the backup business script logic container; the container acquisition module is used to obtain a business script logic container based on the main business script logic container and the backup business script logic container.

[0028] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0029] Get the business conversation text that triggers business processing;

[0030] Perform natural language understanding processing on the business conversation text, and obtain the business identifier and business parameters corresponding to the business conversation text according to the processing results;

[0031] Matching the business identifier in a preset business script logic container to determine the target business script logic corresponding to the business identifier in the business script logic container;

[0032] Configure the target business script logic according to the business parameters to obtain the configured target business script logic;

[0033] Perform business processing based on the configured target business script logic.

[0034] In one of the embodiments, when the processor executes the computer program, it also implements the following steps: querying a preset business script logic container; matching the business identifier with each business script logic in the business script logic container to obtain a matching result; and determining the target business script logic corresponding to the business identifier in the business script logic container based on the matching result.

[0035] In one of the embodiments, when the processor executes the computer program, it also implements the following steps: determining the script logic identifier associated with each business script logic in the business script logic container; performing an identifier comparison between the business identifier and each script logic identifier to obtain a comparison result; and obtaining a matching result between the business identifier and each business script logic based on the comparison result.

[0036] In one of the embodiments, when the processor executes the computer program, the following steps are also implemented: determining the business scenario type corresponding to the business triggered by the business conversation text; and querying the business script logic container corresponding to the business scenario type from a preset script logic container library.

[0037] In one of the embodiments, when the processor executes the computer program, it also implements the following steps: determining at least one field to be configured in the target business script logic; determining the field configuration parameters corresponding to the at least one field to be configured from the business parameters; writing the field configuration parameters into the at least one field to be configured to obtain the configured target business script logic.

[0038] In one of the embodiments, when the processor executes the computer program, it also implements the following steps: performing intent recognition on the business conversation text, and determining the business to be processed based on the intent recognition result; determining the business identifier corresponding to the business conversation text based on the business to be processed; based on the business entity type corresponding to the business identifier, performing business entity extraction on the business conversation text, and obtaining the business parameters corresponding to the business conversation text based on the business entity extraction result.

[0039] In one of the embodiments, the processor also implements the following steps when executing the computer program: generating each business script logic corresponding to each type of business processing flow; creating a main business script logic container and a backup business script logic container, and storing each business script logic in the main business script logic container and the backup business script logic container; and obtaining a business script logic container based on the main business script logic container and the backup business script logic container.

[0040] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:

[0041] Get the business conversation text that triggers business processing;

[0042] Perform natural language understanding processing on the business conversation text, and obtain the business identifier and business parameters corresponding to the business conversation text according to the processing results;

[0043] Matching the business identifier in a preset business script logic container to determine the target business script logic corresponding to the business identifier in the business script logic container;

[0044] Configure the target business script logic according to the business parameters to obtain the configured target business script logic;

[0045] Perform business processing based on the configured target business script logic.

[0046] In one of the embodiments, when the computer program is executed by the processor, the following steps are also implemented: querying a preset business script logic container; matching the business identifier with each business script logic in the business script logic container to obtain a matching result; and determining the target business script logic in the business script logic container corresponding to the business identifier based on the matching result.

[0047] In one of the embodiments, when the computer program is executed by the processor, the following steps are also implemented: determining the script logic identifier associated with each business script logic in the business script logic container; performing an identifier comparison between the business identifier and each script logic identifier to obtain a comparison result; and obtaining a matching result between the business identifier and each business script logic based on the comparison result.

[0048] In one of the embodiments, when the computer program is executed by the processor, the following steps are also implemented: determining the business scenario type corresponding to the business triggered by the business conversation text; and querying the business script logic container corresponding to the business scenario type from a preset script logic container library.

[0049] In one of the embodiments, when the computer program is executed by the processor, the following steps are also implemented: determining at least one field to be configured in the target business script logic; determining field configuration parameters corresponding to at least one field to be configured from the business parameters; writing the field configuration parameters into at least one field to be configured to obtain the configured target business script logic.

[0050] In one of the embodiments, when the computer program is executed by the processor, the following steps are also implemented: performing intent recognition on the business conversation text, and determining the business to be processed based on the intent recognition result; determining the business identifier corresponding to the business conversation text based on the business to be processed; based on the business entity type corresponding to the business identifier, performing business entity extraction on the business conversation text, and obtaining the business parameters corresponding to the business conversation text based on the business entity extraction result.

[0051] In one of the embodiments, when the computer program is executed by the processor, the following steps are also implemented: generating business script logics corresponding to various types of business processing flows; creating a main business script logic container and a backup business script logic container, and storing each business script logic in the main business script logic container and the backup business script logic container; obtaining a business script logic container based on the main business script logic container and the backup business script logic container.

[0052] The above-mentioned business processing method, device, computer equipment and storage medium based on natural language processing obtain the business identifier and business parameters corresponding to the business dialogue text according to the processing result of natural language understanding processing of the business dialogue text, match the corresponding target business script logic in the preset business script logic container through the business identifier, configure the parameters of the target business script logic according to the business parameters, and perform business processing with the configured target business script logic. In the business processing process based on natural language processing, the business identifier determined according to the processing result of natural language understanding processing of the business dialogue text matches the corresponding target business script logic, and the target business script logic is parameterized through the business parameters to implement business processing. The business script logic corresponding to various business types is managed based on the business script logic container. It is only necessary to match the script logic and configure the parameters according to the business identifier and business parameters, and perform business processing through the configured business script logic, which simplifies the logic of business processing and improves the processing efficiency of the business process. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 An application environment diagram of a business processing method based on natural language processing in one embodiment;

[0054] Figure 2 A flowchart of a business processing method based on natural language processing in one embodiment;

[0055] Figure 3 A schematic diagram of a process flow of business script logic matching in one embodiment;

[0056] Figure 4 A schematic diagram of a process for parameter configuration in an embodiment;

[0057] Figure 5 Diagram of maintaining code branches for legacy technologies;

[0058] Figure 6 A schematic diagram of a script logic setting in one embodiment;

[0059] Figure 7 A structural block diagram of a Docker container in one embodiment;

[0060] Figure 8 is a structural block diagram of a business processing device based on natural language processing in an embodiment;

[0061] Fig. 9 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0062] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0063] The business processing method based on natural language processing provided in this application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The user can trigger the business processing based on natural language processing through the terminal 102, such as triggering the corresponding business processing through voice conversation data or text conversation data. The terminal 102 sends the obtained business conversation text to the server 104. The server 104 obtains the business identifier and business parameters corresponding to the business conversation text according to the processing result of the natural language understanding processing of the business conversation text, matches the corresponding target business script logic in the preset business script logic container through the business identifier, configures the target business script logic according to the business parameters, and performs business processing on the configured target business script logic. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers and portable wearable devices, and the server 104 can be implemented by an independent server or a server cluster composed of multiple servers.

[0064] In one embodiment, Figure 2 As shown, a business processing method based on natural language processing is provided, and the method is applied to Figure 1 The server in the example is used to illustrate the following steps:

[0065] Step 202: Acquire the business conversation text that triggers the business process.

[0066] Among them, Natural Language Processing (NLP) is an important direction in the fields of computer science and artificial intelligence. It studies various theories and methods that can realize effective communication between people and computers using natural language. Natural language processing is mainly used in machine translation, public opinion monitoring, automatic summarization, opinion extraction, text classification, question answering, text semantic comparison, speech recognition, etc. In business processing based on natural language processing, human-computer dialogue often occurs, so that the business process to be executed is determined according to the dialogue data triggered by the user. For example, in the business processing of querying call records, the user can input voice dialogue data through the terminal to trigger the business processing of querying call records, or can input text dialogue data through the terminal to trigger the business processing of querying call records. The business dialogue text is the text data that triggers the business processing. The business dialogue text can be obtained according to the text data entered by the user at the terminal, or according to the voice data of the user collected by the terminal.

[0067] Specifically, during business processing based on natural language processing, the server obtains the business conversation text that triggers the business processing. In specific applications, the server can directly receive the business conversation text that triggers the business processing sent by the terminal, or the server can receive the voice conversation data that triggers the business processing sent by the terminal, perform voice recognition based on the sentence conversation data, and obtain the corresponding business conversation text.

[0068] Step 204: perform natural language understanding processing on the business dialogue text, and obtain the business identifier and business parameters corresponding to the business dialogue text according to the processing result.

[0069] Among them, natural language understanding is to make the machine like a human being, with normal language understanding ability, and to perform natural language understanding processing on business dialogue texts, so as to determine the business type that needs to be processed in the business dialogue texts. The implementation methods of natural language understanding include rule-based methods, such as judging the intention of natural language by summarizing rules, such as CFG (Context-Free Grammer) algorithm; the implementation methods of natural language understanding can also include statistical methods, such as SVM (Support Vector Machine); and the current common implementation methods include CNN (Convolutional Neural Networks), RNN (Recurrent Neural Network), LSTM (Long short-term memory), BERT (Bidirectional Encoder Representation from Transformers) and other deep learning algorithms.

[0070] The service identifier distinguishes the types of services, and can be the service name, service ID (Identity Document), and other data that can be used to identify various services. Service parameters are the parameters required to execute the corresponding services. For example, in the service of booking air tickets, service parameters may include the departure location, arrival location, and departure time; in the service of querying call records, service parameters may include the query number, query time period, etc. In specific applications, different services correspond to different service identifiers and service parameters.

[0071] Specifically, after obtaining the business conversation text that triggers business processing, the server performs natural language understanding processing on the business conversation text to identify the intent of the business conversation text, and obtains the business identifier and business parameters corresponding to the business conversation text based on the processing results of the natural language understanding processing. Based on the business identifier, the triggered business type can be determined, and based on the business parameters, the specific requirements or conditions for the business processing can be determined.

[0072] Step 206: Match the service identifier in a preset service script logic container to determine the target service script logic in the service script logic container corresponding to the service identifier.

[0073] Among them, the business script logic is a script that can complete certain business logic functions. The business script logic is generated after abstraction according to different business correspondences. For example, different business script logics can be made for different businesses through scripting languages, such as Python. Containers are used to package software into standardized units for development, delivery and deployment. They can easily store various computer resources such as websites, programs or system environments. Business script logic containers are used to store business script logic corresponding to various businesses. Each business script logic in the business script logic container can be pre-configured according to actual needs.

[0074] Specifically, after obtaining the business identifier and business parameters corresponding to the business conversation text, the server matches the business identifier in a preset business script logic container, and determines the target business script logic corresponding to the business identifier in the business script logic container according to the matching result. For example, the business identifier can be matched with the identifiers of each business script logic in the business script logic container, and the business script logic that successfully matches the business identifier is determined as the target script logic.

[0075] Step 208: configure the target business script logic according to the business parameters to obtain the configured target business script logic.

[0076] Specifically, after determining the target service script logic corresponding to the service identifier, the server configures the target service script logic according to the service parameters corresponding to the service conversation text, and obtains the configured target service script logic. For example, when the target service script logic is used to query call records, it is necessary to configure the query account and query time period, and the target service script logic is configured by the service parameters corresponding to the service conversation text, so that the service parameters are filled into the target service script logic, and the configured target service script logic is obtained.

[0077] Step 210: Perform business processing based on the configured target business script logic.

[0078] After completing the parameter configuration of the target business script logic, the server performs business processing based on the configured target business script logic. For example, the server performs call record query according to the configured query account and query time period based on the configured target business script logic.

[0079] In traditional business processing based on natural language processing, different business logics need to be configured according to different business scenarios. Specifically, code logic branches corresponding to each business logic are established, and each code logic branch is maintained by the natural language processing system, resulting in a large number of code logic branches to be maintained, with a complex structure, which is not only prone to errors, but also has high maintenance costs. In this embodiment, each business process is abstracted into a business script logic, and the corresponding target business script logic is queried through the business identifier, and configured by business parameters. Business processing is performed through the configured target business script logic, which does not require the maintenance of many complex code logic branches, simplifies business processing logic, improves the processing efficiency of business processes, and also reduces maintenance costs.

[0080] In the above-mentioned business processing method based on natural language processing, the business identifier and business parameters corresponding to the business conversation text are obtained according to the processing result of natural language understanding processing of the business conversation text, the corresponding target business script logic is matched in the preset business script logic container through the business identifier, the target business script logic is parameterized according to the business parameters, and business processing is performed on the configured target business script logic. In the business processing process based on natural language processing, the business identifier determined according to the processing result of natural language understanding processing of the business conversation text is matched with the corresponding target business script logic, and the target business script logic is parameterized according to the business parameters to implement business processing, and the business script logic corresponding to various business types is managed based on the business script logic container. It is only necessary to match the script logic and configure the parameters according to the business identifier and business parameters, and the business processing is performed through the configured business script logic, which simplifies the logic of business processing and improves the processing efficiency of the business process.

[0081] In one embodiment, Figure 3 As shown, the processing of business script logic matching, that is, matching the business identifier in a preset business script logic container, and determining the target business script logic corresponding to the business identifier in the business script logic container, includes:

[0082] Step 302: query a preset business script logic container.

[0083] Among them, the business script logic container stores the business script logic corresponding to various business processes, and the business script logic container can be pre-configured for various business processes according to actual needs. For example, for different customized business processes, the business process is abstracted into business script logic. Specifically, the corresponding business script logic can be generated for different businesses through the Python language, and each business script logic is stored in a container, such as a Docker container, to obtain a business script logic container. Among them, the Docker container is lightweight, and multiple Docker containers running on a machine can share the operating system kernel of this machine; they can start quickly and only take up very little computing and memory resources. The image is constructed through the file system layer and shares some public files, which can minimize disk usage and download images faster. Moreover, the Docker container is based on open standards and can run on all mainstream operating systems, such as Linux versions and Microsoft Windows. In addition, the Docker container provides the strongest isolation by default, so if there is a problem with the application, it is only a problem with a single container, and will not affect the entire machine, with high security.

[0084] Specifically, after determining the business identifier corresponding to the business dialogue text, the server queries the preset business script logic container. In specific applications, different business scenarios may have preset corresponding business script logic containers, and the server may query the preset business script logic container corresponding to the business scenario according to the business scenario corresponding to the currently triggered business process, and the business script logic container includes the business script logic of various businesses in the business scenario.

[0085] Step 304: Match the service identifier with each service script logic in the service script logic container to obtain a matching result.

[0086] After determining the preset business script logic container, the server matches the business identifier corresponding to the business conversation text in the business script logic container, and specifically matches the business identifier with each business script logic in the business script logic container, for example, character matching, keyword matching, etc., to obtain a matching result.

[0087] Step 306: Determine the target business script logic corresponding to the business identifier in the business script logic container according to the matching result.

[0088] After obtaining the matching results, the server determines the target business script logic corresponding to the business identifier in the business script logic container based on the matching results. For example, the server can determine the business script logic in the business script logic container that matches the business identifier as the target business script logic corresponding to the business identifier.

[0089] In this embodiment, the target business script logic corresponding to the business identifier is determined based on the business identifier corresponding to the business conversation text and the matching result of each business script logic in the business script logic container. Thus, the corresponding business script logic can be determined by the business identifier, and there is no need to configure complex code logic, which simplifies the business processing logic and helps to improve the business processing efficiency.

[0090] In one embodiment, a business identifier is matched with each business script logic in a business script logic container to obtain a matching result, including: determining a script logic identifier associated with each business script logic in the business script logic container; performing an identifier comparison between the business identifier and each script logic identifier to obtain a comparison result; and obtaining a matching result between the business identifier and each business script logic according to the comparison result.

[0091] Among them, the script logic identifier is the identification information corresponding to each business script logic in the business script logic container, such as the script logic number, script logic name, script logic ID, etc. The specific form of the script logic identifier can be flexibly set in advance according to actual needs.

[0092] Specifically, after determining the preset business script logic container, the server determines the script logic identifier associated with each business script logic in the business script logic container. For example, the server can query the attribute information of each business script logic in the business script logic container, and extract the script logic identifier associated with each business script logic according to the attribute information. The server compares the business identifier corresponding to the business conversation text with each script logic identifier, such as character comparison, to obtain a comparison result. The server obtains a matching result between the business identifier and each business script logic according to the comparison result. For example, the server can determine the comparison result between the business identifier and the script logic identifier associated with each business script logic as the matching result between the business identifier and each business script logic.

[0093] In this embodiment, the matching result between the business identifier and the script logic identifier associated with each business script logic is obtained, so that the matching of the business script logic is achieved through identifier comparison, and there is no need to configure complex code logic, which simplifies the business processing logic and is conducive to improving the business processing efficiency.

[0094] In one embodiment, querying a preset business script logic container includes: determining a business scenario type corresponding to a business triggered by a business dialogue text; and querying a business script logic container corresponding to the business scenario type from a preset script logic container library.

[0095] Among them, the business scenario type refers to the type of scenario to which the business triggered by the business dialogue text corresponds. Different business scenario types have different businesses. For example, for financial business scenarios, it includes account management, fund management and other businesses; and for weather control business scenarios, it includes weather query, weather reminder, weather monitoring and other businesses. The script logic container library stores script logic containers corresponding to various business scenario types, and the script logic container library is flexibly set according to actual needs. By storing script logic containers corresponding to various business scenario types in the script logic container library, the business script logic of various businesses can be further divided in an orderly manner based on the business scenario type, which can avoid the problem of complex interweaving between businesses that easily leads to errors or loopholes.

[0096] Specifically, when the server queries the business script logic container, it determines the business scenario type corresponding to the business triggered by the business dialogue text, and the business scenario type can be determined according to the business attribute information of the business triggered by the business dialogue text. In specific implementation, the server can determine the business triggered by the business dialogue text, such as determining that the business dialogue text triggers the weather control business or the financial business. After determining the triggered business, the server queries the business attribute information corresponding to the business, and the business attribute information may include data describing the business. The server determines the business scenario type corresponding to the business triggered by the business dialogue text based on the business attribute information corresponding to the business. In a specific application, the business attribute information corresponding to the business may include a field of the business scenario type, and the server can directly determine the business scenario type corresponding to the business from the field of the business scenario type in the business attribute information. After determining the business scenario type, the server queries the preset script logic container library, and the script logic container library stores script logic containers corresponding to various business scenario types. The server queries the business script logic container corresponding to the business scenario type from the script logic container library. For example, the server can match the business scenario type with the identification information of each business script logic container in the script logic container library, and determine the business script logic container that matches the same as the business script logic container corresponding to the business scenario type.

[0097] In this embodiment, the business script logic containers corresponding to different business scenario types are stored in the script logic container library. The server can query and obtain the corresponding business script logic container from the script logic container library according to the business scenario type corresponding to the business triggered by the business dialogue text, so as to match the target business script logic from the business script logic container for business processing. Further orderly division of the business script logic of various businesses based on the business scenario type can avoid the problem that complex intersections between businesses easily lead to errors or loopholes, which is conducive to improving business processing efficiency.

[0098] In one embodiment, Figure 4As shown, the processing of parameter configuration, that is, configuring the target business script logic according to the business parameters to obtain the configured target business script logic, includes:

[0099] Step 402: determine at least one field to be configured in the target business script logic.

[0100] Among them, the fields to be configured are the fields that need to be configured in the target business script logic. The fields to be configured are generally the necessary information required to execute the business process. For example, in the business process of querying call records, the fields to be configured may include querying accounts and querying time periods; in the business process of booking airline tickets, the fields to be configured may include departure location, arrival location, product passenger information, and take-off time, etc. Different business processes require different information, that is, different business script logics can be set with different fields to be configured.

[0101] Specifically, when configuring the target business script logic according to the business parameters, the server determines at least one field to be configured in the target business script logic. For example, the server can identify at least one field to be configured in the target business script logic based on the format rules of the target business script logic or based on the identifiers of each field in the target business script logic.

[0102] Step 404: Determine, from the business parameters, a field configuration parameter corresponding to at least one field to be configured.

[0103] After determining the fields to be configured in the target business script logic, determine the field configuration parameters corresponding to at least one field to be configured from the business parameters corresponding to the business dialogue text. In a specific application, there may be multiple business parameters and fields to be configured, and it is necessary to determine the business parameters corresponding to each field to be configured from the business parameters, that is, the field configuration parameters.

[0104] Specifically, the server may perform matching from the business parameters corresponding to the business dialogue text according to at least one field to be configured, and obtain field configuration parameters corresponding to each field to be configured.

[0105] Step 406: write the field configuration parameters into at least one field to be configured to obtain the configured target business script logic.

[0106] After determining the field configuration parameters corresponding to the field to be configured, the server writes the field configuration parameters into at least one corresponding field to be configured to obtain the configured target business script logic. Specifically, the server fills the field configuration parameters into the corresponding field to be configured to configure the target business script logic and obtain the configured target business script logic.

[0107] In this embodiment, the server determines the field configuration parameters corresponding to the fields to be configured in the target business script logic from the business parameters, and writes each field configuration parameter into the corresponding field to be configured, thereby realizing the parameter configuration of the target business script logic. By configuring the target business script logic through business parameters, the business processing logic is simplified, which is conducive to improving business processing efficiency.

[0108] In one embodiment, natural language understanding processing is performed on the business conversation text, and a business identifier and business parameters corresponding to the business conversation text are obtained based on the processing results, including: intent recognition is performed on the business conversation text, and a to-be-processed business is determined based on the intent recognition result; a business identifier corresponding to the business conversation text is determined based on the to-be-processed business; based on the business entity type corresponding to the business identifier, business entity extraction is performed on the business conversation text, and business parameters corresponding to the business conversation text are obtained based on the business entity extraction result.

[0109] Among them, intent recognition is used to understand what business the user wants to perform and process it based on the corresponding business process. Intent recognition can be achieved through word list exhaustive method, rule template parsing method, deep learning intent recognition model, etc. The pending business is the business that needs to be executed triggered by the business dialogue text. Business entities refer to entities in the text that have specific meanings related to the business, such as names, place names, organizations, dates, times, percentages or currencies. Business entity types refer to the necessary information types that need to be obtained when the pending business is triggered to execute, such as identity, date, time, location, etc.

[0110] Specifically, when obtaining the service identifier and service parameters corresponding to the service conversation text, the server performs intent recognition on the service conversation text based on natural language understanding technology to obtain the intent recognition result, and the intent recognition result reflects the service that the user needs to trigger. The server determines the pending service that needs to be processed based on the intent recognition result. The server determines the service identifier corresponding to the service conversation text based on the pending service. For example, the server can directly determine the service identifier corresponding to the service conversation text based on the identifier of the pending service. Further, the server queries the service entity type corresponding to the service identifier. Different service identifiers correspond to different services, and different services correspond to different service entity types. The server extracts service entities from the service conversation text based on the service entity type corresponding to the service identifier, such as extracting identity information, departure time, departure location, and arrival location from the service conversation text, thereby obtaining various service entities of the pending flight booking service. The server obtains service parameters corresponding to the service conversation text based on the service entity extraction result. For example, the server can directly determine various service entities in the service entity extraction result as service parameters corresponding to the service conversation text.

[0111] In this embodiment, the business conversation text is subjected to intent recognition to determine the business to be processed, the business identifier is determined according to the business to be processed, and the business entity is extracted from the business conversation text according to the business entity type corresponding to the business to be processed, and the business parameters corresponding to the business conversation text are obtained according to the business entity extraction result. The business conversation text is processed based on intent recognition and entity extraction, and the business identifier and business parameters are determined according to the business conversation text, which can improve the accuracy of business identifier and business parameter recognition, thereby improving the efficiency of business processing.

[0112] In one embodiment, the business processing method based on natural language processing also includes: generating business script logics corresponding to various types of business processing processes; creating a main business script logic container and a backup business script logic container, and storing each business script logic in the main business script logic container and the backup business script logic container; obtaining a business script logic container based on the main business script logic container and the backup business script logic container.

[0113] Among them, the main business script logic container and the backup business script logic container can be containers with the same parameters. The main business script logic container is used for normal operation, and the backup business script logic container is used as a backup of the main business script logic container. When the main business script logic container is abnormal or damaged and becomes unavailable, the backup business script logic container is used to maintain normal operation to ensure normal processing of the business.

[0114] Specifically, the server generates each business script logic corresponding to each type of business processing flow, and different business flows correspond to different business script logics. The server creates a main business script logic container and a backup business script logic container, such as creating a main Docker container and a backup Docker container, and stores each business script logic in the main business script logic container and the backup business script logic container, respectively. According to the main business script logic container and the backup business script logic container, a business script logic container is obtained. When the business script logic needs to be queried, the server accesses the main business script logic container to match the business script logic. When the main business script logic container is abnormal or damaged and becomes unavailable, the server can access the backup business script logic container to match the business script logic, thereby ensuring the normal operation of business processing.

[0115] In one embodiment, a business processing method based on natural language processing is provided, and the method is also applied to a system that performs business processing based on natural language processing technology. In a system that performs business processing based on natural language processing technology, each NLP task has a task requirement, such as 3 pm. In some scenarios, it refers to 3 pm in the past, and some refer to 3 pm in the future. For example, for tickets, it refers to 3 pm in the future; and for call records, the query is for call records that have occurred before 3 pm: the same sentence has different business logic in different scenarios. The need to maintain the business logic of many scenarios requires the establishment of many code logic branches, resulting in the NLP module needing to maintain too many code logic branches, such as Figure 5 As shown, the NLP module needs to maintain logic branch 1, logic branch 2... logic branch n... logic branch m, etc., which has high maintenance costs, and there are many code branches and complex logic, which can easily cause errors or loopholes and affect the efficiency of business processing.

[0116] Based on this, Figure 6 As shown, in this embodiment, the customized business services in NLU (Natural Language Understanding) and DM (Dialog Management) in natural language processing are abstracted, and different business script logics are made for different businesses using Python language, such as script logic 1, script logic 2, ..., script logic N, etc. Each script logic is stored in a Docker container, such as Figure 7 As shown in the figure, the Docker container has environment isolation, process monitoring and high-performance servers. In natural language processing, the NLU and DM modules can be directly connected to Framework 1 (flask1) and Framework 2 (flask2) in the Docker container. Both Framework 1 and Framework 2 include blueprints, which are the script logic corresponding to each business. Framework 2 is a backup of Framework 1. The NLU and DM modules can also communicate with flask1 and flask2 through high-performance servers. Environment isolation is to ensure the security of the operating environment of the script logic; process monitoring is to monitor whether the high-performance server is running normally. If abnormal, the high-performance server is controlled to restart or the backup server is used to provide services.

[0117] When new script logic needs to be added, you only need to configure the corresponding script logic according to the business process requirements of the business scenario and add it to the Docker container. There is no need to update the new script logic in the NLP module, making the NLP module more universal.

[0118] Specifically, various business processing capabilities in NLU are abstracted, and Python language is used to provide different services for different businesses. NLU and DM modules obtain business IDs and business parameters, transfer the business IDs and business parameters to the Docker container, find the script logic corresponding to the business ID in the Docker container, and use the corresponding script logic to modify the business parameters. Furthermore, the interface of each script logic can include an interface name func and an interface parameter param; the interface of the business ID can be bid, and the interface for requesting business processing can be a request unique identifier searchid, thereby realizing the query, configuration and execution of the script logic. For example, the call service is to query the call records at 3 pm. The NLU and DM modules determine the specific time period from 3 pm to 3 pm on October 30, 2020 based on 3 pm combined with the current time (2 pm on October 30, 2020), and the output time is 3 pm on October 30, 2020, and the service ID. Then, the corresponding script logic is searched according to the service ID, that is, the call record query script logic, and the time is modified to 3 pm on October 29, 2020, and the time period closest to the current time point is used as the corrected time. The corrected time period is returned to the NLU and DM modules. The NLU and DM modules query the call records according to the corrected time. Alternatively, the script logic can query the corresponding call records according to the corrected time period and service ID, and return them to the NLU and DM modules. The functions of the script logic may include but are not limited to correcting time, modifying task processes, etc.

[0119] For another example, the business is to query the weather, Shenzhen Weather APP (Application) and Nanshan Weather APP. When running Nanshan Weather APP and jumping to the business platform to query the weather, it will carry a business ID of 1. Then, the corresponding script logic will be found according to the business ID 1, and the Nanshan weather will be queried according to the script logic; run Shenzhen Weather APP. When running Shenzhen Weather APP and jumping to the business platform to query the weather, it will carry a business ID of 2. Then, the corresponding script logic will be found according to the business ID 2, and the Shenzhen weather will be queried according to the script logic.

[0120] In addition, a business system can have one business ID, such as one business ID for Minsheng Bank and one business ID for ICBC. A business system can also have multiple business IDs, such as one ID for installment payment and one ID for collection. When Minsheng Bank and ICBC provide the same business services, the same script logic has one in Minsheng Bank's storage and one in ICBC's storage. Since Minsheng Bank's script logic may be modified later, while ICBC's script logic may not be modified, the independent operation of different business systems can be ensured.

[0121] In this embodiment, the customized business processing service based on natural language processing is abstracted into script logic and placed separately in a Docker container. When the business ID and business parameters are obtained, the business ID and business parameters are transmitted to the Docker container, the script logic corresponding to the business ID is found in the Docker container, the business parameters are modified using the corresponding script logic, and business processing is performed. This reduces code branches, simplifies business processing logic, improves business processing efficiency, and reduces code logic in the natural language processing module, reducing maintenance costs.

[0122] It should be understood that although Figure 2-4 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-4 At least part of the steps may include multiple steps or multiple stages. These steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed in turn or alternately with other steps or at least part of the steps or stages in other steps.

[0123] In one embodiment, Figure 8 As shown, a business processing device 800 based on natural language processing is provided, comprising: a dialogue text acquisition module 802, a natural language processing module 804, a script logic determination module 806, a script logic configuration module 808 and a business processing module 810, wherein:

[0124] A dialogue text acquisition module 802, used to acquire the business dialogue text that triggers business processing;

[0125] The natural language processing module 804 is used to perform natural language understanding processing on the business dialogue text, and obtain the business identifier and business parameters corresponding to the business dialogue text according to the processing result;

[0126] The script logic determination module 806 is used to match the service identifier in a preset service script logic container and determine the target service script logic corresponding to the service identifier in the service script logic container;

[0127] The script logic configuration module 808 is used to configure the target business script logic according to the business parameters to obtain the configured target business script logic;

[0128] The business processing module 810 is used to perform business processing based on the configured target business script logic.

[0129] In one embodiment, the script logic determination module 806 includes a container query module, a script logic matching module and a target script logic module; wherein: the container query module is used to query a preset business script logic container; the script logic matching module is used to match the business identifier with each business script logic in the business script logic container to obtain a matching result; the target script logic module is used to determine the target business script logic corresponding to the business identifier in the business script logic container based on the matching result.

[0130] In one embodiment, the script logic matching module includes a script identification determination module, a comparison module and a comparison result processing module; wherein: the script identification determination module is used to determine the script logic identification associated with each business script logic in the business script logic container; the comparison module is used to compare the business identification with each script logic identification respectively to obtain a comparison result; the comparison result processing module is used to obtain a matching result between the business identification and each business script logic according to the comparison result.

[0131] In one embodiment, the container query module includes a scenario type determination module and a scenario type matching module; wherein: the scenario type determination module is used to determine the business scenario type corresponding to the business triggered by the business dialogue text; the scenario type matching module is used to query the business script logic container corresponding to the business scenario type from the preset script logic container library.

[0132] In one embodiment, the script logic configuration module 808 includes a module for determining fields to be configured, a module for determining field configuration parameters, and a configuration module; wherein: the module for determining fields to be configured is used to determine at least one field to be configured in the target business script logic; the module for determining field configuration parameters is used to determine field configuration parameters corresponding to at least one field to be configured from business parameters; and the configuration module is used to write field configuration parameters into at least one field to be configured to obtain the configured target business script logic.

[0133] In one embodiment, the natural language processing module 804 includes an intent recognition module, a business identification determination module and a business parameter determination module; wherein: the intent recognition module is used to perform intent recognition on the business conversation text, and determine the business to be processed according to the intent recognition result; the business identification determination module is used to determine the business identification corresponding to the business conversation text according to the business to be processed; the business parameter determination module is used to extract business entities from the business conversation text based on the business entity type corresponding to the business identification, and obtain the business parameters corresponding to the business conversation text according to the business entity extraction result.

[0134] In one embodiment, it also includes a script logic generation module, a container creation module and a container acquisition module; wherein: the script logic generation module is used to generate various business script logics corresponding to various types of business processing flows; the container creation module is used to create a main business script logic container and a backup business script logic container, and store each business script logic in the main business script logic container and the backup business script logic container; the container acquisition module is used to obtain a business script logic container based on the main business script logic container and the backup business script logic container.

[0135] For the specific definition of the business processing device based on natural language processing, please refer to the definition of the business processing method based on natural language processing above, which will not be repeated here. The various modules in the above-mentioned business processing device based on natural language processing can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0136] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig. 9 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing 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 the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a business processing method based on natural language processing is implemented.

[0137] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0138] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0139] Get the business conversation text that triggers business processing;

[0140] Perform natural language understanding processing on the business conversation text, and obtain the business identifier and business parameters corresponding to the business conversation text according to the processing results;

[0141] Matching the business identifier in a preset business script logic container to determine the target business script logic corresponding to the business identifier in the business script logic container;

[0142] Configure the target business script logic according to the business parameters to obtain the configured target business script logic;

[0143] Perform business processing based on the configured target business script logic.

[0144] In one embodiment, when the processor executes the computer program, the following steps are also implemented: querying a preset business script logic container; matching the business identifier with each business script logic in the business script logic container to obtain a matching result; and determining the target business script logic corresponding to the business identifier in the business script logic container based on the matching result.

[0145] In one embodiment, when the processor executes the computer program, the following steps are also implemented: determining the script logic identifier associated with each business script logic in the business script logic container; performing an identifier comparison between the business identifier and each script logic identifier to obtain a comparison result; and obtaining a matching result between the business identifier and each business script logic according to the comparison result.

[0146] In one embodiment, when the processor executes the computer program, the following steps are also implemented: determining the business scenario type corresponding to the business triggered by the business dialogue text; and querying the business script logic container corresponding to the business scenario type from a preset script logic container library.

[0147] In one embodiment, when the processor executes the computer program, the following steps are also implemented: determining at least one field to be configured in the target business script logic; determining the field configuration parameters corresponding to at least one field to be configured from the business parameters; writing the field configuration parameters into at least one field to be configured to obtain the configured target business script logic.

[0148] In one embodiment, when the processor executes the computer program, it also implements the following steps: performing intent recognition on the business conversation text, and determining the business to be processed based on the intent recognition result; determining the business identifier corresponding to the business conversation text based on the business to be processed; based on the business entity type corresponding to the business identifier, performing business entity extraction on the business conversation text, and obtaining the business parameters corresponding to the business conversation text based on the business entity extraction result.

[0149] In one embodiment, the processor also implements the following steps when executing the computer program: generating each business script logic corresponding to each type of business processing flow; creating a main business script logic container and a backup business script logic container, and storing each business script logic in the main business script logic container and the backup business script logic container; and obtaining a business script logic container based on the main business script logic container and the backup business script logic container.

[0150] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0151] Get the business conversation text that triggers business processing;

[0152] Perform natural language understanding processing on the business conversation text, and obtain the business identifier and business parameters corresponding to the business conversation text according to the processing results;

[0153] Matching the business identifier in a preset business script logic container to determine the target business script logic corresponding to the business identifier in the business script logic container;

[0154] Configure the target business script logic according to the business parameters to obtain the configured target business script logic;

[0155] Perform business processing based on the configured target business script logic.

[0156] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: querying a preset business script logic container; matching the business identifier with each business script logic in the business script logic container to obtain a matching result; and determining the target business script logic corresponding to the business identifier in the business script logic container based on the matching result.

[0157] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining the script logic identifier associated with each business script logic in the business script logic container; performing an identifier comparison between the business identifier and each script logic identifier to obtain a comparison result; and obtaining a matching result between the business identifier and each business script logic according to the comparison result.

[0158] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: determining the business scenario type corresponding to the business triggered by the business dialogue text; and querying the business script logic container corresponding to the business scenario type from a preset script logic container library.

[0159] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented: determining at least one field to be configured in the target business script logic; determining field configuration parameters corresponding to at least one field to be configured from the business parameters; writing the field configuration parameters into at least one field to be configured to obtain the configured target business script logic.

[0160] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: performing intent recognition on the business conversation text, and determining the business to be processed based on the intent recognition result; determining the business identifier corresponding to the business conversation text based on the business to be processed; based on the business entity type corresponding to the business identifier, performing business entity extraction on the business conversation text, and obtaining the business parameters corresponding to the business conversation text based on the business entity extraction result.

[0161] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: generating business script logics corresponding to various types of business processing flows; creating a main business script logic container and a backup business script logic container, and storing each business script logic in the main business script logic container and the backup business script logic container; obtaining a business script logic container based on the main business script logic container and the backup business script logic container.

[0162] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0163] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0164] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A business processing method based on natural language processing, characterized in that: The method comprises: Get the business conversation text that triggers business processing; Performing natural language understanding processing on the business conversation text, and obtaining a business identifier and business parameters corresponding to the business conversation text according to the processing result; Matching the service identifier in a preset service script logic container, and determining a target service script logic in the service script logic container corresponding to the service identifier; Determine at least one field to be configured in the target business script logic according to a format rule of the target business script logic or according to a field identifier in the target business script logic; Matching the at least one field to be configured with the service parameter to determine a field configuration parameter corresponding to the at least one field to be configured; Writing the field configuration parameters into the at least one field to be configured to obtain the configured target business script logic; Business processing is performed based on the configured target business script logic.

2. The method according to claim 1, characterized in that The matching the service identifier in a preset service script logic container to determine the target service script logic in the service script logic container corresponding to the service identifier includes: Query the preset business script logic container; Matching the service identifier with each service script logic in the service script logic container to obtain a matching result; According to the matching result, the target business script logic corresponding to the business identifier in the business script logic container is determined.

3. The method according to claim 2, characterized in that The matching of the service identifier with each service script logic in the service script logic container to obtain a matching result includes: Determine the script logic identifier of each business script logical association in the business script logic container; Compare the business identifier with each of the script logic identifiers to obtain a comparison result; The matching result between the service identifier and each service script logic is obtained according to the comparison result.

4. The method according to claim 2, characterized in that: The query preset business script logic container includes: Determine the business scenario type corresponding to the business triggered by the business conversation text; A business script logic container corresponding to the business scenario type is searched from a preset script logic container library.

5. The method according to claim 1, characterized in that The performing natural language understanding processing on the business dialogue text and obtaining the business identifier and business parameters corresponding to the business dialogue text according to the processing result includes: Performing intent recognition on the business conversation text, and determining the business to be processed according to the intent recognition result; Determining a service identifier corresponding to the service conversation text according to the service to be processed; Based on the business entity type corresponding to the business identifier, business entities are extracted from the business dialogue text, and business parameters corresponding to the business dialogue text are obtained according to the business entity extraction result.

6. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Generate business script logic corresponding to each type of business processing flow; Creating a main business script logic container and a backup business script logic container, and storing each of the business script logics in the main business script logic container and the backup business script logic container; A business script logical container is obtained according to the main business script logical container and the backup business script logical container.

7. A business processing device based on natural language processing, characterized in that: The device comprises: A dialogue text acquisition module is used to acquire the business dialogue text that triggers business processing; A natural language processing module, used to perform natural language understanding processing on the business dialogue text, and obtain the business identifier and business parameters corresponding to the business dialogue text according to the processing result; A script logic determination module, used to match the service identifier in a preset service script logic container, and determine a target service script logic in the service script logic container corresponding to the service identifier; A script logic configuration module, used to determine at least one field to be configured in the target business script logic according to the format rule of the target business script logic or according to the field identifier in the target business script logic; match the at least one field to be configured with the business parameter to determine the field configuration parameter corresponding to the at least one field to be configured; write the field configuration parameter into the at least one field to be configured to obtain the configured target business script logic; The business processing module is used to perform business processing based on the configured target business script logic.

8. The device according to claim 7, characterized in that The script logic determination module includes: Container query module, used to query the preset business script logic container; A script logic matching module, used to match the business identifier with each business script logic in the business script logic container to obtain a matching result; The target script logic module is used to determine the target business script logic corresponding to the business identifier in the business script logic container according to the matching result.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.