CN113868089B - Transaction data processing method and device - Google Patents
Transaction data processing method and device Download PDFInfo
- Publication number
- CN113868089B CN113868089B CN202111166025.5A CN202111166025A CN113868089B CN 113868089 B CN113868089 B CN 113868089B CN 202111166025 A CN202111166025 A CN 202111166025A CN 113868089 B CN113868089 B CN 113868089B
- Authority
- CN
- China
- Prior art keywords
- transaction
- data
- detail data
- path
- 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.)
- Active
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 15
- 238000000034 method Methods 0.000 claims abstract description 44
- 239000003999 initiator Substances 0.000 claims description 23
- 238000012545 processing Methods 0.000 claims description 9
- 238000011835 investigation Methods 0.000 abstract description 2
- 230000008569 process Effects 0.000 description 20
- 238000010586 diagram Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000003203 everyday effect Effects 0.000 description 2
- 238000011144 upstream manufacturing Methods 0.000 description 2
- 230000002354 daily effect Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000001502 supplementing effect Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3089—Monitoring 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)
- Business, Economics & Management (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- General Physics & Mathematics (AREA)
- Development Economics (AREA)
- Technology Law (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Marketing (AREA)
- Economics (AREA)
- Quality & Reliability (AREA)
- General Engineering & Computer Science (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 by each sub-period in the target period; for each transaction detail data generated in each subinterval, grouping each transaction detail data generated in the subinterval according to the global tracking identification of each transaction detail data generated in the subinterval to obtain each transaction detail data group; the transaction detail data in the transaction detail data set are connected in series to obtain transaction path data of the transaction detail data set, 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 period; when a display instruction for transaction line data is received, the transaction line data is displayed. 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 detail is reduced.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a transaction data processing method and apparatus.
Background
At present, commercial banking transaction systems are more and more, deployment architecture is gradually complex, and one transaction often needs to be processed by a plurality of systems and finally falls to the ground. The data center is provided with a transaction monitoring mechanism, records the transaction details of each actual occurrence, and can rapidly locate the position and the components of the occurrence of the faults in a single-point fault scene.
However, in the multi-point fault scenario, operation and maintenance personnel are required to check each component one by one according to expert experience and each transaction detail related to the fault, and confirm the fault influence range and the fault source. The checking step is complex and time-consuming, and the operation and maintenance requirements of rapidly positioning and disposing the influence of the fault business can not be met in the emergency treatment process.
Disclosure of Invention
The technical problem to be solved by the invention is 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 detail.
The invention also provides a transaction data processing device which is used for ensuring the realization and application of the method in practice.
A transaction data processing method, comprising:
acquiring each transaction detail data generated by each sub-period in the target period; the transaction detail data comprises path description information of a transaction to which the transaction detail data belongs;
For each transaction detail data generated by each sub-period, grouping each transaction detail data generated by the sub-period according to the global tracking identifier of each transaction detail data generated by 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 to obtain the transaction path data of the transaction detail data group, and the path identifier of each transaction path data is generated;
Combining the transaction path data according to the path identification of each transaction path data to obtain transaction line data of the target period;
and when a display instruction for the transaction line data is received, displaying the transaction line data.
In the above method, optionally, the merging the path identification data according to the path identification of each transaction path data to obtain transaction line data of the target period includes:
Combining the path identification data according to the path identification of each transaction path data to obtain initial transaction line data of the target period, and generating transaction line identifications of the initial transaction line data;
and merging the initial transaction lines according to the transaction line identification of each initial transaction line to obtain transaction line data of each transaction line identification of the target period.
The method, optionally, the generating the transaction line identifier of each initial transaction line data includes:
Acquiring first transaction detail data in each initial transaction line data;
and forming the initiator system information and the transaction code of the first transaction detail data in each initial transaction line data into a transaction line identification of each initial transaction line.
In the above method, optionally, the step of 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 to obtain the transaction path data of the transaction detail data set includes:
Determining first transaction detail data in each transaction detail data in the transaction detail data set; the system information of the system to which the first transaction detail data belongs is consistent with the system information of the initiator 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 set, taking the first transaction detail data as a starting point, and connecting each transaction detail data in the transaction detail data set in series to obtain transaction path data of the transaction detail data set, wherein 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 receiver system information of the first transaction detail data is consistent with sender system information of the second transaction detail data; the second transaction detail data is concatenated after the first transaction detail data.
The method, 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 with a transaction code to obtain a 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 the path code of each transaction path data;
a path identification for each of the transaction path data is generated based on the path encoding of each of the transaction path data.
A transaction data processing apparatus comprising:
An acquisition unit for acquiring individual transaction detail data generated for each sub-period within the target period; the transaction detail data comprises path description information of a 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 identifier of the transaction detail data generated in the sub-period to obtain transaction detail data groups; 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 to obtain the transaction path data of the transaction detail data group, and the 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 identification of each transaction path data to obtain transaction line data of the target 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 used for merging the path identification data according to the path identification of each transaction path data to obtain initial transaction line data of the target period and generating a transaction line identification of each initial transaction line data;
And the second execution subunit is used for merging the initial transaction lines according to the transaction line identification of each initial transaction line to obtain transaction line data of each transaction line identification of the target period.
The above apparatus, optionally, the first execution subunit includes:
the acquisition module is used for acquiring first transaction detail data in each initial transaction line data;
and the execution module is used for forming transaction line identifiers of the initial transaction lines by using the initiator system information and the transaction codes of the first transaction detail data in the initial transaction line data.
The above apparatus, optionally, the first execution unit includes:
A determining subunit, configured to determine first transaction detail data in each transaction detail data in the transaction detail data set; the system information of the system to which the first transaction detail data belongs is consistent with the system information of the initiator 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, and concatenate each transaction detail data in the transaction detail data set to obtain transaction path data of the transaction detail data set, where two adjacent transaction detail data in the transaction path data are used; the two transaction detail data comprise first transaction detail data and second transaction detail data, and receiver system information of the first transaction detail data is consistent with sender system information 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 with the transaction code to obtain the feature code of each transaction detail data;
A fifth execution subunit, configured to splice feature codes of each transaction detail data in each transaction path data according to an arrangement sequence of each transaction detail data in each transaction path, so as to obtain a path code of each transaction path data;
and the generation subunit is used for generating the path identification 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 transaction data processing device, which can firstly acquire each transaction detail data generated by each subinterval in a target interval; the transaction detail data comprises path description information of a transaction to which the transaction detail data belongs; for each transaction detail data generated by each sub-period, grouping each transaction detail data generated by the sub-period according to the global tracking identifier of each transaction detail data generated by 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 to obtain the transaction path data of the transaction detail data group, and the path identifier of each transaction path data is generated; combining the transaction path data according to the path identification of each transaction path data to obtain transaction line data of the target period; and when a display instruction for the transaction line data is received, displaying the transaction line data. The execution line relation of the transaction detail data of each transaction in the target period can be displayed, and the fault influence range and the fault source can be rapidly determined based on the transaction line data under the condition that faults occur 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 that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a transaction data processing method according to the present invention;
FIG. 2 is a flow chart of a process for obtaining transaction line data for a target period according to the present invention;
FIG. 3 is a flow chart of a transaction line identification process for generating each initial transaction line data 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 device according to the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
In the present disclosure, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The embodiment of the invention provides a transaction data processing method which can be applied to electronic equipment, wherein a flow chart of the method is shown in fig. 1, and the method specifically comprises the following steps:
S101: acquiring each transaction detail data generated by each sub-period in the target period; the transaction detail data includes path description information of the transaction to which it 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, one day, one week or one month, etc., and the sub-period may be 5 minutes, 10 minutes or 1 hour, etc.
The path description information in the transaction details may include one or more of initiator system information, sender system information, receiver system information, etc.
S102: for each transaction detail data generated by each sub-period, grouping each transaction detail data generated by the sub-period according to the global tracking identifier of each transaction detail data generated by 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 to obtain the transaction path data of the transaction detail data group, and the path identification of each transaction path data is generated.
In an embodiment of the invention, the global tracking identifications of the individual transaction detail data in each transaction detail data set are identical, i.e. the transaction detail data with the same global tracking identification are divided into the same transaction detail data set.
The method comprises the steps of determining path dependency relations among transaction detail data according to path description information of the transaction detail data in a transaction detail data set, and connecting the transaction detail data in the transaction detail data set in series according to the path dependency relations among the transaction detail data to obtain transaction path data of the transaction detail data set.
Specifically, each transaction detail data in each transaction detail data set may be concatenated according to a preset concatenation rule.
S103: and merging the transaction path data according to the path identification of each transaction path data to obtain transaction line data of the target period.
In the embodiment of the invention, the transaction path data with the same path identifier can be combined to obtain the transaction line data of the target period.
When transaction detail data of fault transaction exist 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 transaction line data to which the transaction detail data of the fault transaction belong.
S104: and when a display instruction for the transaction line data is received, displaying the transaction line data.
In the embodiment of the invention, the display instruction may be triggered by a fault 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 the range of the fault transaction influence can be determined based on the displayed transaction line data, and the operation and maintenance efficiency is improved.
In the embodiment of the present invention, based on the implementation process described above, specifically, the combining the path identification data according to the path identification of each transaction path data to obtain the transaction line data of the target 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 initial transaction line data of the target period, and generating the transaction line identification of each initial transaction line data.
The transaction path data with the same path identifier may be combined, specifically, the transaction amount data with the same path identifier may be accumulated, and the repeated transaction paths may be removed, so as to obtain each initial transaction line data of the target period.
S202: and merging the initial transaction lines according to the transaction line identification of each initial transaction line to obtain transaction line data of each transaction line identification of the target period.
In the embodiment of the invention, the initial transaction line data with the same transaction line identification are combined, and the transaction amount data in the transaction lines with the same identification are accumulated to obtain the transaction line data of each transaction line identification in the target 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: the first transaction detail data in each initial transaction line data is acquired.
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 acquired.
S302: and forming the initiator system information and the transaction code of the first transaction detail data in each initial transaction line data into a transaction line identification 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 details data belongs.
In an embodiment of the present invention, based on the implementation process, specifically, the step of concatenating the transaction detail data in each transaction detail data set according to the path description information of each transaction detail data in the transaction detail data set to obtain the transaction path data of the transaction detail data set includes:
determining first transaction detail data in all 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 system information of the initiator 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 set, taking the first transaction detail data as a starting point, and concatenating all transaction detail data in the transaction detail data set to obtain transaction path data of the transaction detail data set, wherein 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 receiver system information of the first transaction detail data is consistent with sender system information 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 generating 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 with a transaction code to obtain a 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 the path code of each transaction path data;
a path identification for each of the transaction path data is generated based on the path encoding of each of the transaction path data.
In the embodiment of the invention, the path code can be calculated according to a preset calculation mode, for example, hash operation and the like can be performed on the path code, so as to obtain the path identifier of the transaction path data.
The transaction data processing method provided by the embodiment of the invention can be applied to various fields, for example, can be applied to the field of financial science and technology, and the generation process of transaction line data is described below by taking a banking system as an example, as shown in fig. 4, and specifically includes:
And firstly, summarizing all transaction detail data every 10 minutes, and grouping the transaction detail according to the global tracking number by using the global tracking number as a unique identifier. Traversing all transaction details in each group, and carrying out path concatenation on the transaction details according to fields of an initiator, a sender and a receiver in the transaction details, wherein the concatenation principle is as follows:
(a) Traversing all details, finding transaction detail data of which the first initiator field content marks the system as a first node in a path;
(b) Traversing the residual details according to the receiver field of the first node, finding out details conforming to the description of the receiver field from the residual details, enabling the sender field of the details to conform to the description of the first node, connecting the found details in series behind the first node, and carrying out parallel connection if a plurality of details are found;
(c) And traversing each node A connected in series in the path in sequence, finding out a node B which accords with the field description of the receiver of the node A and accords with the field description of the sender of the node A, connecting the node B in series to the rear of the node A, and connecting the node B in parallel and in series to the rear of the node A if a plurality of node Bs exist.
(D) If the details which are not connected to the path in series are found after the traversing is finished, the details are ignored, and the accuracy of the transaction path is ensured;
(e) The transaction path unique identifier generation rule is: after the calculation of the generated transaction path is completed, 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 a unique identification of the transaction path.
And secondly, merging the 10-minute-level transaction path data generated in the previous flow every day according to the unique identifiers of the transaction paths, accumulating the transaction amount data in the transaction paths with the same identifiers, removing repeated transaction paths, wherein after merging, only one data exists in each transaction path with the unique identifiers and the transaction amount is summarized. Supplementing each transaction path with a transaction line unique identification attribute, and generating rules by the transaction line unique identification: the system code and transaction code of the first node in the path are combined into a string.
Thirdly, daily transaction path data generated in the previous flow are combined every day according to the unique identification of the transaction lines, transaction amount data in the transaction lines with the same identification are accumulated, only one data is included in each transaction line with the unique identification after combination, the transaction amount is summarized, and no repeated transaction path exists.
Corresponding to the method shown in fig. 1, the embodiment of the present invention further provides a transaction data processing device, which is used for implementing the method shown in fig. 1, where the transaction data processing device provided in the embodiment of the present invention may be applied to an electronic device, and the structural schematic diagram of the transaction data processing device is shown in fig. 5, and specifically includes:
An acquisition unit 501 for acquiring individual transaction detail data generated for each sub-period within a target period; the transaction detail data comprises path description information of a transaction to which the transaction detail data belongs;
The first execution unit 502 is configured to group, for each transaction detail data generated in each sub-period, each transaction detail data generated in the sub-period according to a global tracking identifier of each transaction detail data generated in the sub-period, so as to obtain each transaction detail data set; 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 to obtain the transaction path data of the transaction detail data group, and the path identifier of each transaction path data is generated;
A second execution unit 503, configured to combine the transaction path data according to the path identifier of each transaction path data, so as to obtain transaction line data of the target period;
A display unit 504 for displaying the transaction line data when a display instruction for the transaction line data is received.
In an embodiment of the present invention, based on the implementation process described above, specifically, the second executing unit 503 includes:
The first execution subunit is used for merging the path identification data according to the path identification of each transaction path data to obtain initial transaction line data of the target period and generating a transaction line identification of each initial transaction line data;
And the second execution subunit is used for merging the initial transaction lines according to the transaction line identification of each initial transaction line to obtain transaction line data of each transaction line identification of the target period.
In an embodiment of the present invention, based on the implementation process described above, specifically, the first execution subunit includes:
the acquisition module is used for acquiring first transaction detail data in each initial transaction line data;
and the execution module is used for forming transaction line identifiers of the initial transaction lines by using the initiator system information and the transaction codes of the first transaction detail data in the initial transaction line data.
In an embodiment of the present invention, based on the implementation process described above, specifically, the first execution unit 502 includes:
A determining subunit, configured to determine first transaction detail data in each transaction detail data in the transaction detail data set; the system information of the system to which the first transaction detail data belongs is consistent with the system information of the initiator 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, and concatenate each transaction detail data in the transaction detail data set to obtain transaction path data of the transaction detail data set, where two adjacent transaction detail data in the transaction path data are used; the two transaction detail data comprise first transaction detail data and second transaction detail data, and receiver system information of the first transaction detail data is consistent with sender system information of the second transaction detail data; the second transaction detail data is concatenated after the first transaction detail data.
In an embodiment of the present invention, based on the implementation process described above, specifically, the first execution unit 502 includes:
the fourth execution subunit is used for splicing the system information of the system to which each transaction detail data belongs with the transaction code to obtain the feature code of each transaction detail data;
A fifth execution subunit, configured to splice feature codes of each transaction detail data in each transaction path data according to an arrangement sequence of each transaction detail data in each transaction path, so as to obtain a path code of each transaction path data;
and the generation subunit is used for generating the path identification of each transaction path data based on the path code of each transaction path data.
The specific principle and execution process of each unit and module in the transaction data processing device disclosed in the above embodiment of the present invention are the same as those of the transaction data processing method disclosed in the above embodiment of the present invention, and may refer to corresponding parts in the transaction data processing method provided in the above embodiment of the present invention, which are not described herein again.
The embodiment of the invention also provides a storage medium, which comprises stored instructions, wherein the equipment where the storage medium is located is controlled to execute the transaction data processing method when the instructions run.
The embodiment of the present invention further provides an electronic device, whose structural schematic diagram is shown in fig. 6, specifically including 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 the one or more processors 603, where the one or more instructions 602 perform the following operations:
acquiring each transaction detail data generated by each sub-period in the target period; the transaction detail data comprises path description information of a transaction to which the transaction detail data belongs;
For each transaction detail data generated by each sub-period, grouping each transaction detail data generated by the sub-period according to the global tracking identifier of each transaction detail data generated by 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 to obtain the transaction path data of the transaction detail data group, and the path identifier of each transaction path data is generated;
Combining the transaction path data according to the path identification of each transaction path data to obtain transaction line data of the target period;
and when a display instruction for the transaction line data is received, displaying the transaction line data.
It should be noted that, in the present specification, each embodiment is described in a progressive manner, and each embodiment is mainly described as different from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other. For the apparatus class embodiments, the description is relatively simple as it is substantially similar to the method embodiments, and reference is made to the description of the method embodiments for relevant points.
Finally, it is further noted that relational terms such as first and second, and the like are 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. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
For convenience of description, the above devices are described as being functionally divided into various units, respectively. Of course, the functions of each element may be implemented in the same piece or pieces of software and/or hardware when implementing the present invention.
From the above description of embodiments, it will be apparent to those skilled in the art that the present invention may be implemented in software plus a necessary general hardware platform. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art 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., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the embodiments or some parts of the embodiments of the present invention.
The foregoing has outlined a detailed description of a transaction data processing method according to the present invention, wherein specific examples are provided herein to illustrate the principles and embodiments of the present invention, and the above examples are provided to assist in understanding the method and core ideas of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.
Claims (6)
1. A transaction data processing method, comprising:
acquiring each transaction detail data generated by each sub-period in the target period; the transaction detail data comprises path description information of a transaction to which the transaction detail data belongs;
For each transaction detail data generated by each sub-period, grouping each transaction detail data generated by the sub-period according to the global tracking identifier of each transaction detail data generated by 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 to obtain the transaction path data of the transaction detail data group, and the system information of the system to which each transaction detail data belongs and the transaction code are spliced 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 the path code of each transaction path data;
Generating a path identification of each transaction path data based on a path code of each transaction path data;
Combining the path identification data according to the path identification of each transaction path data to obtain initial transaction line data of the target period, and generating transaction line identifications of the initial transaction line data;
Merging the initial transaction lines according to the transaction line identification of each initial transaction line to obtain transaction line data of each transaction line identification of the target period;
and when a display instruction for the transaction line data is received, displaying the transaction line data.
2. The method of claim 1, wherein generating the transaction line identification for each of the initial transaction line data comprises:
Acquiring first transaction detail data in each initial transaction line data;
and forming the initiator system information and the transaction code of the first transaction detail data in each initial transaction line data into a transaction line identification of each initial transaction line.
3. The method according to claim 1, wherein the concatenating the transaction detail data in each transaction detail data group according to the path description information of each transaction detail data in the transaction detail data group to obtain the transaction path data of the transaction detail data group includes:
Determining first transaction detail data in each transaction detail data in the transaction detail data set; the system information of the system to which the first transaction detail data belongs is consistent with the system information of the initiator 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 set, taking the first transaction detail data as a starting point, and connecting each transaction detail data in the transaction detail data set in series to obtain transaction path data of the transaction detail data set, wherein 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 receiver system information of the first transaction detail data is consistent with sender system information of the second transaction detail data; the second transaction detail data is serially connected after the first transaction detail data.
4. A transaction data processing device, comprising:
An acquisition unit for acquiring individual transaction detail data generated for each sub-period within the target period; the transaction detail data comprises path description information of a 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 identifier of the transaction detail data generated in the sub-period to obtain transaction detail data groups; 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 to obtain the transaction path data of the transaction detail data group, and the 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 identification of each transaction path data to obtain transaction line data of the target period;
A display unit configured to display the transaction line data when a display instruction for the transaction line data is received;
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 with the transaction code to obtain the feature code of each transaction detail data;
A fifth execution subunit, configured to splice feature codes of each transaction detail data in each transaction path data according to an arrangement sequence of each transaction detail data in each transaction path, so as to obtain a path code of each transaction path data;
A generation subunit, configured to generate a path identifier of each transaction path data based on a path code of each transaction path data;
The second execution unit includes:
The first execution subunit is used for merging the path identification data according to the path identification of each transaction path data to obtain initial transaction line data of the target period and generating a transaction line identification of each initial transaction line data;
And the second execution subunit is used for merging the initial transaction lines according to the transaction line identification of each initial transaction line to obtain transaction line data of each transaction line identification of the target period.
5. The apparatus of claim 4, wherein the first execution subunit comprises:
the acquisition module is used for acquiring first transaction detail data in each initial transaction line data;
and the execution module is used for forming transaction line identifiers of the initial transaction lines by using the initiator system information and the transaction codes of the first transaction detail data in the initial transaction line data.
6. The apparatus of claim 4, wherein the first execution unit comprises:
A determining subunit, configured to determine first transaction detail data in each transaction detail data in the transaction detail data set; the system information of the system to which the first transaction detail data belongs is consistent with the system information of the initiator 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, and concatenate each transaction detail data in the transaction detail data set to obtain transaction path data of the transaction detail data set, where two adjacent transaction detail data in the transaction path data are used; the two transaction detail data comprise first transaction detail data and second transaction detail data, and receiver system information of the first transaction detail data is consistent with sender system information of the second transaction detail data; the second transaction detail data is serially connected after the first transaction detail data.
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 CN113868089A (en) | 2021-12-31 |
CN113868089B true 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 (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111724158A (en) * | 2020-05-25 | 2020-09-29 | 中国建设银行股份有限公司 | Transaction path generation method and system, and related computer device and storage medium |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111210225B (en) * | 2020-01-14 | 2024-10-11 | 中国建设银行股份有限公司 | State monitoring method, device, equipment and storage medium of transaction system |
US12118462B2 (en) * | 2020-01-17 | 2024-10-15 | Visa International Service Association | System, method, and computer program product for multivariate event prediction using multi-stream recurrent neural networks |
CN111796955B (en) * | 2020-05-28 | 2024-05-14 | 中国建设银行股份有限公司 | Fault source positioning method, system, device and storage medium |
CN111639120B (en) * | 2020-06-05 | 2023-08-18 | 中国建设银行股份有限公司 | Method, device and equipment for imaging architecture view and readable storage medium |
CN111784516B (en) * | 2020-06-15 | 2023-12-22 | 华青融天(北京)软件股份有限公司 | Service path determining method and device and electronic equipment |
CN111784320B (en) * | 2020-07-27 | 2022-07-26 | 支付宝(杭州)信息技术有限公司 | Data association method and device and electronic equipment |
CN112433913B (en) * | 2020-11-23 | 2024-04-09 | 中国建设银行股份有限公司 | Transaction path generation method, system, computer device and storage medium |
-
2021
- 2021-09-30 CN CN202111166025.5A patent/CN113868089B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111724158A (en) * | 2020-05-25 | 2020-09-29 | 中国建设银行股份有限公司 | Transaction path generation method and system, and related computer device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113868089A (en) | 2021-12-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111752799B (en) | Service link tracking method, device, equipment and storage medium | |
US11368506B2 (en) | Fault handling for computer nodes in stream computing system | |
CN103218718A (en) | Order number generating method and order number generating system based on multiple platforms | |
CN110060139B (en) | Accounting processing method and device | |
CN110175916B (en) | Fund flow checking method and device | |
CN110019194B (en) | Data checking method, device, computer equipment and storage medium | |
CN110706105A (en) | Error marking method, error marking device, computer equipment and storage medium | |
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 | |
CN113487427A (en) | Transaction risk identification method, device and system | |
CN110070440A (en) | A kind of business data processing method, device, equipment and storage medium | |
CN113868089B (en) | Transaction data processing method and device | |
CN113688012A (en) | Call chain monitoring system and method | |
CN101099133A (en) | Method for the scheduling of software modules | |
CN115658753A (en) | Method and device for inquiring electronic receipt and related equipment | |
CN114298357A (en) | Data processing method, system, equipment and storage medium | |
CN109388527B (en) | Method for confirming operation validity, data processing method, device and equipment | |
CN105183620A (en) | Method and system for tracking service running state | |
CN112907009A (en) | Standardized model construction method and device, storage medium and equipment | |
CN112799797A (en) | Task management method and device | |
CN113868095B (en) | Data monitoring method, system, server and storage medium | |
CN116701408B (en) | Flight service primary key processing method and device, electronic equipment and storage medium | |
CN107145565B (en) | A kind of generation method of pipelined data, apparatus and system | |
CN117707522A (en) | Workflow processing method, device, equipment, storage medium and program product | |
CN115470032A (en) | Task processing method, device, equipment, medium and program product |
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 | ||
GR01 | Patent grant |