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

Inter-progress request call chain establishing method and device and computer system

A computer system and technology for requesting invocation, applied in the computer field, can solve the problems of complex invocation relationship, slow fault location for business developers, and difficulty in tracking in log mode, and achieve the effect of facilitating the system structure

Inactive Publication Date: 2017-08-25
GUANGZHOU HUADUO NETWORK TECH
View PDF3 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The technical solution of process distributed processing is difficult to track through the existing log method due to the complex call relationship and cross-process, cross-server and computer room
The existing log method to view faults can only view local problems, but cannot see the overall situation, causing business developers to locate faults slowly, and the duration and scope of fault impacts are expanded

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
  • Inter-progress request call chain establishing method and device and computer system
  • Inter-progress request call chain establishing method and device and computer system
  • Inter-progress request call chain establishing method and device and computer system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0041] As mentioned above, the distributed process processes the user's request, which is to complete the user's business logic through the cooperation of several servers, and each server runs one or two or more processes. In the following example, it is assumed that each server runs a process to complete the user's business logic.

[0042] figure 2 It shows a schematic diagram of inter-process request calls generated by node serial calls, where the client sends a service request, for example, the service request contains a uniform resource identifier (Uniform ResourceIdentifier, URI) with a value of 100, and process A receives the request Then process the business logic it is responsible for, and then request to call process B. The request sent to process B contains a URI with a value of 101. After process B receives the request, it processes the logic it is responsible for, and then requests to call process C to process C The sent request contains a URI with a value of 102...

Embodiment 2

[0066] image 3 A relatively general example is used to illustrate the realization scheme of the node serial call relationship to generate inter-process request call chains. In order to make the present invention easier to understand, image 3 It shows the business process of users giving thumbs up to the host on the live broadcast platform.

[0067] image 3 , where the client sends a business request, for example, the business request contains a uniform resource identifier (Uniform Resource Identifier, URI) with the value upvote: / / upvote.yy.com:8080, after the distribution process receives the request To distribute, and then request to call the upvoteact process. The request sent to the upvoteact process contains the URI value upvoteact: / / upvoteact.yy.com:8080. After the upvoteact process receives the request, it will like the host, and then request Call the statistical process, and the request sent to the statistical process contains the URI with the value statistics: / / st...

Embodiment 3

[0091] Figure 4 It shows a schematic diagram of the inter-process request call chain generated by parallel calls on the same node, where the client sends out a service request, for example, the service request contains a uniform resource identifier (Uniform ResourceIdentifier, URI) with a value of 100, and process a receives After the request processes the business logic it is responsible for, and then requests to call process b and process c, the request sent to process b contains a URI with a value of 101, and the request sent to process c contains a URI with a value of 102; process B receives After receiving the request, it processes the logic it is responsible for. After process c receives the request, it processes the logic it is responsible for, thus completing the entire business logic requested by the user.

[0092] During processing, process a can record the URI contained in the request sent by the user, the host IP address of process a, the URI corresponding to the ...

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 invention discloses an inter-progress request call chain establishing method and device and a computer system. The method comprises the following steps of: obtaining information associated with a request processed by each progress; and establishing an inter-progress request call chain according to the information. According to the method, the inter-progress request call chain is established according to a host IP address of the current progress, an IP address of a progress called by the current progress, and / or a URI corresponding to the current progress and a URI corresponding to the progress called by the current progress. During the operation, a request calling relationship among distributed system progresses can be dynamically established; and through the calling relationship, the program exceptions and errors can be conveniently traced, and a view of the overall calling relationship can be output, so that a system structure during the operation can be conveniently and globally observed.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method, device and computer system for establishing inter-process request calling chains. Background technique [0002] figure 1 Make up a block diagram of a computer, showing the main components of the computer. figure 1 Among them, the processor 110, the internal memory 105, the bus bridge 120 and the network interface 115 are connected to the system bus 140, the bus bridge 120 is used to bridge the system bus 140 and the I / O bus 145, and the I / O interface is connected to the I / O bus 145 , the USB interface and the external memory 135 are connected to the I / O interface. figure 1 Among them, the processor 110 can be one or more processors, and each process can have one or more processor cores; the internal memory 105 is a volatile memory, such as a register, a buffer, various types of random access memory etc.; when the computer is powered on, the data in the internal memory 105 in...

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): G06F11/34G06F11/36
Inventor 匡凌轩
Owner GUANGZHOU HUADUO NETWORK TECH
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