CN110264348B - Processing method, device and storage medium for transaction uplink - Google Patents

Processing method, device and storage medium for transaction uplink Download PDF

Info

Publication number
CN110264348B
CN110264348B CN201910377096.6A CN201910377096A CN110264348B CN 110264348 B CN110264348 B CN 110264348B CN 201910377096 A CN201910377096 A CN 201910377096A CN 110264348 B CN110264348 B CN 110264348B
Authority
CN
China
Prior art keywords
transaction
information
uplink
blockchain
merged
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
CN201910377096.6A
Other languages
Chinese (zh)
Other versions
CN110264348A (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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201910377096.6A priority Critical patent/CN110264348B/en
Publication of CN110264348A publication Critical patent/CN110264348A/en
Application granted granted Critical
Publication of CN110264348B publication Critical patent/CN110264348B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

Abstract

The invention provides a processing method, a device and a storage medium for transaction uplink, wherein the method comprises the following steps: the method comprises the steps of obtaining transaction information to be linked in an original transaction database, packaging and combining the transaction information to be linked in a transaction mode according to a request type to generate at least one piece of transaction information of combined transactions, storing the transaction information of at least one combined transaction in a blockchain transaction database, and finally executing corresponding linking operation on each combined transaction based on the transaction information of at least one combined transaction in the blockchain transaction database.

Description

Processing method, device and storage medium for transaction uplink
Technical Field
The present invention relates to a method, an apparatus and a storage medium for processing a transaction uplink, which belong to the technical field of block chains.
Background
The block chain technology is a decentralized distributed account book technology recorded according to time sequence, the safety of data stored in a block chain can be guaranteed based on the non-falsification performance of the block chain, the same transaction data is calculated and stored in a whole chain, the data is guaranteed to be public and transparent, the data sharing threshold is reduced, and the transaction reliability is further improved.
The blockchain technology is widely applied to scenes such as digital asset certification, digital asset transaction, supply chain tracing, commonweal credit and the like, but with the popularization of the application and the promotion of transaction scale, the blockchain is difficult to meet the requirements of data calculation and storage of some high-concurrency application scenes on transaction performance, and the accuracy and the credibility of data operation cannot be guaranteed. For example, typical EtherFang's public chain concurrency capability is about 15TPS (Chinese: transactions Per Second, English: transaction Per Second); even though the EOS (Chinese: Enterprise operating System) adopts DPOS (Chinese: committed equity certification, English: deleted Proof of stamp) algorithm by improving the consensus mechanism, the concurrency performance is improved to 1000TPS, but the requirement on the concurrency performance of the block chain System in the actual situation cannot be met.
Disclosure of Invention
In view of the above, the present invention provides a method, an apparatus, and a storage medium for processing an uplink transaction, so as to solve or at least partially solve the problem in the prior art that a blockchain system has low accuracy and reliability under a high concurrency scenario.
According to an aspect of the present invention, there is provided a method for processing uplink transaction, applied to a server including an original transaction database and a blockchain transaction database, the server communicating with a blockchain providing uplink transaction operation, the method including:
acquiring transaction information of at least one to-be-uplink transaction in the original transaction database, wherein the transaction information comprises request information corresponding to the to-be-uplink transaction and a request type corresponding to the to-be-uplink transaction;
merging the transaction information of the to-be-linked transaction according to the request type to generate at least one transaction information of the merged transaction;
saving transaction information for the at least one consolidated transaction in the blockchain transaction database;
and executing corresponding uplink operation on each merged transaction based on the transaction information of at least one merged transaction in the blockchain transaction database.
According to a second aspect of the present invention, there is provided an apparatus for processing uplink transaction, applied to a server including an original transaction database and a blockchain transaction database, the server communicating with a blockchain providing uplink transaction operation, the apparatus comprising:
an information obtaining module, configured to obtain transaction information of at least one to-be-uplink transaction in the original transaction database, where the transaction information includes request information corresponding to the to-be-uplink transaction and a request type corresponding to the to-be-uplink transaction;
the transaction generation module is used for merging the transaction information of the to-be-linked transaction according to the request type so as to generate at least one transaction information of the merged transaction;
the information storage module is used for storing the transaction information of the at least one merged transaction in the blockchain transaction database;
and the uplink module is used for executing corresponding uplink operation on each merged transaction based on the transaction information of at least one merged transaction in the blockchain transaction database.
According to a third aspect of the present invention, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements the steps of the method for processing uplink transactions according to the first aspect.
Aiming at the prior art, the invention has the following advantages:
the method comprises the steps of acquiring transaction information of at least one to-be-uplink transaction in an original transaction database, merging the transaction information of the to-be-uplink transaction according to a request type to generate transaction information of at least one merged transaction, storing the transaction information of the at least one merged transaction in a blockchain transaction database, and finally executing corresponding uplink operation on each merged transaction based on the transaction information of the at least one merged transaction in the blockchain transaction database.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flowchart illustrating a method for processing uplink transactions according to an embodiment of the present invention;
fig. 2 is a block diagram illustrating a method for processing uplink transactions according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for processing uplink transactions according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating a method for processing uplink transactions according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating a method for processing uplink transactions according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating a method for processing uplink transactions according to an embodiment of the present invention;
FIG. 7-1 is a block diagram of an apparatus for processing uplink transactions according to an embodiment of the present invention;
FIG. 7-2 is a block diagram of another apparatus for processing uplink transactions according to an embodiment of the present invention;
fig. 7-3 is a block diagram of an information obtaining module according to an embodiment of the present invention;
7-4 are block diagrams of a transaction generation module provided by embodiments of the invention;
fig. 7-5 are block diagrams of an uplink module according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Fig. 1 is a flowchart of steps of a processing method for uplink transaction according to an embodiment of the present invention, as shown in fig. 1, applied to a server including an original transaction database and a blockchain transaction database, the server communicating with a blockchain providing uplink transaction operation, and the method may include:
step 101, obtaining transaction information of at least one to-be-linked transaction in an original transaction database.
The original transaction database may include at least one transaction information of the to-be-uplink transaction, and the transaction information may include request information corresponding to the to-be-uplink transaction and a request type corresponding to the to-be-uplink transaction. Further, the server may be an entity server or a virtual module with a service function, and the original transaction database and the blockchain transaction database in the server may be in the form of a centralized database or a distributed database, which is not limited in this application. In addition, the blockchain referred to in the present invention refers to one or more blockchain networks, which support automatic or manual flexible expansion of the blockchain network, and support automatic or manual flexible expansion or contraction of nodes inside the blockchain network, for example, a federation chain or a private chain of a house, an EOS, or a super book, and may further perform standard operations supported by blockchain technologies such as user creation, account transaction, intelligent contract invocation, transaction query operations, and the like.
Further, each to-be-uplink transaction in the original transaction database may be generated according to a corresponding transaction request, for example, a client sends a request for uplink of certain transaction information, the request may include transaction information corresponding to the request, and the transaction information may include an initiator of the request information (a client ID or a user ID), transaction content corresponding to the request information, a timestamp generated by the request information, and the like, so that a result of the uplink transaction can be returned to the corresponding initiator after the to-be-uplink transaction is completed.
Step 102, merging the transaction information of the to-be-uplink transaction according to the request type to generate at least one transaction information of the merged transaction.
In a specific application, the transaction information of the to-be-uplink transaction in the original transaction database can be processed by using a batch processing method, that is, the transaction information of a plurality of to-be-uplink transactions is merged at one time to generate the transaction information of the merged transaction.
For example, for a to-be-uplink transaction with a request type being a revocation type, the operation purpose of the corresponding blockchain transaction may be an operation before revocation, for example, a purchase operation before revocation or an acknowledgement operation, and for a to-be-uplink transaction with a request type being a creation type, the operation purpose of the corresponding blockchain transaction may be an operation creating, for example, a purchase operation creating or an acknowledgement operation, and therefore, in the implementation of the present invention, transaction information of the to-be-uplink transaction may be merged according to the request type, so as to reduce the number of transaction information, and further improve concurrency performance.
Specifically, after the transaction information of the to-be-uplink transaction is obtained, the transaction information of the to-be-uplink transaction is classified, as shown in fig. 2, the left block diagram represents an original transaction database, where the transaction information includes creation-type transaction information and revocation-type transaction information (transaction information with horizontal lines), (a) TX represents the transaction information of one to-be-uplink transaction of an a user, (B) TX represents the transaction information of one to-be-uplink transaction of a B user, and after the transaction information is classified (revocation type is one type; creation type is one type), the transaction information can be merged based on user names to generate a plurality of merged transaction information, for example, the transaction information of the to-be-uplink transaction of the creation type of the a user can be merged into (a) TX +.
And 103, storing the transaction information of at least one merged transaction in a blockchain transaction database.
For example, the transaction information of the merged transaction determined in step 102 may be stored in a blockchain transaction database, and stored in the blockchain transaction database as shown in fig. 2 is the transaction information corresponding to the merged transaction (a) TX +, (C) TX +, and the like after merging the transaction information of the to-be-linked transaction in the original transaction database.
Step 104, based on the transaction information of at least one merged transaction in the blockchain transaction database, corresponding uplink operation is performed on each merged transaction.
For example, as shown in fig. 2, the middle block represents a blockchain transaction database, in which the transaction information of the merged transaction is generated after merging the transaction information of the to-be-uplink transaction, and specifically, the transaction information of the merged transaction may be sent to the corresponding blockchain (the block diagram on the right side) together to implement the uplink operation of the merged transaction on the blockchain, that is, the transaction information of the merged transaction is stored in the blockchain, so as to implement transparent sharing of data by using the blockchain.
In summary, the processing method for uplink transaction provided by the present invention combines the transaction information of the to-be-uplink transaction in the original transaction database according to the request type to generate at least one merged transaction information, stores the at least one merged transaction information in the blockchain transaction database, and finally performs a corresponding uplink operation on each merged transaction based on the at least one merged transaction information in the blockchain transaction database.
Optionally, fig. 3 is a flowchart illustrating specific steps of a method for processing uplink transaction according to an embodiment of the present invention, as shown in fig. 3, after step 103, the method may further include:
step 105, for each merged transaction, establishing a corresponding relationship between the merged transaction and the to-be-linked transaction corresponding to the merged transaction.
In this step, the transaction information of the merged transaction is obtained by merging the corresponding transaction information of the to-be-uplink transaction, that is, the to-be-uplink transaction indicated by the transaction information of the to-be-uplink transaction used when generating the transaction information of the merged transaction is taken as the to-be-uplink transaction corresponding to the merged transaction, for example, assuming that the transaction information of the to-be-uplink transaction a and the transaction information of the to-be-uplink transaction B are used when generating the transaction information of the merged transaction a, then the to-be-uplink transaction a and the to-be-uplink transaction B can be taken as the to-be-uplink transaction corresponding to the merged transaction a, further, the transaction identifier of each merged transaction and the transaction identifier of the to-be-uplink transaction corresponding to the merged transaction a can be stored in a corresponding manner, so as to obtain the corresponding relationship, wherein the transaction identifier can be an identifier capable of uniquely representing the transaction, for example, the transaction identifier may be a transaction number of the transaction or a transaction name, which is not limited in the embodiment of the present invention.
And step 106, updating the corresponding relation to an original transaction database.
For example, the corresponding relationship may be stored in the original transaction database, and the previously stored corresponding relationship may be deleted, so as to update the corresponding relationship to the original transaction database. In the embodiment of the present invention, by updating the corresponding relationship to the original transaction database, after the uplink operation is completed, the result of the uplink operation corresponding to the to-be-uplink transaction corresponding to the merged transaction is determined according to the result of the uplink operation corresponding to the merged transaction, so that the notification information is sent to the initiator that sends the request information corresponding to the to-be-uplink transaction based on the result of the uplink operation corresponding to the to-be-uplink transaction.
Optionally, after step 104, the method further includes:
the result of the uplink operation sent by the blockchain is received, and then the result of the uplink operation is returned to the initiator of the request message.
For example, by receiving the result of the uplink operation sent by the blockchain and returning the result to the user (the initiator of the request message), the result feedback of the request message can be implemented to inform the user of the execution result of the request message (successful uplink or unsuccessful uplink).
Optionally, fig. 4 is a flowchart illustrating specific steps of a processing method for uplink transaction according to an embodiment of the present invention, as shown in fig. 4, the acquiring transaction information of a to-be-uplink transaction in an original transaction database in step 101 may include:
step 1011, scanning the original transaction database according to a first preset time interval to determine whether the status information is a transaction in a failure status or a non-uplink status.
In this step, the first predetermined time interval may be preset, for example, the first predetermined time interval may be 1 minute, 2 minutes, and the like, and further, after every first predetermined time interval, a scanning operation is performed, specifically, during the scanning, status information of transactions in the original transaction database may be detected one by one to determine that the status information is a transaction in a failed state or a transaction in an unlinked state, where the transaction in the failed state may be a transaction in which an uplink operation is performed before but the uplink operation is not successful, and the transaction in the unlinked state may be a transaction in which the uplink operation is not performed yet.
Step 1012, the transaction information of the transaction whose status information is failure status or non-uplink status is used as the transaction information of the transaction to be uplink.
Optionally, in the step of combining the transaction information of the to-be-uplink transaction according to the request type, the request type may include a creation type and/or a revocation type, that is, the request type may be combined only according to the to-be-uplink transaction of the creation type, or may be combined only according to the to-be-uplink transaction of the revocation type, or may be combined according to the to-be-uplink transaction of the creation type and the to-be-uplink transaction of the revocation type, specifically, as shown in fig. 5, which is a flowchart of specific steps of a processing method for uplink transaction provided by an embodiment of the present invention, as shown in fig. 5, the step 102 of combining the transaction information of the to-be-uplink transaction according to the request type to generate the transaction information of at least one combined transaction, which may include:
step 1021, taking the to-be-linked transaction with the request type as the creation type as a first to-be-linked transaction, and merging the transaction information of the first to-be-linked transaction to serve as the transaction information corresponding to the first block chain transaction; and/or taking the to-be-linked transaction with the request type being the revocation type as a second to-be-linked transaction, and generating transaction information corresponding to the second block chain transaction according to the transaction information of the second to-be-linked transaction.
Optionally, the transaction information corresponding to the first blockchain transaction includes auxiliary information of the first blockchain transaction, and correspondingly, the step of combining the transaction information of the first to-be-linked transaction as the transaction information corresponding to the first blockchain transaction may include the following sub-steps:
substep a1, merging the transaction information of the first to-be-uplink transaction based on the user name corresponding to the transaction information of the first to-be-uplink transaction.
And a substep A2 of packaging the combined transaction information as the transaction content information corresponding to the first blockchain transaction.
Substep A3: and encrypting the transaction content information of the first blockchain transaction to be used as the attached information of the first blockchain transaction.
In a specific application, a merging strategy for transaction information may adopt a manner of merging transaction information with the same user name, specifically, the transaction information under the same user name may be merged, and further, since the transaction information of the to-be-uplink transaction is acquired once every first preset time interval, and correspondingly, the merging operation is also performed once every first preset time interval, the first preset time interval may be set to be shorter, so as to improve the frequency of merging the transaction information of the to-be-uplink transaction, and further improve the processing efficiency of the to-be-uplink transaction. Further, the merged transaction information may be packaged to reduce a storage space occupied by the merged transaction information, and further, in order to ensure security of the transaction data, the transaction content information obtained after the packaging may be encrypted, for example, the encryption may be hash processing, and accordingly, a hash value generated in the hash processing process may be used as accessory information for performing uplink operation, thereby preventing falsification of the transaction data and ensuring accuracy of information processing based on reliability. It should be noted that other transaction merging manners that do not conflict with the technical solution proposed by the present invention may also be applied to the present invention, and the present invention is not limited specifically.
Further, the second blockchain transaction is used for canceling the previous blockchain transaction, and the transaction information corresponding to the second blockchain transaction includes the auxiliary information of the second blockchain transaction. For example, the second blockchain transaction may be a revocation payment transaction, and accordingly, the previous blockchain transaction is the payment transaction, and further, in the revocation operation, the payment transaction is a forward transaction, and the second blockchain transaction is a reverse transaction corresponding to the payment transaction, so that the original payment transaction may be cancelled through the second blockchain transaction, thereby ensuring that the transaction data finally linked up is consistent with the actual situation.
Specifically, the step of generating the transaction information corresponding to the second blockchain transaction according to the transaction information of the second to-be-linked chain transaction may include the following implementation manners:
the first method comprises the steps of combining the transaction information of the second to-be-uplink transaction based on a user name corresponding to the transaction information of the second to-be-uplink transaction, then packaging the combined transaction information to serve as transaction content information corresponding to the second block chain transaction, and finally obtaining revocation description information based on the transaction content information corresponding to the second block chain transaction to serve as auxiliary information of the second block chain transaction.
In a first implementation manner, a manner of combining the transaction information of the second to-be-uplink transaction and a manner of packaging the combined transaction information are similar to the manner of combining and packaging the transaction information of the first to-be-uplink transaction in the foregoing steps, and reference may be made to the description in the foregoing steps, which is not repeated herein in the embodiments of the present invention.
Further, the revocation instruction information may be determined based on the transaction content information corresponding to the second blockchain transaction, where the revocation instruction information may indicate a transaction that needs to be revoked and is indicated by the transaction content information corresponding to the second blockchain transaction.
And secondly, taking the transaction information of the second to-be-linked chain transaction with the request type being the revocation type as the transaction content information corresponding to the second blockchain transaction, and finally, acquiring revocation description information based on the transaction content information corresponding to the second blockchain transaction to be taken as the auxiliary information of the second blockchain transaction.
Since the transaction information of the revocation type to-be-linked-chain transaction is a few relative to the transaction information of the creation type, that is, for simplifying the operation, the transaction information of the revocation type to-be-linked-chain transaction may not be merged, but directly be used as the transaction information of the second blockchain transaction.
Furthermore, in the embodiment of the present invention, by adding the corresponding revocation specification information as the attached information to the transaction information of the second blockchain transaction, traceability of each transaction operation can be improved, and viewing and statistics of historical transaction data are facilitated.
Step 1022, the transaction information corresponding to the first blockchain transaction and/or the transaction information corresponding to the second blockchain transaction are used as the transaction information of at least one merged transaction.
Specifically, if only the to-be-linked transactions with the request type being the creation type are merged in the aforementioned step 1021, that is, only the transaction information corresponding to the first blockchain transaction is acquired, only the transaction information corresponding to the first blockchain transaction may be used as the transaction information of at least one merged transaction in this step, if only the to-be-linked transactions with the request type being the revocation type are merged in the aforementioned step 1021, that is, only the transaction information corresponding to the second blockchain transaction is acquired, then only the transaction information corresponding to the second blockchain transaction may be used as the transaction information of at least one merged transaction in this step, further, if the transaction information corresponding to the second blockchain transaction and the transaction information corresponding to the second blockchain transaction are acquired in the aforementioned step 1021, then only the transaction information corresponding to the second blockchain transaction and the transaction information corresponding to the second blockchain transaction may be used in this step, as transaction information for at least one consolidated transaction.
Further, in a specific application, by determining the transaction information of the merged transaction, in step 103, the transaction information corresponding to the first blockchain transaction including the auxiliary information and/or the transaction information corresponding to the second blockchain transaction including the auxiliary information is stored in the blockchain transaction database, so as to record the merged transaction.
Optionally, fig. 6 is a flowchart illustrating specific steps of a method for processing uplink transaction according to an embodiment of the present invention, as shown in fig. 6, the step 104 of executing a corresponding uplink operation on each merged transaction based on transaction information of at least one merged transaction in a blockchain transaction database may include:
step 1041, scanning the blockchain transaction database according to a second preset time interval to determine at least one merged transaction of which the status information is in a failure status or a non-uplink status.
Specifically, at least one merged transaction in which the status information is determined to be in a failure status or a non-uplink status may refer to the description in the foregoing steps, and details are not repeated herein in the embodiments of the present invention.
It should be noted that the first preset time interval and the second preset time interval referred to in the present invention may be the same or different. For example, the second predetermined time interval may be smaller than the predetermined time interval, so that the uplink operation frequency can be increased, thereby improving the efficiency of the uplink operation of the block chain system.
Step 1042, the transaction information of at least one merged transaction whose state information is a failure state or a non-uplink state is sent to the block chain, so that the block chain correspondingly executes uplink operation on each merged transaction.
Step 1043, updating the blockchain transaction database and the original transaction database according to the result of the uplink operation of each merged transaction sent by the blockchain.
Illustratively, this step includes the sub-steps of:
and a substep C1, if the result of the uplink operation corresponding to the merged transaction is successful, updating the status information of the merged transaction in the blockchain transaction database to a successful status, and updating the status information of the pending uplink transaction corresponding to the merged transaction in the original transaction database to a successful status.
And a substep C2 of repeating the UL operation for the merged transaction if the result of the UL operation corresponding to the merged transaction is a failure.
And a substep C3, updating the status information of the merged transaction in the blockchain transaction database to a failure status and updating the status information of the pending uplink transaction corresponding to the merged transaction in the original transaction database to a failure status if the number of repeated executions reaches a preset threshold and the result of the repeatedly executed uplink operation is failure.
Illustratively, by sending the transaction information corresponding to the merged transaction in the blockchain transaction database to the blockchain, to realize the uplink operation for the merged transaction, and receive the operation result of the blockchain for the uplink transaction, correspondingly updating the state information of the corresponding transaction in the original transaction database and the blockchain transaction database, for example, when the result of the uplink operation sent by the corresponding block chain of a certain to-be-uplink transaction (TX1) is successful, correspondingly, the status information corresponding to the TX1 in the blockchain transaction database is updated to be successful, so as to indicate that the uplink operation of the TX1 is successful, and merging the pending uplink transactions in the original transaction database that generated TX1, e.g., (A) TX +1, from (A) TX1, (A) TX2, (A) TX3, and (A) TX4, thus, the status information corresponding to (a) TX1, (a) TX2, (a) TX3, and (a) TX4 are also updated to be successful, respectively; otherwise, the status information corresponding to the (a) TX +1 is maintained as failure, and the execution times of the uplink operation corresponding to the combined transaction in the block chain database by the (a) TX +1 is updated, that is, the number of repeated execution times is increased by one, when the transaction information is acquired in the next scanning period, the (a) TX +1 can be regarded as one of the combined transactions again to perform the uplink operation again, and the uplink operation for the (a) TX +1 is ended until the number of repeated execution times of the uplink operation reaches the preset threshold or the result of the uplink operation is successful. According to the updating of the block chain transaction database and the original transaction database, when the block chain transaction database is scanned at the next preset time interval, successful uplink transactions are not taken into account any more, and the transactions which are not uplink linked and have failed to uplink are packaged, so that the efficiency and the correctness of uplink operation are ensured.
Fig. 7-1 is a block diagram of an apparatus for processing uplink transaction according to an embodiment of the present invention, applied to a server including an original transaction database and a blockchain transaction database, the server communicating with a blockchain providing uplink transaction operation, the apparatus 700 including:
the information obtaining module 710 is configured to obtain transaction information of at least one to-be-uplink transaction in an original transaction database, where the transaction information includes request information corresponding to the to-be-uplink transaction and a request type corresponding to the to-be-uplink transaction.
The transaction generating module 720 is configured to combine the transaction information of the to-be-uplink transaction according to the request type to generate at least one transaction information of the combined transaction.
The information storage module 730 is configured to store the transaction information of at least one merged transaction in the blockchain transaction database.
The uplink module 740 is configured to perform a corresponding uplink operation on each merged transaction based on the transaction information of at least one merged transaction in the blockchain transaction database.
Optionally, fig. 7-2 is a block diagram of another apparatus for processing uplink transaction according to an embodiment of the present invention, as shown in fig. 7-2, the apparatus 700 further includes:
a result receiving module 750, configured to receive a result of an uplink operation sent by a blockchain after the step of obtaining transaction information of at least one to-be-uplink transaction in the original transaction database;
a returning module 760, configured to return the result of the uplink operation to the initiator of the request message.
Optionally, fig. 7-3 is a block diagram of an information obtaining module according to an embodiment of the present invention, and as shown in fig. 7-3, the information obtaining module 710 includes:
a first database scanning sub-module 7101, configured to scan the original transaction database according to a first preset time interval, so as to determine that the status information is a transaction in a failure status or a non-uplink status;
and the information determining submodule 7102 is used for taking the transaction information of the transaction of which the state information is a failure state or a non-uplink state as the transaction information to be uplink.
Optionally, the request type includes a creation type and/or a revocation type; fig. 7-4 are block diagrams of a transaction generation module according to an embodiment of the present invention, and as shown in fig. 7-4, the transaction generation module 720 includes:
the transaction generation submodule 7201 is configured to use the to-be-linked transaction whose request type is the creation type as a first to-be-linked transaction, and merge transaction information of the first to-be-linked transaction to use the merged transaction information as transaction information corresponding to the first block chain transaction; and/or, taking the to-be-linked transaction with the request type being the revocation type as a second to-be-linked transaction, and generating transaction information corresponding to the second block chain transaction according to the transaction information of the second to-be-linked transaction;
the information generation sub-module 7202 is configured to use the transaction information corresponding to the first blockchain transaction and the transaction information corresponding to the second blockchain transaction as transaction information of at least one merged transaction.
Optionally, the transaction information corresponding to the first blockchain transaction includes auxiliary information of the first blockchain transaction, and the transaction generation sub-module 7201 is configured to:
merging the transaction information of the first to-be-linked transaction based on the user name corresponding to the transaction information of the first to-be-linked transaction;
packaging the merged transaction information to serve as transaction content information corresponding to the first blockchain transaction;
and encrypting the transaction content information of the first blockchain transaction to be used as the attached information of the first blockchain transaction.
Optionally, the transaction information corresponding to the second blockchain transaction includes auxiliary information of the second blockchain transaction, and the transaction generation sub-module 7201 is configured to:
merging the transaction information of the second to-be-uplink transaction based on the user name corresponding to the transaction information of the second to-be-uplink transaction; packaging the merged transaction information to serve as transaction content information corresponding to the second block chain transaction;
alternatively, the first and second electrodes may be,
taking the transaction information of the second to-be-linked chain transaction as the transaction content information corresponding to the second block chain transaction;
and acquiring revocation instruction information based on the transaction content information corresponding to the second blockchain transaction to serve as auxiliary information of the second blockchain transaction.
Optionally, as shown in fig. 7-2, the apparatus 700 further includes:
an establishing module 770, configured to, after the step of storing the transaction information of at least one merged transaction in the blockchain transaction database, establish, for each merged transaction, a corresponding relationship between the merged transaction and a to-be-linked transaction corresponding to the merged transaction; the transaction information of the combined transaction is obtained by combining the corresponding transaction information of the transaction to be linked;
the database updating module 780 is configured to update the corresponding relationship to the original transaction database.
Optionally, fig. 7-5 is a block diagram of a uplink module according to an embodiment of the present invention, and as shown in fig. 7-5, the uplink module 740 includes:
a second database scanning sub-module 7401, configured to scan the blockchain transaction database according to a second preset time interval to determine that the status information is at least one merged transaction in a failure status or a non-uplink status;
the transaction information sending sub-module 7402 is configured to send the transaction information of at least one merged transaction in which the state information in the blockchain transaction database is in a failure state or a non-uplink state to the blockchain, so that the blockchain correspondingly executes uplink operation on each merged transaction;
the result updating sub-module 7403 is used for updating the blockchain transaction database and the original transaction database according to the uplink operation result of each merged transaction sent by the blockchain.
Optionally, a result update sub-module 7403 for:
if the result of the uplink operation corresponding to the merged transaction is successful, updating the state information of the merged transaction in the blockchain transaction database into a successful state, and updating the state information of the to-be-uplink transaction corresponding to the merged transaction in the original transaction database into a successful state;
if the result of the uplink operation corresponding to the merged transaction is failure, repeatedly executing the uplink operation on the merged transaction;
and updating the state information of the merged transaction in the block chain transaction database into a failure state and updating the state information of the to-be-uplink transaction corresponding to the merged transaction in the original transaction database into the failure state under the conditions that the repeated execution times reach the preset threshold value and the result of the repeatedly executed uplink operation is failure.
In addition, an embodiment of the present invention further provides a terminal, including a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the above-mentioned method for processing an uplink transaction, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned uplink transaction processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
For the above device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As is readily imaginable to the person skilled in the art: any combination of the above embodiments is possible, and thus any combination between the above embodiments is an embodiment of the present invention, but the present disclosure is not necessarily detailed herein for reasons of space.
The processing methods provided herein for the uplink of transactions are not inherently related to any particular computer, virtual system, or other apparatus. Various general purpose systems may also be used with the teachings herein. The structure required to construct a system incorporating aspects of the present invention will be apparent from the description above. Moreover, the present invention is not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the invention and aiding in the understanding of one or more of the various inventive aspects. However, the method of the invention should not be construed to reflect the intent: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It will be appreciated by those skilled in the art that a microprocessor may be used in practice to implement some or all of the functions of some or all of the components of the method of processing a trade link according to an embodiment of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.

Claims (19)

1. A method for processing uplink transactions, applied to a server comprising an original transaction database and a blockchain transaction database, the server communicating with a blockchain providing uplink transactions, the method comprising:
acquiring transaction information of at least one to-be-uplink transaction in the original transaction database, wherein the transaction information comprises request information corresponding to the to-be-uplink transaction and a request type corresponding to the to-be-uplink transaction;
merging the transaction information of the to-be-linked transaction according to the request type to generate at least one transaction information of the merged transaction;
saving transaction information for the at least one consolidated transaction in the blockchain transaction database;
and executing corresponding uplink operation on each merged transaction based on the transaction information of at least one merged transaction in the blockchain transaction database.
2. The method of claim 1, wherein after the step of obtaining transaction information for at least one pending uplink transaction in the original transaction database, the method further comprises:
receiving a result of the uplink operation sent by the block chain;
and returning the result of the uplink operation to the initiator of the request message.
3. The method of claim 1, wherein the obtaining transaction information for at least one pending uplink transaction in the original transaction database comprises:
scanning the original transaction database according to a first preset time interval to determine that the state information is a transaction in a failure state or a non-uplink state;
and taking the transaction information of the transaction with the state information being in a failure state or a non-uplink state as the transaction information of the transaction to be uplink.
4. The method of claim 1, wherein the request type comprises a create type and/or a cancel type; the merging the transaction information of the to-be-linked transaction according to the request type to generate at least one merged transaction information includes:
taking the to-be-linked transaction with the request type being the creation type as a first to-be-linked transaction, and merging transaction information of the first to-be-linked transaction to be taken as transaction information corresponding to the first block chain transaction; and/or, taking the to-be-linked chain transaction with the request type being the revocation type as a second to-be-linked chain transaction, and generating transaction information corresponding to the second block chain transaction according to the transaction information of the second to-be-linked chain transaction;
and taking the transaction information corresponding to the first blockchain transaction and/or the transaction information corresponding to the second blockchain transaction as the transaction information of the at least one merged transaction.
5. The method according to claim 4, wherein the transaction information corresponding to the first blockchain transaction includes auxiliary information of the first blockchain transaction, and the merging the transaction information of the first to-be-linked transaction as the transaction information corresponding to the first blockchain transaction comprises:
merging the transaction information of the first to-be-linked transaction based on the user name corresponding to the transaction information of the first to-be-linked transaction;
packaging the merged transaction information to serve as transaction content information corresponding to the first blockchain transaction;
and encrypting the transaction content information of the first blockchain transaction to serve as the attached information of the first blockchain transaction.
6. The method of claim 4, wherein the transaction information corresponding to the second blockchain transaction includes auxiliary information of the second blockchain transaction, and the generating the transaction information corresponding to the second blockchain transaction according to the transaction information of the second to-be-linked chain transaction comprises:
merging the transaction information of the second to-be-uplink transaction based on the user name corresponding to the transaction information of the second to-be-uplink transaction; packaging the merged transaction information to serve as transaction content information corresponding to the second blockchain transaction; or, the transaction information of the second to-be-linked chain transaction is used as the transaction content information corresponding to the second blockchain transaction;
and acquiring revocation instruction information as auxiliary information of the second blockchain transaction based on the transaction content information corresponding to the second blockchain transaction.
7. The method of claim 1, further comprising, after the step of saving transaction information for the at least one consolidated transaction in the blockchain transaction database:
for each merged transaction, establishing a corresponding relation between the merged transaction and the to-be-linked transaction corresponding to the merged transaction; the transaction information of the merged transaction is obtained by merging the transaction information of the corresponding to-be-linked transaction;
and updating the corresponding relation to the original transaction database.
8. The method of claim 1, wherein the performing the corresponding uplink operation for each merged transaction based on the transaction information of at least one merged transaction in the blockchain transaction database comprises:
scanning the blockchain transaction database according to a second preset time interval to determine at least one combined transaction of which the state information is in a failure state or a non-uplink state;
sending the transaction information of at least one merged transaction of which the state information is a failure state or a non-uplink state to the block chain, so that the block chain correspondingly executes uplink operation on each merged transaction;
and updating the blockchain transaction database and the original transaction database according to the uplink operation result of each combined transaction sent by the blockchain.
9. The method of claim 8, wherein updating the blockchain transaction database and the original transaction database according to the result of the uplink operation corresponding to each merged transaction sent by the blockchain comprises:
if the result of the uplink operation corresponding to the merged transaction is successful, updating the state information of the merged transaction in the blockchain transaction database into a successful state, and updating the state information of the to-be-uplink transaction corresponding to the merged transaction in the original transaction database into a successful state;
if the result of the uplink operation corresponding to the merged transaction is failure, repeatedly executing the uplink operation on the merged transaction;
and updating the state information of the merged transaction in the block chain transaction database into a failure state and updating the state information of the to-be-uplink transaction corresponding to the merged transaction in the original transaction database into the failure state under the condition that the repeated execution times reach a preset threshold value and the result of the repeatedly executed uplink operation is failure.
10. An apparatus for processing uplink transactions, applied to a server comprising an original transaction database and a blockchain transaction database, the server communicating with a blockchain providing uplink transactions, the apparatus comprising:
an information obtaining module, configured to obtain transaction information of at least one to-be-uplink transaction in the original transaction database, where the transaction information includes request information corresponding to the to-be-uplink transaction and a request type corresponding to the to-be-uplink transaction;
the transaction generation module is used for merging the transaction information of the to-be-linked transaction according to the request type so as to generate at least one transaction information of the merged transaction;
the information storage module is used for storing the transaction information of the at least one merged transaction in the blockchain transaction database;
and the uplink module is used for executing corresponding uplink operation on each merged transaction based on the transaction information of at least one merged transaction in the blockchain transaction database.
11. The apparatus of claim 10, further comprising:
a result receiving module, configured to receive a result of the uplink operation sent by the blockchain after the step of obtaining the transaction information of at least one to-be-uplink transaction in the original transaction database;
a returning module, configured to return the result of the uplink operation to the initiator of the request message.
12. The apparatus of claim 10, wherein the information obtaining module comprises:
the first database scanning submodule is used for scanning the original transaction database according to a first preset time interval so as to determine the state information as the transaction in a failure state or a non-uplink state;
and the information determining submodule is used for taking the transaction information of the transaction of which the state information is in a failure state or a non-uplink state as the transaction information to be uplink.
13. The apparatus of claim 10, wherein the request type comprises a create type and/or a cancel type; the transaction generation module includes:
the transaction generation submodule is used for taking the to-be-linked transaction with the request type as the creation type as a first to-be-linked transaction, and merging the transaction information of the first to-be-linked transaction to be taken as the transaction information corresponding to the first block chain transaction; and/or, taking the to-be-linked chain transaction with the request type being the revocation type as a second to-be-linked chain transaction, and generating transaction information corresponding to the second block chain transaction according to the transaction information of the second to-be-linked chain transaction;
and the information generation submodule is used for taking the transaction information corresponding to the first blockchain transaction and the transaction information corresponding to the second blockchain transaction as the transaction information of the at least one merged transaction.
14. The apparatus of claim 13, wherein the transaction information corresponding to the first blockchain transaction includes collateral information for the first blockchain transaction, and the transaction generation sub-module is configured to:
merging the transaction information of the first to-be-linked transaction based on the user name corresponding to the transaction information of the first to-be-linked transaction;
packaging the merged transaction information to serve as transaction content information corresponding to the first blockchain transaction;
and encrypting the transaction content information of the first blockchain transaction to serve as the attached information of the first blockchain transaction.
15. The apparatus of claim 13, wherein the transaction information corresponding to the second blockchain transaction includes collateral information for the second blockchain transaction, and the transaction generation sub-module is configured to:
merging the transaction information of the second to-be-uplink transaction based on the user name corresponding to the transaction information of the second to-be-uplink transaction; packaging the merged transaction information to serve as transaction content information corresponding to the second blockchain transaction;
alternatively, the first and second electrodes may be,
taking the transaction information of the second to-be-linked transaction as the transaction content information corresponding to the second block chain transaction;
and acquiring revocation instruction information as auxiliary information of the second blockchain transaction based on the transaction content information corresponding to the second blockchain transaction.
16. The apparatus of claim 10, further comprising:
an establishing module, configured to establish, for each merged transaction, a correspondence between the merged transaction and a to-be-linked transaction corresponding to the merged transaction after the step of storing the transaction information of the at least one merged transaction in the blockchain transaction database; the transaction information of the merged transaction is obtained by merging the transaction information of the corresponding to-be-linked transaction;
and the database updating module is used for updating the corresponding relation to the original transaction database.
17. The apparatus of claim 10, wherein the winding module comprises:
the second database scanning submodule is used for scanning the blockchain transaction database according to a second preset time interval so as to determine that the state information is at least one merged transaction in a failure state or a non-uplink state;
the transaction information sending submodule is used for sending the transaction information of at least one combined transaction of which the state information is in a failure state or a non-uplink state to the block chain so that the block chain correspondingly executes uplink operation on each combined transaction;
and the result updating submodule is used for updating the blockchain transaction database and the original transaction database according to the uplink operation result of each combined transaction sent by the blockchain.
18. The apparatus of claim 17, wherein the result update submodule is configured to:
if the result of the uplink operation corresponding to the merged transaction is successful, updating the state information of the merged transaction in the blockchain transaction database into a successful state, and updating the state information of the to-be-uplink transaction corresponding to the merged transaction in the original transaction database into a successful state;
if the result of the uplink operation corresponding to the merged transaction is failure, repeatedly executing the uplink operation on the merged transaction;
and updating the state information of the merged transaction in the block chain transaction database into a failure state and updating the state information of the to-be-uplink transaction corresponding to the merged transaction in the original transaction database into the failure state under the condition that the repeated execution times reach a preset threshold value and the result of the repeatedly executed uplink operation is failure.
19. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the method for processing uplink transactions according to any one of claims 1 to 9.
CN201910377096.6A 2019-05-07 2019-05-07 Processing method, device and storage medium for transaction uplink Active CN110264348B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910377096.6A CN110264348B (en) 2019-05-07 2019-05-07 Processing method, device and storage medium for transaction uplink

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910377096.6A CN110264348B (en) 2019-05-07 2019-05-07 Processing method, device and storage medium for transaction uplink

Publications (2)

Publication Number Publication Date
CN110264348A CN110264348A (en) 2019-09-20
CN110264348B true CN110264348B (en) 2021-08-20

Family

ID=67914363

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910377096.6A Active CN110264348B (en) 2019-05-07 2019-05-07 Processing method, device and storage medium for transaction uplink

Country Status (1)

Country Link
CN (1) CN110264348B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
MY192336A (en) * 2019-07-23 2022-08-17 Advanced New Technologies Co Ltd Managing transactions on blockchain networks
CN111105277A (en) * 2019-12-25 2020-05-05 中国银联股份有限公司 Block chain state change transaction tracing method and device
CN111274258A (en) * 2020-02-10 2020-06-12 刘翱天 Block chain data uplink method
CN112256808B (en) * 2020-11-13 2023-09-12 泰康保险集团股份有限公司 Data processing method, device and storage medium
CN112434112A (en) * 2020-12-04 2021-03-02 中国工商银行股份有限公司 Method and device for synchronously storing block chain data into database
CN113706146A (en) * 2021-08-04 2021-11-26 杭州溪塔科技有限公司 Processing method, device and system for executing batch transaction based on block chain

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004077270A2 (en) * 2003-02-25 2004-09-10 Bea Systems Inc. Systems and methods for transaction chaining
CN106991164A (en) * 2017-03-31 2017-07-28 北京京东金融科技控股有限公司 Method, device and electronic equipment that finance data is handled are used for based on block chain
CN107678865A (en) * 2017-09-20 2018-02-09 中国银行股份有限公司 The verification method and system of block chain based on transaction packet
CN107786642A (en) * 2017-09-30 2018-03-09 上海数据交易中心有限公司 Block chain building method and device, storage medium, server for data circulation
CN108830599A (en) * 2018-06-19 2018-11-16 众安信息技术服务有限公司 Handle the method, system and device of the transaction in block chain
CN108932348A (en) * 2018-08-16 2018-12-04 北京京东尚科信息技术有限公司 Merging treatment method, apparatus, block chain node and the storage medium of block chain
CN109344172A (en) * 2018-08-31 2019-02-15 深圳市元征科技股份有限公司 A kind of high concurrent data processing method, device and client-server
CN109360101A (en) * 2018-12-18 2019-02-19 百度在线网络技术(北京)有限公司 A kind of block chain transaction processing method, device, equipment and medium
CN109598504A (en) * 2018-10-25 2019-04-09 阿里巴巴集团控股有限公司 Transaction processing method and device, electronic equipment based on block chain
CN109660356A (en) * 2018-12-18 2019-04-19 深圳前海微众银行股份有限公司 Data cochain method, apparatus, equipment and computer readable storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107257374A (en) * 2017-06-15 2017-10-17 中国银行股份有限公司 Transaction processing method and system on a kind of block chain
US20190066079A1 (en) * 2017-08-31 2019-02-28 Salesforce.Com, Inc. Methods and systems using a computing platform for routing virtual receipts to customers with a scan-able code generated by the merchant
CN108520412A (en) * 2018-04-18 2018-09-11 北京天德科技有限公司 A kind of settle accounts calculation transaction towards block chain divides the design method of account algorithm
CN109376020B (en) * 2018-09-18 2021-02-12 中国银行股份有限公司 Data processing method, device and storage medium under multi-block chain interaction concurrence
CN109598598B (en) * 2018-10-25 2020-05-12 阿里巴巴集团控股有限公司 Transaction processing method and device based on block chain and electronic equipment

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2004077270A2 (en) * 2003-02-25 2004-09-10 Bea Systems Inc. Systems and methods for transaction chaining
CN106991164A (en) * 2017-03-31 2017-07-28 北京京东金融科技控股有限公司 Method, device and electronic equipment that finance data is handled are used for based on block chain
CN107678865A (en) * 2017-09-20 2018-02-09 中国银行股份有限公司 The verification method and system of block chain based on transaction packet
CN107786642A (en) * 2017-09-30 2018-03-09 上海数据交易中心有限公司 Block chain building method and device, storage medium, server for data circulation
CN108830599A (en) * 2018-06-19 2018-11-16 众安信息技术服务有限公司 Handle the method, system and device of the transaction in block chain
CN108932348A (en) * 2018-08-16 2018-12-04 北京京东尚科信息技术有限公司 Merging treatment method, apparatus, block chain node and the storage medium of block chain
CN109344172A (en) * 2018-08-31 2019-02-15 深圳市元征科技股份有限公司 A kind of high concurrent data processing method, device and client-server
CN109598504A (en) * 2018-10-25 2019-04-09 阿里巴巴集团控股有限公司 Transaction processing method and device, electronic equipment based on block chain
CN109360101A (en) * 2018-12-18 2019-02-19 百度在线网络技术(北京)有限公司 A kind of block chain transaction processing method, device, equipment and medium
CN109660356A (en) * 2018-12-18 2019-04-19 深圳前海微众银行股份有限公司 Data cochain method, apparatus, equipment and computer readable storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
A Survey of Scalability Solutions on Blockchain;Soohyeong Kim;Yongseok Kwon;Sunghyun Cho;《2018 International Conference on Information and Communication Technology Convergence (ICTC)》;20181119;全文 *
用分治思路解决区块链并行化交易问题;戎朋;《https://www.infoq.cn/article/divide-and-conquer-in-blockchain》;20180816;全文 *
面向大数据的区块链在清算系统中的应用;蔡维德等;《大数据》;20180115;第4卷(第01期);全文 *

Also Published As

Publication number Publication date
CN110264348A (en) 2019-09-20

Similar Documents

Publication Publication Date Title
CN110264348B (en) Processing method, device and storage medium for transaction uplink
US11336465B2 (en) Sending cross-chain authenticatable messages
CN110096857B (en) Authority management method, device, equipment and medium for block chain system
CN108681965B (en) Block chain network transaction processing method and device for offline node
CN112615871B (en) Method and device for transmitting authenticatable message across chains
US11336451B2 (en) Cross-blockchain resource transmission
CN110049087B (en) Credibility verification method, system, device and equipment of alliance chain
US20210083856A1 (en) Improved hardware security module management
CN110222116B (en) Control method and device for transaction data storage and storage medium
CN110163755B (en) Block chain-based data compression and query method and device and electronic equipment
CN111861482B (en) Block chain account checking method and system
CN110020854B (en) Data evidence storage method and system based on multiple block chain networks
CN110020945B (en) Data reading method and system based on multiple block chain networks
CN110060153B (en) Data evidence storage method and system based on multiple block chain networks
CN107179940B (en) Task execution method and device
CN104219235A (en) Distributed transaction requesting method and device
CN114255031A (en) System for executing cross block chain of transaction, cross chain transaction method and equipment
CN112866421B (en) Intelligent contract operation method and device based on distributed cache and NSQ
CN111311254A (en) Service processing method, device and system based on block chain
WO2022206439A1 (en) Method and apparatus for providing cross-chain message
CN113542405B (en) Block chain-based network communication system, method, equipment and storage medium
CN106453213B (en) Call method and device between a kind of system
CN112615868B (en) Method and device for transmitting authenticatable message across chains
CN111897826A (en) Parameter information updating method and device, electronic equipment and readable storage medium
CN110807203B (en) Data processing method, service operation center platform, system and storage medium

Legal Events

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