CN113868089A - Transaction data processing method and device - Google Patents

Transaction data processing method and device Download PDF

Info

Publication number
CN113868089A
CN113868089A CN202111166025.5A CN202111166025A CN113868089A CN 113868089 A CN113868089 A CN 113868089A CN 202111166025 A CN202111166025 A CN 202111166025A CN 113868089 A CN113868089 A CN 113868089A
Authority
CN
China
Prior art keywords
transaction
data
path
detail data
transaction detail
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.)
Granted
Application number
CN202111166025.5A
Other languages
Chinese (zh)
Other versions
CN113868089B (en
Inventor
李琪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN202111166025.5A priority Critical patent/CN113868089B/en
Publication of CN113868089A publication Critical patent/CN113868089A/en
Application granted granted Critical
Publication of CN113868089B publication Critical patent/CN113868089B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3089Monitoring arrangements determined by the means or processing involved in sensing the monitored data, e.g. interfaces, connectors, sensors, probes, agents

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention provides a transaction data processing method and a device, wherein the method comprises the following steps: acquiring each transaction detail data generated in each sub-period in the target period; for each transaction detail data generated in each sub-period, grouping each transaction detail data generated in the sub-period according to the global tracking identification of each transaction detail data generated in the sub-period to obtain each transaction detail data group; the transaction detail data in the transaction detail data group are connected in series to obtain transaction path data of the transaction detail data group, and the transaction path data are combined according to the path identification of each transaction path data to obtain transaction line data of a target time period; and when a display instruction for the transaction line data is received, displaying the transaction line data. By applying the method provided by the invention, the execution route relation in each transaction detail data can be displayed, so that the investigation duration of the transaction details is reduced.

Description

Transaction data processing method and device
Technical Field
The invention relates to the technical field of computers, in particular to a transaction data processing method and device.
Background
At present, commercial bank transaction systems are more and more, the deployment architecture is gradually complex, and one transaction often needs to be processed by a plurality of systems and finally falls to the ground. A transaction monitoring mechanism is deployed in the data center, records the actual transaction detail of each transaction, and can quickly position the position and the component of the fault in a single-point fault scene.
However, in a multi-point fault scenario, at present, operation and maintenance personnel are also required to check each component one by one according to expert experience and transaction details related to the fault, and confirm the fault influence range and the fault source. The troubleshooting steps are complex and time-consuming, and the operation and maintenance requirements for rapidly positioning and disposing the fault service influence cannot be met in the emergency treatment process.
Disclosure of Invention
The invention aims to provide a transaction data processing method which can display the execution route relation in each transaction detail data so as to reduce the investigation duration of the transaction details.
The invention also provides a transaction data processing device which is used for ensuring the realization and the application of the method in practice.
A transaction data processing method, comprising:
acquiring each transaction detail data generated in each sub-period in the target period; the transaction detail data comprises path description information of the transaction to which the transaction detail data belongs;
for each transaction detail data generated in each sub-period, grouping each transaction detail data generated in the sub-period according to the global tracking identifier of each transaction detail data generated in the sub-period to obtain each transaction detail data group; according to the path description information of each transaction detail data in each transaction detail data group, the transaction detail data in the transaction detail data group are connected in series, the transaction path data of the transaction detail data group are obtained, and a path identifier of each transaction path data is generated;
merging the transaction path data according to the path identifier of each transaction path data to obtain transaction line data of the target time period;
and when a display instruction aiming at the transaction line data is received, displaying the transaction line data.
Optionally, the above method, where the merging the path identifier data according to the path identifier of each transaction path data to obtain the transaction line data of the target time period includes:
merging the path identification data according to the path identification of each transaction path data to obtain each initial transaction line data of the target time period, and generating the transaction line identification of each initial transaction line data;
and merging the initial transaction lines according to the transaction line identification of each initial transaction line to obtain the transaction line data of each transaction line identification in the target time period.
Optionally, the method for generating the trade line identifier of each initial trade line data includes:
acquiring first transaction detail data in each initial transaction line data;
and composing the initiator system information and the transaction code of the first transaction detail data in each initial transaction line data into a transaction line identifier of each initial transaction line.
Optionally, the aforementioned method, where, according to the path description information of each transaction detail data in each transaction detail data group, the transaction detail data in the transaction detail data group is concatenated to obtain the transaction path data of the transaction detail data group, includes:
determining the first transaction detail data in each transaction detail data in the transaction detail data group; the system information of the system to which the first transaction detail data belongs is consistent with the initiator system information in the path description information of the first transaction detail data; the path description information comprises at least one of initiator system information, sender system information and receiver system information;
according to the path description information in each transaction detail data in the transaction detail data group, with the first transaction detail data as a starting point, connecting each transaction detail data in the transaction detail data group in series to obtain transaction path data of the transaction detail data group, wherein for two adjacent transaction detail data in the transaction path data; the two transaction detail data comprise first transaction detail data and second transaction detail data, and the system information of a receiver of the first transaction detail data is consistent with the system information of a sender of the second transaction detail data; the second transaction detail data is concatenated after the first transaction detail data.
The method mentioned above, optionally, the generating a path identifier of each transaction path data includes:
splicing the system information of the system to which each transaction detail data belongs and the transaction code to obtain the feature code of each transaction detail data;
splicing the feature codes of each transaction detail data in each transaction path data according to the arrangement sequence of each transaction detail data in each transaction path to obtain a path code of each transaction path data;
generating a path identification for each of the transaction path data based on the path code for each of the transaction path data.
A transaction data processing apparatus comprising:
the acquisition unit is used for acquiring the transaction detail data generated in each sub-period in the target period; the transaction detail data comprises path description information of the transaction to which the transaction detail data belongs;
the first execution unit is used for grouping the transaction detail data generated in the sub-period according to the global tracking identification of each transaction detail data generated in the sub-period to obtain each transaction detail data group; according to the path description information of each transaction detail data in each transaction detail data group, the transaction detail data in the transaction detail data group are connected in series, the transaction path data of the transaction detail data group are obtained, and a path identifier of each transaction path data is generated;
the second execution unit is used for merging the transaction path data according to the path identifier of each transaction path data to obtain the transaction line data of the target time period;
and the display unit is used for displaying the transaction line data when receiving a display instruction aiming at the transaction line data.
The above apparatus, optionally, the second execution unit includes:
the first execution subunit is configured to merge the path identifier data according to a path identifier of each transaction path data, obtain each initial transaction line data of the target time period, and generate a transaction line identifier of each initial transaction line data;
and the second execution subunit is used for merging the initial transaction lines according to the transaction line identifier of each initial transaction line to obtain the transaction line data of each transaction line identifier of the target time period.
The above apparatus, optionally, the first execution subunit includes:
the acquisition module is used for acquiring the first transaction detail data in each initial transaction line data;
and the execution module is used for forming the transaction line identifier of each initial transaction line by the initiator system information and the transaction code of the first transaction detail data in each initial transaction line data.
The above apparatus, optionally, the first execution unit includes:
the determining subunit is used for determining the first transaction detail data in each transaction detail data in the transaction detail data group; the system information of the system to which the first transaction detail data belongs is consistent with the initiator system information in the path description information of the first transaction detail data; the path description information comprises at least one of initiator system information, sender system information and receiver system information;
a third execution subunit, configured to, according to path description information in each transaction detail data in the transaction detail data set, take the first transaction detail data as a starting point, concatenate the transaction detail data in the transaction detail data set, and obtain transaction path data of the transaction detail data set, where for two adjacent transaction detail data in the transaction path data; the two transaction detail data comprise first transaction detail data and second transaction detail data, and the system information of a receiver of the first transaction detail data is consistent with the system information of a sender of the second transaction detail data; the second transaction detail data is concatenated after the first transaction detail data.
The above apparatus, optionally, the first execution unit includes:
the fourth execution subunit is used for splicing the system information of the system to which each transaction detail data belongs and the transaction code to obtain the feature code of each transaction detail data;
the fifth execution subunit is configured to splice feature codes of each transaction detail data in each transaction path data according to the arrangement order of each transaction detail data in each transaction path, and obtain a path code of each transaction path data;
and the generating subunit is used for generating a path identifier of each transaction path data based on the path code of each transaction path data.
Compared with the prior art, the invention has the following advantages:
the invention provides a transaction data processing method and a device, which can firstly acquire each transaction detail data generated in each sub-period in a target period; the transaction detail data comprises path description information of the transaction to which the transaction detail data belongs; for each transaction detail data generated in each sub-period, grouping each transaction detail data generated in the sub-period according to the global tracking identifier of each transaction detail data generated in the sub-period to obtain each transaction detail data group; according to the path description information of each transaction detail data in each transaction detail data group, the transaction detail data in the transaction detail data group are connected in series, the transaction path data of the transaction detail data group are obtained, and a path identifier of each transaction path data is generated; merging the transaction path data according to the path identifier of each transaction path data to obtain transaction line data of the target time period; and when a display instruction aiming at the transaction line data is received, displaying the transaction line data. The method can display the execution line relation of the transaction detail data of each transaction in the target time period, and can quickly determine the fault influence range and the fault source based on the transaction line data under the condition that a fault occurs in the transaction system.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of a method of transaction data processing according to the present invention;
FIG. 2 is a flow chart of a process for obtaining line of transaction data for a target time period according to the present invention;
FIG. 3 is a flow chart of a transaction line identification process for generating each initial transaction line datum provided by the present invention;
FIG. 4 is a flow chart of a transaction line data generation process provided by the present invention;
FIG. 5 is a schematic diagram of a transaction data processing apparatus according to the present invention;
fig. 6 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the 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 invention.
In this application, 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.
An embodiment of the present invention provides a transaction data processing method, which may be applied to an electronic device, where a method flowchart of the method is shown in fig. 1, and specifically includes:
s101: acquiring each transaction detail data generated in each sub-period in the target period; the transaction detail data comprises path description information of the transaction to which the transaction detail data belongs.
In the embodiment of the present invention, the duration of the target period may be any duration, for example, may be 6 hours, 12 hours, a day, a week or a month, etc., and the sub-period may be 5 minutes, 10 minutes or 1 hour, etc.
The path description information in the transaction specification may include one or more of initiator system information, sender system information, receiver system information, and the like.
S102: for each transaction detail data generated in each sub-period, grouping each transaction detail data generated in the sub-period according to the global tracking identifier of each transaction detail data generated in the sub-period to obtain each transaction detail data group; and according to the path description information of each transaction detail data in each transaction detail data group, serially connecting the transaction detail data in the transaction detail data group to obtain the transaction path data of the transaction detail data group, and generating a path identifier of each transaction path data.
In the embodiment of the present invention, the global trace identifiers of the transaction detail data in each transaction detail data group are the same, that is, the transaction detail data with the same global trace identifier are divided into the same transaction detail data group.
The method comprises the steps of determining a path dependency relationship between every two transaction detail data according to path description information of every two transaction detail data in a transaction detail data group, and connecting the transaction detail data in the transaction detail data group in series according to the path dependency relationship between every two transaction detail data to obtain transaction path data of the transaction detail data group.
Specifically, the transaction detail data in each transaction detail data group may be concatenated according to a preset concatenation rule.
S103: and merging the transaction path data according to the path identifier of each transaction path data to obtain the transaction line data of the target time period.
In the embodiment of the present invention, the transaction path data with the same path identifier may be merged to obtain the transaction line data of the target time period.
When the transaction detail data of the fault transaction exists in each transaction detail data, one or more of a system, a component, a transaction detail, a fault source and the like associated with the fault transaction are determined based on the transaction line data to which the transaction detail data of the fault transaction belongs.
S104: and when a display instruction aiming at the transaction line data is received, displaying the transaction line data.
In an embodiment of the present invention, the display instruction may be triggered by a failure of at least one transaction system to which the transaction line data belongs. Specifically, the transaction line is automatically calculated based on the transaction detail data, corresponding data can be quickly called out in a scene needing to be used, each system path through which the transaction passes is displayed, the path and range influenced by fault transaction can be determined based on the displayed transaction line data, and the operation and maintenance efficiency is improved.
In an embodiment of the present invention, based on the implementation process, specifically, the merging the path identifier data according to the path identifier of each transaction path data to obtain the transaction line data in the target time period, as shown in fig. 2, specifically includes:
s201: and merging the path identification data according to the path identification of each transaction path data to obtain each initial transaction line data of the target time period, and generating the transaction line identification of each initial transaction line data.
The transaction path data with the same path identifier may be merged, and specifically, the transaction amount data identifying the same transaction path data may be accumulated, and repeated transaction paths are removed, so as to obtain each initial transaction line data of the target time period.
S202: and merging the initial transaction lines according to the transaction line identification of each initial transaction line to obtain the transaction line data of each transaction line identification in the target time period.
In the embodiment of the invention, the initial trading line data with the same trading line identification are merged, and the trading volume data in the trading lines with the same identification are accumulated to obtain the trading line data of each trading line identification in a target time period.
In an embodiment of the present invention, based on the implementation process, specifically, the generating a transaction line identifier of each initial transaction line data, as shown in fig. 3, includes:
s301: and acquiring first transaction detail data in each initial transaction line data.
In the embodiment of the invention, each initial transaction line data is formed by connecting a plurality of transaction detail data in series, and the first transaction detail data in each initial transaction line data can be obtained.
S302: and composing the initiator system information and the transaction code of the first transaction detail data in each initial transaction line data into a transaction line identifier of each initial transaction line.
The initiator system information may include an initiator system code, and the transaction code may be a code of a transaction to which the first transaction detail data belongs.
In an embodiment of the present invention, based on the implementation process, specifically, the obtaining transaction path data of the transaction detail data set by concatenating the transaction detail data in each transaction detail data set according to the path description information of each transaction detail data in each transaction detail data set includes:
determining first transaction detail data in each transaction detail data in the transaction detail data group; the system information of the system to which the first transaction detail data belongs is consistent with the initiator system information in the path description information of the first transaction detail data; the path description information comprises at least one of initiator system information, sender system information and receiver system information;
according to path description information in each transaction detail data in the transaction detail data group, with the first transaction detail data as a starting point, connecting each transaction detail data in the transaction detail data group in series to obtain transaction path data of the transaction detail data group, wherein for two adjacent transaction detail data in the transaction path data; the two transaction detail data comprise first transaction detail data and second transaction detail data, and the system information of a receiver of the first transaction detail data is consistent with the system information of a sender of the second transaction detail data; the second transaction detail data is concatenated after the first transaction detail data.
The system to which the transaction detail data belongs may be a system that generates the transaction detail data, the sender system information may be system information of an upstream system of the system to which the transaction detail data belongs, the receiver system information may be system information of a downstream system of the system to which the transaction detail data belongs, and the system to which the transaction detail data belongs may receive the transaction information sent by the upstream system and send the transaction information to the downstream system.
In an embodiment of the present invention, based on the implementation process, specifically, the generating a path identifier of each transaction path data includes:
splicing the system information of the system to which each transaction detail data belongs and the transaction code to obtain the feature code of each transaction detail data;
splicing the feature codes of each transaction detail data in each transaction path data according to the arrangement sequence of each transaction detail data in each transaction path to obtain a path code of each transaction path data;
generating a path identification for each of the transaction path data based on the path code for each of the transaction path data.
In the embodiment of the present invention, the path code may be calculated in a preset calculation manner, for example, the path code may be subjected to hash operation, etc., so as to obtain the path identifier of the transaction path data.
The transaction data processing method provided in the embodiment of the present invention can be applied in various fields, for example, in the field of financial technology, and the following describes a generation process of transaction line data by taking a bank system as an example, as shown in fig. 4, specifically including:
firstly, all transaction detail data are collected every 10 minutes, the global tracking number is used as a unique identifier, and the transaction details are grouped according to the global tracking number. Traversing all transaction details in each group, and performing path series connection on the transaction details according to fields of an initiator, a sender and a receiver in the transaction details, wherein the series connection principle is as follows:
(a) traversing all the details, finding out the transaction detail data of which the field content of the first initiator is marked with the system, and using the transaction detail data as a first node in the path;
(b) traversing the remaining details according to the field of the receiver of the first node, finding out the details which accord with the description of the field of the receiver, connecting the found details in series behind the first node if the field of the sender of the details accords with the description of the first node, and connecting the found details in series in parallel if a plurality of the found details exist;
(c) and traversing each node A connected in series to the path in sequence, finding out the node B which accords with the field description of a receiver of the node A and accords with the field description of a sender of the node A, connecting the node B behind the node A in series, and connecting the node B behind the node A in parallel if a plurality of node B exist.
(d) If the details which are not connected to the path in series are found after traversing is completed, the details are ignored, and the accuracy of the transaction path is ensured;
(e) the transaction path unique identifier generation rule is as follows: after the generated transaction path is calculated, the system codes and the transaction codes of all nodes in the flow are combined into a character string according to the sequence in the path, and a code is generated according to the character string to serve as the unique identification of the transaction path.
And secondly, merging the 10-minute-level transaction path data generated in the previous process every day according to the unique identification of the transaction path, accumulating the transaction amount data in the transaction paths with the same identification, removing repeated transaction paths, and only one piece of data exists in each transaction path with the unique identification after merging, wherein the transaction amount is already summarized. Supplementing a transaction line unique identification attribute to each transaction path, wherein a transaction line unique identification generation rule is as follows: the system code and the transaction code of the first node in the path are combined into a character string.
And thirdly, merging daily transaction path data generated in the previous process every day according to the unique identification of the transaction line, accumulating the transaction amount data in the transaction lines with the same identification, and only one piece of data exists in each transaction line with the unique identification after merging, and the transaction amount is summarized without repeated transaction paths.
Corresponding to the method illustrated in fig. 1, an embodiment of the present invention further provides a transaction data processing apparatus, which is used for implementing the method illustrated in fig. 1 specifically, the transaction data processing apparatus provided in the embodiment of the present invention may be applied to an electronic device, and a schematic structural diagram of the transaction data processing apparatus is illustrated in fig. 5, and specifically includes:
an obtaining unit 501, configured to obtain each transaction detail data generated in each sub-period in a target period; the transaction detail data comprises path description information of the transaction to which the transaction detail data belongs;
the first execution unit 502 is configured to, for each transaction detail data generated in each sub-period, group each transaction detail data generated in the sub-period according to the global tracking identifier of each transaction detail data generated in the sub-period, and obtain each transaction detail data group; according to the path description information of each transaction detail data in each transaction detail data group, the transaction detail data in the transaction detail data group are connected in series, the transaction path data of the transaction detail data group are obtained, and a path identifier of each transaction path data is generated;
a second executing unit 503, configured to merge the transaction path data according to a path identifier of each transaction path data, so as to obtain transaction line data of the target time interval;
a display unit 504, configured to display the transaction line data when a display instruction for the transaction line data is received.
In an embodiment of the invention, based on the foregoing implementation process, specifically, the second executing unit 503 includes:
the first execution subunit is configured to merge the path identifier data according to a path identifier of each transaction path data, obtain each initial transaction line data of the target time period, and generate a transaction line identifier of each initial transaction line data;
and the second execution subunit is used for merging the initial transaction lines according to the transaction line identifier of each initial transaction line to obtain the transaction line data of each transaction line identifier of the target time period.
In an embodiment of the invention, based on the foregoing implementation process, specifically, the first execution subunit includes:
the acquisition module is used for acquiring the first transaction detail data in each initial transaction line data;
and the execution module is used for forming the transaction line identifier of each initial transaction line by the initiator system information and the transaction code of the first transaction detail data in each initial transaction line data.
In an embodiment of the invention, based on the foregoing implementation process, specifically, the first executing unit 502 includes:
the determining subunit is used for determining the first transaction detail data in each transaction detail data in the transaction detail data group; the system information of the system to which the first transaction detail data belongs is consistent with the initiator system information in the path description information of the first transaction detail data; the path description information comprises at least one of initiator system information, sender system information and receiver system information;
a third execution subunit, configured to, according to path description information in each transaction detail data in the transaction detail data set, take the first transaction detail data as a starting point, concatenate the transaction detail data in the transaction detail data set, and obtain transaction path data of the transaction detail data set, where for two adjacent transaction detail data in the transaction path data; the two transaction detail data comprise first transaction detail data and second transaction detail data, and the system information of a receiver of the first transaction detail data is consistent with the system information of a sender of the second transaction detail data; the second transaction detail data is concatenated after the first transaction detail data.
In an embodiment of the invention, based on the foregoing implementation process, specifically, the first executing unit 502 includes:
the fourth execution subunit is used for splicing the system information of the system to which each transaction detail data belongs and the transaction code to obtain the feature code of each transaction detail data;
the fifth execution subunit is configured to splice feature codes of each transaction detail data in each transaction path data according to the arrangement order of each transaction detail data in each transaction path, and obtain a path code of each transaction path data;
and the generating subunit is used for generating a path identifier of each transaction path data based on the path code of each transaction path data.
The specific principle and the implementation process of each unit and each module in the transaction data processing device disclosed in the embodiment of the present invention are the same as those of the transaction data processing method disclosed in the embodiment of the present invention, and reference may be made to corresponding parts in the transaction data processing method provided in the embodiment of the present invention, which are not described herein again.
The embodiment of the invention also provides a storage medium, which comprises a stored instruction, wherein when the instruction runs, the equipment where the storage medium is located is controlled to execute the transaction data processing method.
An electronic device is provided in an embodiment of the present invention, and the structural diagram of the electronic device is shown in fig. 6, which specifically includes a memory 601 and one or more instructions 602, where the one or more instructions 602 are stored in the memory 601 and configured to be executed by one or more processors 603 to perform the following operations on the one or more instructions 602:
acquiring each transaction detail data generated in each sub-period in the target period; the transaction detail data comprises path description information of the transaction to which the transaction detail data belongs;
for each transaction detail data generated in each sub-period, grouping each transaction detail data generated in the sub-period according to the global tracking identifier of each transaction detail data generated in the sub-period to obtain each transaction detail data group; according to the path description information of each transaction detail data in each transaction detail data group, the transaction detail data in the transaction detail data group are connected in series, the transaction path data of the transaction detail data group are obtained, and a path identifier of each transaction path data is generated;
merging the transaction path data according to the path identifier of each transaction path data to obtain transaction line data of the target time period;
and when a display instruction aiming at the transaction line data is received, displaying the transaction line data.
It should be noted that, in the present specification, the embodiments are all 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. For the device-like embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
Finally, it should also be 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.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functions of the units may be implemented in the same software and/or hardware or in a plurality of software and/or hardware when implementing the invention.
From the above description of the embodiments, it is clear to those skilled in the art that the present invention can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The transaction data processing method provided by the invention is described in detail above, and the principle and the implementation mode of the invention are explained by applying specific examples, and the description of the above examples is only used for helping understanding the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A transaction data processing method, comprising:
acquiring each transaction detail data generated in each sub-period in the target period; the transaction detail data comprises path description information of the transaction to which the transaction detail data belongs;
for each transaction detail data generated in each sub-period, grouping each transaction detail data generated in the sub-period according to the global tracking identifier of each transaction detail data generated in the sub-period to obtain each transaction detail data group; according to the path description information of each transaction detail data in each transaction detail data group, the transaction detail data in the transaction detail data group are connected in series, the transaction path data of the transaction detail data group are obtained, and a path identifier of each transaction path data is generated;
merging the transaction path data according to the path identifier of each transaction path data to obtain transaction line data of the target time period;
and when a display instruction aiming at the transaction line data is received, displaying the transaction line data.
2. The method according to claim 1, wherein the merging the path identification data according to the path identification of each transaction path data to obtain the transaction line data of the target time period comprises:
merging the path identification data according to the path identification of each transaction path data to obtain each initial transaction line data of the target time period, and generating the transaction line identification of each initial transaction line data;
and merging the initial transaction lines according to the transaction line identification of each initial transaction line to obtain the transaction line data of each transaction line identification in the target time period.
3. The method of claim 2, wherein generating a trade line identification for each of the initial trade line data comprises:
acquiring first transaction detail data in each initial transaction line data;
and composing the initiator system information and the transaction code of the first transaction detail data in each initial transaction line data into a transaction line identifier of each initial transaction line.
4. The method according to claim 1, wherein the obtaining the transaction path data of the transaction detail data sets by concatenating the transaction detail data in each transaction detail data set according to the path description information of each transaction detail data in each transaction detail data set comprises:
determining the first transaction detail data in each transaction detail data in the transaction detail data group; the system information of the system to which the first transaction detail data belongs is consistent with the initiator system information in the path description information of the first transaction detail data; the path description information comprises at least one of initiator system information, sender system information and receiver system information;
according to the path description information in each transaction detail data in the transaction detail data group, with the first transaction detail data as a starting point, connecting each transaction detail data in the transaction detail data group in series to obtain transaction path data of the transaction detail data group, wherein for two adjacent transaction detail data in the transaction path data; the two transaction detail data comprise first transaction detail data and second transaction detail data, and the system information of a receiver of the first transaction detail data is consistent with the system information of a sender of the second transaction detail data; the second transaction detail data is concatenated after the first transaction detail data.
5. The method of claim 1, wherein generating a path identifier for each of the transaction path data comprises:
splicing the system information of the system to which each transaction detail data belongs and the transaction code to obtain the feature code of each transaction detail data;
splicing the feature codes of each transaction detail data in each transaction path data according to the arrangement sequence of each transaction detail data in each transaction path to obtain a path code of each transaction path data;
generating a path identification for each of the transaction path data based on the path code for each of the transaction path data.
6. A transaction data processing apparatus, comprising:
the acquisition unit is used for acquiring the transaction detail data generated in each sub-period in the target period; the transaction detail data comprises path description information of the transaction to which the transaction detail data belongs;
the first execution unit is used for grouping the transaction detail data generated in the sub-period according to the global tracking identification of each transaction detail data generated in the sub-period to obtain each transaction detail data group; according to the path description information of each transaction detail data in each transaction detail data group, the transaction detail data in the transaction detail data group are connected in series, the transaction path data of the transaction detail data group are obtained, and a path identifier of each transaction path data is generated;
the second execution unit is used for merging the transaction path data according to the path identifier of each transaction path data to obtain the transaction line data of the target time period;
and the display unit is used for displaying the transaction line data when receiving a display instruction aiming at the transaction line data.
7. The apparatus of claim 6, wherein the second execution unit comprises:
the first execution subunit is configured to merge the path identifier data according to a path identifier of each transaction path data, obtain each initial transaction line data of the target time period, and generate a transaction line identifier of each initial transaction line data;
and the second execution subunit is used for merging the initial transaction lines according to the transaction line identifier of each initial transaction line to obtain the transaction line data of each transaction line identifier of the target time period.
8. The apparatus of claim 7, wherein the first execution subunit comprises:
the acquisition module is used for acquiring the first transaction detail data in each initial transaction line data;
and the execution module is used for forming the transaction line identifier of each initial transaction line by the initiator system information and the transaction code of the first transaction detail data in each initial transaction line data.
9. The apparatus of claim 6, wherein the first execution unit comprises:
the determining subunit is used for determining the first transaction detail data in each transaction detail data in the transaction detail data group; the system information of the system to which the first transaction detail data belongs is consistent with the initiator system information in the path description information of the first transaction detail data; the path description information comprises at least one of initiator system information, sender system information and receiver system information;
a third execution subunit, configured to, according to path description information in each transaction detail data in the transaction detail data set, take the first transaction detail data as a starting point, concatenate the transaction detail data in the transaction detail data set, and obtain transaction path data of the transaction detail data set, where for two adjacent transaction detail data in the transaction path data; the two transaction detail data comprise first transaction detail data and second transaction detail data, and the system information of a receiver of the first transaction detail data is consistent with the system information of a sender of the second transaction detail data; the second transaction detail data is concatenated after the first transaction detail data.
10. The apparatus of claim 6, wherein the first execution unit comprises:
the fourth execution subunit is used for splicing the system information of the system to which each transaction detail data belongs and the transaction code to obtain the feature code of each transaction detail data;
the fifth execution subunit is configured to splice feature codes of each transaction detail data in each transaction path data according to the arrangement order of each transaction detail data in each transaction path, and obtain a path code of each transaction path data;
and the generating subunit is used for generating a path identifier of each transaction path data based on the path code of each transaction path data.
CN202111166025.5A 2021-09-30 2021-09-30 Transaction data processing method and device Active CN113868089B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111166025.5A CN113868089B (en) 2021-09-30 2021-09-30 Transaction data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111166025.5A CN113868089B (en) 2021-09-30 2021-09-30 Transaction data processing method and device

Publications (2)

Publication Number Publication Date
CN113868089A true CN113868089A (en) 2021-12-31
CN113868089B CN113868089B (en) 2024-07-19

Family

ID=79001530

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111166025.5A Active CN113868089B (en) 2021-09-30 2021-09-30 Transaction data processing method and device

Country Status (1)

Country Link
CN (1) CN113868089B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111210225A (en) * 2020-01-14 2020-05-29 中国建设银行股份有限公司 State monitoring method, device, equipment and storage medium of transaction system
CN111639120A (en) * 2020-06-05 2020-09-08 中国建设银行股份有限公司 Method, device and equipment for forming graph of architecture view and readable storage medium
CN111724158A (en) * 2020-05-25 2020-09-29 中国建设银行股份有限公司 Transaction path generation method and system, and related computer device and storage medium
CN111784516A (en) * 2020-06-15 2020-10-16 华青融天(北京)软件股份有限公司 Method and device for determining service path and electronic equipment
CN111784320A (en) * 2020-07-27 2020-10-16 支付宝(杭州)信息技术有限公司 Data association method and device and electronic equipment
CN111796955A (en) * 2020-05-28 2020-10-20 中国建设银行股份有限公司 Fault source positioning method, system, device and storage medium
CN112433913A (en) * 2020-11-23 2021-03-02 中国建设银行股份有限公司 Transaction path generation method, system, computer device and storage medium
US20210224648A1 (en) * 2020-01-17 2021-07-22 Visa International Service Association System, Method, and Computer Program Product for Multivariate Event Prediction Using Multi-Stream Recurrent Neural Networks

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111210225A (en) * 2020-01-14 2020-05-29 中国建设银行股份有限公司 State monitoring method, device, equipment and storage medium of transaction system
US20210224648A1 (en) * 2020-01-17 2021-07-22 Visa International Service Association System, Method, and Computer Program Product for Multivariate Event Prediction Using Multi-Stream Recurrent Neural Networks
CN111724158A (en) * 2020-05-25 2020-09-29 中国建设银行股份有限公司 Transaction path generation method and system, and related computer device and storage medium
CN111796955A (en) * 2020-05-28 2020-10-20 中国建设银行股份有限公司 Fault source positioning method, system, device and storage medium
CN111639120A (en) * 2020-06-05 2020-09-08 中国建设银行股份有限公司 Method, device and equipment for forming graph of architecture view and readable storage medium
CN111784516A (en) * 2020-06-15 2020-10-16 华青融天(北京)软件股份有限公司 Method and device for determining service path and electronic equipment
CN111784320A (en) * 2020-07-27 2020-10-16 支付宝(杭州)信息技术有限公司 Data association method and device and electronic equipment
CN112433913A (en) * 2020-11-23 2021-03-02 中国建设银行股份有限公司 Transaction path generation method, system, computer device and storage medium

Also Published As

Publication number Publication date
CN113868089B (en) 2024-07-19

Similar Documents

Publication Publication Date Title
EP3373516B1 (en) Method and device for processing service calling information
US11368506B2 (en) Fault handling for computer nodes in stream computing system
CN107886414B (en) Order combination method and equipment and computer storage medium
CN107153646B (en) Data processing method and equipment
CN110515968B (en) Method and apparatus for outputting information
CN111724158B (en) Transaction path generation method, system, related computer equipment and storage medium
CN104794639A (en) Method and equipment for determining value of previous orders of users
CN109446208A (en) A kind of date storage method, computer readable storage medium and server
CN111210029A (en) Device and method for auxiliary analysis of service and related equipment
CN109359109B (en) Data processing method and system based on distributed stream computing
CN106096926B (en) Event processing method, device, electronic device and storage medium
CN114022151A (en) Block chain data visualization method and system, electronic device and storage medium
CN113868089B (en) Transaction data processing method and device
CN113721950A (en) Resource loss prevention and control processing method and device
CN112991029A (en) Account checking method and device
CN106708869B (en) Group data processing method and device
CN113094241B (en) Method, device, equipment and storage medium for determining accuracy of real-time program
CN113688012A (en) Call chain monitoring system and method
CN114239296A (en) Data processing method and device and electronic equipment
CN112650911A (en) Service message issuing method, device, computer equipment and storage medium
CN112241889A (en) Account detail repairing method, device, equipment and storage medium
CN112417230A (en) Freight rate data processing method and device and electronic equipment
CN112799797A (en) Task management method and device
CN112256688B (en) Service data cleaning method and device and electronic equipment
CN116701408B (en) Flight service primary key processing method and device, electronic equipment and 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
GR01 Patent grant