CN109347917A - Block chain data common recognition processing method, system, storage medium and electronic equipment - Google Patents
Block chain data common recognition processing method, system, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN109347917A CN109347917A CN201811076926.3A CN201811076926A CN109347917A CN 109347917 A CN109347917 A CN 109347917A CN 201811076926 A CN201811076926 A CN 201811076926A CN 109347917 A CN109347917 A CN 109347917A
- Authority
- CN
- China
- Prior art keywords
- block chain
- common recognition
- data
- transaction data
- chain node
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 18
- 238000012545 processing Methods 0.000 claims abstract description 39
- 238000000034 method Methods 0.000 claims abstract description 25
- 238000013497 data interchange Methods 0.000 claims abstract description 21
- 230000007246 mechanism Effects 0.000 claims abstract description 20
- 238000013507 mapping Methods 0.000 claims abstract description 8
- 230000005540 biological transmission Effects 0.000 claims description 6
- 238000003032 molecular docking Methods 0.000 claims description 4
- 230000008859 change Effects 0.000 claims description 2
- 238000004590 computer program Methods 0.000 claims 1
- 238000013506 data mapping Methods 0.000 claims 1
- 230000006870 function Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 2
- 230000005291 magnetic effect Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 210000004027 cell Anatomy 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 210000000352 storage cell Anatomy 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
- 239000002023 wood Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/565—Conversion or adaptation of application format or content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/06—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
- H04L9/0643—Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
Abstract
The disclosure is directed to a kind of block chain data common recognition processing method, system, storage medium and electronic equipments.This method comprises: determining the data interchange format of the transaction data after block chain node receives a transaction data;For the block chain node according to determining data interchange format, the mapping relations between preset different data exchange format and common recognition algorithm determine corresponding common recognition algorithm, select to provide other block chain nodes of common recognition mechanism based on the common recognition algorithm;The block chain node sends other block chain nodes of the transaction data to selection to carry out common recognition processing.Block chain data common recognition treatment effeciency can be improved in the disclosure.
Description
Technical field
Processing method, block chain number this disclosure relates to which block chain technical field more particularly to a kind of block chain data are known together
According to common recognition processing system and computer readable storage medium and electronic equipment.
Background technique
Block chain is the novel of the computer technologies such as Distributed Storage, point-to-point transmission, common recognition mechanism, Encryption Algorithm
Application model.So-called common recognition mechanism is that the mathematics calculation established between different nodes and trust, obtain equity is realized in block catenary system
Method.
In the prior art, data other block chain nodes after a node cochain is accepted participate in common recognition processing, and in logarithm
When according to carrying out common recognition processing, as the quantity for the block chain node for participating in common recognition increases, data are carried out with the time of common recognition processing
It is long, cause the common recognition treatment effeciency of data to reduce.
Summary of the invention
The disclosure is designed to provide a kind of block chain data common recognition processing method, system and computer-readable storage
Medium and electronic equipment, so overcome caused by the limitation and defect due to the relevant technologies at least to a certain extent one or
The multiple problems of person.
According to the first aspect of the embodiments of the present disclosure, a kind of block chain data common recognition processing method is provided, this method comprises:
After block chain node receives a transaction data, the data interchange format of the transaction data is determined;
The block chain node is calculated according to determining data interchange format from preset different data exchange format and common recognition
Mapping relations between method determine corresponding common recognition algorithm, select to provide other block chains of common recognition mechanism based on the common recognition algorithm
Node;
The block chain node sends other block chain nodes of the transaction data to selection to carry out common recognition processing.
In embodiment of the disclosure, the data interchange format includes at least XML format and JSON format.
Further, in embodiment of the disclosure, the block chain link point selection provides common recognition machine based on the common recognition algorithm
Other block chain nodes of system, specifically include:
The block chain node is determined for compliance with the participation common recognition of the common recognition algorithm requirement its according to the common recognition algorithm
The quantity P of his block chain node;
The block chain node other block chain nodes that selection meets the quantity P from common recognition network participate in common recognition.
In embodiment of the disclosure, this method further include:
The block chain node adds the transaction data when receiving the transaction data, using preset algorithm
It is close, obtain the encryption information of the transaction data;
The encryption information of the transaction data and the transaction data is sent to other block chain links by the block chain node
Point;
In common recognition processing stage, the encryption information that the docking of other block chain nodes receives is decrypted, and is obtained received
The corresponding transaction data of encryption information, then judge whether it is consistent with the transaction data received, if then realize to the friendship
The common recognition processing of easy data.
In embodiment of the disclosure, the block chain node is especially by the mode of broadcast by the transaction data and the friendship
The encryption information of easy data is sent to other block chain nodes.
In embodiment of the disclosure, the preset algorithm includes at least MD5 Message Digest 5.
In embodiment of the disclosure, judges the corresponding transaction data of encryption information in other block chain nodes and receive
When transaction data is inconsistent, sends to retransmit and request to receive transaction data again to the block chain node to wait.
According to the second aspect of an embodiment of the present disclosure, a kind of block chain data common recognition processing system is provided, which includes:
Format determination module determines the number of the transaction data after making a block chain node receive a transaction data
According to exchange format;
Node selecting module, for making the block chain node according to determining data interchange format, from preset difference
Mapping relations between data interchange format and common recognition algorithm determine corresponding common recognition algorithm, and selection is provided based on the common recognition algorithm
Other block chain nodes of common recognition mechanism;
Data transmission blocks, for making the block chain node send other block chain links of the transaction data to selection
Point is to carry out common recognition processing.
According to the third aspect of an embodiment of the present disclosure, a kind of computer readable storage medium is provided, calculating is stored thereon with
Machine program, the program realize the common recognition processing method of block chain data described in any one above-mentioned embodiment when being executed by processor
The step of.
According to a fourth aspect of embodiments of the present disclosure, a kind of electronic equipment is provided, comprising:
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to execute in any one above-mentioned embodiment via the executable instruction is executed
The step of block chain data common recognition processing method.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In embodiment of the disclosure, it can be selected accordingly from common recognition network for the transaction data of different data exchange format
Part common recognition node common recognition processing is carried out to it, select corresponding portion node through the above scheme rather than all nodes as be total to
Know node, can excessively lead to the problem of handling overlong time of knowing together to avoid due to the quantity for participating in common recognition node, reduce altogether
The time for knowing processing, the data-handling efficiency and speed of block chain network are effectively improved to a certain extent.
Detailed description of the invention
Fig. 1 shows block chain data common recognition processing method flow chart in the embodiment of the present disclosure;
Fig. 2 shows block chain data common recognition processing system schematic diagrames in the embodiment of the present disclosure;
Fig. 3 shows computer readable storage medium schematic diagram in disclosure exemplary embodiment;
Fig. 4 shows the electronic equipment schematic diagram that common recognition processing is realized in the embodiment of the present disclosure.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes
Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will more
Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Described feature, knot
Structure or characteristic can be incorporated in any suitable manner in one or more embodiments.
In addition, attached drawing is only the schematic illustrations of the disclosure, it is not necessarily drawn to scale.Identical attached drawing mark in figure
Note indicates same or similar part, thus will omit repetition thereof.Some block diagrams shown in the drawings are function
Energy entity, not necessarily must be corresponding with physically or logically independent entity.These function can be realized using software form
Energy entity, or these functional entitys are realized in one or more hardware modules or integrated circuit, or at heterogeneous networks and/or place
These functional entitys are realized in reason device device and/or microcontroller device.
A kind of block chain data common recognition processing method is provided firstly in this example embodiment.It, should with reference to shown in Fig. 1
Method may comprise steps of:
Step S101: after block chain node receives a transaction data, the data interchange format of the transaction data is determined.
Specifically, the node of block chain described in the present embodiment and other following block chain nodes can be a computer or
The equipment such as person's mobile terminal, the transaction data can include but is not limited to as finance data, bit coin data etc..The transaction
Data can be issued by any one computer inside such as bank.Between the distinct program of different computers, or it is different
Programming language between swap data, need a kind of language that machine can be understood, i.e. data interchange format, it passes through text
Data such as transaction data is described in a specified pattern in this.In embodiment of the disclosure, the data interchange format is extremely
It less may include XML format and JSON format, be certainly not limited to this.After the block chain node receives the transaction data,
It can determine the data interchange format belonging to it, such as be determined as XML format or JSON format.
Step S102: the block chain node is according to determining data interchange format, from preset different data exchange lattice
Mapping relations between formula and common recognition algorithm determine corresponding common recognition algorithm, select to provide common recognition mechanism based on the common recognition algorithm
Other block chain nodes.
In an embodiment of the disclosure, different data interchange formats can be preset and calculated from corresponding different common recognition
Mapping relations between method, such as XML format, JSON format respectively correspond to different common recognition algorithms, such as XML format corresponds to altogether
Know algorithm 1, and JSON format corresponds to common recognition algorithm 2.The first block chain node can connect according to mapping relations determination
The corresponding common recognition algorithm 2 of the data interchange format of the transaction data received such as JSON format.
The common recognition algorithm can be proof of work POS algorithm, share authorisation verification DPOS algorithm, can also be to visit and accounts for
The fault-tolerant PBFT algorithm in front yard, PAXOS algorithm or RAFT algorithm etc., are certainly not limited to this.
Further, the block chain link point selection provides other blocks of common recognition mechanism based on the determining common recognition algorithm
Chain node can specifically include following steps i-ii;Wherein:
I) the block chain node is determined for compliance with the participation common recognition of the common recognition algorithm requirement according to the common recognition algorithm
The quantity P of other block chain nodes.
In the present embodiment, the common recognition mechanism that each block chain node in network of knowing together is supported is not exactly the same.The area
Block chain node can be according to the common recognition algorithm such as common recognition algorithm 2, and selection, which provides, from common recognition network supports being total to for common recognition algorithm 2
Other block chain nodes of knowledge mechanism, the common recognition mechanism in order to other block chain nodes based on common recognition algorithm 2 is to the friendship
Easy data carry out common recognition processing.
Specifically, the block chain node can be determined for compliance with the requirement of common recognition algorithm 2 according to the common recognition algorithm 2
Participation common recognition other block chain nodes quantity P, namely at least P other block chain nodes support base in common recognition network
In the common recognition mechanism of common recognition algorithm 2, and remaining block chain node supports other common recognition mechanism, such as supports based on common recognition algorithm 1
Different common recognition mechanism.
Ii) the block chain node other block chain nodes that selection meets the quantity P from common recognition network participate in altogether
Know.
Specifically, after the block chain node determines the quantity P of other block chain nodes of above-mentioned participation common recognition, Ke Yicong
Random selection meets the support of the quantity P based on other block chain nodes of the common recognition mechanism of common recognition algorithm 2 in common recognition network
As common recognition node, P is more than or equal to 2 and is less than all number of nodes N in the common recognition network.
Further, in an embodiment of the disclosure, in order to guarantee the conjunction of the common recognition result based on above-mentioned common recognition mechanism
Method.The block chain node before the transaction data to be sent to other block chain nodes of selection, may be used also by this method
With the remaining block chain link that include: the block chain node by the P of selection other block chain nodes be broadcast in common recognition network
Point, make the remaining block chain link point to whether agree to be provided by the P other block chain nodes selected common recognition service into
Row confirmation, the block chain node obtain the message that common recognition passes through after receiving the confirmation that the remaining block chain link point is sent
When, the transaction data is sent to the P of selection other block chain link points and carries out common recognition processing.That is, if the area
Block chain node receives the common recognition that remaining block chain link point is sent and passes through message, illustrates remaining block chain link point to the common recognition of selection
Node, that is, P other block chain nodes participate in common recognition and reach an agreement, and also mean that the obtained common recognition of common recognition node of selection
As a result it is legal to be identified;Otherwise, the block chain node needs to execute the operation of selection common recognition node again.
Step S103: the block chain node sends other block chain nodes of the transaction data to selection to be total to
Knowledge processing.Namely after other block chain nodes have been determined in common recognition network, so that it may be carried out at common recognition to the transaction data
Reason such as carries out common recognition processing based on common recognition algorithm 2, and specific treatment process of knowing together can refer to the prior art, and details are not described herein again.
The corresponding data that can store that treated after common recognition processing.
Embodiment of the disclosure can select corresponding portion from common recognition network for the transaction data of different data exchange format
Divide common recognition node to know together it, can excessively cause common recognition to handle the time to avoid due to the quantity for participating in common recognition node in this way
Too long problem shortens the time of common recognition processing, effectively improves the data-handling efficiency of block chain network.
On the basis of the above embodiments, in order to reduce the error rates of data, the standard of transaction data after common recognition processing is improved
True property.In embodiment of the disclosure, this method is further comprising the steps of:
Step S201: the block chain node is when receiving the transaction data, using preset algorithm to the number of deals
According to being encrypted, the encryption information of the transaction data is obtained.
Specifically, the preset algorithm includes at least MD5 Message Digest 5, it is certainly not limited to this.The block chain
Node can encrypt the transaction data using MD5 algorithm, obtain the transaction data when receiving the transaction data
Encryption information.
Step S202: the encryption information of the transaction data and the transaction data is sent to other by the block chain node
Block chain node.
Specifically, the block chain node specifically can be by way of broadcast by the transaction data and the transaction data
Encryption information be sent to other block chain nodes.
Step S203: in common recognition processing stage, the encryption information that the docking of other block chain nodes receives is decrypted, and is obtained
The corresponding transaction data of received encryption information, then judge whether it is consistent with the transaction data received, if then real
Now the common recognition of the transaction data is handled.
In this way, S201~203 through the above steps, when knowing together processing, using encryption and decryption technology by original transaction
Data and encrypted transaction data issue other block chain nodes simultaneously, other block chain nodes dock the encryption information received
It is decrypted, obtains the received corresponding transaction data of encryption information, and then the original transaction for judging whether and receiving
Data are consistent, if then carrying out common recognition processing to the transaction data, can greatly reduce other block chain node processings in this way
The error rate of transaction data improves the accuracy of data.
When other block chain nodes judge that the corresponding transaction data of encryption information and the transaction data received are inconsistent,
Transmittable retransmit requests to the block chain node to receive the area again to wait the block chain node to respond repeating transmission request
The transaction data that block chain node is sent repeats above-mentioned steps S201~203 later.
It should be noted that although describing each step of method in the disclosure in the accompanying drawings with particular order,
This does not require that or implies must execute these steps in this particular order, or have to carry out step shown in whole
Just it is able to achieve desired result.Additional or alternative, it is convenient to omit multiple steps are merged into a step and held by certain steps
Row, and/or a step is decomposed into execution of multiple steps etc..In addition, being also easy to understand, these steps be can be
Such as it is either synchronously or asynchronously executed in multiple module/process/threads.
Further, in this example embodiment, a kind of block chain data common recognition processing system is additionally provided.With reference to Fig. 2
Shown in, which may include format determination module 201, node selecting module 202 and data transmission blocks 203;Wherein:
The format determination module 201 determines the number of deals after making a block chain node receive a transaction data
According to data interchange format;
The node selecting module 202, for making the block chain node according to determining data interchange format, from default
Different data exchange format and common recognition algorithm between mapping relations determine corresponding common recognition algorithm, selection is calculated based on the common recognition
Other block chain nodes of method offer common recognition mechanism;
The data transmission blocks 203, for make the block chain node send the transaction data to selection other
Block chain node is to carry out common recognition processing.
In embodiment of the disclosure, the data interchange format includes at least XML format and JSON format.
Further, in embodiment of the disclosure, the node selecting module 202 is based on the block chain link point selection
The common recognition algorithm provides other block chain nodes of common recognition mechanism, and can specifically include: a) the block chain node is according to
Common recognition algorithm is determined for compliance with the quantity P of other block chain nodes of the participation common recognition of the common recognition algorithm requirement;B) block
Chain node other block chain nodes that selection meets the quantity P from common recognition network participate in common recognition.
In embodiment of the disclosure, which can also include encrypting module, for receiving in the block chain node
When to the transaction data, the transaction data is encrypted using preset algorithm, obtains the encryption information of the transaction data;Institute
It states block chain node and the encryption information of the transaction data and the transaction data is sent to other block chain nodes;At common recognition
Reason stage, the encryption information that the docking of other block chain nodes receives are decrypted, and it is corresponding to obtain received encryption information
Transaction data, then judges whether consistent with the transaction data received, handles if then realizing the common recognition of the transaction data.
In embodiment of the disclosure, the block chain node is especially by the mode of broadcast by the transaction data and the friendship
The encryption information of easy data is sent to other block chain nodes.
In embodiment of the disclosure, the preset algorithm includes at least MD5 Message Digest 5.
In embodiment of the disclosure, judges the corresponding transaction data of encryption information in other block chain nodes and receive
When transaction data is inconsistent, sends to retransmit and request to receive transaction data again to the block chain node to wait.
About the system in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, no detailed explanation will be given here.
It should be noted that although being referred to several modules or list for acting the equipment executed in the above detailed description
Member, but this division is not enforceable.In fact, according to embodiment of the present disclosure, it is above-described two or more
Module or the feature and function of unit can embody in a module or unit.Conversely, an above-described mould
The feature and function of block or unit can be to be embodied by multiple modules or unit with further division.As module or list
The component of member display may or may not be physical unit, it can and it is in one place, or may be distributed over
In multiple network units.It can select some or all of the modules therein according to the actual needs to realize the open scheme of wood
Purpose.Those of ordinary skill in the art can understand and implement without creative efforts.
In an exemplary embodiment of the disclosure, a kind of computer readable storage medium is additionally provided, meter is stored thereon with
Calculation machine program, the program may be implemented block chain data described in any one above-mentioned embodiment when being executed by such as processor and be total to
The step of knowing processing method.In some possible embodiments, various aspects of the invention are also implemented as a kind of program
The form of product comprising program code, when described program product is run on the terminal device, said program code is for making
The terminal device executes various according to the present invention described in this specification above-mentioned block chain data common recognition processing method part
The step of illustrative embodiments.
Refering to what is shown in Fig. 3, describing the program product for realizing the above method of embodiment according to the present invention
300, can using portable compact disc read only memory (CD-ROM) and including program code, and can in terminal device,
Such as it is run on PC.However, program product of the invention is without being limited thereto, in this document, readable storage medium storing program for executing can be with
To be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or
It is in connection.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter
Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or
System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive
List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only
Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory
(CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
The computer readable storage medium may include in a base band or the data as the propagation of carrier wave a part are believed
Number, wherein carrying readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetism
Signal, optical signal or above-mentioned any appropriate combination.Readable storage medium storing program for executing can also be any other than readable storage medium storing program for executing
Readable medium, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or
Person's program in connection.The program code for including on readable storage medium storing program for executing can transmit with any suitable medium, packet
Include but be not limited to wireless, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages
Code, described program design language include object oriented program language-Java, C++ etc., further include conventional mistake
Formula programming language-such as " C " language or similar programming language.Program code can be calculated fully in user
It executes in equipment, partly execute on a user device, executing, as an independent software package partially in user calculating equipment
Upper part executes on a remote computing or executes in remote computing device or server completely.It is being related to remotely counting
In the situation for calculating equipment, remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network
(WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP
To be connected by internet).
In an exemplary embodiment of the disclosure, a kind of electronic equipment is also provided, which may include processor,
And the memory of the executable instruction for storing the processor.Wherein, the processor is configured to via described in execution
Executable instruction is come the step of executing the common recognition processing method of block chain data described in any one above-mentioned embodiment.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or
Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete
The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here
Referred to as circuit, " module " or " system ".
The electronic equipment 600 of this embodiment according to the present invention is described referring to Fig. 4.The electronics that Fig. 4 is shown
Equipment 600 is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in figure 4, electronic equipment 600 is showed in the form of universal computing device.The component of electronic equipment 600 can wrap
It includes but is not limited to: at least one processing unit 610, at least one storage unit 620, (including the storage of the different system components of connection
Unit 620 and processing unit 610) bus 630, display unit 640 etc..
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 610
Row, so that the processing unit 610 executes basis described in this specification above-mentioned block chain data common recognition processing method part
The step of various illustrative embodiments of the invention.For example, the processing unit 610 can execute step as shown in fig. 1.
The storage unit 620 may include the readable medium of volatile memory cell form, such as random access memory
Unit (RAM) 6201 and/or cache memory unit 6202 can further include read-only memory unit (ROM) 6203.
The storage unit 620 can also include program/practical work with one group of (at least one) program module 6205
Tool 6204, such program module 6205 includes but is not limited to: operating system, one or more application program, other programs
It may include the realization of network environment in module and program data, each of these examples or certain combination.
Bus 630 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage
Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures
Local bus.
Electronic equipment 600 can also be with one or more external equipments 700 (such as keyboard, sensing equipment, bluetooth equipment
Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 600 communicate, and/or with make
Any equipment (such as the router, modulation /demodulation that the electronic equipment 600 can be communicated with one or more of the other calculating equipment
Device etc.) communication.This communication can be carried out by input/output (I/O) interface 650.Also, electronic equipment 600 can be with
By network adapter 660 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network,
Such as internet) communication.Network adapter 660 can be communicated by bus 630 with other modules of electronic equipment 600.It should
Understand, although not shown in the drawings, other hardware and/or software module can be used in conjunction with electronic equipment 600, including but unlimited
In: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and number
According to backup storage system etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented
Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the disclosure
The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one
Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating
Equipment (can be personal computer, server or network equipment etc.) executes the above-mentioned block according to disclosure embodiment
Chain data common recognition processing method.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by appended
Claim is pointed out.
Claims (10)
- The processing method 1. a kind of block chain data are known together, which is characterized in that this method comprises:After block chain node receives a transaction data, the data interchange format of the transaction data is determined;The block chain node according to determining data interchange format, from preset different data exchange format and common recognition algorithm it Between mapping relations determine corresponding common recognition algorithm, select to provide other block chain links of common recognition mechanism based on the common recognition algorithm Point;The block chain node sends other block chain nodes of the transaction data to selection to carry out common recognition processing.
- 2. method according to claim 1, which is characterized in that the data interchange format includes at least XML format and JSON Format.
- 3. method according to claim 2, which is characterized in that the block chain link point selection is provided altogether based on the common recognition algorithm Other block chain nodes of knowledge mechanism, specifically include:The block chain node is determined for compliance with other areas of the participation common recognition of the common recognition algorithm requirement according to the common recognition algorithm The quantity P of block chain node;The block chain node other block chain nodes that selection meets the quantity P from common recognition network participate in common recognition.
- 4. method according to claim 3, which is characterized in that further include:The block chain node encrypts the transaction data when receiving the transaction data, using preset algorithm, obtains To the encryption information of the transaction data;The encryption information of the transaction data and the transaction data is sent to other block chain nodes by the block chain node;In common recognition processing stage, the encryption information that the docking of other block chain nodes receives is decrypted, and obtains received add The corresponding transaction data of confidential information, then judge whether it is consistent with the transaction data received, if then realize to the number of deals According to common recognition processing.
- 5. method according to claim 4, which is characterized in that the block chain node is especially by the mode of broadcast by the friendship Easy data and the encryption information of the transaction data are sent to other block chain nodes.
- 6. method according to claim 4, which is characterized in that the preset algorithm includes at least MD5 Message Digest 5.
- 7. method according to claim 4, which is characterized in that judge the corresponding transaction of encryption information in other block chain nodes When data and the transaction data received are inconsistent, send and retransmit request to the block chain node to wait reception transaction again Data.
- The processing system 8. a kind of block chain data are known together, which is characterized in that the system includes:Format determination module determines that the data of the transaction data are handed over after making a block chain node receive a transaction data Change format;Node selecting module, for making the block chain node according to determining data interchange format, from preset different data Mapping relations between exchange format and common recognition algorithm determine corresponding common recognition algorithm, and selection provides common recognition based on the common recognition algorithm Other block chain nodes of mechanism;Data transmission blocks, for make the block chain node send the transaction data to selection other block chain nodes with Carry out common recognition processing.
- 9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is held by processor The step of any one of claim 1~7 block chain data common recognition processing method is realized when row.
- 10. a kind of electronic equipment characterized by comprisingProcessor;AndMemory, for storing the executable instruction of the processor;Wherein, the processor is configured to come any one of perform claim requirement 1~7 area via the execution executable instruction The step of block chain data common recognition processing method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811076926.3A CN109347917A (en) | 2018-09-14 | 2018-09-14 | Block chain data common recognition processing method, system, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811076926.3A CN109347917A (en) | 2018-09-14 | 2018-09-14 | Block chain data common recognition processing method, system, storage medium and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109347917A true CN109347917A (en) | 2019-02-15 |
Family
ID=65305280
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811076926.3A Pending CN109347917A (en) | 2018-09-14 | 2018-09-14 | Block chain data common recognition processing method, system, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109347917A (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110099127A (en) * | 2019-05-13 | 2019-08-06 | 西安华域网络文化发展有限公司 | A kind of block chain method of data synchronization, device, medium and electronic equipment |
CN110162559A (en) * | 2019-04-13 | 2019-08-23 | 山东公链信息科技有限公司 | A kind of block chain processing method called based on general JSON synchronization and asynchronous data api interface |
CN110287107A (en) * | 2019-05-27 | 2019-09-27 | 丹阳市萌咔信息技术有限公司 | The data processing of block chain and intelligent contract combined debugging integrated approach, system and computer readable storage medium |
CN110956542A (en) * | 2019-11-07 | 2020-04-03 | 支付宝(杭州)信息技术有限公司 | Block chain system and operation method, device and equipment thereof |
CN111064813A (en) * | 2020-03-16 | 2020-04-24 | 支付宝(杭州)信息技术有限公司 | Method and device for synchronizing processing messages during block chain consensus processing |
CN111418183A (en) * | 2019-11-27 | 2020-07-14 | 支付宝(杭州)信息技术有限公司 | Asynchronous processing of blockchain blocks |
CN111738853A (en) * | 2020-06-19 | 2020-10-02 | 清华大学 | Transaction optimization method and device based on block chain distributed system |
CN112306651A (en) * | 2019-07-31 | 2021-02-02 | 华为技术有限公司 | Resource allocation method and resource borrowing method |
CN112486518A (en) * | 2020-12-01 | 2021-03-12 | 北京微芯区块链与边缘计算研究院 | Consensus algorithm assembling method and device |
CN112671920A (en) * | 2020-12-29 | 2021-04-16 | 杭州中科先进技术研究院有限公司 | Sewage automatic control method based on block chain |
CN113472750A (en) * | 2021-06-03 | 2021-10-01 | 中国联合网络通信集团有限公司 | Block generation method, node and block generation system |
CN113486118A (en) * | 2021-07-21 | 2021-10-08 | 银清科技有限公司 | Consensus node selection method and device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160300222A1 (en) * | 2015-04-07 | 2016-10-13 | Modernity Financial Holdings, Ltd. | Off network identity tracking in anonymous cryptocurrency exchange networks |
US20170243208A1 (en) * | 2016-02-22 | 2017-08-24 | Bank Of America Corporation | System for control of device identity and usage in a process data network |
CN107239479A (en) * | 2017-03-28 | 2017-10-10 | 阿里巴巴集团控股有限公司 | A kind of method and device of data storage and inquiry based on block chain |
CN107426170A (en) * | 2017-05-24 | 2017-12-01 | 阿里巴巴集团控股有限公司 | A kind of data processing method and equipment based on block chain |
CN107451175A (en) * | 2017-05-23 | 2017-12-08 | 阿里巴巴集团控股有限公司 | A kind of data processing method and equipment based on block chain |
CN107450981A (en) * | 2017-05-31 | 2017-12-08 | 阿里巴巴集团控股有限公司 | A kind of block chain common recognition method and apparatus |
CN107590738A (en) * | 2017-08-24 | 2018-01-16 | 阿里巴巴集团控股有限公司 | Processing method, device and the server of selection common recognition node |
CN107666388A (en) * | 2016-07-28 | 2018-02-06 | 郑珂威 | Block chain information encryption method based on complete homomorphic cryptography method |
CN108305056A (en) * | 2018-03-27 | 2018-07-20 | 搜游网络科技(北京)有限公司 | Data processing method, device based on block chain and block chain meshed network |
-
2018
- 2018-09-14 CN CN201811076926.3A patent/CN109347917A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160300222A1 (en) * | 2015-04-07 | 2016-10-13 | Modernity Financial Holdings, Ltd. | Off network identity tracking in anonymous cryptocurrency exchange networks |
US20170243208A1 (en) * | 2016-02-22 | 2017-08-24 | Bank Of America Corporation | System for control of device identity and usage in a process data network |
CN107666388A (en) * | 2016-07-28 | 2018-02-06 | 郑珂威 | Block chain information encryption method based on complete homomorphic cryptography method |
CN107239479A (en) * | 2017-03-28 | 2017-10-10 | 阿里巴巴集团控股有限公司 | A kind of method and device of data storage and inquiry based on block chain |
CN107451175A (en) * | 2017-05-23 | 2017-12-08 | 阿里巴巴集团控股有限公司 | A kind of data processing method and equipment based on block chain |
CN107426170A (en) * | 2017-05-24 | 2017-12-01 | 阿里巴巴集团控股有限公司 | A kind of data processing method and equipment based on block chain |
CN107450981A (en) * | 2017-05-31 | 2017-12-08 | 阿里巴巴集团控股有限公司 | A kind of block chain common recognition method and apparatus |
CN107590738A (en) * | 2017-08-24 | 2018-01-16 | 阿里巴巴集团控股有限公司 | Processing method, device and the server of selection common recognition node |
CN108305056A (en) * | 2018-03-27 | 2018-07-20 | 搜游网络科技(北京)有限公司 | Data processing method, device based on block chain and block chain meshed network |
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110162559B (en) * | 2019-04-13 | 2020-07-10 | 山东公链信息科技有限公司 | Block chain processing method based on universal JSON synchronous and asynchronous data API (application program interface) interface call |
CN110162559A (en) * | 2019-04-13 | 2019-08-23 | 山东公链信息科技有限公司 | A kind of block chain processing method called based on general JSON synchronization and asynchronous data api interface |
CN110099127A (en) * | 2019-05-13 | 2019-08-06 | 西安华域网络文化发展有限公司 | A kind of block chain method of data synchronization, device, medium and electronic equipment |
CN110287107A (en) * | 2019-05-27 | 2019-09-27 | 丹阳市萌咔信息技术有限公司 | The data processing of block chain and intelligent contract combined debugging integrated approach, system and computer readable storage medium |
CN112306651A (en) * | 2019-07-31 | 2021-02-02 | 华为技术有限公司 | Resource allocation method and resource borrowing method |
CN110956542A (en) * | 2019-11-07 | 2020-04-03 | 支付宝(杭州)信息技术有限公司 | Block chain system and operation method, device and equipment thereof |
TWI748444B (en) * | 2019-11-07 | 2021-12-01 | 大陸商支付寶(杭州)信息技術有限公司 | Block chain system and its operation method, device and equipment |
WO2021088421A1 (en) * | 2019-11-07 | 2021-05-14 | 支付宝(杭州)信息技术有限公司 | Blockchain system and operation method therefor, apparatus, and device |
CN110956542B (en) * | 2019-11-07 | 2021-05-18 | 支付宝(杭州)信息技术有限公司 | Block chain system and operation method, device and equipment thereof |
CN111418183A (en) * | 2019-11-27 | 2020-07-14 | 支付宝(杭州)信息技术有限公司 | Asynchronous processing of blockchain blocks |
US11394584B2 (en) | 2019-11-27 | 2022-07-19 | Alipay (Hangzhou) Information Technology Co., Ltd. | Asynchronous processing of blockchain blocks |
CN112019599A (en) * | 2020-03-16 | 2020-12-01 | 支付宝(杭州)信息技术有限公司 | Method and device for synchronizing processing messages during block chain consensus processing |
CN111064813A (en) * | 2020-03-16 | 2020-04-24 | 支付宝(杭州)信息技术有限公司 | Method and device for synchronizing processing messages during block chain consensus processing |
CN111738853A (en) * | 2020-06-19 | 2020-10-02 | 清华大学 | Transaction optimization method and device based on block chain distributed system |
CN112486518A (en) * | 2020-12-01 | 2021-03-12 | 北京微芯区块链与边缘计算研究院 | Consensus algorithm assembling method and device |
CN112486518B (en) * | 2020-12-01 | 2024-03-12 | 北京微芯区块链与边缘计算研究院 | Consensus algorithm assembling method and device |
CN112671920A (en) * | 2020-12-29 | 2021-04-16 | 杭州中科先进技术研究院有限公司 | Sewage automatic control method based on block chain |
CN113472750A (en) * | 2021-06-03 | 2021-10-01 | 中国联合网络通信集团有限公司 | Block generation method, node and block generation system |
CN113486118A (en) * | 2021-07-21 | 2021-10-08 | 银清科技有限公司 | Consensus node selection method and device |
CN113486118B (en) * | 2021-07-21 | 2023-09-22 | 银清科技有限公司 | Consensus node selection method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109347917A (en) | Block chain data common recognition processing method, system, storage medium and electronic equipment | |
JP7204278B2 (en) | Method for recording data blocks in blockchain, leader accounting node and computer program | |
CN110460439A (en) | Information transferring method, device, client, server-side and storage medium | |
JP2021533502A (en) | Transaction verification methods, devices, storage media and electronic devices | |
CN109478223A (en) | Method and system for realizing block chain | |
JP2022520844A (en) | Computer-implemented systems and methods for performing transfers over blockchain networks | |
US10270757B2 (en) | Managing exchanges of sensitive data | |
CN110335130A (en) | Based on the customs declaration generation method and device of block chain, equipment, storage medium | |
CN109118224A (en) | Proof of work method, apparatus, medium and the electronic equipment of block chain network | |
US20180337904A1 (en) | System, methods and software application for sending secured messages on decentralized networks | |
CN104255011B (en) | Cloud computing secure data stores | |
CN104252375A (en) | Method and system for sharing USB (Universal Serial Bus) Key by multiple virtual machines positioned in different host computers | |
CN111010277B (en) | Key exchange method, device, storage medium and computing device | |
KR20170099155A (en) | Method and server for issueing and distributing stocks, and transfering the ownership of the stocks by using virtul money | |
CN108932410A (en) | A kind of digital resource copyright method for authenticating, device, system and storage medium | |
KR20200102262A (en) | Service System and Method based on Blockchain Platform | |
CN107613005A (en) | Reverse proxy method and device, electronic equipment, storage medium | |
CN110084600A (en) | Processing, verification method, device, equipment and the medium for transactions requests of resolving | |
CN110599175A (en) | Block processing method and related equipment | |
CN110535631A (en) | Method, system, equipment and the storage medium of edge calculations node data transmission | |
CN110516463A (en) | Method and apparatus for generating information | |
CN110351672A (en) | Information-pushing method, device and electronic equipment | |
CN110348827A (en) | The direct-connected method of medium and small bank, minuscule-type-enterprise and relevant device based on third-party application | |
CN109769010A (en) | Method, apparatus, equipment and storage medium based on SDK access CloudStack server | |
CN108876299A (en) | A kind of method and device handling electronic contract |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20190729 Address after: 101300 Room 604, 6th Floor, 9th Courtyard, Linhe Henan Avenue, Renhe Town, Shunyi District, Beijing Applicant after: Vogel (Beijing) Technology Co.,Ltd. Address before: No. 1 Building, Green Space Building, Block IV-07, Canal Core Area, Tongzhou District, Beijing, 22 floors, 22727 Applicant before: BEIJING WOJIE INTELLECTUAL PROPERTY Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190215 |
|
RJ01 | Rejection of invention patent application after publication |