CN107404456A - Location of mistake method and device - Google Patents

Location of mistake method and device Download PDF

Info

Publication number
CN107404456A
CN107404456A CN201610331649.0A CN201610331649A CN107404456A CN 107404456 A CN107404456 A CN 107404456A CN 201610331649 A CN201610331649 A CN 201610331649A CN 107404456 A CN107404456 A CN 107404456A
Authority
CN
China
Prior art keywords
error message
called side
called
mistake
calling
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
CN201610331649.0A
Other languages
Chinese (zh)
Other versions
CN107404456B (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.)
Advanced Nova Technology Singapore Holdings 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 CN201610331649.0A priority Critical patent/CN107404456B/en
Publication of CN107404456A publication Critical patent/CN107404456A/en
Application granted granted Critical
Publication of CN107404456B publication Critical patent/CN107404456B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/133Protocols for remote procedure calls [RPC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Telephonic Communication Services (AREA)

Abstract

This application discloses location of mistake method and device, this method includes:Receive the call request of called side;When the call request occurs calling abnormal, then error message corresponding to generation, the error message includes the system banner of itself;The error message is sent to the called side, so that system banner of the called side in error message carries out location of mistake.Therefore, the application, so as to reduce the cumbersome degree of location of mistake, can also improve the efficiency and accuracy of location of mistake according to the system banner fast positioning in error message to incorrect system.

Description

Location of mistake method and device
Technical field
The application is related to Internet technical field, more particularly to location of mistake method and device.
Background technology
With the continuous development of Internet technology, the far call between multisystem is also more and more extensive, this When sample to occur malloc failure malloc, it is also very crucial into one how fast positioning to be carried out to error system The problem of.
In the prior art, can be according to calling link successively to the day of each called side when malloc failure malloc Will information carries out problem investigation, finally determines error system.
But when the log information to each called side carries out problem investigation, its is cumbersome, wrong The efficiency of positioning is very low by mistake.
The content of the invention
The application provides location of mistake method, apparatus and server, to solve in the prior art when to each When the square log information that is called carries out problem investigation, its is cumbersome, and the efficiency of location of mistake is very low Problem.
According to the first aspect of the embodiment of the present application, there is provided a kind of location of mistake method, methods described application In in called side, including:
Receive the call request of called side;
When the call request occurs calling abnormal, then error message corresponding to generation, the error message Include the system banner of itself;
The error message is sent to the called side, so that the called side is according in error message System banner carries out location of mistake.
According to the second aspect of the embodiment of the present application, there is provided a kind of location of mistake method, methods described application In in called side, including:
Call request is sent to called side, so that called side generation pair when occurring calling abnormal The error message answered, the error message include the system banner for calling abnormal called side occur;
Receive the error message that the called side sends;
System banner in the error message carries out location of mistake.
According to the third aspect of the embodiment of the present application, there is provided a kind of location of mistake device, described device application In in called side, including:
Receiving unit, for receiving the call request of called side;
Generation unit, for when detecting that the current calling occurs calling abnormal, then being advised according to setting Then error message corresponding to generation, the error message include the system banner of itself;
Transmitting element, for the error message to be sent to the called side, so that the calling root Location of mistake is carried out according to the system banner in error message.
According to the fourth aspect of the embodiment of the present application, there is provided a kind of location of mistake device, described device application In in called side, including:
Transmitting element, for sending call request to called side, work as so that the called side detects When preceding calling occurs abnormal, then the error message according to corresponding to setting rule generation, the error message bag Include the system banner of itself;
Receiving unit, the error message sent for receiving the called side;
Positioning unit, location of mistake is carried out for the system banner in the error message.
According to the 5th of the embodiment of the present application the aspect, there is provided a kind of location of mistake device, described device application In in called side, including:
Processor;
For storing the memory of the processor-executable instruction;
Wherein, the processor is configured as:
Receive the call request of called side;
When the call request occurs calling abnormal, then error message corresponding to generation, the error message Include the system banner of itself;
The error message is sent to the called side, so that the called side is according in error message System banner carries out location of mistake.
According to the 6th of the embodiment of the present application the aspect, there is provided a kind of location of mistake device, described device application In in called side, including:
Processor;
For storing the memory of the processor-executable instruction;
Wherein, the processor is configured as:
Call request is sent to called side, so that called side generation pair when occurring calling abnormal The error message answered, the error message include the system banner for calling abnormal called side occur;
Receive the error message that the called side sends;
System banner in the error message carries out location of mistake.
Using the embodiment of the present application, by receiving the call request of called side, when the call request is adjusted With it is abnormal when, then generation corresponding to error message, the error message includes the system banner of itself, by mistake False information is sent to called side so that called side can be according to the system banner fast positioning in error message To incorrect system, so as to reduce the cumbersome degree of location of mistake, the efficiency and standard of location of mistake are also improved True property.
Brief description of the drawings
Fig. 1 is the location of mistake schematic diagram of a scenario of the embodiment of the present application;
Fig. 2 is one embodiment flow chart of the application location of mistake method;
Fig. 3 is another embodiment flow chart of the application location of mistake method;
Fig. 4 is a kind of hardware structure diagram of equipment where one location of mistake device of the application;
Fig. 5 is a kind of hardware structure diagram of another location of mistake device of the application place equipment;
Fig. 6 is one embodiment block diagram of the application location of mistake device;
Fig. 7 is another embodiment block diagram of the application location of mistake device.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following retouches State when being related to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element. Embodiment described in following exemplary embodiment does not represent all embodiment party consistent with the application Formula.On the contrary, they are only and some aspects phase one being described in detail in such as appended claims, the application The example of the apparatus and method of cause.
It is only merely for the purpose of description specific embodiment in term used in this application, and is not intended to be limiting this Application." one kind " of singulative used in the application and appended claims, " described " and "the" is also intended to including most forms, unless context clearly shows that other implications.It is also understood that Term "and/or" used herein refer to and comprising the associated list items purposes of one or more it is any or It is possible to combine.
It will be appreciated that though various letters may be described using term first, second, third, etc. in the application Breath, but these information should not necessarily be limited by these terms.These terms are only used for same type of information area each other Separate.For example, in the case where not departing from the application scope, the first information can also be referred to as the second information, Similarly, the second information can also be referred to as the first information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... when " or " in response to determine ".
Referring to Fig. 1, for the location of mistake schematic diagram of a scenario of the embodiment of the present application:
Fig. 1 scenes include:FTP client FTP, operation system 1, operation system 2, operation system 3 ..., Operation system N.
When FTP client FTP needs the essential information in one shop of displaying, the FTP client FTP can pass through industry Business system 1- operation system 2- operation systems 3 call the essential information in the shop, now, FTP client FTP-industry Business system 1- operation system 2- operation systems 3 form a calling link.Wherein, operation system 1 can be Gateway system, operation system 2 can be that store management system, operation system 3 can be that data template exchanges System.
Wherein, FTP client FTP, the network of 3 each system of operation system 1, operation system 2 and operation system Between agreement (Internet Protocol, IP) address for interconnecting it is as shown in table 1.
Table 1
Systematic name IP address
FTP client FTP 10.228.148.66
Gateway system 10.228.14.111
Store management system 10.214.96.18
Data template exchange system 10.228.144.112
After operation system 3 receives the call request of the FTP client FTP of the forwarding of operation system 2, positive reason Under condition, call result can be returned to operation system 2 by operation system 3, then pass through operation system by operation system 2 Call result is returned to FTP client FTP by 1.But when operation system 3 detects and calls abnormal, can basis Error message corresponding to setting rule generation, the error message can include the system banner of operation system 3 (i.e. system 3), the system 3 is the system banner for occurring calling abnormal called side, then by the mistake False information is sent to FTP client FTP.
After FTP client FTP receives error message, system banner (i.e. system 3) of the meeting in error message Determine that operation system 3 occurs calling exception, it is achieved thereby that the fast positioning to error system.
The embodiment of the present application is described in detail below.
Referring to Fig. 2, for the flow chart of one embodiment of the application location of mistake method, this method can be applied In in called side, may comprise steps of:
Step 210:Receive the call request of called side.
In the embodiment of the present application, called side can pass through the remote procedure call protocol (Remote of itself Procedure Call Protocol, RPC) service end receive called side RPC clients send calling Request, the operation system of itself is then controlled to carry out corresponding handle.
Step 220:When the call request occurs calling abnormal, then error message corresponding to generation, the mistake False information includes the system banner of itself.
In the embodiment of the present application, abnormal situation is called to have a lot, can be including but not limited to following two:
(1) system exception.The system exception is used for hardware failure or the behaviour for characterizing called side itself Make the situation of system failure.
(2) service exception.The service exception is used to characterize the situation that call result is unsatisfactory for business demand. Wherein, all busy business norms first arranged of call result corresponding to business demand, when call result is discontented with During these business norms of foot, show that the call result is unsatisfactory for business demand.
, can be wrong according to corresponding to setting rule generation during for calling error message corresponding to abnormal generation False information, it is to occur calling abnormal system name that the error message, which can include the system banner of itself,.
In the embodiment of the present application, setting rule also refers to the message specification of generation error information.Also,
The implication of each message field (MFLD) is formulated in the message specification, as shown in table 2.
Table 2
In addition, also having formulated putting in order for each message field (MFLD) in the message specification, error message is obtained Corresponding setting message format.
In one example, called side can also be included in the error message generated extremely for calling IP address.
Such as:After operation system 3 in Fig. 1 scenes detects calling exception, then the error message generated can With as follows:
IP_TRACE=10.228.144.112&APPNAME=systems 3&ERRORTYPE= SERVICE_ERROR&EXTRAMSG=services return to mistake.
Wherein, 10.228.144.112 is the IP address of operation system 3, and system 3 is the system of operation system 3 Name, SERVICE_ERROR, which is represented, detects service exception, and it is self-defined extension information that service, which returns to mistake,.
Step 230:Error message is sent to called side, so that system of the called side in error message Mark carries out location of mistake.
In the embodiment of the present application, because error message includes the system banner for calling abnormal called side occur, Called side can position according to the system banner to be occurred calling abnormal system.
As seen from the above-described embodiment, by receiving the call request of called side, when the call request is adjusted With it is abnormal when, then generation corresponding to error message, the error message includes the system banner of itself, by mistake False information is sent to called side so that called side can be according to the system banner fast positioning in error message To incorrect system, so as to reduce the cumbersome degree of location of mistake, the efficiency and standard of location of mistake are also improved True property.
In one example, when error message is sent to called side, called side can be by the mistake Information is sent to another system, another system added in error message send after the IP address of itself to Called side, wherein, when called side calls called square, another system is as the called of called side System and as be called side calling system.
Such as:What FTP client FTP-operation system 1- operation system 2- operation systems 3 in Fig. 1 scenes formed Call in link, if after operation system 1 detects that service exception occurs in current calling, each system returns Error message it is as shown in table 3.
Table 3
Wherein, 10.228.14.111 is the IP address of operation system 1, and system 1 is the system of operation system 1 Name, SERVICE_ERROR, which is represented, detects service exception, and it is self-defined extension information that service, which returns to mistake,.
Again such as:FTP client FTP in Fig. 1 scenes -- 3 groups of operation system 1- operation system 2- operation systems Into calling link in, if after operation system 3 detects service exception, mistake letter that each system returns Breath is as shown in table 4.
Table 4
Wherein, 10.214.96.18 is the IP address of operation system 2, and 10.228.14.111 is operation system 1 IP address, 10.228.144.112 is the IP address of operation system 3, and system 3 is that operation system 3 is System name, SERVICE_ERROR, which is represented, detects service exception, and it is that self-defined extension is believed that service, which returns to mistake, Breath.
As seen from the above-described embodiment, by the way that error message is sent to another system, another system is in mistake Sent after the IP address of itself is added in false information to called side so that called side can be according to error message In system banner fast positioning to incorrect system, moreover it is possible to the IP address list in error message is known The calling link of incorrect system is reached, so as to improve the reliability of fast positioning.
In another example, when the call request occurs calling abnormal, then error message corresponding to generation, And when error message is sent to called side, following two implementations can also be included but is not limited to:
Firstth, when the business system for the side that is called detects that the call request occurs calling abnormal, the business System, which can be set, needs the error message for being pass-through to called side, and the error message is sent to called The RPC service end of side, and indicate that the RPC service end sends error message to the RPC visitors of called side Family end, so that the RPC clients of called side send error message to the operation system of called side and progress Location of mistake.
Secondth, after the operation system processing according to corresponding to being carried out call request for the side that is called, it is called The RPC service end of side receives the result of the operation system, and is sentenced according to the result of operation system It is disconnected whether to occur calling exception, should when determining to occur calling abnormal according to the result of operation system RPC service end, which can be set, needs the error message for being pass-through to called side, and by error message send to The RPC clients of called side, so that the RPC clients of called side send the error message to calling The operation system of side simultaneously carries out location of mistake.
As seen from the above-described embodiment, when the business system for the side that is called detects that calling is abnormal or the side that is called RPC service end detect call it is abnormal when, can set needs the error message for being pass-through to called side, And error message is sent to the RPC clients of called side so that called side can be from the setting of itself RPC interfaces obtain error message, and the system banner fast positioning in error message is to incorrect system, Further increase the speed of location of mistake.
Referring to Fig. 3, for the flow chart of another embodiment of the application location of mistake method, this method can Applied in called side, may comprise steps of:
Step 310:Call request is sent to called side, so that called side is when occurring calling abnormal Error message corresponding to generation, the error message include the system banner for calling abnormal called side occur.
Such as:, can be with when FTP client FTP needs the essential information in one shop of displaying in Fig. 1 scenes Send call request to operation system 1, then operation system 1 can according to the call request of FTP client FTP to Operation system 2 sends call request, and then operation system 2 can be according to the call request of operation system 1 to industry Business system 3 sends call request, if operation system 3 is detected when calling abnormal, can generate corresponding mistake Information, the error message include the system banner (i.e. system 3) of itself.
Step 320:Receive the called error message just sent.
In the embodiment of the present application, called side can receive called side by the RPC clients of itself The error message that RPC service end is sent.
Step 330:System banner in error message carries out location of mistake.
In the embodiment of the present application, because error message includes the system banner for calling abnormal called side occur, Called side can obtain the system banner for occurring calling abnormal called side from error message, and according to System banner positioning occurs calling abnormal system.
As seen from the above-described embodiment, called side is after the called error message just sent is received, due to mistake False information includes the system banner for calling abnormal called side occur, can be directly according to error message In system banner fast positioning to incorrect system, so as to reduce the cumbersome degree of location of mistake, and improve The efficiency and accuracy of location of mistake.
Corresponding with the embodiment of the application location of mistake method, present invention also provides location of mistake device Embodiment.
The embodiment of a location of mistake device in the application can be applied in called side.Device is implemented Example can be realized by software, can also be realized by way of hardware or software and hardware combining.It is real with software Exemplified by existing, as the device on a logical meaning, being will be non-volatile by the processor of equipment where it Corresponding computer program instructions read what operation in internal memory was formed in memory.For hardware view, As shown in figure 4, it is a kind of hardware structure diagram of the application location of mistake device place equipment, except Fig. 4 institutes Outside the processor, internal memory, network interface and the nonvolatile memory that show, in embodiment where device Equipment generally according to the actual functional capability of the equipment, other hardware can also be included, such as terminal, Camera, touch-screen, communication component etc. may be included, for server, may include being responsible for place Manage forwarding chip of message etc..
The embodiment of another location of mistake device in the application can be applied in called side.Device is implemented Example can be realized by software, can also be realized by way of hardware or software and hardware combining.It is real with software Exemplified by existing, as the device on a logical meaning, being will be non-volatile by the processor of equipment where it Corresponding computer program instructions read what operation in internal memory was formed in memory.For hardware view, As shown in figure 5, it is a kind of hardware structure diagram of the application location of mistake device place equipment, except Fig. 5 institutes Outside the processor, internal memory, network interface and the nonvolatile memory that show, in embodiment where device Equipment generally according to the actual functional capability of the equipment, other hardware can also be included, such as terminal, Camera, touch-screen, communication component etc. may be included, for server, may include being responsible for place Manage forwarding chip of message etc..
It is one embodiment block diagram of the application location of mistake device referring to Fig. 6, the location of mistake device can be with Apply in called side, and can be used for performing the location of mistake method shown in Fig. 2, the device includes: Receiving unit 61, generation unit 62 and transmitting element 63.
Receiving unit 61, for receiving the call request of called side;
Generation unit 62, for when detect it is described it is current call occur calling abnormal when, then according to setting Error message corresponding to rule generation, the error message include the system banner of itself;
Transmitting element 63, for the error message to be sent to the called side, so that the called side System banner in error message carries out location of mistake.
In an optional implementation:The calling is abnormal, including:
The system exception that called side's hardware of itself breaks down or operating system breaks down;Or
Call result is unsatisfactory for the service exception of business demand.
In another optional implementation:The error message also includes the square IP address that is called.
In another optional implementation:The transmitting element 63 can include:First sends son list First (not shown in Fig. 6).
First transmission sub-unit, for the error message to be sent to another system, another system exists Sent after the IP address of itself is added in the error message to called side, wherein, call quilt in called side During called side, another system as called side called system and as be called side calling system.
In another optional implementation:The generation unit can include first setting unit (Fig. 6 Not shown in).
First sets subelement, for detecting that the call request is adjusted when the operation system for the side that is called With it is abnormal when, then the operation system set need to be pass-through to the error message of the called side.
In another optional implementation:The transmitting element can include the second transmission sub-unit (figure Not shown in 6).Including:
Second transmission sub-unit, the operation system for the side that is called send the error message to being adjusted With the RPC service end of side, and indicate that the RPC service end sends the error message to the calling The RPC clients of side, so that the RPC clients send the error message to the called side Operation system and carry out location of mistake.
In another optional implementation:The generation unit can include:Receiving subelement, reception Subelement and second sets subelement (not shown in Fig. 6).
Receiving subelement, for when the operation system processing according to corresponding to being carried out call request for the side that is called Afterwards, the RPC service end of called side receives the result of the operation system;
Judgment sub-unit, judge whether that appearance calling is different according to the result for the RPC service end Often;
Second sets subelement, for when determining to occur calling abnormal according to the result, then should RPC service end, which is set, to be needed to be pass-through to the error message of the called side.
In another optional implementation:The transmitting element can include the 3rd transmission sub-unit (figure Not shown in 6).
3rd transmission sub-unit, the RPC service end for the side that is called send the error message to institute The RPC clients of called side are stated, so that the RPC clients send the error message to described The operation system of called side simultaneously carries out location of mistake.
Referring to Fig. 7, for another embodiment block diagram of the application location of mistake device, the location of mistake device can To apply in called side, and it can be used for performing the location of mistake method shown in Fig. 3, the device includes: Transmitting element 71, receiving unit 72 and positioning unit 73.
Transmitting element 71, for sending call request to called side, so that the called side is occurring Error message corresponding to generation when calling abnormal, the error message include occurring calling the called of exception The system banner of side;
Receiving unit 72, the error message sent for receiving the called side;
Positioning unit 73, location of mistake is carried out for the system banner in the error message.
In an optional implementation:The positioning unit 73 can include:Locator unit (figure Not shown in 7).
Locator unit, it is for obtain the called side for occurring calling exception from the error message System mark, and positioned according to the system banner and occur calling abnormal system.
The function of unit and the implementation process of effect specifically refer to corresponding step in the above method in said apparatus Rapid implementation process, will not be repeated here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part referring to The part explanation of embodiment of the method.Device embodiment described above is only schematical, wherein The unit illustrated as separating component can be or may not be it is physically separate, as unit The part of display can be or may not be physical location, you can with positioned at a place, or also may be used To be distributed on multiple NEs.Some or all of module therein can be selected according to the actual needs To realize the purpose of this request program.Those of ordinary skill in the art without creative efforts, It can understand and implement.
Corresponding with Fig. 6, the embodiment of the present application additionally provides a kind of location of mistake device, and described device can be with Applied on called side, including:
Processor;For storing the memory of the processor-executable instruction;
Wherein, the processor is configured as:
Receive the call request of called side;
When the call request occurs calling abnormal, then error message corresponding to generation, the error message Include the system banner of itself;
The error message is sent to the called side, so that the called side is according in error message System banner carries out location of mistake.
As seen from the above-described embodiment, by receiving the call request of called side, when the call request is adjusted With it is abnormal when, then generation corresponding to error message, the error message includes the system banner of itself, by mistake False information is sent to called side so that called side can be according to the system banner fast positioning in error message To incorrect system, so as to reduce the cumbersome degree of location of mistake, the efficiency and standard of location of mistake are also improved True property.
Corresponding with Fig. 7, the embodiment of the present application additionally provides a kind of location of mistake device, and described device can be with Applied in called side, including:
Processor;For storing the memory of the processor-executable instruction;
Wherein, the processor is configured as:
Call request is sent to called side, so that called side generation pair when occurring calling abnormal The error message answered, the error message include the system banner for calling abnormal called side occur;
Receive the error message that the called side sends;
System banner in the error message carries out location of mistake.
As seen from the above-described embodiment, called side is after the called error message just sent is received, due to mistake False information includes the system banner for calling abnormal called side occur, can be directly according to error message In system banner fast positioning to incorrect system, so as to reduce the cumbersome degree of location of mistake, and improve The efficiency and accuracy of location of mistake.
Those skilled in the art will readily occur to this Shen after considering specification and putting into practice invention disclosed herein Other embodiments please.The application is intended to any modification, purposes or the adaptations of the application, These modifications, purposes or adaptations follow the general principle of the application and are not disclosed including the application Common knowledge or conventional techniques in the art.Description and embodiments are considered only as exemplary , the true scope and spirit of the application are pointed out by following claim.
It should be appreciated that the accurate knot that the application is not limited to be described above and is shown in the drawings Structure, and various modifications and changes can be being carried out without departing from the scope.Scope of the present application is only by appended Claim limits.

Claims (22)

  1. A kind of 1. location of mistake method, it is characterised in that methods described is applied in called side, including:
    Receive the call request of called side;
    When the call request occurs calling abnormal, then error message corresponding to generation, the error message Include the system banner of itself;
    The error message is sent to the called side, so that the called side is according in error message System banner carries out location of mistake.
  2. 2. according to the method for claim 1, it is characterised in that the calling is abnormal, including:
    The system exception that called side's hardware of itself breaks down or operating system breaks down;Or
    Call result is unsatisfactory for the service exception of business demand.
  3. 3. according to the method for claim 1, it is characterised in that the error message also includes being adjusted With the IP address of side.
  4. 4. according to the method for claim 1, it is characterised in that described to send the error message To the called side, including:
    The error message is sent to another system, another system is added certainly in the error message Sent after the IP address of body to called side, wherein, when called side calls called square, another system As called side called system and as be called side calling system.
  5. 5. method according to claim 1 or 2, it is characterised in that described when the call request goes out When now calling abnormal, then error message corresponding to generation, including:
    When the operation system for the side that is called detects that the call request occurs calling abnormal, then the business system System, which is set, to be needed to be pass-through to the error message of the called side.
  6. 6. according to the method for claim 5, it is characterised in that described to send the error message To the called side, including:
    The square operation system that is called sends the error message to the RPC service end of called side, and Indicate that the RPC service end sends the error message to the RPC clients of the called side, so that The error message is sent to the operation system of the called side and carries out mistake by the RPC clients Positioning.
  7. 7. method according to claim 1 or 2, it is characterised in that described when the call request goes out When now calling abnormal, then error message corresponding to generation, including:
    After the operation system processing according to corresponding to being carried out call request for the side that is called, be called side RPC service end receives the result of the operation system;
    The RPC service end judges whether occur calling exception according to the result;
    When determining to occur calling abnormal according to the result, then the RPC service end sets needs saturating Reach the error message of the called side.
  8. 8. according to the method for claim 7, it is characterised in that described to send the error message To the called side, including:
    The RPC service end of called side sends the error message to the RPC client of the called side End, so that the operation system that the RPC clients send the error message to the called side is gone forward side by side Row location of mistake.
  9. A kind of 9. location of mistake method, it is characterised in that methods described is applied in called side, including:
    Call request is sent to called side, so that called side generation pair when occurring calling abnormal The error message answered, the error message include the system banner for calling abnormal called side occur;
    Receive the error message that the called side sends;
    System banner in the error message carries out location of mistake.
  10. 10. according to the method for claim 9, it is characterised in that described according to the error message In system banner carry out location of mistake, including:
    The system banner for occurring calling abnormal called side is obtained from the error message, and according to this System banner positioning occurs calling abnormal system.
  11. 11. a kind of location of mistake device, it is characterised in that described device is applied in called side, bag Include:
    Receiving unit, for receiving the call request of called side;
    Generation unit, for when detecting that the current calling occurs calling abnormal, then being advised according to setting Then error message corresponding to generation, the error message include the system banner of itself;
    Transmitting element, for the error message to be sent to the called side, so that the calling root Location of mistake is carried out according to the system banner in error message.
  12. 12. device according to claim 11, it is characterised in that the calling is abnormal, including:
    The system exception that called side's hardware of itself breaks down or operating system breaks down;Or
    Call result is unsatisfactory for the service exception of business demand.
  13. 13. device according to claim 11, it is characterised in that the error message also includes quilt The IP address of called side.
  14. 14. device according to claim 11, it is characterised in that the transmitting element includes:
    First transmission sub-unit, for the error message to be sent to another system, another system exists Sent after the IP address of itself is added in the error message to called side, wherein, call quilt in called side During called side, another system as called side called system and as be called side calling system.
  15. 15. the device according to claim 11 or 12, it is characterised in that the generation unit bag Include:
    First sets subelement, for detecting that the call request is adjusted when the operation system for the side that is called With it is abnormal when, then the operation system set need to be pass-through to the error message of the called side.
  16. 16. device according to claim 15, it is characterised in that the transmitting element includes:
    Second transmission sub-unit, the operation system for the side that is called send the error message to being adjusted With the RPC service end of side, and indicate that the RPC service end sends the error message to the calling The RPC clients of side, so that the RPC clients send the error message to the called side Operation system and carry out location of mistake.
  17. 17. the device according to claim 11 or 12, it is characterised in that the generation unit bag Include:
    Receiving subelement, for when the operation system processing according to corresponding to being carried out call request for the side that is called Afterwards, the RPC service end of called side receives the result of the operation system;
    Judgment sub-unit, judge whether that appearance calling is different according to the result for the RPC service end Often;
    Second sets subelement, for when determining to occur calling abnormal according to the result, then should RPC service end, which is set, to be needed to be pass-through to the error message of the called side.
  18. 18. device according to claim 17, it is characterised in that the transmitting element includes:
    3rd transmission sub-unit, the RPC service end for the side that is called send the error message to institute The RPC clients of called side are stated, so that the RPC clients send the error message to described The operation system of called side simultaneously carries out location of mistake.
  19. A kind of 19. location of mistake device, it is characterised in that described device is applied in called side, including:
    Transmitting element, for sending call request to called side, so that the called side is adjusting The error message corresponding to generation during exception, the error message include occurring calling abnormal called side System banner;
    Receiving unit, the error message sent for receiving the called side;
    Positioning unit, location of mistake is carried out for the system banner in the error message.
  20. 20. device according to claim 19, it is characterised in that the positioning unit includes:
    Locator unit, it is for obtain the called side for occurring calling exception from the error message System mark, and positioned according to the system banner and occur calling abnormal system.
  21. 21. a kind of location of mistake device, it is characterised in that described device is applied in called side, bag Include:
    Processor;
    For storing the memory of the processor-executable instruction;
    Wherein, the processor is configured as:
    Receive the call request of called side;
    When the call request occurs calling abnormal, then error message corresponding to generation, the error message Include the system banner of itself;
    The error message is sent to the called side, so that the called side is according in error message System banner carries out location of mistake.
  22. A kind of 22. location of mistake device, it is characterised in that described device is applied in called side, including:
    Processor;
    For storing the memory of the processor-executable instruction;
    Wherein, the processor is configured as:
    Call request is sent to called side, so that called side generation pair when occurring calling abnormal The error message answered, the error message include the system banner for calling abnormal called side occur;
    Receive the error message that the called side sends;
    System banner in the error message carries out location of mistake.
CN201610331649.0A 2016-05-18 2016-05-18 Error positioning method and device Active CN107404456B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610331649.0A CN107404456B (en) 2016-05-18 2016-05-18 Error positioning method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610331649.0A CN107404456B (en) 2016-05-18 2016-05-18 Error positioning method and device

Publications (2)

Publication Number Publication Date
CN107404456A true CN107404456A (en) 2017-11-28
CN107404456B CN107404456B (en) 2020-05-05

Family

ID=60394242

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610331649.0A Active CN107404456B (en) 2016-05-18 2016-05-18 Error positioning method and device

Country Status (1)

Country Link
CN (1) CN107404456B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108809688A (en) * 2018-02-22 2018-11-13 阿里巴巴集团控股有限公司 Fault message recognition methods, device, server and system
CN110838929A (en) * 2018-08-16 2020-02-25 阿里巴巴集团控股有限公司 System error checking method and system error checking device
CN111200573A (en) * 2018-11-16 2020-05-26 迈普通信技术股份有限公司 RPC request calling method and device
CN113238888A (en) * 2021-06-02 2021-08-10 浙江网商银行股份有限公司 Data processing method, system and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7051341B2 (en) * 2001-12-14 2006-05-23 International Business Machines Corporation Method, system, and program for implementing a remote method call
CN1997983A (en) * 2004-05-21 2007-07-11 Bea系统公司 Service oriented architecture
CN101197722A (en) * 2007-12-29 2008-06-11 中国建设银行股份有限公司 Multi-system error code management method, device and system
WO2008078224A1 (en) * 2006-12-21 2008-07-03 Telefonaktiebolaget Lm Ericsson (Publ) Quality of service improvement in mobile networks
US7613170B1 (en) * 2004-06-29 2009-11-03 3Com Corporation Method and apparatus for PSTN-based IP active call recovery and re-routing
CN101620567A (en) * 2009-08-13 2010-01-06 恒生电子股份有限公司 Error locating auxiliary method and device
CN102184138A (en) * 2011-05-19 2011-09-14 广东威创视讯科技股份有限公司 Method and system for automatically reproducing and positioning software error
CN103600756A (en) * 2013-11-06 2014-02-26 青岛海信网络科技股份有限公司 Comprehensive monitoring equipment and system capable of being debugged and operated according to professions and fault isolation

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7051341B2 (en) * 2001-12-14 2006-05-23 International Business Machines Corporation Method, system, and program for implementing a remote method call
CN1997983A (en) * 2004-05-21 2007-07-11 Bea系统公司 Service oriented architecture
US7613170B1 (en) * 2004-06-29 2009-11-03 3Com Corporation Method and apparatus for PSTN-based IP active call recovery and re-routing
WO2008078224A1 (en) * 2006-12-21 2008-07-03 Telefonaktiebolaget Lm Ericsson (Publ) Quality of service improvement in mobile networks
CN101197722A (en) * 2007-12-29 2008-06-11 中国建设银行股份有限公司 Multi-system error code management method, device and system
CN101620567A (en) * 2009-08-13 2010-01-06 恒生电子股份有限公司 Error locating auxiliary method and device
CN102184138A (en) * 2011-05-19 2011-09-14 广东威创视讯科技股份有限公司 Method and system for automatically reproducing and positioning software error
CN103600756A (en) * 2013-11-06 2014-02-26 青岛海信网络科技股份有限公司 Comprehensive monitoring equipment and system capable of being debugged and operated according to professions and fault isolation

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108809688A (en) * 2018-02-22 2018-11-13 阿里巴巴集团控股有限公司 Fault message recognition methods, device, server and system
CN110838929A (en) * 2018-08-16 2020-02-25 阿里巴巴集团控股有限公司 System error checking method and system error checking device
CN110838929B (en) * 2018-08-16 2022-08-02 阿里巴巴集团控股有限公司 System error checking method and system error checking device
CN111200573A (en) * 2018-11-16 2020-05-26 迈普通信技术股份有限公司 RPC request calling method and device
CN113238888A (en) * 2021-06-02 2021-08-10 浙江网商银行股份有限公司 Data processing method, system and device

Also Published As

Publication number Publication date
CN107404456B (en) 2020-05-05

Similar Documents

Publication Publication Date Title
US7936743B2 (en) Method and system for determining a path between two points of an IP network over which datagrams are transmitted
CN101404599B (en) Network fault detection method, primary device, slave device, control terminal and system
CN107404456A (en) Location of mistake method and device
CN108540674B (en) Automatic testing method and device, computer equipment and storage medium
US9264340B2 (en) Methods, systems, and computer readable media for misdirected packet drill down and negative packet capture at a network test device
CN110417801B (en) Server side identification method and device, equipment and storage medium
CN107241270A (en) Message processing method and device
CN107911483A (en) A kind of information transferring method and device
CN109951562B (en) NAT traversal method and system, electronic device and storage medium
CN108076003A (en) The detection method and device of Session Hijack
JP2005322107A (en) Load distribution device and program
CN104506405B (en) The method and device of cross-domain access
CN105939344A (en) TCP (Transmission Control Protocol) connection establishing method and device
CN106992893A (en) The management method and device of router
CN106161249B (en) The processing method and processing device of PPPoE message
CN110581792B (en) Message transmission method and device
CN105939338B (en) Invade the means of defence and device of message
CN106502841B (en) Data back up method and device
US8086737B2 (en) System to dynamically detect and correct errors in a session
CN105959248B (en) The method and device of message access control
CN106358140B (en) Contact person grouping method and device
CN114268578B (en) Data transmission method, device, equipment and storage medium for switching line
CN105939401B (en) Handle the method and device of message
CN109698774A (en) Method and device for monitoring device working condition
CN111030859B (en) Configuration method and device for port convergence

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

Effective date of registration: 20200921

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200921

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Patentee before: Alibaba Group Holding Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240220

Address after: Guohao Times City # 20-01, 128 Meizhi Road, Singapore

Patentee after: Advanced Nova Technology (Singapore) Holdings Ltd.

Country or region after: Singapore

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Patentee before: Innovative advanced technology Co.,Ltd.

Country or region before: Cayman Islands

TR01 Transfer of patent right