CN113778780A - Application stability determination method and device, electronic equipment and storage medium - Google Patents

Application stability determination method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113778780A
CN113778780A CN202011359923.8A CN202011359923A CN113778780A CN 113778780 A CN113778780 A CN 113778780A CN 202011359923 A CN202011359923 A CN 202011359923A CN 113778780 A CN113778780 A CN 113778780A
Authority
CN
China
Prior art keywords
target application
stability
service
parameters
parameter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011359923.8A
Other languages
Chinese (zh)
Inventor
王菲
马亚辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN202011359923.8A priority Critical patent/CN113778780A/en
Publication of CN113778780A publication Critical patent/CN113778780A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/3006Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3065Monitoring arrangements determined by the means or processing involved in reporting the monitored data
    • G06F11/3072Monitoring arrangements determined by the means or processing involved in reporting the monitored data where the reporting involves data filtering, e.g. pattern matching, time or event triggered, adaptive or policy-based reporting

Abstract

The invention discloses a method and a device for determining application stability, electronic equipment and a storage medium, and relates to the technical field of computers. One embodiment of the method comprises: according to the target application and a preset corresponding relation, inquiring a private network in a cloud platform corresponding to the target application, and determining basic resources and external service resources corresponding to the private network; acquiring a cloud product log of a cloud product corresponding to a target application, a service log of a service corresponding to the target application and management information corresponding to the target application in a cloud platform; monitoring parameter values of stability parameters corresponding to the target application according to the basic resources, the external service resources, the cloud product logs, the service logs and the management information respectively; and determining the stability result of the target application according to the parameter value of the stability parameter. The method and the device can solve the problems that the stability of each application in the cloud platform cannot be monitored respectively, and the specific condition of the stability of each application in the cloud platform cannot be determined.

Description

Application stability determination method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and an apparatus for determining application stability, an electronic device, and a storage medium.
Background
With the development of cloud technology, the cloud has been widely applied in various industries, so the stability of the application in the cloud platform also becomes the key point of user attention, and the monitoring of the application stability in the cloud platform becomes an important requirement. At present, the stability of the application in the cloud platform is generally realized by monitoring the overall operation parameters in the cloud platform. However, this method can only monitor the overall stability of the cloud platform, and cannot monitor the stability of each application in the cloud platform, so that the specific situation of the stability of each application in the cloud platform cannot be determined.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for determining application stability, an electronic device, and a storage medium, which can solve the problems that the stability of each application in a cloud platform cannot be monitored, and the specific situation of the stability of each application in the cloud platform cannot be determined.
To achieve the above object, according to an aspect of an embodiment of the present invention, there is provided a method of determining application stability.
The method for determining the application stability comprises the following steps: according to the target application and a preset corresponding relation, inquiring a private network in a cloud platform corresponding to the target application, and determining basic resources and external service resources corresponding to the private network; acquiring a cloud product log of a cloud product corresponding to the target application, a service log of a service corresponding to the target application and management information corresponding to the target application in the cloud platform; monitoring parameter values of stability parameters corresponding to the target application according to the basic resources, the external service resources, the cloud product logs, the service logs and the management information respectively, wherein the stability parameters comprise basic parameters of the basic resources, service parameters of the external service resources, cloud product parameters, service parameters and calling dependent parameters; and determining the stability result of the target application according to the parameter value of the stability parameter.
In one embodiment, the base resource comprises a cloud resource associated with a host, a database and a cache corresponding to the private network, and the base parameter comprises an operating parameter of the cloud resource;
the external service resources comprise communication resources used by the target application for connecting with external services, and the service parameters comprise parameters of corresponding use states of the communication resources;
the cloud product parameters comprise abnormal parameters of cloud products corresponding to the target application in the cloud product log;
the service parameters comprise parameters determined according to user instructions;
the call dependent parameters comprise call service parameters and dependent service parameters in the target application.
In yet another embodiment, the parameters of the usage status of the communication resource include the availability and response time of the communication resource;
the monitoring the parameter value of the stability parameter corresponding to the target application according to the basic resource, the external service resource, the cloud product log, the service log and the management information respectively comprises:
monitoring the operation parameters of the basic resources according to the operation state of the cloud resources;
monitoring the corresponding availability and response time of the communication resources through data transmission between each detection node and the communication resources;
acquiring error data and alarm data of the cloud product corresponding to the target application according to the cloud product log, and monitoring parameter values of the abnormal parameters according to the error data and the alarm data;
monitoring the parameter value of the service parameter according to the data corresponding to the service parameter in the service log;
and monitoring the parameter value of the calling dependent parameter according to the calling relation and the data corresponding to the dependent relation in the management information.
In yet another embodiment, the determining the stability result of the target application according to the parameter value of the stability parameter includes:
obtaining an evaluation strategy corresponding to each stability parameter;
respectively calculating the scores corresponding to the stability parameters according to the evaluation strategy;
and determining the stability result of the target application according to the score corresponding to each stability parameter.
In yet another embodiment, after the determining the stability result of the target application according to the parameter value of the stability parameter, the method further includes:
judging whether the stability of the target application meets a preset condition or not according to the stability result;
and if not, sending alarm information to the user corresponding to the target application.
To achieve the above object, according to another aspect of the embodiments of the present invention, there is provided an application stability determination apparatus.
An application stability determination device according to an embodiment of the present invention includes: the query unit is used for querying a private network in a cloud platform corresponding to the target application according to the target application and a preset corresponding relation, and determining basic resources and external service resources corresponding to the private network; an obtaining unit, configured to obtain a cloud product log of a cloud product corresponding to the target application, a service log of a service corresponding to the target application, and management information corresponding to the target application in the cloud platform; a monitoring unit, configured to monitor a parameter value of a stability parameter corresponding to the target application according to the basic resource, the external service resource, the cloud product log, the service log, and the management information, respectively, where the stability parameter includes a basic parameter of the basic resource, a service parameter of the external service resource, a cloud product parameter, a service parameter, and a call dependency parameter; and the determining unit is used for determining the stability result of the target application according to the parameter value of the stability parameter.
In one embodiment, the base resource comprises a cloud resource associated with a host, a database and a cache corresponding to the private network, and the base parameter comprises an operating parameter of the cloud resource;
the external service resources comprise communication resources used by the target application for connecting with external services, and the service parameters comprise parameters of corresponding use states of the communication resources;
the cloud product parameters comprise abnormal parameters of cloud products corresponding to the target application in the cloud product log;
the service parameters comprise parameters determined according to user instructions;
the call dependent parameters comprise call service parameters and dependent service parameters in the target application.
In yet another embodiment, the parameters of the usage status of the communication resource include the availability and response time of the communication resource;
the monitoring unit is specifically configured to:
monitoring the operation parameters of the basic resources according to the operation state of the cloud resources;
monitoring the corresponding availability and response time of the communication resources through data transmission between each detection node and the communication resources;
acquiring error data and alarm data of the cloud product corresponding to the target application according to the cloud product log, and monitoring parameter values of the abnormal parameters according to the error data and the alarm data;
monitoring the parameter value of the service parameter according to the data corresponding to the service parameter in the service log;
and monitoring the parameter value of the calling dependent parameter according to the calling relation and the data corresponding to the dependent relation in the management information.
In another embodiment, the determining unit is specifically configured to:
obtaining an evaluation strategy corresponding to each stability parameter;
respectively calculating the scores corresponding to the stability parameters according to the evaluation strategy;
and determining the stability result of the target application according to the score corresponding to each stability parameter.
In yet another embodiment, the apparatus further comprises:
the judging unit is used for judging whether the stability of the target application meets a preset condition according to the stability result;
and the sending unit is used for sending alarm information to the user corresponding to the target application if the target application does not correspond to the user.
To achieve the above object, according to still another aspect of an embodiment of the present invention, there is provided an electronic apparatus.
An electronic device of an embodiment of the present invention includes: one or more processors; the storage device is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method for determining the application stability provided by the embodiment of the invention.
To achieve the above object, according to still another aspect of an embodiment of the present invention, there is provided a computer-readable medium.
A computer-readable medium of an embodiment of the present invention stores thereon a computer program, which when executed by a processor implements the method for determining application stability provided by an embodiment of the present invention.
One embodiment of the above invention has the following advantages or benefits: in the embodiment of the invention, the private network corresponding to the target application can be inquired according to the preset corresponding relation, so that the basic resource and the external service resource corresponding to the private network, namely the basic resource and the external service resource corresponding to the target application, can be determined, the cloud platform log, the service log and the management information can be obtained, the stability parameter corresponding to the target application is monitored according to the basic resource, the external service resource, the cloud platform log, the service log and the management information, and the stability result of the target application is determined according to the monitored parameter value. Therefore, in the embodiment of the invention, the resources corresponding to the target application can be determined based on the preset corresponding relation, and further the monitoring on the stability of the target application can be realized, so that the specific situation of the stability of each application in the cloud platform can be determined.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic diagram of a system architecture of an application stability determination system according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a main flow of a method for determining application stability according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of application deployment in a cloud platform according to an embodiment of the invention;
FIG. 4 is a schematic diagram of one manner of service parameter monitoring according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of one principal flow of a method of determining stability results according to an embodiment of the invention;
fig. 6 is a schematic diagram of the main units of the determination apparatus of application stability according to the embodiment of the present invention;
FIG. 7 is a diagram of yet another exemplary system architecture to which embodiments of the present invention may be applied;
FIG. 8 is a schematic block diagram of a computer system suitable for use in implementing embodiments of the present invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
The embodiment of the invention provides a system for determining application stability, which can be used in a scene for monitoring the stability of an application in a cloud platform. Specifically, fig. 1 is a schematic diagram of a system architecture of an application stability determination system according to an embodiment of the present invention.
As shown in fig. 1, a business party represents a business service corresponding to each application in a cloud platform, which may include various types, such as open platform, logistics, finance, and the like. The data summarization processing layer stores preset stability evaluation strategies, can receive stability monitoring data, namely parameter values of monitored stability parameters, and can determine applied stability results according to the stability monitoring data and the stability evaluation strategies. The data summarization processing display layer can be used for receiving stability monitoring data of each application and displaying the stability monitoring data. The stability monitoring data is used to configure stability parameters for monitoring of each application, and monitor parameter values of each stability parameter, that is, stability monitoring data, where the stability parameters may include data shown in fig. 1, and specifically may be: basic parameters corresponding to basic settings and cloud resources on the cloud, parameters reflecting the availability of ports, domain names and addresses of external services, application corresponding cloud product logs, monitoring parameters of business application, parameters reflecting the corresponding of user codes, network problems and the like, and the like. Data sourcing system represents a system that monitors stability parameters, which may include cloud monitoring, cloud dial-up testing, log service or custom monitoring, APM (application performance management), and the like. The data source system can obtain data corresponding to each stability parameter through monitoring, namely stability monitoring data, and inputs the stability monitoring data to the data summarizing and processing display layer and the data summarizing and processing layer so as to facilitate summarizing and processing the stability monitoring data.
In the embodiment of the present invention, parameters affecting application stability in different dimensions can be obtained based on the maturity capability of each cloud product line in the cloud platform, and aggregation is performed by using the application dimensions to display the environment of the stability of each application, including: the stability of basic resources, the stability of service, the stability of cloud products, the stability of service, the stability of codes and system structures and the like, so that the comprehensive monitoring and detection of corresponding stability can be realized.
An embodiment of the present invention provides a method for determining application stability, which may be performed by a server or an interrupt device, as shown in fig. 2, and includes the following steps.
S201: and inquiring the private network in the cloud platform corresponding to the target application according to the corresponding relation between the target application and the preset relation, and determining the basic resource and the external service resource corresponding to the private network.
The specific manner may be as shown in fig. 3, where when the application is deployed on the cloud, the corresponding private network is configured for the application, and then the corresponding basic resource and the resource for the external service are deployed for the application in the private network. In fig. 3, the cloud platform creates a cloud application, associates with the service application, creates a space of a private network for the cloud application, and further creates a cloud resource in the private network space, so in the embodiment of the present invention, a corresponding relationship between the application and the private network may be preconfigured, which is equivalent to establishing a corresponding relationship between the target application and the cloud resource, and further, a corresponding relationship between each basic resource in the private network and the target application may be established. Specifically, the corresponding relationship may be a corresponding relationship between an identifier of the application and an identifier of the private network, and the identifier of the application may be an appkey.
After the corresponding relation between the application and the private network is established, the private network corresponding to the target application can be inquired according to the target application, and further the basic resource and the external service resource corresponding to the private network can be inquired, so that the basic resource and the external service resource corresponding to the target application can be determined.
S202: the method comprises the steps of obtaining a cloud product log of a cloud product corresponding to a target application, a service log of a service corresponding to the target application and management information corresponding to the target application in a cloud platform.
The applications are deployed on the cloud platform and may include various cloud products, such as a security gateway, a cloud search, a gateway, an LB, various databases, a cluster, a cache, and the like, and when the cloud products are operated, corresponding operation parameters are recorded in logs of the cloud platform. For the target application, the running condition of the cloud product corresponding to the target application is also one dimension for evaluating the stability of the target application, so that the cloud product log of the cloud product corresponding to the target application in the cloud platform can be obtained in the step so as to be used for monitoring the stability of the target application. Each application in the cloud platform provides service for external business, so that the running condition of the business corresponding to the application is also one dimension for evaluating the stability of the target application, and therefore, the business log of the business corresponding to the target application can be obtained in the step so as to be used for monitoring the stability of the target application. Meanwhile, for each application deployed on the cloud platform, the execution states of application codes, network topology and the like can be embodied by managing and monitoring the calling and dependency relationship among services included by the application through the corresponding application performance, so that management information can be obtained through application performance management in the embodiment of the invention, and further the stability of dimension evaluation from the application codes, network problems and the like can be realized.
S203: and monitoring the parameter values of the stability parameters corresponding to the target application according to the basic resources, the external service resources, the cloud product logs, the service logs and the management information.
The stability parameters comprise basic parameters of basic resources, service parameters of external service resources, cloud product parameters, business parameters and calling dependency parameters.
In the embodiment of the invention, the application deployment needs a corresponding application system, basic resources required by the application system deployment in the cloud platform, such as the host, the database, the cache and other resources required by system operation, are deployed in a private network corresponding to the application, and each index of the basic resources can reflect the stability of the application laterally, so that the basic parameters of the application stability of the image target can be monitored according to the basic resources of the private network. Specifically, the basic resource includes a cloud resource associated with a host, a database, and a cache corresponding to an identifier of the private network, and the basic parameter may include an operation parameter of the cloud resource, for example, a usage rate of a CPU, a disk, and a memory of the cloud resource such as the host, the database, and the cache, and a usage rate of an IP of a public network.
The application-to-external service communication can be realized by the preconfigured external service resource, that is, the connection with the external service is established by the preconfigured external service resource, and the external service resource may include a communication resource used by the target application to connect with the external service, such as a domain name, an IP port, an address (url), and the like used for external communication, and the use condition of these communication resources generally reflects the stability of the application. Specifically, the service parameters may include availability and response time corresponding to the communication resources. In this step, a plurality of detection nodes may be set outside the cloud platform, and then a request similar to real user access is sent to the address of the communication resource identifier through each detection node and a response may be received, so that the condition of data transmission between the detection node and the communication resource may be determined based on the response, and then the availability and the response time corresponding to the communication resource may be obtained, and the specific flow may be as shown in fig. 4. The availability ratio refers to the percentage of the number of probe results with status codes less than 400 in the probe point received responses in the probe period to the number of received responses.
Each application deploys cloud products to operate, and can record operation data corresponding to each cloud product in a log. It should be noted that, for monitoring the cloud product parameters, pre-configuration is usually required, that is, pre-configuration of the monitoring cloud product log can be implemented, so in the embodiment of the present invention, whether the monitoring cloud product log is configured or not can also be used as a stability parameter for monitoring.
The service parameters can be monitored according to the data corresponding to the service parameters in the service log, the data corresponding to the service parameters comprise data which can be set according to user instructions, and the data included in the user instructions reflect the requirements of the user on monitoring the application stability.
The management information of the target application can be obtained through application performance management. The application itself can relate to code development topology construction and the like during development and deployment, based on the deployment, the application can establish calling relations and dependency relations among services in the application, and the calling relations and the dependency relations can be managed and stored through application performance in the cloud platform, and key index data of the application service, such as calling times, service delay, error number and the like. Therefore, in the embodiment of the present invention, the call dependent parameters corresponding to the application may be monitored through the management information stored in the application performance management, and the call dependent parameters may specifically include each call service parameter and dependent service parameter in the target application. The monitoring of information such as application self codes, networks, the utilization rate of the whole CPU of the application, memory usage information, application topology, JVM monitoring, an operating system, SQL calling statistics, error analysis, calling chains and the like can be realized by monitoring the calling dependent parameters.
It should be noted that, in the embodiment of the present invention, other stability parameters may also be set according to the application stability evaluation requirement, for example, whether some configuration information is configured or not, or a response result of some service data, and the like may be monitored, so as to meet personalized requirements of different applications on stability evaluation.
S204: and determining the stability result of the target application according to the parameter value of the stability parameter.
After the parameter values of the stability parameters are obtained through monitoring, the stability result of the target application can be determined based on the parameter values, and then the user can adjust the target application according to the stability result, so that the target application can run more stably.
Specifically, in the embodiment of the present invention, a condition for stability evaluation, that is, a preset condition, may be preset, and then whether the target application is stable is evaluated according to whether the stability result satisfies the preset condition, and when the stability result does not satisfy the preset condition, an alarm message is sent to the user corresponding to the target application to prompt the user to repair the stability of the target application in time.
It should be noted that the embodiment of the present invention may be executed according to a cycle, and a corresponding stability result may be obtained for each cycle. The specific period can be set according to the requirements of users.
In the embodiment of the invention, the resources corresponding to the target application can be determined based on the preset corresponding relation, so that the monitoring on the stability of the target application can be realized, the specific condition of the stability of each application in the cloud platform can be determined, meanwhile, the stability parameters of each aspect of the target application can be monitored, the stability of the target application can be comprehensively monitored, and the problem that the stability of the target application cannot be comprehensively determined due to single monitoring parameter is solved.
In the embodiment of the present invention, the stability result is expressed by a score as an example, and the method for determining the stability result in the embodiment of the present invention is specifically described below with reference to the system architecture shown in fig. 2. As shown in fig. 5, the method includes the following steps.
S501: and obtaining the evaluation strategies corresponding to the stability parameters respectively.
The evaluation policy is preset, and in the embodiment of the invention, the evaluation rule can be set, and the evaluation rule comprises the evaluation policy corresponding to each stability parameter. For example, the evaluation policy corresponding to the availability of the domain name in the service parameter may be: and if the available rate is 100%, determining that the rate is normal, wherein the score is 10 points, and the score can be deducted when the average available rate is lower than 95%.
Specifically, the evaluation policy may be set for evaluation criteria and deduction criteria (e.g., 2 points deduction) according to user requirements of the template application.
S502: and respectively calculating the scores corresponding to the stability parameters according to the evaluation strategy.
After the evaluation strategies corresponding to the stability parameters are obtained, the scores corresponding to the stability parameters can be calculated based on the evaluation strategies.
S503: and determining the stability result of the target application according to the score corresponding to each stability parameter.
After the scores corresponding to the stability parameters are obtained, the scores corresponding to the stability parameters are summarized to determine the stability result of the target application.
In the embodiment of the invention, the target application stability is reflected by outputting the quantized stability result, and the specific result parameter of the application stability is provided for the user, so that the user can more accurately evaluate the stability of the target application.
In order to solve the problems in the prior art, an embodiment of the present invention provides an apparatus 600 for determining application stability, as shown in fig. 6, where the apparatus 600 includes:
the query unit 601 is configured to query a private network in a cloud platform corresponding to the target application according to the target application and a preset corresponding relationship, and determine a basic resource and an external service resource corresponding to the private network;
an obtaining unit 602, configured to obtain a cloud product log of a cloud product corresponding to the target application, a service log of a service corresponding to the target application, and management information corresponding to the target application in the cloud platform;
a monitoring unit 603, configured to monitor a parameter value of a stability parameter corresponding to the target application according to the basic resource, the external service resource, the cloud product log, the service log, and the management information, respectively, where the stability parameter includes a basic parameter of the basic resource, a service parameter of the external service resource, a cloud product parameter, a service parameter, and a call dependency parameter;
a determining unit 604, configured to determine a stability result of the target application according to a parameter value of the stability parameter.
It should be understood that the manner of implementing the embodiment of the present invention is the same as the manner of implementing the embodiment shown in fig. 2, and the description thereof is omitted.
In an implementation manner of the embodiment of the present invention, the basic resource includes a cloud resource associated with a host, a database, and a cache corresponding to an identifier of the private network, and the basic parameter includes an operation parameter of the cloud resource;
the external service resources comprise communication resources used by the target application for connecting with external services, and the service parameters comprise parameters of corresponding use states of the communication resources;
the cloud product parameters comprise abnormal parameters of cloud products corresponding to the target application in the cloud product log;
the service parameters comprise parameters determined according to user instructions;
the call dependent parameters comprise call service parameters and dependent service parameters in the target application.
In another implementation manner of the embodiment of the present invention, the parameter of the use state corresponding to the communication resource includes an availability and a response time corresponding to the communication resource;
the monitoring unit 603 is specifically configured to:
monitoring the operation parameters of the basic resources according to the operation state of the cloud resources;
monitoring the corresponding availability and response time of the communication resources through data transmission between each detection node and the communication resources;
acquiring error data and alarm data of the cloud product corresponding to the target application according to the cloud product log, and monitoring parameter values of the abnormal parameters according to the error data and the alarm data;
monitoring the parameter value of the service parameter according to the data corresponding to the service parameter in the service log;
and monitoring the parameter value of the calling dependent parameter according to the calling relation and the data corresponding to the dependent relation in the management information.
In another implementation manner of the embodiment of the present invention, the determining unit 604 is specifically configured to:
obtaining an evaluation strategy corresponding to each stability parameter;
respectively calculating the scores corresponding to the stability parameters according to the evaluation strategy;
and determining the stability result of the target application according to the score corresponding to each stability parameter.
In another implementation manner of the embodiment of the present invention, the apparatus 600 further includes:
the judging unit is used for judging whether the stability of the target application meets a preset condition according to the stability result;
and the sending unit is used for sending alarm information to the user corresponding to the target application if the target application does not correspond to the user.
It should be understood that the manner of implementing the embodiment of the present invention is the same as the manner of implementing the embodiment shown in fig. 2, and the description thereof is omitted.
In the embodiment of the invention, the resources corresponding to the target application can be determined based on the preset corresponding relation, so that the monitoring on the stability of the target application can be realized, the specific condition of the stability of each application in the cloud platform can be determined, meanwhile, the stability parameters of each aspect of the target application can be monitored, the stability of the target application can be comprehensively monitored, and the problem that the stability of the target application cannot be comprehensively determined due to single monitoring parameter is solved.
According to an embodiment of the present invention, an electronic device and a readable storage medium are also provided.
The electronic device of the embodiment of the invention comprises: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the processor, and the instructions are executed by the at least one processor to cause the at least one processor to execute the method for determining application stability provided by the embodiment of the invention.
Fig. 7 shows an exemplary system architecture 700 to which the application stability determination method or the application stability determination apparatus of the embodiments of the present invention can be applied.
As shown in fig. 7, the system architecture 700 may include terminal devices 701, 702, 703, a network 704, and a server 705. The network 704 serves to provide a medium for communication links between the terminal devices 701, 702, 703 and the server 705. Network 704 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
A user may use the terminal devices 701, 702, 703 to interact with a server 705 over a network 704, to receive or send messages or the like. Various client applications may be installed on the terminal devices 701, 702, 703.
The terminal devices 701, 702, 703 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like. The terminal devices 701, 702, 703 may be terminal devices requesting evaluation of the stability of the target application.
The server 705 may be a server that provides various services, and the server may monitor the received stability of the terminal device and feed back the stability result to the terminal device.
It should be noted that the method for determining the application stability provided by the embodiment of the present invention is generally executed by the server 705, and accordingly, the apparatus for determining the application stability is generally disposed in the server 705.
It should be understood that the number of terminal devices, networks, and servers in fig. 7 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 8, a block diagram of a computer system 800 suitable for use in implementing embodiments of the present invention is shown. The computer system illustrated in FIG. 8 is only one example and should not impose any limitations on the scope of use or functionality of embodiments of the invention.
As shown in fig. 8, the computer system 800 includes a Central Processing Unit (CPU)801 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. In the RAM 803, various programs and data necessary for the operation of the system 800 are also stored. The CPU 801, ROM 802, and RAM 803 are connected to each other via a bus 804. An input/output (I/O) interface 805 is also connected to bus 804.
The following components are connected to the I/O interface 805: an input portion 806 including a keyboard, a mouse, and the like; an output section 807 including a signal such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 808 including a hard disk and the like; and a communication section 809 including a network interface card such as a LAN card, a modem, or the like. The communication section 809 performs communication processing via a network such as the internet. A drive 810 is also connected to the I/O interface 805 as necessary. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as necessary, so that a computer program read out therefrom is mounted on the storage section 808 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 809 and/or installed from the removable medium 811. The computer program executes the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 801.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a unit, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present invention may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes an inquiry unit, an acquisition unit, a monitoring unit, and a determination unit. Where the names of these units do not in some cases constitute a limitation on the unit itself, for example, a query unit may also be described as a "unit of functionality of a query unit".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to perform the method for determining application stability provided by the present invention.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for determining application stability, comprising:
according to the target application and a preset corresponding relation, inquiring a private network in a cloud platform corresponding to the target application, and determining basic resources and external service resources corresponding to the private network;
acquiring a cloud product log of a cloud product corresponding to the target application, a service log of a service corresponding to the target application and management information corresponding to the target application in the cloud platform;
monitoring parameter values of stability parameters corresponding to the target application according to the basic resources, the external service resources, the cloud product logs, the service logs and the management information respectively, wherein the stability parameters comprise basic parameters of the basic resources, service parameters of the external service resources, cloud product parameters, service parameters and calling dependent parameters;
and determining the stability result of the target application according to the parameter value of the stability parameter.
2. The method of claim 1, wherein the base resource comprises a cloud resource associated with a host, a database, and a cache corresponding to the identity of the private network, and wherein the base parameters comprise operating parameters of the cloud resource;
the external service resources comprise communication resources used by the target application for connecting with external services, and the service parameters comprise parameters of corresponding use states of the communication resources;
the cloud product parameters comprise abnormal parameters of cloud products corresponding to the target application in the cloud product log;
the service parameters comprise parameters determined according to user instructions;
the call dependent parameters comprise call service parameters and dependent service parameters in the target application.
3. The method according to claim 2, wherein the parameters of the usage status of the communication resource include availability and response time of the communication resource;
the monitoring the parameter value of the stability parameter corresponding to the target application according to the basic resource, the external service resource, the cloud product log, the service log and the management information respectively comprises:
monitoring the operation parameters of the basic resources according to the operation state of the cloud resources;
monitoring the corresponding availability and response time of the communication resources through data transmission between each detection node and the communication resources;
acquiring error data and alarm data of the cloud product corresponding to the target application according to the cloud product log, and monitoring parameter values of the abnormal parameters according to the error data and the alarm data;
monitoring the parameter value of the service parameter according to the data corresponding to the service parameter in the service log;
and monitoring the parameter value of the calling dependent parameter according to the calling relation and the data corresponding to the dependent relation in the management information.
4. The method of claim 1, wherein determining the stability result of the target application according to the parameter value of the stability parameter comprises:
obtaining an evaluation strategy corresponding to each stability parameter;
respectively calculating the scores corresponding to the stability parameters according to the evaluation strategy;
and determining the stability result of the target application according to the score corresponding to each stability parameter.
5. The method according to claim 1, further comprising, after the determining the stability result of the target application according to the parameter value of the stability parameter:
judging whether the stability of the target application meets a preset condition or not according to the stability result;
and if not, sending alarm information to the user corresponding to the target application.
6. An apparatus for determining application stability, comprising:
the query unit is used for querying a private network in a cloud platform corresponding to the target application according to the target application and a preset corresponding relation, and determining basic resources and external service resources corresponding to the private network;
an obtaining unit, configured to obtain a cloud product log of a cloud product corresponding to the target application, a service log of a service corresponding to the target application, and management information corresponding to the target application in the cloud platform;
a monitoring unit, configured to monitor a parameter value of a stability parameter corresponding to the target application according to the basic resource, the external service resource, the cloud product log, the service log, and the management information, respectively, where the stability parameter includes a basic parameter of the basic resource, a service parameter of the external service resource, a cloud product parameter, a service parameter, and a call dependency parameter;
and the determining unit is used for determining the stability result of the target application according to the parameter value of the stability parameter.
7. The apparatus of claim 6, wherein the base resource comprises a cloud resource associated with a host, a database, and a cache corresponding to the identity of the private network, and wherein the base parameters comprise operating parameters of the cloud resource;
the external service resources comprise communication resources used by the target application for connecting with external services, and the service parameters comprise parameters of corresponding use states of the communication resources;
the cloud product parameters comprise abnormal parameters of cloud products corresponding to the target application in the cloud product log;
the service parameters comprise parameters determined according to user instructions;
the call dependent parameters comprise call service parameters and dependent service parameters in the target application.
8. The apparatus according to claim 7, wherein the parameters of the usage status of the communication resource include availability and response time of the communication resource;
the monitoring unit is specifically configured to:
monitoring the operation parameters of the basic resources according to the operation state of the cloud resources;
monitoring the corresponding availability and response time of the communication resources through data transmission between each detection node and the communication resources;
acquiring error data and alarm data of the cloud product corresponding to the target application according to the cloud product log, and monitoring parameter values of the abnormal parameters according to the error data and the alarm data;
monitoring the parameter value of the service parameter according to the data corresponding to the service parameter in the service log;
and monitoring the parameter value of the calling dependent parameter according to the calling relation and the data corresponding to the dependent relation in the management information.
9. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-5.
10. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-5.
CN202011359923.8A 2020-11-27 2020-11-27 Application stability determination method and device, electronic equipment and storage medium Pending CN113778780A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011359923.8A CN113778780A (en) 2020-11-27 2020-11-27 Application stability determination method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011359923.8A CN113778780A (en) 2020-11-27 2020-11-27 Application stability determination method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113778780A true CN113778780A (en) 2021-12-10

Family

ID=78835233

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011359923.8A Pending CN113778780A (en) 2020-11-27 2020-11-27 Application stability determination method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113778780A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114826964A (en) * 2022-04-11 2022-07-29 京东科技信息技术有限公司 Resource monitoring method, device and system

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106708700A (en) * 2016-12-13 2017-05-24 广东金赋科技股份有限公司 Operation and maintenance monitoring method and device applied to server side
US20170199752A1 (en) * 2016-01-12 2017-07-13 International Business Machines Corporation Optimizing the deployment of virtual resources and automating post-deployment actions in a cloud environment
CN107301115A (en) * 2017-06-26 2017-10-27 中国铁道科学研究院电子计算技术研究所 Application exception is monitored and restoration methods and equipment
CN107528870A (en) * 2016-06-22 2017-12-29 腾讯科技(深圳)有限公司 A kind of collecting method and its equipment
CN107528749A (en) * 2017-08-28 2017-12-29 杭州安恒信息技术有限公司 Website Usability detection method, apparatus and system based on cloud protection daily record
US20180114271A1 (en) * 2016-10-26 2018-04-26 International Business Machines Corporation Automation and validation of insurance claims for infrastructure risks and failures in multi-processor computing environments
CN109634825A (en) * 2018-12-11 2019-04-16 郑州云海信息技术有限公司 A kind of virtual platform stability test method
CN109684280A (en) * 2018-12-19 2019-04-26 泰康保险集团股份有限公司 Journal file processing method, apparatus and system
CN109800223A (en) * 2018-12-12 2019-05-24 平安科技(深圳)有限公司 Log processing method, device, electronic equipment and storage medium
US20190179726A1 (en) * 2016-12-08 2019-06-13 Tencent Technology (Shenzhen) Company Limited Monitoring method and apparatus of server, and storage medium
CN110928853A (en) * 2018-09-14 2020-03-27 北京京东尚科信息技术有限公司 Method and device for identifying log
CN111198798A (en) * 2019-12-31 2020-05-26 南京医康科技有限公司 Service stability measuring method and device
CN111258971A (en) * 2020-01-10 2020-06-09 北京农信互联科技集团有限公司 Application state monitoring alarm system and method based on access log
CN111290918A (en) * 2020-02-26 2020-06-16 苏州浪潮智能科技有限公司 Server running state monitoring method and device and computer readable storage medium
CN111597099A (en) * 2020-05-19 2020-08-28 山东汇贸电子口岸有限公司 Non-invasive simulation method for monitoring application running quality deployed on cloud platform

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170199752A1 (en) * 2016-01-12 2017-07-13 International Business Machines Corporation Optimizing the deployment of virtual resources and automating post-deployment actions in a cloud environment
CN107528870A (en) * 2016-06-22 2017-12-29 腾讯科技(深圳)有限公司 A kind of collecting method and its equipment
US20180114271A1 (en) * 2016-10-26 2018-04-26 International Business Machines Corporation Automation and validation of insurance claims for infrastructure risks and failures in multi-processor computing environments
US20190179726A1 (en) * 2016-12-08 2019-06-13 Tencent Technology (Shenzhen) Company Limited Monitoring method and apparatus of server, and storage medium
CN106708700A (en) * 2016-12-13 2017-05-24 广东金赋科技股份有限公司 Operation and maintenance monitoring method and device applied to server side
CN107301115A (en) * 2017-06-26 2017-10-27 中国铁道科学研究院电子计算技术研究所 Application exception is monitored and restoration methods and equipment
CN107528749A (en) * 2017-08-28 2017-12-29 杭州安恒信息技术有限公司 Website Usability detection method, apparatus and system based on cloud protection daily record
CN110928853A (en) * 2018-09-14 2020-03-27 北京京东尚科信息技术有限公司 Method and device for identifying log
CN109634825A (en) * 2018-12-11 2019-04-16 郑州云海信息技术有限公司 A kind of virtual platform stability test method
CN109800223A (en) * 2018-12-12 2019-05-24 平安科技(深圳)有限公司 Log processing method, device, electronic equipment and storage medium
CN109684280A (en) * 2018-12-19 2019-04-26 泰康保险集团股份有限公司 Journal file processing method, apparatus and system
CN111198798A (en) * 2019-12-31 2020-05-26 南京医康科技有限公司 Service stability measuring method and device
CN111258971A (en) * 2020-01-10 2020-06-09 北京农信互联科技集团有限公司 Application state monitoring alarm system and method based on access log
CN111290918A (en) * 2020-02-26 2020-06-16 苏州浪潮智能科技有限公司 Server running state monitoring method and device and computer readable storage medium
CN111597099A (en) * 2020-05-19 2020-08-28 山东汇贸电子口岸有限公司 Non-invasive simulation method for monitoring application running quality deployed on cloud platform

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114826964A (en) * 2022-04-11 2022-07-29 京东科技信息技术有限公司 Resource monitoring method, device and system
CN114826964B (en) * 2022-04-11 2024-04-05 京东科技信息技术有限公司 Resource monitoring method, device and system

Similar Documents

Publication Publication Date Title
CN111460129B (en) Method, device, electronic equipment and storage medium for generating identification
CN112860451A (en) Multi-tenant data processing method and device based on SaaS
CN111861140A (en) Service processing method, device, storage medium and electronic device
US10355922B1 (en) Automated computing architecture configuration service
CN111124819A (en) Method and device for monitoring full link
CN111104675A (en) Method and device for detecting system security vulnerability
CN111427701A (en) Workflow engine system and business processing method
CN108667660B (en) Method and device for route management and service routing and routing system
CN110896362B (en) Fault detection method and device
CN113778780A (en) Application stability determination method and device, electronic equipment and storage medium
CN113138772B (en) Construction method and device of data processing platform, electronic equipment and storage medium
US7558770B2 (en) Method and system to detect application non-conformance
CN112559001B (en) Method and device for updating application
CN113726885A (en) Method and device for adjusting flow quota
CN113760712A (en) Test evaluation method and device
CN110933122B (en) Method, apparatus and computer storage medium for managing server
CN112433891A (en) Data processing method and device and server
CN111737218A (en) File sharing method and device
US20190272190A1 (en) Dynamically configurable operation information collection
CN113760886B (en) Method, apparatus, device and computer readable medium for providing data service
CN110262756B (en) Method and device for caching data
CN108920352B (en) Method and device for acquiring information
CN117032777A (en) Low-code platform configuration method, device, electronic equipment and readable storage medium
CN116841857A (en) Method, device and system for testing application
CN117319405A (en) Method, apparatus, device and computer readable medium for monitoring node server

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination