CN107483221A - A kind of across application problem investigation method, apparatus and system - Google Patents

A kind of across application problem investigation method, apparatus and system Download PDF

Info

Publication number
CN107483221A
CN107483221A CN201610404737.9A CN201610404737A CN107483221A CN 107483221 A CN107483221 A CN 107483221A CN 201610404737 A CN201610404737 A CN 201610404737A CN 107483221 A CN107483221 A CN 107483221A
Authority
CN
China
Prior art keywords
rpc
application
business
application server
globally unique
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.)
Granted
Application number
CN201610404737.9A
Other languages
Chinese (zh)
Other versions
CN107483221B (en
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.)
Alibaba Cloud Computing Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201610404737.9A priority Critical patent/CN107483221B/en
Publication of CN107483221A publication Critical patent/CN107483221A/en
Application granted granted Critical
Publication of CN107483221B publication Critical patent/CN107483221B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/133Protocols for remote procedure calls [RPC]

Abstract

This application discloses across the application problem investigation method, apparatus of one kind and system, this method to include:In operation system, according to the globally unique identifier for the business being added in advance in remote procedure call (RPC) Request Log, the RPC Request Logs are found in daily record center to form the calling link of the business, wherein, the RPC Request Logs include the globally unique identifier, RPC required parameters and returning result, described to call link to include the multiple applications called in process of service execution;Judge that the returning result in each RPC Request Logs is success or failure, if the returning result in the RPC Request Logs is failure, the calling for determining corresponding application on the calling link according to the RPC Request Logs goes wrong.Across application problem the investigation method, apparatus and system of the application, the whole calling link of business can be quickly found across different application, so as to the fast positioning and investigation of problem of implementation.

Description

A kind of across application problem investigation method, apparatus and system
Technical field
The application is related to network technique field, more particularly to a kind of across application problem investigation method, apparatus and system.
Background technology
With the development of internet industry, the business of Internet firm is more and more, becomes increasingly complex, and operation system is also got over Come huger.With new architectures such as Service-Oriented Architecture Based (Service-Oriented Architecture, SOA) and micro services Introducing, inevitably, these business can be split into many application subsystems, and each application subsystem is by special Team or personnel are responsible for safeguarding.
Problem investigation be unable to do without daily record, so the record of daily record and arrangement are extremely important.But because everyone writes generation The custom of code is different with style, and the daily record of each application subsystem resulted in has differences, and each application subsystem All it is to be printed to corresponding daily record using in daily record according to the needs of responsible team or personnel.
For above-mentioned formation apply daily record, problem troubleshooting procedure as shown in figure 1, including:The developer of A applications logs in A application servers, daily record is applied according to what keyword lookup recorded thereon;Judge whether the problem of being the system;If so, directly Determine problem;If if it is not, finding A application calls B applications, B application servers are navigated to;The developer for looking for B to apply, The application daily record recorded thereon according to keyword lookup on to B application servers, problem analysis, by that analogy.
In SOA and micro services epoch, a complicated operation system has hundreds and thousands of applications, then by existing This problem investigation method it should be understood that the overall architecture of application system, it is necessary to which that finds that business relied on each applies subsystem System, this, which is undoubtedly, wastes time and energy, is very poorly efficient, can not also meet the quick quick characteristic of Internet firm.
The content of the invention
In order to solve the above-mentioned technical problem, this application provides across the application problem investigation method, apparatus of one kind and system, energy Enough whole calling links that business is quickly found across different application, so as to the fast positioning and investigation of problem of implementation.
This application provides across the application problem investigation method of one kind, including
In operation system, according to the overall situation for the business being added in advance in remote procedure call (RPC) Request Log only One mark, finds the RPC Request Logs to form the calling link of the business in daily record center, wherein, the RPC Request Log includes the globally unique identifier, RPC required parameters and returning result, and the calling link performed including business The multiple applications called in journey;
Judge that the returning result in each RPC Request Logs is success or failure, if in the RPC Request Logs The returning result for failure, then according to the RPC Request Logs determine it is described calling link on corresponding application calling Go wrong.
Wherein, the operation system includes multiple application servers, and methods described can also include:
Collect the RPC Request Logs in the operation system on each application server and store and arrive the daily record center.
Wherein, methods described can also include:
First application server receives the first RPC requests, and the required parameter in being asked according to the first RPC performs first Using wherein carrying the globally unique identifier of the business in first RPC requests;
If to call the second application in the implementation procedure of the described first application, first application server should to second The 2nd RPC requests are sent with server, wherein carrying the globally unique identifier of the business in second RPC requests;
Required parameter during second application server is asked according to the 2nd RPC performs the second application, and to institute State the first application server and send returning result, the returning result includes business return code and business returned data;
First application server records the RPC Request Logs of the 2nd RPC requests, including the business Globally unique identifier, the required parameter and the returning result.
Wherein, when the first RPC requests that first application server receives are that user initiates the business Send, methods described can also include:
When first application server receives the first RPC requests, the upper and lower of the first RPC requests is judged Whether the globally unique identifier of the business is carried in text;
If not provided, first application server is directed to described one globally unique identifier of service generation, and added It is added in the context of the first RPC requests.
Wherein, methods described can also include:Different returning results is identified using different colours.
Present invention also provides across the application problem examination device of one kind, including:
Searching modul, in operation system, according to being added in advance in remote procedure call (RPC) Request Log The globally unique identifier of business, the RPC Request Logs are found in daily record center to form the calling link of the business, Wherein, the RPC Request Logs include the globally unique identifier, RPC required parameters and returning result, the calling link bag Include the multiple applications called in process of service execution;
Judge module, the returning result in each RPC Request Logs found for judging the searching modul It is success or failure;And
Problem determination module, for determining that the returning result in the RPC Request Logs is when the judge module Failure, the then calling for determining corresponding application on the calling link according to the RPC Request Logs go wrong.
Wherein, the operation system includes multiple application servers, and described device can also include:
Collection module, arrived for collecting the RPC Request Logs in the operation system on each application server and storing The daily record center.
Wherein, described device can also include:
Mark module, for identifying different returning results using different colours.
Present invention also provides across the application problem Check System of one kind, including:Across application problem examination device, multiple applications Server and daily record center, wherein:
The daily record center, day is asked for storing the remote procedure call (RPC) for collecting to come from each application server Will, the RPC Request Logs include globally unique identifier, RPC required parameters and the returning result of business;
Across the application problem examination device, for the globally unique identifier according to the business, at the daily record center In find the RPC Request Logs of each application to form the calling link of the business, wherein, the calling link includes industry The multiple applications called in business implementation procedure;Judge that the returning result in each RPC Request Logs is success or failure, If the returning result in the RPC Request Logs is failure, the calling link is determined according to the RPC Request Logs The calling of application goes wrong corresponding to upper.
Wherein, the application server includes the first application server and the second application server, wherein:
First application server, for receiving the first RPC requests, the request in being asked according to the first RPC is joined Number performs the first application, wherein carrying the globally unique identifier of the business in first RPC requests;If also, described The second application is called in the implementation procedure of first application, the 2nd RPC requests, wherein institute are sent to second application server State the globally unique identifier that the business is carried in the 2nd RPC requests;
Second application server, for receiving the 2nd RPC requests, asking in being asked according to the 2nd RPC Ask parameter to perform the second application, and returning result is sent to first application server, the returning result is returned including business Return code and business returned data;
First application server, it is additionally operable to record the RPC Request Logs of the 2nd RPC requests, including institute State globally unique identifier, the required parameter and the returning result of business.
Wherein, first application server is additionally operable to:When the first RPC requests received are described in user initiates Sent during business, judge the globally unique identifier of the business whether is carried in the context of the first RPC requests;Such as Fruit does not have, and for described one globally unique identifier of service generation, and is added to the context of the first RPC requests In.
Wherein, across the application problem examination device is additionally operable to identify different returning results using different colours.
Across application problem the investigation method, apparatus and system that the application provides, by the RPC Request Logs across application Globally unique identifier is added, each of calling service can quickly be found across different application according to the globally unique identifier of business The RPC Request Logs of application, so as to obtain complete calling link, the fast positioning and investigation of problem of implementation.
Across application problem the investigation method, apparatus and system that the application provides, it can also be adjusted by intercepting each application automatically RPC requests during, increase globally unique identifier wherein, and the RPC Request Logs including globally unique identifier are received Collect daily record center, and returning result different in daily record is identified with different colours, so that more fast and accurately orientation problem, All daily records on link will need not be entirely called all to check one time.
Other features and advantage will illustrate in the following description, also, partly become from specification Obtain it is clear that or being understood by implementing the application.The purpose of the application and other advantages can be by specification, rights Specifically noted structure is realized and obtained in claim and accompanying drawing.
Brief description of the drawings
Accompanying drawing is used for providing further understanding technical scheme, and a part for constitution instruction, with this The embodiment of application is used for the technical scheme for explaining the application together, does not form the limitation to technical scheme.
The problem of Fig. 1 is existing investigates the flow chart of method;
Fig. 2 is the flow chart of the embodiment one of across the application problem investigation method of the application;
Fig. 3 is the flow chart of the embodiment two of across the application problem investigation method of the application;
Fig. 4 is the structural representation of the embodiment across application problem examination device of the application;
Fig. 5 is the structural representation of the embodiment across application problem Check System of the application.
Embodiment
For the purpose, technical scheme and advantage of the application are more clearly understood, below in conjunction with accompanying drawing to the application Embodiment be described in detail.It should be noted that in the case where not conflicting, in the embodiment and embodiment in the application Feature can mutually be combined.
Can be in the computer system of such as one group computer executable instructions the flow of accompanying drawing illustrates the step of Perform.Also, although logical order is shown in flow charts, in some cases, can be with suitable different from herein Sequence performs shown or described step.
The main thought of the application includes:For same business, may the multiple applications of far call, in far call In process (Remote Procedure Call, RPC), by intercepting RPC requests automatically, increase globally unique identifier wherein, The application server of RPC requests is sent after the implementing result of return is received, the RPC for adding globally unique identifier is asked Log collection, it is stored in log system, so that when being investigated the problem of needs carry out and are directed to a certain business, passes through the complete of business Office's unique mark obtains all RPC Request Logs on the whole calling link of same business, so as to which whole RPC is called into link String together, whether problem is successfully determined by the implementing result of return.The positioning across the different application the problem of can quickly be realized And investigation, the participation without the developer of each application system.
Fig. 2 is the flow chart of the embodiment one of across the application problem investigation method of the application.As shown in Fig. 2 including as follows Step:
Step 101, in operation system, according to being added to business in remote procedure call (RPC) Request Log in advance Globally unique identifier, the RPC Request Logs are found in daily record center to form the calling link of the business, its In, the RPC Request Logs include the globally unique identifier, RPC required parameters and returning result, and the calling link includes The multiple applications called in process of service execution;
Step 102, judge that the returning result in each RPC Request Logs is success or failure, if a RPC please It is failure to seek the returning result in daily record, then should according to corresponding to determining on the calling link RPC Request Logs Calling goes wrong.
One large complicated operation system can typically realize multiple business, and the realization of each business may need calling more Individual different application, wherein each application can be by an application server in the application system or multiple application servers (that is, application server cluster) is realized.Therefore, a business generally require by the calling between multiple application servers come Realize, the general process of the calling between each application server includes the transmission of RPC requests and the return of result, returning result Including at least business return code and business returning result.
In the present embodiment, can be according to the business being added in advance in RPC Request Logs in an operation system Corresponding globally unique identifier finds all RPC Request Logs of the business in daily record center, so as to form the industry The complete calling link of business, i.e. call relation between the related all applications of a business;Then each RPC request days are judged The returning result that will includes is success or failure, if failure, it is possible to the content included according to RPC Request Logs It is determined that it is that the calling which is applied goes wrong.
Across the application problem investigation method that the application provides, can be quick by adding globally unique identifier in daily record All RPC Request Logs of a business are found, so as to conspire to create whole calling link, further according to returning in RPC Request Logs Return result and determine that whole which link for calling link goes wrong, realize the fast positioning across the application the problem of and row Look into, the participation without the developer of each application.
, it is necessary to first be added to globally unique identifier in RPC requests and RPC Request Logs before problem investigation, so as to Realize that quick problem is investigated.Fig. 3 is the flow chart of the embodiment two of across the application problem investigation method of the application.As shown in figure 3, Across application problem investigation method is somebody's turn to do to comprise the following steps:
Step 201, the first application server receive the first RPC requests, the required parameter in being asked according to the first RPC The first application is performed, wherein carrying the globally unique identifier of the business in first RPC requests;
In this step, when the first RPC requests that first application server receives are described in user initiates Sent during business, then when first application server receives the first RPC requests, first to judge described first Whether the globally unique identifier of the business is carried in the context of RPC requests;If not provided, first application server For described one globally unique identifier of service generation, and it is added in the context of the first RPC requests.
If step 202, to call the second application, first application server in the implementation procedure of the described first application The 2nd RPC requests are sent to the second application server, wherein carrying the globally unique mark of the business in second RPC requests Know;
Required parameter execution second during step 203, second application server are asked according to the 2nd RPC should With, and include business return code and business returned data to the first application server returning result, the returning result;
Step 204, first application server record the RPC Request Logs of the 2nd RPC requests, including institute State globally unique identifier, the required parameter and the returning result of business;
If the first application server recalls the application of other application server or the second application server calls it The application of his application server, corresponding RPC Request Logs are formed with reference to above-mentioned steps.
Step 205, collect the RPC Request Logs recorded in the operation system on each application server and store to institute State daily record center;
In the RPC Request Logs of preservation, different colours can be used to identify different returning results, such as returning result If success, then labeled as black, if failure, then labeled as red.This have the advantage that find globally unique After all RPC Request Logs corresponding to mark, user can be quickly found out problematic RPC requests according to color mark therein Daily record, so as to carry out fast positioning to problem.
Step 206, to a business carry out problem investigation when, according to the globally unique identifier of the business, in daily record center All RPC Request Logs comprising globally unique identifier are found, to form the calling link of the business;
Step 207, the RPC Request Logs for being identified as red for searching returning result in each RPC Request Logs, with true The problem of setting the tone with being corresponded on link.
Across the application problem investigation method of the application is described in detail below by an embodiment.
Such as an Online Bookstore System, the inside contain console, merchandise control, order management, user management, preferential The application such as management.If a user have purchased a name on the Online Bookstore System《The mountain peak of tide》Books, then Perform following flow:
User clicks on " purchase " button in the user interface of local device, and local device sends the first RPC requests and arrives net Submit a written statement to a higher authority the console application of office system;
Either with or without carrying globally unique identifier requestId in the first RPC requests that console receives using judgement;Such as Fruit does not have, then according to the user and/or can be somebody's turn to do the parameters such as " purchase " behavior one requestId of generation, such as:40cb6b77- 0b46-43fd-ac05-8cc78af458e7, and this requestId is added in the context of thread;
Console is applied asks according to the first RPC, it is determined that needing to check books《The mountain peak of tide》Have stock or not, i.e., Need to initiate to ask to merchandise control application, then perform step:RequestId, and handle are first obtained from the context of thread RequestId and books《The mountain peak of tide》Commercial product code LCZD composition:RequestId=40cb6b77-0b46-43fd- Ac05-8cc78af458e7&code=LCZD, then sent to merchandise control application and check that the 2nd RPC of stock is asked, wherein Carry requestId&code;
After merchandise control application receives the 2nd RPC requests, to database lookup books《The mountain peak of tide》Record, receive After the returning result of database, returning result is sent to console application;
(1) if it find that also in stock, then returning result is as follows:
{‘requestId’:‘40cb6b77-0b46-43fd-ac05-8cc78af458e7’,‘success’:true, ‘number’:5};
Receive returning result be successfully after, console using initiate subtract stock the 3rd RPC request arrive merchandise control application, Perform the logic similar with above-mentioned inspection stock;
(2) machine if database is delayed, corresponding error message can be packed in program, returning result is as follows:
{‘requestId’:‘40cb6b77-0b46-43fd-ac05-8cc78af458e7’,‘success’:false, ‘msg’:‘db error’};
After console application receives the returning result of above-mentioned success or failure, record is as follows in the log system of local RPC Request Logs:
Success:
[40cb6b77-0b46-43fd-ac05-8cc78af458e7]query book stock,
param:RequestId=40cb6b77-0b46-43fd-ac05-8cc78af458e7&code=LCZD,
result:{‘requestId’:‘40cb6b77-0b46-43fd-ac05-8cc78af458e7’,‘success’: true,‘msg’:‘db error’};
Failure:
[40cb6b77-0b46-43fd-ac05-8cc78af458e7]query book stock,
param:RequestId=40cb6b77-0b46-43fd-ac05-8cc78af458e7&code=LCZD,
result:{‘requestId’:‘40cb6b77-0b46-43fd-ac05-8cc78af458e7’,‘success’: false,‘msg’:‘db error’};
Then by the agent that acts on behalf of of the responsible log collection of system, the daily record of console application is collected, and daily record is pushed away It is sent to daily record center.
By that analogy, the RPC that console application can also place an order to initiations such as order management applications is asked, should to Preferential handling Asked with the RPC for initiating inquiry user preferential or discount, and corresponding RPC Request Logs are collected into daily record center.In daily record The requestId that the heart can be directed in all RPC Request Logs establishes search index.Daily record center can also use different face Colour code knows different returning results, for example, success flag is black, is unsuccessfully identified as red.
If when buying books, system reports an error some user, system manager can carry out problem investigation.Custodian Member, by the information such as time buying and user Id, inquires and sent when this user buys books corresponding to request on backstage RequestId, then go to daily record center to inquire about search index by requestId, get corresponding goods management application, order The correlation log of each applications such as management application, Preferential handling application;Administrative staff can see each application by inquiring about one by one Related log record returning result when success or failure with orientation problem, or mark can be found by color mark It is red returning result with orientation problem.Returning result using color mark is very clear, can be more quick and precisely Where ground orientation problem.
Fig. 4 is the structural representation of the embodiment across application problem examination device of the application.As shown in figure 4, should across should Included with problem examination device:
Searching modul 41, in operation system, according to being added in advance in remote procedure call (RPC) Request Log Business globally unique identifier, the RPC Request Logs are found in daily record center to form the call chain of the business Road, wherein, the RPC Request Logs include the globally unique identifier, RPC required parameters and returning result, the call chain Road includes the multiple applications called in process of service execution;
Judge module 42, the return in each RPC Request Logs found for judging the searching modul 41 As a result it is success or failure;
Problem determination module 43, for determining the returning result in a RPC Request Logs when the judge module 42 For failure, then the calling for determining corresponding application on the calling link according to the RPC Request Logs goes wrong.
Multiple application servers can be included in the operation system, then across the application problem examination device can also wrap Include:Collection module 44, for collecting the RPC Request Logs in the operation system on each application server and storing to described Daily record center.
Across the application problem examination device can also include:Mark module 45, for different using different colours mark Returning result.
The application using across the application problem examination device can realize across application the problem of fast positioning and investigation.
Fig. 5 is the structural representation of the embodiment across application problem Check System of the application.As shown in figure 5, should across should Included with problem Check System:Across application problem examination device 51, multiple application servers 52 and daily record center 53, wherein:
The daily record center 53, asked for storing the remote procedure call (RPC) for collecting to come from each application server 52 Daily record is asked, the RPC Request Logs include globally unique identifier, RPC required parameters and the returning result of business;
Across the application problem examination device 51, for the globally unique identifier according to the business, in the daily record The RPC Request Logs of each application are found in the heart 53 to form the calling link of the business, wherein, the calling link bag Include the multiple applications called in process of service execution;Judge the returning result in each RPC Request Logs be successfully or Failure, if the returning result in a RPC Request Logs is failure, the calling is determined according to the RPC Request Logs The calling of corresponding application goes wrong on link.
The application server can include the first application server 521 and the second application server 522, wherein:
First application server 521 can be used for receiving the first RPC requests, in being asked according to the first RPC Required parameter performs the first application, wherein carrying the globally unique identifier of the business in first RPC requests;If also, The second application is called in the implementation procedure of the described first application, sending the 2nd RPC to second application server 522 please Ask, wherein carrying the globally unique identifier of the business in second RPC requests;
Second application server 522 can be used for receiving the 2nd RPC requests, be asked according to the 2nd RPC In required parameter perform second application, and to first application server 521 send returning result, the returning result bag Include business return code and business returned data;
First application server 521 can be also used for recording the RPC Request Logs of the 2nd RPC requests, wherein Globally unique identifier including the business, the required parameter and the returning result.
First application server 521 can be also used for:When the first RPC requests received are that user initiates institute State what is sent during business, judge the globally unique identifier of the business whether is carried in the context of the first RPC requests; If not provided, being directed to described one globally unique identifier of service generation, and it is added to the context of the first RPC requests In.
Across the application problem examination device 51 can be also used for identifying different returning results using different colours.
The application using across the application problem Check System can realize across application the problem of fast positioning and investigation.
Certainly, any product for implementing the application it is not absolutely required to reach all the above advantage simultaneously.
In a typical configuration, computing device includes one or more processors (CPU), input/output interface, net Network interface and internal memory.
Internal memory may include computer-readable medium in volatile memory, random access memory (RAM) and/or The forms such as Nonvolatile memory, such as read-only storage (ROM) or flash memory (flash RAM).Internal memory is computer-readable medium Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer-readable instruction, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), moved State random access memory (DRAM), other kinds of random access memory (RAM), read-only storage (ROM), electric erasable Programmable read only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM), Digital versatile disc (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.Define, calculate according to herein Machine computer-readable recording medium does not include non-temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
Although the embodiment disclosed by the application is as above, described content is only to readily appreciate the application and use Embodiment, it is not limited to the application.Technical staff in any the application art, is taken off not departing from the application On the premise of the spirit and scope of dew, any modification and change, but the application can be carried out in the form and details of implementation Scope of patent protection, still should be subject to the scope of the claims as defined in the appended claims.

Claims (12)

  1. A kind of 1. across application problem investigation method, it is characterised in that including:
    In operation system, according to the globally unique mark for the business being added in advance in remote procedure call (RPC) Request Log Know, the RPC Request Logs are found in daily record center to form the calling link of the business, wherein, the RPC requests Daily record includes the globally unique identifier, RPC required parameters and returning result, and the calling link is included in process of service execution The multiple applications called;
    Judge that the returning result in each RPC Request Logs is success or failure, if the institute in the RPC Request Logs Returning result is stated as failure, then the calling for determining corresponding application on the calling link according to the RPC Request Logs occurs Problem.
  2. 2. according to the method for claim 1, it is characterised in that the operation system includes multiple application servers, described Method also includes:
    Collect the RPC Request Logs in the operation system on each application server and store and arrive the daily record center.
  3. 3. according to the method for claim 2, it is characterised in that also include:
    First application server receives the first RPC requests, and the required parameter in being asked according to the first RPC performs first should With wherein carrying the globally unique identifier of the business in first RPC requests;
    If to call the second application in the implementation procedure of the described first application, first application server takes to the second application Business device sends the 2nd RPC requests, wherein carrying the globally unique identifier of the business in second RPC requests;
    Required parameter during second application server is asked according to the 2nd RPC performs the second application, and to described the One application server sends returning result, and the returning result includes business return code and business returned data;
    First application server records the RPC Request Logs of the 2nd RPC requests, including the overall situation of the business Unique mark, the required parameter and the returning result.
  4. 4. according to the method for claim 3, it is characterised in that when first application server receive described first RPC requests are that user initiates to send during the business, and methods described also includes:
    When first application server receives the first RPC requests, in the context for judging the first RPC requests Whether the globally unique identifier of the business is carried;
    If not provided, first application server is directed to described one globally unique identifier of service generation, and it is added to In the context of the first RPC requests.
  5. 5. according to the method described in claim any one of 1-4, it is characterised in that also include:Identified using different colours different Returning result.
  6. A kind of 6. across application problem examination device, it is characterised in that including:
    Searching modul, in operation system, according to the business being added in advance in remote procedure call (RPC) Request Log Globally unique identifier, the RPC Request Logs are found in daily record center to form the calling link of the business, its In, the RPC Request Logs include the globally unique identifier, RPC required parameters and returning result, and the calling link includes The multiple applications called in process of service execution;
    Judge module, the returning result in each RPC Request Logs found for judging the searching modul are into Work(still fails;
    Problem determination module, for determining the returning result in the RPC Request Logs when the judge module as failure, The calling for then determining corresponding application on the calling link according to the RPC Request Logs goes wrong.
  7. 7. device according to claim 6, it is characterised in that the operation system includes multiple application servers, described Device also includes:
    Collection module, for collecting the RPC Request Logs in the operation system on each application server and storing to described Daily record center.
  8. 8. the device according to claim 6 or 7, it is characterised in that also include:
    Mark module, for identifying different returning results using different colours.
  9. A kind of 9. across application problem Check System, it is characterised in that including:Across application problem examination device, multiple application services Device and daily record center, wherein:
    The daily record center, remote procedure call (RPC) Request Log of coming, institute are collected for storing from each application server Stating RPC Request Logs includes globally unique identifier, RPC required parameters and the returning result of business;
    Across the application problem examination device, for the globally unique identifier according to the business, looked into the daily record center The RPC Request Logs of each application are found to form the calling link of the business, wherein, the calling link is held including business The multiple applications called during row;Judge that the returning result in each RPC Request Logs is success or failure, if institute It is failure to state the returning result in RPC Request Logs, then it is right on the calling link to be determined according to the RPC Request Logs The calling for the application answered goes wrong.
  10. 10. system according to claim 9, it is characterised in that the application server include the first application server and Second application server, wherein:
    First application server, for receiving the first RPC requests, the required parameter in being asked according to the first RPC is held Row first is applied, wherein carrying the globally unique identifier of the business in first RPC requests;If also, described first The second application is called in the implementation procedure of application, the 2nd RPC requests are sent to second application server, wherein described the The globally unique identifier of the business is carried in two RPC requests;
    Second application server, for receiving the 2nd RPC requests, the request in being asked according to the 2nd RPC is joined Number performs the second application, and sends returning result to first application server, and the returning result includes business return code With business returned data;
    First application server, it is additionally operable to record the RPC Request Logs of the 2nd RPC requests, including the industry The globally unique identifier of business, the required parameter and the returning result.
  11. 11. system according to claim 10, it is characterised in that first application server is additionally operable to:When receiving The first RPC requests be that user initiates to send during the business, judge in the context that the first RPC is asked whether Carry the globally unique identifier of the business;If not provided, be directed to described one globally unique identifier of service generation, and by its It is added in the context of the first RPC requests.
  12. 12. according to the system described in claim 9,10 or 11, it is characterised in that across the application problem examination device is additionally operable to Different returning results is identified using different colours.
CN201610404737.9A 2016-06-08 2016-06-08 Cross-application problem troubleshooting method, device and system Active CN107483221B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610404737.9A CN107483221B (en) 2016-06-08 2016-06-08 Cross-application problem troubleshooting method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610404737.9A CN107483221B (en) 2016-06-08 2016-06-08 Cross-application problem troubleshooting method, device and system

Publications (2)

Publication Number Publication Date
CN107483221A true CN107483221A (en) 2017-12-15
CN107483221B CN107483221B (en) 2021-04-27

Family

ID=60593916

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610404737.9A Active CN107483221B (en) 2016-06-08 2016-06-08 Cross-application problem troubleshooting method, device and system

Country Status (1)

Country Link
CN (1) CN107483221B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108199876A (en) * 2017-12-29 2018-06-22 北京奇艺世纪科技有限公司 A kind of daily record data store method, device and distribution service
CN108509313A (en) * 2018-03-23 2018-09-07 深圳乐信软件技术有限公司 A kind of business monitoring method, platform and storage medium
CN108681492A (en) * 2018-05-22 2018-10-19 阿里巴巴集团控股有限公司 Data processing method and device
CN108710557A (en) * 2018-04-20 2018-10-26 烽火通信科技股份有限公司 The judgment method and system of distributed software program data consistency
CN109271359A (en) * 2018-11-20 2019-01-25 北京千丁互联科技有限公司 Log information processing method, device, electronic equipment and readable storage medium storing program for executing
CN109491885A (en) * 2018-09-26 2019-03-19 深圳壹账通智能科技有限公司 Test problem localization method, device, computer equipment and storage medium
CN109542718A (en) * 2018-10-22 2019-03-29 中国平安人寿保险股份有限公司 Monitoring method, device, storage medium and the server of service call
CN109902105A (en) * 2019-02-28 2019-06-18 携程旅游网络技术(上海)有限公司 For the data query system of micro services framework, method, equipment and storage medium
CN110034948A (en) * 2019-01-11 2019-07-19 阿里巴巴集团控股有限公司 The method and apparatus of Check System failure
CN110659141A (en) * 2018-06-30 2020-01-07 武汉斗鱼网络科技有限公司 Instruction execution method and related equipment
CN110826057A (en) * 2018-08-09 2020-02-21 阿里巴巴集团控股有限公司 Data processing path analysis method, computer device, and storage medium
CN112486719A (en) * 2020-12-14 2021-03-12 上海悦易网络信息技术有限公司 Method and equipment for RPC interface call failure processing

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070157200A1 (en) * 2005-12-30 2007-07-05 Hopkins William E System and method for generating a lock-free dual queue
CN104219316A (en) * 2014-09-12 2014-12-17 微梦创科网络科技(中国)有限公司 Method and device for processing call request in distributed system
CN105099769A (en) * 2015-07-01 2015-11-25 北京奇虎科技有限公司 Method, device and system for processing abnormal operations of service platform
CN105205000A (en) * 2015-10-12 2015-12-30 用友网络科技股份有限公司 Method and system for positioning influenced code scope in software development

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070157200A1 (en) * 2005-12-30 2007-07-05 Hopkins William E System and method for generating a lock-free dual queue
CN104219316A (en) * 2014-09-12 2014-12-17 微梦创科网络科技(中国)有限公司 Method and device for processing call request in distributed system
CN105099769A (en) * 2015-07-01 2015-11-25 北京奇虎科技有限公司 Method, device and system for processing abnormal operations of service platform
CN105205000A (en) * 2015-10-12 2015-12-30 用友网络科技股份有限公司 Method and system for positioning influenced code scope in software development

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108199876A (en) * 2017-12-29 2018-06-22 北京奇艺世纪科技有限公司 A kind of daily record data store method, device and distribution service
CN108509313A (en) * 2018-03-23 2018-09-07 深圳乐信软件技术有限公司 A kind of business monitoring method, platform and storage medium
CN108509313B (en) * 2018-03-23 2021-03-19 深圳乐信软件技术有限公司 Service monitoring method, platform and storage medium
CN108710557B (en) * 2018-04-20 2021-10-19 烽火通信科技股份有限公司 Method and system for judging data consistency of distributed software program
CN108710557A (en) * 2018-04-20 2018-10-26 烽火通信科技股份有限公司 The judgment method and system of distributed software program data consistency
CN108681492A (en) * 2018-05-22 2018-10-19 阿里巴巴集团控股有限公司 Data processing method and device
CN110659141A (en) * 2018-06-30 2020-01-07 武汉斗鱼网络科技有限公司 Instruction execution method and related equipment
CN110659141B (en) * 2018-06-30 2022-01-04 武汉斗鱼网络科技有限公司 Instruction execution method and related equipment
CN110826057B (en) * 2018-08-09 2023-06-02 阿里巴巴集团控股有限公司 Analysis method for data processing path, computer device, and storage medium
CN110826057A (en) * 2018-08-09 2020-02-21 阿里巴巴集团控股有限公司 Data processing path analysis method, computer device, and storage medium
CN109491885A (en) * 2018-09-26 2019-03-19 深圳壹账通智能科技有限公司 Test problem localization method, device, computer equipment and storage medium
CN109542718B (en) * 2018-10-22 2023-02-07 中国平安人寿保险股份有限公司 Service call monitoring method and device, storage medium and server
CN109542718A (en) * 2018-10-22 2019-03-29 中国平安人寿保险股份有限公司 Monitoring method, device, storage medium and the server of service call
CN109271359A (en) * 2018-11-20 2019-01-25 北京千丁互联科技有限公司 Log information processing method, device, electronic equipment and readable storage medium storing program for executing
CN110034948B (en) * 2019-01-11 2021-09-21 创新先进技术有限公司 Method and device for troubleshooting system faults
CN110034948A (en) * 2019-01-11 2019-07-19 阿里巴巴集团控股有限公司 The method and apparatus of Check System failure
CN109902105A (en) * 2019-02-28 2019-06-18 携程旅游网络技术(上海)有限公司 For the data query system of micro services framework, method, equipment and storage medium
CN112486719A (en) * 2020-12-14 2021-03-12 上海悦易网络信息技术有限公司 Method and equipment for RPC interface call failure processing

Also Published As

Publication number Publication date
CN107483221B (en) 2021-04-27

Similar Documents

Publication Publication Date Title
CN107483221A (en) A kind of across application problem investigation method, apparatus and system
US11558429B2 (en) Data processing and scanning systems for generating and populating a data inventory
US9203720B2 (en) Monitoring the health of web page analytics code
CN106062719B (en) It is analyzed according to the service measure for the structuring logging mode for using data
CN105095970B (en) The execution method and system of third-party application
CN108197200A (en) Daily record method for tracing, device, computer equipment and storage medium
CN108304486A (en) A kind of data processing method and device based on block chain
CN106790744B (en) IP scheduling method and system
US20190052602A1 (en) Generating rules to detect security vulnerabilities based on vulnerability primitives with entry point finder
US20210255853A1 (en) Version control mechanisms augmented with semantic analysis for determining cause of software defects
US20060235709A1 (en) Dynamic distributed customer issue analysis
CN107092535A (en) Method and apparatus for the data storage of test interface
CN101819551A (en) Method and system for recording service interaction data of enterprise message system
CN105656979A (en) Method for processing unstructured message, client, server, and platform
US11443046B2 (en) Entry point finder
CN117234916A (en) Workflow application testing method and device, electronic equipment and storage medium
CN111143151B (en) Service monitoring method and device and electronic equipment
CN105988785A (en) RPC (remote procedure call) service development method and device
FR3028370A1 (en) METHODS AND SYSTEMS OF APPLIED SUPERVISION
US20080033995A1 (en) Identifying events that correspond to a modified version of a process
McGregor et al. Business process monitoring using web services in B2B e-commerce
CN115063198A (en) Method, equipment and medium for performing data access on EPR (expressed resource Server) software under SaaS (software as a service) service
CN109656825A (en) The method and device of fine arts resource processing, electronic equipment, storage medium
CN113992664B (en) Cluster communication method, related device and storage medium
CN114756530A (en) Client information processing method based on bastion machine

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230515

Address after: Room 1-2-A06, Yungu Park, No. 1008 Dengcai Street, Sandun Town, Xihu District, Hangzhou City, Zhejiang Province

Patentee after: Aliyun Computing Co.,Ltd.

Address before: Box 847, four, Grand Cayman capital, Cayman Islands, UK

Patentee before: ALIBABA GROUP HOLDING Ltd.