CN107404456B - Error positioning method and device - Google Patents

Error positioning method and device Download PDF

Info

Publication number
CN107404456B
CN107404456B CN201610331649.0A CN201610331649A CN107404456B CN 107404456 B CN107404456 B CN 107404456B CN 201610331649 A CN201610331649 A CN 201610331649A CN 107404456 B CN107404456 B CN 107404456B
Authority
CN
China
Prior art keywords
error information
calling
error
called party
party
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.)
Active
Application number
CN201610331649.0A
Other languages
Chinese (zh)
Other versions
CN107404456A (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

Images

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)
  • Telephonic Communication Services (AREA)
  • Computer And Data Communications (AREA)

Abstract

The application discloses an error positioning method and device, wherein the method comprises the following steps: receiving a calling request of a calling party; when the calling request is abnormal, generating corresponding error information, wherein the error information comprises a system identifier of the calling request; and sending the error information to the caller so that the caller can perform error positioning according to the system identification in the error information. Therefore, the error system can be quickly positioned according to the system identification in the error information, so that the complexity of error positioning is reduced, and the efficiency and the accuracy of error positioning are improved.

Description

Error positioning method and device
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method and an apparatus for error location.
Background
With the continuous development of internet technology, remote calling among multiple systems is more and more extensive, so that when calling fails, how to quickly locate an error system becomes a very critical problem.
In the prior art, when the call fails, the log information of each called party is sequentially subjected to problem troubleshooting according to a call link, and finally an error system is determined.
However, when the log information of each called party is checked for problems, the operation is complicated, and the efficiency of error location is low.
Disclosure of Invention
The application provides an error positioning method, an error positioning device and a server, and aims to solve the problems that in the prior art, when log information of each called party is subjected to problem troubleshooting, the operation is complex, and the error positioning efficiency is low.
According to a first aspect of the embodiments of the present application, there is provided an error location method, which is applied to a called party, and includes:
receiving a calling request of a calling party;
when the calling request is abnormal, generating corresponding error information, wherein the error information comprises a system identifier of the calling request;
and sending the error information to the caller so that the caller can perform error positioning according to the system identification in the error information.
According to a second aspect of the embodiments of the present application, there is provided an error location method, which is applied to a calling party, and includes:
sending a calling request to a called party so that the called party generates corresponding error information when calling abnormity occurs, wherein the error information comprises a system identifier of the called party with the calling abnormity;
receiving error information sent by the called party;
and carrying out error positioning according to the system identification in the error information.
According to a third aspect of the embodiments of the present application, there is provided an error location apparatus, which is applied to a called party, including:
the receiving unit is used for receiving a calling request of a calling party;
the generating unit is used for generating corresponding error information according to a set rule when the calling abnormality of the current calling is detected, wherein the error information comprises a system identifier of the generating unit;
and the sending unit is used for sending the error information to the calling party so that the calling party performs error positioning according to the system identification in the error information.
According to a fourth aspect of the embodiments of the present application, there is provided an error location apparatus, which is applied to a caller, including:
the system comprises a sending unit, a receiving unit and a processing unit, wherein the sending unit is used for sending a calling request to a called party so that when the called party detects that the current calling is abnormal, corresponding error information is generated according to a set rule, and the error information comprises a system identification of the called party;
the receiving unit is used for receiving the error information sent by the called party;
and the positioning unit is used for carrying out error positioning according to the system identification in the error information.
According to a fifth aspect of the embodiments of the present application, there is provided an error location apparatus, which is applied to a called party, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to:
receiving a calling request of a calling party;
when the calling request is abnormal, generating corresponding error information, wherein the error information comprises a system identifier of the calling request;
and sending the error information to the caller so that the caller can perform error positioning according to the system identification in the error information.
According to a sixth aspect of the embodiments of the present application, there is provided an error location apparatus, which is applied to a calling party, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to:
sending a calling request to a called party so that the called party generates corresponding error information when calling abnormity occurs, wherein the error information comprises a system identifier of the called party with the calling abnormity;
receiving error information sent by the called party;
and carrying out error positioning according to the system identification in the error information.
By applying the method and the device, the calling request of the calling party is received, when the calling request is abnormal in calling, the corresponding error information is generated, the error information comprises the system identification of the calling party, and the error information is sent to the calling party, so that the calling party can quickly position an error system according to the system identification in the error information, the complexity of error positioning is reduced, and the efficiency and the accuracy of error positioning are improved.
Drawings
FIG. 1 is a schematic diagram of an error localization scenario according to an embodiment of the present application;
FIG. 2 is a flow chart of an embodiment of the error location method of the present application;
FIG. 3 is a flow chart of another embodiment of the error location method of the present application;
FIG. 4 is a hardware block diagram of an apparatus in which an error locator of the present application is located;
FIG. 5 is a block diagram of another embodiment of the present invention;
FIG. 6 is a block diagram of an embodiment of an error locating device of the present application;
FIG. 7 is a block diagram of another embodiment of an error locator of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Referring to fig. 1, a schematic diagram of an error localization scenario in the embodiment of the present application is shown:
the scenario of fig. 1 includes: client system, service system 1, service system 2, service systems 3, …, and service system N.
When the client system needs to display the basic information of a shop, the client system can call the basic information of the shop through the business system 1-the business system 2-the business system 3, and at the moment, the client system-the business system 1-the business system 2-the business system 3 form a call link. The business system 1 may be a gateway system, the business system 2 may be a store management system, and the business system 3 may be a data template exchange system.
The Internet Protocol (IP) addresses of the client system, the service system 1, the service system 2, and the service system 3 are shown in table 1.
TABLE 1
Name of system IP address
Client system 10.228.148.66
Gateway system 10.228.14.111
Shop management system 10.214.96.18
Data template exchange system 10.228.144.112
After the service system 3 receives the call request of the client system forwarded by the service system 2, under normal conditions, the service system 3 returns the call result to the service system 2, and then the service system 2 returns the call result to the client system through the service system 1. However, when the service system 3 detects a call abnormality, it generates corresponding error information according to the set rule, where the error information may include a system identifier of the service system 3 (i.e., the system 3), and the system 3 is a system identifier of a called party with the call abnormality, and then sends the error information to the client system.
After the client system receives the error information, the client system determines that the service system 3 has abnormal calling according to the system identifier (namely, the system 3) in the error information, so that the error system is quickly positioned.
The following provides a detailed description of examples of the present application.
Referring to fig. 2, which is a flowchart of an embodiment of the error location method of the present application, the method may be applied to a called party, and may include the following steps:
step 210: and receiving a calling request of a calling party.
In the embodiment of the application, the callee may receive a Call request sent by an RPC client of the caller through a remote procedure Call Protocol (RPC) server of the callee, and then control a service system of the callee to perform corresponding processing.
Step 220: and when the calling request is abnormal, generating corresponding error information, wherein the error information comprises the system identification of the error information.
In the embodiment of the present application, there are many cases of calling exception, which may include, but are not limited to, the following two cases:
(1) the system is abnormal. The system exception is used for representing the condition that the hardware of the called party per se fails or the operating system fails.
(2) And (6) service exception. The service exception is used for representing the situation that the calling result does not meet the service requirement. And when the calling result does not meet the service specifications, the calling result is indicated to not meet the service requirements.
When generating corresponding error information for a call exception, the corresponding error information may be generated according to a set rule, and the error information may include a system identifier of the error information, that is, a system name where the call exception occurs.
In this embodiment of the present application, the setting rule may refer to a specification of a message for generating error information. And the number of the first and second electrodes,
the meaning of each message field is specified in the message specification, as shown in table 2.
TABLE 2
Figure BDA0000993550250000061
In addition, the arrangement sequence of each message field is also set in the message specification, and a set message format corresponding to the error information is obtained.
In one example, the error message generated for the call exception may also include the IP address of the callee.
Such as: after the service system 3 in the scenario of fig. 1 detects that the call is abnormal, the generated error information may be as follows:
IP _ TRACE 10.228.144.112& apppeak system 3& ERROR SERVICE _ ERROR & extamsg SERVICE return ERROR.
Wherein 10.228.144.112 is the IP address of the SERVICE system 3, the system 3 is the system name of the SERVICE system 3, the SERVICE _ ERROR represents that the SERVICE exception is detected, and the SERVICE return ERROR is the custom extension information.
Step 230: and sending the error information to a calling party so that the calling party performs error positioning according to the system identification in the error information.
In the embodiment of the application, the error information comprises the system identifier of the called party with the calling exception, so that the calling party can position the system with the calling exception according to the system identifier.
According to the embodiment, the calling request of the calling party is received, when the calling request is abnormal in calling, the corresponding error information is generated, the error information comprises the system identification of the calling party, and the error information is sent to the calling party, so that the calling party can quickly position an error system according to the system identification in the error information, the complexity of error positioning is reduced, and the efficiency and the accuracy of error positioning are improved.
In one example, when sending the error information to the caller, the callee may send the error information to another system, which adds its own IP address to the error information and sends the error information to the caller, wherein when the caller calls the callee, the other system serves as the callee's called system and as the callee's calling system.
Such as: in a call link formed by a client system, a service system 1, a service system 2 and a service system 3 in the scene of fig. 1, if the service system 1 detects that a service exception occurs in a current call, error information returned by each system is shown in table 3.
TABLE 3
Figure BDA0000993550250000071
Wherein 10.228.14.111 is the IP address of the SERVICE system 1, the system 1 is the system name of the SERVICE system 1, SERVICE _ ERROR represents that a SERVICE exception is detected, and the SERVICE return ERROR is the custom extension information.
For another example: in a call link formed by a client system, a service system 1, a service system 2 and a service system 3 in the scene of fig. 1, if the service system 3 detects a service anomaly, error information returned by each system is shown in table 4.
TABLE 4
Figure BDA0000993550250000081
Wherein 10.214.96.18 is the IP address of the SERVICE system 2, 10.228.14.111 is the IP address of the SERVICE system 1, 10.228.144.112 is the IP address of the SERVICE system 3, the system 3 is the system name of the SERVICE system 3, SERVICE _ ERROR represents that the SERVICE exception is detected, and the SERVICE return ERROR is the custom extension information.
It can be seen from the above embodiments that, by sending the error information to another system, the other system adds its own IP address to the error information and then sends the error information to the caller, so that the caller can quickly locate the error system according to the system identifier in the error information, and can also know the call link to the error system according to the IP address list in the error information, thereby improving the reliability of quick location.
In another example, when the call request is abnormal, the corresponding error information is generated, and the error information is sent to the caller, which may further include but is not limited to the following two implementation manners:
firstly, when the called party service system detects that the calling request has calling abnormality, the service system can set error information needing to be transmitted to the calling party, send the error information to the RPC server of the called party, and instruct the RPC server to send the error information to the RPC client of the calling party, so that the RPC client of the calling party sends the error information to the calling party service system and performs error positioning.
And secondly, after the called party service system performs corresponding processing according to the call request, the RPC server of the called party receives the processing result of the service system, judges whether call abnormity occurs according to the processing result of the service system, and can set error information needing to be transmitted to the calling party and send the error information to the RPC client of the calling party when the call abnormity occurs according to the processing result of the service system, so that the RPC client of the calling party sends the error information to the service system of the calling party and performs error positioning.
It can be seen from the above embodiments that when the service system of the called party detects a call anomaly or the RPC server of the called party detects a call anomaly, error information that needs to be transmitted to the calling party can be set, and the error information is sent to the RPC client of the calling party, so that the calling party can obtain the error information from the set RPC interface of the calling party, and quickly locate an error system according to a system identifier in the error information, thereby further improving the speed of error location.
Referring to fig. 3, which is a flowchart of another embodiment of the error location method of the present application, the method may be applied to a caller, and may include the following steps:
step 310: and sending a calling request to the called party so that the called party generates corresponding error information when a calling exception occurs, wherein the error information comprises the system identification of the called party with the calling exception.
Such as: in the scenario of fig. 1, when a client system needs to display basic information of a store, a call request may be sent to a service system 1, then the service system 1 sends the call request to a service system 2 according to the call request of the client system, then the service system 2 sends the call request to a service system 3 according to the call request of the service system 1, and if the service system 3 detects that the call is abnormal, corresponding error information may be generated, where the error information includes a system identifier of the service system (i.e., the system 3).
Step 320: and receiving error information sent by the called party.
In the embodiment of the application, the caller can receive the error information sent by the RPC server of the callee through the RPC client of the caller.
Step 330: and carrying out error positioning according to the system identification in the error information.
In the embodiment of the application, because the error information includes the system identifier of the called party with the call abnormality, the calling party can acquire the system identifier of the called party with the call abnormality from the error information, and position the system with the call abnormality according to the system identifier.
According to the embodiment, after the caller receives the error information sent by the callee, because the error information comprises the system identifier of the callee with abnormal call, the caller can directly and quickly locate the error system according to the system identifier in the error information, so that the complexity of error location is reduced, and the efficiency and accuracy of error location are improved.
Corresponding to the embodiment of the error positioning method, the application also provides an embodiment of an error positioning device.
An embodiment of the error locating device in the present application can be applied to the called party. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. The software implementation is taken as an example, and is formed by reading corresponding computer program instructions in the nonvolatile memory into the memory for operation through the processor of the device where the software implementation is located as a logical means. From a hardware level, as shown in fig. 4, a hardware structure diagram of a device in which the error location apparatus is located in the present application is shown, except for the processor, the memory, the network interface, and the nonvolatile memory shown in fig. 4, the device in which the apparatus is located in the embodiment may further include other hardware, for example, for a terminal, a camera, a touch screen, a communication component, and the like may be included, and for a server, a forwarding chip responsible for processing a message may be included, and the like, according to an actual function of the device.
Another embodiment of the error localization apparatus in the present application can be applied to the calling party. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. The software implementation is taken as an example, and is formed by reading corresponding computer program instructions in the nonvolatile memory into the memory for operation through the processor of the device where the software implementation is located as a logical means. From a hardware level, as shown in fig. 5, a hardware structure diagram of a device in which the error location apparatus is located in the present application is shown, except for the processor, the memory, the network interface, and the nonvolatile memory shown in fig. 5, the device in which the apparatus is located in the embodiment may further include other hardware, for example, for a terminal, a camera, a touch screen, a communication component, and the like may be included, and for a server, a forwarding chip responsible for processing a message may be included, and the like, according to an actual function of the device.
Referring to fig. 6, a block diagram of an embodiment of an error location apparatus according to the present application, which can be applied to a called party and can be used to execute the error location method shown in fig. 2, includes: a receiving unit 61, a generating unit 62 and a transmitting unit 63.
A receiving unit 61, configured to receive a call request of a caller;
the generating unit 62 is configured to generate corresponding error information according to a set rule when it is detected that the current call is abnormal, where the error information includes a system identifier of the generating unit;
a sending unit 63, configured to send the error information to the caller, so that the caller performs error location according to the system identifier in the error information.
In an alternative implementation: the call exception includes:
the system exception that the hardware of the called party per se has a fault or the operating system has a fault; or
And calling the service exception of which the result does not meet the service requirement.
In another alternative implementation: the error information also includes the IP address of the callee.
In another alternative implementation: the transmitting unit 63 may include: a first transmitting subunit (not shown in fig. 6).
And the first sending subunit is used for sending the error information to another system, and the other system adds the IP address of the other system in the error information and then sends the error information to the caller, wherein when the caller calls the callee, the other system is used as the called system of the caller and is used as the calling system of the callee.
In another alternative implementation: the generating unit may include a first setting unit (not shown in fig. 6).
The first setting subunit is configured to, when the service system of the callee detects that the call request is abnormal, set, by the service system, error information that needs to be passed through to the caller.
In another alternative implementation: the transmitting unit may comprise a second transmitting subunit (not shown in fig. 6). The method comprises the following steps:
and the second sending subunit is used for sending the error information to the RPC server of the called party by the service system of the called party and indicating the RPC server to send the error information to the RPC client of the calling party so that the RPC client sends the error information to the service system of the calling party and carries out error positioning.
In another alternative implementation: the generation unit may include: a receiving subunit, a receiving subunit and a second setting subunit (not shown in fig. 6).
The receiving subunit is used for receiving the processing result of the service system by the RPC server of the called party after the service system of the called party performs corresponding processing according to the calling request;
the judging subunit is used for judging whether the call exception occurs or not by the RPC server according to the processing result;
and the second setting subunit is used for setting error information which needs to be transmitted to the calling party through the RPC server when the calling abnormity is determined according to the processing result.
In another alternative implementation: the transmitting unit may comprise a third transmitting subunit (not shown in fig. 6).
And the third sending subunit is used for sending the error information to the RPC client of the caller by the RPC server of the callee so that the RPC client sends the error information to the service system of the caller and carries out error positioning.
Referring to fig. 7, a block diagram of another embodiment of an error location apparatus according to the present application, which can be applied to a calling party and can be used to execute the error location method shown in fig. 3, includes: a transmitting unit 71, a receiving unit 72 and a positioning unit 73.
A sending unit 71, configured to send a call request to a callee, so that the callee generates corresponding error information when a call exception occurs, where the error information includes a system identifier of the callee with the call exception;
a receiving unit 72, configured to receive error information sent by the callee;
and the positioning unit 73 is used for performing error positioning according to the system identifier in the error information.
In an alternative implementation: the positioning unit 73 may include: positioning the subunit (not shown in fig. 7).
And the positioning subunit is used for acquiring the system identifier of the called party with the calling abnormality from the error information and positioning the system with the calling abnormality according to the system identifier.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the request scheme. One of ordinary skill in the art can understand and implement it without inventive effort.
Corresponding to fig. 6, an embodiment of the present application further provides an error location apparatus, which can be applied to a called party, and includes:
a processor; a memory for storing the processor-executable instructions;
wherein the processor is configured to:
receiving a calling request of a calling party;
when the calling request is abnormal, generating corresponding error information, wherein the error information comprises a system identifier of the calling request;
and sending the error information to the caller so that the caller can perform error positioning according to the system identification in the error information.
According to the embodiment, the calling request of the calling party is received, when the calling request is abnormal in calling, the corresponding error information is generated, the error information comprises the system identification of the calling party, and the error information is sent to the calling party, so that the calling party can quickly position an error system according to the system identification in the error information, the complexity of error positioning is reduced, and the efficiency and the accuracy of error positioning are improved.
Corresponding to fig. 7, an embodiment of the present application further provides an error location apparatus, where the apparatus may be applied to a calling party, and the apparatus includes:
a processor; a memory for storing the processor-executable instructions;
wherein the processor is configured to:
sending a calling request to a called party so that the called party generates corresponding error information when calling abnormity occurs, wherein the error information comprises a system identifier of the called party with the calling abnormity;
receiving error information sent by the called party;
and carrying out error positioning according to the system identification in the error information.
According to the embodiment, after the caller receives the error information sent by the callee, because the error information comprises the system identifier of the callee with abnormal call, the caller can directly and quickly locate the error system according to the system identifier in the error information, so that the complexity of error location is reduced, and the efficiency and accuracy of error location are improved.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (20)

1. An error positioning method, applied to a called party, includes:
receiving a calling request of a calling party;
when the service system of the called party detects that the calling request is abnormal, the service system sets error information which needs to be transmitted to the calling party, wherein the error information comprises a system identifier of the service system;
and sending the error information to the caller so that the caller can perform error positioning according to the system identification in the error information.
2. The method of claim 1, wherein the call exception comprises:
the system exception that the hardware of the called party per se has a fault or the operating system has a fault; or
And calling the service exception of which the result does not meet the service requirement.
3. The method of claim 1, wherein the error information further comprises an IP address of the callee.
4. The method of claim 1, wherein sending the error message to the caller comprises:
and sending the error information to another system, wherein the other system adds the IP address of the other system in the error information and then sends the error information to the caller, and when the caller calls the callee, the other system is used as the called system of the caller and is used as the calling system of the callee.
5. The method of claim 1, wherein sending the error message to the caller comprises:
and the service system of the called party sends the error information to the RPC server of the called party and instructs the RPC server to send the error information to the RPC client of the calling party so that the RPC client sends the error information to the service system of the calling party and carries out error positioning.
6. The method according to claim 1 or 2, wherein when the call request is abnormal, generating corresponding error information comprises:
after the called party service system performs corresponding processing according to the call request, the RPC server of the called party receives the processing result of the service system;
the RPC server judges whether a call exception occurs according to the processing result;
and when the calling is determined to be abnormal according to the processing result, the RPC server sets error information which needs to be transmitted to the calling party.
7. The method of claim 6, wherein sending the error message to the caller comprises:
and the RPC server side of the called party sends the error information to the RPC client side of the calling party so that the RPC client side sends the error information to the service system of the calling party and carries out error positioning.
8. An error positioning method, applied to a calling party, includes:
sending a calling request to a called party, so that when a service system of the called party detects that the calling request is abnormal in calling, the service system sets error information which needs to be transmitted to the calling party, wherein the error information comprises a system identifier of the called party with abnormal calling;
receiving error information sent by the called party;
and carrying out error positioning according to the system identification in the error information.
9. The method of claim 8, wherein the error locating according to the system identifier in the error information comprises:
and acquiring the system identification of the called party with abnormal calling from the error information, and positioning the system with abnormal calling according to the system identification.
10. An error locating apparatus, applied to a called party, comprising:
the receiving unit is used for receiving a calling request of a calling party;
a generating unit, configured to set, when a service system of a called party detects that a call request is abnormal, error information that needs to be transmitted to the called party through the service system, where the error information includes a system identifier of the called party;
and the sending unit is used for sending the error information to the calling party so that the calling party performs error positioning according to the system identification in the error information.
11. The apparatus of claim 10, wherein the call exception comprises:
the system exception that the hardware of the called party per se has a fault or the operating system has a fault; or
And calling the service exception of which the result does not meet the service requirement.
12. The apparatus of claim 10, wherein the error information further comprises an IP address of the callee.
13. The apparatus of claim 10, wherein the sending unit comprises:
and the first sending subunit is used for sending the error information to another system, and the other system adds the IP address of the other system in the error information and then sends the error information to the caller, wherein when the caller calls the callee, the other system is used as the called system of the caller and is used as the calling system of the callee.
14. The apparatus of claim 13, wherein the sending unit comprises:
and the second sending subunit is used for sending the error information to the RPC server of the called party by the service system of the called party and indicating the RPC server to send the error information to the RPC client of the calling party so that the RPC client sends the error information to the service system of the calling party and carries out error positioning.
15. The apparatus according to claim 10 or 11, wherein the generating unit comprises:
the receiving subunit is used for receiving the processing result of the service system by the RPC server of the called party after the service system of the called party performs corresponding processing according to the calling request;
the judging subunit is used for judging whether the call exception occurs or not by the RPC server according to the processing result;
and the second setting subunit is used for setting error information which needs to be transmitted to the calling party through the RPC server when the calling abnormity is determined according to the processing result.
16. The apparatus of claim 15, wherein the sending unit comprises:
and the third sending subunit is used for sending the error information to the RPC client of the caller by the RPC server of the callee so that the RPC client sends the error information to the service system of the caller and carries out error positioning.
17. An error locating apparatus, applied to a calling party, comprising:
a sending unit, configured to send a call request to a called party, so that when a service system of the called party detects that a call request is abnormal, the service system sets error information that needs to be passed through to the calling party, where the error information includes a system identifier of the called party with the call abnormality;
the receiving unit is used for receiving the error information sent by the called party;
and the positioning unit is used for carrying out error positioning according to the system identification in the error information.
18. The apparatus of claim 17, wherein the positioning unit comprises:
and the positioning subunit is used for acquiring the system identifier of the called party with the calling abnormality from the error information and positioning the system with the calling abnormality according to the system identifier.
19. An error locating apparatus, applied to a called party, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to:
receiving a calling request of a calling party;
when the service system of the called party detects that the calling request is abnormal, the service system sets error information which needs to be transmitted to the calling party, wherein the error information comprises a system identifier of the service system;
and sending the error information to the caller so that the caller can perform error positioning according to the system identification in the error information.
20. An error locating apparatus, applied to a calling party, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to:
sending a calling request to a called party, so that when a service system of the called party detects that the calling request is abnormal in calling, the service system sets error information which needs to be transmitted to the calling party, wherein the error information comprises a system identifier of the called party with abnormal calling;
receiving error information sent by the called party;
and carrying out error positioning according to the system identification in the error information.
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 CN107404456A (en) 2017-11-28
CN107404456B true 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)

Families Citing this family (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
CN110838929B (en) * 2018-08-16 2022-08-02 阿里巴巴集团控股有限公司 System error checking method and system error checking device
CN111200573B (en) * 2018-11-16 2022-02-22 迈普通信技术股份有限公司 RPC request calling method and device
CN113238888A (en) * 2021-06-02 2021-08-10 浙江网商银行股份有限公司 Data processing method, system and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197722A (en) * 2007-12-29 2008-06-11 中国建设银行股份有限公司 Multi-system error code management method, device and system
US7613170B1 (en) * 2004-06-29 2009-11-03 3Com Corporation Method and apparatus for PSTN-based IP active call recovery and re-routing

Family Cites Families (6)

* 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
US20080153484A1 (en) * 2006-12-21 2008-06-26 Telefonaktiebolaget Lm Ericsson (Publ) Quality of service improvement in mobile networks
CN101620567A (en) * 2009-08-13 2010-01-06 恒生电子股份有限公司 Error locating auxiliary method and device
CN102184138B (en) * 2011-05-19 2013-09-18 广东威创视讯科技股份有限公司 Method and system for automatically reproducing and positioning software error
CN103600756B (en) * 2013-11-06 2016-05-25 青岛海信网络科技股份有限公司 Can divide the comprehensively monitoring equipment and system of professional commissioning test and Fault Isolation

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7613170B1 (en) * 2004-06-29 2009-11-03 3Com Corporation Method and apparatus for PSTN-based IP active call recovery and re-routing
CN101197722A (en) * 2007-12-29 2008-06-11 中国建设银行股份有限公司 Multi-system error code management method, device and system

Also Published As

Publication number Publication date
CN107404456A (en) 2017-11-28

Similar Documents

Publication Publication Date Title
CN107678869B (en) Client abnormity positioning method and device, computer equipment and storage medium
CN107404456B (en) Error positioning method and device
CN110636115B (en) Cross-cloud service calling processing method, gateway server and requester server
CN110633175A (en) Multi-computer-room data processing method based on micro-service, electronic equipment and storage medium
CN110969417A (en) Government affair item synchronization method, device, system, computer equipment and storage medium
CN106941418B (en) SSL VPN configuration information synchronization method and device
CN108345508B (en) Interface call testing method and device
CN107819594B (en) Network fault positioning method and device
CN108366122B (en) Code scanning login system, server and method
CN110995522A (en) Information processing method and device
CN105227411A (en) The method of test interface, network agent and system
CN112073462B (en) Positioning method and device
CN107203915B (en) Data storage method and device
CN106230878B (en) Equipment service calling method and device based on AllJoyn framework
CN109698774A (en) Method and device for monitoring device working condition
CN112527635B (en) Fault injection method and device, electronic equipment and storage medium
CN111598661B (en) Exception report processing method and device, platform server and storage medium
CN105939401B (en) Handle the method and device of message
CN109981796B (en) Connection method and device
CN117155890B (en) Method and device for processing applet message and electronic equipment
CN105025449B (en) A kind of short message reception state remapping method, apparatus and system
US9479406B2 (en) Displaying signal flows in network analysis tool
CN111478941B (en) Mock automatic operation method and device, computer equipment and storage medium
CN115827678B (en) Method, device, medium and electronic equipment for acquiring service data
CN111427789B (en) Method, device, computer equipment and storage medium for automatically verifying rule

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: 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