Gray-scale cut-off method and device
By combining RPA robots and Naive Bayes classifiers, service switching and emergency rollback are handled automatically, solving the problems caused by traditional manual operations and improving the quality of operation and maintenance processes and the accuracy of business processing.
Patent Information
- Application Number
- CN202211251904.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-13
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2042-10-13
AI Technical Summary
During the transformation of enterprise IT architecture, traditional service switching and emergency rollback rely on manual operation, which leads to untimely problem identification, expanded impact, increased management costs due to night shifts, and the risk of error in rollback operations.
The RPA robot is used to automatically perform service switching processing. Combined with the Naive Bayes classifier to analyze transaction data, the system can automatically identify the running status and call up emergency strategies to achieve automated emergency switching.
It reduces manual intervention, improves back-cutting efficiency, ensures the stability and accuracy of production operations, and reduces operational risks and management costs.
Smart Images

Figure CN115525327B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of system operation and maintenance, and can be applied to the financial field and other fields, especially a grayscale switching production and emergency response method and device. Background Technology
[0002] For enterprises that have already implemented traditional IT infrastructure, the transformation of legacy IT architectures is crucial for their future development in the face of the rapid development of the internet. During this transformation, parallel piloting of the old and new systems is an essential part of the project. This involves complex service switching and emergency scenarios, involving numerous applications and services, and varying execution methods for switching solutions. Currently, common emergency switching solutions rely on manual operation by operations personnel, who manually set parameters in the operations system based on the switching plan provided by developers. For non-systematic errors, such as data loss during system parameter synchronization via message queues, or transaction failures due to inconsistencies between business logic and original functionality, these issues require manual checking of logs or business process shutdown to detect, resulting in delayed problem exposure. Furthermore, rollback operations also rely on manual execution by operations personnel.
[0003] Currently, non-systematic errors rely on manual verification, and untimely problem identification can easily amplify the impact of systemic errors. At the same time, when service switching issues occur and emergency rollback is required, it is necessary to contact operations and maintenance personnel to manually execute the rollback plan. Manual operation carries the risk of operational errors or inaccurate execution. In special circumstances, such as the early morning hours, failure to promptly roll back services may amplify the impact, which has a certain impact on the quality of operations and maintenance management processes and the accuracy of business processing. Night shifts also increase the company's management costs. Summary of the Invention
[0004] The purpose of this application is to provide a grayscale shearing production and emergency response method and device to reduce manual intervention, improve shearing efficiency, and ensure stable production operation.
[0005] To achieve the above objectives, this application provides a gray-scale traffic switching deployment and emergency response method, which includes: constructing a service switching process, deployment strategy, and emergency response strategy based on deployment requirements; retrieving the corresponding deployment strategy through an RPA robot to perform service switching processing according to the service switching process, and collecting first and second transaction data generated before and after the service switching processing; analyzing the first and second transaction data using a Naive Bayes classifier to obtain the operating status after service switching; and retrieving the emergency response strategy based on the operating status to execute corresponding emergency response.
[0006] Optionally, in the above grayscale flow switching and emergency methods, the method may further include: monitoring the operating status of the RPA robot, and when the RPA robot malfunctions and causes the process to be interrupted, activating another RPA robot to take over the current process.
[0007] In the above-mentioned gray-scale traffic switching deployment and emergency response methods, optionally, the service traffic switching process includes: obtaining the traffic switching time according to the service traffic switching process; retrieving the corresponding deployment strategy through the RPA robot based on the comparison result of the traffic switching time and the current time; executing the corresponding service traffic switching process according to the deployment strategy and saving the execution log to a preset location.
[0008] Optionally, in the above grayscale flow switching deployment and emergency response methods, the method may further include: acquiring historical service operation status data, parsing the historical service operation status data to obtain discrete value attributes, and training a Naive Bayes classifier using the discrete value attributes through a Naive Bayes classifier algorithm.
[0009] In the above grayscale flow switching deployment and emergency response methods, optionally, the discrete value attributes include flow switching data, transaction success data, error code data, service continuity count, and response time.
[0010] In the above grayscale flow switching deployment and emergency response methods, optionally, the process of obtaining the operating status after service flow switching by analyzing the first transaction data and the second transaction data using a Naive Bayes classifier includes: obtaining the health probability and the abnormal probability of the discrete value attributes before and after service flow switching by analyzing the first transaction data and the second transaction data using a Naive Bayes classifier; and obtaining the operating status after service flow switching based on the comparison result of the health probability and the abnormal probability.
[0011] In the above grayscale flow switching deployment and emergency response methods, optionally, the emergency response process of retrieving the emergency strategy based on the operating status includes: when the health probability is greater than the abnormal probability, retrieving the emergency strategy through an RPA robot; and performing emergency rollback processing on the service according to the emergency strategy.
[0012] In the above grayscale switching deployment and emergency response methods, optionally, the deployment strategy includes a grayscale switching script; the emergency response strategy includes emergency type, switchback support category and emergency statement.
[0013] This application also provides a grayscale traffic switching deployment and emergency response device, which includes a setting module, a data acquisition module, an analysis module, and a processing module. The setting module is used to construct a service traffic switching process, a deployment strategy, and an emergency response strategy according to deployment requirements. The data acquisition module is used to retrieve the corresponding deployment strategy through an RPA robot to perform service traffic switching processing according to the service traffic switching process, and to collect first transaction data and second transaction data generated before and after the service traffic switching processing. The analysis module is used to analyze the first transaction data and second transaction data using a Naive Bayes classifier to obtain the operating status after service traffic switching. The processing module is used to retrieve the emergency response strategy according to the operating status and execute the corresponding emergency response.
[0014] This application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the above-described method.
[0015] This application also provides a computer-readable storage medium storing a computer program that performs the above-described methods.
[0016] This application also provides a computer program product, including a computer program / instructions that, when executed by a processor, implement the steps of the above-described method.
[0017] The beneficial technical effects of this application are as follows: It effectively reduces manual operation steps during business system deployment, lowers the operational risks and manual execution costs associated with system switching when multiple systems need to be jointly deployed, and avoids system risks caused by operational errors. It solves the problem of long lead times for manual intervention emergency plans when business systems experience anomalies at night, effectively reducing the rollback time after anomalies and providing high availability assurance for business systems. It improves the quality of operation and maintenance processes and the accuracy of business processing, making operation and maintenance processes more compliant and secure. Attached Figure Description
[0018] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, do not constitute a limitation thereof. In the drawings:
[0019] Figure 1 A schematic flowchart illustrating the grayscale switching production and emergency response method provided in an embodiment of this application;
[0020] Figure 2 This is a schematic diagram of the service flow switching process provided in an embodiment of this application;
[0021] Figure 3 This is a schematic diagram of the training process of a Naive Bayes classifier provided in an embodiment of this application;
[0022] Figure 4 This is a schematic diagram of the operation status analysis process provided in an embodiment of this application;
[0023] Figure 5 This is a schematic diagram of an emergency response process provided in an embodiment of this application;
[0024] Figure 6 A schematic diagram of the grayscale shear flow commissioning and emergency device provided in an embodiment of this application;
[0025] Figure 7 A schematic diagram of the application structure of the grayscale shear flow commissioning and emergency device provided in an embodiment of this application;
[0026] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0027] The following will describe in detail the implementation methods of this application with reference to the accompanying drawings and embodiments, so as to fully understand how this application uses technical means to solve technical problems and achieve technical effects, and to implement it accordingly. It should be noted that, as long as there is no conflict, the various embodiments and features in each embodiment of this application can be combined with each other, and the resulting technical solutions are all within the protection scope of this application.
[0028] Furthermore, the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.
[0029] Please refer to Figure 1 As shown, the grayscale sliding production and emergency response method provided in this application includes:
[0030] S101 builds service switching processes, deployment strategies, and contingency strategies based on deployment requirements;
[0031] S102 retrieves the corresponding deployment strategy through the RPA robot according to the service switching process to perform service switching processing, and collects the first transaction data and second transaction data generated before and after the service switching processing.
[0032] S103 analyzes the first and second transaction data using a Naive Bayes classifier to obtain the running status after service switching;
[0033] S104 retrieves the emergency strategy based on the operating status and executes the corresponding emergency response.
[0034] The production deployment strategy includes a gray-scale flow switching script; the emergency strategy includes emergency types, supported rollback categories, and emergency statements. Therefore, this application imports gray-scale flow switching deployment strategies and emergency strategies into the system before each application is deployed. The deployment strategy mainly includes the gray-scale flow switching script, and the emergency strategy mainly includes emergency types, whether automatic rollback is supported, and emergency statements. The RPA robot can collect transaction data before and after the gray-scale flow switching, compare the transaction success rate or error codes before and after the switching, and automatically roll back according to the emergency type. This reduces manual intervention, improves rollback efficiency, and ensures stable production operation. In practice, multiple RPA robots are used. The operating status of each RPA robot can be monitored during operation. When any RPA robot malfunctions and causes a process interruption, another idle RPA robot is activated to take over the current process and continue processing the task.
[0035] Please refer to Figure 2 As shown, in one embodiment of this application, the service switching process, which involves retrieving the corresponding deployment strategy via an RPA robot according to the service switching procedure, includes:
[0036] S201 obtains the switching time according to the service switching process, and retrieves the corresponding production strategy through the RPA robot based on the comparison result of the switching time and the current time.
[0037] S202 executes the corresponding service switching process according to the production strategy and saves the execution log to a preset location.
[0038] Specifically, in actual work, the pilot service list shown in Table 1 below, i.e. the service switching process, can be referred to. The pilot service list is filtered in sequence to determine whether there is a switching identifier and whether the switching time is equal to the current system time. If both are met, the corresponding production strategy is implemented to complete the service switching, and the execution log is saved to the preset storage location.
[0039] Table 1
[0040]
[0041] Please refer to Figure 3 As shown, in one embodiment of this application, the method may further include:
[0042] S301 Obtains historical service operation status data, and parses the historical service operation status data to obtain discrete value attributes;
[0043] S302 obtains a Naive Bayes classifier by training the Naive Bayes classifier algorithm using the discrete value attributes.
[0044] The discrete value attributes include whether the flow was switched, transaction success data, error code data, service continuity count, and response time. For further details, please refer to... Figure 4 As shown, in one embodiment of this application, the process of obtaining the operational status after service switching by analyzing the first transaction data and the second transaction data using a Naive Bayes classifier includes:
[0045] S401 uses a Naive Bayes classifier to analyze the first and second transaction data to obtain the discrete value attributes before and after the service flow switching process, and obtains the health probability and the abnormal probability.
[0046] S402 obtains the operating status after service switching based on the comparison result of the health probability and the abnormal probability.
[0047] Specifically, in practice, the system logs can be read and stored. Based on these logs, the first and second transaction data mentioned above are obtained. Then, an error code is calculated between the two data using a Naive Bayes classifier to determine whether the service is in a healthy state. The principle is as follows:
[0048] Suppose that whether a service is healthy is a random event c, and x represents a factor related to this random event. This factor has multiple attribute values, i.e., x = (x1, x2, x3, ..., x...). n );
[0049] P(c|x): Given x, the probability that random event c will occur. (Posterior probability)
[0050] P(c): The probability that the random event c occurs. (Prior probability)
[0051] P(x|c): Given that event c occurs, the probability that condition x occurs. (Posterior probability)
[0052] P(x): The probability that x will occur. (Prior probability)
[0053] According to the Naive Bayes classifier algorithm, assuming that the attributes of a random event x are conditionally independent, and the probabilities of each value of x are independent and unrelated to the values of other attributes, it can be expressed by the formula:
[0054]
[0055] Since we assume that the possible values of attribute x are all independent, we can define P(x1,x2,x3,...,x...). n c) The calculation simplifies to:
[0056]
[0057] The classification criterion is expressed by the following formula: Using a Naive Bayes allocator, for a given factor x, the most likely outcome c is determined, where y represents the set of values for c. The output here is the set of values for c that make c such that... The calculated result is the largest.
[0058]
[0059] Assume that the conditions x for whether the service is healthy are discrete-valued attributes, D c Let || denote the set of samples of class c in the training set D, and || denote the number of elements in the set. c,xi It represents D c Let be the set of samples whose i-th attribute value is xi. Let be the value of each attribute as a proportion of the total number of samples, i.e.:
[0060]
[0061] If x i For continuous-valued attributes, a probability density function is used, assuming... Where μ c,i and Let be the mean and variance of the values of the i-th attribute for the c-th class sample, respectively. Then we have
[0062]
[0063] Suppose that dataset D represents service health statistics based on historical data, and a classifier is trained using D; where D can be referenced in Table 2 below:
[0064] Table 2
[0065]
[0066]
[0067] Based on the above dataset, assuming the current service has the following characteristics: {Flow switching = Yes, number of service connections = 300, response time = 160, transaction success = Yes, error code = 1113}, the prior probabilities can be calculated:
[0068] P(healthy = yes) ≈ 0.6923;
[0069] P(healthy = no) ≈ 0.3077;
[0070] Discrete-valued attributes include whether the flow was switched, transaction success, and error code; continuous-valued attributes include the number of service connections and response time. Based on the above formula, we can derive:
[0071] a = P(health = yes) * P 是否切流|是 *P 服务连接数:300|是 *P响应时间:160|是 *P 交易成功|是 *P 错误代码:1113|否 ;
[0072] b = P(healthy = no) * P 是否切流|否 *P 服务连接数:300|否 *P 响应时间:160|否 *P 交易成功|否 *P 错误代码:11113|否 ;
[0073] Where a is the probability of being healthy and b is the probability of being abnormal.
[0074] Please refer to Figure 5 As shown, in one embodiment of this application, retrieving the emergency strategy and executing the corresponding emergency handling based on the operating status includes:
[0075] S501 When the health probability is greater than the abnormal probability, the emergency strategy is retrieved through the RPA robot;
[0076] S502 performs emergency switchback processing on the service according to the emergency strategy.
[0077] Specifically, if a > b, the system returns a healthy state and the execution log is recorded in the preset storage location. If b > a, the system checks if any emergency strategy, such as a fallback script, exists in the emergency plan. If so, the emergency fallback script is executed in the operation and maintenance system, and the execution log is recorded in the predetermined storage location. Of course, in actual work, the emergency strategy can be selected and set according to actual needs, and this application does not impose further limitations on it.
[0078] Please refer to Figure 6 As shown, this application also provides a grayscale traffic switching deployment and emergency response device. The device includes a setting module, a data acquisition module, an analysis module, and a processing module. The setting module is used to construct a service traffic switching process, a deployment strategy, and an emergency response strategy according to deployment requirements. The data acquisition module is used to retrieve the corresponding deployment strategy through an RPA robot to perform service traffic switching processing according to the service traffic switching process, and to collect first transaction data and second transaction data generated before and after the service traffic switching processing. The analysis module is used to analyze the first transaction data and second transaction data using a Naive Bayes classifier to obtain the operating status after service traffic switching. The processing module is used to retrieve the emergency response strategy according to the operating status and execute the corresponding emergency response.
[0079] Specifically, in practical work, the principles of grayscale flow switching commissioning and emergency devices can be found in the following references. Figure 7As shown, an intelligent processing module can be added to the RPA robot. This module uses a Naive Bayes allocator to identify the probability of transaction error codes and determine whether the program is in a healthy state after a flow switch, adding judgment and processing capabilities to automated execution. The overall structure can include a process designer, a controller, and a smart robot (hereinafter referred to as sbot). The following description uses a general production operation and maintenance system as an example, including a deployment strategy setting module, a change handling module, an emergency strategy module, and a system log module.
[0080] 1. Process Designer: The process designer designs the overall process. For service switching, sbot logs into the production operations system, retrieves the pilot service list from the deployment strategy setting module, and the intelligent robot filters the services requiring switching. The service switching strategy is executed in the change processing module, and operation logs are saved. For emergency rollback, sbot logs into the production operations system's emergency plan management module to obtain the emergency plan, logs into the system log module to obtain the execution logs, and uses the intelligent module to calculate the service's health status. If the service is healthy, it returns to normal; if the service is unhealthy, it executes an automatic rollback notification according to the emergency plan.
[0081] 2. Controller. A centralized control center monitors the running status of multiple sbots. If an abnormal situation occurs during the execution of a sbot, causing the process to be interrupted, another sbot can be started to take over the task and continue execution.
[0082] 3. Intelligent Robot (Sbot). This includes a process control module 21, an information processing module 22, an information storage module 23, and an artificial intelligence processing module 24. The process control module 21 records the execution flow set by the process controller and controls the Sbot to execute the flow sequentially. The information processing module 22 is equipped with mouse and keyboard event simulation methods and screen capture methods. After logging into the production and maintenance system, it obtains the interface layout and menus through screen capture and accesses specific modules such as production strategy settings through mouse and keyboard event simulation, achieving non-intrusive access. The information storage module 23 stores the pilot service list, for example, in a List... <Map<String,String> The system provides access to information such as the service list, emergency plans, processing results, and training sets, enabling interactive access to the artificial intelligence module. The artificial intelligence module 24 executes service switching scripts based on the specified service list, uses a Naive Bayes classifier to perform algorithms, calculates based on error codes in the system logs, and returns the current health status of the services.
[0083] The beneficial technical effects of this application are as follows: It effectively reduces manual operation steps during business system deployment, lowers the operational risks and manual execution costs associated with system switching when multiple systems need to be jointly deployed, and avoids system risks caused by operational errors. It solves the problem of long lead times for manual intervention emergency plans when business systems experience anomalies at night, effectively reducing the rollback time after anomalies and providing high availability assurance for business systems. It improves the quality of operation and maintenance processes and the accuracy of business processing, making operation and maintenance processes more compliant and secure.
[0084] This application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the above-described method.
[0085] This application also provides a computer-readable storage medium storing a computer program that performs the above-described methods.
[0086] This application also provides a computer program product, including a computer program / instructions that, when executed by a processor, implement the steps of the above-described method.
[0087] like Figure 8 As shown, the electronic device 600 may also include: a communication module 110, an input unit 120, an audio processing unit 130, a display 160, and a power supply 170. It is worth noting that the electronic device 600 does not necessarily need to include these components. Figure 8 All components shown; in addition, the electronic device 600 may also include Figure 8 For components not shown, please refer to existing technologies.
[0088] like Figure 8 As shown, the central processing unit 100, sometimes also referred to as a controller or operating control, may include a microprocessor or other processor device and / or logic device. The central processing unit 100 receives inputs and controls the operation of various components of the electronic device 600.
[0089] The memory 140 may be, for example, one or more of a cache, flash memory, hard drive, removable media, volatile memory, non-volatile memory, or other suitable devices. It may store the aforementioned failure-related information, and also store a program for executing that information. The central processing unit 100 may execute the program stored in the memory 140 to perform information storage or processing, etc.
[0090] Input unit 120 provides input to central processing unit 100. Input unit 120 may be, for example, a keypad or touch input device. Power supply 170 provides power to electronic device 600. Display 160 displays images and text. Display may be, for example, an LCD display, but is not limited thereto.
[0091] The memory 140 can be a solid-state memory, such as a read-only memory (ROM), random access memory (RAM), a SIM card, etc. It can also be a memory that retains information even when power is off, can be selectively erased, and contains more data; examples of this type of memory are sometimes referred to as EPROMs. The memory 140 can also be some other type of device. The memory 140 includes a buffer memory 141 (sometimes referred to as a buffer). The memory 140 may include an application / function storage unit 142 for storing application programs and function programs or processes for executing the operation of the electronic device 600 via the central processing unit 100.
[0092] The memory 140 may also include a data storage unit 143 for storing data, such as contacts, digital data, pictures, sounds, and / or any other data used by the electronic device. The driver storage unit 144 of the memory 140 may include various drivers for the electronic device's communication functions and / or for performing other functions of the electronic device (such as messaging applications, address book applications, etc.).
[0093] The communication module 110 is a transmitter / receiver 110 that transmits and receives signals via antenna 111. The communication module (transmitter / receiver) 110 is coupled to the central processing unit 100 to provide input signals and receive output signals, which can be the same as in a conventional mobile communication terminal.
[0094] Based on different communication technologies, multiple communication modules 110 can be configured in the same electronic device, such as cellular network modules, Bluetooth modules, and / or wireless LAN modules. The communication module (transmitter / receiver) 110 is also coupled to a speaker 131 and a microphone 132 via an audio processor 130 to provide audio output via the speaker 131 and receive audio input from the microphone 132, thereby enabling typical telecommunications functions. The audio processor 130 may include any suitable buffer, decoder, amplifier, etc. Additionally, the audio processor 130 is coupled to a central processing unit 100, enabling on-device recording via the microphone 132 and on-device playback of stored audio via the speaker 131.
[0095] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0096] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0097] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0098] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0099] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of this application. It should be understood that the above descriptions are merely specific embodiments of this application and are not intended to limit the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. A grayscale tangential flow production and emergency response method, characterized in that, The method includes: Develop service switching processes, deployment strategies, and contingency strategies based on deployment requirements; According to the service switching process, the corresponding deployment strategy is retrieved through the RPA robot to perform service switching processing, and the first transaction data and second transaction data generated before and after the service switching processing are collected. Obtain historical service operation status data, and parse the historical service operation status data to obtain discrete value attributes; the discrete value attributes include whether the flow was switched, transaction success data, error code data, service continuity count, and response time; A Naive Bayes classifier is obtained by training the Naive Bayes classifier algorithm using the discrete value attributes. Based on the analysis of the first and second transaction data using a Naive Bayes classifier, the discrete value attributes before and after the service flow switching process are obtained to obtain the health probability and the abnormal probability; the conditions for whether the service is healthy are discrete value attributes. The operational status after service switching is obtained based on the comparison result of the health probability and the abnormal probability. When the health probability is greater than the abnormal probability, the emergency strategy is retrieved via an RPA robot. The service is switched back to an emergency response plan, and the execution log is then recorded in a predetermined storage location. The emergency strategy includes emergency type, switchback support category, and emergency statement.
2. The grayscale tangential flow production and emergency response method according to claim 1, characterized in that, The method further includes: Monitor the operating status of the RPA robot, and when the RPA robot malfunctions and causes the process to be interrupted, activate another RPA robot to take over the current process.
3. The grayscale tangential flow production and emergency response method according to claim 1, characterized in that, Based on the service switching process, the corresponding deployment strategy is retrieved through an RPA robot to perform service switching, including: The service switching time is obtained according to the service switching process, and the corresponding production strategy is retrieved through RPA robot based on the comparison result of the service switching time and the current time. According to the production deployment strategy, the corresponding service switching process is executed and the execution log is saved to a preset location.
4. The grayscale shearing production and emergency response method according to any one of claims 1 to 3, characterized in that, The deployment strategy includes a grayscale stream switching script.
5. A grayscale shear flow commissioning and emergency response device, characterized in that, The device includes a setting module, a data acquisition module, an analysis module, and a processing module; The configuration module is used to build service switching processes, deployment strategies, and emergency strategies according to deployment requirements. The data acquisition module is used to retrieve the corresponding deployment strategy through RPA robot according to the service switching process, perform service switching processing, and collect the first transaction data and the second transaction data generated before and after the service switching processing. The analysis module is used to analyze the first and second transaction data using a Naive Bayes classifier to obtain discrete value attributes before and after service flow switching, and to obtain the health probability and the abnormal probability; the conditions for whether a service is healthy are discrete value attributes. The operational status after service switching is obtained based on the comparison result of the health probability and the abnormal probability. The processing module is used to retrieve the emergency strategy via an RPA robot when the health probability is greater than the abnormal probability. The service is switched back to an emergency response plan, and the execution log is then recorded in a predetermined storage location. The emergency strategy includes emergency type, switchback support category, and emergency statement; The device is also used for: Obtain historical service operation status data, and parse the historical service operation status data to obtain discrete value attributes; the discrete value attributes include whether the flow was switched, transaction success data, error code data, service continuity count, and response time; A Naive Bayes classifier is obtained by training the Naive Bayes classifier algorithm using the discrete value attributes.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method of any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that enables a computer to execute the method of any one of claims 1 to 4.
8. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by the processor, they implement the steps of the method described in any one of claims 1 to 4.
Citation Information
Patent Citations
Distributed system flow switching verification method and device thereof
CN112769941A
Service release processing method and device, storage medium and electronic equipment
CN114528011A
