CN113298649A - Transaction data processing method and device, and data processing method and device - Google Patents

Transaction data processing method and device, and data processing method and device Download PDF

Info

Publication number
CN113298649A
CN113298649A CN202010619643.XA CN202010619643A CN113298649A CN 113298649 A CN113298649 A CN 113298649A CN 202010619643 A CN202010619643 A CN 202010619643A CN 113298649 A CN113298649 A CN 113298649A
Authority
CN
China
Prior art keywords
data processing
node
preset
node server
transaction data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010619643.XA
Other languages
Chinese (zh)
Inventor
刘小丽
曹政
邓福喜
曾超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN202010619643.XA priority Critical patent/CN113298649A/en
Priority to PCT/CN2021/102026 priority patent/WO2022001810A1/en
Publication of CN113298649A publication Critical patent/CN113298649A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication

Abstract

The specification provides a transaction data processing method and device and a data processing method and device. According to the processing method based on the transaction data, the second node server responds to the received transaction data processing request, common identification operation aiming at the transaction data processing request is initiated, corresponding common identification information is generated, and then the common identification information is transmitted to each node server in the preset data processing network in a preset transmission mode based on set communication, so that each node server in the preset data processing network can perform corresponding transaction data processing according to the transaction data processing request under the condition that at least a preset number of node servers are determined to receive the common identification information to achieve common identification. Therefore, the transmission efficiency of the consensus information can be effectively improved, the transaction data can be efficiently processed, and the waiting time delay of the user can be reduced.

Description

Transaction data processing method and device, and data processing method and device
Technical Field
The specification belongs to the technical field of internet, and particularly relates to a transaction data processing method and device, and a data processing method and device.
Background
In some data processing scenarios, it is often necessary to generate and transmit consensus information to the outside by a certain server in a data processing network, and initiate consensus operation; after determining that the servers in the data processing network have achieved a consensus agreement, the specific data processing is performed.
At present, a method for improving the transmission efficiency of the consensus information to efficiently process data is needed.
Disclosure of Invention
The specification provides a transaction data processing method and device, and a data processing method and device, so that the transmission efficiency of consensus information can be effectively improved, and the data processing of transaction data can be efficiently completed.
The transaction data processing method and device, and the data processing method and device provided by the specification are realized as follows:
a method for processing transaction data, the method being applied to a preset data processing network, the preset data processing network comprising a plurality of node servers, the method comprising: a first node server receives a transaction data processing request sent by client equipment and broadcasts the transaction data processing request to a preset data processing network; a second node server in the plurality of node servers receives and responds to the transaction data processing request, generates consensus information aiming at the transaction data processing request, and transmits the consensus information to a node server in a preset data processing network in a preset transmission mode based on set communication; under the condition that at least a preset number of node servers receive the consensus information, the node servers in the preset data processing network perform corresponding transaction data processing according to the transaction data processing request to obtain a corresponding transaction data processing result; and the first node server feeds back the transaction data processing result to the client equipment.
A method of processing transaction data, comprising: receiving a transaction data processing request sent by client equipment, and broadcasting the transaction data processing request to a preset data processing network; the preset data processing network comprises a plurality of node servers, wherein a second node server in the node servers receives and responds to the transaction data processing request, generates consensus information aiming at the transaction data processing request, and transmits the consensus information to the node servers in the preset data processing network in a preset transmission mode based on set communication; and under the condition that at least a preset number of node servers receive the consensus information, performing corresponding transaction data processing according to the transaction data processing request to obtain a corresponding transaction data processing result, and feeding back the transaction data processing result to the client equipment.
A method of processing transaction data, comprising: receiving and responding to a transaction data processing request, and generating consensus information aiming at the transaction data processing request, wherein the consensus information carries an identity of a second node server; and transmitting the consensus information to node servers in a preset data processing network in a preset transmission mode based on collective communication, wherein the preset data processing network comprises a plurality of node servers, and the plurality of node servers in the preset data processing network perform corresponding transaction data processing according to the transaction data processing request under the condition that at least a preset number of node servers receive the consensus information.
A method of processing transaction data, comprising: receiving a transaction data processing request; receiving consensus information sent by a previous-level node server; extracting an identity of an initial node from the consensus information, and determining a matched first target set communication rule from a plurality of preset set communication rules according to the identity of the initial node; and determining a next-level node server according to the first target set communication rule, and sending the consensus information to the next node server.
A method of data processing, comprising: generating target data, wherein the target data carries an identity of an initial processing node; according to the identity, determining a first target set communication rule matched with the identity from a plurality of preset set communication rules; and determining a next-level processing node from a plurality of processing nodes included in a preset data processing network according to the first target set communication rule, and sending the target data to the next-level processing node.
A method of data processing, comprising: receiving target data sent by a previous-stage processing node; extracting the identity of the initial processing node from the target data; determining a matched first target set communication rule from a plurality of preset set communication rules according to the identity of the initial processing node; and determining a next-stage processing node according to the first target set communication rule, and sending the target data to the next-stage processing node.
A transaction data processing apparatus comprising: the system comprises a receiving and sending module, a processing module and a processing module, wherein the receiving and sending module is used for receiving a transaction data processing request sent by client equipment and broadcasting the transaction data processing request to a preset data processing network; the preset data processing network comprises a plurality of node servers, wherein a second node server in the node servers receives and responds to the transaction data processing request, generates consensus information aiming at the transaction data processing request, and transmits the consensus information to the node servers in the preset data processing network in a preset transmission mode based on set communication; and the processing module is used for performing corresponding transaction data processing according to the transaction data processing request under the condition that at least a preset number of node servers receive the consensus information to obtain a corresponding transaction data processing result, and feeding back the transaction data processing result to the client equipment.
A data processing apparatus comprising: the generation module is used for generating target data, wherein the target data carries the identity of the initial processing node; the determining module is used for determining a first target set communication rule matched with the identity identifier from a plurality of preset set communication rules according to the identity identifier; and the sending module is used for determining a next-level processing node from a plurality of processing nodes included in a preset data processing network according to the first target set communication rule and sending the target data to the next-level processing node.
A server comprises a processor and a memory for storing processor executable instructions, wherein the processor realizes generation of target data when executing the instructions, wherein the target data carries an identity of an initial processing node; according to the identity, determining a first target set communication rule matched with the identity from a plurality of preset set communication rules; and determining a next-level processing node from a plurality of processing nodes included in a preset data processing network according to the first target set communication rule, and sending the target data to the next-level processing node.
A computer readable storage medium having stored thereon computer instructions which, when executed, enable generation of target data, wherein the target data carries an identity of an originating processing node; according to the identity, determining a first target set communication rule matched with the identity from a plurality of preset set communication rules; and determining a next-level processing node from a plurality of processing nodes included in a preset data processing network according to the first target set communication rule, and sending the target data to the next-level processing node.
In the method and apparatus for processing transaction data, and the method and apparatus for processing transaction data provided in this specification, after responding to a received transaction data processing request by a second node server, initiating a consensus operation for the transaction data processing request, and generating corresponding consensus information, the second node server transmits the consensus information to each node server in a preset data processing network in a preset transmission manner based on collective communication, so that, when it is determined that at least a preset number of node servers receive the consensus information, each node server in the preset data processing network performs corresponding transaction data processing according to the transaction data processing request. Therefore, the transmission efficiency of the consensus information can be effectively improved, and the transaction data can be efficiently processed.
Drawings
In order to more clearly illustrate the embodiments of the present specification, the drawings needed to be used in the embodiments will be briefly described below, and the drawings in the following description are only some of the embodiments described in the present specification, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 is a schematic diagram of an embodiment of a structural composition of a data processing system to which a method for processing transaction data provided by an embodiment of the present specification is applied;
FIG. 2 is a schematic diagram illustrating an embodiment of a method for processing transaction data according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram illustrating an embodiment of a method for processing transaction data according to an embodiment of the present disclosure;
FIG. 4 is a schematic diagram illustrating an embodiment of a method for processing transaction data according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram illustrating an embodiment of a method for processing transaction data according to an embodiment of the present disclosure;
FIG. 6 is a flow diagram of a method of processing transaction data provided by one embodiment of the present description;
FIG. 7 is a flow diagram of a data processing method provided by one embodiment of the present description;
FIG. 8 is a schematic diagram illustrating an embodiment of a method for processing transaction data according to an embodiment of the present disclosure;
FIG. 9 is a schematic structural component diagram of a server provided in an embodiment of the present description;
fig. 10 is a schematic structural component diagram of a transaction data processing device according to an embodiment of the present specification.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all of the embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments in the present specification without any inventive step should fall within the scope of protection of the present specification.
The embodiment of the present specification provides a method for processing transaction data, which may be applied to a data processing system including a client device and a plurality of node servers. In particular, reference may be made to fig. 1. The data processing system may specifically include a plurality of node servers (for example, N different node servers), and one node server of the plurality of node servers may serve as a processing node in a preset data processing network based on a block chain.
In a specific implementation, the first node server may be specifically configured to receive a transaction data processing request sent by the client device, and broadcast the transaction data processing request to a preset data processing network.
When a second node server (e.g., a master node server) of the plurality of node servers is implemented, the second node server may receive and respond to the transaction data processing request, and generate consensus information for the transaction data processing request; and transmitting the consensus information to a node server in a preset data processing network through a preset transmission mode based on the set communication so as to initiate consensus operation in the plurality of node servers.
And under the condition that at least a preset number of node servers receive the consensus information, achieving consensus. Furthermore, each node server in the preset data processing network can respectively perform corresponding transaction data processing according to the transaction data processing request, and obtain and record a corresponding transaction data processing result.
And the first node server which is connected with the client equipment feeds back a corresponding transaction data processing result to the client equipment.
In the data processing process, when the second node server initiates the consensus operation (or the consensus request), the second node server transmits the consensus information to each node server in the preset data processing network through a preset transmission mode based on the set communication, so that the transmission efficiency of the consensus information is effectively improved, repeated transmission is avoided, further, the processing of transaction data can be efficiently completed, the waiting time delay of a user is reduced, and the use experience of the user is improved.
In this embodiment, the node server may be specifically applied to a network platform side responsible for transaction data processing, and includes a server capable of implementing functions such as data transmission and data processing and having a background responsible for data processing. Specifically, the node server may be, for example, an electronic device having data operation, storage function and network interaction function. Alternatively, the node server may also be a software program running in the electronic device and providing support for data processing, storage and network interaction. In this embodiment, the node server may specifically be one server, may also be several servers, or a server cluster formed by several servers.
In this embodiment, the client device may specifically include a front-end device that is applied to a user side and can implement functions such as data acquisition and data transmission. Specifically, the client device may be, for example, a desktop computer, a tablet computer, a notebook computer, a smart phone, a digital assistant, a smart wearable device, and the like. Alternatively, the client device may be a software application capable of running in the electronic device. For example, it may be some APP running on a cell phone, etc.
In a specific scenario example, as shown in fig. 2, a shopping website may apply the transaction data processing method provided by the embodiment of the present disclosure to efficiently perform corresponding transaction data processing for a user.
In this scenario example, what is specifically responsible for transaction data processing in the shopping website background data processing system may be a block-chain-based data processing Network including a plurality of node servers, for example, a block-chain-based P2P Network including N different node servers. The node servers in the data processing network are mutually equal, and can interact through a distributed consensus protocol, so that a same transaction ledger database can be processed and maintained at the same time by the multi-node servers.
In the scenario example, the user uses his/her mobile phone as the client device to purchase a commodity in order at the shopping website, and generates a pending transaction data. Further, the client device generates a transaction data processing request aiming at the transaction data, and sends the transaction data processing request to a shopping website background data processing request so as to request to perform corresponding processing on the transaction data.
In specific implementation, a node server (e.g., a first node server) in the data processing network in the background of the shopping website receives a transaction data processing request sent by the client device. The first node server may first broadcast the transaction data processing request to the data processing network so that each node server in the data processing network receives the transaction data processing request.
Further, a master node server (e.g., a second node server) in the data processing network responsible for initiating the consensus operation may, after receiving the transaction data processing request, initiate a corresponding consensus operation in the data processing network in response to the transaction data processing request. Specifically, the second node server may generate consensus information for the transaction data processing request, where the generated consensus information further carries an identity of the second node server, for example, an IP address of the second node server, or a server number. The consensus information is then transmitted to other node servers in the data processing network to achieve consensus.
In this scenario example, the second node server may perform transmission of specific consensus information by using a preset transmission mode based on aggregate communication.
The preset transmission method based on the set communication may specifically include a transmission mode in which a plurality of node servers included in the data processing network are divided into a plurality of transmission levels according to a preset set communication rule, and then the plurality of node servers are pointedly and gradually introduced to participate in a data transmission task according to the preset set communication rule, so as to perform point-to-point data transmission step by step among the plurality of node servers.
Specifically, by adopting the preset transmission mode based on the set communication, each node server in the data processing network only needs to receive the data sent by the previous node server determined based on the preset set communication rule and only needs to send the received data to one or more next node servers determined based on the preset set communication rule, so that the data transmission task for which the node server is responsible can be completed. In this way, it is not necessary for each node server to transmit the received data to all node servers in the data processing network at the same time without distinction.
The preset aggregate communication rule may specifically include a rule that a certain node server (or certain node servers) is generated in advance as an initial node server in the data transmission process, a plurality of node servers included in the data processing network are divided into a plurality of data transmission hierarchies, and the rule includes a next-level node server to which each node server is connected and a data transmission task in charge.
The preset set communication rule can cover each node server in the data processing network, and omission does not occur. In addition, each node server except the initial node server in the data processing network only receives data once in the data processing process, the same data cannot be repeatedly received, and data redundancy is avoided.
The preset set communication rule at least comprises the next-level node server of each node server in the data transmission process. Therefore, when each node server carries out a data transmission task, the next node server responsible for transmission can be determined according to the preset set communication rule, and then the data to be transmitted is only sent to the next node server. The number of next-level node servers of each node server may be the same or different. Specifically, the number of next-level node servers of one node server may be one, or may be multiple.
Further, in the specific implementation, the number of next-level node servers of different node servers may be flexibly set according to the network transmission bandwidth of each node server, and/or the specific performance parameters of each node server, and the like.
Of course, the preset aggregate communication rule may further include other information data such as a previous node server of each node server. The present specification is not limited to these.
It should also be noted that a plurality of different predefined aggregate communication rules may be included for a data processing network. Wherein, the starting node servers in the plurality of different preset aggregate communication rules may be different node servers in the data processing network respectively. Accordingly, each preset set communication rule may correspond to the starting node server in the preset set communication rule.
Specifically, each preset set communication rule may correspond to an identity of the start node server in the preset set communication rule (e.g., an IP address or a server number of the start node server, etc.).
Before specific implementation, the shopping website background data processing system may respectively use a plurality of different node servers in the data processing network as starting node servers according to the initialization instruction to generate a plurality of corresponding preset collective communication rules. Each node server in the data processing network may obtain and store the plurality of preset aggregate communication rules, respectively.
In this scenario example, when the second node server transmits the consensus information specifically through a preset transmission mode based on set communication, a preset set communication rule corresponding to identity matching may be found from a plurality of preset set communication rules according to its own identity (for example, a server number: 0 of the second node server) as the first target set communication rule. And determining the next level node server which is responsible for the first target set according to the communication rule of the first target set.
Specifically, as shown in fig. 3, the preset aggregate communication rule may specifically include an aggregate communication view represented in a graph. Based on the set communication view, it can be determined that the second node server (with the identity 0) is the starting node server, and the next node server which the second node server is responsible for docking only includes one node server, and the identity is 8, corresponding to the third node server.
Referring to fig. 4, according to the preset aggregate communication rule, the second node server may determine that the next node server is the third node server, and may send the generated consensus information to only the third node server in a targeted manner, without sending the consensus information to all node servers in the data processing network in sequence.
The third node server receives the consensus information sent by the second node server, and extracts the identity of the initial node server carried by the consensus information from the consensus information through data analysis, wherein the identity is as follows: and 0, determining that the initial node server of the data transmission process is the second node server. The third node server may determine the first target set communication rule as shown in fig. 3 from a plurality of preset set communication rules according to the identity of the initial node server. And determining the next level node server which is responsible for the third node server based on the target communication rule.
For example, referring to fig. 4, based on the above-mentioned aggregate communication view, it may be determined that the next-level node server to which the third node server is responsible for interfacing only includes two different node servers, and the identities are respectively 4 and 12, and respectively correspond to the fourth node server and the fifth node server.
Therefore, according to the first target set communication rule, the third node server may specifically send the received consensus information to only its next node server: a fourth node server and a fifth node server.
After receiving the consensus information sent by the third node server, the fourth node server and the fifth node server may send the received consensus information to their respective next node servers in a similar manner. So that the consensus information can be transmitted step by step. Therefore, the second node server does not need to separately and sequentially send the consensus information to each node server, the plurality of node servers are utilized to simultaneously and pointedly transmit the consensus information downwards step by step in the transmission mode, the plurality of node servers can be utilized to parallelly transmit the consensus information downwards at one time point, the transmission efficiency of the consensus information is improved, and the time consumption in the process of transmitting the consensus information is shortened. Meanwhile, each node server in the data processing network can be accurately covered based on the transmission mode, omission is avoided, and the node servers in the data processing network can receive the consensus information only once, so that repeated reception of the consensus information is avoided.
In this scenario, after receiving the consensus information and sending the consensus information to the next node server, each node server may automatically issue an acknowledgement message to the outside to indicate that it has received the consensus information and complete transmission of the consensus information. Meanwhile, the node server can quit the transmission task of the current consensus information.
The node servers of the data processing network may count the number of node servers that issued the acknowledgement message indicating that the consensus message was received within a preset time period threshold (e.g., 1 minute) with a time point when the consensus message was sent from the second node server as a start time. And comparing the number with a preset number to determine whether the node servers with the number larger than or equal to the preset number receive the consensus information within a preset time period threshold. And under the condition that the node servers with the number greater than or equal to the preset number receive the consensus information within the preset time period threshold, determining to achieve consensus and finishing the consensus operation.
The preset number may be specifically determined according to the consensus rule based on the preset number. The consensus rule may specifically include a federation chain-based consensus algorithm, such as pbft (practical Byzantine Fault complete) or HotStuff. Specifically, in the present scenario example, the preset number may be 2/3 of the total number of node servers in the data processing network. Of course, the predetermined number listed above is only an illustrative example. In specific implementation, other numerical values can be selected as the preset number according to specific situations.
And then each node server in the data processing network can respectively perform corresponding transaction data processing according to the previously received transaction data processing request to obtain corresponding transaction data processing results, and the transaction data processing results obtained through respective processing are recorded in respective transaction book databases.
And under the condition that the node servers with the number larger than or equal to the preset number receive the consensus information within the preset time period threshold, the first node server performs corresponding transaction data processing according to the transaction data processing request, and can feed back the transaction data processing result to the client equipment sending the transaction data processing request after obtaining the transaction data processing result.
The client device receives the transaction data processing result fed back by the first node server and displays the transaction data processing result to the user. For example, a prompt message of "order placement and purchase success" or the like is presented to the user.
By the mode, time consumption in the process of transmitting the consensus information when the data processing network based on the block chain carries out transaction data processing can be effectively shortened, and the consensus operation can be completed more efficiently, so that the data processing efficiency of the background data processing system for the whole transaction data can be improved, the waiting time delay of a user can be shortened, and the use experience of the user can be improved.
In another example scenario, the first node server may also efficiently transmit the transaction data processing request to each node server in the data processing network by a preset transmission mode based on aggregate communications when broadcasting the transaction data processing request to the data processing network.
In specific implementation, the first node server may find, according to the identity of the first node server, a preset set communication rule corresponding to the first node server from the plurality of preset set communication rules as the second target set communication rule. And simultaneously, adding the identity of the first node server in the transaction data processing request to be transmitted.
Further, the first node server may determine, according to the second target set communication rule, a next-level node server of the first node server, for example, the following node servers are respectively: a sixth node server and a second node server. And then the transaction data processing request carrying the identity of the first node server is respectively sent to a sixth node server and a second node server.
After receiving the transaction data processing request, the sixth node server and the second node server may extract the identity of the first node server from the transaction data processing request, determine a second target set communication rule from a plurality of preset set communication rules according to the identity, further respectively determine a next node server of the sixth node server and a next node server of the second node server according to the second target set communication rule, and continuously send the transaction data processing request carrying the identity of the first node server to the next node server of the sixth node server and the next node server of the second node server in charge. According to the method, a plurality of node servers in the data processing network can participate in together and pointedly transmitting the transaction data processing request step by step until each node server in the data processing network receives the transaction data processing request, so that the broadcasting of the transaction data processing request is completed.
In this scenario example, the first node server may further detect a node server of the preset segment that does not receive the transaction data processing request, and separately resend the transaction data processing request for such node server, so that omission may be avoided, and each node server in the data processing network receives the transaction data processing request.
By the method, time consumption in the process of broadcasting the transaction data processing request to the node server in the data processing network can be effectively shortened, and the broadcast of the transaction data processing request is more efficiently transacted, so that the overall data processing efficiency of the background data processing system for the transaction data can be further improved, the waiting time delay of a user can be further shortened, and the use experience of the user can be improved. In addition, by the mode, the node servers which do not receive the transaction data processing requests can be found in time, the transaction data processing requests are retransmitted aiming at the node servers, and omission in the process of broadcasting the transaction data processing requests is avoided.
In another example scenario, for a case of a large transaction data processing amount, the background data processing system of the shopping website may receive a huge amount of transaction data processing requests sent by client devices of different users at all times.
For the above situation, in specific implementation, the received transaction data to be processed may be stored in a database of the system, for example, in a resource pool of the data processing network, so that the batch processing may be performed by an order receiving server in the data processing network in the following.
In specific processing, as shown in fig. 5, the first node server may retrieve a plurality of transaction data to be processed from a resource pool of the data processing network as the transaction data of the current batch, and generate a data processing request for the transaction data of the current batch. Further, the first node server may broadcast the data processing for the current batch of transaction data described above to a plurality of node servers in the data processing network.
The second node server may receive and respond to the data processing request, and generate consensus information corresponding to the data processing request, where the consensus information may carry an identity of the second node server.
Further, the second node server may efficiently transmit the consensus information to each node server in the data processing network through a preset transmission mode based on the set communication.
And determining to achieve consensus when the node servers in the data processing network receive the consensus information by at least a preset number of node servers within a preset time period. And each node server in the data processing network can process the transaction data in the current batch respectively according to the data processing request, and batch processing of the transaction data in the current batch is completed.
After processing the multiple transaction data of the current batch, the first node server may then retrieve the multiple transaction data from the remaining to-be-processed transaction data included in the resource pool as the transaction data of the new batch, and perform batch processing on the transaction data of the new batch according to the above manner.
By the method, a large amount of transaction data to be processed can be efficiently processed in batches, the TPS (transactionally Second) performance of data processing is improved, and the data processing efficiency is further improved.
Referring to fig. 6, an embodiment of the present disclosure provides a method for processing transaction data. When embodied, the method may include the following.
S601: the first node server receives a transaction data processing request sent by the client device and broadcasts the transaction data processing request to a preset data processing network.
In some embodiments, the method may be applied to a preset data processing network or a data processing system when implemented. Wherein the preset data processing network comprises a plurality of interconnected node servers.
In some embodiments, the predetermined data processing network may specifically include a data processing network based on a block chain. Wherein, the node servers included in the preset data processing network can be understood as processing nodes in the blockchain. The plurality of node servers may perform specific data processing, respectively.
In some embodiments, in implementation, any node server in the preset data processing network may be used as the first node server to receive the transaction data processing request sent by the client device, and broadcast the transaction data processing request to the preset data processing network, so that each node server in the preset data processing system receives the transaction data processing request.
In some embodiments, the transaction data may specifically include data related to a transaction process. Specifically, for example, the transaction data may be order data, commodity data, payment data for paying an order, or the like. Of course, the above listed transaction data is only an illustrative illustration. In specific implementation, the transaction data may further include data of other contents according to a specific transaction scenario. The present specification is not limited to these.
In some embodiments, it is also necessary to supplement that the above method can be used for processing other types of data than transaction data according to specific application scenarios and processing requirements. For example, in the scenario of identity information verification, the above method may also be used to respond to an identity data verification request, and perform data processing related to an identity verification process on the identity verification data, such as a password and a fingerprint, input by the user. For another example, in the gene detection scenario, the method described above may be used to respond to a gene detection request, and perform data processing related to a gene detection process on gene data provided by a user, and so on.
S602: and a second node server in the plurality of node servers receives and responds to the transaction data processing request, generates consensus information aiming at the transaction data processing request, and transmits the consensus information to a node server in a preset data processing network in a preset transmission mode based on set communication.
In some embodiments, before the preset data processing network performs the corresponding transaction data processing according to the transaction data processing request, it is further required to perform a consensus operation based on the relevant consensus rule (or consensus protocol), and in case of achieving the consensus, the specific transaction data processing can be performed. The consensus rule may specifically include a consensus algorithm based on a federation chain, such as pbft (practical Byzantine Fault complete) or Hot Stuff. Of course, the above-listed consensus rules are only illustrative. In specific implementation, other consensus rules can be selected and used according to specific situations. The present specification is not limited to these.
In some embodiments, the second node server may specifically include a node server that initiates a consensus operation in a preset data processing network. Specifically, the second node server may be a master node server in a preset data processing network, or may be any node server in the preset data processing network.
In some embodiments, when implemented, the second node server may initiate the consensus operation by: and generating consensus information carrying the identity of the second node server, and transmitting the consensus information to a node server in a preset data processing network. And the consensus information carries the identity of the second node server initiating the consensus operation.
In some embodiments, the identity may specifically include identification information capable of indicating the node servers and corresponding to the node servers one to one. Specifically, the identity may be an IP address of the node server, a server number of the node server, a name of the node server, or the like. Of course, the above listed identification is only an illustrative example. In specific implementation, the identification may further include other types of identification information according to specific situations and processing needs. The present specification is not limited to these.
In some embodiments, according to the consensus rule, when the second node server initiates the consensus operation, at least a predetermined number of node servers in the predetermined data processing network need to receive the consensus information before achieving the consensus. The preset number can be determined according to a consensus rule. Specifically, the preset number may be 2/3 of the total number of node servers in the preset data processing network, or may be the total number of node servers in the preset data processing network, and the like. Of course, the predetermined number listed above is only an illustrative example. In specific implementation, the preset number may further include other values according to specific situations and used consensus rules. The present specification is not limited to these.
In some embodiments, when initiating the consensus operation, the second node server may transmit the consensus information to a node server in a preset data processing network through a preset transmission mode based on the set communication.
In some embodiments, the preset transmission method based on aggregate communication may specifically include a transmission mode in which a plurality of node servers included in a preset data processing network are divided into a plurality of transmission levels according to a preset aggregate communication rule, and then the plurality of node servers are purposefully introduced step by step to participate in a data transmission task according to the preset aggregate communication rule, so as to perform point-to-point data transmission step by step among the plurality of node servers in the preset data processing network.
In some embodiments, specifically, by using the preset transmission mode based on the set communication, each node server in the data processing network only needs to receive data sent by a previous node server determined based on a preset set communication rule, and only needs to send the received data to one or more next node servers determined based on the preset set communication rule, so that the data transmission task for which the node server is responsible can be completed. Thus, for each node server, the received data does not need to be sent to all the node servers in the preset data processing network at the same time without distinction.
In some embodiments, the preset aggregate communication rule may specifically include a rule that is generated in advance, where a certain node server (or certain node servers) is used as an initial node server in the data transmission process, a plurality of node servers included in the preset data processing network are divided into a plurality of data transmission hierarchies, and the rule includes a next node server to which each node server is connected and a data transmission task in charge.
In this embodiment, the preset aggregate communication rule may cover each node server in the preset data processing network, and no omission occurs. In addition, each node server except the initial node server in the preset data processing network only receives data once in the data processing process, the same data cannot be repeatedly received, and data redundancy is avoided.
In this embodiment, the preset aggregate communication rule at least includes the next node server of each node server in the data transmission process. Therefore, when each node server carries out the responsible data transmission task, the next node server responsible for transmission can be determined according to the preset aggregate communication rule, and then the data to be transmitted is only sent to the next node server. The number of next-level node servers of each node server may be the same or different. Specifically, the number of next-level node servers of one node server may be one, or may be multiple.
In some embodiments, in the process of specifically generating the preset aggregate communication rule, the number of next-level node servers of different node servers may be flexibly set according to the network transmission bandwidth of each node server, and/or specific performance parameters of each node server, and the like. For example, a node server has a wide network transmission bandwidth and can simultaneously support data transmission for five different node servers, and a node server next to the node server may include a relatively large number of node servers. For example, the next-level node server of the node server may include 5 node servers, so that the network transmission bandwidth of the node server may be fully utilized, and the overall data transmission efficiency of the preset data processing network may be improved.
Of course, the preset collective communication rule may further include other information data such as a previous node server of each node server. The present specification is not limited to these.
In some embodiments, a plurality of different preset aggregate communication rules may be included for one preset data processing network. The starting node servers in the plurality of different preset aggregate communication rules may be different node servers in the preset data processing network, respectively. Accordingly, each preset set communication rule may correspond to the starting node server (or the identity of the starting node server) in the preset set communication rule.
In some embodiments, before the implementation, a plurality of preset collective communication rules may be generated by respectively using a plurality of different node servers in a preset data processing network as starting node servers according to the initialization instruction. Each node server in the data processing network may obtain and store the plurality of preset aggregate communication rules, respectively.
In some embodiments, the preset aggregate communication rule may be specifically represented in a form of a graph, for example, may be an aggregate communication view. The preset collective communication rule may be expressed in other forms such as a table. Of course, the above-listed representation is only a schematic illustration. In specific implementation, the preset aggregate communication rule may also be represented in other forms according to specific situations and processing needs.
In some embodiments, in specific implementation, the second node server may first find, according to the identity of the second node server, a preset aggregation communication rule that matches the identity of the second node server from the plurality of preset aggregation communication rules as the first target aggregation communication rule. The second node server may determine a next-level node server of the second node server according to the first target set communication rule, and transmit only the consensus information to the next-level node server of the second node.
In some embodiments, after receiving the consensus information, the next-level node server of the second node may extract an identity of the second node server from the consensus information, and determine the first target set communication rule from the plurality of preset set communication rules according to the identity. And then, according to the first target set communication rule, determining the own next-level node server, and further only continuously transmitting the consensus information to the own next-level node server to complete the transmission task for which the own node server is responsible.
According to the mode, different nodes in the preset data processing network can gradually participate in the transmission engineering of the consensus information, the consensus information transmitted by the previous stage is received, the consensus information is transmitted to the next-stage node server of the node according to the preset set communication rule, and the transmission task of the node in charge of the node is completed, so that different node servers can be continuously introduced to participate in the transmission of the consensus information, the consensus information is transmitted to the node servers in the preset data processing network step by step in a parallel transmission mode, the data amount transmitted in unit time is increased, the transmission efficiency of the consensus information is improved, and the time consumption in the transmission process of the consensus information is shortened. Meanwhile, the consensus information is transmitted according to the preset set communication rule, so that each node server in the preset data processing network can be covered accurately, and omission is avoided. Moreover, each node server only receives the consensus information once, but does not receive the consensus information for many times, so that repeated reception of the consensus information is avoided.
In some embodiments, the node server may exit the transfer after completing the responsible transfer task. Confirmation information may be generated and externally issued to indicate that the consensus information has been received and/or transmitted to the next-level node server.
S603: under the condition that at least a preset number of node servers receive the consensus information, the node servers in the preset data processing network perform corresponding transaction data processing according to the transaction data processing request to obtain a corresponding transaction data processing result; and the first node server feeds back the transaction data processing result to the client equipment.
In some embodiments, after the second node service initiates the consensus operation, when the node server in the preset data processing network is implemented, the number of the node servers receiving the consensus information may be counted. And comparing the number with a preset number to determine whether the node servers with the number larger than or equal to the preset number receive the consensus information. And under the condition that the node servers with the number larger than or equal to the preset number receive the consensus information, the consensus can be determined to be achieved, and the consensus operation is completed.
In some embodiments, in the case that it is determined that only less than a preset number of node servers receive the consensus information, it is determined that no consensus is achieved. At this time, the second node server may reinitiate the consensus operation, and transmit the consensus information to the node server in the preset data processing network again through the preset transmission mode based on the set communication.
In some embodiments, in implementation, the time period that the node server in the data processing network can tolerate to receive the consensus information may also be set as the preset time period threshold according to specific situations and precision requirements.
Correspondingly, the determining that at least a preset number of node servers receive the consensus information may include: and determining that at least a preset number of node servers receive the consensus information within a preset time period threshold. In this way, in a specific implementation, the preset time period threshold may be used as a cut-off reference, and whether the consensus is achieved is determined by detecting whether the consensus information is received by node servers greater than or equal to the preset number within the preset time period threshold. If the number of the node servers receiving the consensus information is detected to be smaller than the preset number after exceeding the preset time period threshold, it can be judged that no consensus is achieved, and then other node servers do not wait for receiving the consensus information, so that the overall data processing efficiency can be improved.
In some embodiments, after the second node server initiates the consensus operation, when a preset node server in the data processing network is implemented, the time point when the second node server sends the consensus information may be used as the starting time, and the number of the node servers receiving the consensus information within a preset time period threshold may be counted. And comparing the number with a preset number to determine whether the node servers with the number larger than or equal to the preset number receive the consensus information within a preset time period threshold. And under the condition that the node servers with the number greater than or equal to the preset number receive the consensus information within the preset time period threshold, the consensus can be determined to be achieved, and the consensus operation is completed.
The preset time period threshold may be specifically determined according to a used consensus rule and the like. Specifically, the preset time period threshold may be 1 minute, 1 hour, or the like. The specific duration of the preset time period threshold is not limited in the present specification.
In some embodiments, when it is determined that at least a preset number of node servers receive the consensus information within a preset time period threshold, and a consensus is achieved, the node servers in the preset data processing network may perform corresponding transaction data processing according to the transaction data processing request to obtain a corresponding transaction data processing result. After obtaining the corresponding transaction data processing result, each node server may record the obtained transaction data processing result in a respective distributed transaction ledger database. The preset data processing network can complete data processing aiming at transaction data in a distributed processing mode.
In some embodiments, the first node server may send the transaction data processing result to the client device after obtaining the corresponding transaction data processing result. In turn, the client device may receive and present to the user a corresponding transaction data processing result.
In this embodiment, after the second node server initiates a consensus operation for the transaction data processing request and generates corresponding consensus information, a preset transmission mode based on aggregate communication is adopted to transmit the consensus information to each node server in a preset data processing network, so that each node server in the preset data processing network can perform corresponding transaction data processing according to the transaction data processing request under the condition that consensus is achieved when at least a preset number of node servers receive the consensus information within a preset time period threshold. Therefore, the post market in the process of transmitting the consensus information can be effectively shortened, the transmission efficiency of the consensus information is improved, the processing of transaction data can be efficiently completed, the waiting time delay of a user is reduced, and the use experience of the user is improved.
In some embodiments, in a case that it is determined that only less than a preset number of node servers receive the consensus information within a preset time period threshold, the consensus cannot be achieved. At this time, the second node server may reinitiate the consensus operation, and transmit the consensus information to the node server in the preset data processing network again through the preset transmission mode based on the set communication.
In some embodiments, the second node server may also obtain and determine, according to the confirmation information externally issued by the node server, a node server that does not receive the consensus information from a preset data processing network, and send the consensus information separately for such node servers until it is determined that the number of node servers that receive the consensus information is greater than or equal to a preset number, so as to achieve consensus and the like.
In some embodiments, in a case that it is determined that at least a preset number of node servers receive the consensus information within a preset time period threshold, and it is determined that the consensus is achieved, in implementation, the second node server may send a reset instruction for the node server that has not received the consensus information. The node server which has not received the consensus information can quit the transmission in advance and does not perform the transmission task any more. Therefore, unnecessary data processing amount can be effectively reduced, and the overall processing performance of the preset data processing network is improved.
Certainly, when it is determined that at least a preset number of node servers receive the consensus information within the preset time period threshold and it is determined that the consensus is achieved, the second node server may not send a reset instruction in the specific implementation, and allows the consensus information to be continuously transmitted step by step in the preset data processing network.
In some embodiments, the second node server generates consensus information for the transaction data processing request, and transmits the consensus information to a node server in a preset data processing network in a preset transmission manner based on collective communication, and the specific implementation may include the following: generating consensus information aiming at the transaction data processing request, wherein the consensus information carries an identity of a second node server; determining a first target set communication rule matched with the identity identifier of a second node server from a plurality of preset set communication rules according to the identity identifier of the second node server, wherein the second node server is used as an initial node server in the data transmission process in the first target set communication rule, and the first target set communication rule at least comprises a next-stage node server in the data transmission process of each node server in the preset data processing network; and determining a next-level node server of the second node server according to the first target set communication rule, and sending the consensus information to the next-level node server of the second node server.
In some embodiments, the next-level node server of the second node server includes a third node server, and accordingly, when the method is implemented, the method may further include the following steps: the third node server receives the consensus information and obtains the identity of the second node server according to the consensus information; according to the identity of the second node server, determining a first target set communication rule matched with the identity of the second node server from a plurality of preset set communication rules; and determining a next-level node server of the third node server according to the first target set communication rule, and sending the consensus information to the next-level node server of the third node server. Thereby completing the transport task for which the third node server is responsible.
In some embodiments, the next-level node server of the second node server may further include a plurality of node servers. For example, the next-level node server of the second node server may further include: a third node server, a fourth node server, and a fifth node server, and so on. Correspondingly, when the fourth node server and the fifth node server are implemented specifically, the consensus information may be transmitted to the respective next-level node server by referring to the processing mode of the third node server, so as to complete the transmission task for each.
In some embodiments, in a specific implementation, in the above manner, other node servers except the second node server in the preset data processing network may be continuously introduced to participate in the transmission of the consensus information, so as to complete the responsible transmission task, and thus, the consensus information may be continuously transmitted to the plurality of node servers in the preset data processing network step by step.
In some embodiments, the preset aggregation communication rules may specifically include a plurality of pre-generated aggregation communication rules that use different node servers as starting node servers in a data transmission process, where each of the preset aggregation communication rules may correspond to an identity of the starting node server. Therefore, in specific implementation, the corresponding first target set communication rule may be matched from the plurality of preset set communication rules according to the identity of the start node server.
In some embodiments, the first node server broadcasts the transaction data processing request to a preset data processing network, and the implementation may include the following: and the first node server transmits the transaction data processing request to a node server in a preset data processing network through a preset transmission mode based on the set communication. Therefore, the time consumed in the process of transmitting the transaction data processing request to the node server in the preset data processing network by the first node server can be shortened, the overall processing efficiency is further improved, and the waiting time delay of the user is further shortened.
In some embodiments, the first node server transmits the transaction data processing request to a node server in a preset data processing network through a preset transmission mode based on set communication, and the specific implementation may include the following: the method comprises the steps that a first node server determines a second target set communication rule matched with an identity of the first node server from a plurality of preset set rules according to the identity of the first node server, wherein the second target set communication rule takes the first node server as an initial node server in a data transmission process, and the first target set communication rule at least comprises a next-stage node server of each node server in a preset data processing network in the data transmission process; and determining a next-level node server of the first node server according to the second target set communication rule, and sending a transaction data processing request carrying the identification information of the first node server to the next-level node server of the first node server.
In some embodiments, after receiving the transaction data processing request, the next-level node server of the first node server may determine, according to the identity of the first node server carried in the transaction data processing request, a second target set communication rule from a plurality of preset set communication rules, determine, according to the second target set communication rule, the next-level node server of itself, and send the transaction data processing request to the next-level node server of itself. And completing the transmission task for which the user is responsible.
Other node servers in the preset data processing network can determine and transmit the received transaction data processing request to the next node server according to the second target set communication rule according to the mode so as to complete the responsible transmission task. Therefore, a plurality of node servers in a preset data processing network can be introduced to participate in the transmission of the transaction data processing request, the data transmission amount in unit time is increased, the transmission efficiency of the transaction data processing request is effectively improved, the time consumption for broadcasting the transaction data processing request is shortened, and the waiting time delay of a user is further shortened.
In some embodiments, after determining a next-level node server of the first node server according to the second target set communication rule, and sending the transaction data processing request carrying the identification information of the first node server to the next-level node server of the first node server, the method may further include the following steps: detecting whether a plurality of node servers included in the preset data processing network receive the transaction data processing request or not; and under the condition that the plurality of node servers included in the preset data processing network are determined to receive the transaction data processing request, determining to finish broadcasting to the preset data processing network.
In some embodiments, the broadcast of the transaction data processing request is different from the transmission of the consensus information, which typically requires that the transaction data processing request is transmitted to each node server in a predetermined data processing network.
In some embodiments, in implementation, when it is determined that not all node servers receive the transaction data processing request within the preset time period threshold, the second node server may rebroadcast the transaction data processing request, and retransmit the transaction data processing request to a node server in a preset data processing network by using a preset transmission mode based on aggregate communication.
In some embodiments, the second node server may also obtain and determine, according to a data processing network preset by the node server, a node server that has not received the transaction data processing request, and send the transaction data processing request separately for such node servers until it is determined that a plurality of node servers in the preset data processing network receive the transaction data processing request.
In some embodiments, the predetermined data processing network may specifically include a blockchain-based data processing network. It should be understood, of course, that the above listed data processing network based on block chains is only a schematic illustration. In specific implementation, the method may also be applied to other types of distributed data processing networks (or data processing systems) according to specific application scenarios and processing requirements.
As can be seen from the above, in the transaction data processing method provided in this specification, after the second node server responds to the received transaction data processing request, initiates a consensus operation for the transaction data processing request, and generates corresponding consensus information, the second node server transmits the consensus information to each node server in the preset data processing network in a preset transmission manner based on aggregate communication, so that, when a consensus is achieved when at least a preset number of node servers receive the consensus information within a predetermined time period threshold, each node server in the preset data processing network can perform corresponding transaction data processing according to the transaction data processing request, thereby effectively improving the transmission efficiency of the consensus information, reducing the time consumption of the transmission process of the consensus information, and further efficiently completing the transaction data processing, the waiting time delay of the user is shortened, and the use experience of the user is improved; and when the transaction data processing request is broadcasted, the transaction data processing request is transmitted to each node server in the preset data processing network by adopting a preset transmission mode based on the set communication, so that the transmission efficiency of the transaction data processing request can be improved, the time consumption of the broadcasting process is reduced, the overall processing efficiency of the transaction data processing is further improved, and the waiting delay of a user is further shortened.
The embodiment of the specification also provides a transaction data processing method. Wherein the method may be applied to the first node server. In particular implementations, the method may include the following.
S1: receiving a transaction data processing request sent by client equipment, and broadcasting the transaction data processing request to a preset data processing network; the preset data processing network comprises a plurality of node servers, wherein a second node server in the node servers receives and responds to the transaction data processing request, generates consensus information aiming at the transaction data processing request, and transmits the consensus information to the node servers in the preset data processing network in a preset transmission mode based on set communication.
S2: and under the condition that at least a preset number of node servers receive the consensus information, performing corresponding transaction data processing according to the transaction data processing request to obtain a corresponding transaction data processing result, and feeding back the transaction data processing result to the client equipment.
In some embodiments, the first node server may specifically include a node server in a preset data processing network that is docked with the client device, or any node server in the preset data processing network that receives a transaction data processing request from the client device.
The embodiment of the specification also provides a transaction data processing method. Wherein the method may be applied to the second node server. In particular implementations, the method may include the following.
S1: and receiving and responding to a transaction data processing request, and generating consensus information aiming at the transaction data processing request, wherein the consensus information carries an identity of a second node server.
S2: and transmitting the consensus information to node servers in a preset data processing network in a preset transmission mode based on collective communication, wherein the preset data processing network comprises a plurality of node servers, and the plurality of node servers in the preset data processing network perform corresponding transaction data processing according to the transaction data processing request under the condition that at least a preset number of node servers receive the consensus information.
In some embodiments, the second node server may specifically include a node server that initiates a consensus operation. The second node server may be a main server in a preset data processing network, or may be any one node server in the preset data processing network.
In some embodiments, the transmitting the consensus information to the node server in the preset data processing network by the preset transmission mode based on the set communication may include the following steps: determining a preset set communication rule matched with the identity of the second node server from a plurality of preset set communication rules as a first target set communication rule according to the identity of the second node, wherein the first target set communication rule takes the second node server as an initial node server in the data transmission process, and the first target set communication rule at least comprises a next-level node server of each node server in the preset data processing network in the data transmission process; and determining a next-level node server according to the first target set communication rule, and sending the consensus information to the next-level node server.
In some embodiments, the sending of the consensus information to the next-level node server may be implemented as follows: detecting whether a plurality of node servers included in the preset data processing network receive the transaction data processing request or not; and under the condition that a plurality of node servers included in the preset data processing network are determined to receive the transaction data processing request, sending the consensus information to the next-level node server.
In some embodiments, when it is determined that at least a preset number of node servers in the preset data processing network receive the consensus information, the multiple node servers perform corresponding transaction data processing according to the transaction data processing request, and the specific implementation may include: and under the condition that at least a preset number of node servers in the preset data processing network receive the consensus information within a preset time period threshold, carrying out corresponding transaction data processing according to the transaction data processing request.
The embodiment of the specification also provides a transaction data processing method. The method can be applied to any other node server except the first node server and the second node server in a preset data processing network. In particular implementations, the method may include the following.
S1: a transaction data processing request is received.
S2: and receiving the consensus information sent by the upper-level node server.
S3: and extracting the identity of the starting node from the consensus information, and determining a matched first target set communication rule from a plurality of preset set communication rules according to the identity of the starting node.
S4: and determining a next-level node server according to the first target set communication rule, and sending the consensus information to the next node server.
In some embodiments, after sending the consensus information to the next node server, when the method is implemented, the following may be further included: and under the condition that at least a preset number of node servers receive the consensus information, performing corresponding transaction data processing according to the transaction data processing request.
In some embodiments, in the above manner, when it is determined that at least a preset number of node servers receive the consensus information, consensus is achieved, and then each node server in the preset data processing network may perform corresponding transaction data processing according to the transaction data processing request, and record a transaction data processing result obtained by the processing in a respective transaction ledger database. The preset data processing network can complete the data processing of the transaction data in a distributed processing mode.
In some embodiments, the determining that at least a preset number of node servers receive the consensus information may include: and determining that at least a preset number of node servers receive the consensus information within a preset time period threshold.
Referring to fig. 7, an embodiment of the present specification further provides a data processing method. The method may be embodied as follows.
S701: and generating target data, wherein the target data carries the identity of the initial processing node.
S702: and according to the identity, determining a first target set communication rule matched with the identity from a plurality of preset set communication rules.
S703: and determining a next-level processing node from a plurality of processing nodes included in a preset data processing network according to the first target set communication rule, and sending the target data to the next-level processing node.
In some embodiments, the target data may specifically be consensus information, or may also be a data processing request, or the like. The data processing request may specifically be a transaction data processing request in a transaction scenario, or may also be a processing request corresponding to other types of data in other application scenarios. In particular implementation, the target data may also include other types or contents of data according to specific situations. For example, authentication data, key data, and the like are also possible. The present specification is not limited to these.
In some embodiments, referring to fig. 8, the method described above may be applied to a predetermined initial processing node in a data processing network (or data processing system). Specifically, the starting processing node may be a processing node that initiates a consensus operation, a processing node that broadcasts a transaction data processing request, a processing node that initiates identity authentication, or the like. The predetermined data processing network may specifically include a plurality of processing nodes, for example, including N different processing nodes.
In some embodiments, the processing node may specifically include a preset processing unit capable of performing some specific data processing in the data processing network. Specifically, the processing node may be an electronic device such as a server, or may be a processing module or a program running in the electronic device.
In some embodiments, the predetermined data processing network may specifically include a blockchain-based data processing network. It should be understood, of course, that the above listed data processing network based on block chains is only a schematic illustration. In specific implementation, the method may also be applied to other types of distributed data processing networks (or data processing systems) according to specific application scenarios and processing requirements.
In some embodiments, the identity of the starting processing node may specifically include identification information corresponding to the starting processing node and capable of indicating the starting processing node. Specifically, the identifier of the starting processing node may include a node number of the starting processing node, an address parameter of the starting processing node, a node name of the starting processing node, and the like.
In some embodiments, after the originating processing node generates the target data, the first target set communication rule may be determined in the above manner, and then the target data may be efficiently transmitted to the processing node in the preset data processing network according to the first target set communication rule.
In some embodiments, after determining a next-stage processing node according to the first target set communication rule and sending the target data to the next-stage processing node, when the method is implemented, the following may be further included: detecting whether the number of processing nodes receiving the target data is greater than or equal to a preset number; and under the condition that the number of the processing nodes receiving the target data is determined to be smaller than the preset number, retransmitting the target data according to the first target set communication rule.
In some embodiments, the detecting whether the number of processing nodes that receive the target data is greater than or equal to a preset number may include: detecting whether the number of processing nodes receiving the target data within a preset time period threshold is greater than or equal to a preset number.
In some embodiments, according to a specific processing rule, the number of processing nodes of the target data that needs to be received within a preset time period threshold is greater than or equal to a preset processing, and only if the processing condition is satisfied, the subsequent corresponding data processing is performed.
The preset number may be specifically determined according to a processing rule. The processing rule may include a consensus rule or the like. Of course, the above-listed consensus rules are only illustrative. In particular, other types of processing rules may be used depending on the particular application scenario. The present specification is not limited to these.
In some embodiments, in a case where it is determined that the number of processing nodes that receive the target data within a preset time period threshold is less than the preset number, it may be determined that a processing condition has not been currently satisfied, and at this time, the target data may be retransmitted according to the first target set communication rule.
In some embodiments, in a case where it is determined that the number of processing nodes that receive the target data within the preset time period threshold is less than the preset number, it is also possible to find a processing node that does not receive the target data from a preset data processing network and to separately transmit the target data for such processing nodes until the number of processing nodes that receive the target data is greater than or equal to the preset number.
In some embodiments, in a case that it is determined that the number of processing nodes that receive the target data within the preset time period threshold is greater than or equal to the preset number, it may be determined that the processing condition is currently satisfied, and at this time, each processing node in the preset data processing network may perform corresponding data processing, respectively.
In some embodiments, after detecting whether the number of processing nodes that receive the target data within the preset time period threshold is greater than or equal to the preset number, when the method is implemented, the following may be further included: under the condition that the number of processing nodes receiving the target data within a preset time period threshold is determined to be greater than or equal to the preset number and smaller than the total number of a plurality of processing nodes included in a preset data processing network, determining the processing nodes which do not complete transmission currently; and generating and sending a reset instruction to the processing node which does not finish transmission, wherein the reset instruction is used for indicating the processing node to quit the transmission process of the target data.
In some embodiments, the preset aggregation communication rules may specifically include a plurality of pre-generated aggregation communication rules that use different processing nodes as initial processing nodes in a data transmission process, where each of the preset aggregation communication rules corresponds to an identity of the initial processing node.
In some embodiments, the processing node may specifically include a node server and the like.
In some embodiments, the preset data processing network may specifically include a data processing network based on a block chain, and the like.
As can be seen from the above, the data processing method provided in the embodiments of the present specification performs point-to-point data transmission in the foregoing manner, so that the transmission efficiency of target data can be effectively improved, and further, corresponding data processing can be completed more efficiently.
The embodiment of the present specification further provides a data processing method, which may be specifically applied to other processing nodes in a preset data processing network except for a starting processing node. The method may be embodied as follows.
S1: and receiving the target data sent by the upper-level processing node.
S2: and extracting the identity of the initial processing node from the target data.
S3: and determining a matched first target set communication rule from a plurality of preset set communication rules according to the identity of the initial processing node.
S4: and determining a next-stage processing node according to the first target set communication rule, and sending the target data to the next-stage processing node.
In some embodiments, after sending the target data to the next-stage processing node, when the method is implemented, the following may be further included: and broadcasting acknowledgement information to the outside, wherein the acknowledgement information is used for indicating that the target data is received and/or completing the transmission of the target data.
In some embodiments, subsequently, when determining whether the processing condition is met, the processing node that receives the target data may be obtained and determined according to the confirmation information broadcasted by the processing node to the outside, and statistics is performed to determine whether the number of the processing nodes that receive the target data is greater than or equal to a preset number, so that it can be determined more accurately whether the processing condition is met currently.
Embodiments of the present specification further provide a server, including a processor and a memory for storing processor-executable instructions, where the processor, when implemented, may perform the following steps according to the instructions: generating target data, wherein the target data carries an identity of an initial processing node; according to the identity, determining a first target set communication rule matched with the identity from a plurality of preset set communication rules; and determining a next-level processing node from a plurality of processing nodes included in a preset data processing network according to the first target set communication rule, and sending the target data to the next-level processing node.
In order to more accurately complete the above instructions, referring to fig. 9, another specific server is provided in the embodiments of the present specification, where the server includes a network communication port 901, a processor 902, and a memory 903, and the above structures are connected by an internal cable, so that the structures may perform specific data interaction.
The processor 902 may be specifically configured to generate target data, where the target data carries an identity of an initial processing node; according to the identity, determining a first target set communication rule matched with the identity from a plurality of preset set communication rules; and determining a next-level processing node from a plurality of processing nodes included in a preset data processing network according to the first target set communication rule. The network communication port 901 may be specifically configured to send the target data to the next-stage processing node. The memory 903 may be specifically configured to store a corresponding instruction program.
In this embodiment, the network communication port 901 may be a virtual port that is bound to different communication protocols, so that different data can be sent or received. For example, the network communication port may be port No. 80 responsible for web data communication, port No. 21 responsible for FTP data communication, or port No. 25 responsible for mail data communication. In addition, the network communication port can also be a communication interface or a communication chip of an entity. For example, it may be a wireless mobile network communication chip, such as GSM, CDMA, etc.; it can also be a Wifi chip; it may also be a bluetooth chip.
In this embodiment, the processor 902 may be implemented in any suitable manner. For example, the processor may take the form of, for example, a microprocessor or processor and a computer-readable medium that stores computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, an embedded microcontroller, and so forth. The description is not intended to be limiting.
In this embodiment, the memory 903 may include multiple layers, and in a digital system, the memory may be any memory as long as binary data can be stored; in an integrated circuit, a circuit without a physical form and with a storage function is also called a memory, such as a RAM, a FIFO and the like; in the system, the storage device in physical form is also called a memory, such as a memory bank, a TF card and the like.
The present specification further provides a computer storage medium based on the above data processing method, where the computer storage medium stores computer program instructions, and when the computer program instructions are executed, the computer storage medium implements: generating target data, wherein the target data carries an identity of an initial processing node; according to the identity, determining a first target set communication rule matched with the identity from a plurality of preset set communication rules; and determining a next-level processing node from a plurality of processing nodes included in a preset data processing network according to the first target set communication rule, and sending the target data to the next-level processing node.
In this embodiment, the storage medium includes, but is not limited to, a Random Access Memory (RAM), a Read-Only Memory (ROM), a Cache (Cache), a Hard disk (Hard disk drive, HDD), or a Memory Card (Memory Card). The memory may be used to store computer program instructions. The network communication unit may be an interface for performing network connection communication, which is set in accordance with a standard prescribed by a communication protocol.
In this embodiment, the functions and effects specifically realized by the program instructions stored in the computer storage medium can be explained by comparing with other embodiments, and are not described herein again.
Referring to fig. 10, in a software level, the embodiment of the present specification further provides a transaction data processing apparatus, which may specifically include the following structural modules.
The transceiving module 1001 may be specifically configured to receive a transaction data processing request sent by a client device, and broadcast the transaction data processing request to a preset data processing network; the preset data processing network comprises a plurality of node servers, wherein a second node server in the node servers receives and responds to the transaction data processing request, generates consensus information aiming at the transaction data processing request, and transmits the consensus information to the node servers in the preset data processing network in a preset transmission mode based on set communication;
the processing module 1002 may be specifically configured to, when it is determined that at least a preset number of node servers receive the consensus information, perform corresponding transaction data processing according to the transaction data processing request to obtain a corresponding transaction data processing result, and feed back the transaction data processing result to the client device.
It should be noted that, the units, devices, modules, etc. illustrated in the above embodiments may be implemented by a computer chip or an entity, or implemented by a product with certain functions. For convenience of description, the above devices are described as being divided into various modules by functions, and are described separately. It is to be understood that, in implementing the present specification, functions of each module may be implemented in one or more pieces of software and/or hardware, or a module that implements the same function may be implemented by a combination of a plurality of sub-modules or sub-units, or the like. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
As can be seen from the above, the transaction data processing apparatus provided in this specification transmits the consensus information to each node server in the preset data processing network in a preset transmission manner based on aggregate communication, so that each node server in the preset data processing network can perform corresponding transaction data processing according to the transaction data processing request under the condition that consensus is achieved when at least a preset number of node servers receive the consensus information within a predetermined time period threshold. Therefore, the transmission efficiency of the consensus information can be effectively improved, the transaction data can be efficiently processed, and the waiting time delay of the user is reduced.
The embodiment of the present specification further provides a data processing apparatus, which may specifically include the following structural modules.
The generating module may be specifically configured to generate target data, where the target data carries an identity of the starting processing node.
The determining module may be specifically configured to determine, according to the identity, a first target set communication rule that matches the identity from a plurality of preset set communication rules.
The sending module may be specifically configured to determine, according to the first target set communication rule, a next-stage processing node from a plurality of processing nodes included in a preset data processing network, and send the target data to the next-stage processing node.
In some embodiments, the apparatus may further include a detection module, which may be specifically configured to detect whether the number of processing nodes that receive the target data is greater than or equal to a preset number; and under the condition that the number of the processing nodes receiving the target data is determined to be smaller than the preset number, retransmitting the target data according to the first target set communication rule.
In some embodiments, when the detection module is implemented, the detection module may be further configured to determine a processing node that does not complete transmission currently when it is determined that the number of processing nodes that receive the target data is greater than or equal to the preset number and is less than the total number of the plurality of processing nodes included in a preset data processing network; and generating and sending a reset instruction to the processing node which does not finish transmission, wherein the reset instruction is used for indicating the processing node to quit the transmission process of the target data.
In some embodiments, the preset aggregation communication rules may specifically include a plurality of pre-generated aggregation communication rules that use different processing nodes as initial processing nodes in a data transmission process, where each of the preset aggregation communication rules corresponds to an identity of the initial processing node.
In some embodiments, the predetermined data processing network may comprise a blockchain-based data processing network or the like.
Although the present specification provides method steps as described in the examples or flowcharts, additional or fewer steps may be included based on conventional or non-inventive means. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. When an apparatus or client product in practice executes, it may execute sequentially or in parallel (e.g., in a parallel processor or multithreaded processing environment, or even in a distributed data processing environment) according to the embodiments or methods shown in the figures. The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the presence of additional identical or equivalent elements in a process, method, article, or apparatus that comprises the recited elements is not excluded. The terms first, second, etc. are used to denote names, but not any particular order.
Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may therefore be considered as a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
This description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, classes, etc. that perform particular tasks or implement particular abstract data types. The specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
From the above description of the embodiments, it is clear to those skilled in the art that the present specification can be implemented by software plus necessary general hardware platform. With this understanding, the technical solutions in the present specification may be essentially embodied in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a mobile terminal, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments in the present specification.
The embodiments in the present specification are described in a progressive manner, and the same or similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. The description is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable electronic devices, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
While the specification has been described with examples, those skilled in the art will appreciate that there are numerous variations and permutations of the specification that do not depart from the spirit of the specification, and it is intended that the claims include such variations and modifications that do not depart from the spirit of the specification.

Claims (27)

1. A method for processing transaction data, the method being applied to a preset data processing network, the preset data processing network comprising a plurality of node servers, the method comprising:
a first node server receives a transaction data processing request sent by client equipment and broadcasts the transaction data processing request to a preset data processing network;
a second node server in the plurality of node servers receives and responds to the transaction data processing request, generates consensus information aiming at the transaction data processing request, and transmits the consensus information to a node server in a preset data processing network in a preset transmission mode based on set communication;
under the condition that at least a preset number of node servers receive the consensus information, the node servers in the preset data processing network perform corresponding transaction data processing according to the transaction data processing request to obtain a corresponding transaction data processing result; and the first node server feeds back the transaction data processing result to the client equipment.
2. The method of claim 1, wherein the second node server generates consensus information for the transaction data processing request and transmits the consensus information to node servers in a preset data processing network through a preset transmission mode based on collective communication, and the method comprises the following steps:
generating consensus information aiming at the transaction data processing request, wherein the consensus information carries an identity of a second node server;
determining a first target set communication rule matched with the identity identifier of a second node server from a plurality of preset set communication rules according to the identity identifier of the second node server, wherein the second node server is used as an initial node server in the data transmission process in the first target set communication rule, and the first target set communication rule at least comprises a next-stage node server in the data transmission process of each node server in the preset data processing network;
and determining a next-level node server of the second node server according to the first target set communication rule, and sending the consensus information to the next-level node server of the second node server.
3. The method of claim 2, the next level of node servers of the second node server comprising a third node server, the method further comprising:
the third node server receives the consensus information and obtains the identity of the second node server according to the consensus information;
according to the identity of the second node server, determining a first target set communication rule matched with the identity of the second node server from a plurality of preset set communication rules;
and determining a next-level node server of the third node server according to the first target set communication rule, and sending the consensus information to the next-level node server of the third node server.
4. The method according to claim 2, wherein the preset aggregation communication rules include a plurality of pre-generated aggregation communication rules that use different node servers as the start node servers in the data transmission process, and each of the preset aggregation communication rules corresponds to an identity of the start node server.
5. The method of claim 1, the first node server broadcasting the transaction data processing request to a pre-provisioned data processing network, comprising:
and the first node server transmits the transaction data processing request to a node server in a preset data processing network through a preset transmission mode based on the set communication.
6. The method of claim 5, wherein the first node server transmits the transaction data processing request to a node server in a preset data processing network through a preset transmission mode based on the set communication, and the method comprises the following steps:
the method comprises the steps that a first node server determines a second target set communication rule matched with an identity of the first node server from a plurality of preset set rules according to the identity of the first node server, wherein the first node server serves as an initial node server in a data transmission process in the second target set communication rule, and the second target set communication rule at least comprises a next-stage node server in the data transmission process of each node server in a preset data processing network;
and determining a next-level node server of the first node server according to the second target set communication rule, and sending a transaction data processing request carrying the identification information of the first node server to the next-level node server of the first node server.
7. The method according to claim 6, after determining a next node server of the first node server according to the second target set communication rule, and sending the transaction data processing request carrying the identification information of the first node server to the next node server of the first node server, the method further comprising:
detecting whether a plurality of node servers included in the preset data processing network receive the transaction data processing request or not;
and under the condition that the plurality of node servers included in the preset data processing network are determined to receive the transaction data processing request, determining to finish broadcasting to the preset data processing network.
8. The method of claim 1, the pre-provisioned data processing network comprising a blockchain-based data processing network.
9. The method of claim 1, determining that at least a preset number of node servers receive the consensus information, comprising:
and determining that at least a preset number of node servers receive the consensus information within a preset time period threshold.
10. A method of processing transaction data, comprising:
receiving a transaction data processing request sent by client equipment, and broadcasting the transaction data processing request to a preset data processing network; the preset data processing network comprises a plurality of node servers, wherein a second node server in the node servers receives and responds to the transaction data processing request, generates consensus information aiming at the transaction data processing request, and transmits the consensus information to the node servers in the preset data processing network in a preset transmission mode based on set communication;
and under the condition that at least a preset number of node servers receive the consensus information, performing corresponding transaction data processing according to the transaction data processing request to obtain a corresponding transaction data processing result, and feeding back the transaction data processing result to the client equipment.
11. A method of processing transaction data, comprising:
receiving and responding to a transaction data processing request, and generating consensus information aiming at the transaction data processing request, wherein the consensus information carries an identity of a second node server;
and transmitting the consensus information to node servers in a preset data processing network in a preset transmission mode based on collective communication, wherein the preset data processing network comprises a plurality of node servers, and the plurality of node servers in the preset data processing network perform corresponding transaction data processing according to the transaction data processing request under the condition that at least a preset number of node servers receive the consensus information.
12. The method of claim 11, transmitting the consensus information to a node server in a predetermined data processing network via a predetermined transmission scheme based on collective communication, comprising:
determining a preset set communication rule matched with the identity of the second node server from a plurality of preset set communication rules as a first target set communication rule according to the identity of the second node, wherein the first target set communication rule takes the second node server as an initial node server in the data transmission process, and the first target set communication rule at least comprises a next-level node server of each node server in the preset data processing network in the data transmission process;
and determining a next-level node server according to the first target set communication rule, and sending the consensus information to the next-level node server.
13. The method of claim 12, sending the consensus information to the next level node server, comprising:
detecting whether a plurality of node servers included in the preset data processing network receive the transaction data processing request or not;
and under the condition that a plurality of node servers included in the preset data processing network are determined to receive the transaction data processing request, sending the consensus information to the next-level node server.
14. A method of processing transaction data, comprising:
receiving a transaction data processing request;
receiving consensus information sent by a previous-level node server;
extracting an identity of an initial node from the consensus information, and determining a matched first target set communication rule from a plurality of preset set communication rules according to the identity of the initial node;
and determining a next-level node server according to the first target set communication rule, and sending the consensus information to the next node server.
15. The method of claim 14, after sending the consensus information to a next node server, the method further comprising:
and under the condition that at least a preset number of node servers receive the consensus information, performing corresponding transaction data processing according to the transaction data processing request.
16. A method of data processing, comprising:
generating target data, wherein the target data carries an identity of an initial processing node;
according to the identity, determining a first target set communication rule matched with the identity from a plurality of preset set communication rules;
and determining a next-level processing node from a plurality of processing nodes included in a preset data processing network according to the first target set communication rule, and sending the target data to the next-level processing node.
17. The method of claim 16, after determining a next level processing node according to the first target set communication rules and sending the target data to the next level processing node, the method further comprising:
detecting whether the number of processing nodes receiving the target data is greater than or equal to a preset number;
and under the condition that the number of the processing nodes receiving the target data is determined to be smaller than the preset number, retransmitting the target data according to the first target set communication rule.
18. The method of claim 17, after detecting whether the number of processing nodes receiving the target data is greater than or equal to a preset number, the method further comprising:
determining a processing node which does not complete transmission currently under the condition that the number of the processing nodes receiving the target data is larger than or equal to the preset number and smaller than the total number of a plurality of processing nodes included in a preset data processing network;
and generating and sending a reset instruction to the processing node which does not finish transmission, wherein the reset instruction is used for indicating the processing node to quit the transmission process of the target data.
19. The method according to claim 16, wherein the preset aggregation communication rules include a plurality of pre-generated aggregation communication rules that use different processing nodes as initial processing nodes in the data transmission process, and each of the preset aggregation communication rules corresponds to an identity of the initial processing node.
20. The method of claim 16, the processing node comprising a node server.
21. The method of claim 16, the pre-provisioned data processing network comprising a blockchain-based data processing network.
22. A method of data processing, comprising:
receiving target data sent by a previous-stage processing node;
extracting the identity of the initial processing node from the target data;
determining a matched first target set communication rule from a plurality of preset set communication rules according to the identity of the initial processing node;
and determining a next-stage processing node according to the first target set communication rule, and sending the target data to the next-stage processing node.
23. The method of claim 22, after sending the target data to a next level processing node, the method further comprising:
and broadcasting acknowledgement information to the outside, wherein the acknowledgement information is used for indicating that the target data is received and/or completing the transmission of the target data.
24. A transaction data processing apparatus comprising:
the system comprises a receiving and sending module, a processing module and a processing module, wherein the receiving and sending module is used for receiving a transaction data processing request sent by client equipment and broadcasting the transaction data processing request to a preset data processing network; the preset data processing network comprises a plurality of node servers, wherein a second node server in the node servers receives and responds to the transaction data processing request, generates consensus information aiming at the transaction data processing request, and transmits the consensus information to the node servers in the preset data processing network in a preset transmission mode based on set communication;
and the processing module is used for performing corresponding transaction data processing according to the transaction data processing request under the condition that at least a preset number of node servers receive the consensus information to obtain a corresponding transaction data processing result, and feeding back the transaction data processing result to the client equipment.
25. A data processing apparatus comprising:
the generation module is used for generating target data, wherein the target data carries the identity of the initial processing node;
the determining module is used for determining a first target set communication rule matched with the identity identifier from a plurality of preset set communication rules according to the identity identifier;
and the sending module is used for determining a next-level processing node from a plurality of processing nodes included in a preset data processing network according to the first target set communication rule and sending the target data to the next-level processing node.
26. A computer readable storage medium having stored thereon computer instructions which, when executed, implement the steps of the method of any one of claims 16 to 21.
27. A server comprising a processor and a memory for storing processor-executable instructions which, when executed by the processor, implement the steps of the method of any one of claims 16 to 21.
CN202010619643.XA 2020-07-01 2020-07-01 Transaction data processing method and device, and data processing method and device Pending CN113298649A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010619643.XA CN113298649A (en) 2020-07-01 2020-07-01 Transaction data processing method and device, and data processing method and device
PCT/CN2021/102026 WO2022001810A1 (en) 2020-07-01 2021-06-24 Transaction data processing method and apparatus, and data processing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010619643.XA CN113298649A (en) 2020-07-01 2020-07-01 Transaction data processing method and device, and data processing method and device

Publications (1)

Publication Number Publication Date
CN113298649A true CN113298649A (en) 2021-08-24

Family

ID=77318113

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010619643.XA Pending CN113298649A (en) 2020-07-01 2020-07-01 Transaction data processing method and device, and data processing method and device

Country Status (2)

Country Link
CN (1) CN113298649A (en)
WO (1) WO2022001810A1 (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102884768A (en) * 2010-06-08 2013-01-16 日本电气株式会社 Communication system, control apparatus, packet capture method and program
CN105976231A (en) * 2016-06-24 2016-09-28 深圳前海微众银行股份有限公司 Asset management method based on intelligent block chain contracts and nodes
CN109150598A (en) * 2018-08-10 2019-01-04 上交所技术有限责任公司 A kind of BFT common recognition algorithm bandwidth utilization rate improved method based on block piece
CN109218181A (en) * 2018-10-30 2019-01-15 北京大米科技有限公司 A kind of method, apparatus and electronic equipment of data transmission
CN109345386A (en) * 2018-08-31 2019-02-15 阿里巴巴集团控股有限公司 Transaction common recognition processing method and processing device, electronic equipment based on block chain
CN110597905A (en) * 2019-08-20 2019-12-20 天津理工大学 Decentralized cluster control system based on block chain and working method
WO2019242508A1 (en) * 2018-06-20 2019-12-26 深圳市红砖坊技术有限公司 Blockchain system and routing method of routing node applied to blockchain system
WO2020098373A1 (en) * 2018-11-14 2020-05-22 阿里巴巴集团控股有限公司 Method and device for storing merchant authentication data into blockchain, and method and device for obtaining merchant authentication data from blockchain
CN111224822A (en) * 2020-01-03 2020-06-02 深圳鲲云信息科技有限公司 Node scheduling method, system, server and storage medium of data flow graph

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108521328B (en) * 2018-03-26 2020-08-28 杭州秘猿科技有限公司 Block chain consensus method and device and electronic equipment
US11263059B2 (en) * 2018-09-07 2022-03-01 International Business Machines Corporation Load leveler
CN110351133B (en) * 2019-06-28 2021-09-17 创新先进技术有限公司 Method and device for main node switching processing in block chain system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102884768A (en) * 2010-06-08 2013-01-16 日本电气株式会社 Communication system, control apparatus, packet capture method and program
CN105976231A (en) * 2016-06-24 2016-09-28 深圳前海微众银行股份有限公司 Asset management method based on intelligent block chain contracts and nodes
WO2019242508A1 (en) * 2018-06-20 2019-12-26 深圳市红砖坊技术有限公司 Blockchain system and routing method of routing node applied to blockchain system
CN109150598A (en) * 2018-08-10 2019-01-04 上交所技术有限责任公司 A kind of BFT common recognition algorithm bandwidth utilization rate improved method based on block piece
CN109345386A (en) * 2018-08-31 2019-02-15 阿里巴巴集团控股有限公司 Transaction common recognition processing method and processing device, electronic equipment based on block chain
CN109218181A (en) * 2018-10-30 2019-01-15 北京大米科技有限公司 A kind of method, apparatus and electronic equipment of data transmission
WO2020098373A1 (en) * 2018-11-14 2020-05-22 阿里巴巴集团控股有限公司 Method and device for storing merchant authentication data into blockchain, and method and device for obtaining merchant authentication data from blockchain
CN110597905A (en) * 2019-08-20 2019-12-20 天津理工大学 Decentralized cluster control system based on block chain and working method
CN111224822A (en) * 2020-01-03 2020-06-02 深圳鲲云信息科技有限公司 Node scheduling method, system, server and storage medium of data flow graph

Also Published As

Publication number Publication date
WO2022001810A1 (en) 2022-01-06

Similar Documents

Publication Publication Date Title
CN108768943B (en) Method and device for detecting abnormal account and server
CN110995513B (en) Data sending and receiving method in Internet of things system, internet of things equipment and platform
CN108600315B (en) Block link route processing method, device and storage medium
CN105577602A (en) Data pushing method and data pushing device based on open application programming interface
CN111597567B (en) Data processing method, data processing device, node equipment and storage medium
CN111698315B (en) Data processing method and device for block and computer equipment
CN108432277B (en) Apparatus, method for privacy protection
EP3817333A1 (en) Method, system, apparatus and device for processing request in alliance chain
CN111614761A (en) Block chain message transmission method, device, computer and readable storage medium
CN109120548B (en) Flow control method and device
CN113411404A (en) File downloading method, device, server and storage medium
CN107528854B (en) Connection method, system, client and server based on workload certification
CN113409047B (en) Data processing method, device and equipment based on block chain and readable storage medium
EP3301626A1 (en) Method, device, and system
CN108076149B (en) Session maintaining method and device
CN113852665A (en) File uploading method and device, electronic equipment, storage medium and program product
CN106487653B (en) Message processing method and server
JP5961471B2 (en) Output comparison method in multiple information systems
CN112200680A (en) Block link point management method, device, computer and readable storage medium
CN113298649A (en) Transaction data processing method and device, and data processing method and device
CN116055403A (en) Message data transmission method, device and server
CN106790343B (en) Resource downloading method and server
CN112131602B (en) Method, device and related product for quickly expanding trust relationship between nodes based on trusted computing
CN105141673A (en) Intelligent terminal and user information processing method thereof
CN110474954B (en) Block chain-based file sharing method and device, computer equipment and readable 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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40059170

Country of ref document: HK