Monitoring method and apparatus of distributed service

A technology for distributed services and business requests, applied in the field of data processing, can solve problems such as low efficiency, unfavorable quick stop loss, etc., to achieve the effect of convenient and quick stop loss

Inactive Publication Date: 2015-12-30
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF5 Cites 43 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, after receiving the alarm information, it is necessary to manually determine the calling relationship between the various modules of the corresponding business request, and then analyze the ca

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
  • Monitoring method and apparatus of distributed service
  • Monitoring method and apparatus of distributed service
  • Monitoring method and apparatus of distributed service

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] figure 1 It is a schematic flowchart showing the method for monitoring distributed services in an exemplary embodiment of the present invention.

[0025] refer to figure 1 , in step S110, acquire business request processing logs collected from multiple modules of the distributed service.

[0026] Wherein, the same service request recorded among the log records of the service request processing logs collected from multiple modules has the same service request identifier, and the log record includes the first module identifier of the current module and the calling module that calls the current module The second module ID of . In addition, the log records can also include information such as the IP address of the first module, the IP address of the second module, the arrival time of the current module, the time-consuming and processing results of the service request in the current module. Among them, the business request ID of each module processing the same business re...

Embodiment 2

[0047] Figure 4 is a schematic structural diagram showing a distributed service monitoring device according to an exemplary embodiment of the present invention.

[0048] refer to Figure 4 , the apparatus for monitoring distributed services in this embodiment of the present invention may execute the method for monitoring distributed services in Embodiment 1. The apparatus for monitoring distributed services in the embodiment of the present invention may include: a log acquisition unit 410 , a log record aggregation unit 420 , and a log record set analysis unit 430 .

[0049] The log acquisition unit 410 is configured to acquire business request processing logs collected from multiple modules of the distributed service, wherein the same business request recorded in the log records of the business request processing logs collected from multiple modules has the same business request ID, and the log record includes the first module ID of the current module and the second module...

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 embodiments of the invention provide a monitoring method and apparatus of distributed service. The method comprises the following steps: obtaining service request processing logs acquired from multiple modules of the distributed service, wherein the same service requests recorded in the log records of the service request processing logs acquired by the multiple modules have the same service request identifications, and the log records comprise a first module identification of a current module and a second module identification of a scheduling module scheduling the current module; respectively aggregating the log records with the same service request identifications to form a log record set; and respectively analyzing the obtained log record set through aggregation, and for service requests with abnormal processing results, according to the service requests, generating a request scheduling relation topological graph of the service requests from scheduling relations between the modules. According to the technical scheme provided by the invention, when the processing results of the service request are abnormal, the corresponding request scheduling relation topological graph is automatically generated so that rapid loss stop of abnormal service requests is facilitated.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a method and device for monitoring distributed services. Background technique [0002] At present, most Internet applications are distributed online service systems. Each request needs to be completed by different modules on dozens or even hundreds of computers. With the rapid development of business, the number of modules is also increasing. The interaction between modules Relationships become extraordinarily complicated. Correspondingly, how to realize the monitoring of distributed services and timely analyze the causes of abnormalities of distributed services also becomes complicated. [0003] Existing monitoring systems usually monitor a single module or a single computer in a distributed service. Specifically, the monitoring system regularly samples the concerned information for statistics and analysis, and if the processing result of the business request is found ...

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
IPC IPC(8): H04L12/24
CPCH04L41/5096H04L41/0631H04L41/069H04L41/12
Inventor 王伟林仙龙韩陈寿
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products