A method and system for analyzing application health based on big data cloud platform
By combining the analysis methods of virtual data, physical data and user data on the big data cloud platform, the problems of timeliness and resource waste in application health analysis in the existing technology are solved, multi-dimensional evaluation and real-time adjustment are realized, and the application efficiency is improved. Stability and user experience.
Patent Information
- Application Number
- CN202410966942.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-18
AI Technical Summary
The application health analysis method in the existing technology relies on manual monitoring and log analysis, which has problems with the timeliness of analysis. It is difficult to fully reflect the health status of the application and cannot adjust the analysis process in real time, resulting in a waste of computing resources.
Using a method based on the big data cloud platform, combined with virtual data, physical data and user data, the analysis progress status is determined through conditional instructions, the analysis process is adjusted in real time, and application health information is determined, including response time, throughput, delay time, and error rate. and other indicators to automatically determine the analysis status and save computing resources.
It achieves multi-dimensional and accurate application health assessment, saves computing resources, promptly discovers potential hardware problems and performance bottlenecks, and improves application stability and user experience.
Smart Images

Figure CN118519872B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of application analysis technology, and in particular to an application health analysis method and system based on a big data cloud platform. Background Art
[0002] Application health is a characteristic parameter used to measure a specific application or system. With the rapid development of the Internet and information technology, various applications have been widely used in various industries. However, whether it is e-commerce, financial services, healthcare or social networks, application health directly affects user experience and the stability of business operations. In order to ensure the reliability and efficiency of applications, application health analysis becomes particularly important.
[0003] Most of the application health analysis methods in related technologies rely on manual monitoring and log analysis, which has the problem of analysis timeliness, and uses a single or a few analysis indicators limited to virtual servers, which makes it difficult to fully reflect the health status of the application. At the same time, the application health analysis methods in related technologies are also unable to adjust the execution status of the analysis process in real time according to the numerical status of the analysis indicators of the virtual server, and it is easy to have multiple analysis cycles, thereby wasting computing resources. Therefore, there is a problem in the prior art that it is impossible to obtain a multi-dimensional and accurate application health analysis while saving computing resources. Summary of the invention
[0004] The present invention provides an application health analysis method based on a big data cloud platform, comprising:
[0005] Obtain real-time data, including virtual data, physical data and user data;
[0006] According to the virtual data, based on the conditional instructions arranged in the cloud platform, the analysis progress status is judged, wherein the analysis progress status includes an execution status and a waiting status;
[0007] In response to the analysis progress status being an execution status, determining health information of the application based on the virtual data, the physical data, and the user data;
[0008] Among them, the virtual data includes the server status of the virtual server used to deploy the application, the physical data includes the physical status of the physical server where the virtual server is located, and the user data includes at least user comment data, user retention rate and user growth rate.
[0009] Further, the server status includes at least response time, throughput, latency, application error rate, application crash rate, application request completion rate, system availability time and downtime;
[0010] According to the virtual data, based on the conditional instructions arranged in the cloud platform, the analysis progress status is judged, including:
[0011] Determine the performance indicators of virtual servers based on response time, throughput and latency;
[0012] Determine the reliability index of the virtual server based on the application error rate, application crash rate and application request completion rate;
[0013] Determine the availability index of the virtual server based on system availability time and downtime;
[0014] According to the performance indicators, reliability indicators and availability indicators, based on the conditional instructions arranged in the cloud platform, the progress status of the analysis is judged.
[0015] Furthermore, based on the application error rate, application crash rate, and application request completion rate, the reliability indicators of the virtual server are determined, including:
[0016]
[0017]
[0018] in, As a reliable indicator, is the application request completion rate, is the application error rate, is the application crash rate, are the weight parameters corresponding to the application request completion rate, application error rate and application crash rate respectively, and .
[0019] Furthermore, based on the response time, throughput and latency, the performance indicators of the virtual server are determined, including:
[0020]
[0021] in, is the performance indicator, is the response time, is the throughput, is the delay time, is a constant, They are the weight parameters corresponding to response time, throughput and delay time respectively.
[0022] Furthermore, the system available time represents the total time that the system is in an available state between the current node and the time node after the previous execution state ends, and the downtime represents the total time that the system is in a downtime state between the current node and the time node after the previous execution state ends;
[0023] Determine the availability metrics of the virtual server based on system availability and downtime, including:
[0024]
[0025] in, For available indicators, is the system available time, For downtime.
[0026] Further, the conditional instruction includes a plurality of instruction units; wherein the instruction unit includes that the available index is less than the available threshold, and the system available time is greater than or equal to the time threshold; the instruction unit also includes that the reliability index is less than the reliability threshold; the instruction unit also includes that the performance index is less than the performance threshold;
[0027] According to the performance indicators, reliability indicators and availability indicators, based on the conditional instructions arranged in the cloud platform, the analysis progress status is judged, including:
[0028] When the virtual data satisfies at least one instruction unit, the analysis progress state is the execution state.
[0029] Furthermore, the physical state includes temperature information, vibration frequency information, vibration magnitude information and sound information;
[0030] Based on virtual data, physical data, and user data, the health information of the application is determined, including:
[0031] Determining a judgment level based on the number of conditional instructions satisfied by the virtual data;
[0032] Based on the evaluation level, determine the temperature threshold, vibration frequency threshold, vibration magnitude threshold and sound threshold;
[0033] Determine the physical health based on the magnitude relationship between the temperature information and the temperature threshold, the magnitude relationship between the vibration frequency information and the vibration frequency threshold, the magnitude relationship between the vibration magnitude information and the vibration magnitude threshold, and the magnitude relationship between the sound information and the sound threshold;
[0034] Determine application health information based on virtual data, user data, and physical health.
[0035] Furthermore, based on the virtual data, user data and physical health, the health information of the application is determined, including:
[0036] Determine user satisfaction based on user review data;
[0037] Determine user health based on user satisfaction, user retention rate, and user growth rate;
[0038] Determine the health information of the application based on virtual data, user health and physical health.
[0039] Furthermore, based on the user review data, user satisfaction is determined, including:
[0040] Based on timestamps, user comment data is divided into multiple comment unit sets distributed in time sequence;
[0041] De-noising and word segmentation are performed on each comment unit set to obtain multiple vocabulary sets distributed in time sequence;
[0042] Based on multiple vocabulary sets, multiple sentiment scores distributed in time series are determined according to the sentiment analysis model preset in the cloud platform;
[0043] Determine the user's emotional change trend based on multiple emotional scores;
[0044] Determine user satisfaction based on sentiment change trends and sentiment scores.
[0045] The present invention also provides an application health analysis system based on a big data cloud platform, comprising:
[0046] An acquisition module, used to acquire real-time data, the real-time data including virtual data, physical data and user data, wherein the virtual data includes the server status of the virtual server used to deploy the application, the physical data includes the physical status of the physical server where the virtual server is located, and the user data includes at least user comment data, user retention rate and user growth rate;
[0047] A status determination module, used to determine the analysis progress status according to the virtual data and the conditional instructions arranged in the cloud platform, wherein the analysis progress status includes an execution status and a waiting status;
[0048] The analysis module is used to determine the health information of the application based on the virtual data, the physical data and the user data in response to the analysis progress status being the execution status.
[0049] Compared with the prior art, the application health analysis method and device based on the big data cloud platform provided by the present invention have at least the following beneficial effects:
[0050] 1. This application health analysis method based on the big data cloud platform combines virtual data, physical data and user data, and can comprehensively evaluate the health of applications from multiple dimensions to provide a more accurate and comprehensive health assessment;
[0051] 2. The application health method based on the big data cloud platform automatically determines the analysis progress status (including execution status and waiting status) based on the conditional instructions arranged in the cloud platform. It can adjust the execution status of the analysis process in real time according to the numerical status of the analysis indicators of the virtual server to avoid repeated calculations of multiple analysis cycles and save computing resources.
[0052] 3. The application health method based on the big data cloud platform determines the evaluation level by the number of conditional instructions satisfied by the virtual data, and sets the temperature threshold, vibration frequency threshold, vibration magnitude threshold and sound threshold according to the evaluation level. It can more accurately reflect the physical health standards in different application scenarios, so as to discover and solve potential hardware problems and performance bottlenecks earlier, and improve the stability of the application and user experience. The setting based on the correlation between the virtual server and the physical server can facilitate timely response and resource optimization, so as to timely discover the health problems of the application and improve the stability of the application. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] This specification will be further described in the form of exemplary embodiments, which will be described in detail by the accompanying drawings. These embodiments are not restrictive, and in these embodiments, the same number represents the same structure, wherein:
[0054] Figure 1 It is a flowchart of an application health analysis system based on a big data cloud platform according to some embodiments of this specification;
[0055] Figure 2 It is a structural block diagram of an application health analysis system based on a big data cloud platform according to some embodiments of this specification;
[0056] Figure 3 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION
[0057] In order to more clearly illustrate the technical solutions of the embodiments of this specification, the following is a brief introduction to the drawings required for the description of the embodiments. Obviously, the drawings described below are only some examples or embodiments of this specification. For ordinary technicians in this field, this specification can also be applied to other similar scenarios based on these drawings without creative work. Unless it is obvious from the language environment or otherwise explained, the same reference numerals in the figures represent the same structure or operation.
[0058] Figure 1 is a flow chart of an application health analysis system based on a big data cloud platform according to some embodiments of this specification, such as Figure 1As shown, a method for analyzing application health based on a big data cloud platform may include the following steps. Each step is described in detail below.
[0059] Step S100, real-time data is obtained, and the real-time data includes virtual data, physical data and user data. Among them, the virtual data includes the server status of the virtual server used to deploy the application, the physical data includes the physical status of the physical server where the virtual server is located, and the user data includes at least user comment data, user retention rate and user growth rate.
[0060] It is understood that the server status of a virtual server may include at least response time, throughput, delay time, application error rate, application crash rate, application request completion rate, system available time and downtime. It is also understood that response time refers to the speed at which an application responds to user requests; throughput refers to the number of requests processed per unit time; delay time refers to the time interval from the issuance of a user request to the receipt of a response; application error rate refers to the proportion of errors that occur when an application processes a request; application crash rate refers to the frequency of unexpected termination or crash of an application; and application request completion rate refers to the proportion of user requests that are successfully completed. In addition, system available time represents the total time that the system is in an available state between the current node and the time node after the previous execution state ends, and downtime represents the total time that the system is in a downtime state between the current node and the time node after the previous execution state ends.
[0061] In this embodiment, the response time, throughput and delay time can reflect the performance status of the application; the application error rate, application crash rate and application request completion rate can reflect the reliability of the application; the system available time and downtime can reflect the availability of the application.
[0062] It is worth noting that by integrating multi-dimensional virtual data, it is easier to determine whether it is necessary to perform health analysis (i.e., the execution status mentioned later). The judgment is more accurate and can avoid missing execution steps. While ensuring that computing resources are not wasted, it can more accurately reflect the status of the application at multiple levels (performance, reliability, and availability).
[0063] Step S200, judging the analysis progress status according to the virtual data and based on the conditional instructions arranged in the cloud platform, wherein the analysis progress status includes an execution status and a waiting status.
[0064] Specifically, the example of the actual use of this method is as follows: periodically obtain virtual data and use it to detect whether the conditional instructions are met. When the conditional instructions are met, it will be adjusted to the execution state, and then the health information of the application will be determined based on the virtual data, physical data and user data. Therefore, this method can save computing resources, and it determines the analysis and execution steps of the application health based on the status of the virtual server, which has a higher degree of automation.
[0065] In this embodiment, step S200 may include step S210 to step S240, wherein step S210 and step S230 have no particular order, and their serial numbers are only for better explanation.
[0066] Step S210, determining the performance index of the virtual server based on the response time, throughput and delay time.
[0067] In this embodiment, step S210 can be implemented by the following formula:
[0068] in, is the performance indicator, is the response time, is the throughput, is the delay time, is a constant, They are the weight parameters corresponding to response time, throughput and delay time respectively.
[0069] It is worth mentioning that These are the weight parameters corresponding to response time, throughput and delay time, which can be used to adjust the impact of each factor, so as to change the impact of response time, throughput and delay time by adjusting their size under different working conditions. It is also worth noting that in this calculation formula, if the response time becomes longer, the throughput becomes less or the delay time becomes longer, the score of the corresponding performance indicator will become lower, which reflects the phenomenon of application jamming, so it can accurately judge the performance of the virtual server where the application is located.
[0070] In a specific implementation environment, The preset values are 2, 0.01 and 10 respectively, the throughput is 100 requests / second, the response time is 0.5 seconds, and the delay time is 0.1 seconds. At this time, the performance indicators can be calculated using the above formula This step can quantify the performance indicators, thereby better demonstrating the performance of the virtual server.
[0071] Step S220, determining the reliability index of the virtual server based on the application error rate, the application crash rate and the application request completion rate.
[0072] In this embodiment, step S220 can be implemented by the following formula:
[0073]
[0074]
[0075] in, As a reliable indicator, is the application request completion rate, is the application error rate, is the application crash rate, are the weight parameters corresponding to the application request completion rate, application error rate and application crash rate respectively, and .
[0076] It is worth mentioning that The sum of the two is 1, which can realize the normalization of data, so as to intuitively reflect the influence of application error rate, application crash rate and application request completion rate. In addition, since application request completion rate is a more common and more frequent phenomenon, Set to a value greater than or equal to 0.5, which can reflect the reliability performance of the application more accurately.
[0077] Step S230, determining the availability index of the virtual server based on the system availability time and downtime.
[0078] In this embodiment, step S230 can be implemented by the following formula:
[0079]
[0080] in, For available indicators, is the system available time, For downtime.
[0081] Step S240, judging the analysis progress status according to the performance index, the reliability index and the availability index based on the conditional instructions arranged in the cloud platform.
[0082] In this embodiment, the conditional instruction includes multiple instruction units; wherein the instruction unit includes an available indicator less than an available threshold, and the system available time is greater than or equal to a time threshold; the instruction unit also includes a reliability indicator less than a reliability threshold; the instruction unit also includes a performance indicator less than a performance threshold; when the virtual data satisfies at least one instruction unit, the analysis progress status is an execution status.
[0083] It is worth noting that through the comprehensive judgment of multiple indicators and threshold conditions, the health status of the virtual server can be accurately monitored and judged, avoiding the misjudgment that may be caused by a single indicator. In addition, this method can avoid the accumulation of potential problems: if you wait for the conditions corresponding to multiple instruction units to be met at the same time before responding, small problems will accumulate into big problems, increasing the difficulty and maintenance time of subsequent application maintenance. By triggering the execution status with a single condition, problems can be discovered and solved in a timely manner, avoiding the accumulation of potential problems.
[0084] Step S300 , in response to the analysis progress status being an execution status, determining health information of the application based on virtual data, physical data, and user data.
[0085] In step S300, the physical data includes the physical state of the physical server where the virtual server is located. The physical state includes temperature information, vibration frequency information, vibration magnitude information and sound information. Therefore, the step of determining the health information of the application based on the virtual data, physical data and user data may include:
[0086] Determining a judgment level based on the number of conditional instructions satisfied by the virtual data;
[0087] Based on the evaluation level, determine the temperature threshold, vibration frequency threshold, vibration magnitude threshold and sound threshold;
[0088] The physical health is determined based on the size relationship between the temperature information and the temperature threshold, the size relationship between the vibration frequency information and the vibration frequency threshold, the size relationship between the vibration size information and the vibration size threshold, and the size relationship between the sound information and the sound threshold. It can be understood that when the temperature information is less than the temperature threshold, the vibration frequency information is less than the vibration frequency threshold, the vibration size information is less than the vibration size threshold, and the sound information is less than the sound threshold, it means that the stability of the physical server is better at this time, so it can reflect that the health of the application is higher. Therefore, the calculation method of the physical health in this embodiment can be: 1 point for any of the above situations, 2 points if two phenomena occur at the same time; 3 points if three phenomena occur at the same time; 4 points if four phenomena occur at the same time. The higher the score of the physical health, the higher the health of the application.
[0089] Determine application health information based on virtual data, user data, and physical health.
[0090] It is worth noting that the application health method based on the big data cloud platform determines the evaluation level by the number of conditional instructions satisfied by the virtual data, and sets the temperature threshold, vibration frequency threshold, vibration magnitude threshold and sound threshold according to the evaluation level. It can more accurately reflect the physical health standards in different application scenarios, so as to discover and solve potential hardware problems and performance bottlenecks earlier, and improve the stability of the application and user experience. The setting based on the correlation between the virtual server and the physical server can facilitate timely response and resource optimization, so as to timely discover the health problems of the application and improve the stability of the application.
[0091] It is also worth noting that, in a specific implementation, when one conditional instruction is met, the evaluation level is 1; when two conditional instructions are met, the evaluation level is 2; and when three conditional instructions are met, the evaluation level is 3.
[0092] In this embodiment, the temperature threshold corresponding to the evaluation level of 3 is greater than the temperature threshold corresponding to the evaluation level of 2, the vibration frequency threshold corresponding to the evaluation level of 3 is greater than the vibration frequency threshold corresponding to the evaluation level of 2, and the vibration magnitude threshold corresponding to the evaluation level of 3 is greater than the vibration magnitude threshold corresponding to the evaluation level of 2; the sound threshold corresponding to the evaluation level of 3 is greater than the sound threshold corresponding to the evaluation level of 2. It can be understood that when more conditional instructions are met, the server health of the virtual server is worse. At this time, the phenomenon is more likely to be caused by a hardware problem of the physical server. Therefore, the judgment threshold of the physical server corresponding to the virtual server can be increased to make it more difficult to capture the high-score phenomenon in the physical server, thereby more accurately reflecting the health information of the application.
[0093] In step S300, determining the health information of the application based on the virtual data, user data and physical health may include: determining user satisfaction based on user review data; determining user health based on user satisfaction, user retention rate and user growth rate; determining the health information of the application based on the virtual data, user health and physical health.
[0094] In this embodiment, the step of determining user satisfaction may include the following steps:
[0095] Based on timestamps, user comment data is divided into multiple comment unit sets distributed in time sequence;
[0096] De-noising and word segmentation are performed on each comment unit set to obtain multiple vocabulary sets distributed in time sequence;
[0097] Based on multiple vocabulary sets, multiple sentiment scores distributed in time series are determined according to a sentiment analysis model preset in the cloud platform; wherein the sentiment analysis model can be an existing language analysis model to achieve the purpose of vocabulary analysis.
[0098] Based on multiple emotion scores, determine the user's emotion change trend. It can be understood that since multiple emotion scores are distributed in time series, the user's emotion change trend can be determined by the time series arrangement phenomenon. The emotion change trend can help judge the health status of the application in the future.
[0099] Based on the emotion change trend and emotion score, user satisfaction is determined. It is understandable that the emotion score here can be averaged to obtain the satisfaction of the general users with the application. For another example, the emotion change trend here can be used as an addition (add 0.5 points when the trend is positive, and subtract 0.5 points when the trend is negative) to reflect user satisfaction together with the emotion score.
[0100] In a specific implementation, the average sentiment score is 3 points (output by the sentiment analysis model), and the sentiment change trend is positive (the sentiment score increases over time). At this time, user satisfaction = 3-0.5 = 2.5 points.
[0101] It is worth noting that user satisfaction reflects the user's subjective experience of the application, which can characterize the user experience during the use of the application. The use of this step can more finely evaluate the user's satisfaction at different times, helping the companies associated with the application to understand the emotional changes of users at specific events or time points, so as to more accurately evaluate the health of the application.
[0102] In this embodiment, user health is determined based on user satisfaction, user retention rate, and user growth rate. This step can more intuitively and accurately reflect user health by considering multi-dimensional data, so as to facilitate the calculation of health information of subsequent applications. User health can be calculated by accumulating user satisfaction, user retention rate, and user growth rate.
[0103] In this embodiment, based on virtual data, user health and physical health, the health information of the application can be determined in the following manner:
[0104] Depend on , and The value of determines the virtual health score. For example, virtual health = .
[0105] Then, through the user health and physical health, an array with three values is output, which indicates the health information of the application. For example, (1.68, 4, 3) represents that the virtual health is 1.68, the user health is 4, and the physical health is 3.
[0106] Figure 2 is a structural block diagram of an application health analysis system based on a big data cloud platform according to some embodiments of this specification, such as Figure 2 As shown, an application health analysis system based on a big data cloud platform may include: an acquisition module for acquiring real-time data, the real-time data including virtual data, physical data and user data, wherein the virtual data includes the server status of the virtual server used to deploy the application, the physical data includes the physical status of the physical server where the virtual server is located, and the user data includes at least user comment data, user retention rate and user growth rate; a state determination module for judging the analysis progress status according to the virtual data and conditional instructions arranged in the cloud platform, wherein the analysis progress status includes an execution status and a waiting status; an analysis module for determining the health information of the application based on the virtual data, the physical data and the user data in response to the analysis progress status being the execution status.
[0107] An application health analysis system based on a big data cloud platform can apply an application health analysis method based on a big data cloud platform. For more descriptions of an application health analysis system based on a big data cloud platform, please refer to the relevant descriptions of an application health analysis method based on a big data cloud platform, which will not be repeated here.
[0108] Figure 3 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: Figure 3 The computer system 300 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0109] like Figure 3As shown, the computer system 300 includes a central processing unit (CPU) 301, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 302 or the program loaded from the storage part 308 to the random access memory (RAM) 303, such as executing the method in the above embodiment. In the RAM 303, various programs and data required for system operation are also stored. The CPU 301, the ROM 302 and the RAM 303 are connected to each other through the bus 304. The input / output (I / O) interface 305 is also connected to the bus 304.
[0110] The following components are connected to the I / O interface 305: an input section 306 including a keyboard, a mouse, etc.; an output section 307 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 308 including a hard disk, etc.; and a communication section 309 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as needed. A removable medium 311, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 310 as needed so that a computer program read therefrom is installed into the storage section 308 as needed.
[0111] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part 309, and / or installed from a removable medium 311. When the computer program is executed by a central processing unit (CPU) 301, various functions defined in the system of the present application are executed.
[0112] It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a 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 above. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier, which carries a computer-readable computer program. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0113] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0114] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0115] Another aspect of the present application further provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor of a computer, the computer executes the above method. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist independently without being assembled into the electronic device.
[0116] Another aspect of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. A processor of a computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the application health analysis method based on a big data cloud platform provided in each of the above embodiments.
[0117] The above embodiments are only preferred embodiments for fully illustrating the present application, and the protection scope of the present application is not limited thereto. Any equivalent substitution or change made by a person skilled in the art based on the present application is within the protection scope of the present application.
Claims
1. A method for analyzing application health based on a big data cloud platform, characterized in that: include: Acquire real-time data, where the real-time data includes virtual data, physical data, and user data; According to the virtual data, based on the conditional instructions arranged in the cloud platform, judging the analysis progress status, wherein the analysis progress status includes an execution status and a waiting status; In response to the analysis progress status being an execution status, determining health information of the application based on the virtual data, the physical data, and the user data; The virtual data includes the server status of the virtual server used to deploy the application, the physical data includes the physical status of the physical server where the virtual server is located, and the user data includes at least user comment data, user retention rate and user growth rate; The server status includes at least response time, throughput, delay time, application error rate, application crash rate, application request completion rate, system available time and downtime; the judging of the analysis progress status based on the virtual data and conditional instructions arranged in the cloud platform includes: determining the performance index of the virtual server based on the response time, the throughput and the delay time; determining the reliability index of the virtual server based on the application error rate, the application crash rate and the application request completion rate; determining the availability index of the virtual server based on the system available time and downtime; judging the analysis progress status based on the performance index, the reliability index and the availability index and conditional instructions arranged in the cloud platform; The conditional instruction includes a plurality of instruction units; wherein the instruction unit includes an available index less than an available threshold, and the system available time is greater than or equal to a time threshold; the instruction unit also includes a reliability index less than a reliability threshold; the instruction unit also includes a performance index less than a performance threshold; the conditional instruction arranged in the cloud platform according to the performance index, the reliability index and the available index, judges the analysis progress state, including: when the virtual data satisfies at least one of the instruction units, the analysis progress state is an execution state; The physical state includes temperature information, vibration frequency information, vibration size information and sound information; determining the health information of the application based on the virtual data, the physical data and the user data includes: determining the evaluation level based on the number of conditional instructions satisfied by the virtual data; determining the temperature threshold, vibration frequency threshold, vibration size threshold and sound threshold based on the evaluation level; determining the physical health based on the size relationship between the temperature information and the temperature threshold, the size relationship between the vibration frequency information and the vibration frequency threshold, the size relationship between the vibration size information and the vibration size threshold, and the size relationship between the sound information and the sound threshold; determining the health information of the application based on the virtual data, the user data and the physical health.
2. According to the method for analyzing application health based on a big data cloud platform according to claim 1, it is characterized in that: The determining of the reliability index of the virtual server based on the application error rate, the application crash rate and the application request completion rate includes: , in, As a reliable indicator, is the application request completion rate, is the application error rate, is the application crash rate, are the weight parameters corresponding to the application request completion rate, application error rate and application crash rate respectively, and .
3. The application health analysis method based on the big data cloud platform according to claim 1 is characterized in that: The determining the performance index of the virtual server based on the response time, the throughput and the delay time includes: in, is the performance indicator, is the response time, is the throughput, is the delay time, is a constant, They are the weight parameters corresponding to response time, throughput and delay time respectively.
4. The application health analysis method based on a big data cloud platform according to claim 1 is characterized in that: The system available time represents the total time that the system is in an available state between the current node and the time node after the last execution state ends, and the downtime represents the total time that the system is in a downtime state between the current node and the time node after the last execution state ends; Determining the availability index of the virtual server based on the system availability time and downtime includes: in, For available indicators, is the system available time, For downtime.
5. The application health analysis method based on a big data cloud platform according to claim 1 is characterized in that: The determining the health information of the application based on the virtual data, the user data and the physical health includes: Determine user satisfaction based on user review data; Determining user health based on the user satisfaction, the user retention rate, and the user growth rate; The health information of the application is determined based on the virtual data, the user health and the physical health.
6. The application health analysis method based on a big data cloud platform according to claim 5 is characterized in that: Determining user satisfaction based on user review data includes: Based on timestamps, user comment data is divided into multiple comment unit sets distributed in time sequence; De-noising and word segmentation are performed on each comment unit set to obtain multiple vocabulary sets distributed in time sequence; Based on the plurality of vocabulary sets, and according to a sentiment analysis model preset in the cloud platform, a plurality of sentiment scores distributed in time series are determined; Determining the user's emotion change trend based on the plurality of emotion scores; Based on the emotion change trend and the emotion score, user satisfaction is determined.
7. An application health analysis system based on a big data cloud platform, characterized in that: include: An acquisition module, used to acquire real-time data, the real-time data including virtual data, physical data and user data, wherein the virtual data includes the server status of the virtual server used to deploy the application, the physical data includes the physical status of the physical server where the virtual server is located, and the user data includes at least user comment data, user retention rate and user growth rate; A status determination module is used to determine the analysis progress status according to the virtual data and based on conditional instructions arranged in the cloud platform, wherein the analysis progress status includes an execution status and a waiting status; the server status includes at least response time, throughput, delay time, application error rate, application crash rate, application request completion rate, system available time and downtime; the analysis progress status is determined according to the virtual data and based on conditional instructions arranged in the cloud platform, including: determining the performance index of the virtual server based on the response time, the throughput and the delay time; determining the reliability index of the virtual server based on the application error rate, the application crash rate and the application request completion rate; determining the reliability index of the virtual server based on the system available time and downtime; determining the reliability index of the virtual server based on the system available time and downtime. time, determine the available index of the virtual server; according to the performance index, the reliability index and the available index, based on the conditional instructions arranged in the cloud platform, judge the analysis progress status; the conditional instructions include multiple instruction units; wherein, the instruction unit includes that the available index is less than the available threshold, and the system available time is greater than or equal to the time threshold; the instruction unit also includes that the reliability index is less than the reliability threshold; the instruction unit also includes that the performance index is less than the performance threshold; the according to the performance index, the reliability index and the available index, based on the conditional instructions arranged in the cloud platform, judge the analysis progress status, including: when the virtual data satisfies at least one of the instruction units, the analysis progress status is the execution status; An analysis module is used to determine the health information of the application based on the virtual data, the physical data and the user data in response to the analysis progress status being the execution status; the physical status includes temperature information, vibration frequency information, vibration magnitude information and sound information; based on the virtual data, the physical data and the user data, determining the health information of the application includes: determining the evaluation level based on the number of conditional instructions satisfied by the virtual data; determining the temperature threshold, vibration frequency threshold, vibration magnitude threshold and sound threshold based on the evaluation level; determining the physical health based on the size relationship between the temperature information and the temperature threshold, the size relationship between the vibration frequency information and the vibration frequency threshold, the size relationship between the vibration magnitude information and the vibration magnitude threshold, and the size relationship between the sound information and the sound threshold; determining the health information of the application based on the virtual data, the user data and the physical health.
Citation Information
Patent Citations
Cloud service performance early warning event generating method based on data mining
CN105022823A
Business service platform management method and device and computer readable storage medium
CN113849362A
Method and system for analyzing health state of cloud platform
CN114490289A
Automatic weighting load balancing method and system, electronic equipment and storage medium
CN116016533A
Block chain health degree testing method and device, storage medium and program product
CN116955100A
