CN113806801A - Transaction information chaining method, device, computer equipment and storage medium - Google Patents

Transaction information chaining method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN113806801A
CN113806801A CN202111082986.8A CN202111082986A CN113806801A CN 113806801 A CN113806801 A CN 113806801A CN 202111082986 A CN202111082986 A CN 202111082986A CN 113806801 A CN113806801 A CN 113806801A
Authority
CN
China
Prior art keywords
user
transaction
transaction information
information
virtual resource
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.)
Granted
Application number
CN202111082986.8A
Other languages
Chinese (zh)
Other versions
CN113806801B (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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202111082986.8A priority Critical patent/CN113806801B/en
Publication of CN113806801A publication Critical patent/CN113806801A/en
Application granted granted Critical
Publication of CN113806801B publication Critical patent/CN113806801B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • 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/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The embodiment of the application discloses a transaction information chaining method, a transaction information chaining device, computer equipment and a storage medium. The method comprises the following steps: determining user transaction information of unlinked users, wherein the user transaction information comprises transfer information of virtual resources among transaction users; determining at least two target user transaction information to be merged in the unlinked user transaction information, wherein the at least two target user transaction information have at least one same transaction user; merging the target user transaction information based on the same transaction user to form merged transaction information; and performing uplink processing on the merged transaction information to trigger a block chain system to perform the merged transaction information, so that uplink processing can be performed on a plurality of user transaction information at one time, and uplink performance of the user transaction information is improved.

Description

Transaction information chaining method, device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method and an apparatus for linking transaction information, a computer device, and a storage medium.
Background
The blockchain is a decentralized distributed database technology participated by each node device, with the development of science and technology, the application scenarios of the blockchain become more and more extensive, and due to the characteristics of decentralized, non-falsifiable and high reliability of the blockchain, the virtual resource (for example, virtual currency and the like) transaction information between users can be stored in the blockchain network. During the research and practice of the prior art, the inventors of the present application found that the computer equipment generally sends the transaction information between users to the blockchain node to perform uplink processing, and the uplink processing performed on the user transaction information individually results in poor uplink performance of the user transaction information.
Disclosure of Invention
The embodiment of the application provides a transaction information uplink method, a transaction information uplink device, computer equipment and a storage medium, which can execute uplink processing on a plurality of user transaction information at one time and improve uplink performance of the user transaction information.
The embodiment of the application provides a transaction information uplink method, which comprises the following steps:
determining user transaction information of unlinked users, wherein the user transaction information comprises transfer information of virtual resources among transaction users;
determining at least two target user transaction information to be merged in the unlinked user transaction information, wherein the at least two target user transaction information have at least one same transaction user;
merging the target user transaction information based on the same transaction user to form merged transaction information;
and performing uplink processing on the merged transaction information to trigger a block chain system to execute the merged transaction information.
Correspondingly, an embodiment of the present application further provides a transaction information uplink apparatus, including:
a first determining unit, configured to determine user transaction information of a non-uplink, where the user transaction information includes transfer information of virtual resources between transacting users;
a second determining unit, configured to determine, in the unlinked user transaction information, at least two target user transaction information to be merged, where the at least two target user transaction information have at least one same transaction user;
the merging unit is used for merging the target user transaction information based on the same transaction user to form merged transaction information;
and the execution unit is used for executing uplink processing on the merged transaction information so as to trigger a block chain system to execute the merged transaction information.
Optionally, the transaction users include a transaction initiating user and a transaction receiving user, and the second determining unit is further configured to:
and acquiring at least two pieces of user transaction information with the same transaction initiating user from the unlinked user transaction information as the target user transaction information.
Optionally, the merging unit is further configured to:
and merging the transaction information of the target users based on the virtual resource transfer total amount in the transaction information of the target users of the same transaction initiating user and each transaction receiving user to form merged transaction information.
Optionally, the merging unit is further configured to:
determining first user transaction information and non-first user transaction information in the target user transaction information, wherein each first user transaction information and at least one other first user transaction information have the same transaction receiving user, and the resource transfer amount in the non-first user transaction information is the total virtual resource transfer amount between the same transaction initiating user and the corresponding transaction receiving user;
calculating the virtual resource transfer total amount between the same transaction initiating user and the same transaction receiving user for the transaction information of the first user, and combining the transaction information of the first user based on the virtual resource transfer total amount to obtain the combined first transaction information corresponding to each transaction receiving user;
and combining the combined first transaction information and the non-first user transaction information based on the corresponding relationship between each transaction receiving user in the combined first transaction information and the total amount of virtual resource transfer and the corresponding relationship between each transaction receiving user in the non-first user transaction information and the total amount of virtual resource transfer to form combined transaction information containing the corresponding relationship between each transaction receiving user and the total amount of virtual resource transfer.
Optionally, the merging unit is further configured to:
acquiring a first quantity of virtual resources transferred from the same transaction initiating user to the same transaction receiving user in the transaction information of each first user;
summing the first quantities to obtain a total amount of virtual resource transfer between the same transaction initiating user and the same transaction receiving user;
and merging the transaction information of the first user based on the total virtual resource transfer amount between the same transaction initiating user and the same transaction receiving user and the same transaction initiating user and the same transaction receiving user to obtain merged first transaction information corresponding to each transaction receiving user.
Optionally, the transaction users include a transaction initiating user and a transaction receiving user, and the second determining unit is further configured to:
and acquiring user transaction information of at least two users with the same transaction receiving user from the unlinked user transaction information as the target user transaction information.
Optionally, the merging unit is further configured to:
and merging the transaction information of the target users based on the virtual resource transfer total amount in the transaction information of the target users of the same transaction receiving user and each transaction initiating user to form merged transaction information.
Optionally, the merging unit is further configured to:
determining other trading users except the same trading user in the trading users of the target trading information as opposite end trading users of the same trading user;
and merging the transaction information of the target users based on the same transaction user and each opposite-end transaction user, wherein the transaction information of the target users is merged in the virtual resource transfer direction in the transaction information of the target users and the virtual resource transfer total amount in the virtual resource transfer direction to form merged transaction information.
Optionally, the merging unit is further configured to:
determining second user transaction information and non-second user transaction information in the target user transaction information, wherein each second user transaction information and at least one other second user transaction information have the same transaction user and the same opposite-end transaction user, and the resource transfer amount in the non-second user transaction information is the total virtual resource transfer amount between the same transaction user and the corresponding opposite-end transaction user;
for the second user transaction information, acquiring a virtual resource transfer direction between the same transaction user and the same opposite-end transaction user and a virtual resource transfer total amount in the virtual resource transfer direction, merging the second user transaction information based on the acquired virtual resource transfer direction and the virtual resource transfer total amount, and acquiring merged second transaction information;
and combining the combined second transaction information and the non-second user transaction information based on the virtual resource transfer direction and the virtual resource transfer total amount in the virtual resource transfer direction in the combined second transaction information and the virtual resource transfer direction and the virtual resource transfer total amount between the same transaction user and each opposite-end transaction user in the non-second user transaction information to form the combined transaction information.
Optionally, the merging unit is further configured to:
determining that, in the second user transaction information, one of the same transaction user and the same opposite-end transaction user is a transaction initiating user, and the other of the same transaction user and the same opposite-end transaction user is a transaction receiving user;
determining the direction of transferring the virtual resource from the transaction initiating user to the transaction receiving user in the transaction information of each second user, wherein the direction is the virtual resource transferring direction between the same transaction user and the same opposite-end transaction user;
acquiring a second quantity of virtual resources transferred from the transaction initiating user to the transaction receiving user in the transaction information of each second user;
summing the second quantities to obtain the total virtual resource transfer quantity in the virtual resource transfer direction in the second user transaction information;
and merging the second user transaction information based on the virtual resource transfer direction and the virtual resource transfer total amount to obtain the merged second transaction information.
Optionally, the transfer information includes a transaction time, and the merging unit is further configured to:
storing each formed merged transaction information into a transaction set to be linked;
the execution unit is further to:
determining the merged transaction information with the transaction time within a first preset time from the to-be-uplink transaction set as to-be-uplink transaction information;
and executing the uplink processing on the to-be-uplink transaction information so as to trigger a block chain system to execute the to-be-uplink transaction information.
Optionally, the apparatus is further configured to:
acquiring a virtual resource chain lower allowance of a trading user of the to-be-uplink trading information, wherein the virtual resource chain lower allowance is a first virtual resource allowance of the trading user after the user trading information corresponding to the to-be-uplink trading information is generated in a trading system and the trading system executes the to-be-uplink trading information;
after the information of the transaction to be uplink is successfully executed, acquiring a second virtual resource allowance of the transaction user of the information of the transaction to be uplink in the blockchain system;
and comparing the virtual resource chain lower allowance with the second virtual resource allowance, and if the virtual resource chain lower allowance is different from the second virtual resource allowance, compensating the small amount of the virtual resource chain lower allowance and the second virtual resource allowance by the transaction system so as to enable the virtual resource chain lower allowance to be the same as the second virtual resource allowance.
Optionally, the apparatus is further configured to:
acquiring a third virtual resource allowance of a trading user in the to-be-uplink trading information before the trading system executes the to-be-uplink trading information;
acquiring the target quantity of virtual resources transferred by a trading user from the information of the transaction to be linked executed by the trading system;
and subtracting the target quantity from the third virtual resource surplus to obtain the virtual resource chain lower surplus of the trading user of the to-be-uplink trading information.
Optionally, the apparatus is further configured to:
if the trade time is determined to be in the trade users of the merged trade information within the first preset time, the corresponding virtual resource chain lower allowance is the same as the second virtual resource allowance, the merged trade information with the trade time within the second preset time is determined to be the trade information to be linked from the trade set to be linked, and the second preset time is after the first preset time;
and executing the uplink processing on the to-be-uplink transaction information so as to trigger a block chain system to execute the to-be-uplink transaction information.
Optionally, the apparatus is further configured to:
receiving all user transaction information generated among the transaction users by using the transaction system;
determining effective candidate user transaction information in all user transaction information according to the first virtual resource allowance owned by the transaction user corresponding to each user transaction information and the preset quantity of transfer virtual resources corresponding to each user transaction information;
recording the transaction information of the candidate user by using a preset offline transaction list through the transaction system;
the first determination unit is further configured to:
and acquiring user transaction information which is not executed by the blockchain system from the candidate user transaction information recorded in the downlink transaction list as the user transaction information which is not uplink.
Similarly, an embodiment of the present application further provides a computer device, including:
a memory for storing a computer program;
a processor for performing any of the steps of the transaction information chaining method.
In addition, an embodiment of the present application further provides a computer-readable storage medium, which stores a computer program, and the computer program, when executed by a processor, implements the steps of any one of the uplink transaction information methods.
The embodiment of the application provides a method, a device, computer equipment and a storage medium for uplink transaction information, when a plurality of user transaction information need to execute uplink processing, at least two user transaction information with at least one same transaction user can be merged according to the transaction user carrying out virtual resource transfer contained in the user transaction information to form merged transaction information, and uplink processing is executed on the transaction information to be uplink selected from the merged transaction information, so that uplink processing can be executed on the transaction information of the plurality of users at one time, and uplink performance of the transaction information of the users is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a system diagram of an uplink transaction information device according to an embodiment of the present application;
FIG. 2 is a flowchart illustrating a method for uplink transaction information according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating a system interaction of a method for uplink transaction information according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an uplink transaction information device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a computer device provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the application provides a transaction information chaining method, a transaction information chaining device, computer equipment and a storage medium. Specifically, the uplink transaction information method according to the embodiment of the present application may be executed by a computer device, where the computer device may be a terminal or a server. The terminal can be a terminal device such as a smart phone, a tablet Computer, a notebook Computer, a touch screen, a Personal Computer (PC), a Personal Digital Assistant (PDA), and the like, and the terminal can also include a client, which can be an application client having a transaction information processing function, a browser client carrying the transaction information processing function, or an instant messaging client, and the like. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, network service, cloud communication, middleware service, domain name service, security service, content distribution network service, big data and an artificial intelligence platform.
Referring to fig. 1, fig. 1 is a system diagram of a transaction information uplink device according to an embodiment of the present disclosure. The system may include a terminal a that generates user transaction information, a terminal B that may be transacting a system, and a terminal C that may be running a blockchain system. The terminal a is used for receiving a transaction request of a transaction user, generating user transaction information indicating that a preset amount of virtual resources are transferred between the transaction users, and sending the generated user transaction information to the terminal B operating the transaction system, wherein the transaction system in the terminal B receives the user transaction information, and determines user transaction information which is not linked up from the received user transaction information, and the user transaction information comprises transfer information of virtual resources between the transaction users; determining at least two target user transaction information to be merged in the unlinked user transaction information, wherein the at least two target user transaction information have at least one same transaction user; merging target user transaction information based on the same transaction users to form merged transaction information; and performing uplink processing on the merged transaction information to trigger the blockchain system to execute the merged transaction information, namely sending the merged transaction information to a terminal C operating the blockchain system, receiving the merged transaction information by the blockchain system, executing the merged transaction information, and realizing virtual resource transfer between transaction users.
The following are detailed below. It should be noted that the following description of the embodiments is not intended to limit the preferred order of the embodiments.
The present embodiment will be described in terms of a transaction information chaining apparatus, which may be specifically integrated in a terminal, and the terminal may include a smart phone, a notebook computer, a tablet computer, a personal computer, and other devices.
In an embodiment of the present invention, a method for uplink transaction information may be executed by a processor of a terminal, as shown in fig. 2, a specific process of the method for uplink transaction information mainly includes steps 201 to 204, which are described in detail as follows:
step 201, determining user transaction information of unlinked users, wherein the user transaction information includes transfer information of virtual resources between trading users.
In an embodiment of the present application, the terminal may receive user transaction information including information on transfer of virtual resources between transaction users, and determine user transaction information of a non-uplink from the received user transaction information. The user transaction information not linked up is the user transaction information not executed by the blockchain system. Further, a virtual resource is a resource that can be traded in a blockchain system, and may be, for example, virtual currency, virtual stocks, and/or bitcoins, among others. The preset number is a unit for measuring the number of the virtual resources, the specific numerical value is not limited, and the number can be flexibly set according to the actual situation. The transfer information may include, among other things, the transfer time of the virtual resource between trading users and the amount of the virtual resource to be transferred.
In this embodiment, the user transaction information may further include transaction user information for mutually transferring virtual resources, types of the transferred virtual resources, uplink states, transaction numbers, and the like, the transaction user information may include an identifier, a private key, a public key, and the like of a transaction user, the transaction user may include a transaction initiating user and a transaction receiving user, the transaction initiating user is a user initiating the transaction information of the user, that is, the user transferring the virtual resources, and may also be a user receiving the virtual resources, when the transaction initiating user is the user transferring the virtual resources, the transaction receiving user is a user receiving the virtual resources, and when the transaction initiating user is the user receiving the virtual resources, the transaction receiving user is the user transferring the virtual resources. The format and the recording mode of the user transaction information are not limited and can be flexibly set according to the actual situation. The identification of the transaction user is an identification which uniquely distinguishes different transaction users, and may be a blockchain address of the transaction user, a name of the transaction user, and the like.
In this embodiment of the present application, the transaction system may record all the user transaction information, that is, before the step 201 "determining the unlinked user transaction information", the method may further include:
receiving all user transaction information generated among transaction users by using a transaction system;
determining effective candidate user transaction information in all user transaction information according to the first virtual resource allowance owned by the transaction user corresponding to each user transaction information and the preset quantity of transfer virtual resources corresponding to each user transaction information;
and recording the transaction information of the candidate user by using a preset under-link transaction list through the transaction system.
In this case, the step 201 "determining the unlinked user transaction information" may be: and acquiring the user transaction information which is not executed by the blockchain system from the candidate user transaction information recorded in the downlink transaction list as the user transaction information which is not uplink.
For example, the transaction system of the terminal may record the user transaction information in a form of a table, and the terminal may preset a downlink transaction list for recording the user transaction information, and record the content included in the user transaction information into the downlink transaction list.
In the embodiment of the application, if the identification of the transaction user is the blockchain address of the transaction user, when the terminal receives user transaction information, the user identification of the transaction initiating user and the preset number of virtual resources transferred by the transaction initiating user are obtained according to the user transaction information, the balance of the virtual resources owned by the transaction initiating user is obtained according to the user identification, whether the balance of the virtual resources of the transaction initiating user is greater than the preset number of the virtual resources is judged, if the balance of the virtual resources of the transaction initiating user is greater than the preset number of the virtual resources, the transaction initiating user is indicated to have enough virtual resources to transfer to the transaction receiving user, and at the moment, the transaction information of the user is valid candidate user transaction information, and the valid candidate user transaction information is stored. If the balance of the virtual resources of the transaction initiating user is less than the preset number of the virtual resources, the transaction initiating user is indicated that the virtual resources are not enough to be transferred to the transaction receiving user, the transaction information of the user is invalid, and the transaction information of the user is discarded.
In the embodiment of the application, in order to better acquire the related information of each transaction user, the terminal may set a user table in which the user records the information of the transaction user, when the user wants to send the user transaction information to a transaction system running on the terminal, the user needs to register the transaction system, basic information of the user is provided for the transaction system, the transaction system acquires the user information that is successfully registered, and records the user information, such as a user number, a user block chain address, a user private key, a user virtual resource balance, whether the user is an operation administrator account, a user virtual resource under-chain residual amount, and the like, by using the user table.
Step 202, in the unlinked user transaction information, at least two target user transaction information to be merged are determined, and the at least two target user transaction information have at least one same transaction user.
In the embodiment of the present application, in order to improve the uplink performance of the user transaction information, the user transaction information that is not uplink can be combined together to jointly execute uplink processing, thereby realizing batch uplink of transactions. After the uplink processing is performed on the user transaction information, both the virtual resource chain lower allowance of the virtual resource of the user and the second virtual resource allowance in the blockchain system change, in order to more conveniently and quickly obtain the change of the virtual resource chain lower allowance of the virtual resource of the transacted user and the second virtual resource allowance in the blockchain system, the user transaction information can be merged according to the transacted user included in the user transaction information, the user transaction information related to one transacted user is merged, the transfer quantity of the virtual resource of the transacted user in the user transaction information can be obtained more quickly, and the change of the virtual resource chain lower allowance of the virtual resource of the transacted user and the second virtual resource allowance in the blockchain system can be further obtained.
In the embodiment of the application, the transaction information of the multiple target users can be the transaction information of the users with the same transaction initiating user, and the variable quantity of the virtual resources of the transaction initiating user can be obtained conveniently and quickly. The transaction information of the plurality of target users can be the transaction information of the users with the same transaction receiving users, and the variable quantity of the virtual resources of the transaction receiving users can be obtained conveniently and quickly. The same transaction user in the transaction information of the multiple target users can be a transaction initiating user or a transaction receiving user, and the variation of the virtual resources of the transaction initiating user and the transaction receiving user can be conveniently and quickly obtained.
In an embodiment of the present application, when the originating users having the same transaction are used as the merge rule, the step 202 "determining at least two target user transaction information to be merged in the unlinked user transaction information, the at least two target user transaction information having at least one same transaction user" may be: and acquiring at least two pieces of user transaction information of the same transaction initiating user from the unlinked user transaction information as target user transaction information.
In an embodiment of the present application, when the users having the same transaction receiving function are used as the merge rule, the step 202 of determining at least two target user transaction information among the unlinked user transaction information may be: and acquiring the user transaction information of at least two users with the same transaction receiving user from the unlinked user transaction information as target user transaction information.
Step 203, merging the transaction information of the target user based on the same transaction user to form merged transaction information.
In this embodiment of the application, when at least two pieces of target user transaction information have the same transaction initiating user, the step 203 of "merging target user transaction information based on the same transaction user to form merged transaction information" may be: and merging the transaction information of the target users based on the virtual resource transfer total amount in the transaction information of the target users of the same transaction initiating user and each transaction receiving user to form merged transaction information.
Specifically, since the target transaction users may have user transaction information that is the same as the transaction receiving users, in order to reduce the amount of calculation of the user transaction information by the blockchain system, and obtain the second virtual resource surplus of the virtual resource of the transaction users in the blockchain system more quickly, the user transaction information with the same receiving users may be merged first, and the total amount of virtual resource transfer between at least two user transaction information with the same transaction initiating user and the same transaction receiving user is calculated, at this time, the above step "merging the transaction information of the target users based on the total amount of virtual resource transfer in the transaction information of the target users and the same transaction initiating user and each transaction receiving user, and forming merged transaction information" may include:
determining first user transaction information and non-first user transaction information in the target user transaction information, wherein each first user transaction information and at least one other first user transaction information have the same transaction receiving user, and the resource transfer amount in the non-first user transaction information is the total virtual resource transfer amount between the same transaction initiating user and the corresponding transaction receiving user;
calculating the virtual resource transfer total amount between the same transaction initiating user and the same transaction receiving user for the transaction information of the first user, and combining the transaction information of the first user based on the virtual resource transfer total amount to obtain the combined first transaction information corresponding to each transaction receiving user;
and combining the combined first transaction information with the non-first user transaction information to form combined transaction information containing the corresponding relation between each transaction receiving user and the virtual resource transfer total amount based on the corresponding relation between each transaction receiving user and the virtual resource transfer total amount in the combined first transaction information and the corresponding relation between each transaction receiving user and the virtual resource transfer total amount in the non-first user transaction information.
Further, in the above step, "for the transaction information of the first user, calculating a total amount of virtual resource transfer between the same transaction initiating user and the same transaction receiving user, and combining the transaction information of the first user based on the total amount of virtual resource transfer to obtain the combined first transaction information corresponding to each transaction receiving user" may specifically be: acquiring a first quantity of virtual resources transferred from the same transaction initiating user to the same transaction receiving user in the transaction information of each first user; summing the first quantities to obtain the total virtual resource transfer quantity between the same transaction initiating user and the same transaction receiving user; and merging the transaction information of the first user based on the virtual resource transfer total amount between the same transaction initiating user and the same transaction receiving user and the same transaction initiating user and the same transaction receiving user to obtain the merged first transaction information corresponding to each transaction receiving user.
For example, the transaction system receives three pieces of user transaction information, which are information 1: user A initiates a transaction, transfers M number of virtual resources to user B, information 2: user A initiates a transaction, transfers N number of virtual resources to user C, information 3: the user A initiates a transaction, transfers the number P of virtual resources to the user B, and since the three pieces of transaction information all use the user A as the information of a transaction initiating user, the transaction system uses the three pieces of user transaction information as the transaction information of a target user, then, since the transaction receiving users of the information 1 and the information 3 are the same, the transaction system uses the information 1 and the information 3 as the transaction information of a first user, uses the information 2 as the transaction information of a non-first user, obtains the total amount of the virtual resources transferred to the user B by the user A in the information 1 and the information 3 as M + P, and after combining the information 1 and the information 3, obtains the combined first transaction information 4: user A initiates a transaction, transferring the number M + P of virtual resources to user B. Acquiring the corresponding relation between the user B and the number M + P in the information 4 and the corresponding relation between the user C and the number N in the information 2, and merging the information 4 and the information 2 to obtain merged transaction information which is expressed as: user A initiates a transaction, and transfers the number M + P and the number N of virtual resources to user B and user C, respectively.
In the embodiment of the application, when the transaction system finds out the first user transaction information with the same transaction initiating user and the same transaction receiving user, and after the first user transaction information is combined to form the combined first transaction information, the transaction system can record the combined first transaction information in a form of a table, namely, the transaction system can set the uplink transaction detail table to record the merged first transaction information, the uplink transaction detail table can include the transaction number of the merged first transaction information, the transaction initiating user, the transaction receiving user, the number of the merged first transaction information, and the transaction time of the merged first transaction information, and the uplink state of the merged first transaction information, wherein the merged first transaction information is merged with the non-first user transaction information for the second time, the uplink process can be performed, so that the uplink state of the merged first transaction information can be set to be the initialization state. In addition, the transaction system can record the non-first user transaction information in the target user transaction information in the uplink transaction list, and set the uplink state of the non-first user transaction information as the initialization state.
In an embodiment of the present application, when at least two target user transaction information have the same transaction receiving user, the "merging target user transaction information based on the same transaction user to form merged transaction information" in step 203 may be: and merging the transaction information of the target users based on the virtual resource transfer total amount in the transaction information of the target users of the same transaction receiving user and each transaction initiating user to form merged transaction information.
Specifically, since the target transaction users may have the same transaction information as the transaction initiating users, in order to reduce the amount of calculation of the blockchain system for the transaction information of the users, and obtain the second virtual resource surplus of the virtual resource of the transaction users in the blockchain system more quickly, similarly, the transaction information of the users having the same initiating users may be merged first, at this time, the above steps "merge the transaction information of the target users based on the total amount of transfer of the virtual resource in the transaction information of the target users and the same transaction receiving users and each transaction initiating user to form merged transaction information" may be: determining third user transaction information and non-third user transaction information in the target user transaction information, wherein each third user transaction information and at least one other third user transaction information have the same transaction initiating user, and the resource transfer amount in the non-third user transaction information is the total virtual resource transfer amount between the same transaction initiating user and the corresponding transaction receiving user; calculating the virtual resource transfer total amount between the same transaction initiating user and the same transaction receiving user for the transaction information of the third user, and combining the transaction information of the third user based on the virtual resource transfer total amount to obtain the combined third transaction information corresponding to each transaction initiating user; and combining the combined third transaction information with the non-third user transaction information to form combined transaction information containing the corresponding relation between each transaction initiating user and the total amount of the virtual resource transfer based on the corresponding relation between each transaction initiating user and the total amount of the virtual resource transfer in the combined third transaction information and the corresponding relation between each transaction initiating user and the total amount of the virtual resource transfer in the non-third user transaction information.
Further, the step of calculating the total amount of virtual resource transfer between the same transaction initiating user and the same transaction receiving user for the transaction information of the third user, and combining the transaction information of the third user based on the total amount of virtual resource transfer to obtain the combined third transaction information corresponding to each transaction initiating user may be: acquiring a third quantity of virtual resources transferred from the same transaction initiating user to the same transaction receiving user in the transaction information of each third user; summing the third quantities to obtain the total virtual resource transfer quantity between the same transaction initiating user and the same transaction receiving user; and merging the transaction information of the third user based on the virtual resource transfer total amount between the same transaction initiating user and the same transaction receiving user and the same transaction initiating user and the same transaction receiving user to obtain the merged third transaction information corresponding to each transaction receiving user.
For example, the transaction system receives three pieces of user transaction information, respectively information 5: user R initiates a transaction, transfers the amount L of virtual resources to user T, information 6: user S initiates a transaction, transfers the amount Q of virtual resources to user T, information 7: the user R initiates a transaction, transfers the amount J of virtual resources to the user T, and since the three pieces of transaction information all use the user T as the information of a transaction receiving user, the transaction system takes the three pieces of user transaction information as the target user transaction information, then, since the transaction initiating users of the information 5 and the information 7 are the same, the transaction system takes the information 5 and the information 7 as the second user transaction information, takes the information 6 as the non-second user transaction information, obtains the total amount of the virtual resources transferred to the user T by the user R in the information 5 and the information 7 as L + J, and after combining the information 5 and the information 7, obtains the combined first transaction information 8: and initiating a transaction by the user R, and transferring the virtual resources with the quantity of L + J to the user T. Acquiring the corresponding relation between the user R and the quantity L + J in the information 8 and the corresponding relation between the user S and the quantity Q in the information 6, and combining the information 8 and the information 6 to obtain the combined transaction information which is expressed as: and the user R and the user S respectively initiate transactions to the user T and respectively transfer the virtual resources with the quantity L + J and the quantity Q.
In some embodiments of the present application, when the same transaction user in the transaction information of multiple target users may be both a transaction initiating user and a transaction receiving user, the "merging the transaction information of the target users based on the same transaction user to form merged transaction information" in the step 202 may be: determining other trading users except the same trading user in the trading users of the target trading information as opposite end trading users of the same trading user; and merging the transaction information of the target user based on the same transaction user and each opposite-end transaction user, wherein the transaction information of the target user is merged according to the virtual resource transfer direction and the virtual resource transfer total amount in the virtual resource transfer direction in the transaction information of the target user to form merged transaction information.
In this embodiment of the present application, since the target trading user may have the same trading information as the trading receiving user and the trading initiating user, in order to reduce the calculation amount of the blockchain system for the user trading information and obtain the second virtual resource allowance of the virtual resource of the trading user in the blockchain system more quickly, the trading information that is the same as the trading receiving user and the trading initiating user may be merged first, at this time, the above steps "based on the same trading user and each opposite end trading user, the total amount of virtual resource transfer in the target user trading information in the virtual resource transfer direction and the virtual resource transfer direction, and the target user trading information is merged to form merged trading information" may be: determining second user transaction information and non-second user transaction information in the target user transaction information, wherein each second user transaction information and at least one other second user transaction information have the same transaction user and the same opposite-end transaction user, and the resource transfer amount in the non-second user transaction information is the total virtual resource transfer amount between the same transaction user and the corresponding opposite-end transaction user; for the second user transaction information, acquiring virtual resource transfer directions between the same transaction user and the same opposite-end transaction user and virtual resource transfer total amount in the virtual resource transfer directions, and combining the second user transaction information based on the acquired virtual resource transfer directions and virtual resource transfer total amount to obtain combined second transaction information; and combining the combined second transaction information with the transaction information of the non-second user based on the virtual resource transfer direction and the virtual resource transfer total amount in the virtual resource transfer direction in the combined second transaction information and the virtual resource transfer direction and the virtual resource transfer total amount between the same transaction user and each opposite end transaction user in the transaction information of the non-second user to form the transaction information after combination.
Specifically, in the above step, "for the second user transaction information, obtaining the virtual resource transfer direction between the same transaction user and the same opposite-end transaction user, and the total virtual resource transfer amount in the virtual resource transfer direction, merging the second user transaction information based on the obtained virtual resource transfer direction and the obtained total virtual resource transfer amount, and obtaining the merged second transaction information" may specifically be: determining that one of the same transaction user and the same opposite-end transaction user in the transaction information of each second user is a transaction initiating user, and the other one of the same transaction user and the same opposite-end transaction user is a transaction receiving user; determining the direction of transferring the virtual resource from the transaction initiating user to the transaction receiving user in the transaction information of each second user, wherein the direction is the virtual resource transferring direction between the same transaction user and the same opposite-end transaction user; acquiring a second quantity of virtual resources transferred from the transaction initiating user to the transaction receiving user in the transaction information of each second user; summing the second quantities to obtain the total virtual resource transfer quantity in the virtual resource transfer direction in the second user transaction information; and merging the second user transaction information based on the virtual resource transfer direction and the virtual resource transfer total amount to obtain merged second transaction information.
In this embodiment of the application, the merged second transaction information and the non-second user transaction information may be recorded according to a preset sequence, where the preset sequence may be transaction time of the merged second transaction information and the non-second user transaction information, or may be transaction number of the merged second transaction information and the non-second user transaction information. The merged second transaction information and the non-second user transaction information may be recorded by using a table, for example, the merged second transaction information and the non-second user transaction information may be recorded by using an uplink transaction detail table, and in the uplink transaction detail table, the user transaction information with the same transaction user is obtained according to a preset sequence, and the user transaction information with the same transaction user is merged, it is to be noted that the merged user transaction information is not merged any more.
For example, the merged second transaction information and non-second user transaction information recorded in the uplink transaction list according to the preset sequence include: and information 9: a user U initiates a transaction, and transfers the virtual resources of the quantity W to a user V; information 10: initiating a transaction by a user V, and transferring virtual resources of the quantity Y to a user X; information 11: initiating a transaction by a user E, and transferring the virtual resources of the quantity Z to a user F; information 12: initiating a transaction by a user V, and transferring the virtual resources of the quantity D to a user E; the transaction system acquires that the information 9, the information 10 and the information 12 all comprise the user V according to a preset sequence, namely the information 9, the information 10 and the information 12 are combined to form combined transaction information, virtual resources-W, Y and D are respectively transferred to the user U, the user X and the user E for the user V, since the information 12 is already combined, although the information 12 and the information 11 both comprise the user E, the information 12 is not combined with the information 11, and the information 11 is independently used as the combined transaction information.
In the embodiment of the present application, if there is user transaction information that does not have the same transaction user as other user transaction information in the unlinked user transaction information, it indicates that the user transaction information cannot be merged with other unlinked user transaction information, and at this time, the merged user transaction information that cannot be merged is solely used as merged transaction information and is also subjected to the uplink processing with other merged transaction information formed by merging at least two pieces of target user transaction information.
Step 204, performing uplink processing on the merged transaction information to trigger the blockchain system to perform the merged transaction information.
In some embodiments of the present application, the transfer information in the user transaction information may include transaction time for transferring virtual resources between transaction users, and after the merged transaction information is formed, in order to perform uplink processing on the merged transaction information in order, the merged transaction information may be stored in an uplink transaction set, in the uplink transaction set, the merged transaction information may be arranged in order according to the transaction time, a merged transaction with a transaction time closest to a current time is arranged behind the merged transaction information, a merged transaction information with a transaction time farthest from the current time is arranged in front of the merged transaction information, and then the information to be transacted is selected according to the transaction time, in this case, "perform uplink processing on the merged transaction information to trigger a block-link system to perform the merged transaction information" in step 204 may specifically be: determining the merged transaction information with the transaction time within a first preset time from the transaction set to be linked up as transaction information to be linked up; and performing uplink processing on the to-be-uplink transaction information so as to trigger the block chain system to execute the to-be-uplink transaction information.
In the embodiment of the application, when the transaction information to be uplink transmitted is transmitted to the blockchain system, if the uplink of the user transaction information fails, the blockchain system does not execute the user transaction information, or the transaction system operated by the terminal fails, the user transaction information is repeatedly transmitted to the blockchain system, so that the blockchain system repeatedly executes the user transaction information. However, the transaction information of the user before uplink is executed, and the virtual resource chain lower margin of the virtual resource possessed by the transaction user occurs, which may cause the transaction user recorded on the blockchain system, and the second virtual resource margin in the blockchain system of the virtual resource possessed by the transaction user is inconsistent with the virtual resource chain lower margin.
Specifically, the reconciliation compensation method in the terminal can be implemented by steps 205 to 207:
step 205: and acquiring the virtual resource chain lower allowance of the trading user of the to-be-linked chain trading information, wherein the virtual resource chain lower allowance is the first virtual resource allowance of the trading user after the trading system executes the to-be-linked chain trading information after the user trading information corresponding to the to-be-linked chain trading information is generated in the trading system.
Step 206, after the information of the to-be-uplink transaction is successfully acquired from the blockchain system, the transaction user of the to-be-uplink transaction information has a second virtual resource margin in the blockchain system.
And step 207, comparing the virtual resource chain lower allowance with the second virtual resource allowance, and if the virtual resource chain lower allowance is different from the second virtual resource allowance, compensating the virtual resource chain lower allowance with the second virtual resource allowance in a smaller amount by the transaction system so as to enable the virtual resource chain lower allowance to be the same as the second virtual resource allowance.
In an embodiment of the present application, the "obtaining the virtual resource link remaining amount of the transaction user waiting for uplink transaction information" in the step 205 may specifically be: acquiring a third virtual resource allowance of a trading user in the to-be-linked chain trading information before the trading system executes the to-be-linked chain trading information; acquiring the target quantity of virtual resources transferred by a trading user in the information of the transaction to be linked executed by the trading system; and subtracting the target quantity by utilizing the third virtual resource allowance to obtain the virtual resource under-link allowance of the transaction user of the transaction information to be linked.
In this embodiment of the application, in the step 207, "comparing the virtual resource chain lower allowance with the second virtual resource allowance, if the virtual resource chain lower allowance is different from the second virtual resource allowance, the transaction system compensates the virtual resource chain lower allowance with the second virtual resource allowance in a small amount, so that the virtual resource chain lower allowance is the same as the second virtual resource allowance" specifically may be: when the virtual resource chain lower allowance is determined to be different from a second virtual resource allowance in the block chain system according to the comparison result, obtaining a difference value between the virtual resource chain lower allowance and the second virtual resource allowance in the block chain system; if the virtual resource chain lower allowance is smaller than a second virtual resource allowance in the block chain system, transferring the virtual resource with the difference amount to a transaction initiating user which executes the successful transaction information to be uplink, so that the virtual resource chain lower allowance is equal to the second virtual resource allowance in the block chain system; and if the virtual resource chain lower allowance is larger than the second virtual resource allowance in the block chain system, changing the value of the second virtual resource allowance in the block chain system to be the value of the virtual resource chain lower allowance.
In this embodiment of the present application, when the compensation of the virtual resource chain lower margin and the second virtual resource margin of the transaction user included in the to-be-uplink transaction information that is successfully executed within the first preset time is completed, and both are the same, the uplink processing may be executed on the to-be-uplink transaction information within the second preset time, which may specifically be: if the trade user of the merged trade information with the trade time in the first preset time is determined, the corresponding virtual resource chain lower allowance is the same as the second virtual resource allowance, the merged trade information with the trade time in the second preset time is determined to be the trade information to be linked from the trade set to be linked, and the second preset time is after the first preset time; and performing uplink processing on the to-be-uplink transaction information so as to trigger the block chain system to execute the to-be-uplink transaction information.
In this embodiment of the present application, the first preset time and the second preset time may be continuous times, that is, the first preset time may be one day, the second preset time may be the next day following the first preset time, the trading system may perform uplink processing according to the trading time of the user trading information, that is, the trading system performs uplink processing on all to-be-uplink trading information in the first day, and after the blockchain system successfully performs all to-be-uplink trading information in the first day, the trading system receives the execution success feedback information, determines the trading users included in all to-be-uplink trading information in the first day, where the corresponding virtual resource chain lower residual amount and the second virtual resource residual amount are the same, and then the trading information sequentially performs uplink processing on all to-be-uplink trading information in the next day.
In the embodiment of the present application, when the determined to-be-uplink transaction information fails to uplink, in order to ensure that the remaining amount of the virtual resources of the downlink transaction users on the chain is consistent, all the user transaction information needs to perform uplink processing, so that the block chain system executes the user transaction information and updates the remaining amount of the virtual resources on the chain. Therefore, when there is pending uplink transaction information with execution failure, it is necessary to perform uplink processing on the pending uplink transaction information with execution failure again until the block chain system finishes executing the pending uplink transaction information with execution failure. In this case, the specific steps may be: receiving execution feedback information aiming at the transaction information to be linked; determining to-be-uplink transaction information which fails to be executed in the block chain system according to the execution feedback information; and after the second preset time, performing uplink processing on the transaction information to be uplink which fails to be executed so as to trigger the block chain system to execute the transaction information to be uplink which fails to be executed before again.
All the above technical solutions can be combined arbitrarily to form the optional embodiments of the present application, and are not described herein again.
According to the method for uplink transaction information provided by the embodiment of the application, when a plurality of user transaction information need to perform uplink transaction, at least two pieces of user transaction information with at least one same transaction user can be combined according to the transaction users which are contained in the user transaction information and used for virtual resource transfer to form combined transaction information, and uplink transaction information to be uplink transaction information is selected from the combined transaction information to perform uplink transaction, so that uplink transaction can be performed on the plurality of user transaction information at one time, and uplink performance of the user transaction information is improved.
The embodiment of the present application further provides a system interaction flow chart of a transaction information uplink method, as shown in fig. 3, the system transaction flow chart includes a transaction system, a block chain system and a browser system, a user transaction is sent to the transaction system, the transaction system receives user transaction information and stores the user transaction information, the transaction system first obtains first user transaction information in the user transaction information, which is the same as a transaction initiating user and a transaction receiving user and is located on the same day, performs a first merging to form merged first transaction information, stores the merged first transaction information and non-first user transaction information into a transaction detail table, then obtains user transaction information which is the same as the transaction initiating user and is located on the same day from the uplink transaction detail table, merges the user transaction information to form merged uplink transaction information, and then batches the merged uplink transaction information on the same day, and sending the information to the blockchain system, maintaining the virtual resource chain lower allowance of the trading user included in the user trading information which is successfully executed after receiving the feedback information which is successfully executed by the blockchain system, and changing the virtual resource chain lower allowance of each trading user included in the user trading information which is successfully executed according to the quantity of the virtual resources transferred in the user trading information. The trading system acquires a derived uplink trade derivation list from the browser system in the next morning, if the trade numbers of the user trade information included in the uplink trade list exist in the uplink trade derivation list, the trading system determines that the current user trade information all executes uplink processing, then the trading system acquires all the current user trade information, checks the trade users included in the current user trade information, and determines whether the corresponding virtual resource chain lower allowance is consistent with the second virtual resource allowance in the block chain system, if not, compensation operation is carried out until all the trade users, the corresponding virtual resource chain lower allowance is consistent with the second virtual resource allowance in the block chain system, which indicates that the current user trade information uplink is finished, the uplink check is finished and the user balance check is finished, at this time, the transaction system starts to select the combined transaction information batch uplink of the next day, and the steps are repeated.
And after receiving the merged transaction information sent by the transaction system, the blockchain system executes the merged transaction information according to the deployed intelligent contract, sequentially transfers virtual resources and/or deducts the virtual resources to the transaction users included in the merged transaction information, and records the second virtual resource allowance of each transaction user in the blockchain system.
The browser system acquires the continuous polling blockchain, derives user transaction information which is successfully executed from the blockchain system, stores uplink transaction numbers, virtual resource transfer numbers, transaction hash values, affiliated blockchain numbers and the like of the user transaction information which is successfully executed into an uplink transaction derivation list, and discloses the uplink transaction derivation list in the blockchain browser to show real uplink transactions for users.
In order to better implement the uplink transaction information method according to the embodiment of the present application, an uplink transaction information device is further provided according to the embodiment of the present application. Referring to fig. 4, fig. 4 is a schematic structural diagram of a transaction information uplink device according to an embodiment of the present application. The uplink transaction information device may include a first determining unit 401, a second determining unit 402, a merging unit 403 and an executing unit 404.
The first determining unit 401 is configured to determine user transaction information that is not uplink, where the user transaction information includes transfer information of virtual resources between transaction users;
a second determining unit 402, configured to determine, in the unlinked user transaction information, at least two target user transaction information to be merged, where the at least two target user transaction information have at least one same transaction user;
a merging unit 403, configured to merge target user transaction information based on the same transaction user to form merged transaction information;
the execution unit 404 is configured to perform uplink processing on the merged transaction information to trigger the blockchain system to perform the merged transaction information.
Optionally, the transaction users include a transaction initiating user and a transaction receiving user, and the second determining unit 402 is further configured to:
and acquiring at least two pieces of user transaction information of the same transaction initiating user from the unlinked user transaction information as target user transaction information.
Optionally, the merging unit 403 is further configured to:
and merging the transaction information of the target users based on the virtual resource transfer total amount in the transaction information of the target users of the same transaction initiating user and each transaction receiving user to form merged transaction information.
Optionally, the merging unit 403 is further configured to:
determining first user transaction information and non-first user transaction information in the target user transaction information, wherein each first user transaction information and at least one other first user transaction information have the same transaction receiving user, and the resource transfer amount in the non-first user transaction information is the total virtual resource transfer amount between the same transaction initiating user and the corresponding transaction receiving user;
calculating the virtual resource transfer total amount between the same transaction initiating user and the same transaction receiving user for the transaction information of the first user, and combining the transaction information of the first user based on the virtual resource transfer total amount to obtain the combined first transaction information corresponding to each transaction receiving user;
and combining the combined first transaction information with the non-first user transaction information to form combined transaction information containing the corresponding relation between each transaction receiving user and the virtual resource transfer total amount based on the corresponding relation between each transaction receiving user and the virtual resource transfer total amount in the combined first transaction information and the corresponding relation between each transaction receiving user and the virtual resource transfer total amount in the non-first user transaction information.
Optionally, the merging unit 403 is further configured to:
acquiring a first quantity of virtual resources transferred from the same transaction initiating user to the same transaction receiving user in the transaction information of each first user;
summing the first quantities to obtain the total virtual resource transfer quantity between the same transaction initiating user and the same transaction receiving user;
and merging the transaction information of the first user based on the virtual resource transfer total amount between the same transaction initiating user and the same transaction receiving user and the same transaction initiating user and the same transaction receiving user to obtain the merged first transaction information corresponding to each transaction receiving user.
Optionally, the transaction users include a transaction initiating user and a transaction receiving user, and the second determining unit 402 is further configured to:
and acquiring the user transaction information of at least two users with the same transaction receiving user from the unlinked user transaction information as target user transaction information.
Optionally, the merging unit 403 is further configured to:
and merging the transaction information of the target users based on the virtual resource transfer total amount in the transaction information of the target users of the same transaction receiving user and each transaction initiating user to form merged transaction information.
Optionally, the merging unit 403 is further configured to:
determining other trading users except the same trading user in the trading users of the target trading information as opposite end trading users of the same trading user;
and merging the transaction information of the target user based on the same transaction user and each opposite-end transaction user, wherein the transaction information of the target user is merged according to the virtual resource transfer direction and the virtual resource transfer total amount in the virtual resource transfer direction in the transaction information of the target user to form merged transaction information.
Optionally, the merging unit 403 is further configured to:
determining second user transaction information and non-second user transaction information in the target user transaction information, wherein each second user transaction information and at least one other second user transaction information have the same transaction user and the same opposite-end transaction user, and the resource transfer amount in the non-second user transaction information is the total virtual resource transfer amount between the same transaction user and the corresponding opposite-end transaction user;
for the second user transaction information, acquiring virtual resource transfer directions between the same transaction user and the same opposite-end transaction user and virtual resource transfer total amount in the virtual resource transfer directions, and combining the second user transaction information based on the acquired virtual resource transfer directions and virtual resource transfer total amount to obtain combined second transaction information;
and combining the combined second transaction information with the transaction information of the non-second user based on the virtual resource transfer direction and the virtual resource transfer total amount in the virtual resource transfer direction in the combined second transaction information and the virtual resource transfer direction and the virtual resource transfer total amount between the same transaction user and each opposite end transaction user in the transaction information of the non-second user to form the transaction information after combination.
Optionally, the merging unit 403 is further configured to:
determining that one of the same transaction user and the same opposite-end transaction user in the transaction information of each second user is a transaction initiating user, and the other one of the same transaction user and the same opposite-end transaction user is a transaction receiving user;
determining the direction of transferring the virtual resource from the transaction initiating user to the transaction receiving user in the transaction information of each second user, wherein the direction is the virtual resource transferring direction between the same transaction user and the same opposite-end transaction user;
acquiring a second quantity of virtual resources transferred from the transaction initiating user to the transaction receiving user in the transaction information of each second user;
summing the second quantities to obtain the total virtual resource transfer quantity in the virtual resource transfer direction in the second user transaction information;
and merging the second user transaction information based on the virtual resource transfer direction and the virtual resource transfer total amount to obtain merged second transaction information.
Optionally, the transfer information includes a transaction time, and the merging unit 403 is further configured to:
storing the formed merged transaction information into a transaction set to be linked;
the execution unit 404 is further configured to:
determining the merged transaction information with the transaction time within a first preset time from the transaction set to be linked up as transaction information to be linked up;
and performing uplink processing on the to-be-uplink transaction information so as to trigger the block chain system to execute the to-be-uplink transaction information.
Optionally, the apparatus is further configured to:
acquiring a virtual resource chain lower allowance of a trading user of the to-be-linked chain trading information, wherein the virtual resource chain lower allowance is a first virtual resource allowance of the trading user after the trading system executes the to-be-linked chain trading information after the user trading information corresponding to the to-be-linked chain trading information is generated in the trading system;
after the information of the transaction to be linked up is successfully executed, acquiring a second virtual resource allowance of the transaction user of the information of the transaction to be linked up in the blockchain system;
and comparing the virtual resource chain lower allowance with the second virtual resource allowance, and if the virtual resource chain lower allowance is different from the second virtual resource allowance, compensating the virtual resource chain lower allowance with the second virtual resource allowance in a small quantity by the transaction system so as to enable the virtual resource chain lower allowance to be the same as the second virtual resource allowance.
Optionally, the apparatus is further configured to:
acquiring a third virtual resource allowance of a trading user in the to-be-linked chain trading information before the trading system executes the to-be-linked chain trading information;
acquiring the target quantity of virtual resources transferred by a trading user in the information of the transaction to be linked executed by the trading system;
and subtracting the target quantity by utilizing the third virtual resource allowance to obtain the virtual resource under-link allowance of the transaction user of the transaction information to be linked.
Optionally, the apparatus is further configured to:
if the trade user of the merged trade information with the trade time in the first preset time is determined, the corresponding virtual resource chain lower allowance is the same as the second virtual resource allowance, the merged trade information with the trade time in the second preset time is determined to be the trade information to be linked from the trade set to be linked, and the second preset time is after the first preset time;
and performing uplink processing on the to-be-uplink transaction information so as to trigger the block chain system to execute the to-be-uplink transaction information.
Optionally, the apparatus is further configured to:
receiving all user transaction information generated among transaction users by using a transaction system;
determining effective candidate user transaction information in all user transaction information according to the first virtual resource allowance owned by the transaction user corresponding to each user transaction information and the preset quantity of transfer virtual resources corresponding to each user transaction information;
recording transaction information of the candidate user by using a preset under-link transaction list through a transaction system;
the first determination unit 401 is further configured to:
and acquiring the user transaction information which is not executed by the blockchain system from the candidate user transaction information recorded in the downlink transaction list as the user transaction information which is not uplink.
All the above technical solutions can be combined arbitrarily to form the optional embodiments of the present application, and are not described herein again.
In the transaction information uplink device provided in this embodiment of the application, the first determining unit 401 determines the user transaction information that is not uplink, then the second determining unit 402 determines at least two target user transaction information to be merged in the user transaction information that is not uplink, where the at least two target user transaction information have at least one same transaction user, then the merging unit 403 merges the target user transaction information based on the same transaction user to form merged transaction information, and finally the executing unit 404 executes uplink processing on the merged transaction information to trigger the block chain system to execute the merged transaction information, so that uplink processing can be executed on multiple user transaction information at one time, and uplink performance of the user transaction information is improved.
Correspondingly, the embodiment of the application also provides a computer device, which can be a terminal, and the terminal can be a terminal device such as a smart phone, a tablet computer, a notebook computer, a touch screen, a game machine, a personal computer, a personal digital assistant and the like. As shown in fig. 5, fig. 5 is a schematic structural diagram of a computer device according to an embodiment of the present application. The computer apparatus 500 includes a processor 501 having one or more processing cores, a memory 502 having one or more computer-readable storage media, and a computer program stored on the memory 502 and executable on the processor. The processor 501 is electrically connected to the memory 502. Those skilled in the art will appreciate that the computer device configurations illustrated in the figures are not meant to be limiting of computer devices and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components.
The processor 501 is a control center of the computer device 500, connects various parts of the entire computer device 500 using various interfaces and lines, performs various functions of the computer device 500 and processes data by running or loading software programs and/or modules stored in the memory 502, and calling data stored in the memory 502, thereby monitoring the computer device 500 as a whole.
In this embodiment of the application, the processor 501 in the computer device 500 loads instructions corresponding to processes of one or more applications into the memory 502, and the processor 501 runs the applications stored in the memory 502, so as to implement various functions as follows:
determining user transaction information of unlinked users, wherein the user transaction information comprises transfer information of virtual resources among transaction users; determining at least two target user transaction information to be merged in the unlinked user transaction information, wherein the at least two target user transaction information have at least one same transaction user; merging target user transaction information based on the same transaction users to form merged transaction information; and performing uplink processing on the merged transaction information to trigger the block chain system to execute the merged transaction information.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Optionally, as shown in fig. 5, the computer device 500 further includes: touch-sensitive display screen 503, radio frequency circuit 504, audio circuit 505, input unit 506 and power 507. The processor 501 is electrically connected to the touch display screen 503, the radio frequency circuit 504, the audio circuit 505, the input unit 506, and the power supply 507, respectively. Those skilled in the art will appreciate that the computer device configuration illustrated in FIG. 5 does not constitute a limitation of computer devices, and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components.
The touch display screen 503 can be used for displaying a graphical user interface and receiving an operation instruction generated by a user acting on the graphical user interface. The touch display screen 503 may include a display panel and a touch panel. The display panel may be used, among other things, to display information entered by or provided to a user and various graphical user interfaces of the computer device, which may be made up of graphics, text, icons, video, and any combination thereof. Alternatively, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. The touch panel may be used to collect touch operations of a user on or near the touch panel (for example, operations of the user on or near the touch panel using any suitable object or accessory such as a finger, a stylus pen, and the like), and generate corresponding operation instructions, and the operation instructions execute corresponding programs. Alternatively, the touch panel may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 501, and can receive and execute commands sent by the processor 501. The touch panel may overlay the display panel, and when the touch panel detects a touch operation thereon or nearby, the touch panel transmits the touch operation to the processor 501 to determine the type of the touch event, and then the processor 501 provides a corresponding visual output on the display panel according to the type of the touch event. In the embodiment of the present application, the touch panel and the display panel may be integrated into the touch display screen 503 to implement input and output functions. However, in some embodiments, the touch panel and the touch panel can be implemented as two separate components to perform the input and output functions. That is, the touch display 503 can also be used as a part of the input unit 506 to implement an input function.
In the embodiment of the present application, the processor 501 determines the user transaction information which is not uplink linked from the received user transaction information, obtains the set merge rule, merges part of the user transaction information which is not uplink linked according to the merge rule, and performs uplink processing on the merged user transaction information at one time, and after receiving feedback information of successful uplink linking, changes the virtual resource link lower margin of the virtual resources of the transacted users, and implements a compensation reconciliation function of the virtual resources of the same transacted user, the corresponding virtual resource link lower margin and the second virtual resource margin in the block chain system.
The rf circuit 504 may be used for transceiving rf signals to establish wireless communication with a network device or other computer device via wireless communication, and for transceiving signals with the network device or other computer device.
Audio circuitry 505 may be used to provide an audio interface between a user and a computer device through speakers, microphones. The audio circuit 505 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 505 and converted into audio data, which is then processed by the audio data output processor 501, and then transmitted to, for example, another computer device via the rf circuit 504, or output to the memory 502 for further processing. The audio circuitry 505 may also include an earbud jack to provide communication of a peripheral headset with the computer device.
The input unit 506 may be used to receive input numbers, character information, or user characteristic information (e.g., fingerprint, iris, facial information, etc.), and generate keyboard, mouse, joystick, optical, or trackball signal inputs related to user settings and function control.
The power supply 507 is used to power the various components of the computer device 500. Optionally, the power supply 507 may be logically connected to the processor 501 through a power management system, so as to implement functions of managing charging, discharging, power consumption management, and the like through the power management system. The power supply 507 may also include any component including one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown in fig. 5, the computer device 500 may further include a camera, a sensor, a wireless fidelity module, a bluetooth module, etc., which are not described in detail herein.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
As can be seen from the above, when there are multiple pieces of user transaction information all of which need to perform uplink processing, the computer device provided in this embodiment may combine at least two pieces of user transaction information with at least one same transaction user according to the transaction users performing virtual resource transfer included in the user transaction information to form combined transaction information, and select the to-be-uplink transaction information from the combined transaction information to perform uplink processing, so that uplink processing can be performed on multiple pieces of user transaction information at one time, and uplink performance of the user transaction information is improved.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor.
To this end, embodiments of the present application provide a computer-readable storage medium, in which a plurality of computer programs are stored, where the computer programs can be loaded by a processor to execute the steps in any of the methods for uplink transaction information provided by the embodiments of the present application. For example, the computer program may perform the steps of:
determining user transaction information of unlinked users, wherein the user transaction information comprises transfer information of virtual resources among transaction users; determining at least two target user transaction information to be merged in the unlinked user transaction information, wherein the at least two target user transaction information have at least one same transaction user; merging target user transaction information based on the same transaction users to form merged transaction information; and performing uplink processing on the merged transaction information to trigger the block chain system to execute the merged transaction information.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the computer program stored in the storage medium can execute the steps in any of the transaction information uplink methods provided in the embodiments of the present application, the beneficial effects that can be achieved by any of the transaction information uplink methods provided in the embodiments of the present application can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The above detailed description is provided for the method, apparatus, computer device and storage medium for chaining transaction information provided in the embodiments of the present application, and a specific example is applied in the present application to explain the principle and implementation of the present invention, and the description of the above embodiments is only used to help understanding the technical solution and the core idea of the present invention; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (18)

1. A method for uplink transaction information, comprising:
determining user transaction information of unlinked users, wherein the user transaction information comprises transfer information of virtual resources among transaction users;
determining at least two target user transaction information to be merged in the unlinked user transaction information, wherein the at least two target user transaction information have at least one same transaction user;
merging the target user transaction information based on the same transaction user to form merged transaction information;
and performing uplink processing on the merged transaction information to trigger a block chain system to execute the merged transaction information.
2. The method of claim 1 wherein the transaction users include a transaction initiating user and a transaction receiving user, and wherein determining at least two target user transaction information to be merged in the unlinked user transaction information comprises:
and acquiring at least two pieces of user transaction information with the same transaction initiating user from the unlinked user transaction information as the target user transaction information.
3. The method of claim 2, wherein said merging the target user transaction information based on the same transaction user to form merged transaction information comprises:
and merging the transaction information of the target users based on the virtual resource transfer total amount in the transaction information of the target users of the same transaction initiating user and each transaction receiving user to form merged transaction information.
4. The method of claim 3, wherein the merging the transaction information of the target users based on the total amount of virtual resource transfer in the transaction information of the target users for each transaction initiating user and each transaction receiving user to form merged transaction information comprises:
determining first user transaction information and non-first user transaction information in the target user transaction information, wherein each first user transaction information and at least one other first user transaction information have the same transaction receiving user, and the resource transfer amount in the non-first user transaction information is the total virtual resource transfer amount between the same transaction initiating user and the corresponding transaction receiving user;
calculating the virtual resource transfer total amount between the same transaction initiating user and the same transaction receiving user for the transaction information of the first user, and combining the transaction information of the first user based on the virtual resource transfer total amount to obtain the combined first transaction information corresponding to each transaction receiving user;
and combining the combined first transaction information and the non-first user transaction information based on the corresponding relationship between each transaction receiving user in the combined first transaction information and the total amount of virtual resource transfer and the corresponding relationship between each transaction receiving user in the non-first user transaction information and the total amount of virtual resource transfer to form combined transaction information containing the corresponding relationship between each transaction receiving user and the total amount of virtual resource transfer.
5. The method according to claim 4, wherein the calculating, for the first user transaction information, a total amount of virtual resource transfer between the same transaction initiating user and the same transaction receiving user, and merging the first user transaction information based on the total amount of virtual resource transfer to obtain merged first transaction information corresponding to each transaction receiving user comprises:
acquiring a first quantity of virtual resources transferred from the same transaction initiating user to the same transaction receiving user in the transaction information of each first user;
summing the first quantities to obtain a total amount of virtual resource transfer between the same transaction initiating user and the same transaction receiving user;
and merging the transaction information of the first user based on the total virtual resource transfer amount between the same transaction initiating user and the same transaction receiving user and the same transaction initiating user and the same transaction receiving user to obtain merged first transaction information corresponding to each transaction receiving user.
6. The method of claim 1 wherein the transaction users include a transaction initiating user and a transaction receiving user, and wherein determining at least two target user transaction information to be merged in the unlinked user transaction information comprises:
and acquiring user transaction information of at least two users with the same transaction receiving user from the unlinked user transaction information as the target user transaction information.
7. The method of claim 6, wherein said merging the target user transaction information based on the same transaction user to form merged transaction information comprises:
and merging the transaction information of the target users based on the virtual resource transfer total amount in the transaction information of the target users of the same transaction receiving user and each transaction initiating user to form merged transaction information.
8. The method of claim 1, wherein said merging the target user transaction information based on the same transaction user to form merged transaction information comprises:
determining other trading users except the same trading user in the trading users of the target trading information as opposite end trading users of the same trading user;
and merging the transaction information of the target users based on the same transaction user and each opposite-end transaction user, wherein the transaction information of the target users is merged in the virtual resource transfer direction in the transaction information of the target users and the virtual resource transfer total amount in the virtual resource transfer direction to form merged transaction information.
9. The method of claim 8, wherein the merging the transaction information of the target user based on the same transaction user and each peer transaction user, the virtual resource transfer direction in the transaction information of the target user and the total amount of virtual resource transfer in the virtual resource transfer direction to form merged transaction information comprises:
determining second user transaction information and non-second user transaction information in the target user transaction information, wherein each second user transaction information and at least one other second user transaction information have the same transaction user and the same opposite-end transaction user, and the resource transfer amount in the non-second user transaction information is the total virtual resource transfer amount between the same transaction user and the corresponding opposite-end transaction user;
for the second user transaction information, acquiring a virtual resource transfer direction between the same transaction user and the same opposite-end transaction user and a virtual resource transfer total amount in the virtual resource transfer direction, merging the second user transaction information based on the acquired virtual resource transfer direction and the virtual resource transfer total amount, and acquiring merged second transaction information;
and combining the combined second transaction information and the non-second user transaction information based on the virtual resource transfer direction and the virtual resource transfer total amount in the virtual resource transfer direction in the combined second transaction information and the virtual resource transfer direction and the virtual resource transfer total amount between the same transaction user and each opposite-end transaction user in the non-second user transaction information to form the combined transaction information.
10. The method according to claim 9, wherein the obtaining, for the second user transaction information, a virtual resource transfer direction between the same transaction user and the same opposite transaction user, and a total amount of virtual resource transfer in the virtual resource transfer direction, and merging the second user transaction information based on the obtained virtual resource transfer direction and the obtained total amount of virtual resource transfer to obtain merged second transaction information includes:
determining that, in the second user transaction information, one of the same transaction user and the same opposite-end transaction user is a transaction initiating user, and the other of the same transaction user and the same opposite-end transaction user is a transaction receiving user;
determining the direction of transferring the virtual resource from the transaction initiating user to the transaction receiving user in the transaction information of each second user, wherein the direction is the virtual resource transferring direction between the same transaction user and the same opposite-end transaction user;
acquiring a second quantity of virtual resources transferred from the transaction initiating user to the transaction receiving user in the transaction information of each second user;
summing the second quantities to obtain the total virtual resource transfer quantity in the virtual resource transfer direction in the second user transaction information;
and merging the second user transaction information based on the virtual resource transfer direction and the virtual resource transfer total amount to obtain the merged second transaction information.
11. The method of claim 1, wherein the transfer information includes a transaction time, and wherein merging the target user transaction information based on the same transaction user to form merged transaction information further comprises:
storing each formed merged transaction information into a transaction set to be linked;
the performing uplink processing on the merged transaction information to trigger a block chain system to perform the merged transaction information includes:
determining the merged transaction information with the transaction time within a first preset time from the to-be-uplink transaction set as to-be-uplink transaction information;
and executing the uplink processing on the to-be-uplink transaction information so as to trigger a block chain system to execute the to-be-uplink transaction information.
12. The method of claim 11, wherein after the uplink processing is performed on the to-be-uplink transaction information, further comprising:
acquiring a virtual resource chain lower allowance of a trading user of the to-be-uplink trading information, wherein the virtual resource chain lower allowance is a first virtual resource allowance of the trading user after the user trading information corresponding to the to-be-uplink trading information is generated in a trading system and the trading system executes the to-be-uplink trading information;
after the information of the transaction to be uplink is successfully executed, acquiring a second virtual resource allowance of the transaction user of the information of the transaction to be uplink in the blockchain system;
and comparing the virtual resource chain lower allowance with the second virtual resource allowance, and if the virtual resource chain lower allowance is different from the second virtual resource allowance, compensating the small amount of the virtual resource chain lower allowance and the second virtual resource allowance by the transaction system so as to enable the virtual resource chain lower allowance to be the same as the second virtual resource allowance.
13. The method of claim 12, wherein the obtaining of the virtual resource link underrun margin for the transacting user with the pending uplink transaction information comprises:
acquiring a third virtual resource allowance of a trading user in the to-be-uplink trading information before the trading system executes the to-be-uplink trading information;
acquiring the target quantity of virtual resources transferred by a trading user from the information of the transaction to be linked executed by the trading system;
and subtracting the target quantity from the third virtual resource surplus to obtain the virtual resource chain lower surplus of the trading user of the to-be-uplink trading information.
14. The method of claim 12, further comprising:
if the trade time is determined to be in the trade users of the merged trade information within the first preset time, the corresponding virtual resource chain lower allowance is the same as the second virtual resource allowance, the merged trade information with the trade time within the second preset time is determined to be the trade information to be linked from the trade set to be linked, and the second preset time is after the first preset time;
and executing the uplink processing on the to-be-uplink transaction information so as to trigger a block chain system to execute the to-be-uplink transaction information.
15. The method of claim 12, wherein prior to determining the unlinked user transaction information, further comprising:
receiving all user transaction information generated among the transaction users by using the transaction system;
determining effective candidate user transaction information in all user transaction information according to the first virtual resource allowance owned by the transaction user corresponding to each user transaction information and the preset quantity of transfer virtual resources corresponding to each user transaction information;
recording the transaction information of the candidate user by using a preset offline transaction list through the transaction system;
the determining of the unlinked user transaction information comprises:
and acquiring user transaction information which is not executed by the blockchain system from the candidate user transaction information recorded in the downlink transaction list as the user transaction information which is not uplink.
16. An apparatus for uplink transaction information, comprising:
a first determining unit, configured to determine user transaction information of a non-uplink, where the user transaction information includes transfer information of virtual resources between transacting users;
a second determining unit, configured to determine, in the unlinked user transaction information, at least two target user transaction information to be merged, where the at least two target user transaction information have at least one same transaction user;
the merging unit is used for merging the target user transaction information based on the same transaction user to form merged transaction information;
and the execution unit is used for executing uplink processing on the merged transaction information so as to trigger a block chain system to execute the merged transaction information.
17. A computer device, comprising:
a memory for storing a computer program;
a processor for implementing the steps in the method for uplink transaction information according to any of claims 1 to 15 when executing the computer program.
18. A computer-readable storage medium, having a computer program stored thereon, wherein the computer program when executed by a processor implements the steps of the method for uplink transaction information according to any of claims 1 to 15.
CN202111082986.8A 2021-09-15 2021-09-15 Transaction information uplink method, device, computer equipment and storage medium Active CN113806801B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111082986.8A CN113806801B (en) 2021-09-15 2021-09-15 Transaction information uplink method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111082986.8A CN113806801B (en) 2021-09-15 2021-09-15 Transaction information uplink method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113806801A true CN113806801A (en) 2021-12-17
CN113806801B CN113806801B (en) 2023-08-29

Family

ID=78895445

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111082986.8A Active CN113806801B (en) 2021-09-15 2021-09-15 Transaction information uplink method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113806801B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109360101A (en) * 2018-12-18 2019-02-19 百度在线网络技术(北京)有限公司 A kind of block chain transaction processing method, device, equipment and medium
CN110535661A (en) * 2019-09-03 2019-12-03 中国建设银行股份有限公司 Method for processing business, device, electronic equipment and storage medium based on block chain
AU2019101607A4 (en) * 2019-03-28 2020-01-23 Advanced New Technologies Co., Ltd. System and method for parallel-processing blockchain transactions
US20200250753A1 (en) * 2019-02-05 2020-08-06 Edmon Blount System and method for securities finance smart contracts on blockchains and distributed ledgers
WO2020161688A1 (en) * 2019-02-08 2020-08-13 Christopher Lyndon Higgins Distributed ledger computing platforms and associated methods, systems and devices
CN111612453A (en) * 2019-02-22 2020-09-01 北京趣块远扬科技有限公司 Decentralized transaction method and device based on block chain and electronic equipment
CN112232823A (en) * 2020-12-10 2021-01-15 腾讯科技(深圳)有限公司 Transaction processing method, device, medium and electronic equipment of block chain system
CN112395300A (en) * 2021-01-20 2021-02-23 腾讯科技(深圳)有限公司 Data processing method, device and equipment based on block chain and readable storage medium
CN112613877A (en) * 2020-12-17 2021-04-06 腾讯科技(深圳)有限公司 Intelligent contract triggering method and device applied to block chain network and related equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109360101A (en) * 2018-12-18 2019-02-19 百度在线网络技术(北京)有限公司 A kind of block chain transaction processing method, device, equipment and medium
US20200250753A1 (en) * 2019-02-05 2020-08-06 Edmon Blount System and method for securities finance smart contracts on blockchains and distributed ledgers
WO2020161688A1 (en) * 2019-02-08 2020-08-13 Christopher Lyndon Higgins Distributed ledger computing platforms and associated methods, systems and devices
CN111612453A (en) * 2019-02-22 2020-09-01 北京趣块远扬科技有限公司 Decentralized transaction method and device based on block chain and electronic equipment
AU2019101607A4 (en) * 2019-03-28 2020-01-23 Advanced New Technologies Co., Ltd. System and method for parallel-processing blockchain transactions
CN110535661A (en) * 2019-09-03 2019-12-03 中国建设银行股份有限公司 Method for processing business, device, electronic equipment and storage medium based on block chain
CN112232823A (en) * 2020-12-10 2021-01-15 腾讯科技(深圳)有限公司 Transaction processing method, device, medium and electronic equipment of block chain system
CN112613877A (en) * 2020-12-17 2021-04-06 腾讯科技(深圳)有限公司 Intelligent contract triggering method and device applied to block chain network and related equipment
CN112395300A (en) * 2021-01-20 2021-02-23 腾讯科技(深圳)有限公司 Data processing method, device and equipment based on block chain and readable storage medium

Also Published As

Publication number Publication date
CN113806801B (en) 2023-08-29

Similar Documents

Publication Publication Date Title
CN107124278B (en) Service processing method and device and data sharing system
US11126981B2 (en) Resource transferring method and apparatus
CN113157810B (en) Block synchronization method, computer equipment and storage medium
CN111104425A (en) Data processing method and device
CN113300933A (en) Session content management method and device, computer equipment and readable storage medium
CN113506100A (en) Alliance link data processing method and device, computer equipment and storage medium
CN111359210A (en) Data processing method and device, electronic equipment and storage medium
CN113806801A (en) Transaction information chaining method, device, computer equipment and storage medium
CN112138397A (en) Trigger management method and device, computer equipment and storage medium
CN111476562A (en) Virtual resource transfer method, device, electronic equipment and storage medium
CN113342776A (en) Transaction information migration method, device, equipment and medium based on intelligent contract
CN113360883B (en) Intelligent contract processing method and device, computer equipment and storage medium
CN109561146A (en) Document down loading method, device, terminal device
CN114422535B (en) Method, apparatus, computer device and storage medium for distributing contracts in blockchain
US20230016256A1 (en) Group user migration method, apparatus and device, and storage medium
CN115622968A (en) Black product behavior blocking method and device, computer equipment and storage medium
CN116308786A (en) Processing method, system, electronic equipment and readable storage medium for blockchain transaction
CN116384998A (en) DID contract management method, DID contract management device, electronic equipment and readable storage medium
CN116938927A (en) Distributed transaction processing method, device, computer equipment and storage medium
CN116384997A (en) DID contract management method, DID contract management system, electronic device and readable storage medium
CN118069663A (en) Logistics settlement data processing method and device, storage medium and computer equipment
CN116128619A (en) Service processing method, device, computer equipment and storage medium
CN112783860A (en) Method and device for constructing mirror database, storage medium and computer equipment
CN115471326A (en) Processing method and device for money allocation, computer equipment and storage medium
CN115888073A (en) Channel access method and device for cloud game, computer equipment 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