CN112862609A - Transaction data checking method and device, electronic equipment and storage medium - Google Patents

Transaction data checking method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112862609A
CN112862609A CN202110090488.1A CN202110090488A CN112862609A CN 112862609 A CN112862609 A CN 112862609A CN 202110090488 A CN202110090488 A CN 202110090488A CN 112862609 A CN112862609 A CN 112862609A
Authority
CN
China
Prior art keywords
transaction data
data information
comparison result
transaction
stored
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
CN202110090488.1A
Other languages
Chinese (zh)
Inventor
蒙龙达
揭育柱
尹智
吴兴威
梁艳姬
邱文超
李观钊
付小丽
郑梓悫
罗恕人
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN202110090488.1A priority Critical patent/CN112862609A/en
Publication of CN112862609A publication Critical patent/CN112862609A/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/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Software Systems (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Computer Hardware Design (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Data Mining & Analysis (AREA)
  • Technology Law (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention discloses a transaction data checking method, a transaction data checking device, electronic equipment and a storage medium. The method comprises the following steps: acquiring transaction data information of at least two transaction terminals and uploading the transaction data information to a block chain; wherein, the same transaction data information corresponds to a unique identifier; comparing the transaction data information with transaction data information stored in a system to obtain a transaction data information comparison result; and determining a transaction data processing mode according to the comparison result of the transaction data information. By adopting the technical means, the purposes of improving the transaction data processing efficiency and ensuring the security of the transaction data can be realized.

Description

Transaction data checking method and device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to a transaction data checking method and device, electronic equipment and a storage medium.
Background
With the industrial coverage of mobile payment to online and offline consumption and other scenes, the bill receiving business volume shows an explosive growth trend. The bank is used as an acquiring mechanism, and gradually extends from the traditional POS machine card swiping scene to full-link acquiring business scenes such as internet bank gateway payment, APP skip payment, H5 page skip payment, code scanning payment, face swiping payment and non-inductive payment, thereby bringing increasing transaction amount.
The number of merchants is rapidly developed from million to million, the daily average transaction amount of bill receiving and inquiry is rapidly increased from million to million, and the daily average transaction amount of financial transactions is further increased from million to hundred million.
Therefore, in order to meet the requirement of automatic and rapid account checking, transaction data error processing and report generation of large amount of daily transaction data of each business type of each channel, more new businesses and larger transaction amount in the future are dealt with. A transaction data checking method is urgently needed, the problems that the transaction data is not checked timely, the time for checking the transaction data is long, and the efficiency for checking the transaction data is low are solved, and meanwhile, the safety of the transaction data is guaranteed.
Disclosure of Invention
The embodiment of the invention provides a transaction data checking method, a transaction data checking device, electronic equipment and a storage medium, and aims to improve the efficiency of transaction data processing and ensure the safety of transaction data.
In a first aspect, an embodiment of the present invention provides a transaction data checking method, including:
acquiring transaction data information of at least two transaction terminals and uploading the transaction data information to a block chain; wherein, the same transaction data information corresponds to a unique identifier;
comparing the transaction data information with transaction data information stored in a system to obtain a transaction data information comparison result;
and determining a transaction data processing mode according to the comparison result of the transaction data information.
Optionally, after the transaction data information of at least two transaction terminals is acquired and uploaded to the block chain, the method further includes:
and encrypting the transaction data information through a preset public key to obtain the encrypted transaction data information.
Optionally, the comparing the transaction data information with the transaction data information stored in the system to obtain a transaction data information comparison result includes:
dividing the transaction data information according to the transaction data type;
and comparing the divided transaction data information with the transaction data information of the same type stored in the system to obtain a transaction data information comparison result.
Optionally, the transaction data types include: the transaction data of the local bank, the transaction data of other banks and the internet connection transaction data.
Optionally, the comparing the divided transaction data information with the transaction data information of the same type stored in the system to obtain the transaction data information comparison result includes:
judging whether the same identification exists in the divided transaction data information and the transaction data information of the same type stored in the system;
if yes, judging whether the transaction data elements in the two are consistent;
if the transaction data information is consistent with the transaction data information, the transaction data information is correct according to the obtained transaction data information comparison result;
and if the transaction data information is inconsistent, obtaining the transaction data information comparison result as the transaction data information is wrong.
Optionally, after the determining whether the divided transaction data information and the transaction data information of the same type stored in the system have the same identifier, the method further includes:
and if the transaction data information does not exist, obtaining the transaction data information comparison result as the transaction data information is wrong.
Optionally, before the comparing the transaction data information with the transaction data information stored in the system to obtain a transaction data information comparison result, the method further includes:
determining whether the transaction data information is invalid data information according to a transaction code in the transaction data information;
if yes, removing the transaction data information;
and if not, processing the transaction data information.
Optionally, the determining a transaction data processing mode according to the comparison result of the transaction data information includes:
if the transaction data information comparison result is that the transaction data information is correct, the transaction data information is not processed;
and if the transaction data information comparison result is that the transaction data information is wrong, correcting the transaction data information to obtain correct transaction data information.
In a second aspect, an embodiment of the present invention further provides a transaction data checking apparatus, including:
the transaction data information acquisition module is used for acquiring the transaction data information of at least two transaction terminals and uploading the transaction data information to the block chain; wherein, the same transaction data information corresponds to a unique identifier;
the comparison result determining module is used for comparing the transaction data information with transaction data information stored in a system to obtain a transaction data information comparison result;
and the transaction data processing mode determining module is used for determining the transaction data processing mode according to the comparison result of the transaction data information.
Optionally, the apparatus further comprises:
the encrypted transaction data information determining module is used for encrypting the transaction data information through a preset public key to obtain the encrypted transaction data information.
Optionally, the comparison result determining module is configured to:
dividing the transaction data information according to the transaction data type;
and comparing the divided transaction data information with the transaction data information of the same type stored in the system to obtain a transaction data information comparison result.
Optionally, the transaction data types include: the transaction data of the local bank, the transaction data of other banks and the internet connection transaction data.
Optionally, the comparison result determining module is configured to:
judging whether the same identification exists in the divided transaction data information and the transaction data information of the same type stored in the system;
if yes, judging whether the transaction data elements in the two are consistent;
if the transaction data information is consistent with the transaction data information, the transaction data information is correct according to the obtained transaction data information comparison result;
and if the transaction data information is inconsistent, obtaining the transaction data information comparison result as the transaction data information is wrong.
Optionally, the apparatus further comprises:
the invalid data information determining module is used for determining whether the transaction data information is invalid data information according to the transaction code in the transaction data information;
if yes, removing the transaction data information;
and if not, processing the transaction data information.
Optionally, the transaction data processing mode determining module is configured to not process the transaction data information if the comparison result of the transaction data information is that the transaction data information is correct;
and if the transaction data information comparison result is that the transaction data information is wrong, correcting the transaction data information to obtain correct transaction data information.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the transaction data checking method according to any one of the embodiments of the present invention.
In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the transaction data checking method according to any one of the embodiments of the present invention.
The embodiment of the invention acquires the transaction data information of at least two transaction terminals and uploads the transaction data information to a block chain; wherein, the same transaction data information corresponds to a unique identifier; comparing the transaction data information with transaction data information stored in a system to obtain a transaction data information comparison result; and determining a transaction data processing mode according to the comparison result of the transaction data information. By adopting the technical means, the purposes of improving the transaction data processing efficiency and ensuring the security of the transaction data can be realized.
Drawings
Fig. 1 is a schematic flow chart of a transaction data checking method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a transaction data checking apparatus according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, subprograms, and the like.
Example one
Fig. 1 is a schematic flow chart of a transaction data checking method according to an embodiment of the present invention, where the present embodiment is applicable to a case of transaction data checking in a database, and the method may be executed by a transaction data checking apparatus, which may be implemented in a software and/or hardware manner, and may be integrated in an electronic device, and specifically includes the following steps:
s110, acquiring transaction data information of at least two transaction terminals and uploading the transaction data information to a block chain; wherein, the same transaction data information corresponds to a unique identifier.
In this embodiment, the transaction terminal may be different payment applications or different payment methods. When a transaction data occurs, the transaction data information is uploaded to the block chain. The identification corresponding to the same transaction data information in different transaction terminals is unique. Further, since the blockchain can be connected to different transaction terminals, it can be understood that the transaction data information is transmitted only once.
In this embodiment, optionally, after the obtaining transaction data information of at least two transaction terminals and uploading the transaction data information to the block chain, the method further includes:
and encrypting the transaction data information through a preset public key to obtain the encrypted transaction data information.
In this embodiment, after the transaction data information is encrypted by using the public key in a hash function manner, the security of the transmission of the transaction data information can be ensured, and after the encrypted transaction data information is obtained, the transaction data information can be obtained only by decrypting the encrypted transaction data information through the private key.
And S120, comparing the transaction data information with transaction data information stored in a system to obtain a transaction data information comparison result.
Optionally, the comparing the transaction data information with the transaction data information stored in the system to obtain a transaction data information comparison result includes:
dividing the transaction data information according to the transaction data type;
and comparing the divided transaction data information with the transaction data information of the same type stored in the system to obtain a transaction data information comparison result.
In this embodiment, optionally, the transaction data types include: the transaction data of the local bank, the transaction data of other banks and the internet connection transaction data.
In this embodiment, the internet transaction data includes transaction data of a transaction performed through a network, such as WeChat payment and Paibao payment.
In the embodiment, the local transaction data information in the transaction data information is compared with the local transaction data information stored in the system; the other transaction data information in the transaction data information can be compared with the other transaction data information in the system; and the online transaction data information in the transaction data information can be compared with the online transaction data information in the system. The advantage of setting up like this is can initiate the comparison of different types of transaction data information simultaneously, can improve the comparative efficiency of transaction data information and reduce the error in the transaction data information comparison process again.
Optionally, the comparing the divided transaction data information with the transaction data information of the same type stored in the system to obtain the transaction data information comparison result includes:
judging whether the same identification exists in the divided transaction data information and the transaction data information of the same type stored in the system;
if yes, judging whether the transaction data elements in the two are consistent;
if the transaction data information is consistent with the transaction data information, the transaction data information is correct according to the obtained transaction data information comparison result;
and if the transaction data information is inconsistent, obtaining the transaction data information comparison result as the transaction data information is wrong.
In this embodiment, the transaction data elements include a transaction serial number, a transaction date, a transaction amount, a transaction state, and the like. If the divided transaction data information and the same type of transaction data information stored in the system have the same identification, the divided transaction data information and the same type of transaction data information are both subjected to the transaction data information, whether the contents in the transaction data elements in the transaction data information are consistent or not is continuously judged, and if the contents are consistent, the transaction data information is correct.
Optionally, after the determining whether the divided transaction data information and the transaction data information of the same type stored in the system have the same identifier, the method further includes:
and if the transaction data information does not exist, obtaining the transaction data information comparison result as the transaction data information is wrong.
Optionally, before the comparing the transaction data information with the transaction data information stored in the system to obtain a transaction data information comparison result, the method further includes:
determining whether the transaction data information is invalid data information according to a transaction code in the transaction data information;
if yes, removing the transaction data information;
and if not, processing the transaction data information.
In this embodiment, the transaction code may be a 10-digit number, and specifically, the last digit in the transaction code may be used for judgment. Wherein, if the last bit is 0, it is an orthogonal easy class; if the last bit is 1, the positive type is selected; if the last bit is 2, then the class is revoked; if the last bit is 3, then the flush class is undone. If the situation is the above situation, the transaction data information is rejected if the transaction data information does not need to be checked.
And S130, determining a transaction data processing mode according to the transaction data information comparison result.
Optionally, the determining a transaction data processing mode according to the comparison result of the transaction data information includes:
if the transaction data information comparison result is that the transaction data information is correct, the transaction data information is not processed;
and if the transaction data information comparison result is that the transaction data information is wrong, correcting the transaction data information to obtain correct transaction data information.
In this embodiment, if the transaction data information is wrong, different reports, such as a transaction data information consistent report, a transaction data information inconsistent report, and a transaction data information different report, may be issued according to the comparison result of the transaction data information, and automatic error processing is performed according to a preset rule, and if the transaction data information is different, automatic correction is performed. The method has the advantages that the method is automatically corrected to serve as an error processing link for comparing the transaction data information, the whole transaction data information comparison process forms a closed loop, and manual participation is reduced.
The embodiment of the invention acquires the transaction data information of at least two transaction terminals and uploads the transaction data information to a block chain; wherein, the same transaction data information corresponds to a unique identifier; comparing the transaction data information with transaction data information stored in a system to obtain a transaction data information comparison result; and determining a transaction data processing mode according to the comparison result of the transaction data information. By adopting the technical means, the purposes of improving the transaction data processing efficiency and ensuring the security of the transaction data can be realized.
Example two
Fig. 2 is a schematic structural diagram of a transaction data checking apparatus according to a second embodiment of the present invention. The transaction data checking device provided by the embodiment of the invention can execute the transaction data checking method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method. As shown in fig. 2, the apparatus includes:
a transaction data information obtaining module 210, configured to obtain transaction data information of at least two transaction terminals and upload the transaction data information to a block chain; wherein, the same transaction data information corresponds to a unique identifier;
the comparison result determining module 220 is configured to compare the transaction data information with transaction data information stored in the system to obtain a comparison result of the transaction data information;
and a transaction data processing mode determining module 230, configured to determine a transaction data processing mode according to the comparison result of the transaction data information.
Optionally, the apparatus further comprises:
the encrypted transaction data information determining module is used for encrypting the transaction data information through a preset public key to obtain the encrypted transaction data information.
Optionally, the comparison result determining module 220 is configured to:
dividing the transaction data information according to the transaction data type;
and comparing the divided transaction data information with the transaction data information of the same type stored in the system to obtain a transaction data information comparison result.
Optionally, the transaction data types include: the transaction data of the local bank, the transaction data of other banks and the internet connection transaction data.
Optionally, the comparison result determining module 220 is configured to:
judging whether the same identification exists in the divided transaction data information and the transaction data information of the same type stored in the system;
if yes, judging whether the transaction data elements in the two are consistent;
if the transaction data information is consistent with the transaction data information, the transaction data information is correct according to the obtained transaction data information comparison result;
and if the transaction data information is inconsistent, obtaining the transaction data information comparison result as the transaction data information is wrong.
Optionally, the apparatus further comprises:
the invalid data information determining module is used for determining whether the transaction data information is invalid data information according to the transaction code in the transaction data information;
if yes, removing the transaction data information;
and if not, processing the transaction data information.
Optionally, the transaction data processing mode determining module is configured to not process the transaction data information if the comparison result of the transaction data information is that the transaction data information is correct;
and if the transaction data information comparison result is that the transaction data information is wrong, correcting the transaction data information to obtain correct transaction data information.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the above-described apparatus may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
EXAMPLE III
Fig. 3 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention, and fig. 3 is a schematic structural diagram of an exemplary device suitable for implementing the embodiment of the present invention. The device 12 shown in fig. 3 is only an example and should not bring any limitations to the functionality and scope of use of the embodiments of the present invention.
As shown in FIG. 3, device 12 is in the form of a general purpose computing device. The components of device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
Device 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by device 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. Device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 3, and commonly referred to as a "hard drive"). Although not shown in FIG. 3, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. System memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of embodiments described herein.
Device 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with device 12, and/or with any devices (e.g., network card, modem, etc.) that enable device 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the device 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 20. As shown in FIG. 3, the network adapter 20 communicates with the other modules of the device 12 via the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by executing programs stored in the system memory 28, for example, to implement a transaction data checking method provided by an embodiment of the present invention, including:
acquiring transaction data information of at least two transaction terminals and uploading the transaction data information to a block chain; wherein, the same transaction data information corresponds to a unique identifier;
comparing the transaction data information with transaction data information stored in a system to obtain a transaction data information comparison result;
and determining a transaction data processing mode according to the comparison result of the transaction data information.
Example four
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program (or referred to as computer-executable instructions) is stored, where the computer program, when executed by a processor, can implement a transaction data checking method according to any of the embodiments described above, including:
acquiring transaction data information of at least two transaction terminals and uploading the transaction data information to a block chain; wherein, the same transaction data information corresponds to a unique identifier;
comparing the transaction data information with transaction data information stored in a system to obtain a transaction data information comparison result;
and determining a transaction data processing mode according to the comparison result of the transaction data information.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for embodiments of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (15)

1. A transaction data reconciliation method comprising:
acquiring transaction data information of at least two transaction terminals and uploading the transaction data information to a block chain; wherein, the same transaction data information corresponds to a unique identifier;
comparing the transaction data information with transaction data information stored in a system to obtain a transaction data information comparison result;
and determining a transaction data processing mode according to the comparison result of the transaction data information.
2. The method of claim 1, wherein after the obtaining and uploading transaction data information of at least two transaction terminals into the blockchain, further comprising:
and encrypting the transaction data information through a preset public key to obtain the encrypted transaction data information.
3. The method of claim 1, wherein comparing the transaction data information with transaction data information stored in a system to obtain a transaction data information comparison result comprises:
dividing the transaction data information according to the transaction data type;
and comparing the divided transaction data information with the transaction data information of the same type stored in the system to obtain a transaction data information comparison result.
4. The method of claim 3, wherein the transaction data types comprise: the transaction data of the local bank, the transaction data of other banks and the internet connection transaction data.
5. The method according to claim 3, wherein the comparing the divided transaction data information with the transaction data information of the same type stored in a system to obtain the transaction data information comparison result comprises:
judging whether the same identification exists in the divided transaction data information and the transaction data information of the same type stored in the system;
if yes, judging whether the transaction data elements in the two are consistent;
if the transaction data information is consistent with the transaction data information, the transaction data information is correct according to the obtained transaction data information comparison result;
and if the transaction data information is inconsistent, obtaining the transaction data information comparison result as the transaction data information is wrong.
6. The method according to claim 5, wherein after said determining whether the same identifier exists in the divided transaction data information and the same type of transaction data information stored in the system, further comprising:
and if the transaction data information does not exist, obtaining the transaction data information comparison result as the transaction data information is wrong.
7. The method of claim 1, prior to comparing the transaction data information with transaction data information stored in a system to obtain a transaction data information comparison result, further comprising:
determining whether the transaction data information is invalid data information according to a transaction code in the transaction data information;
if yes, removing the transaction data information;
and if not, processing the transaction data information.
8. The method of claim 7, wherein determining a transaction data processing mode based on the comparison of the transaction data information comprises:
if the transaction data information comparison result is that the transaction data information is correct, the transaction data information is not processed;
and if the transaction data information comparison result is that the transaction data information is wrong, correcting the transaction data information to obtain correct transaction data information.
9. A transaction data collation apparatus, comprising:
the transaction data information acquisition module is used for acquiring the transaction data information of at least two transaction terminals and uploading the transaction data information to the block chain; wherein, the same transaction data information corresponds to a unique identifier;
the comparison result determining module is used for comparing the transaction data information with transaction data information stored in a system to obtain a transaction data information comparison result;
and the transaction data processing mode determining module is used for determining the transaction data processing mode according to the comparison result of the transaction data information.
10. The apparatus of claim 9, further comprising:
the encrypted transaction data information determining module is used for encrypting the transaction data information through a preset public key to obtain the encrypted transaction data information.
11. The apparatus of claim 9, wherein the comparison determination module is configured to:
dividing the transaction data information according to the transaction data type;
and comparing the divided transaction data information with the transaction data information of the same type stored in the system to obtain a transaction data information comparison result.
12. The apparatus of claim 11, wherein the transaction data types comprise: the transaction data of the local bank, the transaction data of other banks and the internet connection transaction data.
13. The apparatus of claim 11, wherein the comparison determination module is configured to:
judging whether the same identification exists in the divided transaction data information and the transaction data information of the same type stored in the system;
if yes, judging whether the transaction data elements in the two are consistent;
if the transaction data information is consistent with the transaction data information, the transaction data information is correct according to the obtained transaction data information comparison result;
and if the transaction data information is inconsistent, obtaining the transaction data information comparison result as the transaction data information is wrong.
14. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements a transaction data reconciliation method as claimed in any one of claims 1 to 8.
15. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements a transaction data reconciliation method according to any one of claims 1-8.
CN202110090488.1A 2021-01-22 2021-01-22 Transaction data checking method and device, electronic equipment and storage medium Pending CN112862609A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110090488.1A CN112862609A (en) 2021-01-22 2021-01-22 Transaction data checking method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110090488.1A CN112862609A (en) 2021-01-22 2021-01-22 Transaction data checking method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112862609A true CN112862609A (en) 2021-05-28

Family

ID=76008129

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110090488.1A Pending CN112862609A (en) 2021-01-22 2021-01-22 Transaction data checking method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112862609A (en)

Similar Documents

Publication Publication Date Title
KR102360186B1 (en) Method and system for offline data transfer via machine-readable code
CN109716707B (en) Server apparatus and method for distributed electronic recording and transaction history
EP3740919A1 (en) Multi-approval system using m of n keys to restore a customer wallet
WO2019125664A1 (en) Method and system for outside guarantees for a blockchain transaction
US9613355B2 (en) Multi-layer transaction tracking and encryption
EP3598368A1 (en) Financial transaction management system, method, storage medium and server
WO2021196935A1 (en) Data checking method and apparatus, electronic device, and storage medium
CN110351672B (en) Information pushing method and device and electronic equipment
US11940987B2 (en) Preventing a transmission of an incorrect copy of a record of data to a distributed ledger system
CN110930240A (en) Repayment method and device, terminal equipment and storage medium
US12020239B2 (en) Method and system for conversion of digital assets to fiat currency
CN114218110A (en) Account checking test method and device for financial data, computer equipment and storage medium
CN110415112B (en) Post-credit business processing method, device, equipment and storage medium
KR102377625B1 (en) Method for preventing error remittance
CN111784342B (en) Dynamic monitoring management system based on big data centralized payment
CN112686658A (en) Method, device, electronic equipment and storage medium for settling out payment fund
CN112862609A (en) Transaction data checking method and device, electronic equipment and storage medium
CN110968860A (en) Security verification method for application account, computer equipment and computer-readable storage medium
CN109634868B (en) Processing method and device for automatic test result of financial data analysis system
CN109740027B (en) Data exchange method, device, server and storage medium
US20170364418A1 (en) Integrity of transactional memory of card computing devices in case of card tear events
US9607300B2 (en) Multi-layer transaction tracking
CN111489101A (en) Order auditing method, device, equipment and medium based on big data
CN110943982A (en) Document data encryption method and device, electronic equipment and storage medium
CN115114670B (en) File unlocking method and device based on external link, network disk and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination