CN113190525A - Transaction path tracking method, device and equipment based on distributed system - Google Patents

Transaction path tracking method, device and equipment based on distributed system Download PDF

Info

Publication number
CN113190525A
CN113190525A CN202110448517.7A CN202110448517A CN113190525A CN 113190525 A CN113190525 A CN 113190525A CN 202110448517 A CN202110448517 A CN 202110448517A CN 113190525 A CN113190525 A CN 113190525A
Authority
CN
China
Prior art keywords
transaction
distributed
global event
data
tracking number
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
Application number
CN202110448517.7A
Other languages
Chinese (zh)
Inventor
杨光
孙陈娜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN202110448517.7A priority Critical patent/CN113190525A/en
Publication of CN113190525A publication Critical patent/CN113190525A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application discloses a transaction path tracking method, a transaction path tracking device and transaction path tracking equipment based on a distributed system, which can track a transaction path at a micro-service level. The method comprises the following steps: the transaction data in the distributed system are collected according to a preset file specification, the transaction data are written into a data collection file with a fixed file name, then the transaction data are subjected to serialization processing to obtain a global event tracking number, the global event tracking number is written into a data collection file with a fixed file name, then the transaction data in the distributed application system are traversed by the global event tracking number according to a pre-constructed global event tracking number field to obtain transaction details of all distributed micro-service units, further, a tracking number range can be generated according to the global event tracking number of a starting point and an end point of a transaction path to which the transaction data belong, and a transaction path corresponding to the transaction data is generated according to the transaction details corresponding to the distributed micro-service units in the tracking number range.

Description

Transaction path tracking method, device and equipment based on distributed system
Technical Field
The present application relates to the field of computer technologies, and in particular, to a transaction path tracking method, apparatus, and device based on a distributed system.
Background
With the rapid development of banking business, the traditional centralized application system gradually shows some disadvantages, such as long time window for application system change, large business influence range, difficult infrastructure expansion, and the like.
Therefore, the transformation of the distributed micro-service of the banking application system gradually becomes a trend, and the distributed architecture has the advantages of micro-service, high performance, high elasticity, low cost, low coupling and the like. Due to the high requirement of banking business on business continuity, each commercial bank usually adopts a cloud infrastructure across geographic areas and machine rooms to realize distributed reconstruction, so how to realize transaction link tracking of a distributed application system across geographic areas and machine rooms is one of key technologies for realizing operation monitoring of the distributed application system. However, the existing transaction path tracking method is mainly based on a centralized system, and for the internal micro-service state of the distributed system, the transaction path tracking cannot be performed. Therefore, how to track the transaction link of the distributed application system across the geographic area and the machine room is an urgent problem to be solved.
Disclosure of Invention
The main purpose of the embodiments of the present application is to provide a transaction path tracking method, apparatus, and device based on a distributed system, which can serialize transaction detail data of the distributed system and internal micro service units, so as to perform micro service level tracking and multi-dimensional display on a transaction path through an association relationship between transaction data corresponding to each micro service unit on the transaction path.
In a first aspect, an embodiment of the present application provides a transaction path tracking method based on a distributed system, including:
acquiring transaction data to be tracked in a distributed system according to a preset file specification, and writing the transaction data into a data acquisition file with a fixed file name; the transaction data comprises transaction amount, success rate, processing time and response time;
carrying out serialization processing on the transaction data to obtain a global event tracking number corresponding to the transaction data, and writing the global event tracking number into a data acquisition file with a fixed file name;
traversing transaction data in the distributed application system by using the global event tracking number according to a pre-constructed global event tracking number domain to obtain transaction details corresponding to each distributed micro-service unit;
and generating a tracking number range according to the global event tracking numbers of the starting point and the end point of the transaction path to which the transaction data belongs, and generating the transaction path corresponding to the transaction data according to the transaction details corresponding to the distributed micro-service unit in the tracking number range.
Optionally, after the transaction data to be tracked in the distributed system is collected according to the preset file specification and written into the data collection file with a fixed file name, the method further includes:
and switching the data acquisition file according to the date or the size.
Optionally, the global event tracking number is used to serially connect the front-end and back-end distributed systems and each micro-service unit in the distributed systems; different micro service units in the distributed system correspond to different internal transaction serial numbers and global event tracking numbers.
Optionally, after traversing transaction data in the distributed application system by using the global event tracking number according to a pre-constructed global event tracking number domain to obtain transaction details corresponding to each distributed microservice unit, the method further includes:
and displaying the transaction details corresponding to the distributed micro-service units according to different data dimensions.
In a second aspect, an embodiment of the present application further provides a transaction path tracking apparatus based on a distributed system, including:
the system comprises a collecting unit, a tracking unit and a tracking unit, wherein the collecting unit is used for collecting transaction data to be tracked in a distributed system according to a preset file specification and writing the transaction data into a data collecting file with a fixed file name; the transaction data comprises transaction amount, success rate, processing time and response time;
the processing unit is used for carrying out serialization processing on the transaction data to obtain a global event tracking number corresponding to the transaction data, and writing the global event tracking number into the data acquisition file with a fixed file name;
the traversing unit is used for traversing the transaction data in the distributed application system by using the global event tracking number according to a pre-constructed global event tracking number domain to obtain transaction details corresponding to each distributed micro-service unit;
and the generating unit is used for generating a tracking number range according to the global event tracking numbers of the starting point and the end point of the transaction path to which the transaction data belongs, and generating the transaction path corresponding to the transaction data according to the transaction details corresponding to the distributed microservice unit in the tracking number range.
Optionally, the apparatus further comprises:
and the switching unit is used for acquiring the transaction data to be tracked in the distributed system according to the preset file specification, writing the transaction data into a data acquisition file with a fixed file name, and switching the data acquisition file according to the date or the size.
Optionally, the global event tracking number is used to serially connect the front-end and back-end distributed systems and each micro-service unit in the distributed systems; different micro service units in the distributed system correspond to different internal transaction serial numbers and global event tracking numbers.
Optionally, the apparatus further comprises:
and the display unit is used for displaying the transaction details corresponding to each distributed micro-service unit according to different data dimensions after traversing the transaction data in the distributed application system by using the global event tracking number according to a pre-constructed global event tracking number domain to obtain the transaction details corresponding to each distributed micro-service unit.
The embodiment of the present application further provides a transaction path tracking device based on a distributed system, including: a processor, a memory, a system bus;
the processor and the memory are connected through the system bus;
the memory is used for storing one or more programs, and the one or more programs comprise instructions which, when executed by the processor, cause the processor to execute any implementation mode of the transaction path tracking method based on the distributed system.
The embodiment of the present application further provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are run on a terminal device, the terminal device is enabled to execute any implementation manner of the transaction path tracking method based on the distributed system.
According to the transaction path tracking method, device and equipment based on the distributed system, firstly, transaction data to be tracked in the distributed system are collected according to a preset file specification, and the transaction data are written into a data collection file with a fixed file name; the transaction data comprises transaction amount, success rate, processing time and response time, then the transaction data is serialized to obtain a global event tracking number corresponding to the transaction data, the global event tracking number is written into a data acquisition file with a fixed file name, then the transaction data in the distributed application system is traversed by the global event tracking number according to a pre-constructed global event tracking number domain to obtain transaction details corresponding to all distributed micro-service units, further, a tracking number range can be generated according to the global event tracking number of a starting point and an end point of a transaction path to which the transaction data belongs, and the transaction path corresponding to the transaction data is generated according to the transaction details corresponding to the distributed micro-service units in the tracking number range. Therefore, the transaction detail data of the distributed system and the internal micro-service units can be serialized, and the transaction path is tracked at the micro-service level through the incidence relation of the transaction data corresponding to each micro-service unit on the transaction path.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a transaction path tracking method based on a distributed system according to an embodiment of the present disclosure;
fig. 2 is a schematic structural diagram of a transaction path tracking method based on a distributed system according to an embodiment of the present application;
fig. 3 is a schematic composition diagram of a transaction path tracking apparatus based on a distributed system according to an embodiment of the present disclosure.
Detailed Description
At present, along with the rapid development of banking business, the transformation of distributed micro-services of banking application systems gradually becomes a trend, and a distributed architecture has the advantages of micro-services, high performance, high elasticity, low cost, low coupling and the like. Due to the high requirement of banking business on business continuity, each commercial bank usually adopts a cloud infrastructure across geographic areas and machine rooms to realize distributed reconstruction, so how to realize transaction link tracking of a distributed application system across geographic areas and machine rooms is one of key technologies for realizing operation monitoring of the distributed application system. However, the existing transaction path tracking method is mainly based on a centralized system, and for the internal micro-service state of the distributed system, the transaction path tracking cannot be performed. Therefore, how to track the transaction link of the distributed application system across the geographic area and the machine room is an urgent problem to be solved.
In order to solve the above defects, an embodiment of the present application provides a transaction path tracking method based on a distributed system, which includes acquiring transaction data to be tracked in the distributed system according to a preset file specification, and writing the transaction data into a data acquisition file with a fixed file name; the transaction data comprises transaction amount, success rate, processing time and response time, then the transaction data is serialized to obtain a global event tracking number corresponding to the transaction data, the global event tracking number is written into a data acquisition file with a fixed file name, then the transaction data in the distributed application system is traversed by the global event tracking number according to a pre-constructed global event tracking number domain to obtain transaction details corresponding to all distributed micro-service units, further, a tracking number range can be generated according to the global event tracking number of a starting point and an end point of a transaction path to which the transaction data belongs, and the transaction path corresponding to the transaction data is generated according to the transaction details corresponding to the distributed micro-service units in the tracking number range. Therefore, the transaction detail data of the distributed system and the internal micro-service units can be serialized, and the transaction path is tracked at the micro-service level through the incidence relation of the transaction data corresponding to each micro-service unit on the transaction path.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
First embodiment
Referring to fig. 1, a schematic flow chart of a transaction path tracking method based on a distributed system provided in this embodiment is shown, where the method includes the following steps:
s101: acquiring transaction data to be tracked in a distributed system according to a preset file specification, and writing the transaction data into a data acquisition file with a fixed file name; the transaction data comprises transaction amount, success rate, processing time and response time.
In this embodiment, in order to implement tracking of a transaction link of a distributed application system across geographic areas and machine rooms, for example, as shown in fig. 2, when there is data exchange between a center 1 and a center 2, in order to implement tracking of the transaction link therein, a domain definition needs to be performed on a data acquisition file stored in transaction data, a specification format of the file is set, for example, the data acquisition file may be set to a format of an excel table in advance, and each column in the table may respectively represent information such as an internal transaction serial number, a transaction amount, a success rate, processing time, response time, and a global event tracking number (e.g., number 1001) corresponding to the transaction data. Based on this, the transaction data to be tracked in the distributed system may be collected according to the preset file specification, and the collected transaction data may be written into a data collection file with a fixed file name, for example, an excel table with a fixed file name determined according to the service classification, for example, the transaction data belonging to the service classification 1 may be written into the data collection table 1, the transaction data belonging to the service classification 2 may be written into the data collection table 2, and so on. The transaction data includes transaction information such as transaction amount, success rate, processing time, response time and the like.
In a possible implementation manner of this embodiment, for a data collection file with a fixed file name, the data collection file may be switched according to a date or a size, so as to improve the processing efficiency of the data.
S102: and carrying out serialization processing on the transaction data to obtain a global event tracking number corresponding to the transaction data, and writing the global event tracking number into a data acquisition file with a fixed file name.
In this embodiment, in order to track a transaction link of a distributed application system across geographic areas and machine rooms, an internal transaction sequence number field needs to be predefined, different internal transaction sequence numbers represent different distributed micro-service units, such as the micro-service unit 1 represents the center 1, and the micro-service unit 2 represents the center 2, so that after transaction data such as transaction amount, success rate, processing time, response time and the like are collected in real time in a second level in step S101, transaction detail data of each micro-service unit of the distributed system can be serialized to obtain a global event tracking number corresponding to the transaction data, and the global event tracking number is written into a data collection file with a fixed file name. The global event tracking number is used for connecting the front-end distributed system and the back-end distributed system in series with the micro service units in the distributed system.
S103: and traversing the transaction data in the distributed application system by using the global event tracking number according to a pre-constructed global event tracking number domain to obtain transaction details corresponding to each distributed micro-service unit.
In this embodiment, after the global event tracking number corresponding to the transaction data is obtained in step S102, the transaction data in the distributed application system may be further traversed by using the global event tracking number according to a global event tracking number domain that is constructed in advance, so as to obtain the transaction details corresponding to each distributed microservice unit. Specifically, transaction data in a data acquisition file of the distributed application system can be traversed through the global event tracking number field, and if the start-stop sequence number in the file name is within the global tracking number range, corresponding transaction details can be searched. And taking the record with the node number of the sending party as an empty record as a starting point, and connecting the transaction records in series through fields such as the node number of the receiving party, the transaction sequence number and the like.
It should be noted that, the distributed system distinguishes the internal micro service units through the internal transaction serial number domain, that is, different micro service units correspond to different internal transaction serial numbers and global event tracking numbers.
S104: and generating a tracking number range according to the global event tracking numbers of the starting point and the end point of the transaction path to which the transaction data belongs, and generating the transaction path corresponding to the transaction data according to the transaction details corresponding to the distributed micro-service unit in the tracking number range.
In this embodiment, after the transaction details corresponding to each distributed microservice unit are obtained in step S103, the transaction details corresponding to each distributed microservice unit may be further displayed according to different data dimensions, that is, different business data are displayed by using different views, and the index data is pre-warned through baseline management.
For example: the transaction amount view can be used for displaying the transaction amount conditions of the distributed system and each micro-service unit, and real-time refreshing and time-based summarizing are supported. And displaying the service success rate conditions of the currently selected distributed system and each micro-service unit by using the success rate view, and supporting real-time refreshing and time-based summarizing. And displaying the currently selected distributed system and the application logic processing time consumption of each micro service unit and the response time of the back-end system by using the processing time view and the response time view, and supporting real-time refreshing, time-based summarizing and the like.
On the basis, a tracking number range is further generated according to the global event tracking number of the starting point and the end point of the transaction path to which the transaction data belongs, and an end-to-end transaction path is formed by all distributed micro service units in the tracking number range according to the transaction details corresponding to the distributed micro service units in the tracking number range and serves as the transaction path corresponding to the transaction data, so that the tracking of the transaction path of the distributed system is realized.
Therefore, through the steps S101-S104, transaction detail collection, processing and drilling are carried out on each micro service unit of the banking industry distributed system, the transaction processing condition and early warning of the distributed system are displayed in real time through baseline data comparison, and the transaction path tracking of the distributed system is realized through end-to-end transaction data processing.
In summary, in the transaction path tracking method based on the distributed system provided in this embodiment, first, transaction data to be tracked in the distributed system is collected according to a preset file specification, and the transaction data is written into a data collection file with a fixed file name; the transaction data comprises transaction amount, success rate, processing time and response time, then the transaction data is serialized to obtain a global event tracking number corresponding to the transaction data, the global event tracking number is written into a data acquisition file with a fixed file name, then the transaction data in the distributed application system is traversed by the global event tracking number according to a pre-constructed global event tracking number domain to obtain transaction details corresponding to all distributed micro-service units, further, a tracking number range can be generated according to the global event tracking number of a starting point and an end point of a transaction path to which the transaction data belongs, and the transaction path corresponding to the transaction data is generated according to the transaction details corresponding to the distributed micro-service units in the tracking number range. Therefore, the transaction detail data of the distributed system and the internal micro-service units can be serialized, and the transaction path is tracked at the micro-service level through the incidence relation of the transaction data corresponding to each micro-service unit on the transaction path.
Second embodiment
In this embodiment, a transaction path tracking apparatus based on a distributed system will be described, and for related contents, please refer to the above method embodiment.
Referring to fig. 3, a schematic composition diagram of a transaction path tracking apparatus based on a distributed system provided in this embodiment is shown, where the apparatus includes:
the acquisition unit 301 is configured to acquire transaction data to be tracked in a distributed system according to a preset file specification, and write the transaction data into a data acquisition file with a fixed file name; the transaction data comprises transaction amount, success rate, processing time and response time;
the processing unit 302 is configured to perform serialization processing on the transaction data to obtain a global event tracking number corresponding to the transaction data, and write the global event tracking number into a data acquisition file with a fixed file name;
the traversing unit 303 is configured to traverse the transaction data in the distributed application system by using the global event tracking number according to a pre-established global event tracking number field to obtain transaction details corresponding to each distributed microservice unit;
the generating unit 304 is configured to generate a tracking number range according to the global event tracking numbers of the start point and the end point of the transaction path to which the transaction data belongs, and generate a transaction path corresponding to the transaction data according to the transaction details corresponding to the distributed microservice unit in the tracking number range.
In an implementation manner of this embodiment, the apparatus further includes:
and the switching unit is used for acquiring the transaction data to be tracked in the distributed system according to the preset file specification, writing the transaction data into a data acquisition file with a fixed file name, and switching the data acquisition file according to the date or the size.
In an implementation manner of this embodiment, the global event tracking number is used to serially connect the front-end distributed system and the back-end distributed system with each micro-service unit inside the distributed system; different micro service units in the distributed system correspond to different internal transaction serial numbers and global event tracking numbers.
In an implementation manner of this embodiment, the apparatus further includes:
and the display unit is used for displaying the transaction details corresponding to each distributed micro-service unit according to different data dimensions after traversing the transaction data in the distributed application system by using the global event tracking number according to a pre-constructed global event tracking number domain to obtain the transaction details corresponding to each distributed micro-service unit.
In summary, in the transaction path tracking device based on the distributed system provided in this embodiment, first, transaction data to be tracked in the distributed system is collected according to a preset file specification, and the transaction data is written into a data collection file with a fixed file name; the transaction data comprises transaction amount, success rate, processing time and response time, then the transaction data is serialized to obtain a global event tracking number corresponding to the transaction data, the global event tracking number is written into a data acquisition file with a fixed file name, then the transaction data in the distributed application system is traversed by the global event tracking number according to a pre-constructed global event tracking number domain to obtain transaction details corresponding to all distributed micro-service units, further, a tracking number range can be generated according to the global event tracking number of a starting point and an end point of a transaction path to which the transaction data belongs, and the transaction path corresponding to the transaction data is generated according to the transaction details corresponding to the distributed micro-service units in the tracking number range. Therefore, the transaction detail data of the distributed system and the internal micro-service units can be serialized, and the transaction path is tracked at the micro-service level through the incidence relation of the transaction data corresponding to each micro-service unit on the transaction path.
Further, an embodiment of the present application further provides a transaction path tracking device based on a distributed system, including: a processor, a memory, a system bus;
the processor and the memory are connected through the system bus;
the memory is used for storing one or more programs, the one or more programs comprising instructions, which when executed by the processor, cause the processor to perform any implementation of the above-described distributed system-based transaction path tracking method.
Further, an embodiment of the present application also provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are run on a terminal device, the terminal device is caused to execute any implementation method of the above transaction path tracking method based on the distributed system.
As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that all or part of the steps in the above embodiment methods can be implemented by software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present application may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network communication device such as a media gateway, etc.) to execute the method according to the embodiments or some parts of the embodiments of the present application.
It should be noted that, in the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A transaction path tracking method based on a distributed system is characterized by comprising the following steps:
acquiring transaction data to be tracked in a distributed system according to a preset file specification, and writing the transaction data into a data acquisition file with a fixed file name; the transaction data comprises transaction amount, success rate, processing time and response time;
carrying out serialization processing on the transaction data to obtain a global event tracking number corresponding to the transaction data, and writing the global event tracking number into a data acquisition file with a fixed file name;
traversing transaction data in the distributed application system by using the global event tracking number according to a pre-constructed global event tracking number domain to obtain transaction details corresponding to each distributed micro-service unit;
and generating a tracking number range according to the global event tracking numbers of the starting point and the end point of the transaction path to which the transaction data belongs, and generating the transaction path corresponding to the transaction data according to the transaction details corresponding to the distributed micro-service unit in the tracking number range.
2. The method according to claim 1, wherein after collecting transaction data to be tracked in a distributed system according to a preset file specification and writing the transaction data into a data collection file with a fixed file name, the method further comprises:
and switching the data acquisition file according to the date or the size.
3. The method of claim 1, wherein the global event tracking number is used for cascading a front-end distributed system and a distributed system with each micro-service unit inside; different micro service units in the distributed system correspond to different internal transaction serial numbers and global event tracking numbers.
4. The method according to claim 1, wherein after traversing transaction data in the distributed application system by using the global event tracking number according to a pre-constructed global event tracking number field to obtain transaction details corresponding to each distributed microservice unit, the method further comprises:
and displaying the transaction details corresponding to the distributed micro-service units according to different data dimensions.
5. A transaction path tracking device based on a distributed system, comprising:
the system comprises a collecting unit, a tracking unit and a tracking unit, wherein the collecting unit is used for collecting transaction data to be tracked in a distributed system according to a preset file specification and writing the transaction data into a data collecting file with a fixed file name; the transaction data comprises transaction amount, success rate, processing time and response time;
the processing unit is used for carrying out serialization processing on the transaction data to obtain a global event tracking number corresponding to the transaction data, and writing the global event tracking number into the data acquisition file with a fixed file name;
the traversing unit is used for traversing the transaction data in the distributed application system by using the global event tracking number according to a pre-constructed global event tracking number domain to obtain transaction details corresponding to each distributed micro-service unit;
and the generating unit is used for generating a tracking number range according to the global event tracking numbers of the starting point and the end point of the transaction path to which the transaction data belongs, and generating the transaction path corresponding to the transaction data according to the transaction details corresponding to the distributed microservice unit in the tracking number range.
6. The apparatus of claim 5, further comprising:
and the switching unit is used for acquiring the transaction data to be tracked in the distributed system according to the preset file specification, writing the transaction data into a data acquisition file with a fixed file name, and switching the data acquisition file according to the date or the size.
7. The apparatus of claim 5, wherein the global event tracking number is used for cascading the front-end distributed system and each micro-service unit inside the distributed system; different micro service units in the distributed system correspond to different internal transaction serial numbers and global event tracking numbers.
8. The apparatus of claim 5, further comprising:
and the display unit is used for displaying the transaction details corresponding to each distributed micro-service unit according to different data dimensions after traversing the transaction data in the distributed application system by using the global event tracking number according to a pre-constructed global event tracking number domain to obtain the transaction details corresponding to each distributed micro-service unit.
9. A transaction path tracking device based on a distributed system, comprising: a processor, a memory, a system bus;
the processor and the memory are connected through the system bus;
the memory is to store one or more programs, the one or more programs comprising instructions, which when executed by the processor, cause the processor to perform the method of any of claims 1-4.
10. A computer-readable storage medium having stored therein instructions that, when executed on a terminal device, cause the terminal device to perform the method of any one of claims 1-4.
CN202110448517.7A 2021-04-25 2021-04-25 Transaction path tracking method, device and equipment based on distributed system Pending CN113190525A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110448517.7A CN113190525A (en) 2021-04-25 2021-04-25 Transaction path tracking method, device and equipment based on distributed system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110448517.7A CN113190525A (en) 2021-04-25 2021-04-25 Transaction path tracking method, device and equipment based on distributed system

Publications (1)

Publication Number Publication Date
CN113190525A true CN113190525A (en) 2021-07-30

Family

ID=76978786

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110448517.7A Pending CN113190525A (en) 2021-04-25 2021-04-25 Transaction path tracking method, device and equipment based on distributed system

Country Status (1)

Country Link
CN (1) CN113190525A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024072430A1 (en) * 2022-09-30 2024-04-04 Jpmorgan Chase Bank, N.A. Method, system and computer readable medium for the automated reconstruction of an application

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024072430A1 (en) * 2022-09-30 2024-04-04 Jpmorgan Chase Bank, N.A. Method, system and computer readable medium for the automated reconstruction of an application

Similar Documents

Publication Publication Date Title
CN107528872B (en) Data recovery method and device and cloud storage system
CN103793479A (en) Log management method and log management system
CN103020093B (en) The recording of XBRL information announcing report and methods of exhibiting and system thereof
CN107181821A (en) A kind of information push method and device based on SSE specifications
CN105760380A (en) Database query method, device and system
CN104657435A (en) Storage management method for application data and network management system
CN103793530A (en) Method, device and system for cleaning up business data regularly
CN103514273B (en) DAM control system and the data processing method of this system
CN113190525A (en) Transaction path tracking method, device and equipment based on distributed system
WO2020024798A1 (en) Efficient storage method for time series data
CN116483822B (en) Service data early warning method, device, computer equipment and storage medium
CN103778231A (en) Method and system for managing operation record information, of databank
CN112799951B (en) Method and equipment for generating automatic test case for charging system
CN101753373A (en) Mass alarm searching method and system
CN115712654A (en) Method and device for inquiring transaction state
CN112488708B (en) Block chain account relevance query method and false transaction screening method
CN113570444A (en) Non-tax payment report processing method and query system based on non-tax payment book
CN111753020A (en) Method and device for establishing relational network model
CN111274255A (en) Service data monitoring method and system, monitoring architecture, equipment and storage medium
CN112685557A (en) Visualized information resource management method and device
CN101771566A (en) Method, device and system for transmitting performance data between web masters
CN110059234A (en) Water utilities anomalous event method for detecting and device, computer installation and storage medium
CN109992583A (en) A kind of management platform and method based on DMP label
CN100557611C (en) A kind of disposal route of file and device
CN111090654A (en) Real-time data filing system based on GIS

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