WO2020220638A1 - 链路系统与日志系统的关联方法、装置及存储介质 - Google Patents

链路系统与日志系统的关联方法、装置及存储介质 Download PDF

Info

Publication number
WO2020220638A1
WO2020220638A1 PCT/CN2019/117894 CN2019117894W WO2020220638A1 WO 2020220638 A1 WO2020220638 A1 WO 2020220638A1 CN 2019117894 W CN2019117894 W CN 2019117894W WO 2020220638 A1 WO2020220638 A1 WO 2020220638A1
Authority
WO
WIPO (PCT)
Prior art keywords
link
log
service
identifier
server
Prior art date
Application number
PCT/CN2019/117894
Other languages
English (en)
French (fr)
Inventor
甘羽
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2020220638A1 publication Critical patent/WO2020220638A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/069Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • 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/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Definitions

  • the present invention relates to the technical field of cloud monitoring, in particular to a method, device and storage medium for associating a link system and a log system.
  • a user request usually needs to call multiple service nodes.
  • the link formed by multiple service nodes in the order in which they are called is the service link corresponding to the user request.
  • the log corresponding to each link is not accurately extracted, and it is not convenient to find the corresponding log through the corresponding link to assist in analyzing the problem.
  • the full-link monitoring system cannot be associated with the log system. If a service node fails, all logs of the entire link must be viewed on a large scale when viewing logs, which is inefficient.
  • the present invention provides a method, device and storage medium for associating a link system with a log system, so as to solve the problem of inconvenient search for corresponding logs through corresponding links in the prior art, and low efficiency.
  • one aspect of the present invention is to provide a method for associating a link system with a log system, including:
  • another aspect of the present invention is to provide an electronic device, which includes:
  • a memory includes a link system and a log system associated program, the link system and the log system associated program is executed by the processor to achieve the above link system and log system association method step.
  • An association device between a link system and a log system including:
  • Receiving module receiving user requests
  • the calling module calling one or more service links corresponding to the user request
  • An identifier generating module which generates identifiers corresponding to each server in the service link through the link system
  • the log generation module generates log information including the identifier through the log system
  • the obtaining module obtains the associated log corresponding to the user request according to the generated log information.
  • another aspect of the present invention is to provide a computer non-volatile readable storage medium
  • the computer non-volatile readable storage medium includes a link system and a log system associated program, the When the program associated with the link system and the log system is executed by the processor, the steps of the method for associating the link system with the log system as described above are realized.
  • the present invention has the following advantages and beneficial effects:
  • the present invention associates the link system with the log system through the identification corresponding to each server, so that the log information corresponding to each server on the link can be viewed while viewing the link information. Moreover, when a certain service node in the link system fails, the present invention can quickly obtain log information corresponding to the service node. Not only can the abnormal service location be found through the link system, but also the corresponding link The log analysis problem avoids large-scale log viewing and improves efficiency.
  • FIG. 1 is a schematic flowchart of the method for associating the link system and the log system according to the present invention
  • Fig. 2 is a schematic diagram of modules of the association program between the link system and the log system in the present invention.
  • Fig. 1 is a schematic flow chart of the method for associating the link system and the log system according to the present invention. As shown in Fig. 1, the method for associating the link system and the log system according to the present invention includes the following steps:
  • Step S1 Receive a user request
  • Step S2 Invoke one or more service links corresponding to the user request
  • Step S3 generating an identifier corresponding to each server in the service link through the link system
  • Step S4 Generate log information including the identifier through the log system
  • Step S5 Obtain the associated log corresponding to the user request according to the generated log information.
  • the present invention realizes the association between the link system and the log system through the identification corresponding to each server in the service link, so that the log information corresponding to each server on the service link can be viewed while checking the link information.
  • a failure occurs, not only the location of the abnormal server can be found through the link system, but the problem can also be analyzed through the corresponding log information.
  • multiple service links are included in the link system, large-scale viewing of logs is avoided, and the efficiency of viewing logs and finding problems is improved.
  • the identifier includes a link identifier and a service identifier, wherein the link identifier corresponds to the link information of the invoked service link, and is used to characterize the invoked service of each user request
  • the service link where the service identifier corresponds to each server in the service link, and is used to characterize the position of each server in the called service link.
  • Each server in the same or different links in the link system is marked by the link identifier and the service identifier, so that each server has a unique identifier, and the log that is easy to find corresponds to the server.
  • the service identifiers corresponding to each server are sequentially marked according to the calling order of each server.
  • the marking of each service identifier conforms to certain rules, but the present invention is not limited to this, and it may be a simple order rule or other complicated rules.
  • the four servers can be marked as spanID1, spanID2, spanID3, and spanID4, or they can be marked as spanID2, spanID4. , SpanID6 and spanID8 and other service identifiers.
  • the server included in the service link called by each user request is the same, and the calling sequence of each server in the link is the same.
  • each purchase process includes the selection of goods , Order confirmation, settlement and payment, etc., so the order of calling the server is the same.
  • the marked link identifier is different, and the service identifier marked for each server is the same, so as to characterize the position of each server in the service link.
  • a link identifier for calling the service link is generated.
  • the link called according to the user request includes four servers: service A, service B, service C, and service D.
  • the link identifier traceID of the called service link For the first request initiated by the user, mark the link identifier traceID of the called service link as 1.
  • the service identifier spanID marked by each server respectively Is spanID1, spanID2, spanID3, and spanID4, the identifiers corresponding to each server corresponding to the first user request are service A (traceID1, spanID1), service B (traceID1, spanID2), service B (traceID1, spanID3) and service D(traceID1, spanID4);
  • the link system calls the same service link according to the user request, but this time marks the called service link with the link identifier traceID as 2, and the service identifier spanID marked separately for each server.
  • the identifiers corresponding to each server corresponding to the second user request are service A (traceID2, spanID1), service B (traceID2, spanID2), service B (traceID2, spanID3), and service D(traceID2, spanID4), therefore, the identification of each server corresponding to each user request is unique. For example, if the link identification is the same, the service identification must be different. If the link identification is different, the service identification can be the same or different.
  • the service identifiers corresponding to the servers in the service links corresponding to different user requests are different.
  • the servers included in the called service link are service A, service B, service C, and service D
  • the servers included in the called service link are service E, service F
  • the service identifiers corresponding to service A to service G are all different, the service identifiers of service A to service D corresponding to user request a conform to the same rule, and service E to service G corresponding to user request b
  • the service ID of is in compliance with the same or different rules as the above rules.
  • the method further includes: storing the link identification and the service identification through the link system, so that the stored link identification and service identification can be called when the log is generated.
  • the identifier corresponding to each server in the service link generated through the link system further includes a service identifier, which is used to characterize the service type corresponding to the user request.
  • the service identifier is used to facilitate Quickly locate the associated log information related to the business type.
  • the step of obtaining the associated log corresponding to the user request according to the generated log information includes: obtaining a link identifier corresponding to the user request; according to the link identifier, using the log The system queries and obtains the associated log corresponding to the user request.
  • the present invention it is possible to quickly find the related log information of the server corresponding to the failed service node.
  • it further includes: obtaining the failure in the service link The link identifier and service identifier corresponding to the server; query and obtain log information corresponding to the link identifier and the service identifier through the log system. Take the above user’s first request as an example.
  • the log can be displayed in the link system to realize the association between the link system and the log system to accurately extract the log, improve the efficiency of log search, and facilitate the discovery of problems.
  • the step of generating log information including the identifier through a log system includes:
  • log data for invoking a service link, the log data including an identifier corresponding to each server in the service link;
  • a multi-level mark is set for the identifiers corresponding to each server in the multiple service links corresponding to the same user request, and the multi-level mark forms a call tree structure according to the calling sequence of the server. For example, for a user request, the traceID of the called service link is 1, the called service A is recorded as 1-1, the subservice B is recorded as 1-1-1, and the subservice C is recorded as 1-1-2. The called service D is recorded as 1-2, etc., forming a calling tree structure, and the location of calling the service can be identified according to the marked mark.
  • the log data is stored, the log is analyzed, and the associated log is extracted according to the service identifier, so as to clearly show the log situation corresponding to the service link. Further, according to the associated log, the service link can be inquired, statistically analyzed, etc.
  • the log after the associated log is obtained through the correlation method, the log can be further processed according to requirements, so as to meet the needs of assisting problem analysis through the log.
  • the method for associating the link system and the log system of the present invention is applied to an electronic device, and the electronic device may be a terminal device such as a TV, a smart phone, a tablet computer, and a computer.
  • the electronic device includes: a processor; a memory for storing an associated program between the link system and the log system, and the processor executes the associated program between the link system and the log system to realize the following association between the link system and the log system Method steps:
  • the electronic device also includes a network interface, a communication bus, and the like.
  • the network interface may include a standard wired interface and a wireless interface
  • the communication bus is used to realize the connection and communication between various components.
  • the memory includes at least one type of readable storage medium, which can be a non-volatile storage medium such as a flash memory, a hard disk, an optical disk, or a plug-in hard disk, etc., and is not limited to this, and can be stored in a non-transitory manner Any device that provides instructions or software and any associated data files to the processor so that the processor can execute the instructions or software program.
  • the software program stored in the memory includes the associated program of the link system and the log system, and can provide the processor with the associated program of the link system and the log system, so that the processor can execute the link system and the log system.
  • the associated procedures of the link system and the log system are implemented.
  • the processor may be a central processing unit, a microprocessor, or other data processing chips, etc., and may run a program stored in the memory, for example, an associated program of the link system and the log system in the present invention.
  • the electronic device may also include a display, and the display may also be called a display screen or a display unit.
  • the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an organic light-emitting diode (OLED) touch device, and the like.
  • the display is used to display the information processed in the electronic device and to display the visual work interface.
  • the electronic device may also include a user interface, and the user interface may include an input unit (such as a keyboard), a voice output device (such as a stereo, earphone), and the like.
  • the user interface may include an input unit (such as a keyboard), a voice output device (such as a stereo, earphone), and the like.
  • the associated program of the link system and the log system may be divided into one or more modules, and the one or more modules are stored in the memory and executed by the processor to complete the present invention.
  • the module referred to in the present invention refers to a series of computer program instruction segments capable of completing specific functions.
  • Figure 2 is a schematic diagram of modules of the association program between the link system and the log system in the present invention. As shown in Figure 2, the association program between the link system and the log system can be divided into: receiving module 1, calling module 2, identification Generation module 3, log generation module 4, and acquisition module 5. The functions or operation steps implemented by the above modules are all similar to the above, and will not be detailed here.
  • the identifier includes a link identifier and a service identifier, wherein the link identifier corresponds to the link information of the called service link, and is used to characterize the service link called by each user request.
  • the service identifier corresponds to each server in the service link, and is used to characterize the position of each server in the called service link.
  • Each server in the same or different links in the link system is marked by the link identifier and the service identifier, so that each server has a unique identifier, and the log that is easy to find corresponds to the server.
  • the service identifiers corresponding to each server are sequentially marked according to the calling order of each server.
  • the marking of each service identifier conforms to certain rules, but the present invention is not limited to this, and it may be a simple order rule or other complicated rules.
  • the four servers can be marked as spanID1, spanID2, spanID3, and spanID4, or they can be marked as spanID2, spanID4. , SpanID6 and spanID8 and other service identifiers.
  • the server included in the service link called by each user request is the same, and the calling sequence of each server in the link is the same.
  • each purchase process includes the selection of goods , Order confirmation, settlement and payment, etc., so the order of calling the server is the same.
  • the marked link identifier is different, and the service identifier marked for each server is the same to characterize the position of each server in the service link.
  • a link identifier for calling the service link is generated.
  • the link called according to the user request includes four servers: service A, service B, service C, and service D.
  • the link identifier traceID of the called service link For the first request initiated by the user, mark the link identifier traceID of the called service link as 1. According to the position of each server in the link in this service link call, the service identifier spanID marked by each server respectively Is spanID1, spanID2, spanID3, and spanID4, the identifiers corresponding to each server corresponding to the first user request are service A (traceID1, spanID1), service B (traceID1, spanID2), service B (traceID1, spanID3) and service D(traceID1, spanID4); For the second same request initiated by the user, the link system calls the same service link according to the user request, but this time marks the called service link with the link identification traceID of 2, which is each server The marked service identifiers spanID are spanID1, spanID2, spanID3, and spanID4, respectively, and the identifiers corresponding to each server corresponding to the second user request are service A (traceID2, spanID1), service B (traceID2, spanID2), and service B
  • traceID2, spanID3 and service D (traceID2, spanID4), therefore, the identity of each server corresponding to each user request is unique, for example, if the link identity is the same, the service identity must be different, if the link identity is different , The service ID can be the same or different.
  • the service identifiers corresponding to the servers in the service links corresponding to different user requests are different.
  • the servers included in the called service link are service A, service B, service C, and service D
  • the servers included in the called service link are service E, service F
  • the service identifiers corresponding to service A to service G are all different, the service identifiers of service A to service D corresponding to user request a conform to the same rule, and service E to service G corresponding to user request b
  • the service ID of is in compliance with the same or different rules as the above rules.
  • the present invention also provides an associating device between the link system and the log system, which includes a receiving module 1, a calling module 2, an identification generating module 3, a log generating module 4, and an acquiring module 5.
  • the receiving module 1 is used to receive user requests
  • the calling module 2 is used for calling one or more service links corresponding to the user request;
  • the identifier generating module 3 is configured to generate identifiers corresponding to each server in the service link through the link system;
  • the log generation module 4 is configured to generate log information including the identifier through a log system
  • the obtaining module 5 is configured to obtain the associated log corresponding to the user request according to the generated log information.
  • the identifier includes a link identifier and a service identifier, wherein the link identifier corresponds to the link information of the service link, and the service identifier corresponds to each server in the service link. correspond.
  • the identity generation module further includes a service identity marking unit, which is used to mark the service identity corresponding to each server in the same service link in sequence according to the calling order of each server.
  • a service identity marking unit which is used to mark the service identity corresponding to each server in the same service link in sequence according to the calling order of each server.
  • the device for associating the link system and the log system further includes a storage module, after the link identification and the service identification are generated, the link identification and the service identification are stored through the storage module so as to be called when the log is generated Stored link ID and service ID.
  • the acquisition module includes: a first acquisition unit, which acquires a link identifier corresponding to the user request; a second acquisition unit, which queries and acquires a connection with the user through the log system according to the link identifier Request the corresponding associated log.
  • the obtaining module further includes a failure identification obtaining unit to implement the following steps: obtaining the failure information in the service link The link identifier and service identifier corresponding to the server; query and obtain log information corresponding to the link identifier and the service identifier through the log system. Take the above user’s first request as an example.
  • the log can be displayed in the link system to realize the association between the link system and the log system, improve the efficiency of log search, and facilitate the discovery of problems.
  • the log generation module includes:
  • a data generating unit generating log data for invoking a service link, the log data including an identifier corresponding to each server in the service link;
  • a data writing unit which writes the log data into the log file and/or the log server
  • the data storage unit obtains and stores the log data from the log file and/or the log server.
  • a multi-level mark is set for the identifiers corresponding to each server in the multiple service links corresponding to the same user request, and the multi-level mark forms a call tree structure according to the calling sequence of the server. For example, for a user request, the traceID of the called service link is 1, the called service A is recorded as 1-1, the subservice B is recorded as 1-1-1, and the subservice C is recorded as 1-1-2. The called service D is recorded as 1-2, etc., forming a calling tree structure, and the location of calling the service can be identified according to the marked mark.
  • the associated device of the link system and the log system further includes an extraction module. After the log data is obtained, the log data is stored, the log is analyzed, and the associated log is extracted according to the service identifier, so as to facilitate clear Show the log status corresponding to the service link. Further, according to the associated log, the service link can be inquired, statistically analyzed, etc.
  • the computer non-volatile readable storage medium may be any tangible medium that contains or stores a program or instruction, the program can be executed, and the stored program instructs the relevant hardware to realize the corresponding function.
  • the computer non-volatile readable storage medium may be a computer disk, hard disk, random access memory, read-only memory, etc.
  • the present invention is not limited to this, and can be any device that stores instructions or software and any related data files or data structures in a non-transitory manner and can be provided to the processor to enable the processor to execute the programs or instructions therein.
  • the computer non-volatile readable storage medium includes a link system and a log system associated program. When the link system and the log system are executed by the processor, the following link system and log system are implemented Association method:
  • the specific implementation of the computer non-volatile readable storage medium of the present invention is substantially the same as the specific implementation of the above-mentioned method for associating the link system and the log system and the electronic device, and will not be repeated here.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

本发明属于云监控技术领域,公开了一种链路系统与日志系统的关联方法、装置及存储介质,方法包括:接收用户请求;调用与所述用户请求对应的一个或多个服务链路;通过链路系统生成分别与所述服务链路中的各个服务器相对应的标识;通过日志系统生成包括所述标识的日志信息;根据生成的日志信息获取与所述用户请求对应的关联日志。本发明通过生成的标识将链路系统和日志系统关联起来,使得链路系统与日志系统有效的结合,使得在查看链路信息的同时可以查看该链路上各个服务器对应的日志信息。通过本发明可以快速地获取与故障服务节点对应的日志信息,避免了大规模的查看日志,提高效率。

Description

链路系统与日志系统的关联方法、装置及存储介质
本申请要求于2019年4月29日提交的中国专利申请号2019103553485的优先权益,上述案件全部内容以引用的方式并入本文中。
技术领域
本发明涉及云监控技术领域,尤其涉及一种链路系统与日志系统的关联方法、装置及存储介质。
背景技术
在互联网服务中,一次用户请求通常需要调用多个服务节点,多个服务节点按照被调用的先后顺序组成的链路即为该用户请求对应的服务链路,在网络服务的系统运维中,通过全链路监控系统对所有的服务链路进行监控,以及时发现并处理服务链路中出现的故障。但是,目前的全链路监控产品中,对于各个链路对应的日志没有进行精确的提取,不便于通过对应链路来查找对应的日志协助分析问题,全链路监控系统无法与日志系统关联,若某个服务节点出现故障,查看日志时必须大规模的查看全链路的所有日志,效率较低。
发明内容
本发明提供一种链路系统与日志系统的关联方法、装置及存储介质,以解决现有技术中不便于通过对应链路查找对应日志,效率较低的问题。
为了实现上述目的,本发明的一个方面是提供一种链路系统与日志系统的关联方法,包括:
接收用户请求;
调用与所述用户请求对应的一个或多个服务链路;
通过链路系统生成分别与所述服务链路中的各个服务器相对应的标识;
通过日志系统生成包括所述标识的日志信息;
根据生成的日志信息获取与所述用户请求对应的关联日志。
为了实现上述目的,本发明的另一个方面是提供一种电子装置,该电子 装置包括:
处理器;
存储器,所述存储器中包括链路系统与日志系统的关联程序,所述链路系统与日志系统的关联程序被所述处理器执行时实现如上所述的链路系统与日志系统的关联方法的步骤。
一种链路系统与日志系统的关联装置,包括:
接收模块,接收用户请求;
调用模块,调用与所述用户请求对应的一个或多个服务链路;
标识生成模块,通过链路系统生成分别与所述服务链路中的各个服务器相对应的标识;
日志生成模块,通过日志系统生成包括所述标识的日志信息;
获取模块,根据生成的日志信息获取与所述用户请求对应的关联日志。
为了实现上述目的,本发明的再一个方面是提供一种计算机非易失性可读存储介质,所述计算机非易失性可读存储介质中包括链路系统与日志系统的关联程序,所述链路系统与日志系统的关联程序被处理器执行时,实现如上所述的链路系统与日志系统的关联方法的步骤。
相对于现有技术,本发明具有以下优点和有益效果:
本发明通过与各个服务器相对应的标识将链路系统和日志系统关联起来,使得在查看链路信息的同时可以查看该链路上各个服务器对应的日志信息。并且,在链路系统中某一个服务节点出现故障时,通过本发明可以快速地获取与该服务节点对应的日志信息,不但可以通过链路系统发现异常的服务所在位置,也可以通过对应链路的日志分析问题,避免了大规模的查看日志,提高效率。
附图说明
图1为本发明所述链路系统与日志系统的关联方法的流程示意图;
图2为本发明中链路系统与日志系统的关联程序的模块示意图。
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
下面将参考附图来描述本发明所述的实施例。本领域的普通技术人员可以认识到,在不偏离本发明的精神和范围的情况下,可以用各种不同的方式或其组合对所描述的实施例进行修正。因此,附图和描述在本质上是说明性的,仅仅用以解释本发明,而不是用于限制权利要求的保护范围。此外,在本说明书中,附图未按比例画出,并且相同的附图标记表示相同的部分。
图1为本发明所述链路系统与日志系统的关联方法的流程示意图,如图1所示,本发明所述链路系统与日志系统的关联方法,包括以下步骤:
步骤S1、接收用户请求;
步骤S2、调用与所述用户请求对应的一个或多个服务链路;
步骤S3、通过链路系统生成分别与所述服务链路中的各个服务器相对应的标识;
步骤S4、通过日志系统生成包括所述标识的日志信息;
步骤S5、根据生成的日志信息获取与所述用户请求对应的关联日志。
本发明通过与服务链路中的各个服务器相对应的标识实现链路系统和日志系统的关联,使得在查看链路信息的同时可以查看服务链路上各个服务器对应的日志信息,在某个服务器出现故障时,不但可以通过链路系统发现异常的服务器所在位置,也可以通过对应的日志信息分析问题。并且,在链路系统中包括多个服务链路时,避免了大规模的查看日志,提高了查看日志、发现问题的效率。
优选地,所述步骤S2中,所述标识包括链路标识和服务标识,其中,所述链路标识与调用的服务链路的链路信息相对应,用于表征每一次用户请求所调用的服务链路,所述服务标识与服务链路中的各个服务器相对应,用于表征各个服务器在调用的服务链路中的位置。通过链路标识和服务标识标记链路系统中相同或不同链路中的各个服务器,以使得每个服务器均有唯一标识,便于查找的日志与服务器相对应。
优选地,同一个服务链路中,按照各个服务器的调用顺序依次标记与各个服务器对应的服务标识。其中,对于各个服务标识的标记符合一定的规则,但本发明对此并无限定,可以是简单的顺序规则,也可以是其他复杂规则。例如,在调用的一个服务链路中,包括四个服务器,根据该服务链路中各个 服务器的调用顺序可以为四个服务器分别标记spanID1、spanID2、spanID3和spanID4,也可以分别标记为spanID2、spanID4、spanID6和spanID8等服务标识。
针对同一业务操作,每一次的用户请求所调用的服务链路中包括的服务器相同,且链路中各个服务器的调用顺序相同,例如,对于用户的购买请求,每一次的购买流程均包括选择商品、确认订单、结算支付等环节,所以调用服务器的顺序相同。但对于每一次的用户请求,标记的链路标识不同,对各个服务器标记的服务标识相同,以此表征各个服务器在该服务链路中的位置。每次接收一个新的用户请求之后,都会生成一个调用服务链路的链路标识,例如,根据用户请求调用的链路中依次包括服务A、服务B、服务C和服务D共四个服务器,对于用户发起的第一次请求,为调用的服务链路标记链路标识traceID为1,根据这次服务链路调用中每个服务器在链路中的位置为各个服务器分别标记的服务标识spanID分别为spanID1、spanID2、spanID3和spanID4,则与第一次用户请求对应的各个服务器对应的标识分别为服务A(traceID1,spanID1)、服务B(traceID1,spanID2)、服务B(traceID1,spanID3)和服务D(traceID1,spanID4);
对于用户发起的第二次相同请求,链路系统根据用户请求调用相同的服务链路,但此次为调用的服务链路标记链路标识traceID为2,为各个服务器分别标记的服务标识spanID分别为spanID1、spanID2、spanID3和spanID4,则与第二次用户请求对应的各个服务器对应的标识分别为服务A(traceID2,spanID1)、服务B(traceID2,spanID2)、服务B(traceID2,spanID3)和服务D(traceID2,spanID4),因此,与每一次用户请求对应的各个服务器的标识是唯一的,例如,若链路标识相同,则服务标识必然不同,若链路标识不同,则服务标识可以相同或不同。
优选地,与不同用户请求相对应的服务链路中的服务器所对应的服务标识不同。例如,针对用户请求a,调用的服务链路中包括的服务器为服务A、服务B、服务C和服务D,针对用户请求b,调用的服务链路中包括的服务器为服务E、服务F和服务G,则对于服务A至服务G所对应的服务标识均不相同,与用户请求a相对应的服务A至服务D的服务标识符合同一规则,与用户请求b相对应的服务E至服务G的服务标识符合与上述规则相同或不同 的规则。
优选地,生成链路标识以及服务标识的步骤之后,还包括:通过所述链路系统存储所述链路标识与服务标识,以便于生成日志时调用存储的链路标识与服务标识。
优选地,通过链路系统生成的与服务链路中的各个服务器相对应的标识还包括业务标识,所述业务标识用于表征用户请求对应的业务类型,对于相同的业务类型,通过业务标识便于快速地定位与该业务类型相关的关联日志信息。
本发明的一个实施例中,根据生成的日志信息获取与所述用户请求对应的关联日志的步骤包括:获取与所述用户请求对应的链路标识;根据所述链路标识,通过所述日志系统查询并获取与所述用户请求对应的关联日志。
通过本发明可以快速地找到出现故障的服务节点所对应的服务器的相关日志信息,优选地,通过日志系统生成包括所述标识的日志信息的步骤之后,还包括:获取与服务链路中出现故障的服务器对应的链路标识和服务标识;通过所述日志系统查询并获取与所述链路标识和所述服务标识对应的日志信息。以上述用户的第一次请求为例,若服务B和服务C之间的服务节点发生故障,导致无法调用时,通过链路系统可以查看服务B和服务C对应的链路信息,得到服务B和服务C的traceID和spanID,通过日志系统获取标记有traceID=1,spanID=2和traceID=1,spanID=3的日志信息,即可得到服务B和服务C在这次用户请求对应链路的日志,可以在链路系统中展示,实现链路系统与日志系统的关联,以对日志进行精确的提取,提高日志查找效率,便于发现问题。类似地,若查询整个链路对应的日志信息,则只需要查询链路标识traceID=1所标记的日志信息即可。
本发明的一个实施例中,通过日志系统生成包括所述标识的日志信息的步骤包括:
生成调用服务链路的日志数据,所述日志数据包括与所述服务链路中的各个服务器对应的标识;
将所述日志数据写入日志文档和/或日志服务器中;
从所述日志文档和/或日志服务器中获取所述日志数据并进行存储。
本发明的一个实施例中,对与同一用户请求对应的多个服务链路中各个 服务器对应的标识设定多级标记,多级标记根据服务器的调用顺序形成调用树结构。例如,对于某个用户请求,调用的服务链路的traceID为1,调用的服务A记为1-1,子服务B记为1-1-1,子服务C记为1-1-2,调用的服务D记为1-2等,形成调用树结构,根据标识的标记即可识别调用服务的位置。
本发明的一个实施例中,获取日志数据之后,将日志数据存储,对日志进行解析,根据服务标识提取关联日志,以便于清晰地展现服务链路对应的日志情况。进一步地,根据关联日志可以对服务链路进行查询、统计分析等。
需要说明的是,本发明中,通过所述关联方法获取到关联日志之后,可以根据需求对日志进行进一步地处理,以满足通过日志协助分析问题的需求。
本发明所述链路系统与日志系统的关联方法应用于电子装置,所述电子装置可以是电视机、智能手机、平板电脑、计算机等终端设备。
所述电子装置包括:处理器;存储器,用于存储链路系统与日志系统的关联程序,处理器执行所述链路系统与日志系统的关联程序,实现以下的链路系统与日志系统的关联方法的步骤:
接收用户请求;
调用与所述用户请求对应的一个或多个服务链路;
通过链路系统生成分别与所述服务链路中的各个服务器相对应的标识;
通过日志系统生成包括所述标识的日志信息;
根据生成的日志信息获取与所述用户请求对应的关联日志。
所述电子装置还包括网络接口和通信总线等。其中,网络接口可以包括标准的有线接口、无线接口,通信总线用于实现各个组件之间的连接通信。
存储器包括至少一种类型的可读存储介质,可以是闪存、硬盘、光盘等非易失性存储介质,也可以是插接式硬盘等,且并不限于此,可以是以非暂时性方式存储指令或软件以及任何相关联的数据文件并向处理器提供指令或软件程序以使该处理器能够执行指令或软件程序的任何装置。本发明中,存储器存储的软件程序包括链路系统与日志系统的关联程序,并可以向处理器提供该链路系统与日志系统的关联程序,以使得处理器可以执行该链路系统与日志系统的关联程序,实现链路系统与日志系统的关联方法的步骤。
处理器可以是中央处理器、微处理器或其他数据处理芯片等,可以运行存储器中的存储程序,例如,本发明中链路系统与日志系统的关联程序。
所述电子装置还可以包括显示器,显示器也可以称为显示屏或显示单元。在一些实施例中显示器可以是LED显示器、液晶显示器、触控式液晶显示器以及有机发光二极管(Organic Light-Emitting Diode,OLED)触摸器等。显示器用于显示在电子装置中处理的信息以及用于显示可视化的工作界面。
所述电子装置还可以包括用户接口,用户接口可以包括输入单元(比如键盘)、语音输出装置(比如音响、耳机)等。
在其他实施例中,链路系统与日志系统的关联程序可以被分割为一个或者多个模块,一个或者多个模块被存储于存储器中,并由处理器执行,以完成本发明。本发明所称的模块是指能够完成特定功能的一系列计算机程序指令段。图2为本发明中链路系统与日志系统的关联程序的模块示意图,如图2所示,所述链路系统与日志系统的关联程序可以被分割为:接收模块1、调用模块2、标识生成模块3、日志生成模块4和获取模块5。上述模块所实现的功能或操作步骤均与上文类似,此处不再详述。
优选地,所述标识包括链路标识和服务标识,其中,所述链路标识与调用的服务链路的链路信息相对应,用于表征每一次用户请求所调用的服务链路,所述服务标识与服务链路中的各个服务器相对应,用于表征各个服务器在调用的服务链路中的位置。通过链路标识和服务标识标记链路系统中相同或不同链路中的各个服务器,以使得每个服务器均有唯一标识,便于查找的日志与服务器相对应。
优选地,同一个服务链路中,按照各个服务器的调用顺序依次标记与各个服务器对应的服务标识。其中,对于各个服务标识的标记符合一定的规则,但本发明对此并无限定,可以是简单的顺序规则,也可以是其他复杂规则。例如,在调用的一个服务链路中,包括四个服务器,根据该服务链路中各个服务器的调用顺序可以为四个服务器分别标记spanID1、spanID2、spanID3和spanID4,也可以分别标记为spanID2、spanID4、spanID6和spanID8等服务标识。
针对同一业务操作,每一次的用户请求所调用的服务链路中包括的服务器相同,且链路中各个服务器的调用顺序相同,例如,对于用户的购买请求,每一次的购买流程均包括选择商品、确认订单、结算支付等环节,所以调用服务器的顺序相同。但对于每一次的用户请求,标记的链路标识不同,对各 个服务器标记的服务标识相同,以此表征各个服务器在该服务链路中的位置。每次接收一个新的用户请求之后,都会生成一个调用服务链路的链路标识,例如,根据用户请求调用的链路中依次包括服务A、服务B、服务C和服务D共四个服务器,对于用户发起的第一次请求,为调用的服务链路标记链路标识traceID为1,根据这次服务链路调用中每个服务器在链路中的位置为各个服务器分别标记的服务标识spanID分别为spanID1、spanID2、spanID3和spanID4,则与第一次用户请求对应的各个服务器对应的标识分别为服务A(traceID1,spanID1)、服务B(traceID1,spanID2)、服务B(traceID1,spanID3)和服务D(traceID1,spanID4);对于用户发起的第二次相同请求,链路系统根据用户请求调用相同的服务链路,但此次为调用的服务链路标记链路标识traceID为2,为各个服务器分别标记的服务标识spanID分别为spanID1、spanID2、spanID3和spanID4,则与第二次用户请求对应的各个服务器对应的标识分别为服务A(traceID2,spanID1)、服务B(traceID2,spanID2)、服务B(traceID2,spanID3)和服务D(traceID2,spanID4),因此,与每一次用户请求对应的各个服务器的标识是唯一的,例如,若链路标识相同,则服务标识必然不同,若链路标识不同,则服务标识可以相同或不同。
优选地,与不同用户请求相对应的服务链路中的服务器所对应的服务标识不同。例如,针对用户请求a,调用的服务链路中包括的服务器为服务A、服务B、服务C和服务D,针对用户请求b,调用的服务链路中包括的服务器为服务E、服务F和服务G,则对于服务A至服务G所对应的服务标识均不相同,与用户请求a相对应的服务A至服务D的服务标识符合同一规则,与用户请求b相对应的服务E至服务G的服务标识符合与上述规则相同或不同的规则。
本发明还提供一种链路系统与日志系统的关联装置,包括接收模块1、调用模块2、标识生成模块3、日志生成模块4、获取模块5。
其中,接收模块1用于接收用户请求;
调用模块2用于调用与所述用户请求对应的一个或多个服务链路;
标识生成模块3用于通过链路系统生成分别与所述服务链路中的各个服务器相对应的标识;
日志生成模块4用于通过日志系统生成包括所述标识的日志信息;
获取模块5用于根据生成的日志信息获取与所述用户请求对应的关联日志。
优选地,所述标识包括链路标识和服务标识,其中,所述链路标识与所述服务链路的链路信息相对应,所述服务标识分别与所述服务链路中的各个服务器相对应。
优选地,标识生成模块还包括服务标识标记单元,用于在同一个服务链路中,按照各个服务器的调用顺序依次标记与各个服务器对应的服务标识。
优选地,所述链路系统与日志系统的关联装置还包括存储模块,在生成链路标识以及服务标识之后,通过所述存储模块存储所述链路标识与服务标识,以便于生成日志时调用存储的链路标识与服务标识。
优选地,所述获取模块包括:第一获取单元,获取与所述用户请求对应的链路标识;第二获取单元,根据所述链路标识,通过所述日志系统查询并获取与所述用户请求对应的关联日志。
通过本发明可以快速地找到出现故障的服务节点所对应的服务器的相关日志信息,优选地,所述获取模块还包括故障标识获取单元,用以实现以下步骤:获取与服务链路中出现故障的服务器对应的链路标识和服务标识;通过所述日志系统查询并获取与所述链路标识和所述服务标识对应的日志信息。以上述用户的第一次请求为例,若服务B和服务C之间的服务节点发生故障,导致无法调用时,通过链路系统可以查看服务B和服务C对应的链路信息,得到服务B和服务C的traceID和spanID,通过日志系统获取标记有traceID=1,spanID=2和traceID=1,spanID=3的日志信息,即可得到服务B和服务C在这次用户请求对应链路的日志,可以在链路系统中展示,实现链路系统与日志系统的关联,提高日志查找效率,便于发现问题。类似地,若查询整个链路对应的日志信息,则只需要查询链路标识traceID=1所标记的日志信息即可。
在一个可选实施例中,所述日志生成模块包括:
数据生成单元,生成调用服务链路的日志数据,所述日志数据包括与所述服务链路中的各个服务器对应的标识;
数据写入单元,将所述日志数据写入日志文档和/或日志服务器中;
数据存储单元,从所述日志文档和/或日志服务器中获取所述日志数据并进行存储。
本发明的一个实施例中,对与同一用户请求对应的多个服务链路中各个服务器对应的标识设定多级标记,多级标记根据服务器的调用顺序形成调用树结构。例如,对于某个用户请求,调用的服务链路的traceID为1,调用的服务A记为1-1,子服务B记为1-1-1,子服务C记为1-1-2,调用的服务D记为1-2等,形成调用树结构,根据标识的标记即可识别调用服务的位置。
本发明的一个实施例中,所述链路系统与日志系统的关联装置还包括提取模块,获取日志数据之后,将日志数据存储,对日志进行解析,根据服务标识提取关联日志,以便于清晰地展现服务链路对应的日志情况。进一步地,根据关联日志可以对服务链路进行查询、统计分析等。
本发明的一个实施例中,计算机非易失性可读存储介质可以是任何包含或存储程序或指令的有形介质,其中的程序可以被执行,通过存储的程序指令相关的硬件实现相应的功能。例如,计算机非易失性可读存储介质可以是计算机磁盘、硬盘、随机存取存储器、只读存储器等。本发明并不限于此,可以是以非暂时性方式存储指令或软件以及任何相关数据文件或数据结构并且可提供给处理器以使处理器执行其中的程序或指令的任何装置。所述计算机非易失性可读存储介质中包括链路系统与日志系统的关联程序,所述链路系统与日志系统的关联程序被处理器执行时,实现如下的链路系统与日志系统的关联方法:
接收用户请求;
调用与所述用户请求对应的一个或多个服务链路;
通过链路系统生成分别与所述服务链路中的各个服务器相对应的标识;
通过日志系统生成包括所述标识的日志信息;
根据生成的日志信息获取与所述用户请求对应的关联日志。
本发明之计算机非易失性可读存储介质的具体实施方式与上述链路系统与日志系统的关联方法、电子装置的具体实施方式大致相同,在此不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、装置、物品或者方法不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、装置、物品或者方法所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、装置、物 品或者方法中还存在另外的相同要素。
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。

Claims (20)

  1. 一种链路系统与日志系统的关联方法,应用于电子装置,其特征在于,包括:
    接收用户请求;
    调用与所述用户请求对应的一个或多个服务链路;
    通过链路系统生成分别与所述服务链路中的各个服务器相对应的标识;
    通过日志系统生成包括所述标识的日志信息;
    根据生成的日志信息获取与所述用户请求对应的关联日志。
  2. 根据权利要求1所述的链路系统与日志系统的关联方法,其特征在于,所述标识包括链路标识和服务标识,其中,所述链路标识与所述服务链路的链路信息相对应,所述服务标识分别与所述服务链路中的各个服务器相对应。
  3. 根据权利要求2所述的链路系统与日志系统的关联方法,其特征在于,根据生成的日志信息获取与所述用户请求对应的关联日志的步骤包括:
    获取与所述用户请求对应的链路标识;
    根据所述链路标识,通过所述日志系统查询并获取与所述用户请求对应的关联日志。
  4. 根据权利要求2所述的链路系统与日志系统的关联方法,其特征在于,通过日志系统生成包括所述标识的日志信息的步骤之后,还包括:
    获取与服务链路中出现故障的服务器对应的链路标识和服务标识;
    通过所述日志系统查询并获取与所述链路标识和所述服务标识对应的日志信息。
  5. 根据权利要求2所述的链路系统与日志系统的关联方法,其特征在于,同一个服务链路中,按照各个服务器的调用顺序依次标记与各个服务器对应的服务标识。
  6. 根据权利要求2所述的链路系统与日志系统的关联方法,其特征在于,与不同的用户请求相对应的服务链路中的服务器所对应的服务标识不同。
  7. 根据权利要求1所述的链路系统与日志系统的关联方法,其特征在于,通过日志系统生成包括所述标识的日志信息的步骤包括:
    生成调用服务链路的日志数据,所述日志数据包括与所述服务链路中的 各个服务器对应的标识;
    将所述日志数据写入日志文档和/或日志服务器中;
    从所述日志文档和/或日志服务器中获取所述日志数据并进行存储。
  8. 根据权利要求1所述的链路系统与日志系统的关联方法,其特征在于,对与同一用户请求对应的多个服务链路中各个服务器对应的标识设定多级标记,多级标记根据服务器的调用顺序形成调用树结构。
  9. 一种链路系统与日志系统的关联装置,其特征在于,包括:
    接收模块,接收用户请求;
    调用模块,调用与所述用户请求对应的一个或多个服务链路;
    标识生成模块,通过链路系统生成分别与所述服务链路中的各个服务器相对应的标识;
    日志生成模块,通过日志系统生成包括所述标识的日志信息;
    获取模块,根据生成的日志信息获取与所述用户请求对应的关联日志。
  10. 根据权利要求9所述的链路系统与日志系统的关联装置,其特征在于,所述标识包括链路标识和服务标识,其中,所述链路标识与所述服务链路的链路信息相对应,所述服务标识分别与所述服务链路中的各个服务器相对应。
  11. 根据权利要求10所述的链路系统与日志系统的关联装置,其特征在于,获取模块包括:
    第一获取单元,用于获取与所述用户请求对应的链路标识;
    第二获取单元,用于根据所述链路标识,通过所述日志系统查询并获取与所述用户请求对应的关联日志。
  12. 根据权利要求11所述的链路系统与日志系统的关联装置,其特征在于,获取模块还包括:
    故障标识获取单元,获取与服务链路中出现故障的服务器对应的链路标识和服务标识,从而第二获取单元通过所述日志系统查询并获取与所述链路标识和所述服务标识对应的日志信息。
  13. 根据权利要求10所述的链路系统与日志系统的关联装置,其特征在于,标识生成模块还包括服务标识标记单元,用于在同一个服务链路中,按照各个服务器的调用顺序依次标记与各个服务器对应的服务标识。
  14. 一种电子装置,其特征在于,该电子装置包括:
    处理器;
    存储器,所述存储器中包括链路系统与日志系统的关联程序,所述链路系统与日志系统的关联程序被所述处理器执行时实现如权利要求1至8中任一项所述的链路系统与日志系统的关联方法的步骤。
  15. 根据权利要求14所述的电子装置,其特征在于,所述链路系统与日志系统的关联程序被所述处理器执行时还实现:
    所述标识包括链路标识和服务标识,其中,所述链路标识与所述服务链路的链路信息相对应,所述服务标识分别与所述服务链路中的各个服务器相对应。
  16. 根据权利要求15所述的电子装置,其特征在于,所述链路系统与日志系统的关联程序被所述处理器执行时还实现:根据生成的日志信息获取与所述用户请求对应的关联日志的步骤包括:
    获取与所述用户请求对应的链路标识;
    根据所述链路标识,通过所述日志系统查询并获取与所述用户请求对应的关联日志。
  17. 根据权利要求15所述的电子装置,其特征在于,所述链路系统与日志系统的关联程序被所述处理器执行时还实现:通过日志系统生成包括所述标识的日志信息的步骤之后,还包括:
    获取与服务链路中出现故障的服务器对应的链路标识和服务标识;
    通过所述日志系统查询并获取与所述链路标识和所述服务标识对应的日志信息。
  18. 一种计算机非易失性可读存储介质,其特征在于,所述计算机非易失性可读存储介质中包括链路系统与日志系统的关联程序,所述链路系统与日志系统的关联程序被处理器执行时,实现如权利要求1所述的链路系统与日志系统的关联方法的步骤。
  19. 根据权利要求18所述的计算机非易失性可读存储介质,其特征在于,所述链路系统与日志系统的关联程序被处理器执行时,还实现:
    所述标识包括链路标识和服务标识,其中,所述链路标识与所述服务链路的链路信息相对应,所述服务标识分别与所述服务链路中的各个服务器相 对应。
  20. 根据权利要求19所述的计算机非易失性可读存储介质,其特征在于,所述链路系统与日志系统的关联程序被处理器执行时,还实现:根据生成的日志信息获取与所述用户请求对应的关联日志的步骤包括:
    获取与所述用户请求对应的链路标识;
    根据所述链路标识,通过所述日志系统查询并获取与所述用户请求对应的关联日志。
PCT/CN2019/117894 2019-04-29 2019-11-13 链路系统与日志系统的关联方法、装置及存储介质 WO2020220638A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910355348.5 2019-04-29
CN201910355348.5A CN110113200A (zh) 2019-04-29 2019-04-29 链路系统与日志系统的关联方法、装置及存储介质

Publications (1)

Publication Number Publication Date
WO2020220638A1 true WO2020220638A1 (zh) 2020-11-05

Family

ID=67487543

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/117894 WO2020220638A1 (zh) 2019-04-29 2019-11-13 链路系统与日志系统的关联方法、装置及存储介质

Country Status (2)

Country Link
CN (1) CN110113200A (zh)
WO (1) WO2020220638A1 (zh)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112433757A (zh) * 2020-11-27 2021-03-02 中国建设银行股份有限公司 一种确定接口调用关系的方法和装置
CN113760652A (zh) * 2021-08-13 2021-12-07 济南浪潮数据技术有限公司 基于应用的全链路监控的方法、系统、设备和存储介质
CN113868345A (zh) * 2021-10-11 2021-12-31 支付宝(杭州)信息技术有限公司 用于对业务数据进行主体分类的方法及装置
CN113986955A (zh) * 2021-11-01 2022-01-28 华青融天(北京)软件股份有限公司 业务链的确定方法、装置、电子设备及介质
CN116976898A (zh) * 2023-09-25 2023-10-31 腾讯科技(深圳)有限公司 一种数据获取方法、数据可视化方法、装置及相关产品

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113200A (zh) * 2019-04-29 2019-08-09 平安科技(深圳)有限公司 链路系统与日志系统的关联方法、装置及存储介质
CN110602172B (zh) * 2019-08-20 2022-09-30 网宿科技股份有限公司 一种链路标识生成方法及装置
CN110602171B (zh) * 2019-08-20 2022-09-30 网宿科技股份有限公司 一种交互方法及装置
CN110807050B (zh) * 2019-09-25 2023-05-30 平安科技(深圳)有限公司 性能分析方法、装置、计算机设备及存储介质
CN110780857B (zh) * 2019-10-23 2024-01-30 杭州涂鸦信息技术有限公司 一种统一日志组件
CN110855477A (zh) * 2019-10-29 2020-02-28 浙江大搜车软件技术有限公司 链路日志监控方法、装置、计算机设备和存储介质
CN111078447B (zh) * 2019-11-24 2023-09-19 杭州安恒信息技术股份有限公司 一种微服务架构中的异常定位方法、装置、设备、介质
CN111078342A (zh) * 2019-12-06 2020-04-28 拉扎斯网络科技(上海)有限公司 信息展示方法、装置、电子设备及计算机可读存储介质
CN113055760A (zh) * 2019-12-26 2021-06-29 中兴通讯股份有限公司 日志处理方法、装置、设备和存储介质
CN110932918B (zh) * 2019-12-26 2023-01-10 远景智能国际私人投资有限公司 日志数据采集方法、装置及存储介质
CN112134739B (zh) * 2020-09-24 2022-07-08 平安科技(深圳)有限公司 链路状态的追踪方法、装置、电子设备及计算机存储介质
CN112202608A (zh) * 2020-09-28 2021-01-08 亚信科技(中国)有限公司 日志处理方法、装置、电子设备及计算机可读存储介质
CN112256658B (zh) * 2020-10-16 2023-08-18 海尔优家智能科技(北京)有限公司 日志记录的分流方法及装置、存储介质、电子装置
CN112181931A (zh) * 2020-10-20 2021-01-05 上海依图网络科技有限公司 一种大数据系统链路追踪方法及电子设备
CN112437155B (zh) * 2020-11-20 2024-02-20 北京水滴科技集团有限公司 服务数据的处理方法、装置以及服务端设备
CN112612675B (zh) * 2020-12-25 2023-02-28 山东经伟晟睿数据技术有限公司 微服务架构下的分布式大数据日志链路跟踪方法及系统
CN114844797A (zh) * 2022-05-27 2022-08-02 中国银行股份有限公司 调用链日志与监控日志关联方法及微服务异常检测方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040177141A1 (en) * 2003-03-06 2004-09-09 Actional Corporation Network interaction analysis arrangement
CN105224445A (zh) * 2015-10-28 2016-01-06 北京汇商融通信息技术有限公司 分布式跟踪系统
CN107645562A (zh) * 2017-10-12 2018-01-30 广州爱九游信息技术有限公司 数据传输处理方法、装置、设备及系统
CN108768752A (zh) * 2018-06-25 2018-11-06 华为技术有限公司 故障定位方法、装置以及系统
CN110113200A (zh) * 2019-04-29 2019-08-09 平安科技(深圳)有限公司 链路系统与日志系统的关联方法、装置及存储介质

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8732302B2 (en) * 2011-07-15 2014-05-20 Inetco Systems Limited Method and system for monitoring performance of an application system
CN106790718A (zh) * 2017-03-16 2017-05-31 北京搜狐新媒体信息技术有限公司 服务调用链路分析方法及系统
CN108632111A (zh) * 2018-04-02 2018-10-09 广东能龙教育股份有限公司 一种基于日志的服务链路监控方法
CN109104302A (zh) * 2018-07-18 2018-12-28 杭州鑫合汇互联网金融服务有限公司 一种全链路追踪监控方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040177141A1 (en) * 2003-03-06 2004-09-09 Actional Corporation Network interaction analysis arrangement
CN105224445A (zh) * 2015-10-28 2016-01-06 北京汇商融通信息技术有限公司 分布式跟踪系统
CN107645562A (zh) * 2017-10-12 2018-01-30 广州爱九游信息技术有限公司 数据传输处理方法、装置、设备及系统
CN108768752A (zh) * 2018-06-25 2018-11-06 华为技术有限公司 故障定位方法、装置以及系统
CN110113200A (zh) * 2019-04-29 2019-08-09 平安科技(深圳)有限公司 链路系统与日志系统的关联方法、装置及存储介质

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112433757A (zh) * 2020-11-27 2021-03-02 中国建设银行股份有限公司 一种确定接口调用关系的方法和装置
CN113760652A (zh) * 2021-08-13 2021-12-07 济南浪潮数据技术有限公司 基于应用的全链路监控的方法、系统、设备和存储介质
CN113760652B (zh) * 2021-08-13 2023-12-26 济南浪潮数据技术有限公司 基于应用的全链路监控的方法、系统、设备和存储介质
CN113868345A (zh) * 2021-10-11 2021-12-31 支付宝(杭州)信息技术有限公司 用于对业务数据进行主体分类的方法及装置
CN113868345B (zh) * 2021-10-11 2024-05-28 支付宝(杭州)信息技术有限公司 用于对业务数据进行主体分类的方法及装置
CN113986955A (zh) * 2021-11-01 2022-01-28 华青融天(北京)软件股份有限公司 业务链的确定方法、装置、电子设备及介质
CN113986955B (zh) * 2021-11-01 2024-03-19 华青融天(北京)软件股份有限公司 业务链的确定方法、装置、电子设备及介质
CN116976898A (zh) * 2023-09-25 2023-10-31 腾讯科技(深圳)有限公司 一种数据获取方法、数据可视化方法、装置及相关产品
CN116976898B (zh) * 2023-09-25 2024-02-23 腾讯科技(深圳)有限公司 一种数据获取方法、数据可视化方法、装置及相关产品

Also Published As

Publication number Publication date
CN110113200A (zh) 2019-08-09

Similar Documents

Publication Publication Date Title
WO2020220638A1 (zh) 链路系统与日志系统的关联方法、装置及存储介质
TWI634449B (zh) Sql審核方法和裝置
US8392465B2 (en) Dependency graphs for multiple domains
US8793660B2 (en) Automated testing of programming code for a web service
US11308031B2 (en) Resolving in-memory foreign keys in transmitted data packets from single-parent hierarchies
RU2648966C2 (ru) Устройство и способ для обработки множества открытых api
CN107633016B (zh) 数据处理方法及装置和电子设备
WO2019019361A1 (zh) 数据库数据处理方法、装置、计算机设备和存储介质
US10175954B2 (en) Method of processing big data, including arranging icons in a workflow GUI by a user, checking process availability and syntax, converting the workflow into execution code, monitoring the workflow, and displaying associated information
WO2019085386A1 (zh) 软件版本测试方法、装置、终端设备及存储介质
CN111339171B (zh) 数据查询的方法、装置及设备
EP3557437B1 (en) Systems and methods for search template generation
KR101764674B1 (ko) 침해 자원에 대한 그래프 데이터베이스 생성 방법 및 그 장치
US11829278B2 (en) Secure debugging in multitenant cloud environment
WO2023134134A1 (zh) 一种关联查看模型的生成方法、装置、计算机设备及存储介质
JPWO2013175611A1 (ja) データの分散検索システム、データの分散検索方法及び管理計算機
US10033737B2 (en) System and method for cross-cloud identity matching
CN108694227B (zh) 由中央资源控制器标记虚拟托管平台中的组织单元的技术组件的方法、系统
US10210276B2 (en) Managing information displayed in web pages
CN110874365A (zh) 一种信息查询方法及其相关设备
JP5973091B2 (ja) 開発支援システム
WO2020173214A1 (zh) 一种用户信息关联的方法及系统
CN114296696A (zh) 业务功能操作方法和装置、存储介质及电子设备
JP2014191422A (ja) ログ関連性提示システム、ログ関連性提示方法及びコンピュータプログラム
US9275358B1 (en) System, method, and computer program for automatically creating and submitting defect information associated with defects identified during a software development lifecycle to a defect tracking system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19926971

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19926971

Country of ref document: EP

Kind code of ref document: A1