CN113806801B - Transaction information uplink method, device, computer equipment and storage medium - Google Patents

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

Info

Publication number
CN113806801B
CN113806801B CN202111082986.8A CN202111082986A CN113806801B CN 113806801 B CN113806801 B CN 113806801B CN 202111082986 A CN202111082986 A CN 202111082986A CN 113806801 B CN113806801 B CN 113806801B
Authority
CN
China
Prior art keywords
transaction
user
transaction information
virtual resource
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111082986.8A
Other languages
Chinese (zh)
Other versions
CN113806801A (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

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 uplink method, a transaction information uplink device, computer equipment and a storage medium. The method comprises the following steps: determining user transaction information which is not uplink, wherein the user transaction information comprises transfer information of virtual resources among transaction users; determining at least two target user transaction information to be combined in the unzipped user transaction information, wherein the at least two target user transaction information has at least one identical transaction user; combining the target user transaction information based on the same transaction user to form combined transaction information; and executing the uplink processing on the combined transaction information to trigger a blockchain system to execute the combined transaction information, so that the uplink processing can be executed on multiple pieces of user transaction information at one time, and the uplink performance of the user transaction information is improved.

Description

Transaction information uplink method, device, computer equipment and storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a transaction information uplink method, apparatus, computer device, and storage medium.
Background
The blockchain is a decentralized distributed database technology participated by each node device, and along with the development of technology, the application scene of the blockchain is wider and wider, and due to the characteristics of the decentralized, non-tamperable and high reliability of the blockchain, the transaction information of virtual resources (such as virtual currency and the like) among users can be stored in a blockchain network. In the course of research and practice of the prior art, the inventors of the present application have discovered that computer devices typically send transaction information between users, one by one, to blockchain nodes to perform a chaining process, and that performing the chaining process on the user transaction information individually results in poor chaining performance of the user transaction information.
Disclosure of Invention
The embodiment of the application provides a transaction information uplink method, a device, computer equipment and a storage medium, which can perform uplink processing on a plurality of pieces of user transaction information at one time and improve the 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 which is not uplink, wherein the user transaction information comprises transfer information of virtual resources among transaction users;
Determining at least two target user transaction information to be combined in the unzipped user transaction information, wherein the at least two target user transaction information has at least one identical transaction user;
combining the target user transaction information based on the same transaction user to form combined transaction information;
and executing uplink processing on the combined transaction information to trigger a blockchain system to execute the combined transaction information.
Correspondingly, the embodiment of the application also provides a transaction information uplink device, which comprises:
the first determining unit is used for determining user transaction information which is not uplink, wherein the user transaction information comprises transfer information of virtual resources among transaction users;
the second determining unit is used for determining at least two target user transaction information to be combined in the non-uplink user transaction information, wherein the at least two target user transaction information has 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 combined transaction information so as to trigger a blockchain system to execute the combined transaction information.
Optionally, the transaction user includes 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 initiating user from the non-uplink user transaction information as the target user transaction information.
Optionally, the merging unit is further configured to:
and combining the target user transaction information based on the virtual resource transfer total amount in the target user transaction information of the same transaction initiating user and each transaction receiving user to form combined 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 virtual resource transfer total amount between the same transaction initiating user and the corresponding transaction receiving user;
calculating the total virtual resource transfer amount between the same transaction initiating user and the same transaction receiving user for the first user transaction information, and merging the first user transaction information based on the total virtual resource transfer amount to obtain merged first transaction information corresponding to each transaction receiving user;
And merging the merged first transaction information with the non-first user transaction information based on the corresponding relation between each transaction receiving user in the merged first transaction information and the total virtual resource transfer amount and the corresponding relation between each transaction receiving user in the non-first user transaction information and the total virtual resource transfer amount to form merged transaction information containing the corresponding relation between each transaction receiving user and the total virtual resource transfer amount.
Optionally, the merging unit is further configured to:
acquiring first quantity of virtual resources transferred from the same transaction initiating user to the same transaction receiving user in each first user transaction information;
summing the first quantities to obtain a virtual resource transfer total between the same transaction initiating user and the same transaction receiving user;
and merging the first user transaction information 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 user includes 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 users from the non-uplink user transaction information as the target user transaction information.
Optionally, the merging unit is further configured to:
and combining the target user transaction information based on the virtual resource transfer total amount in the target user transaction information of the same transaction receiving user and each transaction initiating user to form combined transaction information.
Optionally, the merging unit is further configured to:
determining other transaction users except the same transaction user in the transaction users of the target transaction information as opposite-end transaction users of the same transaction user;
and combining the target user transaction information based on the same transaction user and each opposite-end transaction user and the virtual resource transfer total amount in the virtual resource transfer direction in the target user transaction information to form combined 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 virtual resource transfer total 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, and merging the second user transaction information based on the acquired virtual resource transfer direction and the virtual resource transfer total amount to obtain 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 each 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 combined transaction information.
Optionally, the merging unit is further configured to:
determining that one of the same transaction user and the same opposite-end transaction user is a transaction initiating user in each second user transaction information, 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 virtual resources from a transaction initiating user to a transaction receiving user in each second user transaction information, 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 a transaction initiating user to a transaction receiving user in each second user transaction information;
summing the second quantities to obtain virtual resource transfer total 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 total virtual resource transfer 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 the formed combined transaction information into a transaction set to be uplink;
The execution unit is further configured to:
from the to-be-uplink transaction set, determining that the combined transaction information with the transaction time within a first preset time is to-be-uplink transaction information;
and executing the uplink processing on the to-be-uplink transaction information to trigger a blockchain system to execute the to-be-uplink transaction information.
Optionally, the device is further configured to:
the method comprises the steps that the virtual resource chain lower allowance of a transaction user of the transaction information to be uplink is obtained, wherein the virtual resource chain lower allowance is a first virtual resource allowance of the transaction user after the transaction system executes the transaction information to be uplink after user transaction information corresponding to the transaction information to be uplink is generated by the transaction system;
after the successful execution of the transaction information to be uplink is obtained from the blockchain system, the transaction user of the transaction information to be uplink is in a second virtual resource allowance 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 small quantity in the virtual resource chain lower allowance and the second virtual resource allowance by a transaction system so that the virtual resource chain lower allowance and the second virtual resource allowance are the same.
Optionally, the device is further configured to:
acquiring a third virtual resource allowance of a transaction user in the transaction information to be uplink before the transaction system executes the transaction information to be uplink;
acquiring the target quantity of virtual resources transferred by a transaction user in the to-be-uplink transaction information executed by the transaction system;
and subtracting the target quantity from the third virtual resource allowance to obtain the virtual resource under-chain allowance of the transaction user waiting for the uplink transaction information.
Optionally, the device is further configured to:
if the transaction user of the combined transaction information with the transaction time within the first preset time is determined, the corresponding virtual resource chain lower allowance is the same as the second virtual resource allowance, and the combined transaction information with the transaction time within the second preset time is determined to be the to-be-uplink transaction information from the to-be-uplink transaction set, wherein the second preset time is after the first preset time;
and executing the uplink processing on the to-be-uplink transaction information to trigger a blockchain system to execute the to-be-uplink transaction information.
Optionally, the device is further configured to:
receiving all user transaction information generated between the transaction users by utilizing the transaction system;
Determining effective candidate user transaction information in all user transaction information according to a first virtual resource allowance owned by a transaction user corresponding to each user transaction information and a preset quantity of transfer virtual resources corresponding to each user transaction information;
recording the candidate user transaction information by the transaction system through a preset under-chain transaction list;
the first determining unit is further configured to:
and acquiring user transaction information which is not executed by the blockchain system from candidate user transaction information recorded in the downlink transaction detail table as the user transaction information which is not uplink.
Also, an embodiment of the present application further provides a computer device, including:
a memory for storing a computer program;
a processor for performing the steps of any of the transaction information uplink methods.
In addition, the embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium is stored with a computer program, and the computer program realizes the steps of any one of the transaction information chaining methods when being executed by a processor.
The embodiment of the application provides a transaction information uplink method, a device, computer equipment and a storage medium, when a plurality of user transaction information needs to be subjected to uplink processing, at least two 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 are used for carrying out virtual resource transfer to form combined transaction information, and the to-be-uplink transaction information is selected from the combined transaction information to be subjected to the uplink processing, so that the uplink processing can be carried out on the plurality of user transaction information at one time, and the uplink performance of the user transaction information is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a system diagram of a transaction information uplink device according to an embodiment of the present application;
fig. 2 is a flow chart of a transaction information uplink method according to an embodiment of the present application;
FIG. 3 is a system interaction flow chart of a transaction information uplink method provided by an embodiment of the present application;
fig. 4 is a schematic structural diagram of a transaction information uplink device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a computer device according to 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 accompanying drawings in the embodiments of the present application. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to fall within the scope of the application.
The embodiment of the application provides a transaction information uplink method, a transaction information uplink device, computer equipment and a storage medium. Specifically, the transaction information uplink method according to the embodiment of the application can be executed by a computer device, wherein the computer device can 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 (Personal Computer, PC), a personal digital assistant (Personal Digital Assistant, PDA) and the like, and the terminal can also comprise a client, wherein the client can be an application client with a transaction information processing function, a browser client with a 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 cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content distribution network services, basic cloud computing services such as big data and an artificial intelligence platform.
Referring to fig. 1, fig. 1 is a system schematic diagram of a transaction information uplink device according to an embodiment of the application. The system may include a terminal a that generates user transaction information, a terminal B that may transact the system, and a terminal C that may operate the blockchain system. The terminal a and the terminal B, and the terminal B and the terminal C may be connected through different networks, for example, the network may be a wireless network or a wired network, the wireless network may be a Wireless Local Area Network (WLAN), a Local Area Network (LAN), a cellular network, a 2G network, a 3G network, a 4G network, a 5G network, or the like, the terminal a is configured to receive a transaction request of a transaction user, generate user transaction information indicating a transfer of a preset number of virtual resources between the transaction users, and send the generated user transaction information to the terminal B operating the transaction system, the transaction system in the terminal B receives the user transaction information, determines non-uplink user transaction information from the received user transaction information, and the user transaction information includes transfer information of virtual resources between the transaction users; determining at least two target user transaction information to be combined in the un-uplink user transaction information, wherein the at least two target user transaction information has at least one same transaction user; combining target user transaction information based on the same transaction user to form combined transaction information; and executing uplink processing on the combined transaction information to trigger the blockchain system to execute the combined transaction information, namely, sending the combined transaction information to a terminal C running the blockchain system, receiving the combined transaction information by the blockchain system, and executing the combined transaction information to realize virtual resource transfer among transaction users.
The following will describe in detail. The following description of the embodiments is not intended to limit the preferred embodiments.
The present embodiment will be described in terms of a transaction information linking device, which may be specifically integrated in a terminal, where the terminal may include a smart phone, a notebook computer, a tablet computer, a personal computer, and other devices.
The embodiment of the application provides a transaction information uplink method, which can be executed by a processor of a terminal, as shown in fig. 2, and the specific flow of the transaction information uplink method mainly comprises steps 201 to 204, and is described in detail as follows:
step 201, determining user transaction information which is not uplink, wherein the user transaction information comprises transfer information of virtual resources among transaction users.
In the embodiment of the application, the terminal can receive the user transaction information comprising the transfer information of the virtual resources among the transaction users, and determine the user transaction information which is not uplink from the received user transaction information. The user transaction information which is not uplink is the user transaction information which is not executed by the blockchain system. Further, virtual resources are resources that can be traded in the blockchain system, for example, virtual currency and/or virtual stocks, and the like. The preset number is the number unit for measuring the virtual resources, the specific numerical value is not limited, and the preset number can be flexibly set according to actual conditions. The transfer information may include transfer time of virtual resources between transaction users, the number of virtual resources transferred, and the like.
In the embodiment of the application, the user transaction information can also comprise transaction user information of mutually transferring virtual resources, types of the transferred virtual resources, uplink states, transaction numbers and the like, the transaction user information can comprise identifications, private keys, public keys and the like of transaction users, the transaction users can comprise transaction initiating users and transaction receiving users, the transaction initiating users can be users of the user initiating the user transaction information, namely can be users of the transferred virtual resources or can be users of the receiving virtual resources, when the transaction initiating users are users of the transferred virtual resources, the transaction receiving users are users of the receiving virtual resources, and when the transaction initiating users are users of the receiving virtual resources, the transaction receiving users are users of the transferred virtual resources. The format and the recording mode of the user transaction information are not limited, and can be flexibly set according to actual conditions. The identification of the transaction user is an identification which uniquely distinguishes different transaction users, and can be a blockchain address of the transaction user, a name of the transaction user and the like.
In the embodiment of the present application, the transaction system may record all user transaction information, that is, before the step 201 of determining the user transaction information that is not uplink, the method may further include:
Receiving all user transaction information generated between transaction users by utilizing 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 candidate user transaction information by using a preset under-chain transaction list through the transaction system.
At this time, the above step 201 "determine the user transaction information that is not uplink" may be: and acquiring user transaction information which is not executed by the blockchain system from candidate user transaction information recorded in the under-chain transaction list as user transaction information which is not uplink.
For example, the transaction system of the terminal may record the user transaction information in the form of a table, and the terminal may preset an under-link transaction list for recording the user transaction information, and record the contents included in the user transaction information into the under-link 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 the user transaction information, the terminal acquires the user identification of the transaction initiating user and the preset quantity of virtual resources transferred by the transaction initiating user according to the user identification, acquires the virtual resource balance owned by the transaction initiating user, judges whether the virtual resource balance of the transaction initiating user is larger than the preset quantity of the virtual resources, and if the virtual resource balance of the transaction initiating user is larger than the preset quantity of the virtual resources, the terminal indicates that the transaction initiating user has enough virtual resources to transfer to the transaction receiving user, and the user transaction information is effective candidate user transaction information at the moment, and stores the effective candidate user transaction information. If the balance of the virtual resources of the transaction initiating user is smaller than the preset quantity of the virtual resources, the fact that the transaction initiating user does not have enough virtual resources to transfer to the transaction receiving user is indicated, 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 can set a user table for the user to record the transaction user information, when the user wants to send the user transaction information to the transaction system running on the terminal, the user needs to register the transaction system and provide user basic information to the transaction system, the transaction system acquires the user information which is successfully registered, and the user table is used for recording the user information, such as the user number, the user blockchain address, the user private key, the virtual resource balance of the user, whether the user is an operator account, the chain residual quantity of the virtual resource of the user and the like.
Step 202, determining at least two target user transaction information to be combined in the un-uplink user transaction information, wherein the at least two target user transaction information has at least one same transaction user.
In the embodiment of the application, in order to improve the uplink performance of the user transaction information, the user transaction information which is not uplink can be combined together to jointly execute the uplink processing, so that the batch uplink of transactions is realized. After the user transaction information is subjected to the uplink processing, the virtual resource chain lower allowance of the virtual resource of the user and the second virtual resource allowance in the blockchain system are changed, so that the change of the virtual resource chain lower allowance of the virtual resource of the transaction user and the change of the second virtual resource allowance in the blockchain system can be obtained more conveniently and rapidly, the user transaction information related to one transaction user can be combined according to the transaction user included in the user transaction information, the transfer quantity of the virtual resource of the transaction user in the user transaction information can be obtained more rapidly, and the change of the virtual resource chain lower allowance of the virtual resource of the transaction user and the change of the second virtual resource allowance in the blockchain system can be obtained further.
In the embodiment of the application, the plurality of target user transaction information can be user transaction information of the same transaction initiating user, and the change amount of the virtual resource of the transaction initiating user can be obtained conveniently and rapidly. The plurality of target user transaction information can be user transaction information of the same transaction receiving user, and the change amount of the virtual resources of the transaction receiving user can be obtained conveniently and rapidly. The same transaction user in the transaction information of the target users can be a transaction initiating user and a transaction receiving user, and the change of the virtual resources of the transaction initiating user and the transaction receiving user can be obtained conveniently and rapidly.
In one embodiment of the present application, when the same transaction initiating user is used as the merging rule, the determining at least two target user transaction information to be merged among the non-uplink user transaction information in the step 202, where the at least two target user transaction information has at least one identical transaction user may be: and acquiring user transaction information of at least two users with the same transaction initiating user from the user transaction information which is not uplink as target user transaction information.
In one embodiment of the present application, when the same transaction receiving user is used as the merge rule, the determining at least two target user transaction information among the non-uplink user transaction information in the step 202 may be: and acquiring user transaction information of at least two users with the same transaction receiving users from the user transaction information which is not uplink as target user transaction information.
And 203, merging target user transaction information based on the same transaction user to form merged transaction information.
In the embodiment of the present application, when at least two target users have the same transaction initiating user, the "combining the target users transaction information based on the same transaction user to form combined transaction information" in step 203 may be: and combining the target user transaction information based on the virtual resource transfer total amount in the target user transaction information of the same transaction initiating user and each transaction receiving user to form combined transaction information.
Specifically, since the target transaction user may have the same user transaction information of the transaction receiving user, in order to reduce the calculation amount of the blockchain system on the user transaction information, to obtain the second virtual resource allowance of the virtual resource of the transaction user in the blockchain system faster, the user transaction information having the same receiving user may be combined first, and the virtual resource transfer total amount between at least two user transaction information having the same transaction initiating user and the same transaction receiving user may be calculated, where the step of combining the target user transaction information based on the virtual resource transfer total amount of the same transaction initiating user and each transaction receiving user in the target user transaction information to form combined transaction information may include:
Determining first user transaction information and non-first user transaction information in 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 virtual resource transfer total amount between the same transaction initiating user and the corresponding transaction receiving user;
calculating virtual resource transfer total amount between the same transaction initiating user and the same transaction receiving user for the first user transaction information, merging the first user transaction information based on the virtual resource transfer total amount, and obtaining merged first transaction information corresponding to each transaction receiving user;
and combining the combined first transaction information with the non-first user transaction information based on the corresponding relation between each transaction receiving user in the combined first transaction information and the virtual resource transfer total amount and the corresponding relation between each transaction receiving user in the non-first user transaction information and the virtual resource transfer total amount to form combined transaction information containing the corresponding relation between each transaction receiving user and the virtual resource transfer total amount.
Further, in the foregoing steps, "for the first user transaction information, calculating a total virtual resource transfer amount between the same transaction initiating user and the same transaction receiving user, merging the first user transaction information based on the total virtual resource transfer amount, and obtaining the merged first transaction information corresponding to each transaction receiving user" may specifically be: acquiring first quantity of virtual resources transferred from the same transaction initiating user to the same transaction receiving user in transaction information of each first user; summing the first quantities to obtain the total virtual resource transfer amount 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.
For example, the transaction system receives three pieces of user transaction information, respectively information 1: user a initiates a transaction, transfers a number M of virtual resources to user B, information 2: user a initiates a transaction, transfers a number N of virtual resources to user C, information 3: the user A initiates a transaction and transfers virtual resources of quantity P to the user B, and because the three transaction information are all information of taking the user A as a transaction initiating user, the transaction system takes the three user transaction information as target user transaction information, then because the transaction receiving users of the information 1 and the information 3 are the same, the transaction system takes the information 1 and the information 3 as first user transaction information, takes the information 2 as non-first user transaction information, acquires the total virtual resources transferred to the user B by the user A in the information 1 and the information 3 as M+P, and combines the information 1 and the information 3 to obtain combined first transaction information 4: user a initiates a transaction and transfers an amount 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, acquiring the corresponding relation between the user C and the number N in the information 2, merging the information 4 and the information 2, and obtaining the merged transaction information, wherein the merged transaction information is expressed as: user a initiates a transaction and transfers virtual resources in an amount m+p and an amount N 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 the transaction system combines the first user transaction information to form the combined first transaction information, the transaction system can record the combined first transaction information in the form of a table, that is, the transaction system can set a uplink transaction list to record the combined first transaction information, wherein the uplink transaction list can comprise the transaction number of the combined first transaction information, the transaction initiating user, the transaction receiving user, the number of the combined first transaction information, the transaction time of the combined first transaction information and the uplink state of the combined first transaction information, and at the moment, after the combined first transaction information and the non-first user transaction information are combined for the second time, the uplink processing can be executed, so that the uplink state of the combined first transaction information can be set to be an initialization state. In addition, the transaction system may record non-first user transaction information in the target user transaction information in a uplink transaction list, and set a uplink state of the non-first user transaction information to an initialized state.
In one embodiment of the present application, when at least two target users have the same transaction receiving users, the "forming the combined transaction information based on the same transaction users to combine the target users transaction information" in the step 203 may be: and combining the target user transaction information based on the virtual resource transfer total amount in the target user transaction information between the same transaction receiving user and each transaction initiating user to form combined transaction information.
Specifically, since the target transaction users may have the same transaction information of the same transaction initiating user, in order to reduce the calculation amount of the blockchain system to the user transaction information, the second virtual resource allowance of the virtual resource of the transaction user in the blockchain system is obtained faster, and similarly, the user transaction information having the same initiating user may be combined first, where the above steps "based on the same transaction receiving user and each transaction initiating user, the total amount of virtual resource transfer in the target user transaction information, the combining of the target user transaction information to form the combined transaction information" may be: determining third user transaction information and non-third user transaction information in 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 virtual resource transfer total 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, merging the transaction information of the third user based on the virtual resource transfer total amount, and obtaining merged third transaction information corresponding to each transaction initiating user; and combining the combined third transaction information with the non-third user transaction information based on the corresponding relation between each transaction initiating user and the virtual resource transfer total amount in the combined third transaction information and the corresponding relation between each transaction initiating user and the virtual resource transfer total amount in the non-third user transaction information to form combined transaction information containing the corresponding relation between each transaction initiating user and the virtual resource transfer total amount.
Further, the step of calculating the total virtual resource transfer amount between the same transaction initiating user and the same transaction receiving user for the transaction information of the third user, and merging the transaction information of the third user based on the total virtual resource transfer amount to obtain the merged third transaction information corresponding to each transaction initiating user may be: obtaining the 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 amount between the same transaction initiating user and the same transaction receiving user; and combining the transaction information of the third 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 combined third transaction information corresponding to each transaction receiving user.
For example, the transaction system receives three pieces of user transaction information, information 5: user R initiates a transaction, transfers the number L of virtual resources to user T, information 6: user S initiates a transaction, transfers the number Q of virtual resources to user T, information 7: the user R initiates a transaction and transfers virtual resources of quantity J to the user T, the user T is taken as information of a transaction receiving user in the three transaction information, the transaction system takes the three user transaction information as target user transaction information, then, the transaction system takes the information 5 and the information 7 as second user transaction information and takes the information 6 as non-second user transaction information because the transaction initiating users of the information 5 and the information 7 are the same, the total virtual resources transferred to the user T by the user R in the information 5 and the information 7 are L+J, and the first transaction information 8 after combination is obtained after the information 5 and the information 7 are combined: user R initiates a transaction and transfers the number l+j of virtual resources to user T. Acquiring the corresponding relation between the user R and the quantity L+J in the information 8, acquiring 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 combined transaction information, wherein the combined transaction information is expressed as: 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 included in the transaction information of the plurality of target users may be both the transaction initiating user and the transaction receiving user, the "combining the transaction information of the target users based on the same transaction user to form the combined transaction information" in the step 202 may be: determining other transaction users except the same transaction user in the transaction users of the target transaction information as opposite-end transaction users of the same transaction user; and combining the target user transaction information based on the same transaction user and each opposite-end transaction user in the virtual resource transfer direction and the virtual resource transfer total amount in the virtual resource transfer direction in the target user transaction information to form combined transaction information.
In the embodiment of the present application, since the target transaction user may have transaction information that the transaction receiving user is the same and the transaction initiating user is the same, in order to reduce the calculation amount of the blockchain system to the transaction information of the user, to obtain the second virtual resource allowance of the virtual resource of the transaction user in the blockchain system more quickly, the transaction information that the transaction receiving user is the same and the transaction initiating user is the same may be combined first, where the step "based on the same transaction user and each peer transaction user, the virtual resource transfer direction in the target user transaction information and the virtual resource transfer total amount in the virtual resource transfer direction, the target user transaction information is combined to form the combined transaction information" may be: determining second user transaction information and non-second user transaction information in 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 virtual resource transfer total amount between the same transaction user and the corresponding opposite-end transaction user; for second user transaction information, acquiring a virtual resource transfer direction between the same transaction user and the same opposite-end transaction user, and combining the second user transaction information based on the acquired virtual resource transfer direction and virtual resource transfer total amount in the virtual resource transfer direction to obtain combined second transaction information; and combining the combined second transaction information with 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 total amount between the same transaction user and each opposite-end transaction user in the non-second user transaction information to form combined transaction information.
Specifically, in the foregoing steps, "for the second user transaction information, the virtual resource transfer direction between the same transaction user and the same opposite-end transaction user and the virtual resource transfer total amount in the virtual resource transfer direction are obtained, and the second user transaction information is merged based on the obtained virtual resource transfer direction and the virtual resource transfer total amount, so as to obtain 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 of the same transaction user and the same opposite-end transaction user is a transaction receiving user; determining the direction of transferring virtual resources from a transaction initiating user to a 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 second quantity of virtual resources transferred from a transaction initiating user to a transaction receiving user in transaction information of each second user; summing the second numbers to obtain virtual resource transfer total amount in the virtual resource transfer direction in the transaction information of each second user; and merging the second user transaction information based on the virtual resource transfer direction and the total virtual resource transfer amount to obtain merged second transaction information.
In the embodiment of the application, the combined second transaction information and the non-second user transaction information can be recorded according to a preset sequence, wherein the preset sequence can be the transaction time of the combined second transaction information and the non-second user transaction information, the transaction number of the combined second transaction information and the non-second user transaction information, and the like. The second transaction information and the non-second user transaction information after the combination can be recorded by using a table, for example, the second transaction information and the non-second user transaction information after the combination can be recorded by using a uplink transaction list, in the uplink transaction list, the user transaction information with the same transaction user is acquired according to a preset sequence, the user transaction information with the same transaction user is combined, and it is noted that the user transaction information which is already combined is not combined any more.
For example, the combined second transaction information and the non-second user transaction information recorded according to the preset sequence in the uplink transaction list table include: information 9: a user U initiates a transaction, and transfers virtual resources with the quantity W to the user V; information 10: user V initiates a transaction and transfers virtual resources with the quantity Y to user X; information 11: user E initiates a transaction and transfers the virtual resources with the quantity Z to user F; information 12: user V initiates a transaction and transfers the virtual resources with the quantity D to user E; the transaction system acquires information 9, information 10 and information 12 all comprising 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 from the user V to the user U, the user X and the user E, because the information 12 is combined, the information 12 is not combined with the information 11 any more although the information 12 and the information 11 comprise the user E, and the information 11 is singly used as combined transaction information.
In the embodiment of the application, if the user transaction information which does not have the same transaction user as other user transaction information exists in the user transaction information which is not uplink, the user transaction information is indicated to be incapable of being combined with other user transaction information which is not uplink, at the moment, the user transaction information which cannot be combined is independently used as combined transaction information, and the combined transaction information which is formed by combining at least two target user transaction information is subjected to uplink processing in the same way.
Step 204, performing uplink processing on the combined transaction information to trigger the blockchain system to perform the combined transaction information.
In some embodiments of the present application, the transfer information in the user transaction information may include transaction time of transferring virtual resources between transaction users, after the merged transaction information is formed, in order to orderly perform the uplink processing on the merged transaction information, the merged transaction information may be stored in a uplink transaction set, in which the merged transaction information may be arranged in an orderly manner according to transaction time, the merged transaction with the transaction time closest to the current time is arranged at the back, the merged transaction information with the transaction time farthest from the current time is arranged at the front, and then the to-be-uplink transaction information is selected according to the transaction time, in which case, the "perform the uplink processing on the merged transaction information to trigger the block chain system to perform the merged transaction information" in step 204 may specifically be: from the transaction set to be uplink, determining the combined transaction information with the transaction time within a first preset time as the transaction information to be uplink; and executing the uplink processing on the transaction information to be uplink to trigger the blockchain system to execute the transaction information to be uplink.
In the embodiment of the application, when the transaction information to be uplink is sent 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 sent to the blockchain system, so that the blockchain system repeatedly executes the user transaction information. However, the user transaction information is already executed before the uplink, the virtual resource chain lower allowance of the virtual resource possessed by the transaction user may cause the transaction user recorded on the blockchain system to have inconsistent second virtual resource allowance in the blockchain system of the virtual resource and virtual resource chain lower allowance, and in order to maintain the stability of the execution of the transaction of the blockchain system, so that the residual amount of the virtual resource of the transaction user under the uplink of the chain is consistent, a reconciliation compensation method may be adopted.
Specifically, the reconciliation compensation method in the terminal may be implemented by steps 205 to 207:
step 205: and acquiring the virtual resource chain lower allowance of the transaction user waiting for the uplink transaction information, wherein the virtual resource chain lower allowance is the first virtual resource allowance of the transaction user after the transaction system executes the transaction information waiting for the uplink after the transaction system generates the user transaction information corresponding to the transaction information waiting for the uplink.
Step 206, obtaining the second virtual resource allowance of the transaction user waiting for the uplink transaction information in the blockchain system after the successful execution of the transaction information waiting for the uplink from the blockchain system.
Step 207, comparing the virtual resource under-chain margin with the second virtual resource margin, if the virtual resource under-chain margin and the second virtual resource margin are different, the transaction system compensates for the small amount of the virtual resource under-chain margin and the second virtual resource margin so that the virtual resource under-chain margin and the second virtual resource margin are the same.
In the embodiment of the present application, in the step 205, the "obtaining the virtual resource chain lower margin of the transaction user to be uplink transaction information" may specifically be: before the transaction system executes the transaction information to be uplink, obtaining a third virtual resource allowance of a transaction user in the transaction information to be uplink; acquiring the target quantity of virtual resources transferred by a transaction user in the to-be-uplink transaction information executed by the transaction system; and subtracting the target quantity from the third virtual resource allowance to obtain the virtual resource under-chain allowance of the transaction user waiting for the uplink transaction information.
In the embodiment of the present application, in the step 207, the "comparing the virtual resource under-chain margin with the second virtual resource margin" may specifically be that if the virtual resource under-chain margin and the second virtual resource margin are different, the transaction system compensates for the small amount of the virtual resource under-chain margin and the second virtual resource margin so that the virtual resource under-chain margin and the second virtual resource margin are the same: when the difference between the virtual resource chain lower allowance and the second virtual resource allowance in the block chain system is determined according to the comparison result, obtaining the difference 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 the second virtual resource allowance in the block chain system, transferring the virtual resource of the difference amount to a transaction initiating user of the transaction information to be uplink which is successfully executed 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 margin is larger than the second virtual resource margin in the block chain system, changing the value of the second virtual resource margin in the block chain system to be the value of the virtual resource chain lower margin.
In the embodiment of the present application, when the transaction users included in the transaction information to be uplink that is successfully executed within the first preset time include the same virtual resource chain lower allowance and the second virtual resource allowance after the corresponding virtual resource chain lower allowance and the second virtual resource allowance are compensated, the uplink processing may be executed on the transaction information to be uplink that is within the second preset time, which may specifically be: if the transaction user of the combined transaction information with the transaction time within the first preset time is determined, the corresponding virtual resource chain lower allowance is the same as the second virtual resource allowance, and the combined transaction information with the transaction time within the second preset time is determined to be the transaction information to be uplink from the transaction set to be uplink, wherein the second preset time is after the first preset time; and executing the uplink processing on the transaction information to be uplink to trigger the blockchain system to execute the transaction information to be uplink.
In the 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 immediately after the first preset time, and the transaction system may perform uplink processing according to the transaction time of the user transaction information, that is, the transaction system performs uplink processing on all the to-be-uplink transaction information in the first day, and after the blockchain system successfully performs all the to-be-uplink transaction information in the first day, the transaction system receives the successful feedback information of execution, determines that all the transaction users included in the to-be-uplink transaction information in the first day have the same corresponding virtual resource chain lower allowance and second virtual resource allowance, and then the transaction information sequentially performs uplink processing on all the to-be-uplink transaction information in the next day.
In the embodiment of the application, when the determined information to be uplink transaction fails, in order to ensure that the residual amounts of the virtual resources of the uplink and downlink transaction users are consistent, all the user transaction information needs to be subjected to uplink processing, so that the blockchain system executes the user transaction information and updates the residual amounts of the virtual resources on the chain. Therefore, when there is the to-be-uplink transaction information with the execution failure, the uplink processing needs to be executed again on the to-be-uplink transaction information with the execution failure until the block chain system finishes executing the to-be-uplink transaction information with the execution failure. At this time, the specific steps may be: receiving execution feedback information aiming at the transaction information to be uplink; determining the information of the transaction to be uplink which is failed to be executed in the block chain system according to the execution feedback information; after a second preset time, executing the uplink processing on the to-be-uplink transaction information with the failed execution, so as to trigger the blockchain system to execute the to-be-uplink transaction information with the failed execution again.
All the above technical solutions may be combined to form an optional embodiment of the present application, and will not be described in detail herein.
According to the transaction information uplink method provided by the embodiment of the application, when a plurality of user transaction information needs to be subjected to uplink processing, at least two 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 are subjected to virtual resource transfer to form combined transaction information, and the to-be-uplink transaction information is selected from the combined transaction information to be subjected to uplink processing, so that the uplink processing can be performed on the plurality of user transaction information at one time, and the uplink performance of the user transaction information is improved.
The embodiment of the application also provides a system interaction flow chart of the transaction information uplink method, as shown in fig. 3, the system interaction flow chart comprises a transaction system, a blockchain system and a browser system, user transactions are sent to the transaction system, the transaction system receives user transaction information and stores the user transaction information, the transaction system firstly acquires first user transaction information which is the same as a transaction initiating user and the same as a transaction receiving user and is located on the same day in the user transaction information, performs first merging to form first merged transaction information, stores the first merged transaction information and non-first user transaction information into a uplink transaction detail table, then acquires 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 to form merged transaction information, then uplinks the merged transaction information on the same day in batches, sends the merged transaction information to the blockchain system, maintains virtual resource link lower margins of transaction users included in the user transaction information which is successfully executed after receiving feedback information which is successfully executed, and changes virtual resource lower link lower margins of all transaction users included in the user transaction information which is successfully executed according to the quantity of virtual resource transferred virtual resource in the user transaction information. The transaction system acquires a derived uplink transaction export list from the browser system in the early morning, if transaction numbers of user transaction information included in the uplink transaction export list are all in the uplink transaction export list, the transaction system determines that all user transaction information of the same day is processed in a uplink mode, then the transaction system acquires all user transaction information of the same day, checks whether transaction users included in all user transaction information of the same day are consistent or not, if not, compensation operation is conducted until all transaction users are consistent, the corresponding virtual resource chain lower allowance is consistent with the second virtual resource allowance in the blockchain system, and the fact that all user transaction information of the same day is completed, uplink checking is completed and user balance checking is completed is confirmed, at the moment, the transaction system starts to select combined transaction information of the next day to be uplink in batches, and the steps are repeated.
After the blockchain system receives the combined transaction information sent by the transaction system, executing the combined transaction information according to the deployed intelligent contract, sequentially transferring virtual resources and/or deducting the virtual resources to the transaction users included in the combined transaction information, and recording the second virtual resource allowance of each transaction user in the blockchain system.
The browser system acquires continuously polled blockchains, derives user transaction information which is successfully executed from the blockchain system, stores uplink transaction numbers, virtual resource transfer numbers, transaction hash values, block numbers which belong to the user transaction information which is successfully executed into an uplink transaction derivation list, and publicly shows the uplink transaction derivation list in the blockchain browser to display real uplink transactions for users.
In order to facilitate better implementation of the transaction information uplink method according to the embodiment of the application, the embodiment of the application also provides a transaction information uplink device. Referring to fig. 4, fig. 4 is a schematic structural diagram of a transaction information uplink device according to an embodiment of the application. The transaction information uplink device may include a first determining unit 401, a second determining unit 402, a combining 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, from the non-uplink user transaction information, at least two target user transaction information to be combined, where the at least two target user transaction information has at least one identical transaction user;
a merging unit 403, configured to merge the target user transaction information based on the same transaction user, and form merged transaction information;
the execution unit 404 is configured to perform uplink processing on the combined transaction information, so as to trigger the blockchain system to execute the combined transaction information.
Optionally, the transaction user includes a transaction initiating user and a transaction receiving user, and the second determining unit 402 is further configured to:
and acquiring user transaction information of at least two users with the same transaction initiating user from the user transaction information which is not uplink as target user transaction information.
Optionally, the merging unit 403 is further configured to:
and combining the target user transaction information based on the virtual resource transfer total amount in the target user transaction information of the same transaction initiating user and each transaction receiving user to form combined transaction information.
Optionally, the merging unit 403 is further configured to:
determining first user transaction information and non-first user transaction information in 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 virtual resource transfer total amount between the same transaction initiating user and the corresponding transaction receiving user;
calculating virtual resource transfer total amount between the same transaction initiating user and the same transaction receiving user for the first user transaction information, merging the first user transaction information based on the virtual resource transfer total amount, and obtaining merged first transaction information corresponding to each transaction receiving user;
and combining the combined first transaction information with the non-first user transaction information based on the corresponding relation between each transaction receiving user in the combined first transaction information and the virtual resource transfer total amount and the corresponding relation between each transaction receiving user in the non-first user transaction information and the virtual resource transfer total amount to form combined transaction information containing the corresponding relation between each transaction receiving user and the virtual resource transfer total amount.
Optionally, the merging unit 403 is further configured to:
acquiring first quantity of virtual resources transferred from the same transaction initiating user to the same transaction receiving user in transaction information of each first user;
summing the first quantities to obtain the total virtual resource transfer amount 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 user includes a transaction initiating user and a transaction receiving user, and the second determining unit 402 is further configured to:
and acquiring user transaction information of at least two users with the same transaction receiving users from the user transaction information which is not uplink as target user transaction information.
Optionally, the merging unit 403 is further configured to:
and combining the target user transaction information based on the virtual resource transfer total amount in the target user transaction information between the same transaction receiving user and each transaction initiating user to form combined transaction information.
Optionally, the merging unit 403 is further configured to:
determining other transaction users except the same transaction user in the transaction users of the target transaction information as opposite-end transaction users of the same transaction user;
and combining the target user transaction information based on the same transaction user and each opposite-end transaction user in the virtual resource transfer direction and the virtual resource transfer total amount in the virtual resource transfer direction in the target user transaction information to form combined transaction information.
Optionally, the merging unit 403 is further configured to:
determining second user transaction information and non-second user transaction information in 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 virtual resource transfer total amount between the same transaction user and the corresponding opposite-end transaction user;
for second user transaction information, acquiring a virtual resource transfer direction between the same transaction user and the same opposite-end transaction user, and combining the second user transaction information based on the acquired virtual resource transfer direction and virtual resource transfer total amount in the virtual resource transfer direction to obtain combined second transaction information;
And combining the combined second transaction information with 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 total amount between the same transaction user and each opposite-end transaction user in the non-second user transaction information to form combined transaction information.
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 of the same transaction user and the same opposite-end transaction user is a transaction receiving user;
determining the direction of transferring virtual resources from a transaction initiating user to a 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 second quantity of virtual resources transferred from a transaction initiating user to a transaction receiving user in transaction information of each second user;
summing the second numbers to obtain virtual resource transfer total amount in the virtual resource transfer direction in the transaction information of each second user;
And merging the second user transaction information based on the virtual resource transfer direction and the total virtual resource transfer 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 combined transaction information into a transaction set to be uplink;
the execution unit 404 is further configured to:
from the transaction set to be uplink, determining the combined transaction information with the transaction time within a first preset time as the transaction information to be uplink;
and executing the uplink processing on the transaction information to be uplink to trigger the blockchain system to execute the transaction information to be uplink.
Optionally, the device is further configured to:
the method comprises the steps that the virtual resource chain lower allowance of a transaction user of transaction information to be uplink is obtained, wherein the virtual resource chain lower allowance is first virtual resource allowance of the transaction user after the transaction system executes the transaction information to be uplink after user transaction information corresponding to the transaction information to be uplink is generated by the transaction system;
after the successful execution of the transaction information to be uplinked is obtained from the blockchain system, the transaction user of the transaction information to be uplinked is in a second virtual resource allowance 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 small quantity in the virtual resource chain lower allowance and the second virtual resource allowance by the transaction system so as to make the virtual resource chain lower allowance and the second virtual resource allowance identical.
Optionally, the device is further configured to:
before the transaction system executes the transaction information to be uplink, obtaining a third virtual resource allowance of a transaction user in the transaction information to be uplink;
acquiring the target quantity of virtual resources transferred by a transaction user in the to-be-uplink transaction information executed by the transaction system;
and subtracting the target quantity from the third virtual resource allowance to obtain the virtual resource under-chain allowance of the transaction user waiting for the uplink transaction information.
Optionally, the device is further configured to:
if the transaction user of the combined transaction information with the transaction time within the first preset time is determined, the corresponding virtual resource chain lower allowance is the same as the second virtual resource allowance, and the combined transaction information with the transaction time within the second preset time is determined to be the transaction information to be uplink from the transaction set to be uplink, wherein the second preset time is after the first preset time;
and executing the uplink processing on the transaction information to be uplink to trigger the blockchain system to execute the transaction information to be uplink.
Optionally, the device is further configured to:
receiving all user transaction information generated between transaction users by utilizing 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 candidate user transaction information by using a preset under-chain transaction list through a transaction system;
the first determining unit 401 is further configured to:
and acquiring user transaction information which is not executed by the blockchain system from candidate user transaction information recorded in the under-chain transaction list as user transaction information which is not uplink.
All the above technical solutions may be combined to form an optional embodiment of the present application, and will not be described in detail herein.
In the transaction information uplink device provided by the embodiment of the application, the first determining unit 401 determines the un-uplink user transaction information, the second determining unit 402 determines at least two target user transaction information to be combined in the un-uplink user transaction information, the at least two target user transaction information has at least one same transaction user, the combining unit 403 combines the target user transaction information based on the same transaction user to form combined transaction information, and finally the executing unit 404 executes uplink processing on the combined transaction information to trigger the blockchain system to execute the combined transaction information, so that the uplink processing on a plurality of user transaction information can be executed at one time, and the uplink performance of the user transaction information is improved.
Correspondingly, the embodiment of the application also provides computer equipment, which can be a terminal, and the terminal can be terminal equipment such as a smart phone, a tablet personal computer, a notebook computer, a touch screen, a game machine, a personal computer, a personal digital assistant and the like. Fig. 5 is a schematic structural diagram of a computer device according to an embodiment of the present application, as shown in fig. 5. The computer device 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. It will be appreciated by those skilled in the art that the computer device structure shown in the figures is not limiting of the computer device and may include more or fewer components than shown, or may combine certain components, 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, and 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 performing overall monitoring of the computer device 500.
In the embodiment of the present application, the processor 501 in the computer device 500 loads the instructions corresponding to the processes of one or more application programs into the memory 502 according to the following steps, and the processor 501 executes the application programs stored in the memory 502, so as to implement various functions:
determining user transaction information which is not uplink, wherein the user transaction information comprises transfer information of virtual resources among transaction users; determining at least two target user transaction information to be combined in the un-uplink user transaction information, wherein the at least two target user transaction information has at least one same transaction user; combining target user transaction information based on the same transaction user to form combined transaction information; and executing uplink processing on the combined transaction information to trigger the blockchain system to execute the combined transaction information.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Optionally, as shown in fig. 5, the computer device 500 further includes: a touch display screen 503, a radio frequency circuit 504, an audio circuit 505, an input unit 506, and a power supply 507. The processor 501 is electrically connected to the touch display 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 structure shown in FIG. 5 is not limiting of the computer device and may include more or fewer components than shown, or may be combined with certain components, or a different arrangement of components.
The touch display screen 503 may be used to display a graphical user interface and receive operation instructions generated by a user acting on the graphical user interface. The touch display screen 503 may include a display panel and a touch panel. Wherein the display panel may be used to display information entered by a user or provided to a user as well as various graphical user interfaces of a computer device, which may be composed of graphics, text, icons, video, and any combination thereof. Alternatively, the display panel may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like. The touch panel may be used to collect touch operations on or near the user (such as operations on or near the touch panel by the user using any suitable object or accessory such as a finger, stylus, etc.), 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 azimuth 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 detection device and converts it into touch point coordinates, which are then sent to the processor 501, and can receive commands from the processor 501 and execute them. The touch panel may overlay the display panel, and upon detection of a touch operation thereon or thereabout, the touch panel is passed to the processor 501 to determine the type of touch event, and the processor 501 then provides a corresponding visual output on the display panel based on the type of 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 realize the input and output functions. In some embodiments, however, the touch panel and the touch panel may be implemented as two separate components to perform the input and output functions. I.e. the touch sensitive display 503 may also implement an input function as part of the input unit 506.
In the embodiment of the present application, the processor 501 determines the user transaction information without uplink from the received user transaction information, obtains the set merge rule, merges part of the user transaction information without uplink according to the merge rule, and executes uplink processing on the merged plurality of user transaction information at one time, when receiving feedback information of successful uplink, changes the virtual resource chain lower allowance of the virtual resource of the transaction user, and realizes the compensation accounting function of the virtual resource of the same transaction user, the corresponding virtual resource chain lower allowance and the second virtual resource allowance in the blockchain system.
The radio frequency circuitry 504 may be used to transceive radio frequency signals to establish wireless communications with a network device or other computer device via wireless communications.
The audio circuitry 505 may be used to provide an audio interface between a user and a computer device through speakers, microphones, and so on. The audio circuit 505 may transmit the received electrical signal after audio data conversion to a speaker, and convert the electrical signal into a sound signal for output by the speaker; on the other hand, the microphone converts the collected sound signals into electrical signals, which are received by the audio circuit 505 and converted into audio data, which are processed by the audio data output processor 501 for transmission to, for example, another computer device via the radio frequency circuit 504, or which are output to the memory 502 for further processing. The audio circuit 505 may also include an ear bud jack to provide communication of the peripheral ear bud 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 to 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. Alternatively, 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, and power consumption management through the power management system. The power supply 507 may also include one or more of any components, such as a direct current or alternating current power supply, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, 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 herein.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
As can be seen from the foregoing, when there are multiple users' transaction information that all need to execute the uplink processing, the computer device provided in this embodiment may combine, according to the transaction users that perform virtual resource transfer and included in the user transaction information, at least two user transaction information that have at least one same transaction user to form combined transaction information, and select the transaction information to be uplink from the combined transaction information to execute the uplink processing, thereby implementing the uplink processing on the multiple user transaction information at one time, and improving the uplink performance of the user transaction information.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions, or by instructions controlling associated hardware, 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 having stored therein a plurality of computer programs that can be loaded by a processor to perform the steps of any of the transaction information chaining methods provided by embodiments of the present application. For example, the computer program may perform the steps of:
determining user transaction information which is not uplink, wherein the user transaction information comprises transfer information of virtual resources among transaction users; determining at least two target user transaction information to be combined in the un-uplink user transaction information, wherein the at least two target user transaction information has at least one same transaction user; combining target user transaction information based on the same transaction user to form combined transaction information; and executing uplink processing on the combined transaction information to trigger the blockchain system to execute the combined transaction information.
The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic or optical disk, and the like.
The steps in any transaction information uplink method provided by the embodiment of the present application can be executed by the computer program stored in the storage medium, so that the beneficial effects of any transaction information uplink method provided by the embodiment of the present application can be achieved, which are detailed in the previous embodiments and are not described herein.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
The foregoing describes in detail a transaction information uplink method, apparatus, computer device and storage medium provided by the embodiments of the present application, and specific examples are applied to illustrate the principles and embodiments of the present application, where the foregoing description of the embodiments is only for helping to understand the technical solution and core ideas of the present application; those of ordinary skill in the art will appreciate that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the application.

Claims (16)

1. A method of linking transaction information, comprising:
determining user transaction information which is not uplink, wherein the user transaction information comprises transfer information of virtual resources among transaction users, and the transfer information comprises transaction time;
determining at least two target user transaction information to be combined in the unzipped user transaction information, wherein the at least two target user transaction information has at least one identical transaction user;
combining the target user transaction information based on the same transaction user to form combined transaction information, and storing each formed combined transaction information into a transaction set to be uplink; from the to-be-uplink transaction set, determining that the combined transaction information with the transaction time within a first preset time is to-be-uplink transaction information;
executing the uplink processing on the to-be-uplink transaction information to trigger a blockchain system to execute the to-be-uplink transaction information;
the method comprises the steps that the virtual resource chain lower allowance of a transaction user of the transaction information to be uplink is obtained, wherein the virtual resource chain lower allowance is a first virtual resource allowance of the transaction user after the transaction system executes the transaction information to be uplink after user transaction information corresponding to the transaction information to be uplink is generated by the transaction system;
After the successful execution of the transaction information to be uplink is obtained from the blockchain system, the transaction user of the transaction information to be uplink is in a second virtual resource allowance 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 small quantity in the virtual resource chain lower allowance and the second virtual resource allowance by the transaction system so that the virtual resource chain lower allowance and the second virtual resource allowance are the same.
2. The method of claim 1, wherein the transaction user comprises a transaction initiating user and a transaction receiving user, wherein the determining at least two target user transaction information to be combined in the non-uplink user transaction information comprises:
and acquiring user transaction information of at least two users with the same transaction initiating user from the non-uplink user transaction information as the target user transaction information.
3. The method of claim 2, wherein the merging the target user transaction information based on the same transaction user to form merged transaction information comprises:
And combining the target user transaction information based on the virtual resource transfer total amount in the target user transaction information of the same transaction initiating user and each transaction receiving user to form combined transaction information.
4. The method of claim 3, wherein the combining the target user transaction information based on the virtual resource transfer amounts in the target user transaction information for the same transaction initiating user and each transaction receiving user to form combined 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 virtual resource transfer total amount between the same transaction initiating user and the corresponding transaction receiving user;
calculating the total virtual resource transfer amount between the same transaction initiating user and the same transaction receiving user for the first user transaction information, and merging the first user transaction information based on the total virtual resource transfer amount to obtain merged first transaction information corresponding to each transaction receiving user;
And merging the merged first transaction information with the non-first user transaction information based on the corresponding relation between each transaction receiving user in the merged first transaction information and the total virtual resource transfer amount and the corresponding relation between each transaction receiving user in the non-first user transaction information and the total virtual resource transfer amount to form merged transaction information containing the corresponding relation between each transaction receiving user and the total virtual resource transfer amount.
5. The method of 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, merging the first user transaction information based on the total amount of virtual resource transfer, and obtaining merged first transaction information corresponding to each transaction receiving user, comprises:
acquiring first quantity of virtual resources transferred from the same transaction initiating user to the same transaction receiving user in each first user transaction information;
summing the first quantities to obtain a virtual resource transfer total between the same transaction initiating user and the same transaction receiving user;
And merging the first user transaction information 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 user comprises a transaction initiating user and a transaction receiving user, wherein the determining at least two target user transaction information to be combined in the non-uplink user transaction information comprises:
and acquiring user transaction information of at least two users with the same transaction receiving users from the non-uplink user transaction information as the target user transaction information.
7. The method of claim 6, wherein the merging the target user transaction information based on the same transaction user to form merged transaction information comprises:
and combining the target user transaction information based on the virtual resource transfer total amount in the target user transaction information of the same transaction receiving user and each transaction initiating user to form combined transaction information.
8. The method of claim 1, wherein the merging the target user transaction information based on the same transaction user to form merged transaction information comprises:
determining other transaction users except the same transaction user in the transaction users of the target transaction information as opposite-end transaction users of the same transaction user;
and combining the target user transaction information based on the same transaction user and each opposite-end transaction user and the virtual resource transfer total amount in the virtual resource transfer direction in the target user transaction information to form combined transaction information.
9. The method of claim 8, wherein the combining the target user transaction information based on the same transaction user and each peer transaction user in the virtual resource transfer direction and the virtual resource transfer total amount in the virtual resource transfer direction in the target user transaction information to form combined 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 virtual resource transfer total 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, and merging the second user transaction information based on the acquired virtual resource transfer direction and the virtual resource transfer total amount to obtain 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 each 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 combined transaction information.
10. The method of claim 9, wherein the obtaining, for the second user transaction information, a virtual resource transfer direction between the same transaction user and the same peer transaction user, and a virtual resource transfer total in the virtual resource transfer direction, merging the second user transaction information based on the obtained virtual resource transfer direction and virtual resource transfer total, and obtaining the merged second transaction information, comprises:
Determining that one of the same transaction user and the same opposite-end transaction user is a transaction initiating user in each second user transaction information, 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 virtual resources from a transaction initiating user to a transaction receiving user in each second user transaction information, 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 a transaction initiating user to a transaction receiving user in each second user transaction information;
summing the second quantities to obtain virtual resource transfer total 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 total virtual resource transfer amount to obtain the merged second transaction information.
11. The method of claim 1, wherein the obtaining the virtual resource chain lower margin of the transacting user for the transacting information to be linked comprises:
acquiring a third virtual resource allowance of a transaction user in the transaction information to be uplink before the transaction system executes the transaction information to be uplink;
Acquiring the target quantity of virtual resources transferred by a transaction user in the to-be-uplink transaction information executed by the transaction system;
and subtracting the target quantity from the third virtual resource allowance to obtain the virtual resource under-chain allowance of the transaction user waiting for the uplink transaction information.
12. The method according to claim 1, wherein the method further comprises:
if the transaction user of the combined transaction information with the transaction time within the first preset time is determined, the corresponding virtual resource chain lower allowance is the same as the second virtual resource allowance, and the combined transaction information with the transaction time within the second preset time is determined to be the to-be-uplink transaction information from the to-be-uplink transaction set, wherein the second preset time is after the first preset time;
and executing the uplink processing on the to-be-uplink transaction information to trigger a blockchain system to execute the to-be-uplink transaction information.
13. The method of claim 1, wherein prior to determining the unzipped user transaction information, further comprising:
receiving all user transaction information generated between the transaction users by utilizing the transaction system;
Determining effective candidate user transaction information in all user transaction information according to a first virtual resource allowance owned by a transaction user corresponding to each user transaction information and a preset quantity of transfer virtual resources corresponding to each user transaction information;
recording the candidate user transaction information by the transaction system through a preset under-chain transaction list;
the determining the user transaction information which is not uplink comprises the following steps:
and acquiring user transaction information which is not executed by the blockchain system from candidate user transaction information recorded in the downlink transaction detail table as the user transaction information which is not uplink.
14. A transaction information linking device, comprising:
a first determining unit, configured to determine user transaction information that is not uplink, where the user transaction information includes transfer information of virtual resources between transaction users, and the transfer information includes transaction time;
the second determining unit is used for determining at least two target user transaction information to be combined in the non-uplink user transaction information, wherein the at least two target user transaction information has 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 storing each formed merged transaction information into a to-be-uplink transaction set;
the execution unit is used for determining that the combined transaction information with the transaction time within a first preset time is to be the transaction information to be uplink from the transaction set to be uplink; executing the uplink processing on the to-be-uplink transaction information to trigger a blockchain system to execute the to-be-uplink transaction information;
the device is further used for obtaining the virtual resource chain lower allowance of the transaction user of the transaction information to be uplink, wherein the virtual resource chain lower allowance is the first virtual resource allowance of the transaction user after the transaction system executes the transaction information to be uplink after the transaction system generates the user transaction information corresponding to the transaction information to be uplink; after the successful execution of the transaction information to be uplink is obtained from the blockchain system, the transaction user of the transaction information to be uplink is in a second virtual resource allowance 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 small quantity in the virtual resource chain lower allowance and the second virtual resource allowance by the transaction system so that the virtual resource chain lower allowance and the second virtual resource allowance are the same.
15. A computer device, comprising:
a memory for storing a computer program;
processor for implementing the steps in the transaction information chaining method according to any of the claims 1 to 13 when executing the computer program.
16. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the transaction information chaining method according to any of the claims 1 to 13.
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 CN113806801A (en) 2021-12-17
CN113806801B true 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 (8)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11416934B2 (en) * 2019-02-05 2022-08-16 Edmon Blount System and method for securities finance smart contracts on blockchains and distributed ledgers

Patent Citations (8)

* 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
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
CN113806801A (en) 2021-12-17

Similar Documents

Publication Publication Date Title
CN110365491B (en) Service processing method, device, equipment, storage medium and data sharing system
CN113438219B (en) Playback transaction identification method and device based on blockchain all-in-one machine
CN113157810B (en) Block synchronization method, computer equipment and storage medium
CN114327804B (en) Block chain based distributed transaction processing method, device, equipment and medium
CN113506100B (en) Alliance chain data processing method, device, computer equipment and storage medium
CN113806801B (en) Transaction information uplink method, device, computer equipment and storage medium
CN111359210A (en) Data processing method and device, electronic equipment and storage medium
CN113890753B (en) Digital identity management method, device, system, computer equipment and storage medium
CN112380411B (en) Sensitive word processing method, device, electronic equipment, system and storage medium
CN109450885B (en) Network data interception method and device, electronic equipment and storage medium
CN113342776A (en) Transaction information migration method, device, equipment and medium based on intelligent contract
CN111476562A (en) Virtual resource transfer method, device, electronic equipment and storage medium
CN112138397A (en) Trigger management method and device, computer equipment and storage medium
CN114422535B (en) Method, apparatus, computer device and storage medium for distributing contracts in blockchain
CN114115718B (en) Distributed block storage system service quality control method, device, equipment and medium
CN113726875B (en) Transaction processing method and device based on blockchain all-in-one machine
CN116938927A (en) Distributed transaction processing method, device, computer equipment and storage medium
CN116308786A (en) Processing method, system, electronic equipment and readable storage medium for blockchain transaction
WO2024088119A1 (en) Data processing method and apparatus, and terminal and network-side device
WO2024078615A1 (en) Model selection method, terminal and network-side device
CN113360883A (en) Intelligent contract processing method and device, computer equipment and storage medium
CN111147509A (en) Network isolation method, device, server and storage medium
CN116384998A (en) DID contract management method, DID contract management device, electronic equipment and readable storage medium
CN116384997A (en) DID contract management method, DID contract management system, electronic device and readable storage medium
CN115622968A (en) Black product behavior blocking method and device, 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