Business operation and maintenance method and device, computer equipment, storage medium and product
By learning and refining rules from a large amount of operation and maintenance data through the pre-optimized operation and maintenance big language model, it solves the problem of low accuracy in handling operation and maintenance problems in financial business operation and maintenance, and achieves efficient and accurate operation and maintenance problem processing and intelligent management. .
Patent Information
- Application Number
- CN202410726814.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-08-30
AI Technical Summary
Existing technologies rely on manual experience in financial business operation and maintenance, resulting in low accuracy in handling operation and maintenance problems, fragile automated operation and maintenance systems, and a lack of expert-level knowledge and efficient decision-making support.
Use a pre-optimized operation and maintenance large language model to reason about the operation and maintenance problems to be processed, learn and refine processing rules from a large amount of operation and maintenance data, provide targeted solutions, and improve the accuracy of operation and maintenance problem processing.
It improves the accuracy and efficiency of handling operation and maintenance problems, enhances the intelligent management capabilities of the system, reduces troubleshooting time, and solves the problems of insufficient knowledge reserves and scarcity of professional talents.
Smart Images

Figure CN118568233A
Abstract
Description
Technical Field
[0001] The present application relates to the field of artificial intelligence technology, and in particular to a business operation and maintenance method, apparatus, computer equipment, storage medium and product. Background Art
[0002] In order to carry out various businesses safely and efficiently, it is necessary to deal with the operation and maintenance issues of various businesses. Taking financial business as an example, the operation and maintenance issues of financial business include operation and maintenance issues in emergency scenarios, operation and maintenance issues of changes, operation and maintenance issues of events, and operation and maintenance issues of performance and capacity, etc.
[0003] In the related art, when dealing with the operation and maintenance issues of these businesses, automated operation and maintenance is usually used to deal with the operation and maintenance issues. Although this method reduces manual operations, it still relies on human experience when dealing with operation and maintenance issues, and there is a problem of low accuracy in handling the operation and maintenance issues of the business. Summary of the invention
[0004] Based on this, it is necessary to provide a business operation and maintenance method, device, computer equipment, storage medium and product that can improve the accuracy of handling business operation and maintenance problems in response to the above technical problems.
[0005] In a first aspect, the present application provides a business operation and maintenance method, including:
[0006] Obtain pending operation and maintenance issues of the target business;
[0007] Use the pre-optimized operation and maintenance language model to reason about the operation and maintenance problems to be processed and obtain solutions to the operation and maintenance problems to be processed;
[0008] Operate and maintain the target business based on the solutions to the pending operation and maintenance issues.
[0009] In one embodiment, the method further comprises:
[0010] Obtain multiple historical operation and maintenance issues corresponding to the business areas of the target business;
[0011] Process multiple historical operation and maintenance issues into corresponding operation and maintenance question and answer samples;
[0012] The initial large language model is trained according to the question and answer samples of each operation and maintenance question to obtain the operation and maintenance large language model.
[0013] In one embodiment, the initial large language model includes an initial converter network module and an initial fully connected layer module. The initial large language model is trained according to each operation and maintenance question and answer sample to obtain the operation and maintenance large language model, including:
[0014] Input each operation and maintenance question and answer sample into the initial converter network module to obtain the feature matrix of each operation and maintenance question and answer sample;
[0015] Input the feature matrix into the initial fully connected layer module to obtain reference solutions for each operation and maintenance question and answer sample;
[0016] Determine the operation and maintenance language model based on the standard solutions corresponding to each reference solution and each operation and maintenance question and answer sample.
[0017] In one embodiment, the initial converter network module includes an attention layer, a single-layer feedforward layer, a first normalization layer, a double-layer feedforward layer, and a second normalization layer connected in series, and an adapter layer having one end connected to an output end of the single-layer feedforward layer and the other end connected to an output end of the double-layer feedforward layer; each operation and maintenance question and answer sample is input into the initial network module to obtain a feature matrix of each operation and maintenance question and answer sample, including:
[0018] Input the question and answer samples of each operation and maintenance question into the attention layer and the single-layer feed-forward layer to obtain the question and answer sample matrix;
[0019] Inputting the question-answer sample matrix into the first normalization layer and the double-layer feed-forward layer to obtain a first output matrix, and inputting the question-answer sample matrix into the adapter layer to obtain a second output matrix;
[0020] The first output matrix and the second output matrix are concatenated and input into the second normalization layer to obtain a feature matrix.
[0021] In one embodiment, the adapter layer includes a first feedforward sublayer, a nonlinear layer, and a second feedforward sublayer connected in sequence, and the question-answer sample matrix is input into the adapter layer to obtain a second output matrix, including:
[0022] Input the question-answer sample matrix into the first feed-forward sublayer to obtain a low-dimensional question-answer sample matrix of the question-answer sample matrix;
[0023] Input the low-dimensional question-answer sample matrix into the nonlinear layer to obtain a nonlinear question-answer sample matrix;
[0025] Input the nonlinear question-answer sample matrix into the second feed-forward sublayer to obtain a high-dimensional question-answer sample matrix;
[0026] According to the high-dimensional question-answer sample matrix and the question-answer sample matrix, a second output matrix is obtained.
[0027] In one embodiment, the operation and maintenance language model is determined according to each reference solution and the standard solution corresponding to each operation and maintenance question and answer sample, including:
[0028] Substitute each reference solution and the standard solution corresponding to each operation and maintenance question and answer sample into the preset loss function to determine the value of the preset loss function;
[0029] When the value of the preset loss function is less than a preset threshold, the training is determined to be completed and the operation and maintenance large language model is obtained.
[0030] In one embodiment, the method further comprises:
[0031] Obtain the version label of the trained operation and maintenance large language model;
[0032] The version label of the operation and maintenance large language model is stored in the latest position in the preset model version record queue; the model version record queue includes multiple model version labels of previous updates stored in chronological order.
[0033] In one embodiment, a pre-optimized operation and maintenance large language model is used to reason about the operation and maintenance problem to be processed, and a solution to the operation and maintenance problem to be processed is obtained, including:
[0034] According to multiple historical operation and maintenance problems corresponding to the business field of the target business, operation and maintenance problem document samples corresponding to the multiple historical operation and maintenance problems are obtained;
[0035] Based on the samples of each operation and maintenance problem document, obtain the problem text corresponding to the operation and maintenance problem to be processed;
[0036] The problem text corresponding to the operation and maintenance problem to be processed is input into the operation and maintenance large language model for reasoning and calculation to obtain the solution to the operation and maintenance problem to be processed.
[0037] In one embodiment, based on each operation and maintenance problem document sample, obtaining the problem text corresponding to the operation and maintenance problem to be processed includes:
[0038] According to each document sample, a document sample vector library is constructed;
[0039] Vectorize the operation and maintenance problems to be processed to obtain the operation and maintenance problem vectors of the operation and maintenance problems to be processed;
[0040] According to the document sample vector library and the operation and maintenance problem vector, the problem text corresponding to the operation and maintenance problem to be processed is obtained.
[0041] In one embodiment, obtaining the problem text corresponding to the operation and maintenance problem to be processed according to the document sample vector library and the operation and maintenance problem vector includes:
[0042] According to the similarity between the operation and maintenance problem vector and each document sample vector in the document sample vector library, a plurality of document sample vectors whose similarity is greater than a preset similarity threshold are obtained;
[0043] The document samples corresponding to the multiple document sample vectors and the pending operation and maintenance problems are input into the prompt word project to generate the problem text corresponding to the pending operation and maintenance problems.
[0044] In one embodiment, the method further comprises:
[0045] Detect and maintain the performance quantification value of the large language model;
[0046] When the performance quantization value is lower than the target performance quantization value, the preset model version rollback mechanism is started to roll back the operation and maintenance large language model from the current version to the target version; the performance quantization value of the operation and maintenance large language model corresponding to the target version is greater than the target performance quantization value.
[0047] In a second aspect, the present application also provides a business operation and maintenance device, including:
[0048] Data acquisition module, used to obtain pending operation and maintenance issues of the target business;
[0049] The solution acquisition module is used to use the pre-optimized operation and maintenance large language model to reason about the operation and maintenance problems to be processed and obtain solutions to the operation and maintenance problems to be processed;
[0050] The operation and maintenance module is used to operate and maintain the target business based on the solutions to the operation and maintenance problems to be processed.
[0051] In a third aspect, the present application further provides a computer device, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of any one of the methods in the first aspect when executing the computer program.
[0052] In a fourth aspect, the present application further provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of any one of the methods in the first aspect are implemented.
[0053] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the steps of any one of the methods in the first aspect when executed by a processor.
[0054] The above-mentioned business operation and maintenance method, device, computer equipment, storage medium and product, since the pre-optimized operation and maintenance large language model can continuously learn from a large amount of training data of operation and maintenance problems to refine and summarize the processing rules of operation and maintenance problems, therefore, when the pre-optimized operation and maintenance large language model is used to reason about the operation and maintenance problems to be processed, the obtained solution is more targeted. According to the solution to the operation and maintenance problem to be processed, the target business is operated and maintained, and then the operation and maintenance problem to be processed can be processed in a targeted manner, thereby improving the accuracy of processing the business operation and maintenance problems. BRIEF DESCRIPTION OF THE DRAWINGS
[0055] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0056] FIG1 is an application environment diagram of a business operation and maintenance method in one embodiment;
[0057] FIG2 is a schematic diagram of a process flow of a business operation and maintenance method in one embodiment;
[0058] FIG3 is a flow chart of a method for acquiring a large operation and maintenance language model in one embodiment;
[0059] FIG4 is a schematic diagram of a question and answer sample in one embodiment;
[0060] FIG5 is a flow chart of training an initial large language model according to various operation and maintenance question and answer samples to obtain an operation and maintenance large language model in one embodiment;
[0061] FIG6 is a schematic diagram of the internal structure of an initial converter network module in one embodiment;
[0062] FIG7 is a flow chart of inputting each operation and maintenance question and answer sample into the initial network module to obtain a feature matrix of each operation and maintenance question and answer sample in one embodiment;
[0063] FIG8 is a schematic diagram of the internal structure of an adapter layer in one embodiment;
[0064] FIG9 is a flow chart of inputting a question-answer sample matrix into an adapter layer to obtain a second output matrix in one embodiment;
[0065] FIG10 is a flow chart of determining an operation and maintenance large language model according to each reference solution and a standard solution corresponding to each operation and maintenance question and answer sample in one embodiment;
[0066] FIG11 is a schematic diagram of a process of storing a version tag in one embodiment;
[0067] FIG12 is a flow chart of using a pre-optimized large operation and maintenance language model to reason about an operation and maintenance problem to be processed and obtaining a solution to the operation and maintenance problem to be processed in one embodiment;
[0068] FIG13 is a schematic diagram of a sample of an operation and maintenance problem document in one embodiment;
[0069] FIG14 is a schematic diagram of a process for obtaining a problem text corresponding to an operation and maintenance problem to be processed in one embodiment;
[0070] FIG15 is a schematic diagram of a process for obtaining a question text corresponding to an operation and maintenance problem to be processed according to a document sample vector library and an operation and maintenance problem vector in one embodiment;
[0071] FIG16 is a schematic diagram of a process of a version rollback method in one embodiment;
[0072] FIG17 is a flow chart of a business operation and maintenance method in an exemplary embodiment;
[0073] FIG18 is a schematic diagram of the structure of the operation and maintenance large language model in an exemplary embodiment;
[0074] FIG19 is a schematic diagram of a process of inputting a problem text corresponding to an operation and maintenance problem to be processed into an operation and maintenance large language model for reasoning and calculation to obtain a solution to the operation and maintenance problem to be processed in an exemplary embodiment;
[0075] FIG20 is a structural block diagram of a business operation and maintenance device in one embodiment;
[0076] FIG21 is a diagram showing the internal structure of a server in one embodiment;
[0077] FIG. 22 is a diagram showing the internal structure of a terminal in one embodiment. DETAILED DESCRIPTION
[0078] 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.
[0079] In the field of financial business operation and maintenance, the traditional manual operation and maintenance has developed into automated operation and maintenance. Although automated operation and maintenance has reduced manual operation and maintenance operations, it still relies on human experience when dealing with operation and maintenance problems, and the automated operation and maintenance system is still relatively fragile.
[0080] As the operation and maintenance business becomes increasingly large, we can use artificial intelligence to enable computer equipment to learn from massive operation and maintenance data and provide expert knowledge for operation and maintenance work. The large language model based on artificial intelligence advocates that machine learning algorithms automatically learn from massive operation and maintenance data, continuously refine and summarize rules to solve complex operation and maintenance problems, improve operation and maintenance efficiency, reduce fault handling time, and enhance the intelligent management capabilities of the system.
[0081] The advantages of the big language model in the field of operation and maintenance are reflected in the following aspects. First, based on the natural language processing capabilities of the big language model, an intelligent operation and maintenance assistant can be developed to enable operation and maintenance personnel to interact with the system through natural language and improve operational efficiency; second, the big language model is used to process a large number of documents and knowledge bases, automatically build knowledge graphs, provide more comprehensive and structured information, and provide better decision-making support for operation and maintenance personnel. By deeply integrating a large amount of operation and maintenance data experience with the big language model, a big language model of the operation and maintenance industry with expert-level operation and maintenance capabilities is formed, which can effectively solve the problems of insufficient knowledge reserves for the application of big models in enterprises, high investment costs, and scarcity of professional talents; third, based on the understanding and reasoning capabilities of the big language model, the system can recommend solutions to operation and maintenance problems and improve the efficiency and accuracy of operation and maintenance problem handling.
[0082] Based on this, the present application provides a business operation and maintenance method, apparatus, computer equipment, storage medium and product that can improve the accuracy of handling business operation and maintenance problems.
[0083] The service operation and maintenance method provided in the embodiment of the present application can be applied to the application environment shown in Figure 1. Among them, the terminal 102 obtains the pending operation and maintenance problems of the target business; uses the pre-optimized operation and maintenance large language model to reason about the pending operation and maintenance problems, and obtains the solutions to the pending operation and maintenance problems; and operates and maintains the target business according to the solutions to the pending operation and maintenance problems. Among them, the terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. Head-mounted devices can be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc.
[0084] In an exemplary embodiment, as shown in FIG2 , a service operation and maintenance method is provided, which is described by taking the method applied to the terminal 102 in FIG1 as an example, and includes the following steps 202 to 206. Among them:
[0085] Step 202: Obtain pending operation and maintenance issues of the target business.
[0086] The operation and maintenance problem to be processed may be at least one of an operation and maintenance problem in an emergency scenario, an operation and maintenance problem of a change, an operation and maintenance problem of an event, and an operation and maintenance problem of performance and capacity.
[0087] Optionally, a query may be performed from a database storing operation and maintenance issues to obtain the pending operation and maintenance issues of the target business.
[0088] Optionally, the problem may be located on the business log of the target business to determine the pending operation and maintenance problems of the target business.
[0089] Step 204: Use the pre-optimized operation and maintenance large language model to reason about the operation and maintenance problem to be processed, and obtain a solution to the operation and maintenance problem to be processed.
[0090] The pre-optimized operation and maintenance big language model may be a big language model obtained after training the initial big language model.
[0091] Optionally, historical data corresponding to the operation and maintenance problems of the target business is obtained, and the historical data is input into the initial operation and maintenance large language model for training. When the function value of the loss function is less than a preset value, the training is determined to be completed to obtain a pre-optimized operation and maintenance large language model.
[0092] Input the pending operation and maintenance problems into the pre-optimized operation and maintenance large language model to obtain solutions to the pending operation and maintenance problems.
[0093] Step 206: Perform operation and maintenance on the target business according to the solution to the operation and maintenance problem to be processed.
[0094] Among them, the solution to the operation and maintenance problem to be processed includes processing steps and verification steps.
[0095] Optionally, assuming that the solution to the pending operation and maintenance problem includes processing step 1, processing step 2, verification step 1, and verification step 2, when the pending operation and maintenance problem occurs, processing step 1 and processing step 2 are executed in sequence. After completion, verification step 1 and verification step 2 are executed in sequence to perform operation and maintenance on the target business.
[0096] In the business operation and maintenance method of the embodiment of the present application, the pending operation and maintenance problems of the target business are obtained; the pre-optimized operation and maintenance large language model is used to reason about the pending operation and maintenance problems to obtain solutions to the pending operation and maintenance problems; and the target business is operated and maintained according to the solutions to the pending operation and maintenance problems. Among them, since the pre-optimized operation and maintenance large language model can continuously learn from a large amount of training data on operation and maintenance problems to refine and summarize the processing rules of operation and maintenance problems, when the pre-optimized operation and maintenance large language model is used to reason about the pending operation and maintenance problems, the solutions obtained are more targeted, and the target business is operated and maintained according to the solutions to the pending operation and maintenance problems, so that the pending operation and maintenance problems can be processed in a targeted manner, thereby improving the accuracy of the processing of the business's operation and maintenance problems.
[0097] In one embodiment, a method for obtaining an operation and maintenance large language model is provided, and the process is shown in FIG3 , wherein:
[0098] Step 302: Acquire multiple historical operation and maintenance issues corresponding to the business domain of the target business.
[0099] Optionally, a query is performed from a database to obtain a plurality of historical operation and maintenance issues corresponding to the business domain of the target business.
[0100] Step 304, processing the multiple historical operation and maintenance issues into corresponding operation and maintenance question and answer samples.
[0101] Optionally, multiple historical operation and maintenance problems are split using a script file to obtain multiple historical operation and maintenance problems. The question and answer sample is shown in Figure 4, where the historical operation and maintenance problem is a high file system usage rate, and corresponds to the processing steps and verification steps of the historical operation and maintenance problem.
[0102] Step 306: Train the initial large language model according to the question and answer samples of each operation and maintenance question to obtain the operation and maintenance large language model.
[0103] Optionally, assuming that each operation and maintenance problem question and answer sample is operation and maintenance problem question and answer sample 1, operation and maintenance problem question and answer sample 2…operation and maintenance problem question and answer sample n, operation and maintenance problem question and answer sample 1, operation and maintenance problem question and answer sample 2…operation and maintenance problem question and answer sample n are respectively input into the initial large language model to obtain predicted solution 1 corresponding to operation and maintenance problem question and answer sample 1, predicted solution 2 corresponding to operation and maintenance problem question and answer sample 2…predicted solution n corresponding to operation and maintenance problem question and answer sample n, and the value of the loss function of the initial large language model is determined according to predicted solution 1 and actual solution 1 corresponding to operation and maintenance problem question and answer sample 1, predicted solution 2 and actual solution 2 corresponding to operation and maintenance problem question and answer sample 2…predicted solution n and actual solution n corresponding to operation and maintenance problem question and answer sample n. If the value of the loss function is less than a preset value, it is determined that the training is completed and the operation and maintenance large language model is obtained; if the value of the loss function is greater than or equal to the preset value, the parameters of the initial large language model are adjusted to continue training until the value of the loss function is less than the preset value, then it is determined that the training is completed and the operation and maintenance large language model is obtained.
[0104] In the embodiment of the present application, multiple historical operation and maintenance problems corresponding to the business field of the target business are obtained; the multiple historical operation and maintenance problems are processed into corresponding operation and maintenance problem question and answer samples; the initial large language model is trained according to each operation and maintenance problem question and answer sample to obtain the operation and maintenance large language model. By training the initial large language model with each operation and maintenance problem question and answer sample, the accuracy of the trained operation and maintenance large language model can be higher.
[0105] In one embodiment, the initial large language model includes an initial converter network module and an initial fully connected layer module. The initial large language model is trained according to each operation and maintenance question and answer sample to obtain the operation and maintenance large language model. The process is shown in FIG5 and includes:
[0106] Step 501: Input each operation and maintenance question and answer sample into the initial converter network module to obtain a feature matrix of each operation and maintenance question and answer sample.
[0107] The initial converter network module includes an encoding unit, a decoding unit and a linearization unit.
[0108] Optionally, for each operation and maintenance question and answer sample, the operation and maintenance question and answer sample is input into the encoding unit for encoding processing to obtain an encoded question and answer sample, the encoded question and answer sample is input into the decoding unit for decoding processing to obtain a decoded question and answer sample, and the decoded question and answer sample is input into the linearization unit for linearization processing to obtain a feature matrix of the operation and maintenance question and answer sample.
[0109] Step 502, input the feature matrix into the initial fully connected layer module to obtain reference solutions for each operation and maintenance question and answer sample.
[0110] Optionally, for each operation and maintenance question and answer sample, the initial fully connected layer module is used to perform weighted processing and activation function processing on the feature matrix in sequence to obtain a reference solution to the operation and maintenance question and answer sample.
[0111] Step 503: Determine an operation and maintenance language model according to each reference solution and the standard solution corresponding to each operation and maintenance question and answer sample.
[0112] Optionally, the error value between each reference solution and the standard solution corresponding to each operation and maintenance question and answer sample is calculated, where the error value can be any one of the variance and standard deviation. If the error value is greater than the preset error value, the parameters of the initial large language model are adjusted to obtain a new large language model, and then each operation and maintenance question and answer sample is input into the new large language model to obtain a new reference solution for each operation and maintenance question and answer sample, and the error value between each new reference solution and the standard solution corresponding to each operation and maintenance question and answer sample is calculated. If the error value is less than the preset error value, it is determined that the training is completed, and the new large language model is used as the operation and maintenance large language model.
[0113] In the embodiment of the present application, each operation and maintenance question and answer sample is input into the initial converter network module to obtain the feature matrix of each operation and maintenance question and answer sample; the feature matrix is input into the initial fully connected layer module to obtain the reference solution of each operation and maintenance question and answer sample; the operation and maintenance large language model is determined according to each reference solution and the standard solution corresponding to each operation and maintenance question and answer sample. Among them, the initial large language model is continuously trained and optimized through each reference solution and the standard solution corresponding to each operation and maintenance question and answer sample, so that the obtained operation and maintenance large language model has a higher prediction accuracy.
[0114] In one embodiment, the internal structure of the initial converter network module is shown in FIG6 , and the initial converter network module includes an attention layer, a single-layer feedforward layer, a first normalization layer, a double-layer feedforward layer, and a second normalization layer connected in series, and an adapter layer having one end connected to the output end of the single-layer feedforward layer and the other end connected to the output end of the double-layer feedforward layer; each operation and maintenance question and answer sample is input into the initial network module to obtain a feature matrix of each operation and maintenance question and answer sample, and the process is shown in FIG7 , including:
[0115] Step 701, input each operation and maintenance question and answer sample into the attention layer and the single-layer feed-forward layer to obtain a question and answer sample matrix.
[0116] Optionally, the attention layer is used to perform attention score calculation, probability transformation function calculation, and weighted sum calculation on each operation and maintenance question and answer sample in sequence to obtain the output matrix of the attention layer, and the output matrix of the attention layer is input into a single-layer feedforward layer, and is processed by weighted calculation, linear transformation, and nonlinear activation in sequence to obtain the question and answer sample matrix.
[0117] Step 702, input the question-answer sample matrix into the first normalization layer and the double-layer feed-forward layer to obtain a first output matrix, and input the question-answer sample matrix into the adapter layer to obtain a second output matrix.
[0118] Optionally, the question and answer sample matrix is input into the first normalization layer for normalization to obtain a normalized question and answer sample matrix, the normalized question and answer sample matrix is input into the double-layer feedforward layer to obtain a first output matrix, and the question and answer sample matrix is input into the adapter layer, and sequentially subjected to projection transformation and nonlinear processing to obtain a second output matrix.
[0119] Step 703: Concatenate the first output matrix and the second output matrix and input the concatenated matrix into a second normalization layer to obtain a feature matrix.
[0120] Optionally, the first output matrix and the second output matrix are concatenated and input into a second normalization layer for normalization processing to obtain a feature matrix.
[0121] In the embodiment of the present application, each operation and maintenance question and answer sample is input into the attention layer and the single-layer feedforward layer to obtain a question and answer sample matrix; the question and answer sample matrix is input into the first normalization layer and the double-layer feedforward layer to obtain a first output matrix, and the question and answer sample matrix is input into the adapter layer to obtain a second output matrix; the first output matrix and the second output matrix are spliced and input into the second normalization layer to obtain a feature matrix. Among them, the question and answer sample matrix is input into the adapter layer to obtain the second output matrix, which can reduce the number of parameters for model training and improve the efficiency of training.
[0122] In one embodiment, the internal structure of the adapter layer is shown in FIG8 . The adapter layer includes a first feedforward sublayer, a nonlinear layer, and a second feedforward sublayer connected in sequence. The question-answer sample matrix is input into the adapter layer to obtain a second output matrix. The process is shown in FIG9 , including:
[0123] Step 901, input the question and answer sample matrix into the first feed-forward sublayer to obtain a low-dimensional question and answer sample matrix of the question and answer sample matrix.
[0124] Optionally, the first feed-forward sublayer is used to project high-dimensional features of the question-answer sample matrix to low-dimensional features to obtain a low-dimensional question-answer sample matrix.
[0125] Step 902: input the low-dimensional question-answer sample matrix into a nonlinear layer to obtain a nonlinear question-answer sample matrix.
[0126] Optionally, a nonlinear layer is used to perform nonlinear processing on the low-dimensional question-answer sample matrix to obtain a nonlinear question-answer sample matrix.
[0127] Step 903: input the nonlinear question-answer sample matrix into the second feed-forward sublayer to obtain a high-dimensional question-answer sample matrix.
[0128] Optionally, the second feed-forward sublayer is used to restore the low-dimensional features of the nonlinear question and answer samples to high-dimensional features to obtain a high-dimensional question and answer sample matrix.
[0129] Step 904, obtaining a second output matrix according to the high-dimensional question-answer sample matrix and the question-answer sample matrix.
[0130] Optionally, the high-dimensional question-answer sample matrix and the question-answer sample matrix are concatenated to obtain a second output matrix.
[0131] In the embodiment of the present application, the question-answer sample matrix is input into the first feedforward sublayer to obtain a low-dimensional question-answer sample matrix of the question-answer sample matrix; the low-dimensional question-answer sample matrix is input into the nonlinear layer to obtain a nonlinear question-answer sample matrix; the nonlinear question-answer sample matrix is input into the second feedforward sublayer to obtain a high-dimensional question-answer sample matrix; and the second output matrix is obtained according to the high-dimensional question-answer sample matrix and the question-answer sample matrix. Among them, the adapter layer makes the initial parameters of the adapter layer close to 0 through the high-dimensional question-answer sample matrix and the question-answer sample matrix, and then makes the processing to the adapter layer close to the identity mapping, thereby ensuring the effectiveness of the training.
[0132] In one embodiment, the operation and maintenance large language model is determined according to each reference solution and the standard solution corresponding to each operation and maintenance question and answer sample. The process is shown in FIG10 and includes:
[0133] Step 1001, substitute each reference solution and the standard solution corresponding to each operation and maintenance question and answer sample into a preset loss function to determine the value of the preset loss function.
[0134] Among them, the preset loss function can be at least one loss function among the cross entropy loss function, the mean square error loss function, and the contrastive learning loss function.
[0135] Optionally, each reference solution and each standard solution corresponding to the operation and maintenance question and answer sample are substituted into the cross entropy loss function to obtain the value of the cross entropy loss function.
[0136] Optionally, each reference solution and each standard solution corresponding to the operation and maintenance question and answer sample are substituted into the mean square error loss function to obtain the value of the mean square error loss function.
[0137] Step 1002: When the value of the preset loss function is less than the preset threshold, it is determined that the training is completed and the operation and maintenance large language model is obtained.
[0138] In the embodiment of the present application, each reference solution and each standard solution corresponding to the operation and maintenance question and answer sample are substituted into the preset loss function to determine the value of the preset loss function; when the value of the preset loss function is less than the preset threshold, the training is determined to be completed and the operation and maintenance large language model is obtained. When the value of the preset loss function is less than the preset threshold, the prediction accuracy of the large language model obtained by training is high, that is, the accuracy of the operation and maintenance large language model is high.
[0139] In one embodiment, a version tag storage method is provided, the process is shown in FIG11 , and the method further includes:
[0140] Step 1101, obtain the version label of the trained operation and maintenance large language model.
[0141] Optionally, the version label of the operation and maintenance large language model is determined according to the version of the operation and maintenance large language model obtained through training. For example, before training, the version of the operation and maintenance large language model is V0. After training, the version of the operation and maintenance large language model obtained through training is defined as V1, and the version label is defined as a, and the version and the version label are in one-to-one correspondence.
[0142] Step 1102, storing the version tag of the operation and maintenance large language model to the latest position in a preset model version record queue; the model version record queue includes a plurality of model version tags of previous updates stored in chronological order.
[0143] The preset model version record queue may be an array or other types of data.
[0144] Optionally, assuming that the preset model version record queue is an array, the version label of the operation and maintenance large language model is stored in the latest position of the array. For example, the preset model version record queue is represented as an array version=[a,b], the version label of the operation and maintenance large language model is c, and c is stored in the latest position of the array version=[a,b]. After storage, the array version=[a,b,c].
[0145] In addition, a pointer may be defined so that the pointer points to the parameter corresponding to the version label, that is, the parameter corresponding to the version label is obtained through the pointer, and the parameter is used to adjust the parameters of the operation and maintenance large language model to adjust the version of the operation and maintenance large language model.
[0146] In the embodiment of the present application, the version label of the operation and maintenance large language model obtained by training is obtained; the version label of the operation and maintenance large language model is stored in the latest position of the preset model version record queue; the model version record queue includes multiple model version labels of successive updates stored in chronological order. By storing the version label, the version of the operation and maintenance large language model can be adjusted, which can effectively save storage space.
[0147] In one embodiment, a pre-optimized operation and maintenance large language model is used to reason about the operation and maintenance problem to be processed, and a solution to the operation and maintenance problem to be processed is obtained. The process is shown in FIG12 and includes:
[0148] Step 1201 , obtaining operation and maintenance problem document samples corresponding to multiple historical operation and maintenance problems according to multiple historical operation and maintenance problems corresponding to the business field of the target business.
[0149] Optionally, a script file is used to sort out multiple historical operation and maintenance problems to obtain operation and maintenance problem document samples corresponding to multiple historical operation and maintenance problems. The operation and maintenance problem document sample is shown in FIG13 , which includes a scenario name, a processing solution list, and a verification solution list for each historical operation and maintenance problem.
[0150] Step 1202: Based on each operation and maintenance problem document sample, obtain the problem text corresponding to the operation and maintenance problem to be processed.
[0151] Optionally, based on keywords in the operation and maintenance problem to be processed, a search is performed in each operation and maintenance problem document sample to obtain the problem text corresponding to the operation and maintenance problem to be processed.
[0152] Step 1203: input the problem text corresponding to the operation and maintenance problem to be processed into the operation and maintenance large language model for reasoning and calculation to obtain a solution to the operation and maintenance problem to be processed.
[0153] In the embodiment of the present application, based on multiple historical operation and maintenance problems corresponding to the business field of the target business, operation and maintenance problem document samples corresponding to multiple historical operation and maintenance problems are obtained; based on each operation and maintenance problem document sample, the problem text corresponding to the operation and maintenance problem to be processed is obtained; the problem text corresponding to the operation and maintenance problem to be processed is input into the operation and maintenance large language model for reasoning and calculation, and a solution to the operation and maintenance problem to be processed is obtained. Among them, inputting the problem text corresponding to the operation and maintenance problem to be processed into the operation and maintenance large language model for reasoning and calculation can improve the speed of the model in answering the operation and maintenance problem to be processed.
[0154] In one embodiment, based on each operation and maintenance problem document sample, the problem text corresponding to the operation and maintenance problem to be processed is obtained, and the process is shown in FIG14, including:
[0155] Step 1401: construct a document sample vector library based on each document sample.
[0156] Optionally, a text vectorization processing tool is used to perform vectorization processing on each document sample to obtain a document sample vector library.
[0157] Step 1402 , vectorize the operation and maintenance problem to be processed to obtain an operation and maintenance problem vector of the operation and maintenance problem to be processed.
[0158] Optionally, the operation and maintenance problem to be processed is vectorized using a text vectorization processing tool to obtain an operation and maintenance problem vector of the operation and maintenance problem to be processed.
[0159] Step 1403: Obtain the problem text corresponding to the operation and maintenance problem to be processed according to the document sample vector library and the operation and maintenance problem vector.
[0160] Optionally, a search is performed in a document sample vector library according to the operation and maintenance problem vector, and a document sample corresponding to the retrieved document sample vector is used as the problem text corresponding to the operation and maintenance problem to be processed.
[0161] In the embodiment of the present application, a document sample vector library is constructed based on each document sample; the operation and maintenance problem to be processed is vectorized to obtain the operation and maintenance problem vector of the operation and maintenance problem to be processed; and the question text corresponding to the operation and maintenance problem to be processed is obtained based on the document sample vector library and the operation and maintenance problem vector. Among them, the question text corresponding to the operation and maintenance problem to be processed is obtained based on the document sample vector library and the operation and maintenance problem vector, which can eliminate the ambiguous information of the operation and maintenance problem to be processed, so as to guide the operation and maintenance large language model to generate more accurate answers.
[0162] In one embodiment, the problem text corresponding to the operation and maintenance problem to be processed is obtained according to the document sample vector library and the operation and maintenance problem vector. The process is shown in FIG. 15 and includes:
[0163] Step 1501: According to the similarity between the operation and maintenance problem vector and each document sample vector in the document sample vector library, a plurality of document sample vectors whose similarity is greater than a preset similarity threshold are obtained.
[0164] Optionally, a vector retrieval tool is used to search in a document sample vector library to obtain multiple document sample vectors with high similarity to the operation and maintenance problem vector, and from the multiple document sample vectors, a preset number of document sample vectors with similarity greater than a preset similarity threshold are obtained.
[0165] Step 1502: input document samples corresponding to the plurality of document sample vectors and the operation and maintenance problems to be processed into a prompt word project to generate a problem text corresponding to the operation and maintenance problems to be processed.
[0166] In the embodiment of the present application, based on the similarity between the operation and maintenance problem vector and each document sample vector in the document sample vector library, multiple document sample vectors with similarities greater than a preset similarity threshold are obtained; the document samples corresponding to the multiple document sample vectors and the operation and maintenance problem to be processed are input into the prompt word project to generate the problem text corresponding to the operation and maintenance problem to be processed. Among them, the document samples corresponding to the multiple document sample vectors and the operation and maintenance problem to be processed are input into the prompt word project to generate the problem text corresponding to the operation and maintenance problem to be processed, and the problem text has a higher correlation with the operation and maintenance problem to be processed, and can eliminate query ambiguity, thereby guiding the operation and maintenance large language model to generate a more accurate solution.
[0167] In one embodiment, a version rollback method is provided, the process of which is shown in FIG16 , and the method includes:
[0168] Step 1601, detecting the performance quantization value of the operation and maintenance large language model.
[0169] Optionally, a performance detection tool is used to perform performance detection on the operation and maintenance large language model to obtain a performance quantification value of the operation and maintenance large language model.
[0170] Step 1602, when the performance quantization value is lower than the target performance quantization value, start the preset model version rollback mechanism to roll back the operation and maintenance large language model from the current version to the target version; the performance quantization value of the operation and maintenance large language model corresponding to the target version is greater than the target performance quantization value.
[0171] Optionally, assuming that the performance quantization value of the operation and maintenance large language model is A, the target performance quantization value is B, and A is less than B. In this case, the preset model version rollback mechanism is started to roll back the operation and maintenance large language model from the current version to the target version. The performance quantization value of the operation and maintenance large language model corresponding to the target version is C, and C is greater than B.
[0172] In the embodiment of the present application, the performance quantization value of the operation and maintenance large language model is detected; when the performance quantization value is lower than the target performance quantization value, the preset model version rollback mechanism is started to roll back the operation and maintenance large language model from the current version to the target version; the performance quantization value of the operation and maintenance large language model corresponding to the target version is greater than the target performance quantization value. Through the version rollback mechanism, the operation and maintenance large language model can be operated more stably, thereby ensuring the stable performance of the operation and maintenance large language model.
[0173] In an exemplary embodiment, a service operation and maintenance method is provided, and the process is shown in FIG17 , including:
[0174] Step 1701: Acquire multiple historical operation and maintenance issues corresponding to the business domain of the target business.
[0175] Step 1702, processing multiple historical operation and maintenance issues into corresponding operation and maintenance question and answer samples.
[0176] Step 1703, input each operation and maintenance question and answer sample into the attention layer and the single-layer feed-forward layer to obtain a question and answer sample matrix.
[0177] Step 1704, input the question-answer sample matrix into the first normalization layer and the double-layer feed-forward layer to obtain the first output matrix.
[0178] Step 1705, input the question and answer sample matrix into the first feed-forward sublayer to obtain a low-dimensional question and answer sample matrix of the question and answer sample matrix.
[0179] Step 1706, input the low-dimensional question-answer sample matrix into the nonlinear layer to obtain a nonlinear question-answer sample matrix.
[0180] Step 1707, input the nonlinear question-answer sample matrix into the second feed-forward sublayer to obtain a high-dimensional question-answer sample matrix.
[0181] Step 1708, obtain a second output matrix according to the high-dimensional question-answer sample matrix and the question-answer sample matrix.
[0182] Step 1709: concatenate the first output matrix and the second output matrix and input the concatenated matrix into a second normalization layer to obtain a feature matrix.
[0183] Step 1710, input the feature matrix into the initial fully connected layer module to obtain reference solutions for each operation and maintenance question and answer sample.
[0184] Step 1711, substitute each reference solution and the standard solution corresponding to each operation and maintenance question and answer sample into the preset loss function to determine the value of the preset loss function.
[0185] Step 1712: When the value of the preset loss function is less than the preset threshold, it is determined that the training is completed and the operation and maintenance large language model is obtained.
[0186] Step 1713, obtaining pending operation and maintenance issues of the target business.
[0187] Step 1714, obtaining operation and maintenance problem document samples corresponding to the multiple historical operation and maintenance problems according to the multiple historical operation and maintenance problems corresponding to the business field of the target business.
[0188] Step 1715: construct a document sample vector library based on each document sample.
[0189] Step 1716, vectorize the operation and maintenance problem to be processed to obtain an operation and maintenance problem vector of the operation and maintenance problem to be processed.
[0190] Step 1717: According to the similarity between the operation and maintenance problem vector and each document sample vector in the document sample vector library, a plurality of document sample vectors whose similarity is greater than a preset similarity threshold are obtained.
[0191] Step 1718: input document samples corresponding to the plurality of document sample vectors and the operation and maintenance problems to be processed into the prompt word project to generate the problem text corresponding to the operation and maintenance problems to be processed.
[0192] Step 1719, input the problem text corresponding to the operation and maintenance problem to be processed into the operation and maintenance large language model for reasoning and calculation, and obtain a solution to the operation and maintenance problem to be processed.
[0193] Step 1720: Perform operation and maintenance on the target business according to the solution to the operation and maintenance problem to be processed.
[0194] In this exemplary embodiment, since the pre-optimized operation and maintenance large language model can continuously learn from a large amount of training data on operation and maintenance problems to refine and summarize the processing rules for operation and maintenance problems, when the pre-optimized operation and maintenance large language model is used to reason about the operation and maintenance problems to be processed, the resulting solutions are more targeted. According to the solutions to the operation and maintenance problems to be processed, the target business is operated and maintained, and the operation and maintenance problems to be processed can be processed in a targeted manner, thereby improving the accuracy of handling the operation and maintenance problems of the business.
[0195] In an exemplary embodiment, the structure of the operation and maintenance big language model is shown in Figure 18. The operation and maintenance big language model is divided into five layers. The first layer is the storage layer, which stores manuals and processing scenarios related to operation and maintenance operations through a database; the second layer is the model layer, which is used to deploy an open source big language model. The current application areas of this big language model mainly include self-cognition, outline writing, copywriting, information extraction, text generation, dialogue, summary of written materials, etc.; the third layer is the service layer, which is used to optimize the deployed big language model. The optimization method can be fine-tuning, or building a knowledge graph for manuals and processing scenarios related to operation and maintenance operations; the fourth layer is the interaction layer, which is used for front-end page interaction; the fifth layer is the business application layer, which is used to apply the operation and maintenance big language model to various businesses, including emergency scenarios, changes, events, performance capacity, etc.
[0196] In an exemplary embodiment, the problem text corresponding to the operation and maintenance problem to be processed is input into the operation and maintenance large language model for reasoning and calculation to obtain a solution to the operation and maintenance problem to be processed. The schematic diagram of the process is shown in FIG19, including:
[0197] Step 1901, according to multiple historical operation and maintenance problems corresponding to the business field of the target business, obtain operation and maintenance problem document samples corresponding to multiple historical operation and maintenance problems.
[0198] Step 1902: construct a document sample vector library based on each document sample.
[0199] Step 1903: vectorize the operation and maintenance problem to be processed to obtain an operation and maintenance problem vector of the operation and maintenance problem to be processed.
[0200] Step 1904: According to the similarity between the operation and maintenance problem vector and each document sample vector in the document sample vector library, a plurality of document sample vectors whose similarity is greater than a preset similarity threshold are obtained.
[0201] Step 1905 , input document samples corresponding to the plurality of document sample vectors and the operation and maintenance problems to be processed into the prompt word project to generate the problem text corresponding to the operation and maintenance problems to be processed.
[0202] Step 1906: Input the problem text corresponding to the operation and maintenance problem to be processed into the operation and maintenance large language model for reasoning and calculation to obtain a solution to the operation and maintenance problem to be processed.
[0203] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0204] Based on the same inventive concept, the embodiment of the present application also provides a business operation and maintenance device for implementing the business operation and maintenance method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more business operation and maintenance device embodiments provided below can refer to the limitations on the business operation and maintenance method above, and will not be repeated here.
[0205] In an exemplary embodiment, as shown in FIG. 20 , a service operation and maintenance device 2000 is provided, including: a data acquisition module 2020, a solution acquisition module 2040 and an operation and maintenance module 2060, wherein:
[0206] The data acquisition module 2020 is used to obtain pending operation and maintenance issues of the target business;
[0207] A solution acquisition module 2040 is used to use a pre-optimized operation and maintenance large language model to reason about the operation and maintenance problem to be processed, and obtain a solution to the operation and maintenance problem to be processed;
[0208] The operation and maintenance module 2060 is used to operate and maintain the target business according to the solution of the operation and maintenance problem to be processed.
[0209] In one embodiment, the service operation and maintenance device 2000 further includes:
[0210] The model training module is used to obtain multiple historical operation and maintenance problems corresponding to the business field of the target business; process the multiple historical operation and maintenance problems into corresponding operation and maintenance problem question and answer samples; train the initial large language model according to the operation and maintenance problem question and answer samples to obtain the operation and maintenance large language model.
[0211] In one embodiment, the initial large language model includes an initial converter network module and an initial fully connected layer module, and the service operation and maintenance device 2000 further includes:
[0212] The first training unit is used to input each operation and maintenance question and answer sample into the initial converter network module to obtain the feature matrix of each operation and maintenance question and answer sample; input the feature matrix into the initial fully connected layer module to obtain the reference solution of each operation and maintenance question and answer sample; determine the operation and maintenance large language model according to each reference solution and the standard solution corresponding to each operation and maintenance question and answer sample.
[0213] In one embodiment, the initial converter network module includes an attention layer, a single-layer feedforward layer, a first normalization layer, a double-layer feedforward layer, and a second normalization layer connected in series, and an adapter layer having one end connected to an output end of the single-layer feedforward layer and the other end connected to an output end of the double-layer feedforward layer; the business operation and maintenance device 2000 also includes:
[0214] The second training unit is used to input the question and answer samples of each operation and maintenance question into the attention layer and the single-layer feedforward layer to obtain the question and answer sample matrix; input the question and answer sample matrix into the first normalization layer and the double-layer feedforward layer to obtain the first output matrix, and input the question and answer sample matrix into the adapter layer to obtain the second output matrix; the first output matrix and the second output matrix are concatenated and input into the second normalization layer to obtain the feature matrix.
[0215] In one embodiment, the adapter layer includes a first feedforward sublayer, a nonlinear layer, and a second feedforward sublayer connected in sequence, and the service operation and maintenance device 2000 also includes:
[0216] The third training unit is used to input the question and answer sample matrix into the first feedforward sublayer to obtain a low-dimensional question and answer sample matrix of the question and answer sample matrix; input the low-dimensional question and answer sample matrix into the nonlinear layer to obtain a nonlinear question and answer sample matrix; input the nonlinear question and answer sample matrix into the second feedforward sublayer to obtain a high-dimensional question and answer sample matrix; and obtain a second output matrix based on the high-dimensional question and answer sample matrix and the question and answer sample matrix.
[0217] In one embodiment, the service operation and maintenance device 2000 further includes:
[0218] The fourth training unit is used to substitute each reference solution and the standard solution corresponding to each operation and maintenance question and answer sample into a preset loss function to determine the value of the preset loss function; when the value of the preset loss function is less than a preset threshold, the training is determined to be completed and the operation and maintenance large language model is obtained.
[0219] In one embodiment, the service operation and maintenance device 2000 further includes:
[0220] A storage module is used to obtain the version label of the trained operation and maintenance large language model; store the version label of the operation and maintenance large language model to the latest position in a preset model version record queue; the model version record queue includes multiple model version labels of previous updates stored in chronological order.
[0221] In one embodiment, the solution acquisition module 2040 is also used to obtain operation and maintenance problem document samples corresponding to multiple historical operation and maintenance problems corresponding to the business field of the target business; based on each operation and maintenance problem document sample, obtain the problem text corresponding to the operation and maintenance problem to be processed; input the problem text corresponding to the operation and maintenance problem to be processed into the operation and maintenance large language model for reasoning and calculation, and obtain the solution to the operation and maintenance problem to be processed.
[0222] In one embodiment, the solution acquisition module 2040 further includes:
[0223] The first acquisition unit is used to construct a document sample vector library according to each document sample; vectorize the operation and maintenance problem to be processed to obtain the operation and maintenance problem vector of the operation and maintenance problem to be processed; and obtain the problem text corresponding to the operation and maintenance problem to be processed according to the document sample vector library and the operation and maintenance problem vector.
[0224] In one embodiment, the solution acquisition module 2040 further includes:
[0225] The second acquisition unit is used to obtain multiple document sample vectors whose similarity is greater than a preset similarity threshold based on the similarity between the operation and maintenance problem vector and each document sample vector in the document sample vector library; input the document samples and the operation and maintenance problems to be processed corresponding to the multiple document sample vectors into the prompt word project to generate the problem text corresponding to the operation and maintenance problems to be processed.
[0226] In one embodiment, the service operation and maintenance device 2000 further includes:
[0227] The version management module is used to detect the performance quantization value of the operation and maintenance large language model; when the performance quantization value is lower than the target performance quantization value, the preset model version rollback mechanism is started to roll back the operation and maintenance large language model from the current version to the target version; the performance quantization value of the operation and maintenance large language model corresponding to the target version is greater than the target performance quantization value.
[0228] Each module in the above-mentioned business operation and maintenance device can be implemented in whole or in part by software, hardware and their combination. Each of 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 in the computer device in the form of software, so that the processor can call and execute the operations corresponding to each of the above modules.
[0229] In an exemplary embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be shown in FIG21. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. 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 input / output interface of the computer device is used to exchange information between the processor and an external device. The communication 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 operation and maintenance method is implemented.
[0230] In an exemplary embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be shown in FIG22. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. 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 and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner may be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a business operation and maintenance method is implemented. The display unit of the computer device is used to form a visually visible picture, which may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0231] Those skilled in the art will understand that the structures shown in Figures 21 and 22 are merely block diagrams of partial structures related to the scheme of the present application, and do not constitute a limitation on the computer device to which the scheme of the present application is applied. The specific computer device may include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
[0232] In an exemplary 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:
[0233] Obtain pending operation and maintenance issues of the target business;
[0234] Use the pre-optimized operation and maintenance language model to reason about the operation and maintenance problems to be processed and obtain solutions to the operation and maintenance problems to be processed;
[0235] Operate and maintain the target business based on the solutions to the pending operation and maintenance issues.
[0236] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0237] 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:
[0238] Obtain pending operation and maintenance issues of the target business;
[0239] Use the pre-optimized operation and maintenance language model to reason about the operation and maintenance problems to be processed and obtain solutions to the operation and maintenance problems to be processed;
[0240] Operate and maintain the target business based on the solutions to the pending operation and maintenance issues.
[0241] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0242] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0243] Obtain pending operation and maintenance issues of the target business;
[0244] Use the pre-optimized operation and maintenance language model to reason about the operation and maintenance problems to be processed and obtain solutions to the operation and maintenance problems to be processed;
[0245] Operate and maintain the target business based on the solutions to the pending operation and maintenance issues.
[0246] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0247] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments 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 the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. 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). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0248] The technical features of the above embodiments may be combined arbitrarily. 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 application.
[0249] The above 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 present application. 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 present application shall be subject to the attached claims.
Claims
1. A business operation and maintenance method, characterized in that: The method comprises: Obtain pending operation and maintenance issues of the target business; Using a pre-optimized operation and maintenance large language model to reason about the operation and maintenance problem to be processed, and obtaining a solution to the operation and maintenance problem to be processed; The target business is operated and maintained according to the solution to the pending operation and maintenance problem.
2. The method according to claim 1, characterized in that The method further comprises: Acquire multiple historical operation and maintenance issues corresponding to the business field of the target business; Processing the multiple historical operation and maintenance issues into corresponding operation and maintenance question and answer samples; The initial large language model is trained according to the operation and maintenance question and answer samples to obtain the operation and maintenance large language model.
3. The method according to claim 2, characterized in that The initial large language model includes an initial converter network module and an initial fully connected layer module. The initial large language model is trained according to each of the operation and maintenance question and answer samples to obtain the operation and maintenance large language model, including: Inputting each of the operation and maintenance question and answer samples into the initial converter network module to obtain a feature matrix of each of the operation and maintenance question and answer samples; Inputting the feature matrix into the initial fully connected layer module to obtain reference solutions for each of the operation and maintenance question and answer samples; The operation and maintenance large language model is determined according to the reference solutions and the standard solutions corresponding to the operation and maintenance question and answer samples.
4. The method according to claim 3, characterized in that The initial converter network module includes an attention layer, a single-layer feedforward layer, a first normalization layer, a double-layer feedforward layer, and a second normalization layer connected in series, and an adapter layer having one end connected to an output end of the single-layer feedforward layer and the other end connected to an output end of the double-layer feedforward layer; The step of inputting each of the operation and maintenance question and answer samples into the initial network module to obtain a feature matrix of each of the operation and maintenance question and answer samples includes: Input each of the operation and maintenance question and answer samples into the attention layer and the single-layer feed-forward layer to obtain a question and answer sample matrix; Inputting the question-answer sample matrix into the first normalization layer and the double-layer feed-forward layer to obtain a first output matrix, and inputting the question-answer sample matrix into the adapter layer to obtain a second output matrix; The first output matrix and the second output matrix are concatenated and input into the second normalization layer to obtain a feature matrix.
5. The method according to claim 4, characterized in that The adapter layer includes a first feedforward sublayer, a nonlinear layer, and a second feedforward sublayer connected in sequence, and the question-answer sample matrix is input into the adapter layer to obtain a second output matrix, including: Inputting the question-answer sample matrix into the first feed-forward sublayer to obtain a low-dimensional question-answer sample matrix of the question-answer sample matrix; The low-dimensional question-answer sample matrix is input into the nonlinear layer to obtain a nonlinear question-answer sample matrix. Array; Inputting the nonlinear question-answer sample matrix into the second feed-forward sublayer to obtain a high-dimensional question-answer sample matrix; The second output matrix is obtained according to the high-dimensional question-answer sample matrix and the question-answer sample matrix.
6. The method according to any one of claims 3 to 5, characterized in that: Determining the operation and maintenance large language model according to the reference solutions and the standard solutions corresponding to the operation and maintenance question and answer samples includes: Substituting each of the reference solutions and the standard solutions corresponding to each of the operation and maintenance question and answer samples into a preset loss function, and determining the value of the preset loss function; When the value of the preset loss function is less than a preset threshold, it is determined that the training is completed and the operation and maintenance large language model is obtained.
7. The method according to any one of claims 2 to 5, characterized in that: The method further comprises: Obtaining a version label of the operation and maintenance large language model obtained through training; The version label of the operation and maintenance large language model is stored in the latest position in a preset model version record queue; the model version record queue includes a plurality of model version labels of successive updates stored in chronological order.
8. The method according to any one of claims 1 to 5, characterized in that: The using of the pre-optimized operation and maintenance large language model to reason about the operation and maintenance problem to be processed to obtain a solution to the operation and maintenance problem to be processed includes: According to a plurality of historical operation and maintenance problems corresponding to the business field of the target business, obtaining operation and maintenance problem document samples corresponding to the plurality of historical operation and maintenance problems; Based on each of the operation and maintenance problem document samples, obtaining the problem text corresponding to the operation and maintenance problem to be processed; The problem text corresponding to the operation and maintenance problem to be processed is input into the operation and maintenance large language model for reasoning and calculation to obtain a solution to the operation and maintenance problem to be processed.
9. The method according to claim 8, characterized in that The obtaining, based on each of the operation and maintenance problem document samples, a problem text corresponding to the operation and maintenance problem to be processed comprises: According to each of the document samples, a document sample vector library is constructed; Vectorizing the operation and maintenance problem to be processed to obtain an operation and maintenance problem vector of the operation and maintenance problem to be processed; According to the document sample vector library and the operation and maintenance problem vector, a problem text corresponding to the operation and maintenance problem to be processed is obtained.
10. The method according to claim 9, characterized in that The obtaining, according to the document sample vector library and the operation and maintenance problem vector, a problem text corresponding to the operation and maintenance problem to be processed includes: According to the similarity between the operation and maintenance problem vector and each document sample vector in the document sample vector library, a plurality of document sample vectors whose similarity is greater than a preset similarity threshold are obtained; The document samples corresponding to the multiple document sample vectors and the operation and maintenance problem to be processed are input into a prompt word project to generate a problem text corresponding to the operation and maintenance problem to be processed.
11. The method according to any one of claims 1 to 5, characterized in that: The method further comprises: Detecting the performance quantization value of the operation and maintenance large language model; When the performance quantization value is lower than the target performance quantization value, the preset model version rollback mechanism is started to roll back the operation and maintenance large language model from the current version to the target version; the performance quantization value of the operation and maintenance large language model corresponding to the target version is greater than the target performance quantization value.
12. A business operation and maintenance device, characterized in that: The device comprises: Data acquisition module, used to obtain pending operation and maintenance issues of the target business; A solution acquisition module is used to use a pre-optimized operation and maintenance large language model to reason about the operation and maintenance problem to be processed, and obtain a solution to the operation and maintenance problem to be processed; An operation and maintenance module is used to operate and maintain the target business according to the solution to the operation and maintenance problem to be processed.
13. 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 11 are implemented.
14. 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 11 are implemented.
15. A computer program product comprising a computer program, 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 11 are implemented.
Citation Information
Cited By
Network operation and maintenance scheme generation method and device
WO2026051358A1
