CN115511630A - Transaction data verification and cancellation method and device and server - Google Patents

Transaction data verification and cancellation method and device and server Download PDF

Info

Publication number
CN115511630A
CN115511630A CN202211180161.4A CN202211180161A CN115511630A CN 115511630 A CN115511630 A CN 115511630A CN 202211180161 A CN202211180161 A CN 202211180161A CN 115511630 A CN115511630 A CN 115511630A
Authority
CN
China
Prior art keywords
verification
target
transaction data
account
cancellation
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
CN202211180161.4A
Other languages
Chinese (zh)
Inventor
杨阳
柴雨桐
王浩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202211180161.4A priority Critical patent/CN115511630A/en
Publication of CN115511630A publication Critical patent/CN115511630A/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/23Updating
    • 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/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • 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

Landscapes

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

Abstract

The specification provides a transaction data verification method, a transaction data verification device and a transaction data verification server, and can be applied to the field of finance. Based on the method, after receiving the target transaction data to be underwritten, the second server of the service system can upload and store the target transaction data into an underwriting database based on the block chain according to a preset underwriting rule. The first server of the verification and cancellation system can periodically and regularly query the verification and cancellation database at preset time intervals according to preset verification and cancellation rules so as to acquire target transaction data to be verified and cancelled; determining right and interest parameters of the target account according to the account identification of the target account carried by the target transaction data; and performing corresponding verification and cancellation processing on the target transaction data according to the right and interest parameters of the target account. Therefore, the verification and cancellation processing flow can be effectively simplified, and the verification and cancellation processing of the transaction data can be efficiently and accurately and automatically completed.

Description

Transaction data verification and cancellation method and device and server
Technical Field
The specification belongs to the technical field of internet, and particularly relates to a transaction data verification and cancellation method, device and server.
Background
In the financial field, a transaction institution's underwriting system may interface with the business systems of multiple external business servers simultaneously and require underwriting to process large amounts of transaction data from different business servers.
However, based on the existing verification and cancellation method, the verification and cancellation processing process is complicated and complex, so that the overall verification and cancellation processing efficiency is relatively low; in addition, specific rights and interests information related to each transaction data also needs to be considered and analyzed in the verification and sale process, and the existing method is troublesome to operate and prone to errors when being specifically realized.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The description provides a transaction data verification and cancellation method, a transaction data verification and cancellation device and a transaction data verification and cancellation server, which can effectively simplify verification and cancellation processing flow and efficiently and accurately automatically complete verification and cancellation processing of transaction data.
The specification provides a transaction data verification method, which is applied to a first server, wherein the first server is deployed on one side of a verification and cancellation system, and the method comprises the following steps:
inquiring a verification and cancellation database at intervals of a preset time period according to a preset verification and cancellation rule to obtain target transaction data to be verified and cancelled; the target transaction data at least carries an account identifier of a target account; the second server uploads the transaction data accessed by the service system to a verification and cancellation database according to a preset verification and cancellation rule, and the second server is deployed at one side of the service system; the underwriting database comprises a block chain based database;
determining the rights and interests parameters of the target account according to the account identification of the target account;
and performing corresponding verification and cancellation processing on the target transaction data according to the right and interest parameters of the target account.
In one embodiment, determining the entitlement parameter for the target account based on the account identifier for the target account comprises:
inquiring a rights and interests configuration database according to the account identifier of the target account to determine rights and interests parameters of the target account; wherein the second server builds and maintains the rights configuration database.
In one embodiment, the benefits configuration database comprises a block chain based database.
In one embodiment, after performing corresponding verification processing on the target transaction data according to the right and interest parameters of the target account, the method further comprises:
and writing the verification and cancellation processing result of the target transaction data into a verification and cancellation database.
In one embodiment, writing the verification and cancellation processing result of the target transaction data into a verification and cancellation database includes:
encrypting the verification and cancellation processing result of the target transaction data according to a preset verification and cancellation rule to obtain ciphertext data of the verification and cancellation processing result;
setting a core-canceling tag in the ciphertext data of the core-canceling processing result; the cancel verification tag at least comprises a server identification and cancel verification time of the first server;
and writing the ciphertext data of the core-canceling processing result carrying the core-canceling label into a core-canceling database.
In one embodiment, the target transaction data further carries a target equity voucher.
In one embodiment, according to the right parameters of the target account, the corresponding cancel-after-verification processing is carried out on the target transaction data, and the cancel-after-verification processing comprises the following steps:
verifying whether the target interest certificate is valid or not according to the interest parameters of the target account;
under the condition that the target rights and interests voucher is determined to be effective, a target verification and cancellation rule corresponding to the target rights and interests voucher is determined according to the rights and interests parameters of the target account and the target rights and interests voucher;
and performing corresponding verification and cancellation processing on the target transaction data according to the target verification and cancellation rule.
The present specification also provides a transaction data verification method, which is applied to a second server, where the second server is deployed on one side of a service system, and the method includes:
receiving target transaction data; the target transaction data at least carries an account identifier of a target account;
uploading target transaction data to a verification and cancellation database according to a preset verification and cancellation rule; wherein the audit trail database comprises a block chain based database.
In one embodiment, the method further comprises:
determining attribute characteristics of each account according to a system user database;
determining initial right parameters of each account according to the attribute characteristics of each account;
and constructing a block chain-based interest configuration database according to the initial interest parameters of each account.
In one embodiment, the method further comprises:
pushing a rights and interests voucher to the target account;
and in the case of detecting that the target account accepts the rights and interests certificate, writing rights and interests parameters which correspond to the account identification of the target account and are related to the rights and interests certificate in a rights and interests configuration database.
The present specification further provides a transaction data verification apparatus applied to a first server, including:
the acquisition module is used for inquiring the verification and cancellation database at intervals of a preset time period according to a preset verification and cancellation rule so as to acquire target transaction data to be verified and cancelled; the target transaction data at least carries an account identifier of a target account; the second server uploads transaction data accessed by the business system to a verification and cancellation database according to a preset verification and cancellation rule, and the second server is deployed on one side of the business system; the audit trail database comprises a database based on a block chain;
the determining module is used for determining the interest parameters of the target account according to the account identification of the target account;
and the verification and cancellation module is used for performing corresponding verification and cancellation processing on the target transaction data according to the right and interest parameters of the target account.
The present specification also provides a transaction data verification and cancellation device applied to a second server, including:
a receiving module for receiving target transaction data; the target transaction data at least carries an account identifier of a target account;
the uploading module is used for uploading the target transaction data to a verification and cancellation database according to a preset verification and cancellation rule; wherein the audit trail database comprises a block chain based database.
The present specification also provides a server comprising a processor and a memory for storing processor-executable instructions which, when executed by the processor, implement the steps associated with the transaction data underwriting method.
The present specification also provides a computer readable storage medium having stored thereon computer instructions which, when executed by a processor, perform the steps associated with the transaction data underwriting method.
The present specification also provides a computer program product comprising a computer program which, when executed by a processor, performs the steps associated with the transaction data underwriting method.
Based on the transaction data verification method, the transaction data verification device and the transaction data verification server provided by the specification, after receiving target transaction data to be verified, the second server of the service system can upload and store the target transaction data into a verification and verification database based on the block chain according to a preset verification and verification rule. The first server of the verification and cancellation system can periodically and automatically query the verification and cancellation database at regular intervals according to a preset verification and cancellation rule so as to actively acquire target transaction data to be verified and cancelled; determining the interest parameters of the target account according to the account identification of the target account carried by the target transaction data; and performing corresponding verification and cancellation processing on the target transaction data according to the right and interest parameters of the target account. Therefore, the verification and cancellation processing flow can be effectively simplified, and the verification and cancellation processing of the transaction data can be efficiently and accurately and automatically completed.
Further, the second server of the service system may also construct and maintain a corresponding equity configuration database for recording and managing equity parameters corresponding to the account identifier of each account, using the advantages of the block chain. Correspondingly, when the first server of the verification and cancellation system performs verification and cancellation specifically, the right information of the target transaction data can be considered and analyzed by querying the right configuration database and efficiently acquiring and utilizing the right parameters of the target account according to the account identifier of the target account carried by the target transaction data, so that the target transaction data can be subjected to matched verification and cancellation more accurately.
Drawings
In order to more clearly illustrate the embodiments of the present specification, the drawings needed to be used in the embodiments will be briefly described below, and the drawings in the following description are only some of the embodiments described in the specification, and it is obvious to those skilled in the art that other drawings can be obtained based on the drawings without any inventive work.
FIG. 1 is a schematic flow chart diagram of a transaction data underwriting method provided by one embodiment of the present description;
FIG. 2 is a schematic diagram illustrating an embodiment of a transaction data underwriting method provided by an embodiment of the present specification, in one example scenario;
FIG. 3 is a schematic diagram illustrating an embodiment of a transaction data underwriting method provided by an embodiment of the present specification, in one example scenario;
FIG. 4 is a schematic flow chart diagram of a transaction data underwriting method according to another embodiment of the present disclosure;
fig. 5 is a schematic structural component diagram of a server provided in an embodiment of the present specification;
fig. 6 is a schematic structural component diagram of a transaction data approval apparatus provided in an embodiment of the present specification;
fig. 7 is a schematic structural component diagram of a transaction data approval apparatus according to another embodiment of the present specification.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present specification without making any creative effort shall fall within the protection scope of the present specification.
Referring to fig. 1, an embodiment of the present disclosure provides a transaction data verification method, where the method is specifically applied to a first server side. The first server may be specifically deployed on one side of the core-sale system. In specific implementation, the method may include the following:
s101: inquiring a verification and cancellation database at intervals of a preset time period according to a preset verification and cancellation rule so as to obtain target transaction data to be verified and cancelled; the target transaction data at least carries an account identifier of a target account; the second server uploads transaction data accessed by the business system to a verification and cancellation database according to a preset verification and cancellation rule, and the second server is deployed on one side of the business system; the underwriting database comprises a block chain based database;
s102: determining the rights and interests parameters of the target account according to the account identification of the target account;
s103: and performing corresponding verification and cancellation processing on the target transaction data according to the right and interest parameters of the target account.
In some embodiments, referring to fig. 2, the first server may be specifically disposed on a verification and sale system side of a transaction institution (e.g., a bank, etc.). Wherein the underwriting system can interface with business systems of multiple business service parties (e.g., shopping websites, etc.). Accordingly, the first server may be connected to a second server of a plurality of service systems. For example, the first server can be respectively connected with No. 1 second server of the first service system, no. 2 second server of the second service system \8230whichis connected with No. N second server of the Nth service system in a wired or wireless mode.
The first server and the second server may specifically include a background server capable of implementing functions such as data transmission and data processing. Specifically, the first server and the second server may be, for example, an electronic device having data operation, storage functions, and network interaction functions. Alternatively, the first server and the second server may also be software programs running in the electronic device and supporting data processing, storage and network interaction. In this embodiment, the number of the servers included in the first server and the second server is not specifically limited. The first server and the second server may be specifically one server, or several servers, or a server cluster formed by several servers.
Based on the system, each business service party can attract and maintain more customers by providing the customers with the rights and interests identity or distributing rights and interests certificates (such as coupons, vouchers and the like) to the customers. After receiving the rights and interests identity or rights and interests certificate provided by the business service party, the client can use the related rights and interests identity or rights and interests certificate to complete specific business data processing in the business system of the business service party and pay the resource bill related to the business data processing in a relatively preferential manner. Correspondingly, the second server of the business system generates corresponding transaction data (for example, account details, etc.), and then provides the transaction data to the verification and cancellation system of the transaction platform according to the preset verification and cancellation rule.
The first server of the verification and cancellation system can perform corresponding verification and cancellation processing on the transaction data according to a preset verification and cancellation rule. Specifically, the first server may acquire and utilize the related rights and interests information according to a preset underwriting rule to underwritten the transaction data, and obtain a corresponding underwriting processing result. In some scenarios, the transaction mechanism may further perform offline verification with the service provider according to the verification and cancellation processing result.
The preset cancel and verify rule may be specifically understood as a rule set configured in advance based on a cooperation protocol and used for limiting data processing in the cancel and verify process of the first server and the second server.
In specific implementation, the preset reimbursement rule with strong pertinence can be configured by comprehensively considering the reimbursement mechanisms of the transaction mechanism and the business service party, the performance parameters of the reimbursement system and the business system and the customization requirements of the business service party on the basis of the cooperation agreement.
In addition, in the specific implementation process, the preset verification and cancellation rule can be flexibly adjusted and updated according to the actual performance performances of the verification and cancellation system and the business system and the modification requirement of the business service party based on the cooperation protocol.
In some embodiments, referring to fig. 2, in a specific implementation, after receiving the target transaction data to be underwritten, the second server may upload the target transaction data to the underwriting database in real time or at regular time according to a preset underwriting rule.
The cancel/verify database may specifically include a block chain-based database. Therefore, the advantages of the block chain can be utilized to safely and reliably store the transaction data to be checked and cancelled.
Specifically, when the audit data base records the target transaction data, the audit data base may record the server identifier of the second server that uploads the target transaction data, and the upload time.
The first server can query the verification and cancellation database at preset time intervals according to preset verification and cancellation rules to obtain target transaction data to be verified and cancelled.
Specifically, the first server periodically queries and acquires transaction data of which the uploading time belongs to the current time period in a verification and cancellation database at intervals of a preset time period according to a preset verification and cancellation rule, and the transaction data serve as target transaction data to be verified and cancelled.
The target transaction data at least carries an account identification of a target account related to the transaction data. The target transaction data may specifically include accounting details data related to the target account to be credited.
Further, the first server can determine the right and interest parameters of the target account according to the target account identifier; and then according to the right-interest parameters of the target account, performing verification and cancellation processing on the target transaction data matched with the right-interest information indicated by the right-interest parameters.
In some embodiments, the determining, according to the account identifier of the target account, the right and interest parameters of the target account may include: inquiring a rights and interests configuration database according to the account identifier of the target account to determine rights and interests parameters of the target account; wherein the second server builds and maintains the rights configuration database.
The rights configuration database may specifically store rights parameters corresponding to the account identifier. The rights parameters may specifically include the rights identity (e.g., VIP user, etc.) and/or the accepted rights voucher (e.g., coupon, voucher, etc. received by the customer) owned by the customer holding the account, and rule data related to the rights identity and/or the usage of the rights voucher (e.g., the usage period of the rights voucher, the rights scope enjoyed by the rights identity, the usage condition of the rights voucher, and the rights contents enjoyed by the rights voucher and/or the rights identity, etc.).
In addition, the rights configuration database may specifically include a database based on a block chain. The advantage of the block chain can be utilized, and the right and interest parameters of the account can be managed and maintained safely and reliably.
In some embodiments, the rights configuration database may be specifically constructed and maintained by a second server of the business system.
Before specific implementation, referring to fig. 3, the second server may be constructed to obtain the rights configuration database in the following manner:
s1: determining attribute characteristics of each account according to a system user database;
s2: determining initial right parameters of each account according to the attribute characteristics of each account;
s3: and constructing a rights and interests configuration database based on the block chain according to the initial rights and interests parameters of each account.
The system user database may be specifically understood as a user database held by a service system. The attribute characteristics of each account may specifically include one or more of the following: account rating, account type (e.g., general account, VIP account, etc.), coupons, vouchers, full discount coupons, etc. held by the account.
In specific implementation, the second server may obtain attribute features associated with the equity information of each account by querying the system user database. And determining initial right parameters of each account according to the attribute characteristics of each account in a desensitization processing mode. Therefore, the obtained initial right-interest parameters can be prevented from revealing privacy information of the account to a certain extent, and data security of the account can be better protected.
Further, the second server may write the initial right parameters of each account into the block chain to construct a right configuration database based on the block chain, and when the initial right parameters of each account are written into the block chain, the second server may also write specific write time and a server identifier of the second server together, so as to facilitate subsequent backtracking query.
In specific implementation, the second server may further continuously update and maintain the rights and interests configuration database, which specifically includes the following contents: the second server can update the rights and interests configuration database according to the updated data of the system user database at regular time.
For example, the second server may perform targeted modification and update of the equity parameters of an account in the equity configuration database upon detecting that the account type of the account in the system user database has changed from a normal account to a VIP account.
In addition, according to business needs, the second server can also push new rights and interests certificates to the target account; meanwhile, whether the target account accepts the pushed rights and interests voucher is monitored; if it is monitored that the target account accepts the rights and interests voucher, the rights and interests parameters corresponding to the account identification of the account and related to the rights and interests voucher can be written in the rights and interests configuration database.
Based on the embodiment, the second server can effectively build and maintain the rights and interests configuration database, so that the rights and interests parameters stored in the rights and interests configuration database are timely and accurate.
In some embodiments, the target transaction data may also specifically carry a target right certificate used. In addition, the target transaction data can also carry indication information of the target right certificate.
Correspondingly, the above-mentioned corresponding verification and cancellation processing of the target transaction data according to the right and interest parameters of the target account may further include the following contents in specific implementation:
s1: verifying whether the target interest certificate is valid according to the interest parameters of the target account;
s2: under the condition that the target equity voucher is determined to be effective, determining a target verification and cancellation rule corresponding to the target equity voucher according to the equity parameters of the target account and the target equity voucher;
s3: and performing corresponding verification and cancellation processing on the target transaction data according to the target verification and cancellation rule.
When the method is specifically implemented, under the condition that the target interest certificate is determined to be valid, whether the use of the target interest certificate meets the use condition can be further determined; under the condition that the use condition is determined to be met, generating a target verification rule corresponding to the target rights voucher according to the rights content of the target rights voucher; and then, according to the target verification and cancellation rule, performing matched verification and cancellation processing on the target transaction data.
In some embodiments, the target transaction data may further carry indication information of the interest identity of the target account.
Correspondingly, when the verification and cancellation processing is carried out specifically, whether the right and interest identity of the target account is valid or not can be verified according to the right and interest parameter of the target account; and under the condition that the right and interest identity of the target account is determined to be effective, generating a first verification and cancellation rule according to the right and interest content of the right and interest identity. Meanwhile, whether the target transaction data uses the rights and interests certificate is detected; under the condition that the target transaction data uses the target equity certificate, detecting whether the target equity certificate is valid or not according to the equity parameter; and under the condition that the target rights and interests voucher is determined to be effective, generating a second verification and cancellation rule according to the rights and interests content of the target rights and interests voucher. And superposing and combining the first verification and cancellation rule and the second verification and cancellation rule to obtain a target verification and cancellation rule aiming at the target transaction data. And further, specific cancel-after-verification processing can be carried out on the target transaction data according to the target cancel-after-verification rule.
In some embodiments, after performing corresponding reimbursement processing on the target transaction data according to the right and interest parameters of the target account, when the method is implemented, the method may further include: and writing the verification and cancellation processing result of the target transaction data into a verification and cancellation database.
Therefore, the characteristics of the block chain can be fully utilized, the verification and cancellation process of the target transaction data is completely recorded and stored, and the subsequent backtracking query is facilitated.
In some embodiments, the writing of the verification and cancellation processing result of the target transaction data into the verification and cancellation database may include the following steps:
s1: according to a preset verification rule, encrypting a verification processing result of the target transaction data to obtain ciphertext data of the verification processing result;
s2: setting a core-canceling tag in the ciphertext data of the core-canceling processing result; wherein, the cancel verification tag at least comprises the server identification and cancel verification time of the first server;
s3: and writing the ciphertext data of the core-canceling processing result carrying the core-canceling label into a core-canceling database.
Specifically, the first server may generate a corresponding encryption key and a corresponding decryption key by using an account identifier of the target account according to a preset approval and cancellation rule; and provides the decryption key to the second server. The first server can perform encryption processing on the verification and cancellation processing result of the target transaction data by using the encryption key to obtain ciphertext data of the corresponding verification and cancellation processing result; and writing the ciphertext data of the cancel-after-verification processing result into a cancel-after-verification database based on the block chain. Therefore, the verification and cancellation processing result can be prevented from being leaked, and the data privacy of the target account can be better protected.
In addition, before the ciphertext data of the cancel verification processing result is written, a cancel verification tag containing the service identifier of the first server and cancel verification time can be added to the ciphertext data of the cancel verification processing result, so that the subsequent backtracking query can be conveniently carried out.
Further, after the ciphertext data of the cancel verification processing result carrying the cancel verification tag is written into the cancel verification database based on the block chain according to the above manner, the first server may further generate result prompt information for the cancel verification processing result. Wherein, the result prompt information can also carry a corresponding verification and cancellation label.
The first server may send the cancel verification prompt message to the second server. The second server may verify the verification result by using the corresponding decryption key by querying the verification database according to the verification prompt information.
As can be seen from the above, according to the transaction data verification method provided in the embodiment of the present specification, after receiving target transaction data to be verified, the second server of the service system may upload and store the target transaction data into a verification and cancellation database based on a block chain according to a preset verification and cancellation rule. The first server of the verification and cancellation system can periodically query the verification and cancellation database at preset time intervals according to preset verification and cancellation rules to obtain target transaction data to be verified and cancelled; determining the interest parameters of the target account according to the account identification of the target account carried by the target transaction data; and performing corresponding verification and cancellation processing on the target transaction data according to the right and interest parameters of the target account. Therefore, the verification and cancellation processing flow can be effectively simplified, and the verification and cancellation processing of the transaction data can be efficiently and accurately completed automatically. Further, the second server of the service system may also construct and maintain a rights and interests configuration database for recording and managing rights and interests parameters corresponding to the account identifier of each account, using the advantages of the block chain. Correspondingly, when the first server of the verification and cancellation system performs verification and cancellation processing, the right information of the target transaction data can be considered and analyzed by inquiring the right configuration database and obtaining and utilizing the right parameters of the target account according to the account identifier of the target account carried by the target transaction data, so that the corresponding verification and cancellation processing can be performed on the target transaction data more accurately.
Referring to fig. 4, an embodiment of the present disclosure further provides another transaction data verification method, which is specifically applied to a second server side, where the second server is deployed on a business system side. The method can be implemented by the following steps:
s401: receiving target transaction data; the target transaction data at least carries an account identifier of a target account;
s402: uploading target transaction data to a verification and cancellation database according to a preset verification and cancellation rule; wherein the audit trail database comprises a database based on a block chain.
In some embodiments, the method, when implemented, may further include: determining attribute characteristics of each account according to a system user database; determining initial right parameters of each account according to the attribute characteristics of each account; and constructing a rights and interests configuration database based on the block chain according to the initial rights and interests parameters of each account.
In some embodiments, the method, when implemented, may further include: pushing a rights and interests voucher to the target account; and in the case of detecting that the target account accepts the rights and interests certificate, writing rights and interests parameters which correspond to the account identification of the target account and are related to the rights and interests certificate in a rights and interests configuration database.
Embodiments of the present specification further provide a server, including a processor and a memory for storing processor-executable instructions, where the processor, when implemented, may perform the following steps according to the instructions: inquiring a verification and cancellation database at intervals of a preset time period according to a preset verification and cancellation rule so as to obtain target transaction data to be verified and cancelled; the target transaction data at least carries an account identifier of a target account; the second server uploads the transaction data accessed by the service system to a verification and cancellation database according to a preset verification and cancellation rule, and the second server is deployed at one side of the service system; the underwriting database comprises a block chain based database; determining the rights and interests parameters of the target account according to the account identification of the target account; and performing corresponding verification and cancellation processing on the target transaction data according to the right and interest parameters of the target account.
In order to more accurately complete the above instructions, referring to fig. 5, another specific server is provided in the embodiments of the present specification, wherein the server includes a network communication port 501, a processor 502 and a memory 503, and the above structures are connected by an internal cable, so that the structures can perform specific data interaction.
The network communication port 501 may be specifically configured to receive a trigger instruction.
The processor 502 may be specifically configured to respond to a trigger instruction, and query the verification and cancellation database at preset time intervals according to a preset verification and cancellation rule, so as to obtain target transaction data to be verified and cancelled; the target transaction data at least carries an account identifier of a target account; the second server uploads the transaction data accessed by the service system to a verification and cancellation database according to a preset verification and cancellation rule, and the second server is deployed at one side of the service system; the underwriting database comprises a block chain based database; determining the rights and interests parameters of the target account according to the account identification of the target account; and performing corresponding verification and cancellation processing on the target transaction data according to the right and interest parameters of the target account.
The memory 503 may be specifically configured to store a corresponding instruction program.
In this embodiment, the network communication port 501 may be a virtual port that is bound to different communication protocols, so that different data can be sent or received. For example, the network communication port may be a port responsible for web data communication, a port responsible for FTP data communication, or a port responsible for mail data communication. In addition, the network communication port can also be a communication interface or a communication chip of an entity. For example, it may be a wireless mobile network communication chip, such as GSM, CDMA, etc.; it can also be a Wifi chip; it may also be a bluetooth chip.
In this embodiment, the processor 502 may be implemented in any suitable manner. For example, the processor may take the form of, for example, a microprocessor or processor and a computer-readable medium that stores computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, an embedded microcontroller, and so forth. The description is not intended to be limiting.
In this embodiment, the memory 503 may include multiple layers, and in a digital system, the memory may be any memory as long as binary data can be stored; in an integrated circuit, a circuit without a physical form and with a storage function is also called a memory, such as a RAM, a FIFO and the like; in the system, the storage device in physical form is also called a memory, such as a memory bank, a TF card and the like.
Embodiments of the present specification further provide another server, including a processor and a memory for storing processor-executable instructions, where the processor, when implemented in detail, may perform the following steps according to the instructions: receiving target transaction data; the target transaction data at least carries an account identifier of a target account; uploading target transaction data to a verification and cancellation database according to a preset verification and cancellation rule; wherein the audit trail database comprises a block chain based database.
The present specification further provides a computer-readable storage medium based on the above transaction data verification method, where the computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed, the computer program instructions implement: inquiring a verification and cancellation database at intervals of a preset time period according to a preset verification and cancellation rule so as to obtain target transaction data to be verified and cancelled; the target transaction data at least carries an account identifier of a target account; the second server uploads transaction data accessed by the business system to a verification and cancellation database according to a preset verification and cancellation rule, and the second server is deployed on one side of the business system; the underwriting database comprises a block chain based database; determining the rights and interests parameters of the target account according to the account identification of the target account; and performing corresponding verification and cancellation processing on the target transaction data according to the right and interest parameters of the target account.
The present specification further provides a computer-readable storage medium based on the above transaction data verification method, where the computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed, the computer program instructions implement: receiving target transaction data; the target transaction data at least carries an account identifier of a target account; uploading target transaction data to a verification and cancellation database according to a preset verification and cancellation rule; wherein the audit trail database comprises a database based on a block chain.
In this embodiment, the storage medium includes, but is not limited to, a Random Access Memory (RAM), a Read-Only Memory (ROM), a Cache (Cache), a Hard Disk Drive (HDD), or a Memory Card (Memory Card). The memory may be used to store computer program instructions. The network communication unit may be an interface for performing network connection communication, which is set in accordance with a standard prescribed by a communication protocol.
In this embodiment, the functions and effects specifically realized by the program instructions stored in the computer-readable storage medium can be explained in comparison with other embodiments, and are not described herein again.
The present specification also provides a computer program product comprising a computer program which when executed by a processor performs the steps of: inquiring a verification and cancellation database at intervals of a preset time period according to a preset verification and cancellation rule to obtain target transaction data to be verified and cancelled; the target transaction data at least carries an account identifier of a target account; the second server uploads the transaction data accessed by the service system to a verification and cancellation database according to a preset verification and cancellation rule, and the second server is deployed at one side of the service system; the underwriting database comprises a block chain based database; determining the rights and interests parameters of the target account according to the account identification of the target account; and performing corresponding verification and cancellation processing on the target transaction data according to the right and interest parameters of the target account.
Referring to fig. 6, in a software level, an embodiment of the present specification further provides a transaction data verification apparatus, which may specifically include the following structural modules:
the obtaining module 601 may be specifically configured to query the verification and cancellation database at intervals of a preset time period according to a preset verification and cancellation rule, so as to obtain target transaction data to be verified and cancelled; the target transaction data at least carries an account identifier of a target account; the second server uploads transaction data accessed by the business system to a verification and cancellation database according to a preset verification and cancellation rule, and the second server is deployed on one side of the business system; the underwriting database comprises a block chain based database;
the determining module 602 may be specifically configured to determine a right parameter of the target account according to the account identifier of the target account;
the verification and cancellation module 603 may be specifically configured to perform corresponding verification and cancellation processing on the target transaction data according to the right-interest parameter of the target account.
In some embodiments, when the determining module 602 is implemented, the right parameter of the target account may be determined according to the account identifier of the target account in the following manner: inquiring a rights configuration database according to the account identification of the target account to determine rights parameters of the target account; wherein the second server builds and maintains the rights configuration database.
In some embodiments, the equity configuration database may specifically include a blockchain based database.
In some embodiments, after performing corresponding reimbursement processing on the target transaction data according to the right and interest parameters of the target account, when the device is implemented, the device may be further configured to write a reimbursement processing result of the target transaction data into a reimbursement database.
In some embodiments, when the apparatus is implemented, the verification and cancellation processing result of the target transaction data may be written into the verification and cancellation database in the following manner: according to a preset verification rule, encrypting a verification processing result of the target transaction data to obtain ciphertext data of the verification processing result; setting a core-canceling tag in the ciphertext data of the core-canceling processing result; the cancel verification tag at least comprises a server identification and cancel verification time of the first server; and writing the ciphertext data of the core-canceling processing result carrying the core-canceling label into a core-canceling database.
In some embodiments, the target transaction data may also specifically carry a target equity certificate.
In some embodiments, when the verification module 603 is implemented, the verification processing may be performed on the target transaction data according to the right parameter of the target account in the following manner: verifying whether the target interest certificate is valid according to the interest parameters of the target account; under the condition that the target equity voucher is determined to be effective, determining a target verification and cancellation rule corresponding to the target equity voucher according to the equity parameters of the target account and the target equity voucher; and performing corresponding cancel-after-verification processing on the target transaction data according to the target cancel-after-verification rule.
Referring to fig. 7, in a software level, an embodiment of the present disclosure further provides another transaction data verification apparatus, which may specifically include the following structural modules:
the receiving module 701 may be specifically configured to receive target transaction data; the target transaction data at least carries an account identifier of a target account;
the uploading module 702 may be specifically configured to upload the target transaction data to the verification and cancellation database according to a preset verification and cancellation rule; wherein the audit trail database comprises a database based on a block chain.
In some embodiments, the apparatus may further include a building module, which may be configured to determine attribute characteristics of each account according to a system user database; determining initial right and interest parameters of each account according to the attribute characteristics of each account; and constructing a rights and interests configuration database based on the block chain according to the initial rights and interests parameters of each account.
In some embodiments, the apparatus may be further configured to push a rights voucher to the target account when implemented; and in the case that the target account is detected to accept the rights and interests certificate, writing rights and interests parameters corresponding to the account identification of the target account and related to the rights and interests certificate in the rights and interests configuration database.
It should be noted that, the units, devices, modules, and the like described in the foregoing embodiments may be specifically implemented by a computer chip or an entity, or implemented by a product with certain functions. For convenience of description, the above devices are described as being divided into various modules by functions, and are described separately. It is to be understood that, in implementing the present specification, functions of each module may be implemented in one or more pieces of software and/or hardware, or a module that implements the same function may be implemented by a combination of a plurality of sub-modules or sub-units, or the like. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
As can be seen from the above, based on the transaction data verification and cancellation device provided in the embodiments of the present specification, after receiving the target transaction data to be verified and cancelled, the second server of the service system may upload and store the target transaction data into a verification and cancellation database based on the block chain according to a preset verification and cancellation rule. The first server of the verification and cancellation system can periodically query the verification and cancellation database at preset time intervals according to preset verification and cancellation rules to obtain target transaction data to be verified and cancelled; determining the interest parameters of the target account according to the account identification of the target account carried by the target transaction data; and performing corresponding verification and cancellation processing on the target transaction data according to the right and interest parameters of the target account. Therefore, the verification and cancellation processing flow can be effectively simplified, and the verification and cancellation processing of the transaction data can be efficiently and accurately and automatically completed.
Although the present specification provides method steps as described in the examples or flowcharts, additional or fewer steps may be included based on conventional or non-inventive means. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of sequences, and does not represent a unique order of performance. When an apparatus or client product in practice executes, it may execute sequentially or in parallel (e.g., in a parallel processor or multithreaded processing environment, or even in a distributed data processing environment) according to the embodiments or methods shown in the figures. The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the presence of additional identical or equivalent elements in processes, methods, articles, or apparatus that include the recited elements is not excluded. The terms first, second, etc. are used to denote names, but not to denote any particular order.
Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may therefore be considered as a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
This description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, classes, etc. that perform particular tasks or implement particular abstract data types. The specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer-readable storage media including memory storage devices.
From the above description of the embodiments, it is clear to those skilled in the art that the present specification can be implemented by software plus necessary general hardware platform. With this understanding, the technical solutions in the present specification may be essentially embodied in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a mobile terminal, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments in the present specification.
The embodiments in the present specification are described in a progressive manner, and the same or similar parts in the embodiments are referred to each other, and each embodiment focuses on differences from other embodiments. The description is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
While the specification has been described with examples, those skilled in the art will appreciate that there are numerous variations and permutations of the specification that do not depart from the spirit of the specification, and it is intended that the appended claims include such variations and modifications that do not depart from the spirit of the specification.

Claims (15)

1. A transaction data verification method is applied to a first server, the first server is arranged on the verification system side, and the method comprises the following steps:
inquiring a verification and cancellation database at intervals of a preset time period according to a preset verification and cancellation rule to obtain target transaction data to be verified and cancelled; the target transaction data at least carries an account identifier of a target account; the second server uploads transaction data accessed by the business system to a verification and cancellation database according to a preset verification and cancellation rule, and the second server is deployed on one side of the business system; the audit trail database comprises a database based on a block chain;
determining right and interest parameters of the target account according to the account identification of the target account;
and performing corresponding verification and cancellation processing on the target transaction data according to the right and interest parameters of the target account.
2. The method of claim 1, wherein determining the entitlement parameter for the target account based on the account identifier for the target account comprises:
inquiring a rights configuration database according to the account identification of the target account to determine rights parameters of the target account; wherein the second server builds and maintains the rights configuration database.
3. The method of claim 2 wherein the equity configuration database comprises a block chain based database.
4. The method of claim 1, wherein after performing corresponding verification processing on the target transaction data according to the interest parameters of the target account, the method further comprises:
and writing the verification and cancellation processing result of the target transaction data into a verification and cancellation database.
5. The method of claim 4, wherein writing the verification processing result of the target transaction data into a verification database comprises:
according to a preset verification rule, encrypting a verification processing result of the target transaction data to obtain ciphertext data of the verification processing result;
setting a cancel verification tag in ciphertext data of the cancel verification processing result; wherein, the cancel verification tag at least comprises the server identification and cancel verification time of the first server;
and writing the ciphertext data of the core-canceling processing result carrying the core-canceling label into a core-canceling database.
6. The method of claim 1, wherein the target transaction data further carries a target entitlement credential.
7. The method of claim 6, wherein performing corresponding verification processing on the target transaction data according to the right and interest parameters of the target account comprises:
verifying whether the target interest certificate is valid according to the interest parameters of the target account;
under the condition that the target rights and interests voucher is determined to be effective, a target verification and cancellation rule corresponding to the target rights and interests voucher is determined according to the rights and interests parameters of the target account and the target rights and interests voucher;
and performing corresponding verification and cancellation processing on the target transaction data according to the target verification and cancellation rule.
8. A transaction data verification method is applied to a second server, the second server is deployed on one side of a business system, and the method comprises the following steps:
receiving target transaction data; the target transaction data at least carries an account identifier of a target account;
uploading the target transaction data to a verification and cancellation database according to a preset verification and cancellation rule; wherein the audit trail database comprises a block chain based database.
9. The method of claim 8, further comprising:
determining attribute characteristics of each account according to a system user database;
determining initial right and interest parameters of each account according to the attribute characteristics of each account;
and constructing a rights and interests configuration database based on the block chain according to the initial rights and interests parameters of each account.
10. The method of claim 9, further comprising:
pushing a rights and interests voucher to the target account;
and in the case that the target account is detected to accept the rights and interests certificate, writing rights and interests parameters corresponding to the account identification of the target account and related to the rights and interests certificate in the rights and interests configuration database.
11. A transaction data verification apparatus applied to a first server, comprising:
the acquisition module is used for inquiring the verification and cancellation database at intervals of a preset time period according to a preset verification and cancellation rule so as to acquire target transaction data to be verified and cancelled; the target transaction data at least carries an account identifier of a target account; the second server uploads the transaction data accessed by the service system to a verification and cancellation database according to a preset verification and cancellation rule, and the second server is deployed at one side of the service system; the underwriting database comprises a block chain based database;
the determining module is used for determining the right and interest parameters of the target account according to the account identification of the target account;
and the verification and cancellation module is used for performing corresponding verification and cancellation processing on the target transaction data according to the right and interest parameters of the target account.
12. A transaction data verification apparatus applied to a second server, comprising:
a receiving module for receiving target transaction data; the target transaction data at least carries an account identifier of a target account;
the uploading module is used for uploading the target transaction data to a verification and cancellation database according to a preset verification and cancellation rule; wherein the audit trail database comprises a block chain based database.
13. A server comprising a processor and a memory for storing processor-executable instructions which, when executed by the processor, implement the steps of the method of any one of claims 1 to 7, or 8 to 10.
14. A computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, carry out the steps of the method of any of claims 1 to 7, or 8 to 10.
15. A computer program product comprising a computer program which, when executed by a processor, carries out the steps of the method of any one of claims 1 to 7, or 8 to 10.
CN202211180161.4A 2022-09-27 2022-09-27 Transaction data verification and cancellation method and device and server Pending CN115511630A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211180161.4A CN115511630A (en) 2022-09-27 2022-09-27 Transaction data verification and cancellation method and device and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211180161.4A CN115511630A (en) 2022-09-27 2022-09-27 Transaction data verification and cancellation method and device and server

Publications (1)

Publication Number Publication Date
CN115511630A true CN115511630A (en) 2022-12-23

Family

ID=84505785

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211180161.4A Pending CN115511630A (en) 2022-09-27 2022-09-27 Transaction data verification and cancellation method and device and server

Country Status (1)

Country Link
CN (1) CN115511630A (en)

Similar Documents

Publication Publication Date Title
Fraga-Lamas et al. A review on blockchain technologies for an advanced and cyber-resilient automotive industry
US11954690B2 (en) Systems and methods for providing tokenized transactions accounts
US11205172B2 (en) Factom protocol in blockchain environments
US10909529B2 (en) Methods and systems for digital reward processing
CN108780479B (en) System and method for detecting and scoring anomalies
Liu et al. Distributed ledger technology
US20190244243A1 (en) Scalable decentralized digital and programmatic advertising analytics system
CN106570757B (en) Crowd funding method, device and system based on block chain
US9965755B2 (en) System and method for remote management of sale transaction data
US20160189095A1 (en) System and method for remote management of sale transaction data
CN111177275A (en) Block chain-based management method, terminal, device and storage medium
GB2506841A (en) Mobile merchant POS processing
US9922369B2 (en) Transaction account interface
US20140114826A1 (en) Method and system for financial transaction processing
Schapranow et al. Costs of authentic pharmaceuticals: research on qualitative and quantitative aspects of enabling anti-counterfeiting in RFID-aided supply chains
Pouwelse et al. Laws for creating trust in the blockchain age
CN117616410A (en) Multiparty computing in a computer slicing environment
Dash et al. Artificial intelligence models for blockchain-based intelligent networks systems: Concepts, methodologies, tools, and applications
CN109818965B (en) Personal identity verification device and method
US20180247289A1 (en) System and method for remote management of sale transaction data
KR20190130827A (en) Method for providing block-chain based verified customer review sharing service
Umekwudo et al. Blockchain technology for mobile applications recommendation systems
CN113327169B (en) Claims settlement method and device based on block chain and electronic equipment
CN115511630A (en) Transaction data verification and cancellation method and device and server
JP2014182805A (en) Centrally managed and accessed system, method for performing data processing on a plurality of independent servers, and dataset

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