Method and apparatus for repairing call chain, device, and product
AssigneeBeijing Zitiao Network Technology Co., Ltd.
InventorsCheng Guo, Jianhua Zhu, Hengjie Zheng
Life of this patent
Estimating the term…
Abstract
The present disclosure relates to a method and apparatus for repairing a call chain, a device, and a product. The method includes acquiring a source code of a first service in the call chain, where the call chain also includes a second service, and a call relationship between the first service and the second service is unknown. The method further includes acquiring an interface incoming parameter of the first service. The method further includes determining the call relationship between the first service and the second service based on the source code and the interface incoming parameter. Additionally, the method further includes generating a repaired call chain based on the call relationship.
Claims20
A method for repairing a call chain, comprising:
- acquiring a source code of a first service in the call chain, the call chain further comprising a second service, and a call relationship between the first service and the second service being unknown;
- acquiring an interface incoming parameter of the first service;
- determining the call relationship between the first service and the second service based on the source code and the interface incoming parameter;
- and
- generating a repaired call chain based on the call relationship.
An electronic device, comprising:
- a processor;
- and
- a memory coupled with the processor, wherein the memory has instructions stored therein, and the instructions, when executed by the processor, cause the electronic device to:
- acquire a source code of a first service in the call chain, the call chain further comprising a second service, and a call relationship between the first service and the second service being unknown;
- acquire an interface incoming parameter of the first service;
- determine the call relationship between the first service and the second service based on the source code and the interface incoming parameter;
- and
- generate a repaired call chain based on the call relationship.
A computer program product, wherein the computer program product is tangibly stored on a non-transitory computer-readable medium and comprises machine-executable instructions, and the machine-executable instructions, when executed, cause a machine to:
- acquire a source code of a first service in the call chain, the call chain further comprising a second service, and a call relationship between the first service and the second service being unknown;
- acquire an interface incoming parameter of the first service;
- determine the call relationship between the first service and the second service based on the source code and the interface incoming parameter;
- and
- generate a repaired call chain based on the call relationship.
Dependencies are inferred from the claim text.