CN109558299A - Business monitoring and the method, apparatus of early warning, equipment and storage medium - Google Patents

Business monitoring and the method, apparatus of early warning, equipment and storage medium Download PDF

Info

Publication number
CN109558299A
CN109558299A CN201811420928.XA CN201811420928A CN109558299A CN 109558299 A CN109558299 A CN 109558299A CN 201811420928 A CN201811420928 A CN 201811420928A CN 109558299 A CN109558299 A CN 109558299A
Authority
CN
China
Prior art keywords
business interface
business
interface
server system
alert notification
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
CN201811420928.XA
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.)
Wuhan Zhangyou Technology Co Ltd
Original Assignee
Wuhan Zhangyou 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 Wuhan Zhangyou Technology Co Ltd filed Critical Wuhan Zhangyou Technology Co Ltd
Priority to CN201811420928.XA priority Critical patent/CN109558299A/en
Publication of CN109558299A publication Critical patent/CN109558299A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/323Visualisation of programs or trace data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/327Alarm or error message display

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Debugging And Monitoring (AREA)

Abstract

This application involves a kind of business monitorings and the method, apparatus of early warning, equipment and storage medium, applied to field of communication technology, wherein, the method of business monitoring and early warning, applied in server system, it include at least one business interface in the server system, which comprises obtain the address of the business interface;According to the address of the business interface of acquisition, analog subscriber accesses to the business interface;When accessing failure to the business interface, pre-alert notification is issued.So, the exception of business interface can be found in advance, rather than it just notes abnormalities when user really accesses business interface, in this programme, after noting abnormalities in advance, pre-alert notification is issued, reminds server system administrative staff to carry out processing recovery in time, it ensure that the stability of server system, administrative staff are managed convenient for server system.

Description

Business monitoring and the method, apparatus of early warning, equipment and storage medium
Technical field
This application involves fields of communication technology, and in particular to a kind of business monitoring and the method, apparatus of early warning, equipment and deposits Storage media.
Background technique
As enterprises and institutions' information technology (Information Technology, IT) system scale constantly expands, structure Scale at the server system on IT system basis also constantly expands, and the quantity of server is more and more, various information resources It is more and more, to realize information resources reasonable disposition, effectively management, it is ensured that IT system safe and reliable operation works as server system When occurring abnormal, server system administrative staff will go to restore in time.In the related technology, increasing due to number of servers, respectively There is abnormal frequency and also increase in the growth of kind information resources, server system, and the stability of server system is caused to become Difference, user can not access, and are unfavorable for server system administrative staff and are managed.
Summary of the invention
In view of this, the application's aims to overcome that the deficiencies in the prior art, a kind of business monitoring and early warning are provided Method, apparatus, equipment and storage medium.
In order to achieve the above object, the application adopts the following technical scheme that
The application's in a first aspect, provides the method for a kind of business monitoring and early warning, is applied in server system, described It include at least one business interface in server system, which comprises
Obtain the address of the business interface;
According to the address of the business interface of acquisition, analog subscriber accesses to the business interface;
When accessing failure to the business interface, pre-alert notification is issued.
Optionally, the analog subscriber accesses to the business interface, comprising:
Regular analog subscriber accesses to the business interface;
Alternatively, analog subscriber carries out the business interface after receiving the instruction that server system administrative staff input Access.
Optionally, the analog subscriber accesses to the business interface, comprising:
Analog subscriber carries out continuous n times access to the business interface, wherein N is the positive integer greater than 1;
The method also includes:
Obtain the result that continuous n times access is carried out to the business interface;
If carrying out all failures of result of continuous n times access to the business interface, determine to the business interface Access failure.
Optionally, the address of the business interface is carried in the pre-alert notification.
Optionally, the sending pre-alert notification, comprising:
Pre-alert notification is issued by calling the interface of instant message client.
Optionally, the instant message client is nail nail.
Optionally, the business interface includes SDK interface, network legal power interface.
The second aspect of the application provides the device of a kind of business monitoring and early warning, is applied in server system, described It include at least one business interface in server system, described device includes:
Module is obtained, for obtaining the address of the business interface;
Analog access module, for the address according to the business interface of acquisition, analog subscriber is to the business interface It accesses;
Warning module is taken in the pre-alert notification for when accessing failure to the business interface, issuing pre-alert notification Address with the business interface.
The third aspect of the application provides the equipment of a kind of business monitoring and early warning, comprising:
Processor, and the memory being connected with the processor;
The memory is for storing computer program;
The processor is for calling and executing the computer program in the memory, to execute such as any of the above Method described in.
The fourth aspect of the application, provides a kind of storage medium, and the storage medium is stored with computer program, the meter When calculation machine program is executed by processor, each step in the method as described in any of the above item is realized.
The application uses above technical scheme, may be implemented it is following the utility model has the advantages that
By obtaining the address of the business interface in server system and according to the address analog subscriber of business interface to industry Business interface accesses, and whether monitoring business interface is normal, fails if accessed business interface, illustrates that business interface has gone out It is now abnormal, compared with above-mentioned the relevant technologies, the exception of business interface can be found in advance, rather than until user really accesses industry It is engaged in just noting abnormalities when interface, in the present solution, issuing pre-alert notification after noting abnormalities in advance, reminding server system in time System administrative staff carry out processing recovery, ensure that the stability of server system, carry out pipe convenient for server system administrative staff Reason.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the flow chart of the method for a kind of business monitoring that the application one embodiment provides and early warning.
Fig. 2 is the structure chart of the device of a kind of business monitoring that another embodiment of the application provides and early warning.
Fig. 3 is the structure chart of the equipment of a kind of business monitoring that another embodiment of the application provides and early warning.
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, the technical solution of the application will be carried out below Detailed description.Obviously, described embodiments are only a part of embodiments of the present application, instead of all the embodiments.Base Embodiment in the application, those of ordinary skill in the art are obtained all without making creative work Other embodiment belongs to the range that the application is protected.
Fig. 1 is the flow chart of the method for a kind of business monitoring provided by the embodiments of the present application and early warning.
A kind of method of business monitoring and early warning provided in this embodiment is applied in server system, server system In include at least one business interface, as shown in Figure 1, the method for the present embodiment includes:
Step 11, the address for obtaining business interface.
Step 12, the address according to the business interface of acquisition, analog subscriber access to business interface.
Step 13, when to business interface access failure when, issue pre-alert notification.
In the present embodiment, by obtaining the address of the business interface in server system and according to the address mould of business interface Quasi- user accesses to business interface, and whether monitoring business interface is normal, fails if accessed business interface, illustrates business Interface has already appeared exception, compared with above-mentioned the relevant technologies, can find the exception of business interface in advance, rather than wait until user It really just notes abnormalities when access business interface, in the present solution, issuing pre-alert notification after noting abnormalities in advance, mentioning in time The server system administrative staff that wake up carry out processing recovery, ensure that the stability of server system, are convenient for server system management Personnel are managed.
In implementation, some key business interfaces can be monitored.For example, business interface may include software development work Tool packet (Software Development Kit, SDK) interface, network legal power interface, etc..Wherein, SDK interface specifically can be with Interface, message informing interface, etc. are submitted including supplementing interface, user's registration login interface, order with money.
In above-mentioned steps 12, when analog subscriber accesses to business interface, regular (i.e. fixed cycle) simulation can be User accesses to business interface, and the period can be set according to practical service environment, or carries out based on experience value Setting, for example, every 5 minutes analog subscribers access to business interface, in this way, the case where can continuing monitoring business interface. It is also possible to irregular analog subscriber to access to business interface, for example, server system administrative staff can received After the instruction of input, then analog subscriber accesses to business interface, in this way, may be implemented flexibly to monitor.
Sometimes server system is it is possible that at this moment of short duration Network Abnormal accesses business interface and fails, but very It is fast to restore normal again, lead to the case where report, to avoid this problem, in above-mentioned steps 12, whenever starting to simulate use When family accesses to business interface, continuous n times access can be carried out to business interface with analog subscriber, wherein N is greater than 1 Positive integer.Correspondingly, the method for the present embodiment further include: obtain the result for carrying out continuous n times access to business interface;If right Business interface carries out all failures of result of continuous n times access, determines and accesses failure to business interface.In the present embodiment, only There is continuous several times access business interface failure, it is abnormal to be just considered that business interface occurs, improves accuracy.
If the number of connected reference is few, possible network does not restore also, causes result inaccurate, if connected reference number Excessively, efficiency can be reduced, is fast and accurately monitored to realize, optionally, the value of N is 3.
Assuming that accessing with 5 minutes for a cycle, after reaching the 1st period, start analog subscriber to business interface It accesses, connected reference 3 times, if this 3 times access are only once or the result of 2 access is failure, then it is assumed that Business interface success is accessed, business interface is normal, after reaching the 2nd period, continues to start analog subscriber to business interface progress Access, connected reference 3 times, if all failures of result of this 3 times access, then it is assumed that access business interface failure, business connect Mouth occurs abnormal.
In above-mentioned steps 13, there are many implementations that issue pre-alert notification.
In implementation, pre-alert notification can be issued by calling the interface of instant message client.Instant message client It can be nail nail.Specifically, application program (the Application Programming of nail client can be followed closely by calling Interface, API) interface, pre-alert notification is issued using nailing machine device people.Instant message client can also be wechat etc. Deng.
It should be noted that the scheme of the present embodiment, can be realized based on python LISP program LISP.When implementation, exist in advance Good relevant program is disposed on the server of monitoring, runs the program disposed, it can be by checking running log, to look into See whether business interface is normal.It is of course also possible to which the program based on other Languages is realized.
Fig. 2 is the structure chart of the device of a kind of business monitoring provided by the embodiments of the present application and early warning.
The device of a kind of business monitoring and early warning provided in this embodiment is applied in server system, server system In include at least one business interface, as shown in Fig. 2, the device of the present embodiment includes:
Module 201 is obtained, for obtaining the address of business interface;
Analog access module 202, for the address according to the business interface of acquisition, analog subscriber visits business interface It asks;
Warning module 203 carries industry in pre-alert notification for when accessing failure to business interface, issuing pre-alert notification The address of business interface.
The specific implementation of the present embodiment may refer to the business monitoring of previous embodiment record and method for early warning is implemented Related description in example, details are not described herein again.
Fig. 3 is the structure chart of the equipment of a kind of business monitoring provided by the embodiments of the present application and early warning.
As shown in figure 3, the equipment of a kind of business monitoring and early warning provided in this embodiment, comprising:
Processor 301, and the memory 302 being connected with processor 301;
Memory 302 is for storing computer program;
Processor 301 is for calling and executing the computer program in memory, to execute such as any of the above embodiment institute The method stated.
The specific implementation of the present embodiment may refer to the business monitoring of previous embodiment record and method for early warning is implemented Related description in example, details are not described herein again.
The present embodiment provides a kind of storage medium, storage medium is stored with computer program, and computer program is by processor When execution, each step in the method as described in any of the above embodiment is realized.
The specific implementation of the present embodiment may refer to the business monitoring of previous embodiment record and method for early warning is implemented Related description in example, details are not described herein again.
It is understood that same or similar part can mutually refer in the various embodiments described above, in some embodiments Unspecified content may refer to the same or similar content in other embodiments.
It should be noted that term " first ", " second " etc. are used for description purposes only in the description of the present application, without It can be interpreted as indication or suggestion relative importance.In addition, in the description of the present application, unless otherwise indicated, the meaning of " multiple " Refer at least two.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be by the application Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, can integrate in a processing module in each functional unit in each embodiment of the application It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any One or more embodiment or examples in can be combined in any suitable manner.
Although embodiments herein has been shown and described above, it is to be understood that above-described embodiment is example Property, it should not be understood as the limitation to the application, those skilled in the art within the scope of application can be to above-mentioned Embodiment is changed, modifies, replacement and variant.

Claims (10)

1. a kind of method of business monitoring and early warning, which is characterized in that be applied in server system, in the server system Including at least one business interface, which comprises
Obtain the address of the business interface;
According to the address of the business interface of acquisition, analog subscriber accesses to the business interface;
When accessing failure to the business interface, pre-alert notification is issued.
2. the method according to claim 1, wherein the analog subscriber accesses to the business interface, Include:
Regular analog subscriber accesses to the business interface;
Alternatively, analog subscriber accesses to the business interface after receiving the instruction that server system administrative staff input.
3. the method according to claim 1, wherein the analog subscriber accesses to the business interface, Include:
Analog subscriber carries out continuous n times access to the business interface, wherein N is the positive integer greater than 1;
The method also includes:
Obtain the result that continuous n times access is carried out to the business interface;
If carrying out all failures of result of continuous n times access to the business interface, determines and the business interface is accessed Failure.
4. the method according to claim 1, wherein carrying the ground of the business interface in the pre-alert notification Location.
5. the method according to claim 1, wherein the sending pre-alert notification, comprising:
Pre-alert notification is issued by calling the interface of instant message client.
6. according to the method described in claim 5, it is characterized in that, the instant message client is nail nail.
7. the method according to claim 1, wherein the business interface includes that SDK interface, network legal power connect Mouthful.
8. the device of a kind of business monitoring and early warning, which is characterized in that be applied in server system, in the server system Including at least one business interface, described device includes:
Module is obtained, for obtaining the address of the business interface;
Analog access module, for the address according to the business interface of acquisition, analog subscriber carries out the business interface Access;
Warning module carries institute in the pre-alert notification for when accessing failure to the business interface, issuing pre-alert notification State the address of business interface.
9. the equipment of a kind of business monitoring and early warning characterized by comprising
Processor, and the memory being connected with the processor;
The memory is for storing computer program;
The processor is for calling and executing the computer program in the memory, to execute such as claim 1-7 Described in any item methods.
10. a kind of storage medium, which is characterized in that the storage medium is stored with computer program, the computer program quilt When processor executes, each step in the method according to claim 1 to 7 is realized.
CN201811420928.XA 2018-11-26 2018-11-26 Business monitoring and the method, apparatus of early warning, equipment and storage medium Pending CN109558299A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811420928.XA CN109558299A (en) 2018-11-26 2018-11-26 Business monitoring and the method, apparatus of early warning, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811420928.XA CN109558299A (en) 2018-11-26 2018-11-26 Business monitoring and the method, apparatus of early warning, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN109558299A true CN109558299A (en) 2019-04-02

Family

ID=65867554

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811420928.XA Pending CN109558299A (en) 2018-11-26 2018-11-26 Business monitoring and the method, apparatus of early warning, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109558299A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110224870A (en) * 2019-06-19 2019-09-10 腾讯云计算(北京)有限责任公司 Interface monitoring method, apparatus calculates equipment and storage medium
CN110489309A (en) * 2019-08-26 2019-11-22 深圳乐信软件技术有限公司 A kind of monitoring and early warning method, apparatus, equipment and the storage medium of interface
CN111274094A (en) * 2020-02-04 2020-06-12 上海携程商务有限公司 Interface early warning method, system, equipment and storage medium
CN113849362A (en) * 2020-06-28 2021-12-28 腾讯科技(深圳)有限公司 Business service platform management method, device and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060064481A1 (en) * 2004-09-17 2006-03-23 Anthony Baron Methods for service monitoring and control
CN106528375A (en) * 2016-11-10 2017-03-22 广州供电局有限公司 Automatic inspection method based on simulated user behaviors
CN106846080A (en) * 2016-11-01 2017-06-13 上海携程商务有限公司 The real-time monitoring system and method placed an order in line service
CN106874183A (en) * 2016-07-05 2017-06-20 阿里巴巴集团控股有限公司 Service exception detection method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060064481A1 (en) * 2004-09-17 2006-03-23 Anthony Baron Methods for service monitoring and control
CN106874183A (en) * 2016-07-05 2017-06-20 阿里巴巴集团控股有限公司 Service exception detection method and device
CN106846080A (en) * 2016-11-01 2017-06-13 上海携程商务有限公司 The real-time monitoring system and method placed an order in line service
CN106528375A (en) * 2016-11-10 2017-03-22 广州供电局有限公司 Automatic inspection method based on simulated user behaviors

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110224870A (en) * 2019-06-19 2019-09-10 腾讯云计算(北京)有限责任公司 Interface monitoring method, apparatus calculates equipment and storage medium
CN110224870B (en) * 2019-06-19 2023-03-24 腾讯云计算(北京)有限责任公司 Interface monitoring method and device, computing equipment and storage medium
CN110489309A (en) * 2019-08-26 2019-11-22 深圳乐信软件技术有限公司 A kind of monitoring and early warning method, apparatus, equipment and the storage medium of interface
CN111274094A (en) * 2020-02-04 2020-06-12 上海携程商务有限公司 Interface early warning method, system, equipment and storage medium
CN111274094B (en) * 2020-02-04 2023-09-26 上海携程商务有限公司 Interface early warning method, system, equipment and storage medium
CN113849362A (en) * 2020-06-28 2021-12-28 腾讯科技(深圳)有限公司 Business service platform management method, device and computer readable storage medium
CN113849362B (en) * 2020-06-28 2024-06-04 腾讯科技(深圳)有限公司 Business service platform management method, device and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN109558299A (en) Business monitoring and the method, apparatus of early warning, equipment and storage medium
CN112882796B (en) Abnormal root cause analysis method and device and storage medium
CN104615497B (en) A kind of processing method and processing device of thread suspension
CN102567185B (en) Monitoring method of application server
CN105373899A (en) Server asset management method and apparatus
CN107122377A (en) Automatic Adaptation Data collection and storage assembly
CN111881011A (en) Log management method, platform, server and storage medium
CN105302697B (en) A kind of running state monitoring method and system of density data model database
CN102216908A (en) System for assisting with execution of actions in response to detected events, method for assisting with execution of actions in response to detected events, assisting device, and computer program
CN102882700B (en) Warning information management method in a kind of network management system and equipment
CN105404581A (en) Database evaluation method and device
US20200349003A1 (en) Method, device and program product for avoiding a fault event of a disk array
CN108647118A (en) Copy abnormal restoring method, device and computer equipment based on storage cluster
CN105989140B (en) A kind of data block processing method and equipment
CN110417586A (en) Service monitoring method, service node, server and computer readable storage medium
CN110262917A (en) Host self-healing method, device, computer equipment and storage medium
CN108958965A (en) A kind of BMC monitoring can restore the method, device and equipment of ECC error
CN109614289A (en) A kind of memory node monitoring method, system, equipment and computer storage medium
CN107678915A (en) A kind of power transmission and transforming equipment monitoring platform basic resource monitoring method
CN107729199A (en) The hard disk detection method and system of a kind of storage device
CN113407374A (en) Fault processing method and device, fault processing equipment and storage medium
CN107515864B (en) Method and equipment for monitoring workflow
CN117194191A (en) Log monitoring alarm method, device, computer equipment and storage medium
CN110633191A (en) Method and system for monitoring service health degree of software system in real time
CN105978749A (en) Monitoring method of computer hardware information in local area network and system thereof

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190402

RJ01 Rejection of invention patent application after publication