Reconciliation data processing method, electronic device and storage medium
A processing method and data technology, applied in the computer field, can solve the problems of low reconciliation efficiency and achieve the effect of shortening the preparation time and improving the efficiency of reconciliation processing
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] This embodiment provides a method for processing account reconciliation data, which is used for performing account reconciliation processing. The execution subject of this embodiment is an electronic device, such as a server, a desktop computer, a notebook computer, a tablet computer, and other electronic devices that can be used for data processing.
[0051] Such as figure 1 As shown in , it is a schematic flow chart of the method for processing reconciliation data provided in this embodiment, and the method includes:
[0052] Step 101, read the data to be reconciled through the first thread, and add it to the data queue.
[0053] Specifically, the main thread may create a first thread and at least two second threads, the first thread may be called a producer thread, and the second thread may be called a consumer thread. The main thread can use the merge (join) function (or join method, to distinguish it from the processing method of the above-mentioned reconciliatio...
Embodiment 2
[0068] This embodiment provides a further supplementary description of the methods provided in the above embodiments.
[0069] As an implementable manner, on the basis of the foregoing embodiments, optionally, step 101 specifically includes:
[0070] In step 1011, the data to be reconciled is read from the database where the data to be reconciled is located through the first thread, and added to the data queue. The data to be reconciled includes preset fields related to reconciliation.
[0071] Specifically, the data source of the first thread may be the original data source of account data generated by each trading platform or system, and the data to be reconciled in preset fields may be read from each data source through the first thread. The preset fields are fields related to the reconciliation logic itself set according to the reconciliation requirements, such as the serial number, without reading other fields, so as to reduce the pressure of data transmission, improve th...
Embodiment 3
[0117] This embodiment provides an electronic device, configured to execute the method provided by the foregoing embodiments.
[0118] Such as Figure 5 Shown is a schematic structural diagram of the electronic device provided in this embodiment. The electronic device 50 includes: at least one processor 51 and a memory 52;
[0119] The memory stores a computer program; at least one processor executes the computer program stored in the memory, so as to implement the methods provided in the foregoing embodiments.
[0120] According to the electronic device of this embodiment, the data to be reconciled is read by the first thread and added to the data queue, and the data to be reconciled is read from the data queue by at least two second threads and added to the temporary table for reconciliation, And the reconciliation process is performed based on the reconciliation temporary table, which effectively shortens the preparation time of reconciliation data and improves the effici...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


