CN113778780B - Application stability determining method and device, electronic equipment and storage medium - Google Patents

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

Info

Publication number
CN113778780B
CN113778780B CN202011359923.8A CN202011359923A CN113778780B CN 113778780 B CN113778780 B CN 113778780B CN 202011359923 A CN202011359923 A CN 202011359923A CN 113778780 B CN113778780 B CN 113778780B
Authority
CN
China
Prior art keywords
stability
target application
parameter
service
parameters
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.)
Active
Application number
CN202011359923.8A
Other languages
Chinese (zh)
Other versions
CN113778780A (en
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/CN113778780B/en
Publication of CN113778780A publication Critical patent/CN113778780A/en
Application granted granted Critical
Publication of CN113778780B publication Critical patent/CN113778780B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Debugging And Monitoring (AREA)

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 the following steps: inquiring a private network in the cloud platform corresponding to the target application according to the corresponding relation between the target application and the preset, and determining a basic resource and an external service resource corresponding to the private network; acquiring a cloud product log of a cloud product corresponding to a target application in a cloud platform, a service log of a service corresponding to the target application and management information corresponding to the target application; monitoring parameter values of stability parameters corresponding to target applications according to the basic resources, the external service resources, the cloud product logs, the service logs and the management information respectively; and determining a stability result of the target application according to the parameter value of the stability parameter. The embodiment can solve the problem 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 determining 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 apparatus for determining application stability, an electronic device, and a storage medium.
Background
With development of cloud technology, the cloud has been widely applied in various industries, so stability of application in a cloud platform is also an important point of attention of users, and monitoring of application stability in the cloud platform is an important requirement. The stability of applications in a cloud platform is currently typically achieved by monitoring overall operating parameters in the cloud platform. However, the method can only monitor the overall stability of the cloud platform, and cannot monitor the stability of each application in the cloud platform respectively, so that the specific condition of the stability of each application in the cloud platform cannot be determined.
Disclosure of Invention
In view of the above, embodiments of the present invention provide a method, an apparatus, an electronic device, and a storage medium for determining stability of an application, which can not implement monitoring stability of each application in a cloud platform, and cannot determine a specific situation of stability of each application in the cloud platform.
In order to achieve the above object, according to an aspect of an embodiment of the present invention, there is provided a method for determining stability of an application.
The method for determining the application stability comprises the following steps: inquiring a private network in a cloud platform corresponding to the target application according to the corresponding relation between the target application and the preset, and determining a basic resource and an external service resource 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 resource, the external service resource, the cloud product log, the service log and the management information respectively, wherein the stability parameters comprise the basic parameter of the basic resource, the service parameter of the external service resource, the cloud product parameter, the service parameter and the calling dependent parameter; and determining a stability result of the target application according to the parameter value of the stability parameter.
In one embodiment, the base resource includes cloud resources associated with an identity-corresponding host, a database, and a cache of the private network, and the base parameter includes an operation parameter of the cloud resources;
The external service resource comprises a communication resource used by the target application for connecting with external service, and the service parameter comprises a parameter of the communication resource corresponding to the use state;
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 an availability and a 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 the following steps:
monitoring the operation parameters of the basic resources according to the operation state of the cloud resources;
Monitoring the availability and response time corresponding to the communication resources through data transmission between each detection node and the communication resources;
According to the cloud product log, error data and alarm data of cloud products corresponding to the target application are obtained, and parameter values of the abnormal parameters are monitored according to the error data and the alarm data;
Monitoring parameter values of the service parameters according to data corresponding to the service parameters in the service log;
And monitoring parameter values of the calling dependent parameters according to the calling relation and the corresponding data of 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:
Acquiring an evaluation strategy corresponding to each stability parameter;
according to the evaluation strategy, respectively calculating the score corresponding to each stability parameter;
And determining a 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 according to the stability result;
If not, sending alarm information to the corresponding user of the target application.
In order to achieve the above object, according to another aspect of the embodiments of the present invention, there is provided an application stability determining apparatus.
The device for determining the application stability of the embodiment of the invention comprises the following steps: the query unit is used for querying a private network in the cloud platform corresponding to the target application according to the target application and a preset corresponding relation, and determining a basic resource and an external service resource corresponding to the private network; the cloud platform comprises an acquisition unit, a storage unit and a management unit, wherein the acquisition unit is used for acquiring cloud product logs of cloud products corresponding to the target application, service logs of services corresponding to the target application and management information corresponding to the target application in the cloud platform; the monitoring unit is used for monitoring parameter values of stability parameters 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, wherein the stability parameters comprise the basic parameter of the basic resource, the service parameter of the external service resource, the cloud product parameter, the service parameter and the call dependence 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 includes cloud resources associated with an identity-corresponding host, a database, and a cache of the private network, and the base parameter includes an operation parameter of the cloud resources;
The external service resource comprises a communication resource used by the target application for connecting with external service, and the service parameter comprises a parameter of the communication resource corresponding to the use state;
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 an availability and a 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 availability and response time corresponding to the communication resources through data transmission between each detection node and the communication resources;
According to the cloud product log, error data and alarm data of cloud products corresponding to the target application are obtained, and parameter values of the abnormal parameters are monitored according to the error data and the alarm data;
Monitoring parameter values of the service parameters according to data corresponding to the service parameters in the service log;
And monitoring parameter values of the calling dependent parameters according to the calling relation and the corresponding data of the dependent relation in the management information.
In a further embodiment, the determining unit is specifically configured to:
Acquiring an evaluation strategy corresponding to each stability parameter;
according to the evaluation strategy, respectively calculating the score corresponding to each stability parameter;
And determining a 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 corresponding user of the target application if not.
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 according to an embodiment of the present invention includes: one or more processors; and 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 are enabled to realize 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, a computer-readable medium is provided.
A computer readable medium of an embodiment of the present invention stores a computer program thereon, which when executed by a processor implements the method for determining application stability provided by the 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 queried 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, and meanwhile, the cloud platform log, the service log and the management information can be acquired, so that the stability parameters corresponding to the target application are 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 values. In the embodiment of the invention, the resource corresponding to the target application can be determined based on the preset corresponding relation, so that the stability of the target application can be monitored, the specific condition of the stability of each application in the cloud platform can be determined, and meanwhile, the stability parameters of each aspect of the target application can be monitored, so that 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 parameters is solved.
Further effects of the above-described non-conventional alternatives are 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 a determination system of application stability according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of one 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 present invention;
FIG. 4 is a schematic diagram of one manner of service parameter monitoring in accordance with an embodiment of the present invention;
FIG. 5 is a schematic diagram of one main flow of a method of determining stability results according to an embodiment of the present invention;
fig. 6 is a schematic diagram of main units of a determination device of application stability according to an embodiment of the present invention;
FIG. 7 is a diagram of yet another exemplary system architecture in which embodiments of the present invention may be applied;
FIG. 8 is a schematic diagram of a computer system suitable for use in implementing embodiments of the present invention.
Detailed Description
Exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present invention are included to facilitate understanding, and are to be considered 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 is noted that embodiments of the invention 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 for monitoring the application stability in a cloud platform. Specifically, fig. 1 is a schematic diagram of a system architecture of a system for determining application stability in an embodiment of the present invention.
As shown in fig. 1, the business party represents business services corresponding to applications in the cloud platform, which may include various types, such as open platform, logistics, finance, and the like. The data summarization processing layer stores a preset stability evaluation strategy, can receive stability monitoring data, namely parameter values of monitored stability parameters, and can further determine stability results of the application according to the stability monitoring data and the stability evaluation strategy. The data summarization processing display layer can be used for receiving the stability monitoring data of each application and displaying the stability monitoring data. The stability monitoring data is used for configuring stability parameters used for monitoring by each application, and monitoring parameter values of each stability parameter, namely the stability monitoring data, wherein the stability parameters can comprise data as shown in fig. 1, and specifically can be: the cloud base setting and the cloud resource corresponding base parameters embody the parameters of the availability of the port, the domain name and the address of the external service, the application corresponds to the cloud product log, the monitoring parameters of the service application embody the corresponding parameters of the user codes, the network problems and the like. The data source system represents a system that monitors stability parameters, which may include cloud monitoring, cloud dial-up, log services or custom monitoring, APM (application performance management), and so forth. The data source system can obtain data corresponding to each stability parameter through monitoring, namely stability monitoring data, and input the stability monitoring data into the data summarization display layer and the data summarization layer so as to be convenient for summarizing and processing the stability monitoring data.
In the embodiment of the 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 in the application dimensions, so as to display the environment of the stability of each application, including: stability of basic resources, service stability, cloud product stability, service stability, code and system structure stability and the like, so that omnibearing monitoring and detection of corresponding stability can be realized.
The embodiment of the invention provides a method for determining application stability, which can be executed by a server or an interrupt device, as shown in fig. 2, and comprises the following steps.
S201: inquiring a private network in the cloud platform corresponding to the target application according to the corresponding relation between the target application and the preset, and determining a basic resource and an external service resource corresponding to the private network.
The application is deployed on the cloud, a corresponding private network is configured for the application, and then corresponding basic resources and resources for external services are deployed for the application in the private network, and a specific manner can be shown in fig. 3. In fig. 3, the cloud platform creates a cloud application and associates with a service application, then creates a private network space for the cloud application, and then creates cloud resources in the private network space, so in the embodiment of the invention, the correspondence between the application and the private network can be preconfigured, which is equivalent to establishing the correspondence between the target application and the cloud resources, and then the correspondence between each basic resource and the target application in the private network can be established. Specifically, the correspondence may be a correspondence between an identifier of the application and an identifier of the private network, and the identifier of the application may be appkey.
After the corresponding relation between the application and the private network is established, the private network corresponding to the target application can be queried according to the target application, and then the basic resource and the external service resource corresponding to the private network can be queried, so that the basic resource and the external service resource corresponding to the target application can be determined.
S202: and acquiring cloud product logs of cloud products corresponding to the target application, service logs of services corresponding to the target application and management information corresponding to the target application in the cloud platform.
Each application is 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, where when the cloud products are running, corresponding running parameters are recorded in the log of the cloud platform. For the target application, the running condition of the corresponding cloud product is also one dimension for evaluating the stability of the target application, so that in the step, the cloud product log of the corresponding cloud product of the target application in the cloud platform can be obtained for monitoring the stability of the target application. Each application in the cloud platform provides service for external service, so that the running condition of the corresponding service of the application is also one dimension for evaluating the stability of the target application, and therefore, in the step, the service log of the corresponding service of the target application can be obtained for monitoring the stability of the target application. Meanwhile, for each application deployed on the cloud platform, the calling and the dependency relationship among the services included in the application are monitored through the corresponding application performance management to reflect the execution states of the application codes, network topology and the like, so that management information can be acquired through application performance management in the embodiment of the invention, and further, the dimensional evaluation stability from the application codes, network problems and the like is realized.
S203: and monitoring 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 call dependent parameters.
In the embodiment of the invention, the application deployment needs the corresponding application system, the basic resources required by the application system deployment in the cloud platform, such as the resources required by the system operation of a host, a database, a cache and the like, are deployed in the private network corresponding to the application, and each index of the basic resources can reflect the stability condition of the application laterally, so that the basic parameters of the stability of the image target application can be monitored according to the basic resources of the private network. Specifically, the basic resource includes cloud resources associated with the host, the database and the cache corresponding to the identifier of the private network, and the basic parameter may include operation parameters of the cloud resources, for example, usage of cloud resources such as a CPU, a disk, a memory, and the public network IP usage, and the like of the host, the database, the cache, and the like.
The application external service communication can be realized through a pre-configured external service resource, namely, connection with external service is established through the pre-configured external service resource, the external service resource can comprise communication resources used by a target application for connection with external service, such as domain name, IP port, address (url) and the like used for external communication, and the use condition of the communication resources usually can image the stability of the application, so that the communication resources configured to each application in the embodiment of the invention can establish the corresponding relation between the communication resources and the application, such as establishing the corresponding relation between the communication resources and the private network of the application, and further, the parameter value of the service parameter of the external service resource is obtained through monitoring the parameter of the corresponding use state of the communication resources. Specifically, the service parameters may include an availability and a response time corresponding to the communication resource. The method comprises the steps that a plurality of detection nodes can be arranged outside a cloud platform, then, a request similar to real user access is sent to an address of a communication resource identifier through each detection node, and a response can be received, so that the condition of data transmission between the detection nodes and the communication resource can be determined based on the response, and further, according to the availability and response time corresponding to the communication resource can be obtained, a specific flow can be shown as shown in fig. 4. The availability is the percentage of the number of detection results with the status code smaller than 400 in the detection point received response in the detection period to the number of the received responses.
The cloud product operation of each application is deployed on the cloud platform, operation data corresponding to each cloud product can be recorded in the log, in the embodiment of the invention, abnormal data of the cloud product can be obtained from the cloud product log, and the abnormal data can specifically comprise error data and alarm data, so that in the step, parameter values of abnormal parameters of each cloud product, such as alarm rate, error rate and the like, can be determined by monitoring the error data and the alarm data of each cloud product in the cloud product log. It should be noted that, for monitoring of cloud product parameters, it is usually required to perform pre-configuration, that is, pre-configuration of monitoring cloud product logs, so in the embodiment of the present invention, whether to configure monitoring cloud product logs as a stability parameter may also be monitored.
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 the data which can be set according to the user instruction, and the data included in the user instruction embody the requirement of the user on application stability monitoring.
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 various services in the application, and the calling relations and the dependency relations can be stored through application performance management in a cloud platform, and key index data of the application service, such as calling times, service delay, error numbers and the like. Therefore, in the embodiment of the invention, the call dependent parameters corresponding to the application can be monitored through the management information stored in the application performance management, and the call dependent parameters can specifically comprise call service parameters and dependent service parameters in the target application. The monitoring of the information such as the application self code, the network, the application whole CPU utilization rate, the memory usage amount information, the application topology, the JVM monitoring, the operating system, the SQL call statistics, the error analysis, the call chain and the like can be realized through the monitoring of the call dependent parameters.
It should be noted that in the embodiment of the present invention, other stability parameters may be set according to the application stability evaluation requirement, for example, whether some configuration information is configured or not, or the response result of some service data, etc. may be monitored, so as to meet the individual requirement of different applications on stability evaluation.
S204: and determining a 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 a user can adjust the target application according to the stability result so as to enable the target application to run more stably.
Specifically, in the embodiment of the invention, the condition for evaluating the stability, namely the preset condition, can be preset, then whether the target application is stable or not is evaluated according to whether the stability result meets the preset condition, and when the stability result does not meet the preset condition, alarm information is sent to the user corresponding to the target application, so as 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 period, and then a corresponding stability result may be obtained for each period. 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 stability of the target application can be monitored, the specific condition of the stability of each application in the cloud platform can be determined, and meanwhile, the stability parameters of each aspect of the target application can be monitored, so that 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 parameters is solved.
In the embodiment of the present invention, the score is used to represent the stability result 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 acquiring the evaluation strategies corresponding to the stability parameters respectively.
The evaluation policy is preset, and in the embodiment of the invention, an evaluation rule can be set, where the evaluation rule includes an 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: the availability is 100%, the normal state is determined, the score is 10, and the availability can be deducted when the average value is lower than 95%.
Specifically, the evaluation policy may be set for evaluation criteria and deduction criteria (e.g., deduction 2 points) according to the user requirements of the template application.
S502: and respectively calculating the scores corresponding to the stability parameters according to the evaluation strategies.
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 scores corresponding to the stability parameters.
After the scores corresponding to the stability parameters are obtained, the scores corresponding to the stability parameters are summarized, and then the stability result of the target application can be determined.
In the embodiment of the invention, the stability of the target application is reflected by outputting the quantized stability result, and the specific result parameters of the application stability are provided for the user, so that the user can evaluate the stability of the target application more accurately.
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, the apparatus 600 includes:
The query unit 601 is configured to query a private network in the cloud platform corresponding to the target application according to the corresponding relationship between the target application and a preset 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 in the cloud platform, a service log of a service corresponding to the target application, and management information corresponding to the target application;
The monitoring unit 603 is configured to monitor, according to the basic resource, the external service resource, the cloud product log, the service log, and the management information, a parameter value of a stability parameter corresponding to the target application, 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 the 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 that of implementing the embodiment shown in fig. 2, and will not be described herein.
In one implementation manner of the embodiment of the present invention, the basic resource includes cloud resources 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 resources;
The external service resource comprises a communication resource used by the target application for connecting with external service, and the service parameter comprises a parameter of the communication resource corresponding to the use state;
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 implementation manner of the embodiment of the present invention, the parameters of the usage state of the communication resource include 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 availability and response time corresponding to the communication resources through data transmission between each detection node and the communication resources;
According to the cloud product log, error data and alarm data of cloud products corresponding to the target application are obtained, and parameter values of the abnormal parameters are monitored according to the error data and the alarm data;
Monitoring parameter values of the service parameters according to data corresponding to the service parameters in the service log;
And monitoring parameter values of the calling dependent parameters according to the calling relation and the corresponding data of the dependent relation in the management information.
In yet another implementation manner of the embodiment of the present invention, the determining unit 604 is specifically configured to:
Acquiring an evaluation strategy corresponding to each stability parameter;
according to the evaluation strategy, respectively calculating the score corresponding to each stability parameter;
And determining a stability result of the target application according to the score corresponding to each stability parameter.
In yet 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 corresponding user of the target application if not.
It should be understood that the manner of implementing the embodiment of the present invention is the same as that of implementing the embodiment shown in fig. 2, and will not be described herein.
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 stability of the target application can be monitored, the specific condition of the stability of each application in the cloud platform can be determined, and meanwhile, the stability parameters of each aspect of the target application can be monitored, so that 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 parameters is solved.
According to an embodiment of the present invention, an electronic device and a readable storage medium are also provided.
The electronic equipment 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 one processor, and the instructions are executed by the at least one processor, so that the at least one processor executes the method for determining application stability provided by the embodiment of the invention.
Fig. 7 illustrates an exemplary system architecture 700 to which the application stability determination method or the application stability determination apparatus of the embodiment of the present invention may be applied.
As shown in fig. 7, a system architecture 700 may include terminal devices 701, 702, 703, a network 704, and a server 705. The network 704 is the medium used to provide communication links between the terminal devices 701, 702, 703 and the server 705. The network 704 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
A user may interact with the server 705 via the network 704 using the terminal devices 701, 702, 703 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 smartphones, tablets, laptop and desktop computers, and the like. The terminal devices 701, 702, 703 may be terminal devices requesting an evaluation of the stability of the target application.
The server 705 may be a server providing various services, and the server may monitor a request for stability of the received terminal device and feed back a result of the stability to the terminal device.
It should be noted that, the method for determining application stability provided in the embodiment of the present invention is generally executed by the server 705, and accordingly, the device for determining 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, there is illustrated a schematic diagram of a computer system 800 suitable for use in implementing embodiments of the present invention. The computer system shown in fig. 8 is merely an example, and should not be construed as limiting the functionality and scope of use of embodiments of the present 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 according to 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 required for the operation of the system 800 are also stored. The CPU 801, ROM 802, and RAM 803 are connected to each other by a bus 804. An input/output (I/O) interface 805 is also connected to the bus 804.
The following components are connected to the I/O interface 805: an input portion 806 including a keyboard, mouse, etc.; an output portion 807 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage section 808 including a hard disk or 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. The drive 810 is also connected to the I/O interface 805 as needed. 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 needed so that a computer program read out therefrom is mounted into the storage section 808 as needed.
In particular, according to embodiments of the present disclosure, the processes described above with reference to 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 shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section 809, and/or installed from the removable media 811. The above-described functions defined in the system of the present invention are performed when the computer program is executed by a Central Processing Unit (CPU) 801.
The computer readable medium shown in the present invention may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any 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 context of this document, 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, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. 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 flowcharts 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 involved in the embodiments of the present invention may be implemented in software or in hardware. The described units may also be provided in a processor, for example, described as: a processor includes a query unit, an acquisition unit, a monitoring unit, and a determination unit. Where the names of these units do not constitute a limitation on the unit itself in some cases, for example, a querying unit may also be described as a "unit of the function of the querying 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 present alone without being fitted into the device. The computer-readable medium carries one or more programs which, when executed by one of the devices, cause the device to perform the method of determining application stability provided by the present invention.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives can occur depending upon design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for determining stability of an application, comprising:
Inquiring a private network in a cloud platform corresponding to a target application according to a corresponding relation between the target application and a preset, and determining a basic resource and an external service resource 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 resource, the external service resource, the cloud product log, the service log and the management information respectively, wherein the stability parameters comprise the basic parameter of the basic resource, the service parameter of the external service resource, the cloud product parameter, the service parameter and the calling dependent parameter;
And determining a 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 cloud resources associated with an identity-corresponding host, database, and cache of the private network, and wherein the base parameter comprises an operating parameter of the cloud resources;
The external service resource comprises a communication resource used by the target application for connecting with external service, and the service parameter comprises a parameter of the communication resource corresponding to the use state;
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 communication resource corresponding usage status include an availability and a response time corresponding to 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 the following steps:
monitoring the operation parameters of the basic resources according to the operation state of the cloud resources;
Monitoring the availability and response time corresponding to the communication resources through data transmission between each detection node and the communication resources;
According to the cloud product log, error data and alarm data of cloud products corresponding to the target application are obtained, and parameter values of the abnormal parameters are monitored according to the error data and the alarm data;
Monitoring parameter values of the service parameters according to data corresponding to the service parameters in the service log;
And monitoring parameter values of the calling dependent parameters according to the calling relation and the corresponding data of the dependent relation in the management information.
4. The method according to claim 1, wherein determining the stability result of the target application according to the parameter value of the stability parameter comprises:
Acquiring an evaluation strategy corresponding to each stability parameter;
according to the evaluation strategy, respectively calculating the score corresponding to each stability parameter;
And determining a 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 said determining a stability result of said target application based on a parameter value of said stability parameter:
judging whether the stability of the target application meets a preset condition according to the stability result;
If not, sending alarm information to the corresponding user of the target application.
6. An application stability determining apparatus, comprising:
the query unit is used for querying a private network in the cloud platform corresponding to the target application according to the target application and a preset corresponding relation, and determining a basic resource and an external service resource corresponding to the private network;
the cloud platform comprises an acquisition unit, a storage unit and a management unit, wherein the acquisition unit is used for acquiring cloud product logs of cloud products corresponding to the target application, service logs of services corresponding to the target application and management information corresponding to the target application in the cloud platform;
The monitoring unit is used for monitoring parameter values of stability parameters 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, wherein the stability parameters comprise the basic parameter of the basic resource, the service parameter of the external service resource, the cloud product parameter, the service parameter and the call dependence 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 cloud resources associated with an identity-corresponding host, database, and cache of the private network, the base parameter comprising an operating parameter of the cloud resources;
The external service resource comprises a communication resource used by the target application for connecting with external service, and the service parameter comprises a parameter of the communication resource corresponding to the use state;
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 of claim 7, wherein the parameters of the communication resource corresponding usage status include an availability and a 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 availability and response time corresponding to the communication resources through data transmission between each detection node and the communication resources;
According to the cloud product log, error data and alarm data of cloud products corresponding to the target application are obtained, and parameter values of the abnormal parameters are monitored according to the error data and the alarm data;
Monitoring parameter values of the service parameters according to data corresponding to the service parameters in the service log;
And monitoring parameter values of the calling dependent parameters according to the calling relation and the corresponding data of the dependent relation in the management information.
9. An electronic device, comprising:
one or more processors;
Storage means for storing one or more programs,
When executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-5.
10. A computer readable medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-5.
CN202011359923.8A 2020-11-27 2020-11-27 Application stability determining method and device, electronic equipment and storage medium Active CN113778780B (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
CN113778780A CN113778780A (en) 2021-12-10
CN113778780B true CN113778780B (en) 2024-05-17

Family

ID=78835233

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN113778780B (en)

Families Citing this family (1)

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

Citations (12)

* 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
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
CN107528870A (en) * 2016-06-22 2017-12-29 腾讯科技(深圳)有限公司 A kind of collecting method and its equipment
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
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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10387181B2 (en) * 2016-01-12 2019-08-20 International Business Machines Corporation Pre-deployment of particular virtual machines based on performance and due to service popularity and resource cost scores in a cloud environment
US10332212B2 (en) * 2016-10-26 2019-06-25 International Business Machines Corporation Automation and validation of insurance claims for infrastructure risks and failures in multi-processor computing environments
CN106844137B (en) * 2016-12-08 2020-05-19 腾讯科技(深圳)有限公司 Server monitoring method and device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107528870A (en) * 2016-06-22 2017-12-29 腾讯科技(深圳)有限公司 A kind of collecting method and its equipment
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

Also Published As

Publication number Publication date
CN113778780A (en) 2021-12-10

Similar Documents

Publication Publication Date Title
CN112860451A (en) Multi-tenant data processing method and device based on SaaS
CN111460129B (en) Method, device, electronic equipment and storage medium for generating identification
WO2021023149A1 (en) Method and apparatus for dynamically returning message
CN111104675A (en) Method and device for detecting system security vulnerability
CN110737726B (en) Method and device for determining test data of interface to be tested
CN110896362B (en) Fault detection method and device
CN116303608A (en) Data processing method and device for application service
CN113778780B (en) Application stability determining method and device, electronic equipment and storage medium
CN113138772B (en) Construction method and device of data processing platform, electronic equipment and storage medium
CN112131257B (en) Data query method and device
CN112559001B (en) Method and device for updating application
CN116932505A (en) Data query method, data writing method, related device and system
CN110933122B (en) Method, apparatus and computer storage medium for managing server
CN113760712A (en) Test evaluation method and device
CN113609168A (en) Data export method, device, terminal and readable storage medium
CN113282455A (en) Monitoring processing method and device
US20080125878A1 (en) Method and system to detect application non-conformance
CN112559233A (en) Method, device, equipment and computer readable medium for identifying fault type
CN111737218A (en) File sharing method and device
CN113760886B (en) Method, apparatus, device and computer readable medium for providing data service
CN113726885B (en) Flow quota adjusting method and device
CN114979132B (en) Cluster component state detection method and device
CN110262756B (en) Method and device for caching data
CN112925628A (en) Service management method and device
CN113360939A (en) Control method and device for security access

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
GR01 Patent grant
GR01 Patent grant