Service request processing method, log processing method and service request processing device

A technology for business requests and processing methods, applied in the field of data processing, can solve problems such as low efficiency, poor accuracy, and long time consumption, and achieve the effect of reducing costs and quickly stopping losses

Active Publication Date: 2016-03-09
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF8 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, only the development engineers log in to each system to manually log in to locate the key information that causes the fault. This method is costly, time-consuming, low in efficiency and poor in accuracy.

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 request processing method, log processing method and service request processing device
  • Service request processing method, log processing method and service request processing device
  • Service request processing method, log processing method and service request processing device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0027] figure 1 It is a schematic flowchart showing the service request processing method in the exemplary embodiment of the present invention.

[0028] refer to figure 1 , in step S110, acquire service request information.

[0029] When a remote procedure call protocol (Remote Procedure Call Protocol, RPC) call or a hypertext transfer protocol (HyperText Transfer Protocol, HTTP) call occurs between different service systems, the service request is an HTTP / HTTPS request.

[0030] When the same business system is invoked, the business system presets a shared memory location for storing information.

[0031] In this embodiment, techniques such as hypertext transfer protocol filters or interceptors may be used to obtain call information within the business system and between different business systems.

[0032] In step S120, a service request operation is performed according to the service request information, wherein a service request processing log record including a service...

Embodiment 2

[0038] figure 2 is a schematic flowchart showing a log processing method in an exemplary embodiment of the present invention.

[0039] refer to figure 2 After the log processing method in the exemplary embodiment of the present invention executes the business processing method in Embodiment 1, the log processing method in this embodiment may include:

[0040] In step S210, a plurality of service request processing log records are acquired, and the service request processing log records include a service request identifier, a first log sequence identifier and a second log sequence identifier.

[0041] Generate a service request processing log request instruction, the instruction includes a service request identifier, a first log sequence identifier, and a second log sequence identifier, and process log records according to the acquisition of multiple service requests.

[0042] In step S220, the multiple service request processing log records are aggregated according to the se...

Embodiment 3

[0072] Figure 5 It is a schematic structural diagram showing a service request processing device in an exemplary embodiment of the present invention.

[0073] refer to Figure 5 , the service request processing apparatus in the embodiment of the present invention can execute the service request processing method in the first embodiment.

[0074] The service request processing apparatus in the embodiment of the present invention may include a service acquisition unit 510 and a service operation unit 520 .

[0075] The service obtaining unit 510 is used to obtain service request information.

[0076] The service operation unit 520 is configured to perform a service request operation according to the service request information, wherein, according to the service request information, a service request processing log record including a service request identifier, a first log sequence identifier and a second log sequence identifier is generated, the The first log sequence identi...

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

An embodiment of the invention provides a service request processing method, a log processing method and a service request processing device, wherein the service request processing method comprises the steps of acquiring service request information; and executing a service request operation according to the service request information, wherein a service request processing log record which comprises a service request ID, a first log sequence ID and a second log sequence ID according to the service request information; the first log sequence ID is the ID of the current log, and the second log sequence ID is the ID of a current log father node. The service request processing method, the log processing method and the service request processing device provided by the embodiment of the invention can quickly and accurately analyze and position key information which causes a service request abnormity and / or key information that causes other online faults, thereby quickly stopping loss and reducing cost.

Description

technical field [0001] The present invention relates to the technical field of data processing, in particular to a service request processing method, a log processing method and a device. Background technique [0002] As users have higher and higher requirements for network services, the scale of platforms that provide services to users is also increasing, and more and more systems are involved in processing business requests. When an online fault occurs, the relevant logs need to be Only by connecting them in series for analysis can the fault be located. At present, only the development engineers log in to each system to manually log in to locate the key information that causes the fault. This method is costly, time-consuming, low in efficiency, and poor in accuracy. Contents of the invention [0003] The purpose of the present invention is to provide a service request processing method, log processing method and device, which can quickly and accurately realize online fa...

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): H04L29/08H04L12/24
CPCH04L41/069H04L67/02
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