Cloud computing server fault diagnosis method and device, equipment and medium

By collecting and analyzing the operating data of cloud computing servers in real time, using machine learning algorithms to extract feature information and establishing fault diagnosis models, we solve the problem of poor diagnosis results of traditional methods in large-scale servers and achieve efficient fault location and rapid recovery. .

CN118550744APending Publication Date: 2024-08-27SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410472984.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-19
Publication Date
2024-08-27

Smart Images

  • Figure CN118550744A
    Figure CN118550744A
Patent Text Reader

Abstract

According to the scheme, the method comprises the steps of collecting operation data of a server in real time in the operation process of the server; according to at least one preset fault data template, the operation data is divided into normal data and fault data under each fault type, and each fault data template corresponds to one fault type; extracting respective data feature information of the normal data and the fault data under each fault type; and training a machine learning algorithm model according to the data feature information to obtain a fault diagnosis model, and performing fault diagnosis on the cloud computing server through the fault diagnosis model. According to the scheme of the invention, global and local feature information extraction is carried out on the working state data of the cloud computing server, and then parallel merging is carried out for establishing the fault diagnosis model, so that the diagnosis accuracy of the model can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a cloud computing server fault diagnosis method, device, equipment and medium. Background Art

[0002] With the rapid development and in-depth application of computer technology and information and communication technology, massive amounts of data are generated every day in various fields. How to effectively process these massive amounts of data and extract valuable information from them has become a difficult problem. To this end, the emergence of cloud computing technology provides an important data processing method for extracting valuable information from massive data. Cloud computing systems use a data parallel processing method that divides a large data set into multiple sub-data sets, and then uses multiple nodes to process each sub-data set in parallel, which accelerates the speed of data processing and gradually becomes a mainstream technology for massive data processing.

[0003] To ensure that cloud computing can work quickly and efficiently, the server that supports its operations is the key. Once a server fails during operation, it will lead to the interruption of cloud computing work and stagnation of data processing. Therefore, how to timely and effectively model and analyze the failures that occur during the operation of cloud computing servers has become an important research topic.

[0004] As the scale of cloud computing servers continues to expand and their internal structures become increasingly complex, the use of traditional model-based diagnostic methods has become too dependent on precise mathematical models of the object system, and therefore their applicability has gradually declined, making it difficult to ensure the effectiveness of diagnosis. Summary of the invention

[0005] The embodiments of the present invention provide a cloud computing server fault diagnosis method, apparatus, device and medium, which can improve the effect of cloud computing server fault diagnosis.

[0006] According to one aspect of the present invention, a method for diagnosing a cloud computing server fault is provided, comprising:

[0007] Collect server operation data in real time during server operation;

[0008] Dividing the operation data into normal data and fault data under each fault type according to at least one preset fault data template, wherein each fault data template corresponds to one fault type;

[0009] Extracting respective data feature information of the normal data and the fault data under each fault type;

[0010] The machine learning algorithm model is trained according to the data feature information to obtain a fault diagnosis model, and the fault diagnosis model is used to perform fault diagnosis on the cloud computing server.

[0011] Optionally, dividing the operation data into normal data and fault data under each fault type according to at least one preset fault data template includes:

[0012] When data is collected, determining whether the data conforms to the characteristics of any of the fault data templates;

[0013] If it does not match, the data is normal data;

[0014] If it does, the data is the fault data of the fault type corresponding to the fault data template.

[0015] Optionally, after dividing the operation data into normal data and fault data under each fault type according to at least one preset fault data template, the method further includes:

[0016] The normal data and the fault data are preprocessed, and the preprocessing includes at least one of data cleaning processing, data denoising processing, data clustering analysis and data normalization processing.

[0017] Optionally, the extracting respective data feature information of the normal data and the fault data under each fault type includes:

[0018] Extracting global feature information of the normal data and the fault data by an automatic encoder and an attention mechanism in a machine learning method, wherein the global feature information represents a relationship between first feature information of a set formed by data features of the normal data and second feature information of a set formed by data features of the fault data;

[0019] Extracting local feature information of the normal data and the fault data by a manifold learning method in a machine learning method, wherein the local feature information represents a relationship between the third feature information of each normal data and the fourth feature information of each fault data;

[0020] The global feature information and the local feature information extracted from the normal data and the fault data are combined to obtain the data feature information.

[0021] Optionally, the extracting global feature information of the normal data and the fault data by using an autoencoder and an attention mechanism in a machine learning method includes:

[0022] Extracting the first feature information and the second feature information by the automatic encoder;

[0023] The attention mechanism is used to respectively calculate the correlation between the first feature information, the second feature information and the label data and assign weight ratios to obtain the global feature information.

[0024] Optionally, the extracting local feature information of the normal data and the fault data by a manifold learning method in a machine learning method includes:

[0025] Extracting the third feature information and the fourth feature information by a manifold learning method;

[0026] The Euclidean distance between each of the normal data and the fault data is calculated according to the third characteristic information and the fourth characteristic information, and sample points with close Euclidean distances are brought closer to obtain the local characteristic information.

[0027] Optionally, training a machine learning algorithm model according to the data feature information to obtain a fault diagnosis model includes:

[0028] Dividing the global feature information into a training set and a test set according to a preset ratio;

[0029] Training the machine learning algorithm model through the training set to obtain the fault diagnosis model;

[0030] The diagnostic accuracy of the fault diagnosis model is verified by the testing machine, and when the diagnostic accuracy does not meet the preset requirement, the fault diagnosis model is retrained by the training set.

[0031] According to another aspect of the present invention, there is provided a cloud computing server fault diagnosis device, comprising:

[0032] A collection unit, used to collect the operation data of the server in real time during the operation of the server;

[0033] a dividing unit, configured to divide the operation data into normal data and fault data under each fault type according to at least one preset fault data template, wherein each fault data template corresponds to one fault type;

[0034] An extraction unit, used to extract data feature information of the normal data and the fault data under each fault type;

[0035] The training unit is used to train the machine learning algorithm model according to the data feature information to obtain a fault diagnosis model, and perform fault diagnosis on the cloud computing server through the fault diagnosis model.

[0036] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0037] At least one processor; and a memory in communication with the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the cloud computing server fault diagnosis method described in any embodiment of the present invention.

[0038] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the cloud computing server fault diagnosis method described in any embodiment of the present invention when executed.

[0039] The scheme of the embodiment of the present invention collects the operation data of the server in real time during the operation of the server; divides the operation data into normal data and fault data under each fault type according to at least one preset fault data template, wherein each fault data template corresponds to a fault type; extracts the data feature information of the normal data and the fault data under each fault type; trains the machine learning algorithm model according to the data feature information to obtain a fault diagnosis model, and performs fault diagnosis on the cloud computing server through the fault diagnosis model. The scheme of the embodiment of the present invention extracts global and local feature information from the working status data of the cloud computing server, and then merges them in parallel for the establishment of the fault diagnosis model. The method is simple to operate and easy to establish the model. It can effectively improve the diagnostic accuracy of the model, quickly locate the fault occurrence point, improve the work efficiency of operation and maintenance personnel, and avoid the overall paralysis of the cloud computing service due to the server not finding the fault source for a long time, thereby minimizing the loss of the enterprise and improving work efficiency.

[0040] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0042] Figure 1 is a flow chart of a cloud computing server fault diagnosis method provided by an embodiment of the present invention;

[0043] Figure 2It is a schematic diagram of a data collection process of a cloud computing server running to which an embodiment of the present invention is applicable;

[0044] Figure 3 is a flow chart of data preprocessing applicable to an embodiment of the present invention;

[0045] Figure 4 is a flow chart of a data feature extraction process applicable to an embodiment of the present invention;

[0046] Figure 5 is a flow chart of cloud computing server fault diagnosis to which an embodiment of the present invention is applicable;

[0047] Figure 6 It is a fault diagnosis model framework diagram of a cloud computing server to which an embodiment of the present invention is applicable;

[0048] Figure 7 It is a structural schematic diagram of a cloud computing server fault diagnosis device provided by an embodiment of the present invention;

[0049] Figure 8 It is a structural schematic diagram of an electronic device for implementing the cloud computing server fault diagnosis method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0050] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0051] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0052] In order to establish a high-precision cloud computing server fault diagnosis model, it is of great significance for operation and maintenance personnel to extract valuable information from the normal operation data and fault data in the cloud computing server. Usually, a model-based fault diagnosis method is adopted. This method relies on the fact that the mathematical model of the object system is known. However, as the scale of cloud computing servers continues to expand and the internal structure continues to become more complex, it becomes very difficult to establish an accurate mathematical model for them. At the same time, with the generation of massive amounts of data, the model-based fault diagnosis method is gradually no longer applicable. The established diagnostic model has low accuracy and cannot provide useful information for subsequent troubleshooting, operation and processing. To this end, the present invention adopts a data-driven method and uses machine learning technology to analyze the operation data of the cloud computing server to establish a high-performance cloud computing server fault diagnosis model. The established model can combine the global and local information of the server data, which has an important impact on the improvement of the model performance, thereby effectively increasing the efficiency of subsequent troubleshooting, processing and other work.

[0053] Figure 1 is a flow chart of a cloud computing server fault diagnosis method provided by an embodiment of the present invention, such as Figure 1 As shown, the method comprises the following steps:

[0054] S110: Collecting operation data of the server in real time during the operation of the server.

[0055] In order to establish a cloud computing server fault diagnosis model with strong universality and high accuracy, it is necessary to collect data from the entire process of server operation, which includes not only the data collection of cloud computing software operation, including data under normal operation and data under operation failure, but also data collection of hardware server working status, including data under normal operation and data under failure. At the same time, in the failure state, it is also necessary to comprehensively consider the failure of cloud computing software or hardware servers caused by different fault sources and collect data under different fault states.

[0056] S120. Divide the operation data into normal data and fault data under each fault type according to at least one preset fault data template, wherein each fault data template corresponds to one fault type.

[0057] In an embodiment of the present invention, the dividing the operation data into normal data and fault data under each fault type according to at least one preset fault data template includes:

[0058] When data is collected, determining whether the data conforms to the characteristics of any of the fault data templates;

[0059] If it does not match, the data is normal data;

[0060] If it does, the data is the fault data of the fault type corresponding to the fault data template.

[0061] Figure 2 Schematic diagram of the data collection process of the cloud computing server operation applicable to the embodiment of the present invention. Among them, the fault data template is obtained by the characteristics of the corresponding fault type. For example, fault 1 corresponds to fault data under network abnormality, and fault 2 corresponds to fault data under insufficient computing resources. When the data is collected, it is determined whether the data meets the characteristics of any fault data template, that is, it is determined which fault type the data belongs to. The final full process data includes data in the normal state, that is, abnormal data of fault type 1-fault type n.

[0062] Since the fault data template is constructed based on common abnormal conditions, there may be data that does not belong to any fault data template but is actually a fault. Therefore, the fault data template needs to be updated regularly so that more fault data can be identified.

[0063] In an embodiment of the present invention, after dividing the operation data into normal data and fault data under each fault type according to at least one preset fault data template, the method may further include:

[0064] The normal data and the fault data are preprocessed, and the preprocessing includes at least one of data cleaning processing, data denoising processing, data clustering analysis and data normalization processing.

[0065] Figure 3 : This is a flowchart of data preprocessing applicable to the embodiment of the present invention. Data preprocessing is an important part of ensuring the accuracy of the diagnostic model, which can provide sufficient and high-quality full-process data for the diagnostic model. Data preprocessing is performed on the normal data and fault data of the cloud computing software operation and server operation collected, including data cleaning, data denoising, data clustering analysis and data normalization. The data obtained by the acquisition model often have problems such as noise, outliers, and missing values. Therefore, before establishing a fault diagnosis model, it is necessary to first process the data, remove the outliers, fill or delete the missing values, and filter and denoise the data. Secondly, it is necessary to label the cleaned data, mark the normal or fault state represented by each data, and provide it for the establishment of the fault diagnosis model. Finally, considering the problem of inconsistent data dimensions at different data collection points, information with large dimensions will cover information with small dimensions, causing valuable information with smaller dimensions to be lost, affecting the accuracy of the diagnostic model. Therefore, before establishing the diagnostic model, all data need to be normalized to ensure the uniformity of dimensions between data and make full use of data information to establish a diagnostic model.

[0066] S130: Extracting data feature information of the normal data and the fault data of each fault type.

[0067] In the embodiment of the present invention, step S130 may specifically include the following steps:

[0068] Extracting global feature information of the normal data and the fault data by an automatic encoder and an attention mechanism in a machine learning method, wherein the global feature information represents a relationship between first feature information of a set formed by data features of the normal data and second feature information of a set formed by data features of the fault data;

[0069] Extracting local feature information of the normal data and the fault data by a manifold learning method in a machine learning method, wherein the local feature information represents a relationship between the third feature information of each normal data and the fourth feature information of each fault data;

[0070] The global feature information and the local feature information extracted from the normal data and the fault data are combined to obtain the data feature information.

[0071] In an embodiment of the present invention, the extracting global feature information of the normal data and the fault data by using an autoencoder and an attention mechanism in a machine learning method includes:

[0072] Extracting the first feature information and the second feature information by the automatic encoder;

[0073] The attention mechanism is used to respectively calculate the correlation between the first feature information, the second feature information and the label data and assign weight ratios to obtain the global feature information.

[0074] In an embodiment of the present invention, extracting local feature information of the normal data and the fault data by a manifold learning method in a machine learning method includes:

[0075] Extracting the third feature information and the fourth feature information by a manifold learning method;

[0076] The Euclidean distance between each of the normal data and the fault data is calculated according to the third characteristic information and the fourth characteristic information, and sample points with close Euclidean distances are brought closer to obtain the local characteristic information.

[0077] Figure 4It is a flow chart of the data feature extraction process applicable to the embodiment of the present invention. Data feature extraction can extract the internal feature information of normal data and fault data. First, the global features and local features of the preprocessed data are extracted respectively. In the global feature extraction, the autoencoder and attention mechanism in the machine learning method are used to extract the global feature information of normal data and fault data. The global features of the data are extracted through the autoencoder model. Then, the correlation between the features is calculated through the attention mechanism, and the features are given a certain weight ratio to achieve the correspondence between the correlation between normal and fault data features. In the local feature extraction, the manifold learning method in the machine learning method is used to achieve the local feature extraction of the data. The local features are extracted by calculating the Euclidean distance between data sample points, and the close sample points in the data are brought closer together, so that the data points of different categories are farther apart and the data points of the same category are closer together, ensuring the local feature information between the data, which is convenient for improving the diagnostic accuracy of the subsequent diagnosis model. Finally, the global-local feature information is fused, and the global and local feature information extracted from normal data and fault data are combined to jointly establish an accurate and efficient cloud computing server fault diagnosis model. From a macro perspective, global information can ensure the universality of the established diagnosis model, and from a micro perspective, local information can ensure the accuracy of the established diagnosis model.

[0078] S140. Train a machine learning algorithm model according to the data feature information to obtain a fault diagnosis model, and perform fault diagnosis on the cloud computing server using the fault diagnosis model.

[0079] In the embodiment of the present invention, step S140 may specifically include the following steps:

[0080] Dividing the global feature information into a training set and a test set according to a preset ratio;

[0081] Training the machine learning algorithm model through the training set to obtain the fault diagnosis model;

[0082] The diagnostic accuracy of the fault diagnosis model is verified by the testing machine, and when the diagnostic accuracy does not meet the preset requirement, the fault diagnosis model is retrained by the training set.

[0083] Figure 5 This is a flow chart of cloud computing server fault diagnosis applicable to the embodiment of the present invention. Before establishing a diagnostic model, it is necessary to first extract global-local features from the preprocessed data, and then divide the model into a training set and a test set. A high-precision fault diagnosis model is established through the training set, and then the diagnostic accuracy of the established model is verified through the test set. The diagnostic model can generally use machine learning algorithms such as Adaboost, Bayesian classification, and SVM classification.

[0084] Figure 6 The present invention is a fault diagnosis model framework diagram of a cloud computing server applicable to the embodiment of the present invention, which includes a data acquisition module, a data preprocessing module, a data feature extraction module, and a fault diagnosis model establishment module. The solution of the embodiment of the present invention extracts global and local feature information from the working status data of the cloud computing server, and then merges them in parallel for the establishment of the fault diagnosis model. The method is simple to operate and easy to establish the model. It can effectively improve the diagnostic accuracy of the model, quickly locate the fault point, improve the work efficiency of operation and maintenance personnel, and avoid the overall paralysis of the cloud computing service due to the server not finding the fault source for a long time, thereby minimizing the loss of the enterprise and improving work efficiency.

[0085] Figure 7 is a schematic diagram of the structure of a cloud computing server fault diagnosis device provided by an embodiment of the present invention, such as Figure 7 As shown, the device comprises:

[0086] The collection unit 710 is used to collect the operation data of the server in real time during the operation of the server;

[0087] A division unit 720, configured to divide the operation data into normal data and fault data under each fault type according to at least one preset fault data template, wherein each fault data template corresponds to one fault type;

[0088] An extraction unit 730 is used to extract data feature information of the normal data and the fault data under each fault type;

[0089] The training unit 740 is used to train the machine learning algorithm model according to the data feature information to obtain a fault diagnosis model, and perform fault diagnosis on the cloud computing server through the fault diagnosis model.

[0090] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the cloud computing server fault diagnosis device. In other embodiments of the present invention, the cloud computing server fault diagnosis device may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0091] The information interaction, execution process and other contents between the units in the above-mentioned device are based on the same concept as the embodiment of the method of the present invention. For specific contents, please refer to the description in the embodiment of the method of the present invention, and no further description is given here.

[0092] Figure 8A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0093] like Figure 8 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0094] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0095] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a cloud computing server fault diagnosis method.

[0096] In some embodiments, the cloud computing server fault diagnosis method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the cloud computing server fault diagnosis method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to execute the cloud computing server fault diagnosis method in any other appropriate manner (e.g., by means of firmware).

[0097] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0098] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0099] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0100] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0101] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0102] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0103] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0104] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for diagnosing a cloud computing server fault, characterized in that: include: Collect server operation data in real time during server operation; According to at least one preset fault data template, the operation data is screened and divided into normal data and fault data under each fault type, wherein each fault data template corresponds to one fault type; Extracting respective data feature information of the normal data and the fault data under each fault type; The machine learning algorithm model is trained according to the data feature information to obtain a fault diagnosis model, and the fault diagnosis model is used to perform fault diagnosis on the cloud computing server.

2. The method according to claim 1, characterized in that The dividing the operation data into normal data and fault data under each fault type according to at least one preset fault data template includes: When data is collected, determining whether the data conforms to the characteristics of any of the fault data templates; If it does not match, the data is normal data; If it does, the data is the fault data of the fault type corresponding to the fault data template.

3. The method according to claim 1, characterized in that: After dividing the operation data into normal data and fault data under each fault type according to at least one preset fault data template, the method further comprises: The normal data and the fault data are preprocessed, and the preprocessing includes at least one of data cleaning processing, data denoising processing, data clustering analysis and data normalization processing.

4. The method according to claim 1, characterized in that: The extracting of respective data feature information of the normal data and the fault data under each fault type includes: Extracting global feature information of the normal data and the fault data by an automatic encoder and an attention mechanism in a machine learning method, wherein the global feature information represents a relationship between first feature information of a set formed by data features of the normal data and second feature information of a set formed by data features of the fault data; Extracting local feature information of the normal data and the fault data by a manifold learning method in a machine learning method, wherein the local feature information represents a relationship between the third feature information of each normal data and the fourth feature information of each fault data; The global feature information and the local feature information are combined to obtain the data feature information.

5. The method according to claim 4, characterized in that The extracting global feature information of the normal data and the fault data by using the automatic encoder and attention mechanism in the machine learning method includes: Extracting the first feature information and the second feature information by the automatic encoder; The attention mechanism is used to respectively calculate the correlation between the first feature information, the second feature information and the label data and assign weight ratios to obtain the global feature information.

6. The method according to claim 4, characterized in that The extracting local feature information of the normal data and the fault data by a manifold learning method in a machine learning method includes: Extracting the third feature information and the fourth feature information by a manifold learning method; The Euclidean distance between each of the normal data and the fault data is calculated according to the third characteristic information and the fourth characteristic information, and sample points with close Euclidean distances are brought closer to obtain the local characteristic information.

7. The method according to claim 4, characterized in that The step of training the machine learning algorithm model according to the data feature information to obtain a fault diagnosis model includes: Dividing the global feature information into a training set and a test set according to a preset ratio; Training the machine learning algorithm model through the training set to obtain the fault diagnosis model; The diagnostic accuracy of the fault diagnosis model is verified by the testing machine, and when the diagnostic accuracy does not meet the preset requirement, the fault diagnosis model is retrained by the training set.

8. A cloud computing server fault diagnosis device, characterized in that: include: A collection unit, used to collect the operation data of the server in real time during the operation of the server; a dividing unit, configured to divide the operation data into normal data and fault data under each fault type according to at least one preset fault data template, wherein each fault data template corresponds to one fault type; An extraction unit, used to extract data feature information of the normal data and the fault data under each fault type; The training unit is used to train the machine learning algorithm model according to the data feature information to obtain a fault diagnosis model, and perform fault diagnosis on the cloud computing server through the fault diagnosis model.

9. An electronic device, characterized in that include: at least one processor; And a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the cloud computing server fault diagnosis method described in any one of claims 1-7.

10. A computer readable medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the cloud computing server fault diagnosis method according to any one of claims 1 to 7 when executed.

Citation Information

Cited By

  • Diesel generating set fault prediction method, model and storage medium

    CN119538102A