Service mesh configuration method based on intelligent operation and maintenance and related device thereof

By using an intelligent operation and maintenance service mesh configuration method, an accurate service mesh configuration is generated using an intelligent configuration model and a verification model. This solves the problem of inaccurate configuration using a general model and improves the stability and reliability of the system.

CN118827359BActive Publication Date: 2025-11-28CHINA MOBILE FINANCIAL TECHNOLOGY CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410245042.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-04
Publication Date
2025-11-28
Estimated Expiration
2044-03-04

AI Technical Summary

Technical Problem

Existing general models lack sufficient contextual information and domain-specific knowledge when generating service mesh configurations, resulting in inaccurate configurations.

Method used

A service mesh configuration method based on intelligent operation and maintenance is adopted. By acquiring configuration-related information, the intelligent configuration model is used to iteratively train the large language model to generate accurate service mesh configuration data. Validation and testing are performed when necessary, and configuration samples are updated to improve model accuracy.

Benefits of technology

The generated configuration is more accurate, which improves the stability of the system, avoids potential defects when applied directly in a cluster environment, and enhances the reliability and stability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118827359B_ABST
    Figure CN118827359B_ABST
Patent Text Reader

Abstract

The application discloses a service grid configuration method based on intelligent operation and maintenance and related equipment thereof, relates to the technical field of artificial intelligence, and comprises the following steps: acquiring configuration related information; and processing the configuration related information through an intelligent configuration model to obtain related configuration data of a service grid; wherein the intelligent configuration model is obtained by iteratively training a large language model based on a configuration sample, and the configuration sample comprises service grid related knowledge. In the application, the configuration generated by the intelligent configuration model according to user demand is more accurate because the training sample comprises sufficient service grid field knowledge.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of artificial intelligence, and particularly relates to a service mesh configuration method based on intelligent operation and maintenance and a related device thereof. BACKGROUND

[0002] Istio is an open-source service mesh used to connect, manage, and secure microservices. In Istio, a common configuration generation method is to use a general model. The general model allows users to define a set of general configuration rules, which can then be applied to different services and scenarios as needed.

[0003] However, most general models lack sufficient contextual information or domain-specific knowledge to understand complex configuration requirements, resulting in inaccurate generated configurations. SUMMARY

[0004] The main purpose of the present application is to provide a service mesh configuration method based on intelligent operation and maintenance and a related device thereof, aiming to solve the problem of inaccurate configurations generated by general models.

[0005] To achieve the above purpose, the present application provides a service mesh configuration method based on intelligent operation and maintenance, which comprises the following steps:

[0006] Obtaining configuration-related information;

[0007] Processing the configuration-related information through an intelligent configuration model to obtain related configuration data of the service mesh; wherein the intelligent configuration model is obtained by iteratively training a large language model based on configuration samples, and the configuration samples include service mesh-related knowledge.

[0008] Optionally, after the step of processing the configuration-related information through the intelligent configuration model to obtain the related configuration data of the service mesh, the method comprises:

[0009] Detecting whether there is a verification instruction;

[0010] If the verification instruction is not detected, the related configuration data is fed back to the user;

[0011] If the verification instruction is detected, the related configuration data is verified through an intelligent verification model, and a corresponding verification result is obtained; wherein the intelligent verification model is obtained by iteratively training a large language model based on verification samples.

[0012] Optionally, after the step of detecting the verification instruction and obtaining the corresponding verification result through the intelligent verification model, the method comprises:

[0013] If the verification result does not conform to the expected result, the configuration related information is reprocessed by the intelligent configuration model according to the verification result to obtain updated configuration data of the service mesh; wherein the expected result is generated by the intelligent verification model.

[0014] Optionally, after the step of processing the configuration related information by the intelligent configuration model to obtain the related configuration data of the service mesh, the method further comprises:

[0015] detecting whether an application configuration instruction exists;

[0016] If the application configuration instruction is detected, the related configuration data is tested in a test environment, and the testing of the related configuration data is synchronously monitored;

[0017] If the application configuration instruction is not detected, the related configuration data is fed back to a user.

[0018] Optionally, the step of if the application configuration instruction is detected, the related configuration data is tested in a test environment, and the testing of the related configuration data is synchronously monitored, comprises:

[0019] testing the related configuration data in a test environment, and synchronously monitoring the testing of the related configuration data;

[0020] If the test situation is not detected to be abnormal, the related configuration data is fed back to a user;

[0021] If the test situation is detected to be abnormal, corresponding emergency processing is performed, and the abnormal test situation and the related processing result of the emergency processing are fed back to a user.

[0022] Optionally, after the step of processing the configuration related information by the intelligent configuration model to obtain the related configuration data of the service mesh, the method further comprises:

[0023] updating the configuration sample; wherein the updated configuration sample comprises service mesh related knowledge collected in real time by a crawler technology;

[0024] training the intelligent configuration model based on the updated configuration sample to obtain an updated intelligent configuration model.

[0025] In addition, to achieve the above-mentioned purpose, the application further provides a service mesh configuration device based on intelligent operation and maintenance, comprising:

[0026] an acquisition module configured to acquire configuration related information;

[0027] The configuration module is used to process the configuration-related information through an intelligent configuration model to obtain relevant configuration data for the service mesh; wherein, the intelligent configuration model is obtained by iteratively training a large language model based on configuration samples, and the configuration samples include service mesh-related knowledge.

[0028] In addition, to achieve the above objectives, this application also provides a service mesh configuration device based on intelligent operation and maintenance. The device includes: a memory, a processor, and a service mesh configuration program based on intelligent operation and maintenance stored in the memory and executable on the processor. The service mesh configuration program based on intelligent operation and maintenance is configured to implement the steps of the service mesh configuration method based on intelligent operation and maintenance.

[0029] In addition, to achieve the above objectives, this application also provides a storage medium storing a service mesh configuration program based on intelligent operation and maintenance, wherein when the service mesh configuration program based on intelligent operation and maintenance is executed by a processor, it implements the steps of the service mesh configuration method based on intelligent operation and maintenance.

[0030] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a service mesh configuration program based on intelligent operation and maintenance, wherein when the service mesh configuration program based on intelligent operation and maintenance is executed by a processor, it implements the steps of the service mesh configuration method based on intelligent operation and maintenance.

[0031] This application provides a service mesh configuration method and related equipment based on intelligent operation and maintenance. Compared with most general models in related technologies that lack sufficient contextual information or domain-specific knowledge to understand complex configuration requirements, resulting in inaccurate configurations, this application obtains configuration-related information; processes this information through an intelligent configuration model to obtain relevant service mesh configuration data; wherein the intelligent configuration model is obtained by iteratively training a large language model based on configuration samples, and the configuration samples include service mesh-related knowledge. It can be understood that in this application, by obtaining configuration-related information and obtaining relevant service mesh configuration data through an intelligent configuration model, the configuration generated by the intelligent configuration model according to user needs is more accurate because the training samples include sufficient service mesh domain knowledge. Attached Figure Description

[0032] Figure 1 This is a first flowchart illustrating the first embodiment of the service mesh configuration method based on intelligent operation and maintenance in this application;

[0033] Figure 2 This is the overall logical architecture diagram of the service mesh configuration method based on intelligent operation and maintenance in this application;

[0034] Figure 3A schematic diagram of the overall flow of the service grid configuration method based on intelligent operation and maintenance of the present application;

[0035] Figure 4 A second flow schematic diagram of the second embodiment of the service grid configuration method based on intelligent operation and maintenance of the present application;

[0036] Figure 5 A second scenario schematic diagram of the second embodiment of the service grid configuration method based on intelligent operation and maintenance of the present application;

[0037] Figure 6 A third flow schematic diagram of the third embodiment of the service grid configuration method based on intelligent operation and maintenance of the present application;

[0038] Figure 7 A structural block diagram of the service grid configuration device based on intelligent operation and maintenance of the present application;

[0039] Figure 8 A structural schematic diagram of the hardware running environment involved in the embodiment scheme of the present application.

[0040] The implementation, functional features and advantages of the present application will be further described with reference to the embodiments and the accompanying drawings. DETAILED DESCRIPTION

[0041] It should be understood that the specific embodiments described herein are only used to explain the present application and not to limit the present application.

[0042] Reference Figure 1 , Figure 1 A first flow schematic diagram of the first embodiment of the service grid configuration method based on intelligent operation and maintenance of the present application.

[0043] In the first embodiment, the service grid configuration method based on intelligent operation and maintenance comprises the following steps:

[0044] Step S10, obtaining configuration related information;

[0045] Step S20, processing the configuration related information through an intelligent configuration model to obtain related configuration data of the service grid; wherein the intelligent configuration model is obtained by iteratively training a large language model based on configuration samples, and the configuration samples include service grid related knowledge.

[0046] This embodiment aims to: with the help of AI large model technology, the experience of manual operation and maintenance service grid application is converted into computer experience. Since the training samples include sufficient service grid field knowledge, the intelligent configuration model can generate more accurate configurations according to the user's application deployment requirements.

[0047] The following describes specific steps:

[0048] Step S10, obtain configuration related information;

[0049] It should be noted that the execution subject of the embodiment is a service mesh configuration device based on intelligent operation and maintenance, which can be dependent on a service mesh configuration device based on intelligent operation and maintenance.

[0050] It should be noted that the configuration related information includes application basic data and specific deployment requirements input by the user.

[0051] It can be understood that after obtaining the configuration related information input by the user, the service mesh configuration device based on intelligent operation and maintenance performs legality verification on the configuration related information. If the verification is passed, the configuration related information is preprocessed for subsequent processing of the configuration related information by the intelligent configuration model. If the verification is not passed, the user is notified to re-input the configuration related information.

[0052] For example, the service mesh configuration device based on intelligent operation and maintenance can check, verify and filter the SQL statement input by the user to avoid SQL injection attacks.

[0053] Step S20, processing the configuration related information by an intelligent configuration model to obtain related configuration data of the service mesh; wherein the intelligent configuration model is obtained by iteratively training a large language model based on configuration samples, and the configuration samples include service mesh related knowledge.

[0054] It should be noted that the large language model (Large Language Model, LLM for short) is an artificial intelligence model that uses machine learning technology to understand and generate human language.

[0055] It should be noted that the service mesh related knowledge is mainly derived from the Internet, such as the official website of istio, the istio community forum, istio github, stackoverflow, etc.

[0056] In specific implementation, before processing the configuration related information by the intelligent configuration model, the service mesh configuration device based on intelligent operation and maintenance iteratively trains a large language model based on configuration samples through a reinforcement learning algorithm to obtain an intelligent configuration model.

[0057] It can be understood that the service mesh configuration device based on intelligent operation and maintenance processes the configuration related information by the intelligent configuration model to obtain related configuration data of the service mesh.

[0058] In specific implementation, the service mesh configuration device based on intelligent operation and maintenance pre-processes the configuration related information to obtain data matching the intelligent configuration model format, and then performs model reasoning on the pre-processed configuration related information through the intelligent configuration model to obtain corresponding reasoning data. The service mesh configuration device based on intelligent operation and maintenance converts the reasoning data into related configuration data of the service mesh.

[0059] It should be noted that after obtaining the related configuration data of the service mesh, the service mesh configuration device based on intelligent operation and maintenance detects whether there is a verification instruction, and feeds back the related configuration data to the user or verifies the related configuration data and obtains a corresponding verification result based on the detection result.

[0060] It can be understood that according to the verification result, the service mesh configuration device based on intelligent operation and maintenance re-processes the configuration related information through the intelligent configuration model and obtains updated configuration data, or further detects whether there is an application configuration instruction. According to the detection result, the service mesh configuration device based on intelligent operation and maintenance tests the related configuration data in a test environment and synchronously monitors the test situation, or feeds back the related configuration data to the user.

[0061] In specific implementation, the service mesh configuration device based on intelligent operation and maintenance feeds back the related configuration data to the user according to the test situation, or performs corresponding emergency processing and feeds back the abnormal test situation and related processing result to the user.

[0062] It should be noted that the service mesh configuration device based on intelligent operation and maintenance can obtain the configuration sample from a vector database. The vector database can include service mesh related knowledge collected in real time through a crawler technology, special configuration requirements that cannot be met by a general model and specific processing methods thereof, and historical experience of a user.

[0063] In specific implementation, the service mesh configuration device based on intelligent operation and maintenance updates the configuration sample according to the vector database every other training period, and performs model fine-tuning on the intelligent configuration model based on the updated configuration sample to obtain an updated intelligent configuration model.

[0064] Specifically, after the step S20, steps S21-S22 are further included.

[0065] Step S21: updating the configuration sample; wherein the updated configuration sample includes service mesh related knowledge collected in real time through a crawler technology.

[0066] It should be noted that the crawler technology is a program or script that automatically captures Internet information according to certain rules.

[0067] It can be understood that the service mesh configuration device based on intelligent operation and maintenance updates the configuration sample according to the updated vector database.

[0068] In step S22, the intelligent configuration model is trained based on the updated configuration sample to obtain an updated intelligent configuration model.

[0069] In a specific implementation, the service mesh configuration device based on intelligent operation and maintenance trains the intelligent configuration model based on the updated configuration sample to obtain an updated intelligent configuration model, so as to process the configuration-related information input by the user subsequently through the updated intelligent configuration model.

[0070] In this embodiment, with reference to Figure 2 , after the user inputs the configuration-related information, the service mesh configuration device based on intelligent operation and maintenance performs input legality verification and data preprocessing on the input that passes the verification; after the model is loaded, the service mesh configuration device based on intelligent operation and maintenance performs configuration data preprocessing and reasoning through the intelligent configuration model, processes the reasoning data, and processes them through the configuration data processing tool; if configuration verification is not required, the service mesh configuration device based on intelligent operation and maintenance outputs the related configuration data obtained by processing to the user terminal.

[0071] In this embodiment, with reference to Figure 3 , after the user inputs the configuration-related information, the service mesh configuration device based on intelligent operation and maintenance performs data preprocessing and reasoning through the intelligent configuration model, processes the reasoning data, and processes them through the configuration data processing tool; if the user chooses not to perform configuration verification, the service mesh configuration device based on intelligent operation and maintenance outputs the related configuration data obtained by processing to the user terminal.

[0072] In this embodiment, unlike most general models in related technologies that do not have enough context information or specific domain knowledge to understand complex configuration requirements, resulting in inaccurate generated configurations, in this embodiment, configuration-related information is obtained; the intelligent configuration model is used to process the configuration-related information to obtain related configuration data of the service mesh; the intelligent configuration model is obtained by iteratively training a large language model based on a configuration sample, and the configuration sample includes service mesh-related knowledge. That is, in this embodiment, configuration-related information is obtained, and related configuration data of the service mesh is obtained through an intelligent configuration model. Because the training sample includes sufficient service mesh domain knowledge, the configuration generated by the intelligent configuration model according to user requirements is more accurate.

[0073] Further, with reference to Figure 4Based on the above embodiment, a second embodiment of the present application is provided, in which the step S20 is followed by the following steps:

[0074] Step A10, detecting whether there is a verification instruction;

[0075] It should be noted that the verification instruction is generated according to the user's verification requirement for the related configuration data of the service mesh.

[0076] In specific implementation, after the user inputs configuration related information or obtains related configuration data, the service mesh configuration device based on intelligent operation and maintenance guides the user to select whether to verify the configuration. If the user selects to verify the configuration, a verification instruction is generated. If the user selects not to verify the configuration, no verification instruction is generated.

[0077] Step A20, if the verification instruction is not detected, the related configuration data is fed back to the user.

[0078] In specific implementation, if the verification instruction is not detected, the service mesh configuration device based on intelligent operation and maintenance feeds back the related configuration data to the user.

[0079] Step A30, if the verification instruction is detected, the related configuration data is verified through an intelligent verification model, and a corresponding verification result is obtained. The intelligent verification model is obtained by iteratively training a large language model based on verification samples.

[0080] It should be noted that the verification samples include Istio related knowledge data, automatic test related knowledge data, monitoring, logs, etc. The verification samples are mainly from the Internet, such as istio official website, istio community forum, istio github, stackoverflow, etc.

[0081] It can be understood that if the verification instruction is detected, the service mesh configuration device based on intelligent operation and maintenance pre-processes the related configuration data to obtain data matching the format of the intelligent verification model, then performs model inference through the intelligent verification model to obtain inference data, and then converts the inference data into data required by the verification data processing program, such as verification method and expected result.

[0082] In specific implementation, the service mesh configuration device based on intelligent operation and maintenance verifies the related configuration data according to the generated verification method and obtains a corresponding verification result.

[0083] It should be noted that after obtaining the corresponding verification result, the service mesh configuration device based on intelligent operation and maintenance compares the verification result with the expected result, and according to the comparison result, the related configuration data is fed back to the user, or the configuration related information is processed again through the intelligent configuration model to obtain the updated configuration data.

[0084] In specific implementation, the service mesh configuration device based on intelligent operation and maintenance judges whether the verification result is consistent with the expected result through the response received by the request tool, the application status, the application monitoring, the application log and the like.

[0085] For example, the service mesh configuration device based on intelligent operation and maintenance generates a script and uses a traffic simulation tool to simulate normal request access of a user, and then combines the request tool, the monitoring tool, the log analysis tool and the like to obtain the verification result and compare it with the expected result, so as to verify whether the application state is consistent with the expectation, whether there is an error log in the application, whether the application processing request reaches the expectation and the like.

[0086] In specific implementation, referring to Figure 5 , the service mesh configuration device based on intelligent operation and maintenance simulates normal request access of a user through a traffic simulation tool, and if the request is normally responded and the return value is consistent with the expectation, the verification process is completed; if the request is not normally responded or the return value is inconsistent with the expectation, the monitoring information of the application load corresponding to the service end is obtained, and if the component state is abnormal, the log information of the application load is obtained.

[0087] It should be noted that if the verification result is not consistent with the expected result, the service mesh configuration device based on intelligent operation and maintenance processes the configuration related information again through the intelligent configuration model; if the verification result is consistent with the expected result, the service mesh configuration device based on intelligent operation and maintenance further detects whether there is an application configuration instruction, and performs subsequent processing according to the detection result.

[0088] Specifically, after the step A30, the method further includes a step A31:

[0089] In the step A31, if the verification result is not consistent with the expected result, the configuration related information is processed again through the intelligent configuration model according to the verification result to obtain the updated configuration data of the service mesh; wherein the expected result is generated by the intelligent verification model.

[0090] It should be noted that if the verification result is not consistent with the expected result, the service mesh configuration device based on intelligent operation and maintenance processes the configuration related information again through the intelligent configuration model according to the verification result to obtain the updated configuration data.

[0091] In a specific implementation, the intelligent operation and maintenance based service mesh configuration apparatus records abnormal problems in the verification process and environment and configuration content to a configuration sample for updating an intelligent configuration model.

[0092] In the embodiment, if configuration verification is needed, the intelligent operation and maintenance based service mesh configuration apparatus performs verification data preprocessing after the model is loaded, performs reasoning through an intelligent verification model, processes the reasoning data through a verification data processing tool, initiates a verification request again, and if the verification result is not as expected, the intelligent operation and maintenance based service mesh configuration apparatus pre-processes the verification result into data recognized by a configuration module. Figure 2

[0093] In the embodiment, if configuration verification is needed, the intelligent operation and maintenance based service mesh configuration apparatus performs verification data preprocessing after the model is loaded, performs reasoning through an intelligent verification model, processes the reasoning data through a verification data processing tool, initiates a verification request again, and if the verification result is not as expected, the intelligent operation and maintenance based service mesh configuration apparatus pre-processes the verification result into data recognized by a configuration module. Figure 3

[0094] In the embodiment, compared with directly applying the obtained configuration in a cluster environment in the related art, which may have certain defects and thus leads to poor system stability, in the embodiment, it is detected whether a verification instruction exists; if the verification instruction is not detected, the related configuration data is fed back to a user; if the verification instruction is detected, the related configuration data is verified through an intelligent verification model, and a corresponding verification result is obtained; the intelligent verification model is obtained by iteratively training a large language model based on a verification sample. That is, in the embodiment, a verification instruction is detected, and the related configuration data is directly fed back according to the verification instruction or the related configuration data is further verified. By performing pre-verification on an application system, possible situations are fully verified before the system provides services to the outside, and problems are avoided in advance, thereby enhancing system stability.

[0095] Further, referring to Figure 6 ​​Based on the above embodiments, a third embodiment of the present application is provided, in which the step S20 is followed by the following steps:

[0096] Step B10, detecting whether there is an application configuration instruction;

[0097] It should be noted that the application configuration instruction is generated according to the user's simulation test requirements for the related configuration data of the service mesh.

[0098] In specific implementation, after the user inputs the configuration related information or obtains the verification result of the related configuration data, the service mesh configuration device based on intelligent operation and maintenance guides the user to select whether to apply the configuration in the environment. If the user selects to apply the configuration in the environment, the application configuration instruction is generated. If the user selects not to apply the configuration in the environment, the application configuration instruction is not generated.

[0099] Step B20, if the application configuration instruction is detected, testing the related configuration data in the test environment and synchronously monitoring the test situation of the related configuration data;

[0100] It can be understood that if the application configuration instruction is detected, the service mesh configuration device based on intelligent operation and maintenance tests the related configuration data in the test environment and synchronously monitors the test situation.

[0101] In specific implementation, if no test situation abnormality is detected, the service mesh configuration device based on intelligent operation and maintenance feeds back the related configuration data to the user. If test situation abnormality is detected, the service mesh configuration device based on intelligent operation and maintenance performs corresponding emergency handling and feeds back the abnormal test situation and related processing result to the user.

[0102] For example, the service mesh configuration device based on intelligent operation and maintenance monitors performance indicators such as application delay, throughput and bandwidth, and automatically scales according to traffic conditions to ensure that the used resources and performance are in the best state. If a sudden fault occurs, emergency measures are automatically triggered, such as re-routing traffic or starting a standby instance.

[0103] Specifically, the step B20 further includes steps B21-B23:

[0104] Step B21, testing the related configuration data in the test environment and synchronously monitoring the test situation of the related configuration data;

[0105] In specific implementation, the service mesh configuration device based on intelligent operation and maintenance utilizes monitoring components, kubernetes operators, HPA and other Kubernetes API technologies to realize monitoring and emergency handling control of the application in the test environment.

[0106] Step B22: If no abnormality is detected in the test situation, the relevant configuration data will be fed back to the user.

[0107] In practice, if no abnormalities are detected in the test, the service mesh configuration device based on intelligent operation and maintenance will feed back the relevant configuration data to the user, and at the same time report that there are no abnormal test conditions.

[0108] Step B23: If an abnormality is detected in the test, corresponding emergency measures are taken, and the user is informed of the abnormal test situation and the relevant processing results of the emergency measures.

[0109] It is understandable that if an abnormal test situation is detected, the service mesh configuration device based on intelligent operation and maintenance will perform corresponding emergency handling and provide feedback to the user on the abnormal test situation and related handling results.

[0110] For example, if a sudden surge in traffic occurs, the service mesh configuration device based on intelligent operation and maintenance will automatically add application instances through the configured HPA to automatically adjust the number of application load replicas according to the application load's CPU and memory usage.

[0111] Step B30: If the application configuration instruction is not detected, the relevant configuration data is fed back to the user.

[0112] In practice, if no application configuration command is detected, the service mesh configuration device based on intelligent operation and maintenance will feed back the relevant configuration data to the user.

[0113] In this embodiment, refer to Figure 2 If the verification result meets expectations and direct application configuration is required, the service mesh configuration device based on intelligent operation and maintenance performs application configuration and runs the monitoring and control module. The service mesh configuration device based on intelligent operation and maintenance monitors whether the application is running normally. If the application is running normally, the service mesh configuration device based on intelligent operation and maintenance continuously monitors the application's operation. If the application is not running normally, the service mesh configuration device based on intelligent operation and maintenance performs emergency handling according to different situations and sends emergency situation notifications and problem handling result notifications.

[0114] In this embodiment, refer to Figure 3If the verification result is as expected and the user selects to perform application configuration, the intelligent operation and maintenance based service mesh configuration apparatus runs a monitoring control module. The intelligent operation and maintenance based service mesh configuration apparatus monitors whether the application is normally running. If the application is normally running, the intelligent operation and maintenance based service mesh configuration apparatus continuously monitors the application running condition. If the application is not normally running, the intelligent operation and maintenance based service mesh configuration apparatus performs emergency treatment according to different situations, and performs emergency situation notification and problem processing result notification.

[0115] In the embodiment, whether an application configuration instruction exists is detected. If the application configuration instruction is detected, the related configuration data is tested in a test environment, and the test condition of the related configuration data is synchronously monitored. If the application configuration instruction is not detected, the related configuration data is fed back to the user. That is, in the embodiment, the application configuration instruction is detected, and the related configuration data is directly fed back according to the application configuration instruction or the related configuration data is tested. By simulating application of the application system, possible conditions are fully verified before the system provides services to the outside, and the occurrence of problems is avoided in advance, thereby enhancing system stability.

[0116] In addition, the embodiment of the application further provides an intelligent operation and maintenance based service mesh configuration apparatus, which refers to Figure 7 The intelligent operation and maintenance based service mesh configuration apparatus comprises:

[0117] The acquisition module 10 is configured to acquire configuration related information.

[0118] The configuration module 20 is configured to process the configuration related information by using an intelligent configuration model to obtain related configuration data of the service mesh. The intelligent configuration model is obtained by iteratively training a large language model based on a configuration sample. The configuration sample comprises service mesh related knowledge.

[0119] Optionally, the intelligent operation and maintenance based service mesh configuration apparatus further comprises:

[0120] The detection module is configured to detect whether a verification instruction exists.

[0121] The feedback module is configured to feed back the related configuration data to the user if the verification instruction is not detected.

[0122] The verification module is configured to verify the related configuration data by using an intelligent verification model if the verification instruction is detected, and obtain a corresponding verification result. The intelligent verification model is obtained by iteratively training a large language model based on a verification sample.

[0123] Optionally, the service mesh configuration device based on intelligent operation and maintenance further comprises:

[0124] a reconfiguration module configured to, if the verification result does not conform to an expected result, reprocess the configuration-related information according to the verification result by using the intelligent configuration model to obtain updated configuration data of the service mesh, wherein the expected result is generated by using the intelligent verification model.

[0125] Optionally, the service mesh configuration device based on intelligent operation and maintenance further comprises:

[0126] an instruction detection module configured to detect whether an application configuration instruction exists;

[0127] a test module configured to, if the application configuration instruction is detected, test the related configuration data in a test environment and synchronously monitor a test situation of the related configuration data;

[0128] a test feedback module configured to, if the application configuration instruction is not detected, feed back the related configuration data to a user.

[0129] Optionally, the test module further comprises:

[0130] a test unit configured to test the related configuration data in a test environment and synchronously monitor a test situation of the related configuration data;

[0131] a feedback unit configured to, if the test situation is not detected to be abnormal, feed back the related configuration data to a user;

[0132] an emergency unit configured to, if the test situation is detected to be abnormal, perform corresponding emergency processing and feed back, to the user, a related processing result of the abnormal test situation and the emergency processing.

[0133] Optionally, the service mesh configuration device based on intelligent operation and maintenance further comprises:

[0134] an update module configured to update the configuration sample, wherein the updated configuration sample comprises service mesh-related knowledge collected in real time by using a crawler technology;

[0135] a training module configured to, based on the updated configuration sample, train the intelligent configuration model to obtain an updated intelligent configuration model.

[0136] In this embodiment, configuration related information is obtained; the configuration related information is processed through an intelligent configuration model to obtain related configuration data of the service mesh; wherein the intelligent configuration model is obtained by iteratively training a large language model based on configuration samples, and the configuration samples include service mesh related knowledge. That is, in this embodiment, configuration related information is obtained, and related configuration data of the service mesh is obtained through an intelligent configuration model. Since the training samples include sufficient service mesh domain knowledge, the configuration generated by the intelligent configuration model according to user demand is more accurate.

[0137] The specific embodiments of the service mesh configuration device based on intelligent operation and maintenance of the present application are basically the same as the above-mentioned embodiments of the service mesh configuration method based on intelligent operation and maintenance, and will not be repeated here.

[0138] Reference Figure 8 , Figure 8 The hardware running environment of the service mesh configuration device based on intelligent operation and maintenance involved in the embodiment scheme of the present application.

[0139] As Figure 8 shown, the service mesh configuration device based on intelligent operation and maintenance can include a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 can include a display screen, an input unit such as a keyboard, and an optional user interface 1003 can also include a standard wired interface, a wireless interface. The network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 can be a high-speed random access memory (RAM) memory, or a stable non-volatile memory (NVM), such as a magnetic disk memory. The memory 1005 can also be a storage device independent of the aforementioned processor 1001.

[0140] Those skilled in the art can understand Figure 8 that the structure shown in the figure does not constitute a limitation on the service mesh configuration device based on intelligent operation and maintenance, and can include more or fewer components than the figure, or combine certain components, or different component arrangements.

[0141] As Figure 8As shown, the memory 1005 as a computer storage medium can include an operating system, a network communication module, a user interface module, and a smart operation and maintenance based service mesh configuration program.

[0142] The operating system is a program for managing and controlling the smart operation and maintenance based service mesh configuration device and software resources, supports the running of the network communication module, the user interface module, the smart operation and maintenance based service mesh configuration program, and other programs or software, the network communication module is used for managing and controlling the network interface 1004; and the user interface module is used for managing and controlling the user interface 1003.

[0143] In Figure 8 In the smart operation and maintenance based service mesh configuration device shown, the smart operation and maintenance based service mesh configuration device calls the smart operation and maintenance based service mesh configuration program stored in the memory 1005 through the processor 1001, and realizes the steps of the smart operation and maintenance based service mesh configuration method according to any one of the above embodiments.

[0144] The specific implementation of the smart operation and maintenance based service mesh configuration device of the present application is basically the same as that of the above-mentioned smart operation and maintenance based service mesh configuration method, and will not be repeated here.

[0145] In addition, the embodiment of the present application also proposes a storage medium, and the embodiment of the present application provides a storage medium, and the storage medium stores one or more programs, and the one or more programs can also be executed by one or more processors to realize the steps of the smart operation and maintenance based service mesh configuration method according to any one of the above embodiments.

[0146] The specific implementation of the storage medium of the present application is basically the same as that of the above-mentioned smart operation and maintenance based service mesh configuration method, and will not be repeated here.

[0147] In addition, the embodiment of the present application also proposes a computer program product, which includes a smart operation and maintenance based service mesh configuration program, and the smart operation and maintenance based service mesh configuration program is executed by a processor to realize the steps of the smart operation and maintenance based service mesh configuration method as described above.

[0148] The specific implementation of the computer program product of the present application is basically the same as that of the above-mentioned smart operation and maintenance based service mesh configuration method, and will not be repeated here.

[0149] It should be noted that, in this document, the terms "comprises", "comprising", or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises a" does not, without more constraints, exclude the presence of additional identical elements in the process, method, article, or apparatus that comprises the element.

[0150] The above-mentioned sequence numbers of embodiments of the present application are only for description, and do not represent advantages or disadvantages of the embodiments.

[0151] From the above description of the embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be realized by means of software and necessary general hardware platforms, and of course can also be realized by hardware, but in many cases the former is a better embodiment. Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product in essence or in the form of a part of the prior art that makes a contribution. The computer software product is stored in a storage medium such as a ROM / RAM, a magnetic disc, or an optical disc, and includes a plurality of instructions for causing a terminal device (which can be a mobile phone, a computer, a server, or a network device) to execute the methods described in the various embodiments of the present application.

[0152] The above is only a preferred embodiment of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation, or direct or indirect application in other related technical fields, which is made by using the content of the specification and drawings of the present application, is also included in the patent protection scope of the present application.

Claims

1. A service mesh configuration method based on intelligent operation and maintenance, characterized in that, The application is applied to a service grid configuration device based on intelligent operation and maintenance, and the service grid configuration method based on intelligent operation and maintenance comprises the following steps: Obtain configuration-related information; Process the configuration-related information through an intelligent configuration model to obtain related configuration data of the service grid; wherein the intelligent configuration model is obtained by iteratively training a large language model based on configuration samples, and the configuration samples comprise service grid-related knowledge; Detect whether a verification instruction exists; If the verification instruction exists, the service grid configuration device based on intelligent operation and maintenance performs verification data preprocessing after the model is loaded, and performs reasoning through an intelligent verification model; the service grid configuration device based on intelligent operation and maintenance processes the reasoning data, processes them through a verification data processing tool, and then initiates a verification request; if the verification result does not meet the expectation, the service grid configuration device based on intelligent operation and maintenance preprocesses the verification result into data recognizable by a configuration module; if the verification result meets the expectation and direct application configuration is not required, the service grid configuration device based on intelligent operation and maintenance outputs the related configuration data to a user terminal.

2. The service mesh configuration method based on intelligent operation and maintenance according to claim 1, wherein, After the step of detecting whether the verification instruction exists, the following steps are included: If the verification instruction is not detected, the related configuration data is fed back to the user; If the verification instruction is detected, the related configuration data is verified through an intelligent verification model, and a corresponding verification result is obtained; wherein the intelligent verification model is obtained by iteratively training a large language model based on verification samples. 3.The intelligent operation and maintenance based service mesh configuration method of claim 2, wherein, After the step of detecting the verification instruction and verifying the related configuration data through the intelligent verification model to obtain the corresponding verification result, the following steps are included: If the verification result does not meet the expected result, the configuration-related information is processed again through the intelligent configuration model according to the verification result to obtain updated configuration data of the service grid; wherein the expected result is generated through the intelligent verification model. 4.The service mesh configuration method based on intelligent operation and maintenance according to any one of claims 1-3, wherein, After the step of processing the configuration-related information through the intelligent configuration model to obtain the related configuration data of the service grid, the following steps are included: Detect whether an application configuration instruction exists; If the application configuration instruction is detected, the related configuration data is tested in a test environment, and the test situation of the related configuration data is synchronously monitored; If the application configuration instruction is not detected, the related configuration data is fed back to the user.

5. The service mesh configuration method based on intelligent operation and maintenance according to claim 4, wherein, The step of detecting the application configuration instruction and testing the related configuration data in a test environment to synchronously monitor the test situation of the related configuration data comprises the following steps: Test the related configuration data in a test environment, and synchronously monitor the test situation of the related configuration data; If the test situation is not detected to be abnormal, the related configuration data is fed back to the user; If the test situation is detected to be abnormal, corresponding emergency handling is performed, and the user is fed back to the abnormal test situation and the related processing result of the emergency handling.

6. The intelligent operation and maintenance based service mesh configuration method of claim 1, wherein, After the step of processing the configuration-related information through the intelligent configuration model to obtain the related configuration data of the service grid, the following steps are included: updating the configuration sample; wherein the updated configuration sample comprises service mesh related knowledge collected in real time through a crawler technology; training the intelligent configuration model based on the updated configuration sample to obtain an updated intelligent configuration model.

7. An intelligent operation and maintenance based service mesh configuration apparatus, characterized in that, The service mesh configuration device based on intelligent operation and maintenance comprises: an acquisition module configured to acquire configuration related information; a configuration module configured to process the configuration related information through an intelligent configuration model to obtain related configuration data of a service mesh; wherein the intelligent configuration model is obtained by iteratively training a large language model based on a configuration sample, and the configuration sample comprises service mesh related knowledge. The service mesh configuration device based on intelligent operation and maintenance is configured to implement: detecting whether there is a verification instruction; if there is, the service mesh configuration device based on intelligent operation and maintenance performs verification data preprocessing after the model is loaded, and performs reasoning through an intelligent verification model; the service mesh configuration device based on intelligent operation and maintenance processes the reasoning data and processes them through a verification data processing tool, and then initiates a verification request; if the verification result does not meet the expectation, the service mesh configuration device based on intelligent operation and maintenance preprocesses the verification result into data recognizable by the configuration module; if the verification result meets the expectation and does not need to be directly applied to configuration, the service mesh configuration device based on intelligent operation and maintenance outputs the related configuration data to a user terminal.

8. A service mesh configuration device based on intelligent operation and maintenance, characterized in that, The device comprises a memory, a processor, and a service mesh configuration program based on intelligent operation and maintenance stored on the memory and executable on the processor, and the service mesh configuration program based on intelligent operation and maintenance is configured to implement the steps of the service mesh configuration method based on intelligent operation and maintenance according to any one of claims 1 to 6.

9. A storage medium, characterized by The storage medium stores a service mesh configuration program based on intelligent operation and maintenance, and the service mesh configuration program based on intelligent operation and maintenance implements the steps of the service mesh configuration method based on intelligent operation and maintenance according to any one of claims 1 to 6 when executed by a processor.

10. A computer program product, characterised in that, The computer program product comprises a service mesh configuration program based on intelligent operation and maintenance, and the service mesh configuration program based on intelligent operation and maintenance implements the steps of the service mesh configuration method based on intelligent operation and maintenance according to any one of claims 1 to 6 when executed by a processor.

Citation Information

Patent Citations

  • Distributed system control method and related equipment

    CN114138491A

  • Internet of Things system

    CN116368355A