CN115883358A - Method and device for monitoring, early warning and degrading third-party application - Google Patents

Method and device for monitoring, early warning and degrading third-party application Download PDF

Info

Publication number
CN115883358A
CN115883358A CN202211483878.6A CN202211483878A CN115883358A CN 115883358 A CN115883358 A CN 115883358A CN 202211483878 A CN202211483878 A CN 202211483878A CN 115883358 A CN115883358 A CN 115883358A
Authority
CN
China
Prior art keywords
address
party application
application
monitoring
access
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
CN202211483878.6A
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.)
Unicloud Technology Co Ltd
Original Assignee
Unicloud 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 Unicloud Technology Co Ltd filed Critical Unicloud Technology Co Ltd
Priority to CN202211483878.6A priority Critical patent/CN115883358A/en
Publication of CN115883358A publication Critical patent/CN115883358A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a method and a device for monitoring, early warning and degrading a third-party application, which comprises the following steps: building a management platform, and configuring parameter information of third-party application to be monitored; starting a timing task to access a page address or an interface address of a third-party application at a fixed time; when the system configuration is automatically degraded and the number of times of access errors of the application is detected to reach the configuration condition, replacing the access address of the application according to the configured degraded address; continuously monitoring a timing task; and the App user requests the third-party application, normally returns a result when the application is healthy, and normally returns a degradation page when the application cannot access the trigger degradation, so that abnormal error response is avoided. The invention has the beneficial effects that: by developing the self-owned web management platform, the page address or the interface address of the third-party application, the early-warning error occurrence threshold value, the early-warning personnel information, the degradation condition and the address are flexibly configured, and the stable use of the third-party application after the third-party application is accessed in the App application system is greatly met.

Description

Method and device for monitoring, early warning and degrading third-party application
Technical Field
The invention belongs to the technical field of App back ends, and particularly relates to a method and a device for monitoring, early warning and degrading a third-party application.
Background
In addition to self-developed functional interfaces, the App application system is also often connected with some third-party applications, but the stability of the third-party application interfaces cannot be ensured, once the third-party applications fail to access or even cannot access for a long time, some unfriendly error information of users is directly returned, such as the absence of pages, and the like, so that the use experience of the users on the whole App is influenced;
in the existing monitoring method aiming at the third party, basic monitoring can be realized, but deep-level requirements need to be very familiar and a large amount of secondary customized development is carried out, the difficulty is high, meanwhile, the alarm setting of the system level is relatively more, and if the alarm mail is not screened, the alarm mail is more; and the self-defined project alarm needs to be set by self, and the process is relatively complicated.
Disclosure of Invention
In view of the above, the present invention is directed to a method and apparatus for monitoring, warning, and degrading a third-party application, so as to solve at least one problem of the background art.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
a method for monitoring, early warning and degrading a third-party application comprises the following steps:
s1, building a management platform, and configuring parameter information of third-party application needing to be monitored;
s2, starting a timing task to access a page address or an interface address of the third-party application at regular time;
s3, when the system configuration is automatically degraded and the number of times of access errors of the application is detected to reach a configuration condition, replacing the access address of the application according to the configured degraded address;
s4, continuously monitoring the timing task;
and S5, the App user requests the third-party application, when the application is healthy, the result is normally returned, and when the application cannot access the triggered degradation, the degraded page is normally returned, so that abnormal error response is avoided.
Further, in step S1, the parameter information includes a page address or an interface address, an error occurrence threshold for early warning, early warning personnel information, a degradation condition and an address, and a timing task detection frequency.
Further, in step S2, if an access error occurs, recording the number of errors, and reaching an early warning error threshold, and performing early warning on a manager in a short message or mailbox manner.
Further, in step S4, after detecting that the original page or the interface address of the application normally responds, clearing the recorded error times, such as the third party application address is degraded and the number of successful accesses is recorded, and when reaching the threshold of the number of successful accesses for recovering the application address, recovering the access address of the third party from the degraded address to the original address and clearing the number of successful accesses.
Furthermore, after receiving the early warning, the manager can also adjust the configured page address or interface address of the third-party application, the error occurrence threshold of the early warning, the information of the early warning personnel, the degradation condition and address, and the detection frequency of the timed task in time according to the record of the monitoring result of the timed task.
Furthermore, the present disclosure discloses an electronic device, which includes a processor and a memory, wherein the memory is communicatively connected to the processor and is used for storing executable instructions of the processor, and the processor is used for executing a method for monitoring, warning and degrading a third-party application.
Further, the present disclosure discloses a server, comprising at least one processor, and a memory communicatively coupled to the processor, the memory storing instructions executable by the at least one processor, the instructions being executable by the processor to cause the at least one processor to perform a method for monitoring, warning, and degrading a third party application.
Further, the present disclosure discloses a computer readable storage medium storing a computer program, where the computer program is executed by a processor to implement a method for monitoring, early warning, and degrading a third-party application.
Compared with the prior art, the method and the device for monitoring, early warning and degrading the third-party application have the following beneficial effects:
(1) According to the method and the device for monitoring, early warning and degrading the third-party application, the problem that the stability of the third-party application which is butted in an App application system cannot be guaranteed is solved, the flexible configuration is carried out through the development of an own web management platform, the operations of automatic detection, early warning, degrading and the like are completed, and the use experience of a user on the whole App is guaranteed;
(2) According to the method and the device for monitoring, early warning and degrading the third-party application, the page address or the interface address of the third-party application, the early warning error occurrence threshold value, the early warning personnel information, the degrading condition and the address are flexibly configured by developing the self web management platform, and the management personnel can adjust the parameter information at any time, so that the stable use of the third-party application after the third-party application is accessed in the App application system is greatly met.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate an embodiment of the invention and, together with the description, serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is a schematic view illustrating a flow of a method for monitoring, warning, and degrading a third-party application according to an embodiment of the present invention.
Detailed Description
It should be noted that the embodiments and features of the embodiments may be combined with each other without conflict.
The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
The method and the device mainly aim to solve the problem that the stability of the application of some third parties in the App application system in butt joint cannot be guaranteed, flexible configuration is carried out through development of a self-owned web management platform, operations such as automatic detection, early warning and degradation are completed, and the use experience of a user on the whole App is guaranteed.
The flow chart is shown in fig. 1, and specifically includes the following steps:
(1) Step 1, a management platform is set up, and page addresses or interface addresses of third-party applications needing to be monitored, early-warning error occurrence thresholds, early-warning personnel information, degradation conditions and addresses, timing task detection frequency and the like are configured;
(2) Step 2, starting a timing task to access a page address or an interface address of the third-party application at regular time, recording the number of errors if the access is wrong, reaching an early warning error threshold value, and early warning a manager in a short message or mailbox mode;
(3) Step 3, when the system configuration is automatically degraded and the number of times of access errors of the application is detected to reach the configuration condition, replacing the access address of the application according to the configured degraded address;
(4) Step 4, the regular task is continuously monitored, after the normal response of the original page or the interface address of the application is detected, the recorded error times are eliminated, if the application address of the third party is degraded, the times of successful access are recorded, and after the threshold value of the successful times of recovering the application address is reached, the access address of the third party is recovered to the original address from the degraded address, and the times of successful access are eliminated;
(5) Step 5, after receiving the early warning, the manager can also adjust the configured page address or interface address of the third-party application, the early warning error occurrence threshold, the early warning personnel information, the degradation condition and address, the timing task detection frequency and the like in time according to the record of the timing task monitoring result;
(6) The App user requests the third-party application, when the application is healthy, the result is normally returned, and when the application cannot access the trigger degradation, the degraded page is normally returned, so that abnormal error response is avoided.
The scheme provides a method and a device for monitoring, early warning and degrading a third-party application, and is particularly suitable for an application system containing direct access of the third-party application;
according to the scheme, the management platform developed by the management platform is used for flexibly configuring the related parameters monitored by the third-party application, regularly checking the health of the third-party application through a timing task, and performing corresponding operations such as early warning, degradation, recovery and the like according to the configuration parameters, so that the high availability of the accessed third-party application is ensured.
Those of ordinary skill in the art will appreciate that the various illustrative components and method steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the components and steps of the various examples have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided in the present application, it should be understood that the disclosed method and system may be implemented in other ways. For example, the above described division of elements is merely a logical division, and other divisions may be realized, for example, multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not executed. The units may or may not be physically separate, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being covered by the appended claims and their equivalents.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (8)

1. A method for monitoring, early warning and degrading a third-party application is characterized by comprising the following steps:
s1, building a management platform, and configuring parameter information of third-party application to be monitored;
s2, starting a timing task to access a page address or an interface address of a third-party application at regular time;
s3, when the system configuration is automatically degraded and the number of times of access errors of the application is detected to reach a configuration condition, replacing the access address of the application according to the configured degraded address;
s4, continuously monitoring a timing task;
and S5, the App user requests the third-party application, when the application is healthy, the result is normally returned, and when the application cannot access the triggered degradation, the degraded page is normally returned, so that abnormal error response is avoided.
2. The method for monitoring, warning and degrading the third-party application according to claim 1, wherein the method comprises the following steps: in step S1, the parameter information includes a page address or an interface address, an error occurrence threshold for early warning, early warning personnel information, a degradation condition and address, and a timing task detection frequency.
3. The method for monitoring, warning and degrading the third-party application according to claim 1, wherein the method comprises the following steps: in step S2, if an access error occurs, recording the number of errors, and reaching an early warning error threshold, and performing early warning on a manager in a short message or mailbox manner.
4. The method for monitoring, warning and degrading the third-party application according to claim 1, wherein the method comprises the following steps: in step S4, after detecting that the original page or the interface address of the application normally responds, clearing the recorded error times, such as the third party application address is degraded, and at the same time, recording the times of successful access, and when reaching the threshold of the times of success of restoring the application address, restoring the access address of the third party from the degraded address to the original address, and clearing the times of successful access.
5. The method for monitoring, warning and degrading the third-party application according to claim 1, wherein the method comprises the following steps: after receiving the early warning, the manager can also adjust the configured page address or interface address of the third-party application, the error occurrence threshold value of the early warning, the information of the early warning personnel, the degradation condition and address, and the detection frequency of the timed task in time according to the record of the monitoring result of the timed task.
6. An electronic device comprising a processor and a memory communicatively coupled to the processor and configured to store processor-executable instructions, wherein: the processor is configured to perform a method of monitoring, pre-warning, and degrading a third party application as claimed in any one of claims 1 to 5.
7. A server, characterized by: comprising at least one processor and a memory communicatively coupled to the processor, the memory storing instructions executable by the at least one processor to cause the at least one processor to perform a method of monitoring, pre-warning, or degrading a third party application as recited in any one of claims 1-5.
8. A computer-readable storage medium storing a computer program, characterized in that: the computer program, when executed by a processor, implements a method for third party application monitoring, pre-warning, degradation as recited in any of claims 1-5.
CN202211483878.6A 2022-11-23 2022-11-23 Method and device for monitoring, early warning and degrading third-party application Pending CN115883358A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211483878.6A CN115883358A (en) 2022-11-23 2022-11-23 Method and device for monitoring, early warning and degrading third-party application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211483878.6A CN115883358A (en) 2022-11-23 2022-11-23 Method and device for monitoring, early warning and degrading third-party application

Publications (1)

Publication Number Publication Date
CN115883358A true CN115883358A (en) 2023-03-31

Family

ID=85763854

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211483878.6A Pending CN115883358A (en) 2022-11-23 2022-11-23 Method and device for monitoring, early warning and degrading third-party application

Country Status (1)

Country Link
CN (1) CN115883358A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1257249A (en) * 1998-12-16 2000-06-21 朗迅科技公司 Dynamically changing service grade in communication network according to network resource
CN105677466A (en) * 2015-12-31 2016-06-15 百度在线网络技术(北京)有限公司 Method and device for degrading handling of third-party application interface
CN109831536A (en) * 2019-03-22 2019-05-31 成都六四三六五科技有限公司 A kind of front end load balancing service degradated system and method
CN112134721A (en) * 2020-08-17 2020-12-25 福建天泉教育科技有限公司 API gateway degradation method and terminal
CN112966200A (en) * 2021-03-04 2021-06-15 北京百度网讯科技有限公司 Service degradation method and rendering server
CN113645152A (en) * 2021-06-29 2021-11-12 福建天泉教育科技有限公司 Service degradation method and terminal
CN113946487A (en) * 2021-10-08 2022-01-18 浪潮云信息技术股份公司 Method and system for realizing autonomous service degradation recovery in fault scene
CN114584480A (en) * 2022-03-03 2022-06-03 北京沃东天骏信息技术有限公司 Method and apparatus for service degradation handling

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1257249A (en) * 1998-12-16 2000-06-21 朗迅科技公司 Dynamically changing service grade in communication network according to network resource
CN105677466A (en) * 2015-12-31 2016-06-15 百度在线网络技术(北京)有限公司 Method and device for degrading handling of third-party application interface
CN109831536A (en) * 2019-03-22 2019-05-31 成都六四三六五科技有限公司 A kind of front end load balancing service degradated system and method
CN112134721A (en) * 2020-08-17 2020-12-25 福建天泉教育科技有限公司 API gateway degradation method and terminal
CN112966200A (en) * 2021-03-04 2021-06-15 北京百度网讯科技有限公司 Service degradation method and rendering server
CN113645152A (en) * 2021-06-29 2021-11-12 福建天泉教育科技有限公司 Service degradation method and terminal
CN113946487A (en) * 2021-10-08 2022-01-18 浪潮云信息技术股份公司 Method and system for realizing autonomous service degradation recovery in fault scene
CN114584480A (en) * 2022-03-03 2022-06-03 北京沃东天骏信息技术有限公司 Method and apparatus for service degradation handling

Similar Documents

Publication Publication Date Title
CN107515796B (en) Equipment abnormity monitoring processing method and device
CN110096517B (en) Method, device and system for monitoring cache data based on distributed system
CN109947596A (en) PCIE device failure system delay machine processing method, device and associated component
CN111046310B (en) Page processing method, device, server and computer readable storage medium
CN106033322B (en) A kind of date storage method and device
CN111796959B (en) Self-healing method, device and system for host container
CN105404581A (en) Database evaluation method and device
CN111857592A (en) Data storage method and device based on object storage system and electronic equipment
CN111048139A (en) Storage medium detection method, device, equipment and readable storage medium
CN109753378A (en) A kind of partition method of memory failure, device, system and readable storage medium storing program for executing
CN112162761A (en) Method, system and equipment for automatically deploying project to public cloud containerization platform
CN108958965A (en) A kind of BMC monitoring can restore the method, device and equipment of ECC error
US20200409683A1 (en) Updating method, terminal and electronic device
US20120159256A1 (en) File System Resiliency Management
CN112925672B (en) Data recovery method, device, equipment and storage medium
CN115883358A (en) Method and device for monitoring, early warning and degrading third-party application
CN111930719A (en) Database access method, device and system
CN110780815A (en) Log deleting method and device
CN111130856A (en) Server configuration method, system, equipment and computer readable storage medium
CN115240759A (en) Solid state disk detection method, device, equipment and storage medium
CN113625957B (en) Method, device and equipment for detecting hard disk faults
CN106682040A (en) Data management method and device
CN106815120B (en) Embedded log management system and method
CN110858813A (en) Network camera safety detection method and device
CN109144415B (en) Node detection method and shared storage device

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