CN116433379A - Transaction information processing method and device - Google Patents

Transaction information processing method and device Download PDF

Info

Publication number
CN116433379A
CN116433379A CN202310429913.4A CN202310429913A CN116433379A CN 116433379 A CN116433379 A CN 116433379A CN 202310429913 A CN202310429913 A CN 202310429913A CN 116433379 A CN116433379 A CN 116433379A
Authority
CN
China
Prior art keywords
transaction information
transaction
information
server
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310429913.4A
Other languages
Chinese (zh)
Inventor
赵文波
李华宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
CCB Finetech Co Ltd
Original Assignee
China Construction Bank Corp
CCB Finetech Co Ltd
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, CCB Finetech Co Ltd filed Critical China Construction Bank Corp
Priority to CN202310429913.4A priority Critical patent/CN116433379A/en
Publication of CN116433379A publication Critical patent/CN116433379A/en
Pending legal-status Critical Current

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
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems

Landscapes

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

Abstract

The invention discloses a transaction information processing method and a transaction information processing device, which relate to the technical field of finance, wherein the method comprises the following steps: receiving transaction information; the transaction information carries a category identification of the transaction information; storing the transaction information in a server disk; according to the category identification of the transaction information, respectively analyzing the transaction information in the server disk according to the category of the transaction information to generate a plurality of data files with preset sizes and preset formats; the data files with preset sizes and preset formats are identified by transaction time periods; a plurality of data files with preset sizes and preset formats are transferred to a data warehouse; the data warehouse is arranged on a cloud server; the data warehouse provides an interface for inquiring and downloading data files through a transaction time period; the server disk is emptied. The invention can avoid the occupation of the transaction information file on the server disk, is convenient for staff to review the transaction information, and improves the efficiency of transaction information processing.

Description

Transaction information processing method and device
Technical Field
The invention relates to the technical field of finance, in particular to a transaction information processing method and device.
Background
This section is intended to provide a background or context to the embodiments of the invention that are recited in the claims. The description herein is not admitted to be prior art by inclusion in this section.
At present, the application scenes of banking financial services are increasingly diversified, various financial services from third parties are layered, under the background, business functions are frequently increased in the external scene of the bank, the transaction amount is greatly increased, and the corresponding transaction information amount is also huge. The transaction information processing under the traditional external connection scene of the bank has the following technical problems:
1. when the business transaction amount is large and the daily accumulation is carried out, the transaction information file occupies more and more disk space, the backup processing is required to be packed, and the transaction information processing efficiency is low;
2. the method has the advantages that the specific transaction information is difficult to inquire, the related log files are required to be turned over for positioning, time and labor are consumed, the efficiency is low, if the log files are too large, decompression processing is possibly needed first, a special log reader is needed for opening, and the transaction information inquiry process is complicated.
Disclosure of Invention
The embodiment of the invention provides a transaction information processing method, which is used for avoiding occupation of a server disk by a transaction information file, facilitating staff to review transaction information and improving transaction information processing efficiency, and comprises the following steps:
receiving transaction information; the transaction information carries a category identification of the transaction information;
storing the transaction information in a server disk;
according to the category identification of the transaction information, respectively analyzing the transaction information in the server disk according to the category of the transaction information to generate a plurality of data files with preset sizes and preset formats; the data files with preset sizes and preset formats are identified by transaction time periods;
a plurality of data files with preset sizes and preset formats are transferred to a data warehouse; the data warehouse is arranged on a cloud server; the data warehouse provides an interface for inquiring and downloading data files through a transaction time period;
the server disk is emptied.
The embodiment of the invention also provides a transaction information processing device, which is used for avoiding the occupation of a server disk by a transaction information file, facilitating the staff to review the transaction information and improving the transaction information processing efficiency, and comprises:
the transaction information receiving module is used for receiving transaction information; the transaction information carries a category identification of the transaction information; storing the transaction information in a server disk;
the transaction information processing module is used for respectively analyzing the transaction information in the server disk according to the category identification of the transaction information and the category of the transaction information to generate a plurality of data files with preset sizes and preset formats; the data files with preset sizes and preset formats are identified by transaction time periods;
the transaction information transfer module is used for transferring a plurality of data files with preset sizes and preset formats to the data warehouse; the data warehouse is arranged on a cloud server; the data warehouse provides an interface for inquiring and downloading data files through a transaction time period;
the disk emptying module is used for emptying the server disk.
The embodiment of the invention also provides computer equipment, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor realizes the transaction information processing method when executing the computer program.
The embodiment of the invention also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program realizes the transaction information processing method when being executed by a processor.
The embodiment of the invention also provides a computer program product, which comprises a computer program, and the computer program realizes the transaction information processing method when being executed by a processor.
In the embodiment of the invention, after transaction information is received, the transaction information is stored in a server disk, analysis processing is carried out on the transaction information in the server disk, and then a plurality of generated data files with preset sizes and preset formats are transferred to a data warehouse, wherein the data warehouse is arranged on a cloud server, and then the server disk is emptied; thus, occupation of the transaction information file to a server disk can be avoided; in addition, the data files with preset sizes and preset formats are identified by the transaction time period, and workers can inquire and download the data files with preset sizes and preset formats through the transaction time period, so that detailed transaction information can be directly acquired without decompressing the transaction information files, reading by a special reader and the like, and the workers can more conveniently review the transaction information; the whole processing process realizes automatic flow processing, and improves the efficiency of transaction information processing.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art. In the drawings:
FIG. 1 is a flow chart of a transaction information processing method according to an embodiment of the invention;
FIG. 2 is a diagram illustrating an embodiment of a transaction information processing method according to the present invention;
FIG. 3 is a diagram illustrating an embodiment of a transaction information processing method according to the present invention;
FIG. 4 is a schematic diagram of a transaction information processing device according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a computer device according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the embodiments of the present invention will be described in further detail with reference to the accompanying drawings. The exemplary embodiments of the present invention and their descriptions herein are for the purpose of explaining the present invention, but are not to be construed as limiting the invention.
The applicant finds that transaction information files occupy more disks of a server in transaction information processing under a bank external connection scene in the prior art, so that workers are difficult to inquire and locate the transaction information files, and a special log reader is required to acquire useful transaction information, so that the method is time-consuming, labor-consuming and low in efficiency. To this end, the inventors propose a transaction information processing method.
It should be noted that, in the technical scheme of the application, the acquisition, storage, use, processing and the like of the data all conform to relevant regulations of legal regulations.
Fig. 1 is a flow chart of a transaction information processing method according to an embodiment of the present invention, as shown in fig. 1, the method includes:
step 101, receiving transaction information; the transaction information carries a category identification of the transaction information;
102, storing transaction information in a server disk;
step 103, according to the category identification of the transaction information, respectively analyzing the transaction information in the server disk according to the category of the transaction information to generate a plurality of data files with preset sizes and preset formats; the data files with preset sizes and preset formats are identified by transaction time periods;
step 104, a plurality of data files with preset sizes and preset formats are transferred to a data warehouse; the data warehouse is arranged on a cloud server; the data warehouse provides an interface for inquiring and downloading data files through a transaction time period;
step 105, the server disk is emptied.
As can be seen from the flow shown in fig. 1, in the embodiment of the present invention, after receiving the transaction information, the transaction information is stored in a server disk, the transaction information in the server disk is analyzed, and then the generated data files with a plurality of preset sizes and preset formats are transferred to a data warehouse, where the data warehouse is arranged on a cloud server, and then the server disk is emptied; thus, occupation of the transaction information file to a server disk can be avoided; in addition, the data files with preset sizes and preset formats are identified by the transaction time period, and workers can inquire and download the data files with preset sizes and preset formats through the transaction time period, so that detailed transaction information can be directly acquired without decompressing the transaction information files, reading by a special reader and the like, and the workers can more conveniently review the transaction information; the whole processing process realizes automatic flow processing, and improves the efficiency of transaction information processing.
The transaction information processing method of fig. 1 according to the embodiment of the present invention will be explained in detail.
First, transaction information is received and then stored on a server disk.
The external connection scene of the bank has the characteristics of large transaction amount, frequent new business function addition and the like, so that the data amount of the received transaction information is huge and the received transaction information is original transaction information, such as transaction log information, the data format is specific and the file is large, and if a worker wants to inquire the detailed information of a certain transaction, the method is complicated. In the embodiment of the invention, the transaction information is set to be marked with the category identification of the transaction information when being generated, so that the received transaction information carries the category identification of the transaction information when the transaction information is received. In one embodiment, the transaction information is divided into three types, transaction result information, transaction process information and non-transaction log information according to the characteristics of the external transaction of the bank. For example, transaction result information such as transaction serial numbers, transaction success identifications, transaction process information such as transaction time consumption, transaction response speed, and non-transaction log information such as transaction exit interfaces, and the like, and those skilled in the art can classify the transaction result information according to characteristics of the transaction information in practical applications, and the invention is only exemplified herein.
Since the transaction information data size is large, in order to improve the efficiency of receiving and processing the transaction information, in one embodiment, receiving the transaction information may include: and receiving the transaction information through an interface corresponding to the transaction information category by adopting an asynchronous transmission mode, for example, receiving the transaction information through asynchronously calling the interface corresponding to the transaction information category through a daemon thread.
In order to make transaction information transmission stable and efficient, a server where a server disk is located can be a server deployed in a clustered mode, and actual business requirements of large-data-volume transaction data transmission can be met.
After the transaction information is stored in the server disk, the transaction information in the server disk is respectively analyzed according to the category of the transaction information and the category of the transaction information, so that a plurality of data files with preset sizes and preset formats are generated.
For example, for the transaction result information, the staff only pays attention to whether certain transactions are successful or not, and the transaction result information and the corresponding transaction serial number can be analyzed and stored as data stored in the form of key value pairs; for transaction process information, staff is more concerned about the processing process of certain transactions, such as transaction start time, transaction end time, transaction response speed and the like, and can analyze and process excel files with specific sizes; for non-transaction log information, such as a starting thread, an exit route and the like of non-transaction, the method can be used for transaction error checking, and the non-transaction log information can be stored in a Json format in a row unit, so that the problem can be checked conveniently.
For another example, the transaction information is classified into: the transaction result information and the transaction information of the non-transaction log information are decompressed and split, and each 500 pieces of transaction result information and the non-transaction log information are respectively stored in a file in a tsv format, and the size of each file is limited to 20M, so that the subsequent batch insertion and transfer to a data warehouse are facilitated; the transaction information is classified as follows: the transaction information of the transaction process information is decompressed, split processing is carried out according to the unique identification code of the transaction, split information is recorded in the mysql database, and if abnormal transaction information inquiry occurs conveniently, related information such as file paths, file types, warehouse-in time and the like can be searched from the mysql database. Those skilled in the art may parse and process the transaction information according to the actual application, and embodiments of the present invention are merely examples herein.
The processing in step 103 is to facilitate the query of the transaction information in the subsequent data warehouse, and considering that the query of the transaction information can be performed according to the transaction time period, so that the data files with preset sizes and preset formats generated in step 103 are identified by the transaction time period, for example, the data files with different types and preset sizes and preset formats are named by the transaction time period, such as [ date 1] - [ date 2].
After the transaction information is analyzed and processed, the obtained data files with the preset sizes and the preset formats are transferred to a data warehouse, and the data warehouse provides interfaces for inquiring and downloading the data files through the transaction time period. When a worker wants to inquire certain transaction information, the worker only needs to inquire and download the data file through the transaction time period, so that the worker can conveniently inquire the transaction information, and the transaction information processing efficiency is greatly improved.
After the transaction information is transferred to the data warehouse, the server disk is emptied through an automatic flow, so that the occupation of the transaction information file on the server disk is avoided.
In order to further improve the transaction information processing efficiency, in one embodiment, according to the category identifier of the transaction information, resolving the transaction information in the server disk according to the category of the transaction information, may include:
and respectively analyzing the transaction information in the server disk according to the category of the transaction information by a timing task according to the category identification of the transaction information.
For example, every 10 seconds or every 30 seconds, the transaction information in the server disk is analyzed according to the category of the transaction information according to the category identification of the transaction information.
In order to further improve the transaction information processing efficiency, in one embodiment, the transferring a plurality of data files with preset sizes and preset formats into the data warehouse may include:
and transferring a plurality of data files with preset sizes and preset formats into a data warehouse through a timing task.
For example, a plurality of data files of a preset size and a preset format are read to the data warehouse every 30 seconds.
To further increase transaction information processing efficiency and save costs, in one embodiment, flushing the server disk may include:
the server disk is emptied by timing tasks.
For example, every 3 hours, 6 hours, etc., the area of the server disk storing the transaction information is emptied.
Fig. 2 is a specific embodiment of a transaction information processing method according to an embodiment of the present invention, as shown in fig. 2, the method shown in fig. 1 may further include:
and step 201, periodically summarizing the transaction information to generate a transaction information chart.
In the prior art, a special operator of an operation system generally inquires transaction information by himself and performs summarization processing according to the transaction information to generate a transaction information chart and the like.
Fig. 3 is a specific embodiment of a transaction information processing method in the embodiment of the present invention, as shown in fig. 3, because the external connection scenario of the bank has the characteristics of large transaction amount, frequent service function addition, high service processing function multiplexing rate, etc., the embodiment of the present invention provides a form of completely visual configuration-based transaction information processing. The configuration service component is a configuration center of the running state component, keeps long connection with the running state component, and immediately informs the running state component to pull the latest configuration after the configuration is completed, so that the purpose of configuration and use of the business transaction configuration is achieved; the running state component is responsible for processing business transaction, pulling the latest configuration from the configuration service component to process the business transaction, generating transaction information such as logs, and synchronizing the current important business operation index data to the configuration service component, such as the related attribute data of the current physical subsystem, cluster, tenant, transaction host and the like. Meanwhile, the running state component processes service data and is deployed in an external connection area of the bank, and the configuration service component is deployed in an internal network of the bank and is safe relative to the external connection area.
When the method is implemented, the configuration service component predefines the transaction information category and the category identification of the transaction information according to the external business characteristics of the bank, provides an interface corresponding to the transaction information category, asynchronously calls a corresponding interface according to the transaction information category to upload the transaction information when the running state component processes the transaction, receives the transaction information from a server disk through the interface corresponding to the transaction information category, stores the transaction information in a file form, then analyzes and processes the transaction file at fixed time, and transfers the transaction information to a data warehouse for business configuration, a developer to review and download information such as transaction logs, and then periodically empties the server disk. In addition, in order to save time and cost, the configuration service component can perform transaction summarization processing to generate a transaction information chart, or periodically send the transaction information and the transaction information chart to an operation system, and the operation system summarizes the transaction information again.
In the embodiment, the configuration service component receives the transaction information, temporarily stores the transaction information in a file form, directly puts the transaction information into a database instead of directly storing the transaction information in the database after analysis processing, and provides interaction functions such as transaction information inquiry and downloading, thereby facilitating a service developer to quickly locate the transaction information, troubleshooting the problem and improving the development efficiency; the server adopts clustered deployment, so that transaction information transmission is efficient and stable; meanwhile, the running state component is responsible for processing business transaction, the configuration service component is responsible for transaction information processing, the loading capacity of each component of the system is relatively balanced and the division of work is clear based on the system architecture, so that a single component is prevented from bearing most of business, and powerful guarantee is provided for the efficient and stable operation of the external business of the bank.
The embodiment of the invention also provides a transaction information processing device, which is described in the following embodiment. Because the principle of the device for solving the problem is similar to that of the transaction information processing method, the implementation of the device can refer to the implementation of the transaction information processing method, and the repetition is omitted.
Fig. 4 is a schematic diagram of a transaction information processing apparatus according to an embodiment of the present invention, as shown in fig. 4, the apparatus includes:
a transaction information receiving module 401, configured to receive transaction information; the transaction information carries a category identification of the transaction information; storing the transaction information in a server disk;
the transaction information processing module 402 is configured to parse the transaction information in the server disk according to the category identification of the transaction information and the category of the transaction information, so as to generate a plurality of data files with preset sizes and preset formats; the data files with preset sizes and preset formats are identified by transaction time periods;
a transaction information transfer module 403, configured to transfer a plurality of data files with preset sizes and preset formats to a data repository; the data warehouse is arranged on a cloud server; the data warehouse provides an interface for inquiring and downloading data files through a transaction time period;
the disk emptying module 404 is configured to empty the server disk.
In one embodiment, the server on which the server disk resides is a server deployed in a clustered fashion.
In one embodiment, the transaction information receiving module 401 is specifically configured to:
and receiving the transaction information through an interface corresponding to the transaction information type by adopting an asynchronous transmission mode.
In one embodiment, the transaction information processing module 402 is specifically configured to:
and respectively analyzing the transaction information in the server disk according to the category of the transaction information by a timing task according to the category identification of the transaction information.
In one embodiment, the transaction information transfer module 403 is specifically configured to:
and transferring a plurality of data files with preset sizes and preset formats into a data warehouse through a timing task.
In one embodiment, the disk purge module 404 is specifically configured to:
the server disk is emptied by timing tasks.
In one embodiment, the categories of transaction information include transaction outcome information, transaction process information, and non-transaction log information.
In one embodiment, the transaction information processing module 402 is specifically configured to:
the transaction information is classified as follows: decompressing and splitting transaction result information and transaction information of non-transaction log information;
the transaction information is classified as follows: and (3) decompressing transaction information of the transaction process information, splitting the transaction information according to a unique identification code of the transaction, and recording the split information into a mysql database.
In one embodiment, the apparatus further comprises:
and the transaction information operation module is used for periodically summarizing the transaction information before the server disk is emptied, so as to generate a transaction information chart.
Fig. 5 is a schematic diagram of a computer device according to an embodiment of the present invention, and as shown in fig. 5, a computer device 500 is further provided according to an embodiment of the present invention, including a processor 501, a memory 502, and a computer program 503 stored in the memory 502 and capable of running on the processor 501, where the processor 501 implements the transaction information processing method described above when executing the computer program 503.
The embodiment of the invention also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program realizes the transaction information processing method when being executed by a processor.
The embodiment of the invention also provides a computer program product, which comprises a computer program, and the computer program realizes the transaction information processing method when being executed by a processor.
In the embodiment of the invention, after transaction information is received, the transaction information is stored in a server disk, analysis processing is carried out on the transaction information in the server disk, and then a plurality of generated data files with preset sizes and preset formats are transferred to a data warehouse, wherein the data warehouse is arranged on a cloud server, and then the server disk is emptied; thus, occupation of the transaction information file to a server disk can be avoided; in addition, the data files with preset sizes and preset formats are identified by the transaction time period, and workers can inquire and download the data files with preset sizes and preset formats through the transaction time period, so that detailed transaction information can be directly acquired without decompressing the transaction information files, reading by a special reader and the like, and the workers can more conveniently review the transaction information; the whole processing process realizes automatic flow processing, and improves the efficiency of transaction information processing.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing description of the embodiments has been provided for the purpose of illustrating the general principles of the invention, and is not meant to limit the scope of the invention, but to limit the invention to the particular embodiments, and any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (21)

1. A transaction information processing method, comprising:
receiving transaction information; the transaction information carries a category identification of the transaction information;
storing the transaction information in a server disk;
according to the category identification of the transaction information, respectively analyzing the transaction information in the server disk according to the category of the transaction information to generate a plurality of data files with preset sizes and preset formats; the data files with preset sizes and preset formats are identified by transaction time periods;
a plurality of data files with preset sizes and preset formats are transferred to a data warehouse; the data warehouse is arranged on a cloud server; the data warehouse provides an interface for inquiring and downloading data files through a transaction time period;
the server disk is emptied.
2. The method of claim 1, wherein the server on which the server disk resides is a server deployed in a clustered manner.
3. The method of claim 2, wherein receiving transaction information comprises:
and receiving the transaction information through an interface corresponding to the transaction information type by adopting an asynchronous transmission mode.
4. The method of claim 1, wherein parsing the transaction information in the server disk according to the category of the transaction information based on the category identification of the transaction information, respectively, comprises:
and respectively analyzing the transaction information in the server disk according to the category of the transaction information by a timing task according to the category identification of the transaction information.
5. The method of claim 1, wherein the transferring of the plurality of data files of the predetermined size and the predetermined format to the data warehouse comprises:
and transferring a plurality of data files with preset sizes and preset formats into a data warehouse through a timing task.
6. The method of claim 1, wherein flushing the server disk comprises:
the server disk is emptied by timing tasks.
7. The method of claim 1, wherein the categories of transaction information include transaction outcome information, transaction process information, and non-transaction log information.
8. The method of claim 7, wherein parsing the transaction information in the server disk by category of the transaction information based on the category identification of the transaction information, respectively, comprises:
the transaction information is classified as follows: decompressing and splitting transaction result information and transaction information of non-transaction log information;
the transaction information is classified as follows: and (3) decompressing transaction information of the transaction process information, splitting the transaction information according to a unique identification code of the transaction, and recording the split information into a mysql relational database.
9. The method of claim 1, further comprising, prior to emptying the server disk:
and (5) gathering the transaction information regularly to generate a transaction information chart.
10. A transaction information processing apparatus, comprising:
the transaction information receiving module is used for receiving transaction information; the transaction information carries a category identification of the transaction information; storing the transaction information in a server disk;
the transaction information processing module is used for respectively analyzing the transaction information in the server disk according to the category identification of the transaction information and the category of the transaction information to generate a plurality of data files with preset sizes and preset formats; the data files with preset sizes and preset formats are identified by transaction time periods;
the transaction information transfer module is used for transferring a plurality of data files with preset sizes and preset formats to the data warehouse; the data warehouse is arranged on a cloud server; the data warehouse provides an interface for inquiring and downloading data files through a transaction time period;
the disk emptying module is used for emptying the server disk.
11. The apparatus of claim 10, wherein the server on which the server disk resides is a server deployed in a clustered manner.
12. The apparatus of claim 11, wherein the transaction information receiving module is specifically configured to:
and receiving the transaction information through an interface corresponding to the transaction information type by adopting an asynchronous transmission mode.
13. The apparatus of claim 10, wherein the transaction information processing module is specifically configured to:
and respectively analyzing the transaction information in the server disk according to the category of the transaction information by a timing task according to the category identification of the transaction information.
14. The apparatus of claim 10, wherein the transaction information transfer module is specifically configured to:
and transferring a plurality of data files with preset sizes and preset formats into a data warehouse through a timing task.
15. The apparatus of claim 10, wherein the disk purge module is specifically configured to:
the server disk is emptied by timing tasks.
16. The apparatus of claim 10, wherein the categories of transaction information include transaction outcome information, transaction process information, and non-transaction log information.
17. The apparatus of claim 16, wherein the transaction information processing module is specifically configured to:
the transaction information is classified as follows: decompressing and splitting transaction result information and transaction information of non-transaction log information;
the transaction information is classified as follows: and (3) decompressing transaction information of the transaction process information, splitting the transaction information according to a unique identification code of the transaction, and recording the split information into a mysql relational database.
18. The apparatus as recited in claim 10, further comprising:
and the transaction information operation module is used for periodically summarizing the transaction information before the server disk is emptied, so as to generate a transaction information chart.
19. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of any of claims 1 to 9 when executing the computer program.
20. A computer readable storage medium, characterized in that the computer readable storage medium stores a computer program which, when executed by a processor, implements the method of any of claims 1 to 9.
21. A computer program product, characterized in that the computer program product comprises a computer program which, when executed by a processor, implements the method of any of claims 1 to 9.
CN202310429913.4A 2023-04-20 2023-04-20 Transaction information processing method and device Pending CN116433379A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310429913.4A CN116433379A (en) 2023-04-20 2023-04-20 Transaction information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310429913.4A CN116433379A (en) 2023-04-20 2023-04-20 Transaction information processing method and device

Publications (1)

Publication Number Publication Date
CN116433379A true CN116433379A (en) 2023-07-14

Family

ID=87083047

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310429913.4A Pending CN116433379A (en) 2023-04-20 2023-04-20 Transaction information processing method and device

Country Status (1)

Country Link
CN (1) CN116433379A (en)

Similar Documents

Publication Publication Date Title
CN109034993B (en) Account checking method, account checking equipment, account checking system and computer readable storage medium
CN104809202B (en) A kind of method and apparatus of database synchronization
CN107220142B (en) Method and device for executing data recovery operation
CN109669925B (en) Management method and device of unstructured data
CN112559475B (en) Data real-time capturing and transmitting method and system
KR101737578B1 (en) Method and device for automatically tuning for sql sentences generated automatically
CN111339118A (en) Kubernetes-based resource change history recording method and device
CN108228432A (en) A kind of distributed link tracking, analysis method and server, global scheduler
CN113468196B (en) Method, apparatus, system, server and medium for processing data
CN112860412B (en) Service data processing method and device, electronic equipment and storage medium
CN110309206B (en) Order information acquisition method and system
CN117271584A (en) Data processing method and device, computer readable storage medium and electronic equipment
CN116433379A (en) Transaction information processing method and device
KR20160145250A (en) Shuffle Embedded Distributed Storage System Supporting Virtual Merge and Method Thereof
CN115794783A (en) Data deduplication method, device, equipment and medium
CN111651413B (en) Credit report file analysis method and device
CN114722045A (en) Time series data storage method and device
CN110221952B (en) Service data processing method and device and service data processing system
CN102346757A (en) Data photocopying method and system in IMS (IP multimedia subsystem) database online transaction
CN111866576A (en) On-line problem processing system and method
CN110188069A (en) A kind of csv file storage method, device and computer equipment
CN117407315B (en) Log optimization test method and device, computer equipment and storage medium
CN115629950B (en) Extraction method of performance test asynchronous request processing time point
CN112699156B (en) Data processing method and device, storage medium and electronic terminal
CN116680244A (en) Data migration 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