CN110113200A - The correlating method of chain-circuit system and log system, device and storage medium - Google Patents
The correlating method of chain-circuit system and log system, device and storage medium Download PDFInfo
- Publication number
- CN110113200A CN110113200A CN201910355348.5A CN201910355348A CN110113200A CN 110113200 A CN110113200 A CN 110113200A CN 201910355348 A CN201910355348 A CN 201910355348A CN 110113200 A CN110113200 A CN 110113200A
- Authority
- CN
- China
- Prior art keywords
- log
- service
- chain
- server
- link
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/069—Management of faults, events, alarms or notifications using logs of notifications; Post-processing of notifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/146—Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention belongs to cloud monitoring technology fields, disclose the correlating method of a kind of chain-circuit system and log system, comprising: receive user's request;Call one or more service links corresponding with user request;Mark corresponding with each server in the service link respectively is generated by chain-circuit system;The log information including the mark is generated by log system;Association log corresponding with user request is obtained according to the log information of generation.The present invention is associated chain-circuit system and log system by the mark generated, so that chain-circuit system is effectively combined with log system, is allowed and is checked the corresponding log information of each server on the chain road while checking link information.Log information corresponding with failed services node can be rapidly obtained through the invention, avoided and checked log on a large scale, improve efficiency.The invention also discloses a kind of electronic device and storage mediums.
Description
Technical field
The present invention relates to the correlating methods of cloud monitoring technology field more particularly to a kind of chain-circuit system and log system, dress
It sets and storage medium.
Background technique
In Internet service, user request usually requires to call multiple service nodes, multiple service nodes according to
The link of called sequencing composition is that the user requests corresponding service link, in the system O&M of network service
In, all service links are monitored by full link monitoring system, to find and handle in service link to occur in time
Failure.But in current full link monitoring product, log corresponding for each link is not extracted accurately,
It is not easy to search corresponding log assistance problem analysis by respective links, full link monitoring system can not be closed with log system
Connection checks all logs that must check full link when log on a large scale if some service node breaks down, efficiency compared with
It is low.
Summary of the invention
The present invention provides correlating method, device and the storage medium of a kind of chain-circuit system and log system, existing to solve
It is not easy to search corresponding log, the lower problem of efficiency by respective links in technology.
To achieve the goals above, it is an aspect of the invention to provide the affiliated parties of a kind of chain-circuit system and log system
Method, comprising:
Receive user's request;
Call one or more service links corresponding with user request;
Mark corresponding with each server in the service link respectively is generated by chain-circuit system;
The log information including the mark is generated by log system;
Association log corresponding with user request is obtained according to the log information of generation.
Preferably, the mark includes link identification and service identifiers, wherein the link identification and the service link
Link information it is corresponding, the service identifiers are corresponding with each server in the service link respectively.
Preferably, include: according to the step of log information of generation acquisition association log corresponding with user request
Obtain link identification corresponding with user request;
According to the link identification, is inquired by the log system and obtain association day corresponding with user request
Will.
Preferably, after the log information that the mark is included the steps that by log system generation, further includes:
Obtain link identification corresponding with the server to break down in service link and service identifiers;
It is inquired by the log system and obtains log information corresponding with the link identification and the service identifiers.
Preferably, it in the same service link, is successively marked and each server according to the calling sequence of each server
Corresponding service identifiers.
Preferably, service identifiers corresponding to the server in corresponding service link are requested from different users not
Together.
Preferably, it is generated by log system and includes the steps that the log information of the mark includes:
The daily record data for calling service link is generated, the daily record data includes and each service in the service link
The corresponding mark of device;
The daily record data is written in log document and/or log server;
The daily record data is obtained from the log document and/or log server and is stored.
Preferably, more to the corresponding flag of server each in multiple service links corresponding with same user request
Grade label, multi-stage signature sequentially form calling tree construction according to the calling of server.
To achieve the goals above, another aspect of the present invention is to provide a kind of electronic device, which includes:
Processor;
Memory includes the associated program of chain-circuit system and log system, the chain-circuit system and day in the memory
The associated program of aspiration system realizes the correlating method of chain-circuit system as described above and log system when being executed by the processor
The step of.
To achieve the goals above, another aspect of the invention is to provide a kind of computer readable storage medium, described
It include the associated program of chain-circuit system and log system in computer readable storage medium, the chain-circuit system and log system
When associated program is executed by processor, the step of realizing the correlating method of chain-circuit system as described above and log system.
Compared with the existing technology, the present invention has the following advantages and beneficial effects:
The present invention is associated chain-circuit system and log system by mark corresponding with each server, so that
The each server in chain road corresponding log information can be checked by checking while link information.Also, in chain-circuit system
When some service node breaks down, log information corresponding with the service node can be rapidly obtained through the invention,
Not only can by the service position that chain-circuit system notes abnormalities, can also by the log analysis problem of respective links,
It avoids and checks log on a large scale, improve efficiency.
Detailed description of the invention
Fig. 1 is the flow diagram of the correlating method of chain-circuit system of the present invention and log system;
Fig. 2 is the module diagram of the associated program of chain-circuit system and log system in the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
Embodiment of the present invention described below with reference to the accompanying drawings.Those skilled in the art may recognize that
It arrives, it without departing from the spirit and scope of the present invention, can be with a variety of different modes or combinations thereof to described
Embodiment is modified.Therefore, attached drawing and description are regarded as illustrative in nature, and are only used to explain the present invention, rather than are used
In limitation scope of protection of the claims.In addition, in the present specification, attached drawing is drawn not in scale, and identical attached drawing mark
Note indicates identical part.
Fig. 1 is the flow diagram of the correlating method of chain-circuit system of the present invention and log system, as shown in Figure 1, this
Invent the correlating method of the chain-circuit system and log system, comprising the following steps:
Step S1, user's request is received;
Step S2, one or more service links corresponding with user request are called;
Step S3, mark corresponding with each server in the service link respectively is generated by chain-circuit system;
Step S4, the log information including the mark is generated by log system;
Step S5, association log corresponding with user request is obtained according to the log information of generation.
The present invention realizes chain-circuit system and log system by mark corresponding with each server in service link
Association, allow and check the corresponding log information of each server on service link while checking link information,
When some server breaks down, it can also not only be passed through by the server position that chain-circuit system notes abnormalities
Corresponding log information problem analysis.Also, it when including multiple service links in chain-circuit system, avoids and checks on a large scale
Log improves the efficiency checking log, finding the problem.
Preferably, in the step S2, the mark includes link identification and service identifiers, wherein the link identification
It is corresponding with the link information of the service link of calling, called service link is requested for characterizing user each time, it is described
Service identifiers are corresponding with each server in service link, for characterizing each server in the service link of calling
Position.By each server in identical or different link in link identification and service identifiers labeled link system, so that
Each server has unique identification, corresponding convenient for the log and server of lookup.
Preferably, it in the same service link, is successively marked and each server according to the calling sequence of each server
Corresponding service identifiers.Wherein, unify fixed rule for the marker character of each service identifiers, but the present invention to this and it is unlimited
It is fixed, it can be simple Cahn-Ingold-Prelog sequence rule, be also possible to other complex rules.For example, in a service link of calling, including
Four servers can mark respectively according to the calling of server each in service link sequence for four servers
SpanID1, spanID2, spanID3 and spanID4, can also be respectively labeled as spanID2, spanID4, spanID6 and
The service identifiers such as spanID8.
For same business operation, user each time requests the server for including in called service link identical,
And in link each server calling sequence it is identical, for example, the purchase for user is requested, process of purchase each time wrapped
Selection commodity are included, confirms an order, settle accounts the links such as payment, so the sequence of invoking server is identical.But for use each time
The link identification of family request, label is different, identical to the service identifiers of each server-tag, characterizes each server with this and exists
Position in the service link.After receiving new user's request every time, the chain of a calling service link can be all generated
Line, for example, according to successively including service A, service B, service C and service D totally four clothes in the link of user's request call
Business device requests Client-initiated for the first time, is 1 for the service link labeled link mark traceID of calling, according to current
The position of each server in a link is service identifiers spanID points that each server marks respectively in service link calling
Not Wei spanID1, spanID2, spanID3 and spanID4, then each server corresponding with first time user request is corresponding
Mark be respectively service A (traceID1, spanID1), service B (traceID1, spanID2), service B (traceID1,
SpanID3) and D (traceID1, spanID4) is serviced;For second of same request of Client-initiated, chain-circuit system according to
The identical service link of family request call, but it is 2 that this, which is the service link labeled link mark traceID called, is each
The service identifiers spanID that server marks respectively is respectively spanID1, spanID2, spanID3 and spanID4, then with second
It is respectively service A (traceID2, spanID1), service B that secondary user, which requests corresponding identify of corresponding each server,
(traceID2, spanID2), service B (traceID2, spanID3) and D (traceID2, spanID4) is serviced, it is therefore, and every
It is unique that user, which requests the mark of corresponding each server, for example, service identifiers are inevitable if link identification is identical
Difference, if link identification is different, service identifiers can be identical or different.
Preferably, request service identifiers corresponding to the server in corresponding service link different from different user.
For example, requesting a for user, the server for including in the service link of calling is service A, services B, service C and service D, needle
B is requested to user, the server for including in the service link of calling is services E, service F and service G, then for service A to clothes
Service identifiers corresponding to business G are all different, and request a is corresponding to service the A extremely service identifier contract one of service D with user
The service identifiers of rule, service E corresponding with user request b to service G meet the rule identical or different with above-mentioned rule.
Preferably, after the step of generating link identification and service identifiers, further includes: stored by the chain-circuit system
The link identification and service identifiers call the link identification and service identifiers of storage when in order to generate log.
It preferably, further include industry by the mark corresponding with each server in service link that chain-circuit system generates
Business mark, the service identification request corresponding type of service to pass through business for identical type of service for characterizing user
Mark is convenient for quickly locating association log information relevant to the type of service.
In one embodiment of the present of invention, association day corresponding with user request is obtained according to the log information of generation
The step of will includes: to obtain link identification corresponding with user request;According to the link identification, pass through the day aspiration
System is inquired and obtains association log corresponding with user request.
It can be quickly found the correlation log letter of server corresponding to the service node of failure through the invention
Breath, it is preferable that after the log information for including the steps that the mark by log system generation, further includes: obtain and service
The corresponding link identification of the server to break down in link and service identifiers;It is inquired and is obtained and institute by the log system
State link identification and the corresponding log information of the service identifiers.By taking the request of the first time of above-mentioned user as an example, if service B kimonos
Service node between business C breaks down, and when leading to not call, can check that service B is corresponding with service C by chain-circuit system
Link information, obtain service B and service C traceID and spanID, by log system acquisition be marked with traceID=
The log information of 1, spanID=2 and traceID=1, spanID=3, can be obtained service B and service C is asked in current user
Ask the log of respective links, can be shown in chain-circuit system, realize being associated with for chain-circuit system and log system, with to log into
Row is accurate to be extracted, and log search efficiency is improved, convenient for finding the problem.Similarly, if inquiring the corresponding log letter of entire link
Breath, then only need to inquire the log information that link identification traceID=1 is marked.
In one embodiment of the present of invention, include the steps that the log information of the mark wraps by log system generation
It includes:
The daily record data for calling service link is generated, the daily record data includes and each service in the service link
The corresponding mark of device;
The daily record data is written in log document and/or log server;
The daily record data is obtained from the log document and/or log server and is stored.
In one embodiment of the present of invention, to each server pair in multiple service links corresponding with same user request
The flag multi-stage signature answered, multi-stage signature sequentially form calling tree construction according to the calling of server.For example, for some
User's request, the traceID of the service link of calling are 1, and the service A of calling is denoted as 1-1, and sub-services B is denoted as 1-1-1, sub- clothes
Business C is denoted as 1-1-2, and the service D of calling is denoted as 1-2 etc., is formed and calls tree construction, can identifying call clothes according to the label of mark
The position of business.
In one embodiment of the present of invention, after obtaining daily record data, daily record data is stored, log is parsed,
Association log is extracted according to service identifiers, in order to clearly show the corresponding log situation of service link.Further, according to
Association log can inquire service link, be statisticallyd analyze.
It should be noted that in the present invention, it, can be according to demand after getting association log by the correlating method
Log is further processed, to meet the needs of assisting problem analysis by log.
The correlating method of chain-circuit system of the present invention and log system is applied to electronic device, and the electronic device can be with
It is the terminal devices such as television set, smart phone, tablet computer, computer.
The electronic device includes: processor;Memory, for storing the associated program of chain-circuit system and log system,
Processor executes the associated program of the chain-circuit system and log system, realizes being associated with for chain-circuit system below and log system
The step of method:
Receive user's request;
Call one or more service links corresponding with user request;
Mark corresponding with each server in the service link respectively is generated by chain-circuit system;
The log information including the mark is generated by log system;
Association log corresponding with user request is obtained according to the log information of generation.
The electronic device further includes network interface and communication bus etc..Wherein, network interface may include having for standard
Line interface, wireless interface, communication bus is for realizing the connection communication between various components.
Memory includes the readable storage medium storing program for executing of at least one type, can be that flash memory, hard disk, CD etc. are non-volatile to be deposited
Storage media is also possible to plug-in type hard disk etc., and is not limited to this, can be in a manner of non-transitory store instruction or software with
And any associated data file and to processor provide instruction or software program so that the processor be able to carry out instruction or
Any device of software program.In the present invention, the software program of memory storage includes chain-circuit system to be associated with log system
Program, and the associated program of the chain-circuit system and log system can be provided to processor, so that processor can execute this
The step of correlating method of the associated program of chain-circuit system and log system, realization chain-circuit system and log system.
Processor can be central processing unit, microprocessor or other data processing chips etc., can be in run memory
Storage program, for example, in the present invention chain-circuit system and log system associated program.
The electronic device can also include display, and display is referred to as display screen or display unit.Some
Display can be light-emitting diode display, liquid crystal display, touch-control liquid crystal display and Organic Light Emitting Diode in embodiment
(Organic Light-Emitting Diode, OLED) touches device etc..Display is used to show and handle in an electronic
Information and for showing visual working interface.
The electronic device can also include user interface, and user interface may include input unit (such as keyboard), language
Sound output device (such as sound equipment, earphone) etc..
Preferably, the mark includes link identification and service identifiers, wherein the service chaining of the link identification and calling
The link information on road is corresponding, requests called service link, the service identifiers and service for characterizing user each time
Each server in link is corresponding, for characterizing position of each server in the service link of calling.Pass through link
Each server in mark and service identifiers labeled link system in identical or different link, so that each server has
Unique identification, it is corresponding convenient for the log and server of lookup.
Preferably, it in the same service link, is successively marked and each server according to the calling sequence of each server
Corresponding service identifiers.Wherein, unify fixed rule for the marker character of each service identifiers, but the present invention to this and it is unlimited
It is fixed, it can be simple Cahn-Ingold-Prelog sequence rule, be also possible to other complex rules.For example, in a service link of calling, including
Four servers can mark respectively according to the calling of server each in service link sequence for four servers
SpanID1, spanID2, spanID3 and spanID4, can also be respectively labeled as spanID2, spanID4, spanID6 and
The service identifiers such as spanID8.
For same business operation, user each time requests the server for including in called service link identical,
And in link each server calling sequence it is identical, for example, the purchase for user is requested, process of purchase each time wrapped
Selection commodity are included, confirms an order, settle accounts the links such as payment, so the sequence of invoking server is identical.But for use each time
The link identification of family request, label is different, identical to the service identifiers of each server-tag, characterizes each server with this and exists
Position in the service link.After receiving new user's request every time, the chain of a calling service link can be all generated
Line, for example, according to successively including service A, service B, service C and service D totally four clothes in the link of user's request call
Business device requests Client-initiated for the first time, is 1 for the service link labeled link mark traceID of calling, according to current
The position of each server in a link is service identifiers spanID points that each server marks respectively in service link calling
Not Wei spanID1, spanID2, spanID3 and spanID4, then each server corresponding with first time user request is corresponding
Mark be respectively service A (traceID1, spanID1), service B (traceID1, spanID2), service B (traceID1,
SpanID3) and D (traceID1, spanID4) is serviced;For second of same request of Client-initiated, chain-circuit system according to
The identical service link of family request call, but it is 2 that this, which is the service link labeled link mark traceID called, is each
The service identifiers spanID that server marks respectively is respectively spanID1, spanID2, spanID3 and spanID4, then with second
It is respectively service A (traceID2, spanID1), service B that secondary user, which requests corresponding identify of corresponding each server,
(traceID2, spanID2), service B (traceID2, spanID3) and D (traceID2, spanID4) is serviced, it is therefore, and every
It is unique that user, which requests the mark of corresponding each server, for example, service identifiers are inevitable if link identification is identical
Difference, if link identification is different, service identifiers can be identical or different.
Preferably, request service identifiers corresponding to the server in corresponding service link different from different user.
For example, requesting a for user, the server for including in the service link of calling is service A, services B, service C and service D, needle
B is requested to user, the server for including in the service link of calling is services E, service F and service G, then for service A to clothes
Service identifiers corresponding to business G are all different, and request a is corresponding to service the A extremely service identifier contract one of service D with user
The service identifiers of rule, service E corresponding with user request b to service G meet the rule identical or different with above-mentioned rule.
Preferably, the electronic device further includes memory module, after generating link identification and service identifiers, is passed through
The chain-circuit system stores the link identification and service identifiers, and the link identification and clothes of storage are called when in order to generate log
Business mark.
It preferably, further include industry by the mark corresponding with each server in service link that chain-circuit system generates
Business mark, the service identification request corresponding type of service to pass through business for identical type of service for characterizing user
Mark is convenient for quickly locating association log information relevant to the type of service.
In one embodiment of the present of invention, the electronic device includes obtaining module, and the acquisition module is according to generation
Log information obtains corresponding with user request association log, and the acquisition module includes: first acquisition unit, acquisition and
The user requests corresponding link identification;Second acquisition unit is inquired according to the link identification by the log system
And obtain association log corresponding with user request.
It can be quickly found the correlation log letter of server corresponding to the service node of failure through the invention
Breath, it is preferable that the electronic device realize by log system generate include the steps that the log information of the mark after,
Also perform the steps of the corresponding link identification of the server to break down in acquisition and service link and service identifiers;Pass through
The log system is inquired and obtains log information corresponding with the link identification and the service identifiers.With above-mentioned user's
For requesting for the first time, if service B and the service node serviced between C break down, when leading to not call, pass through link system
System can check service B link information corresponding with service C, obtain service B and service the traceID and spanID of C, pass through day
Aspiration system, which obtains, is marked with traceID=1, spanID=2 and traceID=1, and the log information of spanID=3 can be obtained
Service B and service C current user request respective links log, can be shown in chain-circuit system, realize chain-circuit system with
The association of log system improves log search efficiency, convenient for finding the problem.Similarly, if inquiring the corresponding log of entire link
Information then only needs to inquire the log information that link identification traceID=1 is marked.
In one embodiment of the present of invention, the electronic device includes log generation module, is generated and is wrapped by log system
The log information of the mark is included, the log generation module includes:
Data generating unit, generates the daily record data for calling service link, and the daily record data includes and the service chaining
The corresponding mark of each server in road;
The daily record data is written in log document and/or log server data write unit;
Data storage cell obtains the daily record data and is deposited from the log document and/or log server
Storage.
In one embodiment of the present of invention, to each server pair in multiple service links corresponding with same user request
The flag multi-stage signature answered, multi-stage signature sequentially form calling tree construction according to the calling of server.For example, for some
User's request, the traceID of the service link of calling are 1, and the service A of calling is denoted as 1-1, and sub-services B is denoted as 1-1-1, sub- clothes
Business C is denoted as 1-1-2, and the service D of calling is denoted as 1-2 etc., is formed and calls tree construction, can identifying call clothes according to the label of mark
The position of business.
In one embodiment of the present of invention, the electronic device further includes extraction module, after obtaining daily record data, by day
The storage of will data, parses log, association log is extracted according to service identifiers, in order to clearly show service link pair
The log situation answered.Further, service link can be inquired, statisticallyd analyze according to association log.
In other embodiments, the associated program of chain-circuit system and log system can also be divided into one or more
Module, one or more module is stored in memory, and is executed by processor, to complete the present invention.Alleged by the present invention
Module be refer to complete specific function series of computation machine program instruction section.Fig. 2 is chain-circuit system and day in the present invention
The module diagram of the associated program of aspiration system, as shown in Fig. 2, the associated program of the chain-circuit system and log system can be by
Segmentation are as follows: receiving module 1, calling module 2, identifier generation module 3, log generation module 4 and acquisition module 5.Above-mentioned module institute
The functions or operations step of realization is similar as above, and and will not be described here in detail, illustratively, such as wherein:
Receiving module 1 receives user's request;
Calling module 2 calls one or more service links corresponding with user request;
Identifier generation module 3 is generated corresponding with each server in the service link respectively by chain-circuit system
Mark;
Log generation module 4 generates the log information including the mark by log system;
Module 5 is obtained, association log corresponding with user request is obtained according to the log information of generation.
In one embodiment of the present of invention, computer readable storage medium, which can be, any includes or storage program or instruction
Tangible medium, program therein can be performed, and pass through the corresponding function of the relevant hardware realization of the program instruction of storage.Example
Such as, computer readable storage medium can be computer disk, hard disk, random access memory, read-only memory etc..The present invention
It is not limited to this, can be in a manner of non-transitory store instruction or software and any associated data files or data structure simultaneously
And processor is provided to so that processor executes any device of program therein or instruction.The computer-readable storage medium
It include the associated program of chain-circuit system and log system in matter, the associated program of the chain-circuit system and log system is by processor
When execution, the correlating method of following chain-circuit system and log system is realized:
Receive user's request;
Call one or more service links corresponding with user request;
Mark corresponding with each server in the service link respectively is generated by chain-circuit system;
The log information including the mark is generated by log system;
Association log corresponding with user request is obtained according to the log information of generation.
The pass of the specific embodiment of the computer readable storage medium of the present invention and above-mentioned chain-circuit system and log system
Linked method, the specific embodiment of electronic device are roughly the same, and details are not described herein.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, device, article or the method that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, device, article or method institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, device of element, article or method.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.Pass through above embodiment party
The description of formula, it is required general that those skilled in the art can be understood that above-described embodiment method can add by software
The mode of hardware platform is realized, naturally it is also possible to which by hardware, but in many cases, the former is more preferably embodiment.It is based on
Such understanding, substantially the part that contributes to existing technology can be with software product in other words for technical solution of the present invention
Form embody, which is stored in a storage medium (such as ROM/RAM, magnetic disk, light as described above
Disk) in, including some instructions use is so that a terminal device (can be mobile phone, computer, server or the network equipment
Deng) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. the correlating method of a kind of chain-circuit system and log system is applied to electronic device characterized by comprising
Receive user's request;
Call one or more service links corresponding with user request;
Mark corresponding with each server in the service link respectively is generated by chain-circuit system;
The log information including the mark is generated by log system;
Association log corresponding with user request is obtained according to the log information of generation.
2. the correlating method of chain-circuit system according to claim 1 and log system, which is characterized in that the mark includes
Link identification and service identifiers, wherein the link identification is corresponding with the link information of the service link, the service mark
Know corresponding with each server in the service link respectively.
3. the correlating method of chain-circuit system according to claim 2 and log system, which is characterized in that according to the day of generation
The step of will acquisition of information corresponding with user request association log includes:
Obtain link identification corresponding with user request;
According to the link identification, is inquired by the log system and obtain association log corresponding with user request.
4. the correlating method of chain-circuit system according to claim 2 and log system, which is characterized in that pass through log system
Generation is included the steps that after the log information of the mark, further includes:
Obtain link identification corresponding with the server to break down in service link and service identifiers;
It is inquired by the log system and obtains log information corresponding with the link identification and the service identifiers.
5. the correlating method of chain-circuit system according to claim 2 and log system, which is characterized in that the same service chaining
Lu Zhong successively marks service identifiers corresponding with each server according to the calling sequence of each server.
6. the correlating method of chain-circuit system according to claim 2 and log system, which is characterized in that from different users
Request service identifiers corresponding to the server in corresponding service link different.
7. the correlating method of chain-circuit system according to claim 1 and log system, which is characterized in that pass through log system
Generation includes the steps that the log information of the mark includes:
The daily record data for calling service link is generated, the daily record data includes and each server pair in the service link
The mark answered;
The daily record data is written in log document and/or log server;
The daily record data is obtained from the log document and/or log server and is stored.
8. the correlating method of chain-circuit system according to claim 1 and log system, which is characterized in that with same user
The corresponding flag multi-stage signature of each server in corresponding multiple service links is requested, multi-stage signature is according to server
Calling sequentially forms calling tree construction.
9. a kind of electronic device, which is characterized in that the electronic device includes:
Processor;
Memory includes the associated program of chain-circuit system and log system, the chain-circuit system and day aspiration in the memory
Such as chain-circuit system described in any item of the claim 1 to 8 and log are realized when the associated program of system is executed by the processor
The step of correlating method of system.
10. a kind of computer readable storage medium, which is characterized in that include chain-circuit system in the computer readable storage medium
With the associated program of log system, when the associated program of the chain-circuit system and log system is executed by processor, realize as weighed
Benefit require any one of 1 to 8 described in chain-circuit system and log system correlating method the step of.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910355348.5A CN110113200A (en) | 2019-04-29 | 2019-04-29 | The correlating method of chain-circuit system and log system, device and storage medium |
PCT/CN2019/117894 WO2020220638A1 (en) | 2019-04-29 | 2019-11-13 | Method and apparatus for associating link system with log system, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910355348.5A CN110113200A (en) | 2019-04-29 | 2019-04-29 | The correlating method of chain-circuit system and log system, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110113200A true CN110113200A (en) | 2019-08-09 |
Family
ID=67487543
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910355348.5A Pending CN110113200A (en) | 2019-04-29 | 2019-04-29 | The correlating method of chain-circuit system and log system, device and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110113200A (en) |
WO (1) | WO2020220638A1 (en) |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110602172A (en) * | 2019-08-20 | 2019-12-20 | 网宿科技股份有限公司 | Link identification generation method and device |
CN110602171A (en) * | 2019-08-20 | 2019-12-20 | 网宿科技股份有限公司 | Interaction method and device |
CN110780857A (en) * | 2019-10-23 | 2020-02-11 | 杭州涂鸦信息技术有限公司 | Unified log component |
CN110807050A (en) * | 2019-09-25 | 2020-02-18 | 平安科技(深圳)有限公司 | Performance analysis method and device, computer equipment and storage medium |
CN110855477A (en) * | 2019-10-29 | 2020-02-28 | 浙江大搜车软件技术有限公司 | Link log monitoring method and device, computer equipment and storage medium |
CN110932918A (en) * | 2019-12-26 | 2020-03-27 | 远景智能国际私人投资有限公司 | Log data acquisition method and device and storage medium |
CN111078447A (en) * | 2019-11-24 | 2020-04-28 | 杭州安恒信息技术股份有限公司 | Method, device, equipment and medium for positioning abnormity in micro-service architecture |
CN111078342A (en) * | 2019-12-06 | 2020-04-28 | 拉扎斯网络科技(上海)有限公司 | Information display method and device, electronic equipment and computer readable storage medium |
WO2020220638A1 (en) * | 2019-04-29 | 2020-11-05 | 平安科技(深圳)有限公司 | Method and apparatus for associating link system with log system, and storage medium |
CN112134739A (en) * | 2020-09-24 | 2020-12-25 | 平安科技(深圳)有限公司 | Link state tracking method and device, electronic equipment and computer storage medium |
CN112181931A (en) * | 2020-10-20 | 2021-01-05 | 上海依图网络科技有限公司 | Big data system link tracking method and electronic equipment |
CN112202608A (en) * | 2020-09-28 | 2021-01-08 | 亚信科技(中国)有限公司 | Log processing method and device, electronic equipment and computer readable storage medium |
CN112256658A (en) * | 2020-10-16 | 2021-01-22 | 海尔优家智能科技(北京)有限公司 | Log record shunting method and device, storage medium and electronic device |
CN112437155A (en) * | 2020-11-20 | 2021-03-02 | 北京健康之家科技有限公司 | Service data processing method and device and server equipment |
CN112612675A (en) * | 2020-12-25 | 2021-04-06 | 山东经伟晟睿数据技术有限公司 | Distributed big data log link tracking method and system under micro-service architecture |
WO2021129849A1 (en) * | 2019-12-26 | 2021-07-01 | 中兴通讯股份有限公司 | Log processing method, apparatus and device, and storage medium |
CN114844797A (en) * | 2022-05-27 | 2022-08-02 | 中国银行股份有限公司 | Call chain log and monitoring log association method and micro-service anomaly detection method |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112433757A (en) * | 2020-11-27 | 2021-03-02 | 中国建设银行股份有限公司 | Method and device for determining interface calling relationship |
CN113760652B (en) * | 2021-08-13 | 2023-12-26 | 济南浪潮数据技术有限公司 | Method, system, device and storage medium for full link monitoring based on application |
CN113868345B (en) * | 2021-10-11 | 2024-05-28 | 支付宝(杭州)信息技术有限公司 | Method and device for classifying business data in main body |
CN113986955B (en) * | 2021-11-01 | 2024-03-19 | 华青融天(北京)软件股份有限公司 | Service chain determining method and device, electronic equipment and medium |
CN116976898B (en) * | 2023-09-25 | 2024-02-23 | 腾讯科技(深圳)有限公司 | Data acquisition method, data visualization method, device and related products |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130019008A1 (en) * | 2011-07-15 | 2013-01-17 | Loki Jorgenson | Method and system for monitoring performance of an application system |
CN106790718A (en) * | 2017-03-16 | 2017-05-31 | 北京搜狐新媒体信息技术有限公司 | Service call link analysis method and system |
CN108632111A (en) * | 2018-04-02 | 2018-10-09 | 广东能龙教育股份有限公司 | Service link monitoring method based on log |
CN108768752A (en) * | 2018-06-25 | 2018-11-06 | 华为技术有限公司 | fault locating method, device and system |
CN109104302A (en) * | 2018-07-18 | 2018-12-28 | 杭州鑫合汇互联网金融服务有限公司 | A kind of full link tracing monitoring method |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7330889B2 (en) * | 2003-03-06 | 2008-02-12 | Actional Corporation | Network interaction analysis arrangement |
CN105224445B (en) * | 2015-10-28 | 2017-02-15 | 北京汇商融通信息技术有限公司 | Distributed tracking system |
CN107645562B (en) * | 2017-10-12 | 2021-06-22 | 阿里巴巴(中国)有限公司 | Data transmission processing method, device, equipment and system |
CN110113200A (en) * | 2019-04-29 | 2019-08-09 | 平安科技(深圳)有限公司 | The correlating method of chain-circuit system and log system, device and storage medium |
-
2019
- 2019-04-29 CN CN201910355348.5A patent/CN110113200A/en active Pending
- 2019-11-13 WO PCT/CN2019/117894 patent/WO2020220638A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130019008A1 (en) * | 2011-07-15 | 2013-01-17 | Loki Jorgenson | Method and system for monitoring performance of an application system |
CN106790718A (en) * | 2017-03-16 | 2017-05-31 | 北京搜狐新媒体信息技术有限公司 | Service call link analysis method and system |
CN108632111A (en) * | 2018-04-02 | 2018-10-09 | 广东能龙教育股份有限公司 | Service link monitoring method based on log |
CN108768752A (en) * | 2018-06-25 | 2018-11-06 | 华为技术有限公司 | fault locating method, device and system |
CN109104302A (en) * | 2018-07-18 | 2018-12-28 | 杭州鑫合汇互联网金融服务有限公司 | A kind of full link tracing monitoring method |
Cited By (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020220638A1 (en) * | 2019-04-29 | 2020-11-05 | 平安科技(深圳)有限公司 | Method and apparatus for associating link system with log system, and storage medium |
CN110602171B (en) * | 2019-08-20 | 2022-09-30 | 网宿科技股份有限公司 | Interaction method and device |
CN110602171A (en) * | 2019-08-20 | 2019-12-20 | 网宿科技股份有限公司 | Interaction method and device |
CN110602172A (en) * | 2019-08-20 | 2019-12-20 | 网宿科技股份有限公司 | Link identification generation method and device |
CN110602172B (en) * | 2019-08-20 | 2022-09-30 | 网宿科技股份有限公司 | Link identification generation method and device |
CN110807050A (en) * | 2019-09-25 | 2020-02-18 | 平安科技(深圳)有限公司 | Performance analysis method and device, computer equipment and storage medium |
CN110807050B (en) * | 2019-09-25 | 2023-05-30 | 平安科技(深圳)有限公司 | Performance analysis method, device, computer equipment and storage medium |
CN110780857A (en) * | 2019-10-23 | 2020-02-11 | 杭州涂鸦信息技术有限公司 | Unified log component |
CN110780857B (en) * | 2019-10-23 | 2024-01-30 | 杭州涂鸦信息技术有限公司 | Unified log component |
CN110855477A (en) * | 2019-10-29 | 2020-02-28 | 浙江大搜车软件技术有限公司 | Link log monitoring method and device, computer equipment and storage medium |
CN111078447A (en) * | 2019-11-24 | 2020-04-28 | 杭州安恒信息技术股份有限公司 | Method, device, equipment and medium for positioning abnormity in micro-service architecture |
CN111078447B (en) * | 2019-11-24 | 2023-09-19 | 杭州安恒信息技术股份有限公司 | Abnormality positioning method, device, equipment and medium in micro-service architecture |
CN111078342A (en) * | 2019-12-06 | 2020-04-28 | 拉扎斯网络科技(上海)有限公司 | Information display method and device, electronic equipment and computer readable storage medium |
CN110932918A (en) * | 2019-12-26 | 2020-03-27 | 远景智能国际私人投资有限公司 | Log data acquisition method and device and storage medium |
WO2021129849A1 (en) * | 2019-12-26 | 2021-07-01 | 中兴通讯股份有限公司 | Log processing method, apparatus and device, and storage medium |
CN112134739A (en) * | 2020-09-24 | 2020-12-25 | 平安科技(深圳)有限公司 | Link state tracking method and device, electronic equipment and computer storage medium |
CN112202608A (en) * | 2020-09-28 | 2021-01-08 | 亚信科技(中国)有限公司 | Log processing method and device, electronic equipment and computer readable storage medium |
CN112256658A (en) * | 2020-10-16 | 2021-01-22 | 海尔优家智能科技(北京)有限公司 | Log record shunting method and device, storage medium and electronic device |
CN112256658B (en) * | 2020-10-16 | 2023-08-18 | 海尔优家智能科技(北京)有限公司 | Log record distribution method and device, storage medium and electronic device |
CN112181931A (en) * | 2020-10-20 | 2021-01-05 | 上海依图网络科技有限公司 | Big data system link tracking method and electronic equipment |
CN112437155A (en) * | 2020-11-20 | 2021-03-02 | 北京健康之家科技有限公司 | Service data processing method and device and server equipment |
CN112437155B (en) * | 2020-11-20 | 2024-02-20 | 北京水滴科技集团有限公司 | Service data processing method and device and server device |
CN112612675B (en) * | 2020-12-25 | 2023-02-28 | 山东经伟晟睿数据技术有限公司 | Distributed big data log link tracking method and system under micro-service architecture |
CN112612675A (en) * | 2020-12-25 | 2021-04-06 | 山东经伟晟睿数据技术有限公司 | Distributed big data log link tracking method and system under micro-service architecture |
CN114844797A (en) * | 2022-05-27 | 2022-08-02 | 中国银行股份有限公司 | Call chain log and monitoring log association method and micro-service anomaly detection method |
Also Published As
Publication number | Publication date |
---|---|
WO2020220638A1 (en) | 2020-11-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110113200A (en) | The correlating method of chain-circuit system and log system, device and storage medium | |
CN110716951A (en) | Label configuration method, device and equipment convenient to configure and storage medium | |
WO2021051546A1 (en) | Link abnormality recognition method, server and computer-readable storage medium | |
CN111753210B (en) | Resource pushing method and device, computer equipment and computer readable storage medium | |
CN107967135A (en) | Computing engines implementation method, electronic device and storage medium | |
CN104579909B (en) | Method and equipment for classifying user information and acquiring user grouping information | |
CN110795697B (en) | Method and device for acquiring logic expression, storage medium and electronic device | |
CN110413507B (en) | System test method, device, computer equipment and storage medium | |
CN109460884A (en) | Orphan's list distribution method, electronic device and readable storage medium storing program for executing | |
CN109544266A (en) | Product data method for pushing, device and computer readable storage medium | |
CN110675238A (en) | Client label configuration method, system, readable storage medium and electronic equipment | |
CN109284326A (en) | A kind of data bank access method and device | |
CN113268500A (en) | Service processing method and device and electronic equipment | |
CN107515866A (en) | A kind of data manipulation method, device and system | |
CN107783953A (en) | Information input method and terminal device | |
WO2020259034A1 (en) | Method, apparatus, and device for identifying offline source code, and storage medium | |
CN106997320A (en) | Code display methods and device during code review | |
CN110442849A (en) | Method for exhibiting data, device, computer equipment and storage medium | |
CN110765778A (en) | Label entity processing method and device, computer equipment and storage medium | |
CN106126633B (en) | Processing method, the device and system of noble metal data | |
CN113051333B (en) | Data processing method and device, electronic equipment and storage medium | |
CN104750823B (en) | Method and device for inquiring promotion condition data | |
CN109902698A (en) | Information generating method and device | |
CN110263044B (en) | Data storage method, device, equipment and computer readable storage medium | |
CN110737662A (en) | data analysis method, device, server and computer storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190809 |