Nothing Special   »   [go: up one dir, main page]

CN117556471B - Block chain-based settlement data processing method and system - Google Patents

Block chain-based settlement data processing method and system Download PDF

Info

Publication number
CN117556471B
CN117556471B CN202410046409.0A CN202410046409A CN117556471B CN 117556471 B CN117556471 B CN 117556471B CN 202410046409 A CN202410046409 A CN 202410046409A CN 117556471 B CN117556471 B CN 117556471B
Authority
CN
China
Prior art keywords
settlement
transaction
data
party
parties
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202410046409.0A
Other languages
Chinese (zh)
Other versions
CN117556471A (en
Inventor
颜肖珂
丘捷永
刘科
蔡强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Tongguan Technology Co ltd
Original Assignee
Guangdong Tongguan Technology 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 Guangdong Tongguan Technology Co ltd filed Critical Guangdong Tongguan Technology Co ltd
Priority to CN202410046409.0A priority Critical patent/CN117556471B/en
Publication of CN117556471A publication Critical patent/CN117556471A/en
Application granted granted Critical
Publication of CN117556471B publication Critical patent/CN117556471B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • 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
    • 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/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Medical Informatics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses a block chain-based settlement data processing method and system, which relate to the technical field of data processing and are used for acquiring settlement data of both parties of settlement, storing the settlement data into a block chain, distributing transaction block chains by the block chain and defining corresponding settlement logic for the transaction block chain; after the transaction block chain acquires the settlement logic, checking and verifying settlement data of both settlement parties, generating transaction data according to the settlement data after the checking and verifying are passed, carrying out cooperative interaction processing on the transaction data, and submitting the transaction data to a preset database for storage; setting login permission of the database, filtering privacy data information included in transaction data through privacy filtering operation of the database, acquiring the transaction data by the settlement parties through the respective mobile equipment terminals logging in the database, defining transaction feedback information, and analyzing the transaction feedback information to determine whether the transaction is completed or not, so that efficient processing of the settlement data is realized.

Description

Block chain-based settlement data processing method and system
Technical Field
The invention relates to the technical field of data processing, in particular to a block chain-based settlement data processing method and system.
Background
The blockchain is a block chain type storage, non-tamperable, safe and reliable decentralized distributed account book, combines the technologies of distributed storage, point-to-point transmission, consensus mechanism, cryptography and the like, records transaction and information through continuously growing data block chains (Blocks), and ensures the safety and transparency of data.
The conventional settlement data processing has the following problems: when the two parties of settlement carry out settlement operation, some private information of the two parties of settlement can not be revealed, and leakage of the private information can cause certain information security problems, in addition, the expandability of the two parties of settlement during the settlement operation is poor, the new demands generated by the two parties of settlement during the settlement operation can not be timely expanded, and when the settlement business is completed, settlement funds are directly checked into the party serving as a seller, and the problems are all considered.
Disclosure of Invention
In order to solve the above problems, an object of the present invention is to provide a blockchain-based settlement data processing method and system.
The aim of the invention can be achieved by the following technical scheme:
The first aspect of the present invention provides a blockchain-based settlement data processing method, comprising the steps of:
Step S1: acquiring settlement data of both parties of settlement, storing the settlement data into a blockchain, distributing transaction blockchains by the blockchain, and defining corresponding settlement logic for the transaction blockchains;
Step S2: after the transaction block chain acquires the settlement logic, checking and verifying settlement data of both settlement parties, generating transaction data according to the settlement data after the checking and verifying are passed, carrying out cooperative interaction processing on the transaction data, and submitting the transaction data to a preset database for storage;
step S3: setting login permission of a database, performing privacy protection operation of the database, logging in the database by the settlement parties through respective mobile equipment ends to acquire transaction data, defining transaction feedback information, and analyzing the transaction feedback information to determine whether the current transaction is achieved.
Further, the process of acquiring settlement data of both settlement parties and storing the settlement data into the blockchain includes:
The settlement parties comprise a first party and a second party, settlement data of the settlement parties are obtained, the settlement data comprises settlement amount, settlement time, settlement place and settlement person information, the settlement person information is identity related information of the first party and the second party, and the identity related information comprises name, gender, identity card number, electronic mail box and historical settlement record;
Setting a data entry period and a data removal time of the blockchain, acquiring settlement data in the data entry period, storing the settlement data into the blockchain for subsequent processing, and removing the settlement data to the blockchain if the settlement data is not processed after the data removal time is reached.
Further, the process of assigning transaction blockchains by blockchains and defining corresponding settlement logic for the transaction blockchains includes:
Acquiring network configuration files of both settlement sides, wherein the network configuration files comprise access node numbers, access IP addresses and historical weblogs, performing blockchain network configuration of both settlement sides through the network configuration files, setting corresponding response port numbers according to the access node numbers, and judging whether the access IP addresses have dissimilarity information or not;
If the special position of the dissimilatory information is located through virus scanning, the dissimilatory information is cleared, if the special position of the dissimilatory information is not located, a history weblog is continuously acquired, the history weblog records the latest attack time and is marked as T1, the current time is acquired and is marked as T2, the safety maintenance time is further calculated and is marked as T Anan (safety) , the safety maintenance time is marked as T Anan (safety) = |T2-T1|, the risk judgment time is preset and is marked as T ', if T Anan (safety) is greater than or equal to T ', transaction block chains are allocated to two parties, if T Anan (safety) is less than T ', a transaction configuration file is not allocated, the transaction configuration file is used for defining settlement logic of the two parties, and the settlement logic comprises transaction verification logic, transaction confirmation logic and transaction settlement logic.
Further, the process of verifying the settlement data of the settlement parties and generating transaction data according to the settlement data after the verification is passed includes:
the transaction blockchain acquires the reading authority of the transaction configuration file, reads the transaction configuration file through the reading authority, and performs audit verification of settlement data of both settlement parties according to the transaction verification logic after the transaction configuration file is read;
And determining whether to generate a transaction payment code through a transaction confirmation logic, generating the transaction payment code after verification is successful, otherwise, not generating the transaction payment code, acquiring the transaction payment code by the settlement parties according to a transaction settlement logic, scanning the transaction payment code, further generating a transaction order of the settlement parties to finish transaction settlement, recording transaction data generated by the settlement parties by the transaction order, and pre-storing the transaction order in a set data encryption area.
Further, the process of storing the transaction data after the collaborative interaction processing includes:
The collaborative interaction processing of the transaction data comprises first party collaborative interaction and second party collaborative interaction, an expansion text I and a calling interface I are arranged through the first party collaborative interaction, an expansion text II and a calling interface II are arranged through the second party collaborative interaction, the expansion text I and the expansion text II are respectively used for recording transaction requirements of the first party and the second party, the first party and the calling interface II are connected to a data encryption area through a request of the calling interface I and the calling interface II, the data encryption area judges that the calling interface I and the calling interface II are legal interfaces, corresponding connection is achieved, and a new transaction order is generated after connection;
And when the calling interface I and the calling interface II are not legal interfaces, prohibiting connection to the data encryption area to acquire the transaction order, and storing the transaction order corresponding to the transaction data into a preset database after the cooperative processing of the transaction data is completed.
Further, the process of setting the login permission of the database and performing privacy protection operation on the database includes:
When the first party and the second party request to connect the databases, respectively setting login rights of the databases for the first party and the second party, wherein the login rights comprise a first-level right, a second-level right and a third-level right, and the change of the login rights is determined according to the access behaviors of the first party and the second party to the databases;
After logging in the database, the first party and the second party acquire the transaction order stored in the database, and then locate the corresponding privacy data of the transaction data in the transaction order, wherein the privacy data is the information of the settlement person and the settlement time of the settlement parties, and the privacy data is set to be in an inaccessible state.
Further, the process of obtaining the transaction data and defining transaction feedback information, and analyzing the transaction feedback information to determine whether to achieve the present transaction includes:
when the transaction order is generated, the transaction order corresponding settlement funds are paid to a set third party, the third party is used for storing the settlement funds instead, the two settlement parties are associated with corresponding mobile equipment ends, an identity verification form is built in the mobile equipment ends, the identity verification form records the allowed IDs of equipment login verification of the two settlement parties, the equipment login IDs of the two settlement parties are obtained, whether the equipment login IDs are consistent with the allowed IDs or not is judged, if yes, the mobile equipment ends are logged in, the database is logged in through the mobile equipment ends, transaction data are obtained, and if not, the mobile equipment ends are forbidden to log in;
After the transaction data are obtained by the settlement parties, judging whether the transaction data conform to expected transaction data formulated in advance by the settlement parties, and defining transaction feedback information corresponding to the settlement parties according to a judging result, wherein the transaction feedback information comprises 'conform to expectation, allow a third party to carry out settlement fund transaction payment' and 'not conform to expectation, prohibit the third party from carrying out settlement fund transaction payment';
And sending the transaction feedback information to a third party, and when the third party receives that the transaction feedback information sent by both settlement parties is ' in accordance with expectations ' and the third party is allowed to carry out settlement fund transaction payment ', carrying out the transaction payment of settlement fund so as to achieve the transaction, otherwise, prohibiting the transaction.
A second aspect of the present invention provides a blockchain-based settlement data processing system, comprising the following modules:
The settlement preparation module is used for acquiring settlement data of both parties of settlement, storing the settlement data into the blockchain, distributing transaction blockchains by the blockchain, and defining corresponding settlement logic for the transaction blockchains;
The verification processing module is used for verifying the settlement data of both settlement parties after the transaction block chain acquires the settlement logic, generating transaction data according to the settlement data after the verification is passed, carrying out cooperative interaction processing on the transaction data, and submitting the transaction data to a preset database for storage;
the settlement determining module is used for setting the login permission of the database, performing privacy protection operation on the database, logging in the database through the mobile equipment terminals of the settlement parties to acquire transaction data and define transaction feedback information, and analyzing the transaction feedback information to determine whether the transaction is completed.
Compared with the prior art, the invention has the beneficial effects that:
1. The transaction orders stored in the database are acquired after the transaction orders are logged into the database, the corresponding privacy data of the transaction data in the transaction orders are positioned, the privacy data are the settlement person information and the settlement time of the settlement parties, and the privacy data are set to be in an inaccessible state, so that the data privacy of the settlement parties is ensured to a certain extent, and the privacy disclosure is prevented.
2. The method comprises the steps of performing collaborative interaction processing on transaction data, wherein the collaborative interaction processing comprises first party collaborative interaction and second party collaborative interaction, setting an extended text I and a calling interface I corresponding to the first party through the first party collaborative interaction, wherein the extended text I is used for recording transaction requirements of the first party; similarly, the second party generates the expansion text II and the calling interface II through the cooperative interaction of the second party to realize the operation, so that a corresponding new transaction order is generated, the new requirements of the settlement parties in the settlement operation process are fully considered, and the expansion of the transaction is effectively realized.
3. And the settlement funds are transferred from the third party when the transaction is completed, so that the funds are prevented from being directly checked into sellers in the settlement parties.
Drawings
FIG. 1 is a flow chart of the present invention.
Detailed Description
As shown in fig. 1, the blockchain-based settlement data processing method according to the present embodiment includes the following steps:
Step S1: acquiring settlement data of both parties of settlement, storing the settlement data into a blockchain, distributing transaction blockchains by the blockchain, and defining corresponding settlement logic for the transaction blockchains;
Step S2: after the transaction block chain acquires the settlement logic, checking and verifying settlement data of both settlement parties, generating transaction data according to the settlement data after the checking and verifying are passed, carrying out cooperative interaction processing on the transaction data, and submitting the transaction data to a preset database for storage;
step S3: setting login permission of a database, performing privacy protection operation of the database, logging in the database by the settlement parties through respective mobile equipment ends to acquire transaction data, defining transaction feedback information, and analyzing the transaction feedback information to determine whether the current transaction is achieved.
It should be further noted that, in the implementation process, the process of acquiring the settlement data of the settlement parties and storing the settlement data into the blockchain includes:
the settlement parties comprise a first party and a second party, wherein the first party is a buyer in settlement, the second party is a seller in settlement, and settlement data of the settlement parties are obtained, and the settlement data comprises settlement amount, settlement time, settlement place and settlement person information;
the settlement person information is identity related information of the first party and the second party, and the identity related information comprises names, sexes, identification card numbers, electronic mailboxes and historical settlement records;
Setting the data entry time period and the data removal time of the blockchain, which are respectively marked as T Recording device and T Moving , wherein the data entry time period is a time period, T Recording device =[T Starting from the beginning ,T Terminal (A) ],T Starting from the beginning represents the starting time of the data entry time period, T Terminal (A) represents the ending time of the data entry time period, and the data removal time is a time point;
And acquiring settlement data in the data entry period, storing the settlement data into the blockchain for subsequent processing, and removing the settlement data to the blockchain if the settlement data is not processed after the data removal time is reached.
It should be further noted that, in the implementation process, the process of allocating the transaction blockchain by the blockchain and defining the corresponding settlement logic for the transaction blockchain includes:
acquiring network configuration files of both settlement sides, wherein the network configuration files comprise access node numbers, access IP addresses and historical network logs, and performing blockchain network configuration of both settlement sides through the network configuration files;
Setting a corresponding response port number according to the number of access nodes, setting a response speed of the response port number, judging whether the access IP address has dissimilation information, wherein the dissimilation information is virus information, trojan horse information and SQL injection codes implanted into the IP address, if so, carrying out virus scanning to locate a specific position of the dissimilation information, and clearing the dissimilation information, if not, continuing to obtain a historical weblog, and locating the attacked risks of the two settlement parties according to the historical weblog;
The historical weblog records the latest attacked time, which is marked as T1, the current time is obtained and marked as T2, the security maintenance time is calculated, which is marked as T Anan (safety) , the time with T Anan (safety) = |T2-T1|, the preset risk judgment time is marked as T ', the transaction block chains are distributed to the settlement parties if T Anan (safety) is more than or equal to T ', and the transaction block chains are not distributed if T Anan (safety) is less than T ';
binding a transaction configuration file for a transaction block chain, wherein the transaction configuration file is used for defining settlement logic of two settlement parties, and the settlement logic comprises transaction verification logic, transaction confirmation logic and transaction settlement logic.
It should be further noted that, in the implementation process, after the transaction blockchain acquires the settlement logic, the process of verifying and verifying the settlement data of both parties of the settlement and generating the transaction data according to the settlement data after the verification and verification are passed includes:
the transaction blockchain acquires the reading authority of the transaction configuration file, and further reads the transaction configuration file through the reading authority, wherein the reading is performed according to a preset first reading speed, and the first reading speed is recorded as V1;
When the transaction block chain judges that the transaction configuration file of the transaction block chain is read, continuously judging whether the current reading environment is safe or not, and further determining whether to convert the first reading speed into a second reading speed preset by the transaction configuration file, and recording the second reading speed as V2, wherein V1 is more than 0 and less than V2;
If the current reading environment is safe, converting V1 into V2;
if the current reading environment is unsafe, setting V1 to 0;
After the transaction configuration file is read, acquiring a settlement logic recorded by the transaction configuration file, and verifying settlement data of both settlement parties according to a transaction verification logic in the settlement logic, wherein the transaction verification logic comprises a format specification form and a risk judgment form;
The format specification form is used for verifying whether the format of settlement amount, settlement time, settlement place and settlement person information is correct, and the risk judgment form is used for judging whether a risk settlement record exists in the historical settlement record;
if the format of the settlement data is verified to be all correct through the format specification form, and the risk judgment form judges that the risk settlement record does not exist, the verification passes, otherwise, the verification fails;
After verification is successful, continuing to acquire a transaction confirmation logic and a transaction settlement logic in the settlement logic, wherein the transaction confirmation logic is used for determining whether to generate a transaction payment code, when the verification is successful, generating the transaction payment code, otherwise, not generating the transaction payment code, and the transaction settlement logic is used for acquiring the transaction payment code to perform transaction settlement;
The transaction payment codes are obtained by the two parties according to the transaction settlement logic, the transaction payment codes are scanned, one transaction order of the two parties is generated to finish transaction settlement, the transaction payment codes are immediately invalid once being scanned, and generation of a plurality of transaction orders of the two parties is prevented;
The transaction order is used for recording transaction data generated by both parties of settlement, and the transaction order is prestored in a set data encryption area.
It should be further noted that, in the specific implementation process, the process of submitting the transaction data to the preset database for storage after the collaborative interaction processing includes:
the cooperative interaction processing of the transaction data comprises cooperative interaction of a first party and cooperative interaction of a second party;
The cooperative interaction content of the first party is as follows: the first party is provided with an expansion text I and a calling interface I in a correlated manner, the expansion text I is used for recording the transaction requirement of the first party, when the first party has new transaction requirements for the transaction of the current settlement party, the transaction requirement is supplemented into the expansion text I in a text character mode, the first party is connected to a data encryption area through the calling interface I, the data encryption area judges that the calling interface I is a legal interface and then realizes connection, and new transaction settlement is carried out according to the expansion text I and the transaction order, so that a new transaction order is generated;
the content of the cooperative interaction of the second party is as follows: the second party is provided with an expansion text II and a calling interface II in a correlated manner, the expansion text II is used for recording the transaction requirement of the second party, when the second party has new transaction requirements for the transaction of the current settlement party, the transaction requirement is supplemented into the expansion text II in a text form, the expansion text II is connected to a data encryption area through the calling interface II, the data encryption area judges that the calling interface II is a legal interface and then realizes connection, and new transaction settlement is carried out according to the expansion text II and the transaction order, so that a new transaction order is generated;
And when the calling interface I and the calling interface II are not legal interfaces, prohibiting connection to the data encryption area to acquire a transaction order, storing the transaction order corresponding to the transaction data into a preset database after the cooperative processing of the transaction data is completed, and dynamically encrypting the database.
It should be further noted that, in the implementation process, the process of setting the login permission of the database and performing the privacy protection operation of the database includes:
When the first party and the second party request to connect the databases, respectively setting login rights of the databases for the first party and the second party, wherein the login rights comprise a first-level right, a second-level right and a third-level right, and the change of the login rights is determined according to the access behaviors of the first party and the second party to the databases;
The authority level of the login authority is as follows: the first level authority is greater than the second level authority and greater than the third level authority; the access behavior comprises compliance access and illegal access, when the access behavior does not accord with a preset access rule, the access behavior is illegal access, otherwise, the access behavior is compliance access;
When a first party and a second party log in a database, setting initial login permission as first-level permission, acquiring the number of illegal access times, recording as S Violations of regulations , setting a first change threshold and a second change threshold, and recording as WG1 and WG2 respectively, wherein WG1 is less than WG2;
when S Violations of regulations is more than or equal to WG1, changing the current login authority into a secondary authority;
When S Violations of regulations is more than or equal to WG2, changing the current login authority into three-level authority;
After logging in the database, acquiring a transaction order stored in the database, and further positioning corresponding privacy data of transaction data in the transaction order, wherein the privacy data is settlement person information and settlement time of both settlement parties, and the privacy data is set to be in an inaccessible state, so that privacy protection operation is realized on the privacy data.
It should be further noted that, in the implementation process, the two settlement parties log in the database through their respective mobile device terminals to obtain transaction data, and define transaction feedback information, and the process of analyzing the transaction feedback information to determine whether to reach the present transaction includes:
the transaction order is provided with corresponding settlement funds, after the transaction order is generated, the corresponding settlement funds of the transaction order are paid to a set third party, and the third party is used for storing the settlement funds;
the two settlement parties are associated with corresponding mobile equipment terminals, an identity verification form is arranged in each mobile equipment terminal, the identity verification form records the allowed ID of equipment login verification of the two settlement parties, the equipment login IDs of the two settlement parties are obtained, and whether the equipment login IDs are consistent with the allowed ID or not is judged;
if yes, logging in to the mobile equipment end, logging in to a database through the mobile equipment end, and obtaining transaction data;
if not, prohibiting login to the mobile equipment terminal;
After the transaction data are acquired by the two parties, judging whether the transaction data conform to expected transaction data formulated in advance by the two parties, and defining transaction feedback information corresponding to the two parties according to a judging result;
The judging result comprises 'yes' and 'no', and the transaction feedback information comprises 'meeting expectations', allowing a third party to conduct settlement funds transaction payment 'and' not meeting expectations ', and prohibiting the third party from conducting settlement funds transaction payment';
When the judgment result is ' yes ', the corresponding transaction feedback information is ' according with expectation, the third party is allowed to carry out settlement funds transaction payment ', and when the judgment result is ' no ', the corresponding transaction feedback information is ' not according with expectation ', the third party is forbidden to carry out settlement funds transaction payment ';
And sending the transaction feedback information to a third party, analyzing the transaction feedback information by the third party to determine whether to reach the transaction, and when the third party receives that the transaction feedback information sent by both settlement parties is ' in line with expectations ', and allowing the third party to carry out settlement fund transaction payment ', carrying out the transaction payment of settlement fund so as to reach the transaction, otherwise, prohibiting the transaction.
The embodiment also provides a settlement data processing system based on the blockchain so as to realize the settlement data processing method, and the system comprises the following modules:
The settlement preparation module is used for acquiring settlement data of both parties of settlement, storing the settlement data into the blockchain, distributing transaction blockchains by the blockchain, and defining corresponding settlement logic for the transaction blockchains;
The verification processing module is used for verifying the settlement data of both settlement parties after the transaction block chain acquires the settlement logic, generating transaction data according to the settlement data after the verification is passed, carrying out cooperative interaction processing on the transaction data, and submitting the transaction data to a preset database for storage;
the settlement determining module is used for setting the login permission of the database, performing privacy protection operation on the database, logging in the database through the mobile equipment terminals of the settlement parties to acquire transaction data and define transaction feedback information, and analyzing the transaction feedback information to determine whether the transaction is completed.
The above embodiments are only for illustrating the technical method of the present invention and not for limiting the same, and it should be understood by those skilled in the art that the technical method of the present invention may be modified or substituted without departing from the spirit and scope of the technical method of the present invention.

Claims (7)

1. The block chain-based settlement data processing method is characterized by comprising the following steps of:
Step S1: acquiring settlement data of both parties of settlement, storing the settlement data into a blockchain, distributing transaction blockchains by the blockchain, and defining corresponding settlement logic for the transaction blockchains;
Step S2: after the transaction block chain acquires the settlement logic, checking and verifying settlement data of both settlement parties, generating transaction data according to the settlement data after the checking and verifying are passed, carrying out cooperative interaction processing on the transaction data, and submitting the transaction data to a preset database for storage;
The process of storing the transaction data after the collaborative interaction processing comprises the following steps:
The collaborative interaction processing of the transaction data comprises first party collaborative interaction and second party collaborative interaction, an expansion text I and a calling interface I are arranged through the first party collaborative interaction, an expansion text II and a calling interface II are arranged through the second party collaborative interaction, the expansion text I and the expansion text II are respectively used for recording transaction requirements of the first party and the second party, the first party and the calling interface II are connected to a data encryption area through a request of the calling interface I and the calling interface II, the data encryption area judges that the calling interface I and the calling interface II are legal interfaces, corresponding connection is achieved, and a new transaction order is generated after connection;
When the calling interface I and the calling interface II are not legal interfaces, the connection to the data encryption area is forbidden to acquire the transaction order, and after the cooperative processing of the transaction data is completed, the transaction order corresponding to the transaction data is stored in a preset database;
step S3: setting login permission of a database, performing privacy protection operation of the database, logging in the database by the settlement parties through respective mobile equipment ends to acquire transaction data, defining transaction feedback information, and analyzing the transaction feedback information to determine whether the current transaction is achieved.
2. The blockchain-based settlement data processing method of claim 1, wherein the process of acquiring settlement data of both parties of the settlement and storing the settlement data into the blockchain comprises:
The settlement parties comprise a first party and a second party, settlement data of the settlement parties are obtained, the settlement data comprises settlement amount, settlement time, settlement place and settlement person information, the settlement person information is identity related information of the first party and the second party, and the identity related information comprises name, gender, identity card number, electronic mail box and historical settlement record;
Setting a data entry period and a data removal time of the blockchain, acquiring settlement data in the data entry period, storing the settlement data into the blockchain for subsequent processing, and removing the settlement data to the blockchain if the settlement data is not processed after the data removal time is reached.
3. The blockchain-based settlement data processing method of claim 2, wherein the process of assigning transaction blockchains by the blockchain and defining corresponding settlement logic for the transaction blockchains includes:
Acquiring network configuration files of both settlement sides, wherein the network configuration files comprise access node numbers, access IP addresses and historical weblogs, performing blockchain network configuration of both settlement sides through the network configuration files, setting corresponding response port numbers according to the access node numbers, and judging whether the access IP addresses have dissimilarity information or not;
If the special position of the dissimilatory information is located through virus scanning, the dissimilatory information is cleared, if the special position of the dissimilatory information is not located, a history weblog is continuously acquired, the history weblog records the latest attack time and is marked as T1, the current time is acquired and is marked as T2, the safety maintenance time is further calculated and is marked as T Anan (safety) , the safety maintenance time is marked as T Anan (safety) = |T2-T1|, the risk judgment time is preset and is marked as T ', if T Anan (safety) is greater than or equal to T ', transaction block chains are allocated to two parties, if T Anan (safety) is less than T ', a transaction configuration file is not allocated, the transaction configuration file is used for defining settlement logic of the two parties, and the settlement logic comprises transaction verification logic, transaction confirmation logic and transaction settlement logic.
4. The blockchain-based settlement data processing method as claimed in claim 3, wherein the process of performing audit verification of settlement data of both parties of the settlement and generating transaction data from the settlement data after the audit verification is passed comprises:
the transaction blockchain acquires the reading authority of the transaction configuration file, reads the transaction configuration file through the reading authority, and performs audit verification of settlement data of both settlement parties according to the transaction verification logic after the transaction configuration file is read;
And determining whether to generate a transaction payment code through a transaction confirmation logic, generating the transaction payment code after verification is successful, otherwise, not generating the transaction payment code, acquiring the transaction payment code by the settlement parties according to a transaction settlement logic, scanning the transaction payment code, further generating a transaction order of the settlement parties to finish transaction settlement, recording transaction data generated by the settlement parties by the transaction order, and pre-storing the transaction order in a set data encryption area.
5. The blockchain-based settlement data processing method of claim 4, wherein the process of setting the login authority of the database and performing the privacy protection operation of the database comprises:
When the first party and the second party request to connect the databases, respectively setting login rights of the databases for the first party and the second party, wherein the login rights comprise a first-level right, a second-level right and a third-level right, and the change of the login rights is determined according to the access behaviors of the first party and the second party to the databases;
After logging in the database, the first party and the second party acquire the transaction order stored in the database, and then locate the corresponding privacy data of the transaction data in the transaction order, wherein the privacy data is the information of the settlement person and the settlement time of the settlement parties, and the privacy data is set to be in an inaccessible state.
6. The blockchain-based settlement data processing method of claim 5, wherein the process of acquiring the transaction data and defining transaction feedback information, and analyzing the transaction feedback information to determine whether to reach the current transaction comprises:
when the transaction order is generated, the transaction order corresponding settlement funds are paid to a set third party, the third party is used for storing the settlement funds instead, the two settlement parties are associated with corresponding mobile equipment ends, an identity verification form is built in the mobile equipment ends, the identity verification form records the allowed IDs of equipment login verification of the two settlement parties, the equipment login IDs of the two settlement parties are obtained, whether the equipment login IDs are consistent with the allowed IDs or not is judged, if yes, the mobile equipment ends are logged in, the database is logged in through the mobile equipment ends, transaction data are obtained, and if not, the mobile equipment ends are forbidden to log in;
After the transaction data are obtained by the settlement parties, judging whether the transaction data conform to expected transaction data formulated in advance by the settlement parties, and defining transaction feedback information corresponding to the settlement parties according to a judging result, wherein the transaction feedback information comprises 'conform to expectation, allow a third party to carry out settlement fund transaction payment' and 'not conform to expectation, prohibit the third party from carrying out settlement fund transaction payment';
And sending the transaction feedback information to a third party, and when the third party receives that the transaction feedback information sent by both settlement parties is ' in accordance with expectations ' and the third party is allowed to carry out settlement fund transaction payment ', carrying out the transaction payment of settlement fund so as to achieve the transaction, otherwise, prohibiting the transaction.
7. A blockchain-based settlement data processing system for implementing the settlement data processing method according to any one of claims 1 to 6, characterized by comprising the following modules:
The settlement preparation module is used for acquiring settlement data of both parties of settlement, storing the settlement data into the blockchain, distributing transaction blockchains by the blockchain, and defining corresponding settlement logic for the transaction blockchains;
The verification processing module is used for verifying the settlement data of both settlement parties after the transaction block chain acquires the settlement logic, generating transaction data according to the settlement data after the verification is passed, carrying out cooperative interaction processing on the transaction data, and submitting the transaction data to a preset database for storage;
the settlement determining module is used for setting the login permission of the database, performing privacy protection operation on the database, logging in the database through the mobile equipment terminals of the settlement parties to acquire transaction data and define transaction feedback information, and analyzing the transaction feedback information to determine whether the transaction is completed.
CN202410046409.0A 2024-01-12 2024-01-12 Block chain-based settlement data processing method and system Active CN117556471B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410046409.0A CN117556471B (en) 2024-01-12 2024-01-12 Block chain-based settlement data processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410046409.0A CN117556471B (en) 2024-01-12 2024-01-12 Block chain-based settlement data processing method and system

Publications (2)

Publication Number Publication Date
CN117556471A CN117556471A (en) 2024-02-13
CN117556471B true CN117556471B (en) 2024-05-03

Family

ID=89823726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410046409.0A Active CN117556471B (en) 2024-01-12 2024-01-12 Block chain-based settlement data processing method and system

Country Status (1)

Country Link
CN (1) CN117556471B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110866752A (en) * 2017-09-18 2020-03-06 腾讯科技(深圳)有限公司 Resource transaction method, node, device and storage medium
CN113055179A (en) * 2021-02-21 2021-06-29 西安电子科技大学 Multi-class function zero knowledge auditing method and system for chain settlement data
CN114612089A (en) * 2022-03-14 2022-06-10 平安国际智慧城市科技股份有限公司 Block chain-based man-hour settlement method, device, equipment and storage medium
CN115619404A (en) * 2022-12-06 2023-01-17 国网信息通信产业集团有限公司 Block chain-based enterprise associated transaction business cooperative processing method
CN117035764A (en) * 2023-08-17 2023-11-10 沙萱 Method for applying blockchain to settlement of engineering process

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7021747B2 (en) * 2018-09-20 2022-02-17 日本電信電話株式会社 Payment system, payment method, user device, payment program
AU2018256664A1 (en) * 2018-11-02 2020-05-21 Australian Bond Exchange Holdings Limited System and Computer Implemented Method for Facilitating the Transaction and Settlement of a Financial Instrument

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110866752A (en) * 2017-09-18 2020-03-06 腾讯科技(深圳)有限公司 Resource transaction method, node, device and storage medium
CN113055179A (en) * 2021-02-21 2021-06-29 西安电子科技大学 Multi-class function zero knowledge auditing method and system for chain settlement data
CN114612089A (en) * 2022-03-14 2022-06-10 平安国际智慧城市科技股份有限公司 Block chain-based man-hour settlement method, device, equipment and storage medium
CN115619404A (en) * 2022-12-06 2023-01-17 国网信息通信产业集团有限公司 Block chain-based enterprise associated transaction business cooperative processing method
CN117035764A (en) * 2023-08-17 2023-11-10 沙萱 Method for applying blockchain to settlement of engineering process

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于Fabric超级账本的证券结算系统设计;孙伟;科学技术创新;20200624(第18期);第63-65页 *

Also Published As

Publication number Publication date
CN117556471A (en) 2024-02-13

Similar Documents

Publication Publication Date Title
CN108615148B (en) A kind of preposition method of commerce of secured assets and system based on block chain technology
CN102341807A (en) Access control using identifiers in links
CN111899019A (en) Method and system for cross validation and sharing of blacklist and multiple parties
CN106850693A (en) The method and real-name authentication system of a kind of real-name authentication
CN111934881A (en) Data right confirming method and device, storage medium and electronic device
CN112950201B (en) Node management method and related device applied to block chain system
CN115134069A (en) Block chain editing method and block chain link point
CN116777397A (en) Electronic bill management method, device, terminal and storage medium based on block chain
CN112613961A (en) Import and export enterprise tax collection and management system based on block chain
CN110738502B (en) Bill processing method and device and storage medium device
CN110232569B (en) Method and device for reading transaction record and storage medium
CN117556471B (en) Block chain-based settlement data processing method and system
US20230113422A1 (en) Method for identifying user information in transaction and device for performing same
CN112528181B (en) Two-dimensional code management method, device, computer equipment and readable storage medium
CN108460870B (en) Intelligent unlocking method and system
CN105653932A (en) Software upgrading validation method and device
CN117014197A (en) MSK system-based data exchange method and apparatus
CN110070361A (en) Contract based on block chain deposits card method, equipment and storage medium
CN116982332A (en) Method for authorizing a first participant in a communication network, processor device, motor vehicle and infrastructure device
CN116842553B (en) Function certificate management method and device based on blockchain and storage medium
US20240127242A1 (en) Methods and systems for processing customer-initiated payment transactions
KR102605368B1 (en) Method and server for verifying authenticity of mail
RU2794054C2 (en) Automated system for independent confirmation of transactions
CN114793179B (en) Method and system for tenant access, server and storage medium
CN102833070A (en) Digital certificate binding method and system and digital certificate authentication center for common user

Legal Events

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