Method, apparatus, device, and storage medium for updating operation logic library
The first operation data is generated through operation and maintenance log processing, the similarity is determined and alternative rule data is generated, and the operation logic library is automatically updated in combination with the client feedback information, which solves the problem of incomplete coverage in the existing technology, and achieves timely updates and accurate business problems.
Patent Information
- Application Number
- CN202310737604.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-21
- Publication Date
- 2025-07-18
- Estimated Expiration
- 2043-06-21
AI Technical Summary
In the prior art, the operation logic library relies on manual entry and update, and there are problems such as incomplete coverage and timely updates.
The first operation data is generated by preprocessing based on the operation and maintenance log, and the target rule data similarity in the initial operation logic library is determined, and the similarity and operation time-consuming data are placed into the alternative operation logic library, the alternative rule data is generated, and the availability rate is calculated based on the client object feedback information, and the initial operation logic library is automatically updated.
It achieves comprehensive coverage of business problems, saves problem solving time, timely updates operation logic libraries, and improves the accuracy of solutions.
Smart Images

Figure CN116701423B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of computer technology and fintech, and in particular to a method, apparatus, device, medium, and program product for updating an operation logic library. Background Art
[0002] When performing various business processes, the business problems that occur are also diverse. When a business process encounters a problem, it is usually solved manually or by obtaining a solution through a static operation logic library. The operation logic library can store solutions to business problems that have occurred in the past.
[0003] In the process of implementing the concept of the present disclosure, the inventors found that there are at least the following problems in the related art: In the related art, the operation logic library usually relies on manual input and update, and there are problems such as incomplete coverage of business problems and untimely update in the operation logic library. Summary of the Invention
[0004] In view of the above problems, the present disclosure provides a method, apparatus, device, medium, and program product for updating an operation logic library.
[0005] According to a first aspect of the present disclosure, there is provided a method for updating an operation logic library, including: preprocessing the operation and maintenance log based on the business information included in the operation and maintenance log to obtain first operation data corresponding to the business information, where the first operation data includes a first operation set and a first operation duration; determining the similarity between the target rule data included in the initial operation logic library and the first operation data based on the first operation set; putting the first operation data into an alternative operation logic library based on the similarity and the first operation duration to generate alternative rule data; respectively obtaining a first availability rate of the target rule data and a second availability rate of the alternative rule data based on object feedback information, where the object feedback information represents the selection results of a target number of client objects for the target rule data and the alternative rule data; and updating the initial operation logic library based on the first availability rate and the second availability rate.
[0006] According to an embodiment of the present disclosure, the determining the similarity between the target rule data included in the initial operation logic library and the first operation data based on the first operation set includes: matching the first operation data with a plurality of initial rule data included in the initial operation logic library respectively based on the first operation set to obtain a plurality of matching degrees; determining the target rule data from the plurality of initial rule data based on the plurality of matching degrees; and obtaining the similarity between the first operation data and the target rule data based on the cosine similarity algorithm.
[0007] According to an embodiment of the present disclosure, based on the above first operation set, the above first operation data is respectively matched with a plurality of initial rule data included in the initial operation logic library to obtain a plurality of matching degrees, including: for each initial rule data in the above plurality of initial rule data, determining a second operation set of each initial rule data; based on the operation order of a plurality of first sub-operations included in the above first operation set, matching the above plurality of first sub-operations with a plurality of second sub-operations included in the above second operation set to obtain a matching degree; based on the matching degree between each initial rule data and the above first operation data, obtaining a plurality of matching degrees.
[0008] According to an embodiment of the present disclosure, the above preprocessing of the operation and maintenance log based on the service information included in the operation and maintenance log to obtain first operation data corresponding to the service information includes: based on the service information included in the operation and maintenance log, determining a plurality of operation records corresponding to the service information, wherein at least one service information is included in the operation and maintenance log; storing the plurality of operation records based on a non-relational database model to obtain the above first operation set, wherein the above first operation set includes keys and values of a plurality of first sub-operations; based on the plurality of operation records, determining the first operation duration of the service information and the first processing result of the service information; based on the above first operation set, the above first operation duration, and the above first processing result, obtaining the above first operation data.
[0009] According to an embodiment of the present disclosure, the above putting the first operation data into the alternative operation logic library based on the above similarity and the above first operation duration to generate alternative rule data includes: determining a comparison result between the above similarity and a similarity threshold; based on the comparison result, comparing the first operation duration of the above first operation data with the second operation duration of the above target rule data to obtain the above discrimination result; in the case where the discrimination result indicates compliance with a predetermined rule, putting the above first operation data into the alternative operation logic library to generate alternative rule data.
[0010] According to an embodiment of the present disclosure, the above updating of the operation logic library based on the first availability rate and the second availability rate includes: in the case where the second availability rate reaches a first threshold, using the above alternative rule data to replace the above target rule data in the initial operation logic library; in the case where the second availability rate reaches a second threshold, directly putting the above alternative rule data into the initial operation logic library; in the case where the first availability rate is lower than a third threshold, deleting the above target rule data in the initial operation logic library.
[0011] According to an embodiment of the present disclosure, based on the above operation and maintenance log, when it is determined that among multiple operation records corresponding to the above service information, there are records triggering a first response, determine the selection result of the above client object for the above target rule data and the above alternative rule data, where the above first response includes error information on the page; based on the above target number of the above selection results, determine the above object feedback information.
[0012] According to an embodiment of the present disclosure, the above alternative rule data and the above target rule data are used to, when a client service process triggers the above first response, based on the above alternative rule data or the above target rule data selected by the above client object, jump to a target sub-operation node, so as to continue the above service process at the above target sub-operation node, where the above target sub-operation node includes the sub-operation node closest to the sub-operation node triggering the above first response.
[0013] According to an embodiment of the present disclosure, based on the above operation and maintenance log, when it is determined that the operation records corresponding to the above service information do not contain records triggering the above first response, generate first operation data corresponding to the above service information; put the above first operation data into the above initial operation logic library.
[0014] According to an embodiment of the present disclosure, the above obtaining the first availability rate of the above target rule data and the second availability rate of the above alternative rule data respectively based on the object feedback information includes: based on the above object feedback information, determine the first selection number of the above target number of the above client objects selecting the above target rule data and the second selection number of selecting the above alternative rule data; based on the above first selection number and the first selection processing result included in the above operation and maintenance log, determine the first availability rate of the above target rule data, where the above first selection processing result represents the service processing result obtained after selecting the above target rule data for service repair; based on the above second selection number and the second selection processing result included in the above operation and maintenance log, determine the second availability rate of the above alternative rule data, where the above second selection processing result represents the service processing result obtained after selecting the above alternative rule data for service repair.
[0015] The second aspect of the present disclosure provides an operation logic library update device, including: an operation and maintenance log processing module, configured to preprocess the operation and maintenance log based on the service information included in the operation and maintenance log to obtain first operation data corresponding to the service information, where the first operation data includes a first operation set and a first operation duration; a similarity determination module, configured to determine the similarity between the target rule data included in the initial operation logic library and the first operation data based on the first operation set; an alternative rule data generation module, configured to put the first operation data into an alternative operation logic library and generate alternative rule data based on the similarity and the first operation duration; an availability calculation module, configured to respectively obtain a first availability of the target rule data and a second availability of the alternative rule data based on object feedback information, where the object feedback information represents the selection results of a target number of client objects for the target rule data and the alternative rule data; an initial operation logic library update module, configured to update the initial operation logic library based on the first availability and the second availability.
[0016] The third aspect of the present disclosure provides an electronic device, including: one or more processors; a memory, configured to store one or more programs, where when the one or more programs are executed by the one or more processors, the one or more processors are caused to execute the above method.
[0017] The fourth aspect of the present disclosure further provides a computer-readable storage medium, on which executable instructions are stored, and when the instructions are executed by a processor, the processor is caused to execute the above method.
[0018] The fifth aspect of the present disclosure further provides a computer program product, including a computer program, and when the computer program is executed by a processor, the above method is implemented.
[0019] According to the operation logic library update method provided by the present disclosure, each first operation data corresponding to each business processing process is obtained through the business information included in the operation and maintenance logs, and the similarity between the target rule data included in the initial operation logic library and the first operation data is determined by using the first operation set included in the first operation data. Based on the similarity and the first operation time consumption, alternative rule data can be generated. According to the selection results of the target rule data and the alternative rule data by the client object, the first availability rate of the target rule data and the second availability rate of the alternative rule data are obtained. Finally, the initial operation logic library is updated based on the first availability rate and the second availability rate. Since the first operation data corresponding to the business processing process is obtained by processing the operation and maintenance logs, the comprehensive extraction of business operations is realized. Therefore, at least partially, the problem of incomplete coverage of business problems existing in the operation logic library in the related art is solved, the comprehensive coverage of business problems is realized, and the problem-solving time is saved. Also, since the similarity between the first operation data and the target rule data is determined based on the first operation set included in the first operation data, when the similarity and the first operation time consumption meet the conditions, the first operation data is put into the alternative logic library, and then the alternative rule data is obtained. Also, based on the object feedback information, the first availability rate of the alternative rule data and the second availability rate of the target rule data are obtained. Finally, the automatic update of the initial operation logic library is realized based on the first availability rate and the second availability rate. Therefore, at least partially, the problem of untimely update existing in the operation logic library in the related art is solved, the timely and convenient update of the operation logic library is realized, and at the same time, the rule data for solving the same problem is continuously iterated, improving the accuracy of the solution. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Through the following description of the embodiments of the present disclosure with reference to the drawings, the above content and other objects, features, and advantages of the present disclosure will become clearer. In the drawings:
[0021] Figure 1 Schematically shows an application scenario diagram of an operation logic library update method, device, equipment, medium, and program product according to an embodiment of the present disclosure;
[0022] Figure 2 Schematically shows a flowchart of an operation logic library update method according to an embodiment of the present disclosure;
[0023] Figure 3 Schematically shows a flowchart of determining the first operation data according to an embodiment of the present disclosure;
[0024] Figure 4 Schematically shows a flowchart of determining the similarity between the target rule data and the first operation data according to an embodiment of the present disclosure;
[0025] Figure 5Schematically shows a schematic diagram of updating an operation logic library according to an embodiment of the present disclosure;
[0026] Figure 6 Schematically shows another schematic diagram of updating an operation logic library according to an embodiment of the present disclosure;
[0027] Figure 7 Schematically shows a structural block diagram of an operation logic library update device according to an embodiment of the present disclosure; and
[0028] Figure 8 Schematically shows a block diagram of an electronic device suitable for implementing an operation logic library update method according to an embodiment of the present disclosure. Detailed implementation manners
[0029] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are merely exemplary and are not intended to limit the scope of the present disclosure. In the following detailed description, for the sake of explanation, many specific details are set forth to provide a thorough understanding of the embodiments of the present disclosure. However, it is obvious that one or more embodiments can also be implemented without these specific details. In addition, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessarily obscuring the concepts of the present disclosure.
[0030] The terms used herein are merely for describing specific embodiments and are not intended to limit the present disclosure. The terms "including", "comprising" and the like used herein indicate the presence of the described features, steps, operations and / or components, but do not exclude the presence or addition of one or more other features, steps, operations or components.
[0031] All terms used herein (including technical and scientific terms) have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0032] In the case of using expressions such as "at least one of A, B, and C", generally, it should be interpreted according to the meaning commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include, but is not limited to, a system having only A, having only B, having only C, having A and B, having A and C, having B and C, and / or having A, B, and C).
[0033] In the technical solution of the present disclosure, the processing of the data involved (such as including but not limited to user personal information) in terms of collection, storage, use, processing, transmission, provision, disclosure, and application, etc., all comply with the provisions of relevant laws and regulations, take necessary confidentiality measures, and do not violate public order and good customs.
[0034] In the research process, it is found that various problems usually occur during business processing. Different business processing processes may have different problems, and the same business processing process may also have different problems. Different problems may have different solutions, but the users performing business operations may not necessarily be able to solve them. Usually, they may need to seek help from other personnel or rely on the operation logic library to solve the problem.
[0035] For example: In the business processes related to corporate credit, various problems often occur. The common solution is to enter the next process smoothly through business work orders or technical inquiries. Or there is a static operation logic library, but since the content of the existing operation logic depends entirely on manual input, it takes a great deal of effort to summarize and refine the knowledge of the problems encountered, and it can only cover a small part of business behaviors; it cannot achieve the iterative update of the operation logic library, and usually requires users to search and other methods to obtain the operation logic library, and cannot achieve the automatic matching of operation rules.
[0036] In view of this, the embodiments of the present disclosure provide a method for updating an operation logic library. The operation and maintenance log is preprocessed based on the business information included in the operation and maintenance log to obtain first operation data corresponding to the business information, where the first operation data includes a first operation set and a first operation time consumption; based on the first operation set, the similarity between the target rule data included in the initial operation logic library and the first operation data is determined; based on the similarity and the first operation time consumption, the first operation data is put into the alternative operation logic library to generate alternative rule data; based on the object feedback information, the first availability rate of the target rule data and the second availability rate of the alternative rule data are obtained respectively, where the object feedback information represents the selection results of the target number of client objects for the target rule data and the alternative rule data; based on the first availability rate and the second availability rate, the initial operation logic library is updated.
[0037] Figure 1 Schematically shows an application scenario diagram of an operation logic library update method, device, device, medium and program product according to an embodiment of the present disclosure.
[0038] As Figure 1 shown, the application scenario 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 is used to provide a medium for a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, etc.
[0039] A user can interact with a server 105 via a network 104 using at least one of a first terminal device 101, a second terminal device 102, and a third terminal device 103 to receive or send messages, etc. Various communication client applications can be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (for example only).
[0040] The first terminal device 101, the second terminal device 102, and the third terminal device 103 can be various electronic devices with a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and so on.
[0041] The server 105 can be a server providing various services, such as a background management server (for example only) that supports websites browsed by users using the first terminal device 101, the second terminal device 102, and the third terminal device 103. The background management server can analyze and process data such as received user requests, and feedback the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.
[0042] It should be noted that the operation logic library update method provided by the embodiments of the present disclosure can generally be executed by the server 105. Correspondingly, the operation logic library update device provided by the embodiments of the present disclosure can generally be set in the server 105. The operation logic library update method provided by the embodiments of the present disclosure can also be executed by a server or a server cluster different from the server 105 and capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and / or the server 105. Correspondingly, the operation logic library update device provided by the embodiments of the present disclosure can also be set in a server or a server cluster different from the server 105 and capable of communicating with the first terminal device 101, the second terminal device 102, the third terminal device 103, and / or the server 105.
[0043] It should be understood that Figure 1 the numbers of the terminal devices, networks, and servers in
[0044] are merely illustrative. According to the implementation requirements, there can be any number of terminal devices, networks, and servers.
[0044] Based on the Figure 1 scenario described below, the operation logic library update method of the public embodiments will be described in detail through Figures 2 to 6 the following.
[0045] Figure 2 A flowchart of the operation logic library update method according to an embodiment of the present disclosure is schematically shown.
[0046] As shown Figure 2 in the figure, the operation logic library update of this embodiment includes operations S201 to S205.
[0047] In operation S201, the operation and maintenance log is preprocessed based on the service information included in the operation and maintenance log to obtain first operation data corresponding to the service information, where the first operation data includes a first operation set and a first operation duration.
[0048] According to an embodiment of the present disclosure, by using the service information corresponding to different service processes included in the operation and maintenance log, first operation data corresponding to the service information can be obtained. Wherein, one service process may correspond to one service information, that is, one service information can determine a corresponding first operation data.
[0049] According to an embodiment of the present disclosure, the quantity of the first operation data can be determined by the service information included in the operation and maintenance log within the obtained target time period or the incremental time period. For example: if there are 3 different service information in the operation and maintenance log within the target time period, the first operation data may include 3.
[0050] According to an embodiment of the present disclosure, processing the operation and maintenance log may include formatting the operation and maintenance log, and storing multiple pieces of information corresponding to the service information to obtain the first operation data. The multiple pieces of information corresponding to the service information may include, for example: a first operation set that stores multiple sub-operations included in a service process in sequence in the form of key-value pairs, a first processing result that extracts the final service processing result included in the operation and maintenance log, error information processing, a first operation duration representing the overall service processing duration, and other information. Among them, the error information processing may include the location where the error occurs, the reason for the error, etc., and the first processing result includes a success or failure flag.
[0051] According to an embodiment of the present disclosure, processing the operation and maintenance log may also include filtering invalid logs, achieving fast filtering of useless information, avoiding waste of computing resources, and accelerating the processing efficiency of the operation and maintenance log. Filtering invalid logs may include, for example: filtering heartbeat packets, exception information, and other features without operation behaviors. Among them, the heartbeat packet may include a HyperText Transfer Protocol (HTTP) probe packet, and the exception information may include FullGC, where FullGC refers to garbage collection for the entire memory space of the young generation, old generation, and permanent generation.
[0052] According to an embodiment of the present disclosure, processing the operation and maintenance logs may further include deduplicating the log records. For the same business processing process performed by the same client user, the log of the last operation may be taken, so as to avoid repeatedly analyzing a business operation behavior and save computing resources.
[0053] According to an embodiment of the present disclosure, obtaining the first operation data by processing the operation and maintenance logs can automate the extraction of the operation behaviors of each business process through formatting, filtering, deduplication, etc. of the operation and maintenance logs, improving the comprehensiveness of the extraction of business operation behaviors. And through the formatting of the operation and maintenance logs, multiple sub-operation behaviors and processing results of a business process can be displayed more clearly and intuitively, reducing the storage capacity and accelerating the computing rate.
[0054] In operation S202, based on the first operation set, determine the similarity between the target rule data included in the initial operation logic library and the first operation data.
[0055] According to an embodiment of the present disclosure, the initial operation logic library includes multiple initial rule data. Each initial rule data may include business operation-related information such as a second operation set, a second processing result, and an expected operation duration. Among them, the business operation-related information includes the relevant information of the business process corresponding to the initial rule data. The second operation set includes the keys and values of multiple sub-operations of the business process corresponding to the initial rule data. The key may be the sub-operation number, and the value may be the operation result of the sub-operation. The sub-operations in the second operation set may be stored in the order of the operation sequence of the sub-operations.
[0056] According to an embodiment of the present disclosure, by comparing the sub-operations included in the first operation set and the second operation set, multiple matching degrees between multiple initial rule data and the first operation data can be obtained. Based on the multiple matching degrees, the target rule data is determined, and thus the similarity between the target rule data and the first operation data is calculated. Among them, the number of target rule data is not limited, and different target rule numbers can be set according to specific situations.
[0057] According to an embodiment of the present disclosure, by comparing the sub-operations included in the first operation set and the second operation set, multiple matching degrees between multiple initial rule data and the first operation data can be obtained. Based on the multiple matching degrees, the target rule data is determined, and thus the similarity between the target rule data and the first operation data is calculated. The similarity degree between the target rule data and the first operation data can be determined, and then a new business processing method similar to the initial rule data included in the initial operation logic library can be obtained. Thus, different processing methods or better processing methods of the same business process can be determined. Furthermore, better rule data can be found through continuous identification processes, and business problems can be better solved.
[0058] In operation S203, based on the similarity and the first operation time consumption, the first operation data is placed into the alternative operation logic library to generate alternative rule data.
[0059] According to an embodiment of the present disclosure, the alternative operation logic library is used to store alternative rule data corresponding to the initial rule data included in the initial operation logic library. Among them, the alternative rule data may be due to the initial rule data or may be similar in effect to the initial rule data. The business problem can be solved by either the initial rule data or the alternative rule data.
[0060] According to an embodiment of the present disclosure, both the initial operation logic library and the alternative operation logic library are operation logic libraries. The operation logic library stores the correct operation rule data for different services during service processing. The operation rule data stores the entire operation logic of service processing, including the operation set of sub-operations stored in the order of service processing and data such as operation results. When a user performs service processing, the user can find the operation rule data that best matches the current service processing by querying in the operation logic library or by the system's automatic matching of the user's service processing operation logic. The user can perform service processing according to the operation rule data, or can use the operation rule data to jump to the correct operation node through operations such as clicking when an error occurs, so as to achieve uninterrupted service processing.
[0061] According to an embodiment of the present disclosure, the similarity can be used to determine whether the first operation data is similar to the target rule data. In the case where the first operation data is similar to the target rule data, the relationship between the first operation time consumption and the second operation time consumption can be determined. In the case where it is determined that the first operation time consumption is less than the second operation time consumption, the first operation data can be placed into the alternative logic library, and then the first operation data is changed into alternative rule data, thereby realizing the identification of the possible optimal solution in the same service processing. When a business problem corresponding to the alternative rule data appears, the target rule data and the alternative rule data can be pushed to the client user at the same time. The client user can solve the problem based on two or more solutions included in the target rule data and the alternative rule data, thereby increasing the probability and accuracy of problem solving.
[0062] In operation S204, based on the object feedback information, the first availability rate of the target rule data and the second availability rate of the alternative rule data are obtained respectively, where the object feedback information represents the selection results of a target number of client objects for the target rule data and the alternative rule data.
[0063] According to an embodiment of the present disclosure, the object feedback information can be obtained based on the selection results of the client object for the target rule data and the alternative rule data with respect to the target data, where the client object can be a client user. For example, in the application scenario of a bank, the client object can be a customer manager who processes business, etc.
[0064] According to an embodiment of the present disclosure, the selection quantity of the client object for the target rule data or the alternative rule data can be determined through the object feedback information. Based on the operation and maintenance log, the final result obtained from the business processing after the business repair of the target rule data or the alternative rule data and the selection quantity of the target rule data or the alternative rule data can be used to obtain the availability rate of the target rule data or the alternative rule data. For example: through the object feedback information, it is known that among 100 target objects, 40 people choose to use the target rule data to solve business problems, and 60 people choose the alternative rule data to solve technical problems. At the same time, it is determined that after the business repair based on the target rule data, the number of successful business processing results obtained by continuing the business processing operation is 36 people. After the business repair based on the alternative rule data, the number of successful business processing results obtained by continuing the business processing operation is 50 people. Then it can be considered that the availability rate of the target rule data is 36%, and the availability rate of the alternative rule data is 50%.
[0065] According to an embodiment of the present disclosure, the quantity of the target rule data or the alternative rule data selected can be learned through the feedback of the client object. According to the business processing result obtained after this selection and use, the quantity of successful business processing using this rule data can be determined, and thus the availability rate of the rule data can be determined.
[0066] In operation S205, the initial operation logic library is updated based on the first availability rate and the second availability rate.
[0067] According to an embodiment of the present disclosure, through the first availability rate of the target rule data and the second availability rate of the alternative rule data, the update method of the initial operation logic library can be obtained. For example, the update of the initial operation logic library can be achieved by using the alternative rule data to replace the target rule data.
[0068] According to the operation logic library update method provided by the present disclosure, each first operation data corresponding to each business processing process is obtained through the business information included in the operation and maintenance logs. The similarity between the target rule data included in the initial operation logic library and the first operation data is determined by using the first operation set included in the first operation data. Based on the similarity and the first operation time consumption, alternative rule data can be generated. According to the selection results of the target rule data and the alternative rule data by the client object, the first availability rate of the target rule data and the second availability rate of the alternative rule data are obtained. Finally, the initial operation logic library is updated based on the first availability rate and the second availability rate. Since the first operation data corresponding to the business processing process is obtained by processing the operation and maintenance logs, a comprehensive extraction of business operations is realized. Therefore, at least partially, the problem of incomplete coverage of business problems existing in the operation logic library in the related art is solved, a comprehensive coverage of business problems is realized, and the problem-solving time is saved. Also, since the similarity between the first operation data and the target rule data is determined based on the first operation set included in the first operation data, and when the similarity and the first operation time consumption meet the conditions, the first operation data is put into the alternative logic library, and then the alternative rule data is obtained. Also, based on the object feedback information, the first availability rate of the alternative rule data and the second availability rate of the target rule data are obtained. Finally, the automatic update of the initial operation logic library is realized based on the first availability rate and the second availability rate. Therefore, at least partially, the problem of untimely update existing in the operation logic library in the related art is solved, the update of the operation logic library is realized in a timely and convenient manner, and at the same time, the rule data for solving the same problem is continuously iterated to improve the accuracy of the solution.
[0069] Figure 3 Schematically shows a flowchart for determining the first operation data according to an embodiment of the present disclosure.
[0070] As Figure 3 shown, the flowchart for determining the first operation data may further include: operation S301 to operation S304.
[0071] In operation S301, based on the business information included in the operation and maintenance logs, multiple operation records corresponding to the business information are determined, where at least one business information is included in the operation and maintenance logs.
[0072] In operation S302, based on the non-relational database model, the multiple operation records are stored to obtain a first operation set, where the first operation set includes keys and values of multiple first sub-operations.
[0073] In operation S303, based on the multiple operation records, the first operation time consumption of the business information and the first processing result of the business information are determined.
[0074] In operation S304, first operation data is obtained based on the first operation set, the first operation duration, and the first processing result.
[0075] According to an embodiment of the present disclosure, operation records corresponding to each piece of service information can be determined from the service information included in the operation and maintenance log, and then, based on a non-relational database model, multiple operation records are stored in the order of service processing to obtain a first operation set stored in the order of service processing. The first operation set includes keys and values of multiple sub-operations in the service processing process. The key can be the number of the sub-operation, for example, numbered using the transaction code trc, and the value can be the operation result of the sub-operation. For example, the first operation set OP can be Op{(trc1, value), (trc2, value), (trc3, value)}.
[0076] According to an embodiment of the present disclosure, the non-relational database model can be a database model that stores using key-value pairs.
[0077] According to an embodiment of the present disclosure, the first operation duration and the first processing result of the service processing can also be extracted from the operation records corresponding to the service information.
[0078] According to an embodiment of the present disclosure, the first operation data may further include error information, which includes the location and cause of the error.
[0079] According to an embodiment of the present disclosure, each sub-operation of the service processing is stored in the form of key-value pairs based on the operation and maintenance log, and the sub-operation is stored in the first operation set in the order of service processing, thereby realizing the collection of service processing operations through the operation and maintenance log, at least partially overcoming the problem of incomplete manual summary of service processing operations, realizing the automatic collection of service processing operations, and obtaining the operation information of service processing comprehensively and quickly.
[0080] Figure 4 A flowchart showing the determination of the similarity between the target rule data and the first operation data according to an embodiment of the present disclosure is schematically shown.
[0081] As Figure 4 shown, determining the similarity between the target rule data and the first operation data may include operations S401 to S403.
[0082] In operation S401, based on the first operation set, the first operation data is respectively matched with multiple initial rule data included in the initial operation logic library to obtain multiple degrees of matching.
[0083] In operation S402, based on the multiple degrees of matching, target rule data is determined from the multiple initial rule data.
[0084] In operation S403, based on the cosine similarity algorithm, the similarity between the first operation data and the target rule data is obtained.
[0085] According to an embodiment of the present disclosure, based on the first operation set, the sub-operations included in the first operation set are matched one by one with the sub-operations included in the initial rule data, so as to obtain multiple matching degrees. The multiple matching degrees are arranged in descending order, and one or several initial rule data with the highest matching degree are determined as the target rule data. Then, based on the cosine similarity algorithm, the similarity between the first operation data and the target rule data can be calculated. Among them, the number of target rule data can be set according to the actual situation. If there are several target rule data, there will be several similarities.
[0086] According to an embodiment of the present disclosure, by sequentially matching the sub-operations included in the first operation set with the sub-operations included in the initial rule data one by one, the initial rule data that the first operation data may correspond to can be determined, that is, the data that may perform the same business process. Then, based on the matching degree, the target rule data is determined, and the similarity between the target rule data and the first operation data is calculated, so as to determine the closest target rule data for the first operation data, realize multiple business processing methods for the same business, increase the iteration process of the processing methods for the same business, and continuously search for better business processing methods.
[0087] According to an embodiment of the present disclosure, based on the first operation set, the first operation data is respectively matched with multiple initial rule data included in the initial operation logic library to obtain multiple matching degrees, which may include the following operations.
[0088] For each initial rule data among the multiple initial rule data, determine the second operation set of each initial rule data; based on the operation order of the multiple first sub-operations included in the first operation set, match the multiple first sub-operations with the multiple second sub-operations included in the second operation set to obtain the matching degree; based on the matching degree between each initial rule data and the first operation data, obtain multiple matching degrees.
[0089] According to an embodiment of the present disclosure, the matching degree can be obtained by sequentially matching a plurality of second sub-operations included in the second operation set in the initial rule data with a plurality of first sub-operations in the first operation set in order. By traversing a plurality of initial rule data included in the initial operation logic library and respectively matching them with the first operation data, a plurality of matching degrees can be obtained. Among them, the first sub-operations included in the first operation set can be sorted according to the order of business processing. The process of sequentially matching a plurality of second sub-operations with a plurality of first sub-operations can be, for example: if the first operation set is Op{(trc1, value1), (trc2, value2), (trc3, value3), (trc4, value4)} and the second operation set is Op’{(trc1, value1), (trc2, value2), (trc5, value5), (trc6, value6)}, it can be seen that the first sub-operation and the second sub-operation of Op and Op’ are the same, and the third sub-operation and the fourth sub-operation are different, and the matching degree can be considered to be 50%.
[0090] According to an embodiment of the present disclosure, by first calculating the matching degree between the first operation data and the initial operation data according to the order of sub-operations, it is possible to more accurately determine whether the first operation data and the initial operation data are processing the same business, and avoid the situation where the first operation data and the initial operation data have a high similarity, but the sub-operations are the same but the order is different, and they are for processing different businesses.
[0091] According to an embodiment of the present disclosure, based on the similarity and the first operation time consumption, putting the first operation data into the alternative operation logic library and generating alternative rule data may include the following operations.
[0092] Determine the comparison result between the similarity and the similarity threshold; based on the comparison result, compare the first operation time consumption of the first operation data with the second operation time consumption of the target rule data to obtain a discrimination result; when the discrimination result indicates compliance with a predetermined rule, put the first operation data into the alternative operation logic library and generate alternative rule data.
[0093] According to an embodiment of the present disclosure, based on the comparison result between the similarity and the similarity threshold, when the similarity exceeds the similarity threshold, the first operation time consumption of the first operation data can be compared with the second operation time consumption of the target rule data, and then a discrimination result can be obtained. If the discrimination result indicates compliance with a predetermined rule, the first operation data can be put into the alternative operation logic library to generate alternative rule data, where the predetermined rule can be that the first operation time consumption is less than the second operation time consumption.
[0094] According to an embodiment of the present disclosure, when the similarity exceeds the similarity threshold, it indicates that the similarity between the first operation data and the target rule data is relatively high, and the possibility of processing the same business is relatively large. Then, the first operation time and the second operation time can be compared. If the first operation time is greater than the second operation time, it can be considered that the first operation data may be superior to the target rule data for business processing. Then, the first operation time can be put into the alternative operation logic library to generate alternative rule data, waiting to determine whether the alternative rule data is indeed superior to the target rule data subsequently, so as to avoid the situation that if there are some problems with the first operation data directly or it cannot solve the business problems solved by the target rule data, resulting in the lack or non-optimality of the business problem solution corresponding to the target rule data.
[0095] According to an embodiment of the present disclosure, based on the first availability rate and the second availability rate, the operation logic library is updated. Updating the operation logic library may include the following operations.
[0096] When the second availability rate reaches the first threshold, use the alternative rule data to replace the target rule data in the initial operation logic library; when the second availability rate reaches the second threshold, directly put the alternative rule data into the initial operation logic library; when the first availability rate is lower than the third threshold, delete the target rule data from the initial operation logic library.
[0097] According to an embodiment of the present disclosure, different update strategies can be set for the initial operation logic library when the first availability rate and the second availability rate reach different thresholds.
[0098] According to an embodiment of the present disclosure, the update strategy can be that when the second availability rate reaches the first threshold, it can be explained that more client objects choose to use the alternative rule data and the solution rate for business problems is also very high. Therefore, the alternative rule data can be used to replace the target rule data in the initial operation logic library. Among them, the first threshold can be 90%.
[0099] According to an embodiment of the present disclosure, the update strategy can be that when the second availability rate reaches the second threshold, it indicates that the number of people using the alternative rule data is relatively large and the solution rate for business problems is also relatively high. The alternative rule data can be directly put into the initial operation logic library to jointly solve the business problems of client objects. Among them, the second threshold can be 70%.
[0100] According to an embodiment of the present disclosure, the update policy may be that when the first availability rate is lower than the third threshold, it can be considered that few client objects choose to use the target rule data to repair the business processing process, and the repair rate of the target rule data for the business processing process is very low. Then, the target rule data can be deleted from the initial operation logic library. Similarly, when the second availability rate of the alternative rule data is lower than the third threshold, the alternative rule data can be deleted from the alternative operation logic library. Among them, the third threshold may be lower than 50%.
[0101] According to an embodiment of the present disclosure, the update policy may be that when the second availability rate is greater than or equal to the fourth threshold, the target rule data and the alternative rule data can be sent to the target client. The target client may be a client with review authority. Through the review result of the target client, it can be determined whether to update the target rule data and the alternative rule data. Among them, the fourth threshold may be 50%.
[0102] According to an embodiment of the present disclosure, the first threshold, the second threshold, the third threshold, and the fourth threshold are all illustrative, and specific thresholds can be set according to specific requirements.
[0103] According to an embodiment of the present disclosure, by setting different update policies based on the alternative rule data and the target rule data under different availability rates, it is possible to continuously iterate the rule data for solving the same business processing problem, and thus continuously improve the accuracy of the solution.
[0104] According to an embodiment of the present disclosure, based on the operation and maintenance log, when it is determined that among the multiple operation records corresponding to the service information, there is a record triggering the first response, determine the selection result of the client object for the target rule data and the alternative rule data. Among them, the first response includes that there is an error message on the page; based on the selection results of the target quantity, determine the object feedback information.
[0105] According to an embodiment of the present disclosure, if it is determined that there is an error or the business cannot continue to be processed during the business processing process, it can be determined whether the target rule data or the alternative rule data is used to repair the business processing problem. Based on multiple selection results, finally determine the object feedback information. Among them, the target quantity is not limited and can be set according to specific situations.
[0106] According to an embodiment of the present disclosure, the alternative rule data and the target rule data are used to jump to the target sub-operation node based on the alternative rule data or the target rule data selected by the client object when the client service processing triggers the first response, so as to continue the business processing at the target sub-operation node. Among them, the target sub-operation node includes the sub-operation node closest to the sub-operation node that triggers the first response.
[0107] According to an embodiment of the present disclosure, based on the operation sequence and operation result of the user, the target rule data in the initial operation logic library and the alternative rule data in the alternative operation logic library are matched in real time. In the case of an error in the user's operation, the target rule data or the alternative rule data can be selected to repair the error. That is, from the first operation set of the target rule data or the second operation set of the alternative rule data, the target sub-operation corresponding to the current error sub-operation can be found, and the sub-operation adjacent to the target sub-operation can be determined. The operation node of the client can be jumped to the sub-operation before the target sub-operation to continue business processing.
[0108] According to an embodiment of the present disclosure, both the alternative rule data and the target rule data can be used to repair business processing problems. When a problem occurs in the business, by clicking on the alternative rule data or the target rule data, it is possible to automatically jump to the normal sub-operation node closest to the sub-operation node where the error occurs, so that the business processing process can be continued, ensuring the continuity of business processing and improving business processing efficiency.
[0109] According to an embodiment of the present disclosure, when there is no error in business processing, the business processing operation steps performed on the client object can be continuously matched with the most similar business processing process and presented in the business processing interface, ensuring that when a business problem occurs, the most suitable rule data can be quickly matched to solve the business problem.
[0110] According to an embodiment of the present disclosure, based on the operation and maintenance log, when it is determined that the operation record corresponding to the service information does not contain a record triggering the first response, first operation data corresponding to the service information is generated; the degrees of matching between the first operation data and a plurality of initial rule data included in the initial operation logic library are determined; in the case where the degrees of matching are all lower than the matching degree threshold, the first operation data is placed in the alternative operation logic library.
[0111] According to an embodiment of the present disclosure, when it is recognized that there is no error information in the operation record corresponding to the service information, first operation data can be generated, and the degrees of matching between the first operation data and a plurality of initial rule data are calculated. If the degrees of matching are all lower than the matching degree threshold, it can be considered that the initial operation logic library does not contain this data. First, the first operation data can be placed in the alternative operation logic library, and then updated into the initial operation logic library through subsequent object feedback information and other processes.
[0112] According to an embodiment of the present disclosure, based on the object feedback information, obtaining the first availability rate of the target rule data and the second availability rate of the alternative rule data respectively may include the following steps.
[0113] Based on the object feedback information, determine the first selection quantity of the target rule data and the second selection quantity of the alternative rule data for a target quantity of client objects; based on the first selection quantity and the first selection processing result included in the operation and maintenance log, determine the first availability rate of the target rule data, where the first selection processing result represents the business processing result obtained after selecting the target rule data for business repair; based on the second selection quantity and the second selection processing result included in the operation and maintenance log, determine the second availability rate of the alternative rule data, where the second selection processing result represents the business processing result obtained after selecting the alternative rule data for business repair.
[0114] According to an embodiment of the present disclosure, based on the object feedback information, the number of times of selecting the target rule data for business repair and the number of times of selecting the alternative rule data for business repair can be determined for a target quantity of client objects, so as to determine the first selection quantity and the second selection quantity. The business processing of selecting the target rule data for business repair can be determined from the operation and maintenance log, and it can be determined whether the final business processing result of this business processing contains a success flag. By determining the number of first successful processing results with success flags among multiple first selection processing results, the first availability rate of the target rule data is determined using the target quantity, the first selection quantity, and the number of first successful processing results. For example: the target quantity is 100, the first selection quantity is 40, and the number of first successful processing results is 36, then the first availability rate is 36%.
[0115] According to an embodiment of the present disclosure, similarly, the second availability rate of the target rule data volume can be determined using the target data volume, the second selection quantity, and the number of second successful processing results. For example: the target quantity is 100, the second selection quantity is 60, and the number of second successful processing results is 55, then the first availability rate is 55%.
[0116] Figure 5 Schematically shows a schematic diagram of updating an operation logic library according to an embodiment of the present disclosure.
[0117] As Figure 5As shown in the figure, first, operation and maintenance log processing 501 is performed. By filtering, de-duplicating, and formatting the operation and maintenance logs, client operation data, i.e., the first operation data 502, is obtained. The first operation data 502 includes a first operation set, a first processing result, a first operation duration, and error information. The initial operation logic library 503 includes multiple initial rule data, such as initial rule data 504, initial rule data 505, initial rule data 506, etc. Taking the initial rule data 504 as an example, the initial rule data includes a second operation set, a second processing result, and a second operation duration. By calculating the similarity 507 between the initial rule data and the first operation data, vectors are generated based on the first operation set and the second operation set, and the first processing result and the second processing result to calculate the similarity. When the similarity is greater than the threshold, the first operation data can be placed in the alternative operation logic library 508, and alternative rule data is generated based on the first operation data. When the availability rate of the alternative rule data is determined based on the object feedback information, and when the availability rate is greater than the first threshold, the alternative rule data is used to replace the corresponding initial rule data in the initial operation logic library. When the availability rate is greater than the second threshold and less than the first threshold, the alternative rule data is added to the initial operation logic library. When the availability rate is greater than the third threshold and less than the fourth threshold, expert review 509 can be entered, and relevant information is sent to the target client. When the target client responds and approves the review, the alternative rule data is added to the initial operation logic library 503.
[0118] Figure 6 Schematically shows another schematic diagram of updating the operation logic library according to an embodiment of the present disclosure.
[0119] As Figure 6 As shown in the figure, the client operation 601 is monitored to identify whether there is an error 602 in the client operation. When it is identified that the client operation has not had a first response, i.e., an error, during the operation process, it can be determined whether the first operation data is existing rule data 604. The first operation data can be respectively matched with all the initial rule data included in the initial operation logic library 603. During the matching process, all the first sub-operations included in the first operation data and all the second sub-operations included in the initial rule data are matched according to the sub-operation sequence. When the matching degree is lower than the threshold, it is determined that the first operation data is operation data that does not exist in the initial operation logic library, and then the first operation data is added to the alternative operation logic library 611. When the first operation data is operation data included in the initial operation logic library, the first operation data can be marked 605.
[0120] According to an embodiment of the present disclosure, in the case where an error is reported in a client operation, the logical library 606 is used to match multiple sub-operations included in the client operation to determine the rule data 607 that best matches the client operation. In response to receiving the rule data information selected by the client, it is determined to automatically jump to the sub-operation node closest to the error-reporting sub-operation node, and the selection result of the client is recorded in the object feedback 609. For the selection result 610 of the client for the initial rule data and the alternative rule data, if the alternative rule data is selected, the alternative rule data is marked. In the case where the corresponding feedback result conforms to the rule, the initial operation logic library is updated based on the alternative rule data.
[0121] Based on the above operation logic library update method, the present disclosure also provides an operation logic library update device. The following will be combined with Figure 7 to describe this device in detail.
[0122] Figure 7 The structural block diagram of the operation logic library update device according to an embodiment of the present disclosure is schematically shown.
[0123] As Figure 7 shown, the operation logic library update device 700 of this embodiment includes an operation and maintenance log processing module 710, a similarity determination module 720, an alternative rule data generation module 730, an availability calculation module 740, and an initial operation logic library update module 750.
[0124] The operation and maintenance log processing module 710 is used to preprocess the operation and maintenance log based on the service information included in the operation and maintenance log to obtain first operation data corresponding to the service information, where the first operation data includes a first operation set and a first operation duration.
[0125] The similarity determination module 720 is used to determine the similarity between the target rule data included in the initial operation logic library and the first operation data based on the first operation set.
[0126] The alternative rule data generation module 730 is used to put the first operation data into the alternative operation logic library based on the similarity and the first operation duration to generate alternative rule data.
[0127] The availability calculation module 740 is used to obtain the first availability of the target rule data and the second availability of the alternative rule data respectively based on the object feedback information, where the object feedback information represents the selection results of a target number of client objects for the target rule data and the alternative rule data.
[0128] The initial operation logic library update module 750 is used to update the initial operation logic library based on the first availability and the second availability.
[0129] According to an embodiment of the present disclosure, the operation and maintenance log processing module 710 may include: an operation record determination sub-module, a first operation set determination sub-module, a first processing result determination sub-module, and a first operation data determination sub-module.
[0130] The operation record determination sub-module is configured to determine multiple operation records corresponding to the service information based on the service information included in the operation and maintenance log, where at least one service information is included in the operation and maintenance log.
[0131] The first operation set determination sub-module is configured to store multiple operation records based on a non-relational database model to obtain a first operation set, where the first operation set includes keys and values of multiple first sub-operations.
[0132] The first processing result determination sub-module is configured to determine a first operation time consumption of the service information and a first processing result of the service information based on multiple operation records.
[0133] The first operation data determination sub-module is configured to obtain first operation data based on the first operation set, the first operation time consumption, and the first processing result.
[0134] According to an embodiment of the present disclosure, the similarity determination module 720 may include a matching degree calculation sub-module, a target rule data determination sub-module, and a similarity determination sub-module.
[0135] The matching degree calculation sub-module is configured to match the first operation data with multiple initial rule data included in the initial operation logic library based on the first operation set to obtain multiple matching degrees.
[0136] The target rule data determination sub-module is configured to determine target rule data from multiple initial rule data based on multiple matching degrees.
[0137] The similarity determination sub-module is configured to obtain the similarity between the first operation data and the target rule data based on the cosine similarity algorithm.
[0138] According to an embodiment of the present disclosure, the matching degree calculation sub-module may include: a second operation set determination unit, a matching unit, and a matching degree determination unit.
[0139] The second operation set determination unit is configured to determine a second operation set for each of the multiple initial rule data.
[0140] The matching unit is configured to match multiple first sub-operations with multiple second sub-operations included in the second operation set based on the operation order of the multiple first sub-operations included in the first operation set to obtain a matching degree.
[0141] A matching degree determination unit, configured to obtain multiple matching degrees based on the matching degrees between each initial rule data and the first operation data.
[0142] According to an embodiment of the present disclosure, the alternative rule data generation module 730 may include: a comparison result determination sub-module, a discrimination result determination sub-module, and an alternative rule data generation sub-module.
[0143] The comparison result determination sub-module is configured to determine the comparison result between the similarity and the similarity threshold.
[0144] The discrimination result determination sub-module is configured to compare the first operation time of the first operation data with the second operation time of the target rule data based on the comparison result to obtain a discrimination result.
[0145] The alternative rule data generation sub-module is configured to put the first operation data into the alternative operation logic library and generate alternative rule data when the discrimination result indicates compliance with a predetermined rule.
[0146] According to an embodiment of the present disclosure, the availability calculation module 740 may include: a selection quantity determination sub-module, a first availability determination sub-module, and a second availability determination sub-module.
[0147] The selection quantity determination sub-module is configured to determine a first selection quantity of the client objects of the target quantity selecting the target rule data and a second selection quantity of selecting the alternative rule data based on the object feedback information.
[0148] The first availability determination sub-module is configured to determine the first availability of the target rule data based on the first selection quantity and the first selection processing result included in the operation and maintenance log, where the first selection processing result represents the service processing result obtained after selecting the target rule data for service repair.
[0149] The second availability determination sub-module is configured to determine the second availability of the alternative rule data based on the second selection quantity and the second selection processing result included in the operation and maintenance log, where the second selection processing result represents the service processing result obtained after selecting the alternative rule data for service repair.
[0150] According to an embodiment of the present disclosure, the initial operation logic library update module 750 may include: a first update sub-module, a second update sub-module, and a third update sub-module.
[0151] The first update sub-module is configured to replace the target rule data in the initial operation logic library with the alternative rule data when the second availability reaches the first threshold.
[0152] A second update sub-module, configured to directly put the alternative rule data into the initial operation logic library when the second availability rate reaches the second threshold.
[0153] A third update sub-module, configured to delete the target rule data in the initial operation logic library when the first availability rate is lower than the third threshold.
[0154] According to an embodiment of the present disclosure, the operation logic library update device 700 may further include: a selection result determination module and an object feedback information determination module.
[0155] The selection result determination module is configured to determine the selection result of the client object for the target rule data and the alternative rule data based on the operation and maintenance log when it is determined that the operation records corresponding to the service information contain records triggering the first response, where the first response includes error information existing on the page.
[0156] The object feedback information determination module is configured to determine the object feedback information based on the selection results of the target quantity.
[0157] According to an embodiment of the present disclosure, the operation logic library update device 700 may further include: a target sub-operation node jump module.
[0158] The target sub-operation node jump module is configured to, when the alternative rule data and the target rule data are used to trigger the first response in the client service processing, jump to the target sub-operation node based on the alternative rule data or the target rule data selected by the client object, so as to continue the service processing at the target sub-operation node, where the target sub-operation node includes the sub-operation node closest to the sub-operation node triggering the first response.
[0159] According to an embodiment of the present disclosure, the operation logic library update device 700 may further include: a first response determination module and an initial operation logic library update module.
[0160] The first response determination module is configured to generate the first operation data corresponding to the service information based on the operation and maintenance log when it is determined that the operation records corresponding to the service information do not contain records triggering the first response.
[0161] The initial operation logic library update module is configured to put the first operation data into the initial operation logic library.
[0162] According to an embodiment of the present disclosure, any multiple of the operation and maintenance log processing module 710, the similarity determination module 720, the alternative rule data generation module 730, the availability calculation module 740, and the initial operation logic library update module 750 may be combined and implemented in one module, or any one of them may be split into multiple modules. Or, at least part of the functions of one or more of these modules may be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the operation and maintenance log processing module 710, the similarity determination module 720, the alternative rule data generation module 730, the availability calculation module 740, and the initial operation logic library update module 750 may be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on chip, a system on substrate, a system on package, an application specific integrated circuit (ASIC), or any other reasonable manner that can be achieved by integrating or packaging circuits, etc., in hardware or firmware, or implemented in any one of the three implementation manners of software, hardware, and firmware, or in an appropriate combination of any several of them. Or, at least one of the operation and maintenance log processing module 710, the similarity determination module 720, the alternative rule data generation module 730, the availability calculation module 740, and the initial operation logic library update module 750 may be at least partially implemented as a computer program module, and when the computer program module is run, it can execute corresponding functions.
[0163] Figure 8 FIG. schematically shows a block diagram of an electronic device suitable for implementing the operation logic library update method according to an embodiment of the present disclosure.
[0164] As Figure 8 shown, the electronic device 800 according to an embodiment of the present disclosure includes a processor 801, which can perform various appropriate actions and processes according to a program stored in a read only memory (ROM) 802 or a program loaded from a storage section 808 into a random access memory (RAM) 803. The processor 801 may include, for example, a general microprocessor (such as a CPU), an instruction set processor and / or a related chipset and / or a dedicated microprocessor (such as an application specific integrated circuit (ASIC)), etc. The processor 801 may also include on-board memory for caching purposes. The processor 801 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0165] In the RAM 803, various programs and data required for the operation of the electronic device 800 are stored. The processor 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. The processor 801 performs various operations of the method flow according to the embodiments of the present disclosure by executing the programs in the ROM 802 and / or the RAM 803. It should be noted that the programs can also be stored in one or more memories other than the ROM 802 and the RAM 803. The processor 801 can also perform various operations of the method flow according to the embodiments of the present disclosure by executing the programs stored in one or more memories.
[0166] According to an embodiment of the present disclosure, the electronic device 800 may further include an input / output (I / O) interface 805, and the input / output (I / O) interface 805 is also connected to the bus 804. The electronic device 800 may further include one or more of the following components connected to the input / output (I / O) interface 805: an input section 806 including a keyboard, a mouse, etc.; an output section 807 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc. and a speaker, etc.; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a LAN card, a modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the input / output (I / O) interface 805 as needed. A removable medium 811, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 810 as needed so that a computer program read from it can be installed into the storage section 808 as needed.
[0167] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist separately without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the one or more programs are executed, the method according to the embodiments of the present disclosure is implemented.
[0168] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, it may include but is not limited to: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In the present disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program, and this program can be used by or in conjunction with an instruction execution system, apparatus, or device. For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include one or more memories other than the ROM 802 and / or RAM 803 and / or ROM 802 and RAM 803 described above.
[0169] An embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product runs in a computer system, the program code is used to enable the computer system to implement the operation logic library update method provided by the embodiment of the present disclosure.
[0170] When the computer program is executed by the processor 801, it executes the above functions defined in the system / apparatus of the embodiment of the present disclosure. According to an embodiment of the present disclosure, the above-described systems, apparatuses, modules, units, etc. can be implemented by computer program modules.
[0171] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices and magnetic storage devices. In another embodiment, the computer program may also be transmitted and distributed in the form of a signal on a network medium, and be downloaded and installed through the communication part 809, and / or be installed from the removable medium 811. The program code included in the computer program can be transmitted by any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0172] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 809, and / or be installed from the removable medium 811. When the computer program is executed by the processor 801, it executes the above functions defined in the system of the embodiment of the present disclosure. According to an embodiment of the present disclosure, the above-described systems, devices, apparatuses, modules, units, etc. can be implemented by computer program modules.
[0173] According to embodiments of the present disclosure, program code for executing the computer programs provided by the embodiments of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level procedural and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, such as Java, C++, Python, the "C" language, or similar programming languages. The program code can be executed entirely on the user's computing device, partially on the user's device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device can be connected to the user's computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (e.g., by connecting through the Internet using an Internet service provider).
[0174] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram can represent a module, a program segment, or a part of code that contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than that marked in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram or flowchart, and combinations of blocks in the block diagram or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or operations, or can be implemented by a combination of dedicated hardware and computer instructions.
[0175] Those skilled in the art can understand that the features recited in the various embodiments and / or claims of the present disclosure can be combined or / and combined in various ways, even if such combinations or combinations are not explicitly recited in the present disclosure. In particular, without departing from the spirit and teachings of the present disclosure, the features recited in the various embodiments and / or claims of the present disclosure can be combined and / or combined in various ways. All such combinations and / or combinations fall within the scope of the present disclosure.
[0176] The embodiments of the present disclosure have been described above. However, these embodiments are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments have been described separately above, this does not mean that the measures in each embodiment cannot be used advantageously in combination. The scope of the present disclosure is defined by the appended claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art can make various substitutions and modifications, and all such substitutions and modifications should fall within the scope of the present disclosure.
Claims
1. A method for updating an operation logic library, comprising: Preprocessing the operation and maintenance log based on the service information included in the operation and maintenance log to obtain first operation data corresponding to the service information, wherein the first operation data includes a first operation set and a first operation duration; Determining the similarity between the target rule data included in the initial operation logic library and the first operation data based on the first operation set; Putting the first operation data into an alternative operation logic library based on the similarity and the first operation duration to generate alternative rule data; Obtaining a first availability rate of the target rule data and a second availability rate of the alternative rule data based on object feedback information, wherein the object feedback information represents the selection results of a target number of client objects for the target rule data and the alternative rule data; Updating the initial operation logic library based on the first availability rate and the second availability rate; Wherein, the updating the operation logic library based on the first availability rate and the second availability rate includes: When the second availability rate reaches a first threshold, replacing the target rule data in the initial operation logic library with the alternative rule data; When the second availability rate reaches a second threshold, directly putting the alternative rule data into the initial operation logic library; When the first availability rate is lower than a third threshold, deleting the target rule data from the initial operation logic library.
2. The method according to claim 1, wherein, The determining the similarity between the target rule data included in the initial operation logic library and the first operation data based on the first operation set includes: Based on the first operation set, matching the first operation data with a plurality of initial rule data included in the initial operation logic library respectively to obtain a plurality of matching degrees; Determining target rule data from the plurality of initial rule data based on the plurality of matching degrees; Obtaining the similarity between the first operation data and the target rule data based on the cosine similarity algorithm.
3. The method according to claim 2, wherein, The matching the first operation data with a plurality of initial rule data included in the initial operation logic library respectively to obtain a plurality of matching degrees based on the first operation set includes: For each initial rule data in the plurality of initial rule data, determining a second operation set of each initial rule data; Based on the operation sequence of a plurality of first sub-operations included in the first operation set, matching the plurality of first sub-operations with a plurality of second sub-operations included in the second operation set to obtain a matching degree; Obtaining a plurality of matching degrees based on the matching degree between each initial rule data and the first operation data.
4. The method according to claim 1, wherein, The preprocessing the operation and maintenance log based on the service information included in the operation and maintenance log to obtain first operation data corresponding to the service information includes: Based on the service information included in the operation and maintenance log, determining a plurality of operation records corresponding to the service information, wherein at least one service information is included in the operation and maintenance log; Store the multiple operation records based on a non-relational database model to obtain the first operation set, where the first operation set includes keys and values of multiple first sub-operations; Determine the first operation time consumption of the service information and the first processing result of the service information based on the multiple operation records; Obtain the first operation data based on the first operation set, the first operation time consumption, and the first processing result; 5. The method according to claim 1, wherein The step of putting the first operation data into an alternative operation logic library based on the similarity and the first operation time consumption to generate alternative rule data includes: Determine the comparison result between the similarity and a similarity threshold; Based on the comparison result, compare the first operation time consumption of the first operation data with the second operation time consumption of the target rule data to obtain a discrimination result; When the discrimination result indicates compliance with a predetermined rule, put the first operation data into an alternative operation logic library to generate alternative rule data; 6. The method according to claim 1, further comprising: Based on the operation and maintenance log, when it is determined that there is a record triggering a first response in the multiple operation records corresponding to the service information, determine the selection result of the client object for the target rule data and the alternative rule data, where the first response includes an error message on the page; Determine the object feedback information based on the target number of the selection results; 7. The method according to claim 6, further comprising: The alternative rule data and the target rule data are used to, when a client service process triggers the first response, based on the alternative rule data or the target rule data selected by the client object, jump to a target sub-operation node so as to continue the service process at the target sub-operation node, where the target sub-operation node includes the sub-operation node closest to the sub-operation node triggering the first response; 8. The method according to claim 6, further comprising: Based on the operation and maintenance log, when it is determined that the operation record corresponding to the service information does not contain a record triggering the first response, generate first operation data corresponding to the service information; Determine the multiple matching degrees between the first operation data and multiple initial rule data included in the initial operation logic library; When all the multiple matching degrees are lower than a matching degree threshold, put the first operation data into the alternative operation logic library; 9. The method according to claim 1, wherein The step of respectively obtaining the first availability rate of the target rule data and the second availability rate of the alternative rule data based on the object feedback information includes: Based on the object feedback information, determine the first selection number of the target rule data selected by the target number of client objects and the second selection number of the alternative rule data selected; Based on the first selection number and the first selection processing result included in the operation and maintenance log, determine the first availability rate of the target rule data, where the first selection processing result represents the service processing result obtained after selecting the target rule data for service repair; Determine the second availability rate of the alternative rule data based on the second selected quantity and the second selection processing result included in the operation and maintenance log, where the second selection processing result represents the service processing result obtained after selecting the alternative rule data for service repair.
10. An operation logic library update device, comprising: An operation and maintenance log processing module, configured to preprocess the operation and maintenance log based on the service information included in the operation and maintenance log to obtain first operation data corresponding to the service information, where the first operation data includes a first operation set and a first operation duration; A similarity determination module, configured to determine the similarity between the target rule data included in the initial operation logic library and the first operation data based on the first operation set; An alternative rule data generation module, configured to put the first operation data into an alternative operation logic library and generate alternative rule data based on the similarity and the first operation duration; An availability rate calculation module, configured to respectively obtain a first availability rate of the target rule data and a second availability rate of the alternative rule data based on object feedback information, where the object feedback information represents the selection results of a target number of client objects for the target rule data and the alternative rule data; An initial operation logic library update module, configured to update the initial operation logic library based on the first availability rate and the second availability rate; Wherein, the initial operation logic library update module includes: a first update sub-module, a second update sub-module, and a third update sub-module; The first update sub-module is configured to replace the target rule data in the initial operation logic library with the alternative rule data when the second availability rate reaches a first threshold; The second update sub-module is configured to directly put the alternative rule data into the initial operation logic library when the second availability rate reaches a second threshold; The third update sub-module is configured to delete the target rule data from the initial operation logic library when the first availability rate is lower than a third threshold.
11. An electronic device, comprising: One or more processors; A storage device for storing one or more programs, Wherein, when the one or more programs are executed by the one or more processors, the one or more processors are caused to execute the method according to any one of claims 1 to 9.
12. A computer-readable storage medium, having executable instructions stored thereon, and when the instructions are executed by a processor, the processor is caused to execute the method according to any one of claims 1 to 9.
13. A computer program product, comprising a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.
Citation Information
Patent Citations
Service processing method and device in service engine, storage medium and electronic equipment
CN110825457A
Configuration parameter and service logic real-time updating method, system and device and medium
CN115964380A