Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Service alarm method, system and device based on call chain

A technology of call chain and call relationship, applied in transmission systems, digital transmission systems, data exchange networks, etc., can solve problems such as inaccurate business warning positioning, cumbersome and difficult troubleshooting, and long troubleshooting time, reducing the number of fault points, Improved analysis speed, reduced time effects

Pending Publication Date: 2021-06-01
新浪技术(中国)有限公司
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a service alarm method, system and device based on call chains, which are used to solve the problems existing in the prior art, such as inaccurate service warning positioning, cumbersome and difficult troubleshooting, and long troubleshooting time.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Service alarm method, system and device based on call chain
  • Service alarm method, system and device based on call chain
  • Service alarm method, system and device based on call chain

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] The service alarm method based on the call chain provided by Embodiment 1 of the present invention, its flow is as follows figure 1 shown, including the following steps:

[0053] Step S101: Obtain business exception data in the current collection period.

[0054] Business exception data can be collected in advance and stored in the database, and can be obtained when needed. The exception data of each business is the premise and basis for obtaining the class call chain. For example: it can be stored in the ClickHouse database, which is an open source data analysis database with high read and write performance.

[0055] Step S102: Analyze the acquired business exception data to obtain a class call chain.

[0056] Analyze the business abnormal data within a period of time to obtain a class call chain composed of error reporting services that have a calling relationship. For example, analyze the abnormal business data within 5 seconds or 10 seconds to calculate the class ...

Embodiment 2

[0069] An optional implementation of the service alarm method based on the call chain provided by the second embodiment of the present invention, the process is as follows figure 2 shown, including the following steps:

[0070] Step S201: Obtain business exception data in the current collection period.

[0071] Step S202: Analyze the acquired business exception data to obtain a class call chain.

[0072] Step S203: According to the preset matching rules, it is judged whether there is a basic call chain matching the class call chain. If it exists, execute step S204; if not, execute step S205.

[0073] Step S204: Locate the faulty service according to the matched basic call chain, and send service alarm information to the service in the matched basic call chain.

[0074] Step S205: Judging whether the number of times of acquiring business abnormal data exceeds a set number of times threshold. If yes, execute step S207; if no, execute step S206.

[0075] In this embodiment,...

Embodiment 3

[0082] A specific implementation of the service alarm method based on the call chain provided by the third embodiment of the present invention, the process is as follows image 3 As shown, the physical architecture of the system is shown as Figure 4 As shown, the method includes the following steps:

[0083] Step S301: Collect and analyze the exception logs of each business and each business interface, and store them in the ClickHouse database.

[0084] The exception logs collected here are the exception data of each business. The purpose of exception log collection is to collect and analyze the error records of various businesses related to the basic call chain. Therefore, the exception data of different businesses will be collected, analyzed and stored in the In the ClickHouse database, the collected exception data mainly includes time, business fields, calling interface, called interface, detailed error information, etc.

[0085] see Figure 4 The physical architecture ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a service alarm method, system and device based on a call chain. The method comprises the following steps: acquiring service abnormal data in a current collection period; analyzing the acquired business abnormal data to obtain a class call chain, wherein the class call chain comprises an abnormal service and a call relationship thereof; judging whether a basic call chain matched with the class call chain exists or not according to a preset matching rule, the basic call chain comprises businesses with call relations and the call relations of the businesses; if yes, positioning a fault service according to the matched basic call chain, and sending service alarm information to the service in the matched basic call chain; and if not, positioning a fault service according to the class call chain, and sending service alarm information to the service in the class call chain. A fault position can be accurately positioned, and fault processing can be carried out timely and rapidly.

Description

technical field [0001] The invention relates to the technical field of fault handling, in particular to a call chain-based service alarm method, system and device. Background technique [0002] In a business system, a basic call chain will be formed between services due to the calling relationship. For example, when a client accesses business A, business A needs to call business B, and business B needs to call business C and business D. The data undergoes a series of processing Then return to business A, and business A returns to the client. Then A-B-C is a basic call chain, and A-B-D is also a basic call chain. [0003] When a business failure occurs, the business party will issue an alarm, and business A, business B, business C, and the database may belong to different departments. The client requests business A, business A calls business B to make an error, and business B calls business C An error occurs, and business C calls the database to report an error, which event...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/24H04L29/06
CPCH04L41/0631H04L41/065H04L41/0677H04L67/133
Inventor 白淑贤李国平李培强陈艺超李其轩
Owner 新浪技术(中国)有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products