Text processing method and device, equipment and storage medium

By preprocessing and intent recognition of operation and maintenance texts, combined with knowledge graph technology, the problem of low efficiency in operation and maintenance knowledge query is solved, efficient query and utilization of operation and maintenance knowledge is realized, and operation and maintenance efficiency and user satisfaction are improved.

CN118796977APending Publication Date: 2024-10-18CHINA MOBILE GRP GUANGDONG CO LTD +1

Patent Information

Application Number
CN202410557186.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-07
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

In the process of IT operation and maintenance, the lack of a unified knowledge management platform results in low efficiency of operation and maintenance knowledge query and low utilization efficiency. Moreover, the traditional knowledge asset management method is scattered and unstructured, and the knowledge is not related and difficult to find.

Method used

Adopt text processing methods, including preprocessing the input operation and maintenance text, extracting intent features, identifying intent, generating answer sentences, and constructing an operation and maintenance knowledge graph through knowledge graph technology to realize the graphization of knowledge and enhance the correlation and connection between knowledge. Query efficiency.

Benefits of technology

It improves the query efficiency and utilization efficiency of operation and maintenance knowledge, associates scattered operation and maintenance knowledge through knowledge graph technology, realizes multi-scenario linkage, and improves operation and maintenance efficiency and user satisfaction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118796977A_ABST
    Figure CN118796977A_ABST
Patent Text Reader

Abstract

The invention provides a text processing method and device, equipment and a storage medium, and relates to the technical field of operation and maintenance. In some embodiments of the invention, an input operation and maintenance text is preprocessed to obtain a preprocessed text; extracting intention features from the preprocessed text; performing intention recognition on the intention features to obtain intention affiliation classification; according to the intention attribution classification, generating an answer statement; the answer statement is automatically generated based on the input operation and maintenance text, the query efficiency of the operation and maintenance knowledge is improved, and the utilization efficiency of the operation and maintenance knowledge is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of operation and maintenance technology, and in particular to a text processing method, device, equipment and storage medium. Background Art

[0002] As the scope of operators' business continues to expand, new business scenarios for strategic directions such as 5G+ and CHBN continue to emerge. The growth of business scale, the complex connection of applications, and the improvement of service quality have put forward higher requirements for operation and maintenance management. Operation and maintenance personnel and front-line complaint handling personnel are required to master massive, complex, scattered and continuously updated operation and maintenance knowledge, resulting in higher and higher thresholds for IT operation and maintenance. As the business continues to develop, the number of complaint tickets continues to increase. Due to the lack of professional technicians, the operation and maintenance costs continue to rise.

[0003] At the same time, a large amount of operation and maintenance knowledge assets (such as business knowledge, work orders, cases, documents, operation and maintenance scripts, technical information, etc.) have been accumulated during the operation and maintenance of IT systems. However, due to the lack of a unified knowledge management platform, the value of a large amount of operation and maintenance knowledge cannot be fully utilized. Traditional knowledge asset management methods are mostly scattered and unstructured, and there is no connection between knowledge, which is not conducive to search, resulting in low query efficiency and low utilization efficiency of operation and maintenance knowledge during the operation and maintenance process. Summary of the invention

[0004] The present disclosure provides a text processing method to at least solve the problem of low query efficiency and low utilization efficiency of existing operation and maintenance knowledge.

[0005] The technical solution of the present disclosure is as follows:

[0006] The present disclosure provides a text processing method, including:

[0007] Preprocess the input operation and maintenance text to obtain the preprocessed text;

[0008] Extracting intent features from the preprocessed text;

[0009] Performing intent recognition on the intent features to obtain intent attribution classification;

[0010] Generate a response statement based on the intention classification.

[0011] Optionally, performing intent recognition on the intent feature to obtain intent attribution classification includes:

[0012] According to the Naive Bayes algorithm, the intent features are subjected to intent recognition to obtain intent attribution classification.

[0013] Optionally, generating a response statement according to the intention attribution classification includes:

[0014] In the case where the intention attribution classification is ontology classification, the word segmentation of the input operation and maintenance text is converted into a graph query statement;

[0015] According to the graph query statement, query the graph entities, attributes and relationship data from the constructed operation and maintenance knowledge graph to obtain structured graph data;

[0016] Generate a response statement based on the structured graph data.

[0017] Optionally, before using the operation and maintenance knowledge graph, the method further includes:

[0018] Collect operation and maintenance knowledge texts;

[0019] Performing entity extraction on the operation and maintenance knowledge text to obtain entity triples; and

[0020] Segment the sentences of the operation and maintenance knowledge text into words, perform part-of-speech tagging on each word, and establish a grammatical tree structure of the sentence;

[0021] Relationship extraction and entity relationship identification are performed from the operation and maintenance knowledge text to construct the operation and maintenance knowledge graph.

[0022] Optionally, the method further comprises:

[0023] Perform work order clustering on the complaint work order data to obtain the work order clustering results;

[0024] Classify complaint knowledge and obtain knowledge classification results;

[0025] The work order clustering result and the knowledge classification result are integrated to obtain an integrated result.

[0026] Optionally, the method further comprises:

[0027] Receive work order consultation requests;

[0028] According to the work order consultation request, searching the work order corresponding to the work order consultation request from the knowledge classification result;

[0029] In the case that the work order corresponding to the work order consultation request is not found from the knowledge classification result, the work order corresponding to the work order consultation request is found from the work order clustering result.

[0030] The present disclosure also provides a text processing device, including:

[0031] A preprocessing module is used to preprocess the input operation and maintenance text to obtain the preprocessed text;

[0032] An extraction module, used for extracting intent features from the preprocessed text;

[0033] An intention recognition module is used to perform intention recognition on the intention features to obtain an intention attribution classification;

[0034] A generation module is used to generate a response statement according to the intention attribution classification.

[0035] The present disclosure also provides an electronic device, including:

[0036] processor;

[0037] a memory for storing processor-executable instructions;

[0038] The processor is configured to execute instructions to implement each step in the above method.

[0039] The embodiment of the present disclosure further provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, each step in the above method is implemented.

[0040] The embodiment of the present disclosure further provides a computer program product, including a computer program / instruction, which implements each step of the above method when executed by a processor.

[0041] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:

[0042] In some embodiments of the present disclosure, the input operation and maintenance text is preprocessed to obtain the preprocessed text; the intent features are extracted from the preprocessed text; the intent features are subjected to intent recognition to obtain the intent attribution classification; and a reply statement is generated according to the intent attribution classification; the present disclosure automatically generates a reply statement based on the input operation and maintenance text, thereby improving the query efficiency of the operation and maintenance knowledge and improving the utilization efficiency of the operation and maintenance knowledge.

[0043] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0045] Figure 1 A flowchart of a text processing method provided for an exemplary embodiment of the present disclosure;

[0046] Figure 2A structural schematic diagram of a text processing device provided for an exemplary embodiment of the present disclosure;

[0047] Figure 3 A schematic structural diagram of an electronic device provided by an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION

[0048] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0049] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure.

[0050] It should be noted that the user information involved in this disclosure includes but is not limited to: user device information and user personal information; the collection, storage, use, processing, transmission, provision and disclosure of user information in this disclosure comply with the relevant laws and regulations and do not violate public order and good morals.

[0051] 1. The traditional service model has low service efficiency

[0052] As business complexity continues to increase, when responding to service requests from front-line personnel in business halls, channels, etc., various system problems will be encountered, such as failures, anomalies, complaints or difficult explanations. The traditional hotline service model has low service efficiency and is difficult to cover all the colloquial and highly diverse problems.

[0053] 2. Fragmented knowledge leads to the inability to reflect the value of knowledge

[0054] Traditional operation and maintenance knowledge bases focus on the organization of knowledge content, but pay less attention to the logic between knowledge and cannot clearly express the relationship between knowledge. Traditional search methods such as keywords and correlation analysis are inefficient, knowledge points are independent and scattered, and robot responses are not intelligent.

[0055] 3. AI application scenarios are single and have no linkage

[0056] Single AI scenarios such as IT work order recommendations, knowledge bases, and intelligent operation and maintenance robots have been put into practice. However, operation and maintenance knowledge (such as work orders, cases, and documents) is often very scattered. Operation and maintenance objects (hosts, containers, middleware, applications, etc.) are all related to each other, and operation and maintenance objects and operation and maintenance operations (diagnosis, repair, etc.) are also separated. There is currently a lack of a picture to associate them with each other.

[0057] In response to the above technical problems, in some embodiments of the present disclosure, the input operation and maintenance text is preprocessed to obtain a preprocessed text; intent features are extracted from the preprocessed text; intent recognition is performed on the intent features to obtain an intent attribution classification; and an answer statement is generated based on the intent attribution classification; the present disclosure automatically generates an answer statement based on the input operation and maintenance text, thereby improving the query efficiency of operation and maintenance knowledge and improving the utilization efficiency of operation and maintenance knowledge.

[0058] The technical solutions provided by various embodiments of the present disclosure are described in detail below in conjunction with the accompanying drawings.

[0059] Figure 1 The flowchart of a text processing method provided by the exemplary embodiment of the present disclosure is as follows. Figure 1 As shown, the method includes:

[0060] S101: preprocessing the input operation and maintenance text to obtain a preprocessed text;

[0061] S102: extracting intent features from the preprocessed text;

[0062] S103: Performing intention recognition on the intention features to obtain intention classification;

[0063] S104: Generate a response statement based on the intent attribution classification.

[0064] In this embodiment, the execution subject of the above method may be a terminal device or a server.

[0065] Among them, the terminal device includes but is not limited to a mobile station (MS), a mobile terminal, a mobile phone, a handset and a portable equipment, etc. The terminal device can communicate with one or more core networks via a radio access network (RAN). For example, the terminal device can be a mobile phone (or a "cellular" phone), a computer with a wireless communication function, etc. The terminal device can also be a computer with a wireless transceiver function, a virtual reality (VR) terminal device, an AR terminal device, a wireless terminal in industrial control, a wireless terminal in self driving, a wireless terminal in remote medical, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, etc., and the operating system installed on the terminal device includes but is not limited to: IOS, Android, windows, linux, Mac OS and other operating systems. In different networks, the terminal may be called different names, such as user equipment, mobile station, subscriber unit, station, cellular phone, personal digital assistant, wireless modem, wireless communication device, handheld device, laptop computer, cordless phone, wireless local loop station, television, etc. For the convenience of description, it is referred to as terminal equipment in this embodiment.

[0066] In this embodiment, the implementation form of the server is not limited. For example, the server can be a conventional server, a cloud server, a cloud host, a virtual center, or other server devices. The server mainly includes a processor, a hard disk, a memory, a system bus, etc., and a general computer architecture type.

[0067] The present disclosure introduces a service system driven by knowledge graph technology to optimize business perception; in view of the low service efficiency of the traditional hotline service model, it is urgent to introduce the new concept of "self-service, pre-service, and precise service", and use the service system such as intelligent answering and complaint work orders driven by knowledge graph technology to respond quickly, optimize business perception, and improve internal satisfaction. The present disclosure uses knowledge graphs to extract knowledge associations; in business (operation and maintenance) service work, it is necessary to use intelligent methods to deal with practical difficulties, perform semantic and logical recognition on massive work orders and business demand texts, extract the relationship between entities (business, faults, anomalies, requirements, etc.), provide semantic search, intelligent question and answer, visual business knowledge search and other intelligent services, and improve operation and maintenance efficiency. The present disclosure realizes multi-scenario linkage based on knowledge graph technology. By introducing knowledge graphs and natural language processing technologies, scattered operation and maintenance knowledge and objects are extracted, parsed, mapped, and integrated, and finally the operation and maintenance knowledge and objects are graphed to enhance the relationship between knowledge and knowledge, knowledge and objects, and objects and objects. Users conduct graph questions and answers in natural language, and knowledge and objects are displayed in a graphical manner, which are connected from point to surface and from surface to point to achieve multi-scenario linkage of knowledge management.

[0068] The present disclosure establishes a unified knowledge graph application framework, a knowledge automation extraction platform and a graph model library, constructs a knowledge graph with operation and maintenance objects, operation and maintenance operations, and operation and maintenance knowledge as objects, and graphs the operation and maintenance knowledge objects, making the knowledge graph the core AI infrastructure of operation and maintenance; the present disclosure knowledge graph effectively processes, handles and integrates the data of complex documents, converts them into simple and clear "entity, relationship, entity" triples, and finally aggregates a large amount of knowledge, thereby realizing the rapid link application and reasoning of knowledge, and realizing the convenient application of knowledge from point to surface and from surface to point; the present disclosure drives the multi-scenario linkage of intelligent robots, knowledge bases, fault consultation, work order complaints and recommendations through the knowledge graph, and realizes the personalized development and application of graphs through the graph scenario low-code development platform, and opens up capabilities.

[0069] This disclosure conducts knowledge modeling, knowledge extraction, knowledge fusion, and knowledge application in four steps, combined with knowledge graph capabilities, to link knowledge question and answer, complaint handling, work order recommendation and other scenarios.

[0070] (1) Knowledge Modeling

[0071] Combining the characteristics of knowledge graphs, we develop graph visualization modeling tools to allow users to quickly and easily build graph models. Through modeling tools, graph ontology management, attribute management, relationship management, etc. can be achieved, and graph models can be customized.

[0072] (2) Knowledge Extraction

[0073] In some embodiments of the present disclosure, operation and maintenance knowledge text is collected; entity extraction is performed on the operation and maintenance knowledge text to obtain entity triples; and sentences in the operation and maintenance knowledge text are divided into words, and each word is tagged with the part of speech, and a grammatical tree structure of the sentence is established; relationship extraction and entity relationship recognition are performed from the operation and maintenance knowledge text to build an operation and maintenance knowledge graph. Among them, knowledge extraction is performed from data of different sources and structures, and a graph knowledge extraction platform is developed to achieve dynamic extraction of knowledge content through set rules and set tasks, and it is converted into the form of RDF triples through D2R technology and NLP technology is used to divide sentences into words, tag each word with the part of speech and establish a grammatical tree structure of the sentence, and then relationship extraction and entity relationship recognition are performed from the text to build and represent the knowledge graph.

[0074] (3) Knowledge Fusion

[0075] The data from different sources are standardized through the knowledge extraction platform, and there are problems such as knowledge duplication and unclear relationships between knowledge.

[0076] Entity alignment: Use manually defined rules to match similar entities, for example based on a synonym dictionary or a similarity measure.

[0077] Relation alignment: Mapping relations in different graphs into a shared semantic space for matching and alignment.

[0078] In order to make the content of the operation and maintenance knowledge graph universal, this proposal conducts a secondary analysis of the extracted triple content, clusters the entities extracted according to part of speech and dependency syntax, merges entities involving similar content, forms a complete semantic response answer, and feeds it back to the knowledge base and robot front end.

[0079] (4) Knowledge application

[0080] With the knowledge graph as the link, the knowledge base, work order library, operation platform, log platform and other operation and maintenance related systems are linked together to realize the scene linkage of operation and maintenance object as the center, aggregating all related operation and maintenance knowledge, operation and maintenance cases, operation and maintenance work orders and operation and maintenance operations. With robot question and answer as the entrance, the knowledge graph application from point to surface and from surface to point is realized to enhance the intelligent perception of robots.

[0081] In some embodiments of the present disclosure, the knowledge graph is integrated with the robot to provide a natural language question-answering function based on the intent recognition of the graph ontology, so as to provide a friendly graph knowledge question-answering human-computer interaction experience. The intent recognition for graph question-answering can be performed in the following four steps:

[0082] 1) Preprocessing: Perform text preprocessing on the user's input operation and maintenance text, including word segmentation, part-of-speech tagging, etc. Convert the input into a form that the computer can understand and process, in preparation for subsequent intent recognition.

[0083] 2) Feature extraction: Extract discriminative intent features (including keywords, parts of speech, syntactic structures, entities, etc.) from the preprocessed text to represent different intents.

[0084] 3) Intent classification: According to the Naive Bayes algorithm, the intent features are identified to obtain the intent attribution classification. The extracted intent features are trained and classified using the Naive Bayes algorithm. The maximum attribution classification of the sentence is found to identify whether the user's intention is to find needs, cases, businesses, people, interfaces, etc. If the intention is an ontology, the word segmentation is translated into a graph query statement to query the graph entity, attribute or relationship data, and return the structured graph data to achieve a point-to-surface knowledge question-and-answer experience.

[0085] 4) Answer generation: Generate answer statements based on intent attribution classification. One feasible method is to convert the word segmentation of the input operation and maintenance text into a graph query statement when the intent attribution classification is ontology classification; query the graph entity, attribute and relationship data from the constructed operation and maintenance knowledge graph according to the graph query statement to obtain structured graph data; generate answer statements based on the structured graph data. Among them, the corresponding answer is constructed according to the classification result of the intent attribution classification, and the relevant information is queried from the knowledge graph.

[0086] In an exemplary embodiment, a naive Bayes classification algorithm is used to identify the intent of natural language sentences entered in the chat box and find the category to which the sentences belong. There are many intent training samples, but some categories have few samples, and the text information of all samples is very short, usually consisting of 2-5 words, providing limited effective information, which belongs to a multi-classification problem. The word frequency or feature matrix constructed based on the word segmentation results is usually very sparse.

[0087] Most algorithms do not work well when dealing with sparse matrix problems. For example, in support vector machines, the number of samples in the two categories (or multiple categories) involved in classification is very different, which will affect the accuracy of the results. In decision trees, because the initial particles may fall on the boundary value, there may be an overfitting problem.

[0088] The Fasttext algorithm is an algorithm that uses neural networks to represent word vectors. Its skip-gram model features will make FastText's dictionary larger, model parameters more, and model more accurate, but the text of all samples for intent recognition is very short, which does not give full play to the Fasttext model's advantages.

[0089] The Bayesian algorithm uses probability statistics to classify sample data sets. The characteristic of the Bayesian method is the combination of prior probability and posterior probability, which avoids the subjective bias of using only prior probability and the overfitting phenomenon of using sample information alone. The Bayesian classification algorithm has a very low misjudgment rate and shows a higher accuracy rate when the data set is large. In particular, the naive Bayesian algorithm is the simplest of the Bayesian algorithms and greatly simplifies the complexity of the Bayesian method. Therefore, the naive Bayesian algorithm is selected for intent recognition.

[0090] In some embodiments of the present disclosure, the complaint work order data is clustered to obtain the work order clustering results; the complaint knowledge is classified to obtain the knowledge classification results; the work order clustering results and the knowledge classification results are integrated to obtain the integration results. Among them, the linkage of work order, knowledge consultation and recommendation scenarios is mainly achieved through four steps:

[0091] 1) Work order clustering: Operation and maintenance personnel cluster the complaint work order data using a repeated binary clustering algorithm. The purpose of this step is to group similar work orders into one category and achieve automatic aggregation of work orders.

[0092] 2) Complaint knowledge classification: Operation and maintenance experts use the knowledge recommendation management page and the fasttext algorithm to classify complaint knowledge and precipitate processing solutions. Operation and maintenance experts classify complaint knowledge through this step for subsequent work order processing.

[0093] 3) Data integration: Integrate the work order clustering data and classification data to reduce the workload of manual classification. The purpose of this step is to integrate the work order clustering data and complaint knowledge classification data so that they can be used together.

[0094] 4) Receive work order consultation requests; based on the work order consultation requests, query the work order corresponding to the work order consultation request from the knowledge classification results; if the work order corresponding to the work order consultation request is not found from the knowledge classification results, query the work order corresponding to the work order consultation request from the work order clustering results. Among them, work order query and display: when the user consults the work order, first give priority to finding the corresponding classification data, if it cannot be found, then recommend the corresponding cluster. At the same time, the classification and clustering work order results need to be sorted by similarity, using the gensim text similarity algorithm. Finally, the sorted results are displayed to the user.

[0095] Such a process can help operation and maintenance personnel handle work orders more efficiently, reduce the workload of manual classification, and provide users with more accurate and relevant answers to work orders. Different steps use different algorithms and technologies, which can improve system performance and user experience through integration and optimization.

[0096] This scenario introduces the repeated binary clustering algorithm, the fasttext algorithm, and the gensim text similarity algorithm, and uses them together. The following is a description of the algorithm:

[0097] a) Repeated Bisection Clustering Algorithm

[0098] Algorithm function: clustering work orders

[0099] Algorithm selection ideas: In the scenario of automatic work order clustering, the data has the following characteristics: it is not easy to determine the number of categories when there are many work orders, and there are many words in the work orders, and the dimension of the feature vector is quite high. The K-means algorithm needs to determine k center points in advance, which is difficult to give a relatively accurate value when clustering work orders. The DBSCAN algorithm tends to identify clusters with convex distribution, similar size, and similar density. Center selection and noise clustering have a great impact on the results. DBSCAN cannot reflect high-dimensional data well, nor can it reflect the changing density of the data set well. The repeated binary clustering algorithm is an efficiency-enhanced version of the K-mean algorithm. It can automatically cluster without specifying the K center. At the same time, the algorithm integrates the word segmentation operation of hanlp and can support high-dimensional data training. Therefore, the repeated binary clustering algorithm is selected for work order clustering.

[0100] b) Fasttext algorithm

[0101] Algorithm role: Classify knowledge

[0102] Algorithm selection ideas: The data for work order knowledge classification is Chinese phrases. The order of words in the text will have different semantic interpretations. The same words may belong to different knowledge types due to different orders. Although the decision tree model is easy to explain and understand, it ignores the correlation between words. The support vector machine defaults to data sensitivity and has no universal solution to nonlinear problems. The Fasttext algorithm is an algorithm that uses neural networks to represent word vectors. Its skip-gram model features will make FastText's dictionary size larger and the model parameters more. However, the word vector of each word considers the vector sum between the previous and next subwords, so that some rare words or words that have not appeared can get better word vector representation from words with similar morphology, which can solve the OOV (out-of-date word) problem to a certain extent. Therefore, we choose the Fasttext algorithm for knowledge classification.

[0103] c) gensim text similarity algorithm

[0104] Algorithm function: To recommend similar work orders to front-line operation and maintenance personnel during work order consultation, a text similarity algorithm is needed to quickly calculate the work orders that are similar to the consultation text from a large number of historical work orders.

[0105] Algorithm selection ideas: Our application scenario needs to be insensitive to the order of text keywords. The Gensim text similarity algorithm uses the latent semantic indexing (LSI) model for dimensionality reduction based on the calculation of the TD-IDF model, which greatly simplifies the calculation process and memory consumption, and improves the accuracy of the prediction of the Gensim text similarity model (avoiding the shortcomings of the Euclidean distance algorithm that is very sensitive to position and order). Therefore, we use the Gensim cosine similarity algorithm that combines the TD-IDF model and the LSI model to implement the text similarity algorithm.

[0106] The following is an explanation of the relevant data of the present disclosure.

[0107] 1. Generate objects

[0108] This method can handle multiple types of production and operation and maintenance objects, including hosts, containers, middleware, applications, services, electronic work orders (including consultation orders, complaint orders, data modification orders, business collaboration orders, etc.), business knowledge or various documents (including business requirement documents, specification documents, protocol issues, design documents, operation guide documents, test materials and reports, database model documents, fault case documents, etc.), as well as operation and maintenance operation (job) scripts (including shell scripts, perl scripts, python scripts, SQL scripts, etc.), knowledge base blogs, wikis, documents, graph database entities, relationships, attributes, etc.

[0109] 2. Data usage description

[0110] The data involves business database tables, business program operation logs, knowledge base case data (wiki cases, blog cases, including business requirements documents, specification documents, protocol issues, design documents, operation guide documents, test materials and reports, database model documents, fault case documents, etc.), electronic work orders, third-party system or platform API interfaces, call chain log data, etc. Data types include documents in formats such as word, excel, ppt, PDM, text, html web pages, databases, videos, etc.

[0111] Data synchronization mechanism: For document data such as protocols, specifications, guidelines, manuals, etc., they are uploaded to the knowledge base platform through scheduled tasks or manual batch uploads. Wikis and blogs are personal maintenance experiences that are refined through secondary processing. They need to be edited and published on the platform regularly and automatically synchronized with the knowledge base. For the graph database, the data extraction scheduled tasks are set through the knowledge graph automatic data extraction platform, and the data is extracted to the graph database regularly. The electronic work order system data is regularly synchronized to the event library in a quasi-real-time manner, and is regularly synchronized to the model training library by setting scheduled tasks. Log data is specially stored in the log platform, etc., and synchronized in quasi-real time. The robot operation and maintenance scripts are managed through the operation and maintenance operation platform, stored in the platform in real time, and synchronized in real time.

[0112] 3. Description of the model used

[0113] 1) Intent Recognition Model

[0114] Implementation idea: Use the Naive Bayes algorithm to generate an intent recognition model. By uploading intent training data and feature vocabulary files, the background automatically loads data to train the corresponding intent recognition model for the tenant.

[0115] Model training: Model training data is provided in the form of a file interface. Background tasks are executed regularly to obtain training files and execute model training tasks, thereby realizing model updates.

[0116] Model evaluation method: Use precision, recall and comprehensive evaluation to measure algorithm performance.

[0117] Precision = the amount of relevant information retrieved / the total amount of information retrieved * 100%

[0118] Recall = Number of samples correctly retrieved / Number of samples that should be retrieved * 100%

[0119]

[0120] 2) Text Similarity Model

[0121] Implementation idea: First use fasttext to classify and train knowledge work orders to obtain a work order classification model; when calculating text similarity, first use the work order classification model to predict the belonging knowledge classification, and then use the gensim algorithm to calculate the similarity of the work orders belonging to this classification, so as to obtain the similar work order information with the highest score, thereby providing recommendations for knowledge classification information and similar work orders.

[0122] Model training: Model training data is provided in the form of a file interface. Background tasks are executed regularly to obtain training files and execute model training tasks, thereby realizing model updates.

[0123] How the model is evaluated:

[0124] Fasttext text classification algorithm evaluation: Use precision, recall and comprehensive evaluation to measure algorithm performance.

[0125] Precision = the amount of relevant information retrieved / the total amount of information retrieved * 100%

[0126] Recall = Number of samples correctly retrieved / Number of samples that should be retrieved * 100%

[0127]

[0128] 3) Text clustering model

[0129] Implementation idea: Use repeated binary classification algorithm to cluster the work order text, so as to cluster similar work orders together.

[0130] Model parameters: number of clusters. The default value is 0, which means automatic clustering.

[0131] 4. Application case: Rapid handling of home broadband service failures

[0132] At the request of the customer, the home broadband installation and maintenance personnel came to the customer's home to install the broadband service. After the installation was completed, the customer reported that he still could not access the Internet through broadband, and the customer was anxious and hoped that the problem would be resolved within 30 minutes. The installation and maintenance personnel comforted the customer while calling the front-line customer service staff for help in resolving the problem.

[0133] Previous process for handling broadband problems: neither installation and maintenance personnel nor front-line personnel had the tools and capabilities to handle broadband problems. The problem was escalated to second-line personnel through IT tickets, and the process took more than 4 hours. Problem location and repair took more than 3 hours. On average, it took more than 7 hours to handle broadband problems, affecting user satisfaction.

[0134] Use intelligent operation and maintenance robots based on knowledge graphs to handle broadband problems: When front-line personnel receive complaints from installation and maintenance personnel, they can quickly locate the key points of the problem and fix the problem with one click through the capabilities of intelligent operation and maintenance robots (work order recommendation, problem location, and one-click problem repair). The average time required to handle broadband problems is less than 30 minutes, which effectively improves customer support efficiency and increases user satisfaction.

[0135] 1) Intelligent robot work order recommendation capability

[0136] After receiving the fault report from the installer, the front-line personnel obtained a highly familiar solution to the broadband problem through the work order recommendation module of the intelligent operation and maintenance robot, which took 8 minutes.

[0137] 2) Intelligent robot problem location capability

[0138] The front-line staff used the linkage problem location menu in the work order recommendation to jump to the broadband query menu of the complaint processing module of the intelligent operation and maintenance robot to accurately locate the problem, which took 10 minutes.

[0139] 3) Intelligent robot problem repair capabilities

[0140] Frontline personnel used the broadband order line simulation archiving menu of the intelligent operation and maintenance robot complaint processing module to quickly repair the user's broadband problem with one click, which took only 6 minutes.

[0141] Figure 2FIG. 2 is a schematic diagram of a text processing device 20 provided by an exemplary embodiment of the present disclosure. Figure 2 As shown, the text processing device 20 includes: a preprocessing module 21, an extraction module 22, an intention recognition module 23 and a generation module 24.

[0142] The preprocessing module 21 is used to preprocess the input operation and maintenance text to obtain the preprocessed text;

[0143] An extraction module 22, used to extract intention features from the preprocessed text;

[0144] The intention recognition module 23 is used to perform intention recognition on the intention features to obtain the intention attribution classification;

[0145] The generation module 24 is used to generate a response statement according to the intention attribution classification.

[0146] Optionally, intent recognition is performed on the intent features to obtain intent attribution classification, including:

[0147] According to the Naive Bayes algorithm, the intent features are used to identify the intent and obtain the intent attribution classification.

[0148] Optionally, when generating a response statement according to the intent attribution classification, the generating module 24 is used to:

[0149] When the intent attribution classification is ontology classification, the word segmentation of the input operation and maintenance text is converted into a graph query statement;

[0150] According to the graph query statement, query the graph entities, attributes and relationship data from the constructed operation and maintenance knowledge graph to obtain structured graph data;

[0151] Generate answer sentences based on structured graph data.

[0152] Optionally, before using the operation and maintenance knowledge graph, the generating module 24 may also be used to:

[0153] Collect operation and maintenance knowledge texts;

[0154] Perform entity extraction on the operation and maintenance knowledge text to obtain entity triples; and

[0155] Segment the sentences in the operation and maintenance knowledge text into words, perform part-of-speech tagging on each word, and build a grammatical tree structure for the sentences;

[0156] Relationship extraction and entity relationship identification are performed from operation and maintenance knowledge text to build an operation and maintenance knowledge graph.

[0157] Optionally, the generating module 24 may also be used to:

[0158] Perform work order clustering on the complaint work order data to obtain the work order clustering results;

[0159] Classify complaint knowledge and obtain knowledge classification results;

[0160] The work order clustering results and knowledge classification results are integrated to obtain the integrated results.

[0161] Optionally, the generating module 24 may also be used to:

[0162] Receive work order consultation requests;

[0163] According to the work order consultation request, query the work order corresponding to the work order consultation request from the knowledge classification results;

[0164] When no work order corresponding to the work order consultation request is found from the knowledge classification result, the work order corresponding to the work order consultation request is found from the work order clustering result.

[0165] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0166] Figure 3 FIG. 1 is a schematic diagram of a structure of an electronic device provided by an exemplary embodiment of the present disclosure. Figure 3 As shown, the electronic device includes: a memory 31 and a processor 32. In addition, the electronic device also includes a power supply component 33 and a communication component 34.

[0167] The memory 31 is used to store computer programs and can be configured to store various other data to support operations on the electronic device. Examples of such data include instructions for any application program or method operating on the electronic device.

[0168] The memory 31 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0169] The communication component 34 is used for data transmission with other devices.

[0170] The processor 32 can execute computer instructions stored in the memory 31 to: preprocess the input operation and maintenance text to obtain a preprocessed text; extract intent features from the preprocessed text; perform intent recognition on the intent features to obtain an intent attribution classification; and generate a response statement based on the intent attribution classification.

[0171] Optionally, when the processor 32 performs intent recognition on the intent feature and obtains the intent attribution classification, it is configured to:

[0172] According to the Naive Bayes algorithm, the intent features are used to identify the intent and obtain the intent attribution classification.

[0173] Optionally, when generating a response statement according to the intent attribution classification, the processor 32 is configured to:

[0174] When the intent attribution classification is ontology classification, the word segmentation of the input operation and maintenance text is converted into a graph query statement;

[0175] According to the graph query statement, query the graph entities, attributes and relationship data from the constructed operation and maintenance knowledge graph to obtain structured graph data;

[0176] Generate answer sentences based on structured graph data.

[0177] Optionally, before using the operation and maintenance knowledge graph, the processor 32 may also be used to:

[0178] Collect operation and maintenance knowledge texts;

[0179] Perform entity extraction on the operation and maintenance knowledge text to obtain entity triples; and

[0180] Segment the sentences in the operation and maintenance knowledge text into words, perform part-of-speech tagging on each word, and build a grammatical tree structure for the sentences;

[0181] Relationship extraction and entity relationship identification are performed from operation and maintenance knowledge text to build an operation and maintenance knowledge graph.

[0182] Optionally, the processor 32 may also be configured to:

[0183] Perform work order clustering on the complaint work order data to obtain the work order clustering results;

[0184] Classify complaint knowledge and obtain knowledge classification results;

[0185] The work order clustering results and knowledge classification results are integrated to obtain the integrated results.

[0186] Optionally, the processor 32 may also be configured to:

[0187] Receive work order consultation requests;

[0188] According to the work order consultation request, query the work order corresponding to the work order consultation request from the knowledge classification results;

[0189] When no work order corresponding to the work order consultation request is found from the knowledge classification result, the work order corresponding to the work order consultation request is found from the work order clustering result.

[0190] Accordingly, the present disclosure also provides a computer-readable storage medium storing a computer program. When the computer-readable storage medium stores the computer program and the computer program is executed by one or more processors, the one or more processors execute Figure 2 Each step in the method embodiment.

[0191] Accordingly, the present disclosure also provides a computer program product, the computer program product includes a computer program / instruction, the computer program / instruction is executed by a processor Figure 2 Each step in the method embodiment.

[0192] Above Figure 3 The communication component in is configured to facilitate wired or wireless communication between the device where the communication component is located and other devices. The device where the communication component is located can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G / LTE, 5G and other mobile communication networks, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0193] Above Figure 3 The power supply component in the device provides power to various components of the device where the power supply component is located. The power supply component may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device where the power supply component is located.

[0194] The electronic device also includes a display screen and an audio component.

[0195] The display screen includes a screen, and the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.

[0196] The audio component may be configured to output and / or input audio signals. For example, the audio component includes a microphone (MIC), and when the device where the audio component is located is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal may be further stored in a memory or sent via a communication component. In some embodiments, the audio component also includes a speaker for outputting an audio signal.

[0197] In the above-mentioned method, apparatus, device, storage medium and computer program product embodiments of the present disclosure, the input operation and maintenance text is preprocessed to obtain the preprocessed text; the intention features are extracted from the preprocessed text; the intention features are subjected to intention recognition to obtain the intention attribution classification; according to the intention attribution classification, the answer statement is generated; the present disclosure automatically generates the answer statement based on the input operation and maintenance text, and automatically generates the answer statement, thereby improving the query efficiency of the operation and maintenance knowledge and improving the utilization efficiency of the operation and maintenance knowledge.

[0198] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0199] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0200] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0201] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0202] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0203] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0204] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0205] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0206] The above are only specific embodiments of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to these embodiments herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A text processing method, characterized in that: include: Preprocess the input operation and maintenance text to obtain the preprocessed text; Extracting intent features from the preprocessed text; Performing intent recognition on the intent features to obtain intent attribution classification; Generate a response statement based on the intention classification.

2. The method according to claim 1, characterized in that: The performing intention recognition on the intention feature to obtain the intention attribution classification includes: According to the Naive Bayes algorithm, the intent features are subjected to intent recognition to obtain intent attribution classification.

3. The method according to claim 1, characterized in that Generating a response statement according to the intention attribution classification includes: In the case where the intention attribution classification is ontology classification, the word segmentation of the input operation and maintenance text is converted into a graph query statement; According to the graph query statement, query the graph entities, attributes and relationship data from the constructed operation and maintenance knowledge graph to obtain structured graph data; Generate a response statement based on the structured graph data.

4. The method according to claim 3, characterized in that Before using the operation and maintenance knowledge graph, the method further includes: Collect operation and maintenance knowledge texts; Performing entity extraction on the operation and maintenance knowledge text to obtain entity triples; and Segment the sentences of the operation and maintenance knowledge text into words, perform part-of-speech tagging on each word, and establish a grammatical tree structure of the sentence; Relationship extraction and entity relationship identification are performed from the operation and maintenance knowledge text to construct the operation and maintenance knowledge graph.

5. The method according to claim 1, characterized in that The method further comprises: Perform work order clustering on the complaint work order data to obtain the work order clustering results; Classify complaint knowledge and obtain knowledge classification results; The work order clustering result and the knowledge classification result are integrated to obtain an integrated result.

6. The method according to claim 5, characterized in that The method further comprises: Receive work order consultation requests; According to the work order consultation request, searching the work order corresponding to the work order consultation request from the knowledge classification result; In the case that the work order corresponding to the work order consultation request is not found from the knowledge classification result, the work order corresponding to the work order consultation request is found from the work order clustering result.

7. A text processing device, characterized in that: include: A preprocessing module is used to preprocess the input operation and maintenance text to obtain the preprocessed text; An extraction module, used for extracting intent features from the preprocessed text; An intention recognition module is used to perform intention recognition on the intention features to obtain an intention attribution classification; A generation module is used to generate a response statement according to the intention attribution classification.

8. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute instructions to implement each step in the method according to any one of claims 1 to 6.

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

10. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps in the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Work order processing method, device and system

    CN109885768A

  • Intelligent question and answer data processing method and device based on operation and maintenance service

    CN111241237A

  • Operation and maintenance question-answering method based on knowledge graph

    CN112685434A

  • Scheduling method for dynamic allocation of operation and maintenance resources based on knowledge graph platform

    CN114372145A

  • Auxiliary intelligent question answering method and device for operation and maintenance of wind turbine generator

    CN115730053A

Cited By

  • Experimental question and answer method and system based on knowledge graph

    CN121071164A