WO2021217939A1 - 用于区块链数据处理的方法、装置及可读存储介质 - Google Patents

用于区块链数据处理的方法、装置及可读存储介质 Download PDF

Info

Publication number
WO2021217939A1
WO2021217939A1 PCT/CN2020/106024 CN2020106024W WO2021217939A1 WO 2021217939 A1 WO2021217939 A1 WO 2021217939A1 CN 2020106024 W CN2020106024 W CN 2020106024W WO 2021217939 A1 WO2021217939 A1 WO 2021217939A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
transaction
broadcast
data set
private
Prior art date
Application number
PCT/CN2020/106024
Other languages
English (en)
French (fr)
Inventor
薄辰龙
Original Assignee
深圳壹账通智能科技有限公司
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 深圳壹账通智能科技有限公司 filed Critical 深圳壹账通智能科技有限公司
Publication of WO2021217939A1 publication Critical patent/WO2021217939A1/zh

Links

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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3829Payment protocols; Details thereof insuring higher security of transaction involving key management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6245Protecting personal data, e.g. for financial or medical purposes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network 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
    • H04L63/0442Network 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 wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption

Definitions

  • This application relates to the field of blockchain technology, and in particular to a method, device, electronic equipment, and readable storage medium for blockchain data processing.
  • Blockchain technology has developed rapidly.
  • Blockchain is essentially a new type of database system with time stamps. It has achieved “decentralization” through technical means, and has the remarkable feature that data is difficult to be tampered with. Therefore, blockchain technology is suitable for some data Scenarios with high security and reliability requirements. At present, the blockchain has achieved good application effects in shopping, medical and other fields, and the scope of application has been continuously expanded.
  • the inventor realizes that when performing private transactions in the existing blockchain, the use of performance is limited. In order to ensure the security and integrity of data, transactions often have delays, which in turn leads to a decrease in data processing speed; and , Due to the characteristics of openness and transparency, the privacy of data processing is low.
  • the data processing method for blockchain provided in this application which is applied to participant nodes, includes:
  • Consensus processing is performed on the state data set and stored.
  • This application also provides a data processing method for blockchain, which is applied to a collection node, and the method includes:
  • participant nodes Directly distribute to participant nodes according to the distribution address, and the participant nodes are used to decrypt and process the encrypted transaction data set.
  • an electronic device which includes:
  • At least one processor and,
  • a memory communicatively connected with the at least one processor; wherein,
  • the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute the following data for the blockchain Approach:
  • Consensus processing is performed on the state data set and stored.
  • this application also provides a computer-readable storage medium, including a storage data area and a storage program area.
  • the storage data area stores data created according to the use of blockchain nodes
  • the storage program area stores computer programs.
  • Consensus processing is performed on the state data set and stored.
  • the present application also provides a computer-readable storage medium, including a storage data area and a storage program area.
  • the storage data area stores data created according to the use of blockchain nodes.
  • the storage program area stores a computer program.
  • the computer program is The processor implements the following data processing method for blockchain when executing:
  • participant nodes Directly distribute to participant nodes according to the distribution address, and the participant nodes are used to decrypt and process the encrypted transaction data set.
  • FIG. 1 is a schematic flowchart of a data processing method for blockchain according to an embodiment of the application
  • FIG. 2 is a schematic flowchart of a data processing method for blockchain according to another embodiment of the application.
  • FIG. 3 is a schematic diagram of modules of a data processing device for blockchain according to an embodiment of the application.
  • FIG. 4 is a schematic diagram of modules of a data processing device for blockchain according to another embodiment of the application.
  • FIG. 5 is a schematic diagram of the internal structure of an electronic device for implementing a data processing method for blockchain according to an embodiment of the application;
  • the data processing method for blockchain provided in this application is applied to the blockchain system.
  • This application provides a data processing method for blockchain.
  • FIG. 1 it is a schematic flowchart of a data processing method for blockchain according to an embodiment of this application.
  • the method can be applied to the participant nodes of a blockchain system.
  • the blockchain system can include a collection node and a participant node.
  • the participant node can include one or more sub-nodes, for example, the participant node includes a supplier Node, buyer node and supervisory node.
  • the method can be executed by a device, and the device can be implemented by software and/or hardware.
  • the data processing method for blockchain includes:
  • S11 Receive an encrypted transaction data set directed and distributed by a collection node through a distributor and a pre-built encryption subclass, where the collection node is used to obtain private transaction information and encrypt the private transaction information to obtain the encrypted transaction data set.
  • the collection node obtains the address to be distributed by analyzing the pre-built encryption subclass through the distributor, and then distributes the encrypted transaction data set according to the distribution address, and the participant nodes receive the encrypted transaction data set.
  • the distribution function is called to directly transmit the encrypted transaction data set, which improves the speed of data processing.
  • the encrypted transaction data set is encrypted by the first public key
  • the S12 includes:
  • the use of the private key to perform the reverse calculation of the cryptographic value of the encrypted transaction data set includes:
  • the encrypted transaction data set is filled with messages through a hashing algorithm.
  • the message filling includes: first filling a "1" and a number of "0"s, so that the length of the filled encrypted transaction data set modulo 1024 and 896 are the same.
  • the number of padding bits is 0-1023
  • the length of the message before padding is appended to the back of the padding message with a 128-bit field
  • the generated value is the length of the message before padding.
  • the encrypted transaction data set after the message is filled is initialized with link variables, the intermediate result and the final result generated by the initialization are stored in a 512-bit buffer, and the buffer is passed through 8 64-bit buffers.
  • the bit registers A, B, C, D, E, F, G, and H indicate that the encrypted transaction data centralized link variable after the initial stage is stored in the eight 64-bit registers.
  • a main loop operation is performed on the initialized encrypted transaction data set, and the main loop operation includes: processing the encrypted transaction data set by 1024-bit grouping as a unit, and performing an 80-step loop operation.
  • Each iteration takes the values A, B, C, D, E, F, G, and H of the 512-bit buffer as input. The values are taken from the calculation results of the previous iteration compression.
  • the N 1024-bit packets of the message are processed, and the 512-bit link variable output by the Nth iteration compression is the final password value.
  • the S13 includes:
  • the S14 includes:
  • the storage structure of the broadcast transaction information is a directory structure, and the root directory in the directory structure is accessed;
  • the broadcast private information includes broadcast private name information, broadcast private digital information, broadcast private flag information, and multiple transaction plaintexts.
  • S15 Perform contract processing on the broadcast private information by using a smart contract to generate a state data set.
  • the S15 includes:
  • the preset transaction plaintext including preset broadcast state name information, preset broadcast state digital information, preset broadcast Status flag information;
  • Determining that the target transaction plaintext is filtering broadcast status information
  • the S16 includes:
  • a second secret key generator is called to generate a second public key for asymmetric encryption.
  • the second public key and the first public key are generated by different functions in the second secret key generator, and the state data set is decrypted by The obtained signature information and the second public key verify the authenticity of the state data set. If the verification is passed, the state data set is analyzed by consensus to generate the first consensus information and the consensus state data, and the first consensus information and state data are generated.
  • the consensus information and consensus state data are stored in a database, and the first consensus information is replaced with the original consensus information in the database.
  • the participant node when the participant node performs the consensus processing on the state data, the state data set for which consensus is required.
  • the supervisory node, the purchaser node, and the supplier node in the participant perform signature processing first, and the supervisory node, the purchaser node, and the supplier node in the participant After the node receives the consensus request, it verifies the signature in the state data set. During the verification process, only the attribute that meets the condition is valid. After the consensus is processed, there are more than 50% of the state data set When consistent, the state data set is stored in the database; otherwise, the state data set is discarded.
  • the embodiment of this application since the received encrypted transaction data set directed for distribution by the collection node, the privacy of the transaction information during data processing is improved. Since the encrypted transaction data set is distributed by the collection node, the data is improved. The accuracy and efficiency of data transmission in the processing process; after receiving the encrypted transaction data set, decrypt it, and process the plaintext transaction data set generated by the decryption through private contracts and smart contracts, which further improves the data in the data processing process Therefore, the embodiment of the application achieves the purpose of increasing the data processing speed and improving the privacy of transaction information.
  • FIG. 2 is a schematic flowchart of a data processing method for blockchain according to another embodiment of the application.
  • This method can be applied to the collection node of the blockchain system.
  • the method can be executed by a device, and the device can be implemented by software and/or hardware.
  • the data processing method of the blockchain includes:
  • the blockchain transaction system contains collection nodes and participant nodes.
  • the user’s private transaction information set is obtained through the collection nodes.
  • the participant nodes may include supplier nodes, purchaser nodes, and supervisory nodes. Wait for at least two nodes.
  • the purchaser node represents China Mobile, China Unicom, and China Telecom
  • the supplier node represents Apple and Nokia
  • the regulatory node represents the government.
  • the purchaser, supplier, and regulator can participate, or only There is the participation of purchasers and suppliers.
  • the private transaction information is information when a private transaction is performed.
  • said encrypting the private transaction information to generate an encrypted transaction data set includes: invoking a second secret key generator to generate a first public key for asymmetric encryption, and using the first public key to compare the private transaction information Perform byte conversion to generate an encrypted byte array set, perform a password value calculation on the encrypted byte array set, generate a password array set, and combine the password array sets to generate an encrypted transaction data set.
  • the encryption sub-category is parsed by a distributor, and the encryption sub-category includes the distribution address of the encrypted transaction data set.
  • the distributor is a library containing a variety of functions and methods.
  • S25 Directly distribute to participant nodes according to the distribution address, and the participant nodes are used to decrypt and process the encrypted transaction data set.
  • directing and distributing the encrypted transaction data set to the participant nodes according to the distribution address includes: obtaining a preset URL address, and transmitting the encrypted transaction data set to the participant nodes or participating nodes through the URL address In the server to which the party node belongs.
  • the server to which the participant node belongs is the server that includes the participant node.
  • the privacy of the transaction information during data processing is improved, and the encrypted transaction data set is distributed directionally, which improves the accuracy of data transmission during data processing. And efficiency.
  • FIG. 3 is a functional module diagram of a data processing device for blockchain in an embodiment of the present application.
  • the data processing device 100 for blockchain described in this application can be installed in an electronic device.
  • the data processing device for blockchain may include a data receiving module 101, a data decryption module 102, a broadcast calculation module 103, a first transaction module 104, a second transaction module 105, and a consensus processing module 106.
  • the module described in the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by the processor of an electronic device and can complete fixed functions, and are stored in the memory of the electronic device.
  • each module/unit is as follows:
  • the data receiving module 101 is used to receive the encrypted transaction data set that is directionally distributed by the collection node through the distributor and the pre-built encryption subclass.
  • the collection node is used to obtain private transaction information and encrypt the private transaction information to obtain the Said encrypted transaction data set;
  • the data decryption module 102 is configured to decrypt the encrypted transaction data set to generate a plaintext transaction data set
  • the broadcast calculation module 103 is configured to perform broadcast calculation on the plaintext transaction data set to generate broadcast transaction information
  • the first transaction module 104 is configured to perform a private transaction on the broadcast transaction information by using a private contract to generate broadcast private information;
  • the second transaction module 105 is configured to perform contract processing on the broadcast private information by using a smart contract to generate a state data set;
  • the consensus processing module 106 is configured to perform consensus processing on and store the state data set.
  • the data receiving module 101 receives an encrypted transaction data set directed and distributed by a collection node through a distributor and a pre-built encryption subclass.
  • the collection node is used to obtain private transaction information and encrypt the private transaction information to obtain the encrypted transaction data set.
  • the collection node obtains the address to be distributed by analyzing the pre-built encryption subclass through the distributor, and then distributes the encrypted transaction data set according to the distribution address, and the participant nodes receive the encrypted transaction data set.
  • the distribution function is called to directly transmit the encrypted transaction data set, which improves the speed of data processing.
  • the data decryption module 102 decrypts the encrypted transaction data set to generate a plaintext transaction data set.
  • the encrypted transaction data set is encrypted by the first public key
  • the decryption of the encrypted transaction data set to generate a plaintext transaction data set includes:
  • the use of the private key to perform the reverse calculation of the cryptographic value of the encrypted transaction data set includes:
  • the encrypted transaction data set is filled with messages through a hashing algorithm.
  • the message filling includes: first filling a "1" and a number of "0"s, so that the length of the filled encrypted transaction data set modulo 1024 and 896 are the same.
  • the number of padding bits is 0-1023
  • the length of the message before padding is appended to the back of the padding message with a 128-bit field
  • the generated value is the length of the message before padding.
  • the encrypted transaction data set after the message is filled is initialized with link variables, the intermediate result and the final result generated by the initialization are stored in a 512-bit buffer, and the buffer is passed through 8 64-bit buffers.
  • the bit registers A, B, C, D, E, F, G, and H indicate that the encrypted transaction data centralized link variable after the initial stage is stored in the eight 64-bit registers.
  • a main loop operation is performed on the initialized encrypted transaction data set, and the main loop operation includes: processing the encrypted transaction data set by 1024-bit grouping as a unit, and performing an 80-step loop operation.
  • Each iteration takes the values A, B, C, D, E, F, G, and H of the 512-bit buffer as input. The values are taken from the calculation results of the previous iteration compression.
  • the N 1024-bit packets of the message are processed, and the 512-bit link variable output by the Nth iteration compression is the final password value.
  • the broadcast calculation module 103 performs broadcast calculation on the plaintext transaction data set to generate broadcast transaction information, and uses a private contract to perform a private transaction on the broadcast transaction information to generate broadcast private information.
  • the performing broadcast calculation on the plaintext transaction data set to generate broadcast transaction information includes:
  • the first transaction module 104 uses a private contract to perform a private transaction on the broadcast transaction information to generate broadcast private information.
  • the using a private contract to perform a private transaction on the broadcast transaction information to generate the broadcast private information includes:
  • the storage structure of the broadcast transaction information is a directory structure, and the root directory in the directory structure is accessed;
  • the broadcast private information includes broadcast private name information, broadcast private digital information, broadcast private flag information, and multiple transaction plaintexts.
  • the second transaction module 105 uses a smart contract to perform contract processing on the broadcast private information to generate a state data set.
  • the use of smart contracts to perform contract processing on the broadcast private information, and generating a state data set includes:
  • the preset transaction plaintext including preset broadcast state name information, preset broadcast state digital information, preset broadcast Status flag information;
  • Determining that the target transaction plaintext is filtering broadcast status information
  • the consensus processing module 106 performs consensus processing on the state data set and stores it.
  • the performing consensus processing and storing on the state data set includes:
  • a second secret key generator is called to generate a second public key for asymmetric encryption.
  • the second public key and the first public key are generated by different functions in the second secret key generator, and the state data set is decrypted by The obtained signature information and the second public key verify the authenticity of the state data set. If the verification is passed, the state data set is analyzed by consensus to generate the first consensus information and the consensus state data, and the first consensus information and state data are generated.
  • the consensus information and consensus state data are stored in a database, and the first consensus information is replaced with the original consensus information in the database.
  • the participant node when the participant node performs the consensus processing on the status data, the status data set that requires consensus, the supervisory node, the purchaser node, and the supplier in the participant The party node needs to perform signature processing first. After receiving the consensus request, the supervisory node, the purchaser node and the supplier node in the participant verify the signature in the state data set. The verification process Only the attributes that meet the conditions are valid. When more than 50% of the state data sets are consistent after the consensus processing, the state data sets are stored in the database; otherwise, the state data sets are processed Discard processing.
  • the embodiment of this application since the received encrypted transaction data set directed by the collection node, the privacy of the transaction information during data processing is improved. Since the encrypted transaction data set is directed by the collection node, the data is improved. The accuracy and efficiency of data transmission in the processing process; after receiving the encrypted transaction data set, decrypt it, and process the plaintext transaction data set generated by the decryption through private contracts and smart contracts, which further improves the data in the data processing process Therefore, the embodiment of the present application achieves the purpose of increasing the processing speed of data and improving the privacy of data information. This application can also be applied to fields such as smart medical care and smart logistics to promote the construction of smart cities.
  • FIG. 4 is a functional module diagram of a data processing device for blockchain in another embodiment of the present application.
  • the data processing device 200 for blockchain described in this application can be installed in an electronic device.
  • the data processing device for blockchain may include a data acquisition module 201, a data encryption module 202, and a data distribution module 203.
  • the module described in the present invention can also be called a unit, which refers to a series of computer program segments that can be executed by the processor of an electronic device and can complete fixed functions, and are stored in the memory of the electronic device.
  • each module/unit is as follows:
  • the data acquisition module 201 is used to acquire private transaction information.
  • the private transaction information is information when a private transaction is performed.
  • the data encryption module 202 is used to encrypt the private transaction information, generate an encrypted transaction data set, and obtain a pre-built encryption subclass.
  • said encrypting the private transaction information to generate an encrypted transaction data set includes: invoking a second secret key generator to generate a first public key for asymmetric encryption, and using the first public key to compare the private transaction information Perform byte conversion to generate an encrypted byte array set, perform a password value calculation on the encrypted byte array set, generate a password array set, and combine the password array sets to generate an encrypted transaction data set.
  • the data distribution module 203 is configured to parse the encrypted subclass through the distributor, obtain a distribution address from the encrypted subclass, and distribute to the participant nodes according to the distribution address, and the participant node is used to decrypt and process all The encrypted transaction data set.
  • the encryption sub-category is parsed by a distributor, and the encryption sub-category includes the distribution address of the encrypted transaction data set.
  • the distributor is a library containing a variety of functions and methods.
  • directing and distributing the encrypted transaction data set to the participant nodes according to the distribution address includes: obtaining a preset URL address, and transmitting the encrypted transaction data set to the participant nodes or participating nodes through the URL address In the server to which the party node belongs.
  • the server to which the participant node belongs is the server that includes the participant node.
  • the privacy of the transaction information during data processing is improved, and the encrypted transaction data set is distributed directionally, which improves the accuracy of data transmission during data processing. And efficiency.
  • FIG. 5 it is a schematic diagram of the structure of an electronic device that implements the data processing method for blockchain in this application.
  • the electronic device 1 may include a processor 10, a memory 11, and a bus, and may also include a computer program stored in the memory 11 and running on the processor 10, such as a data processing program for blockchain 12.
  • the memory 11 includes at least one type of computer-readable storage medium
  • the computer-readable storage medium includes flash memory, mobile hard disk, multimedia card, card-type memory (for example: SD or DX memory, etc.), magnetic memory, Disks, CDs, etc.
  • the computer-readable storage medium mainly includes a storage program area and a storage data area, where the storage program area can store an operating system, an application program required by at least one function, etc.; the storage data area can store a block chain node Use the created data, etc.
  • the memory 11 may be an internal storage unit of the electronic device 1 in some embodiments, for example, a mobile hard disk of the electronic device 1.
  • the memory 11 may also be an external storage device of the electronic device 1, such as a plug-in mobile hard disk or a smart memory card (Smart Memory Card) equipped on the electronic device 1.
  • the memory 11 may also include both an internal storage unit of the electronic device 1 and an external storage device.
  • the memory 11 can be used not only to store application software and various data installed in the electronic device 1, such as codes for data processing of the blockchain, but also to temporarily store data that has been output or will be output.
  • the processor 10 may be composed of integrated circuits in some embodiments, for example, may be composed of a single packaged integrated circuit, or may be composed of multiple integrated circuits with the same function or different functions, including one or more Central processing unit Processing unit, CPU), microprocessor, digital processing chip, graphics processor and a combination of various control chips, etc.
  • the processor 10 is the control core of the electronic device (Control Unit), using various interfaces and lines to connect the various components of the entire electronic device, by running or executing the programs or modules stored in the memory 11 (for example, performing data processing for the blockchain, etc.), and calling the The data in the memory 11 is used to perform various functions of the electronic device 1 and process data.
  • the bus may be a peripheral component interconnection standard (peripheral component interconnection standard) component interconnect, PCI for short) bus or extended industry standard structure (extended industry standard architecture, EISA for short) bus, etc.
  • the bus can be divided into address bus, data bus, control bus and so on.
  • the bus is configured to implement connection and communication between the memory 11 and at least one processor 10 and the like.
  • FIG. 5 only shows an electronic device with components. Those skilled in the art can understand that the structure shown in FIG. 5 does not constitute a limitation on the electronic device 1, and may include fewer or more components than shown in the figure. Components, or combinations of certain components, or different component arrangements.
  • the electronic device 1 may also include a power source (such as a battery) for supplying power to various components.
  • the power source may be logically connected to the at least one processor 10 through a power management device, thereby controlling power
  • the device implements functions such as charge management, discharge management, and power consumption management.
  • the power supply may also include any components such as one or more DC or AC power supplies, recharging devices, power failure detection circuits, power converters or inverters, and power status indicators.
  • the electronic device 1 may also include various sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
  • the electronic device 1 may also include a network interface.
  • the network interface may include a wired interface and/or a wireless interface (such as a Wi-Fi interface, a Bluetooth interface, etc.), which is usually used in the electronic device 1 Establish a communication connection with other electronic devices.
  • the electronic device 1 may also include a user interface.
  • the user interface may be a display (Display) and an input unit (such as a keyboard (Keyboard)).
  • the user interface may also be a standard wired interface or a wireless interface.
  • the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc.
  • the display can also be appropriately called a display screen or a display unit, which is used to display the information processed in the electronic device 1 and to display a visualized user interface.
  • the data processing 12 for the blockchain stored in the memory 11 in the electronic device 1 is a combination of multiple instructions. When running in the processor 10, it can realize:
  • Consensus processing is performed on the state data set and stored.
  • the data processing 12 for the blockchain stored in the memory 11 in the electronic device 1 is a combination of multiple instructions, and when running in the processor 10, it can be implemented:
  • the encrypted transaction data set is directionally distributed to the participant nodes, so that the participant node decrypts and processes the encrypted transaction data set.
  • the integrated module/unit of the electronic device 1 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile or volatile computer-readable storage medium.
  • the computer-readable storage medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory).
  • the blockchain referred to in this application is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm.
  • Blockchain essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information for verification. The validity of the information (anti-counterfeiting) and the generation of the next block.
  • the blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
  • an embodiment of the present application also proposes a computer-readable storage medium, which includes a data processing program, which implements the steps of the data processing method as described above when the data processing program is executed by a processor.
  • the specific implementation of the computer-readable storage medium of the present application is substantially the same as the specific implementation of the object recommendation method described above, and will not be repeated here.
  • the computer-readable storage medium may be a non-volatile or volatile storage medium.
  • modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • the functional modules in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional modules.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Bioethics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Accounting & Taxation (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • Signal Processing (AREA)
  • Medical Informatics (AREA)
  • Databases & Information Systems (AREA)
  • Computing Systems (AREA)
  • Storage Device Security (AREA)

Abstract

一种用于区块链的数据处理方法,包括:接收由采集节点通过分发器和预构建的加密子类定向分发的加密交易数据集(S11);对所述加密交易数据集进行解密,生成明文交易数据集(S12);对所述明文交易数据集进行广播计算,生成广播交易信息(S13);利用私密合约对所述广播交易信息进行私密交易,生成广播私密信息(S14);利用智能合约对所述广播私密信息进行合约处理,生成状态数据集(S15);对所述状态数据集进行共识处理并存储(S16)。其中,相关数据可存储于区块链节点中。还包括一种用于区块链的数据处理装置、电子设备以及一种计算机可读存储介质。可以解决数据的处理速度慢以及数据信息私密性低的问题。

Description

用于区块链数据处理的方法、装置及可读存储介质
本申请要求于2020年04月30日提交中国专利局、申请号为202010360823.0、发明名称为“用于区块链数据处理的方法、装置及可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在申请中。
技术领域
本申请涉及区块链技术领域,尤其涉及一种用于区块链的数据处理的方法、装置、电子设备及可读存储介质。
背景技术
近年来,区块链技术得到快速发展。区块链本质上是一种带有时间戳的新型数据库系统,它通过技术手段实现了"去中心化",具有数据难以被篡改的显著特点,因此,区块链技术适用于一些对数据的安全性和可靠性要求较高的场景。目前,区块链已在购物、医疗等领域获得了较好的应用效果,并不断扩大应用范围。
发明人意识到,在现有的区块链中进行私密交易时,性能的使用受到限制,为了保证数据的安全性和完整性,交易往往存在延迟的问题,进而导致数据处理速度的下降;并且,由于公开透明的特点,导致数据处理时的私密性较低。
技术解决方案
本申请提供的一种用于区块链的数据处理方法,应用于参与方节点,包括:
接收由采集节点通过分发器和预构建的加密子类定向分发的加密交易数据集,所述采集节点用于获取私密交易信息并加密所述私密交易信息得到所述加密交易数据集;
对所述加密交易数据集进行解密,生成明文交易数据集;
对所述明文交易数据集进行广播计算,生成广播交易信息;
利用私密合约对所述广播交易信息进行私密交易,生成广播私密信息;
利用智能合约对所述广播私密信息进行合约处理,生成状态数据集;
对所述状态数据集进行共识处理并存储。
本申请还提供一种用于区块链的数据处理方法,应用于采集节点,所述方法包括:
获取私密交易信息;
对所述私密交易信息进行加密,生成加密交易数据集;
获取预构建的加密子类;
通过分发器解析所述加密子类,从所述加密子类获取分发地址;
根据所述分发地址定向分发至参与方节点,所述参与方节点用于解密并处理所述加密交易数据集。
为了解决上述问题,本申请还提供一种电子设备,所述电子设备包括:
至少一个处理器;以及,
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如下所述的用于区块链的数据处理方法:
接收由采集节点通过分发器和预构建的加密子类定向分发的加密交易数据集,所述采集节点用于获取私密交易信息并加密所述私密交易信息得到所述加密交易数据集;
对所述加密交易数据集进行解密,生成明文交易数据集;
对所述明文交易数据集进行广播计算,生成广播交易信息;
利用私密合约对所述广播交易信息进行私密交易,生成广播私密信息;
利用智能合约对所述广播私密信息进行合约处理,生成状态数据集;
对所述状态数据集进行共识处理并存储。
为了解决上述问题,本申请还提供一种计算机可读存储介质,包括存储数据区和存储程序区,存储数据区存储根据区块链节点的使用所创建的数据,存储程序区存储有计算机程序,所述计算机程序被处理器执行时实现如下所述的用于区块链的数据处理方法:
接收由采集节点通过分发器和预构建的加密子类定向分发的加密交易数据集,所述采集节点用于获取私密交易信息并加密所述私密交易信息得到所述加密交易数据集;
对所述加密交易数据集进行解密,生成明文交易数据集;
对所述明文交易数据集进行广播计算,生成广播交易信息;
利用私密合约对所述广播交易信息进行私密交易,生成广播私密信息;
利用智能合约对所述广播私密信息进行合约处理,生成状态数据集;
对所述状态数据集进行共识处理并存储。
本申请还提供一种计算机可读存储介质,包括存储数据区和存储程序区,存储数据区存储根据区块链节点的使用所创建的数据,存储程序区存储有计算机程序,所述计算机程序被处理器执行时实现如下所述的用于区块链的数据处理方法:
获取私密交易信息;
对所述私密交易信息进行加密,生成加密交易数据集;
获取预构建的加密子类;
通过分发器解析所述加密子类,从所述加密子类获取分发地址;
根据所述分发地址定向分发至参与方节点,所述参与方节点用于解密并处理所述加密交易数据集。
附图说明
图1为本申请一实施例提供的用于区块链的数据处理方法的流程示意图;
图2为本申请另一实施例提供的用于区块链的数据处理方法的流程示意图;
图3为本申请一实施例提供的用于区块链的数据处理装置的模块示意图;
图4为本申请另一实施例提供的用于区块链的数据处理装置的模块示意图;
图5为本申请一实施例提供的实现用于区块链的数据处理方法的电子设备的内部结构示意图;
本申请目的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
本发明的实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
本申请提供的一种用于区块链的数据处理方法应用于区块链系统中。
本申请提供一种用于区块链的数据处理方法。参照图1所示,为本申请一实施例提供的用于区块链的数据处理方法的流程示意图。该方法可以应用于区块链系统的参与方节点,该区块链系统可以包含采集节点和参与方节点,其中,参与方节点可以包含一个或多个子节点,例如,参与方节点包含供货方节点、采购方节点和监管节点。该方法可以由一个装置执行,该装置可以由软件和/或硬件实现。
详细地,在本实施例中,所述用于区块链的数据处理方法包括:
S11、接收由采集节点通过分发器和预构建的加密子类定向分发的加密交易数据集,所述采集节点用于获取私密交易信息并加密所述私密交易信息得到所述加密交易数据集。
详细地,本实施例中,采集节点通过分发器解析预构建的加密子类获取待分发地址,进而根据分发地址分发加密交易数据集,参与方节点接收加密交易数据集。
在本实施例中,通过分发器和预构建的加密子类,调用分发函数直接对将所述加密交易数据集进行传输,提高了数据处理的速度。
S12、对所述加密交易数据集进行解密,生成明文交易数据集。
详细地,所述加密交易数据集由第一公钥加密,所述S12包括:
调用第一秘钥生成器生成与所述第一公钥对应的非对称解密私钥,利用所述私钥对所述加密交易数据集进行密码值反向计算,生成解密字节数组集;
对所述解密字节数组集进行字节转换,生成明文交易数据集
进一步地,所述利用所述私钥对所述加密交易数据集进行密码值反向计算,包括:
通过散列算法对所述加密交易数据集进行消息填充,所述消息填充包括:先填充一个“1”和若干个“0”,使填充后的所述加密交易数据集长度模1024与896同余,填充位数为0-1023,填充前消息的长度以一个128位的字段附加到填充消息的后面,生成的值为填充前消息的长度。
进一步地,对消息填充后的所述加密交易数据集进行链接变量的初始化,将所述初始化生成的中间结果和最终结果都存储于512位的缓冲区中,将所述缓冲区通过8个64位的寄存器A、B、C、D、E、F、G、H表示,将初始后的所述加密交易数据集中链接变量存储于8个所述64位的寄存器中。
进一步地,对初始化后的所述加密交易数据集进行主循环操作,所述主循环操作包括:通过1024位的分组为单位对所述加密交易数据集进行处理,并进行80步循环操作,将每一次迭代都把512位缓冲区的值A、B、C、D、E、F、G、H作为输入,所述值取自上一次迭代压缩的计算结果,每一步计算中均采用了所述加密交易数据集中不同的消息字和常数,对所述消息的N个1024位的分组都处理完毕之后,第N次迭代压缩输出的512位链接变量即为最终的密码值。
S13、对所述明文交易数据集进行广播计算,生成广播交易信息。
进一步地,所述S13包括:
将明文交易数据集分成n个维度不一致的数组;
将所述n个维度不一致的数组进行补齐计算,生成n个维度一致的数组;
将所述n个维度一致的数组进行组合,生成生成广播交易信息。
S14、利用私密合约对所述广播交易信息进行私密交易,生成广播私密信息。
进一步地,所述S14包括:
所述广播交易信息的存储结构为目录结构,访问所述目录结构中的根目录;
获取所述根目录以及所述根目录的子目录中存储的交易标志的标志信息和交易状态的状态信息;
判断是否存在与所述私密合约中的标准标志信息和标准状态信息相匹配的标志信息和状态信息;
若存在,获取与所述私密合约中的标准标志信息和标准状态信息相匹配的标志信息和状态信息对应的目标交易信息,确定所述目标交易信息为过滤广播交易信息,将所述过滤广播交易信息进行分词处理,生成广播私密信息,所述广播私密信息中包含广播私密名称信息、广播私密数字信息、广播私密标志信息以及多条交易明文。
S15、利用智能合约对所述广播私密信息进行合约处理,生成状态数据集。
较佳地,所述S15包括:
将所述广播私密信息中所述多条交易明文与所述智能合约中预设交易明文进行匹配,所述预设交易明文包括预设广播状态名称信息、预设广播状态数字信息、预设广播状态标志信息;
从所述多条交易明文中获取与所述智能合约中预设交易明文相匹配的目标交易明文;
确定所述目标交易明文为过滤广播状态信息;
将所述过滤广播状态信息中的至少两项广播状态信息进行组合,生成状态数据集,所述状态数据集包括广播状态名称信息、广播状态数字信息、广播状态标志信息的不同信息组合。
S16、对所述状态数据集进行共识处理并存储。
详细地,所述S16包括:
调用第二秘钥生成器生成非对称加密第二公钥,所述第二公钥和所述第一公钥由所述第二秘钥生成器中不同函数生成,利用解密所述状态数据集得到的签名信息和所述第二公钥验证所述状态数据集的真实性,若验证通过,对所述状态数据集进行共识解析,生成第一共识信息和共识状态数据,将所述第一共识信息和共识状态数据存储至数据库中,将所述第一共识信息替换所述数据库中原有的共识信息。
本申请实施例中,所述参与方节点对所述状态数据进行所述共识处理时,对需要共识的所述状态数据集。
一种可选实施例中,所述参与方中的所述监管节点、采购方节点和供货方节点先做签名处理,所述参与方中的所述监管节点、采购方节点和供货方节点收到共识请求后,对所述状态数据集中的所述签名进行验证,所述验证过程中只有符合所述条件属性才有效,当所述共识处理后有超过50%的所述状态数据集保持一致时,将所述状态数据集存储至数据库中;否则,将所述状态数据集进行丢弃处理。
本申请实施例中,由于接收到的为采集节点定向分发的加密交易数据集,因此,数据处理时交易信息的私密性提升,由于加密交易数据集是由采集节点定向分发的,因此提高了数据处理过程中数据传输的准确性和高效性;在接收到加密交易数据集之后,进行解密,并将解密生成的明文交易数据集通过私密合约和智能合约进行处理,进一步提高了数据处理过程中数据的验证效率和私密性,因此本申请实施例实现了提升数据处理速度和提高交易信息私密性的目的。
请参照图2,图2为本申请另一实施例提供的用于区块链的数据处理方法的流程示意图。该方法可以应用于区块链系统的采集节点。该方法可以由一个装置执行,该装置可以由软件和/或硬件实现。
详细地,在本申请实施例中,所述区块链的数据处理方法包括:
S21、获取私密交易信息。
本实施例中,区块链交易系统中含有采集节点和参与方节点,通过所述采集节点获取用户的私密交易信息集,所述参与方节点可以包括供货方节点、采购方节点和监管节点等至少两个节点。
例如,采购方节点代表的移动、联通、电信,供货方节点代表苹果、诺基亚,监管节点代表政府,任意一笔采购中,都可以有采购方和供货方、监管方的参与,或者仅存在采购方和供货方的参与。
本实施例中,私密交易信息是进行私密交易时的信息。
S22、对所述私密交易信息进行加密,生成加密交易数据集。
详细地,所述对所述私密交易信息进行加密,生成加密交易数据集包括:调用第二秘钥生成器生成非对称加密第一公钥,利用所述第一公钥对所述私密交易信息进行字节转换,生成加密字节数组集,对所述加密字节数组集进行密码值计算,生成密码数组集,对所述密码数组集进行组合,生成加密交易数据集。
S23、获取预构建的加密子类。
本申请实施例中,通过在httpServlet类中进行编码预构建加密子类,解决每次请求和响应都需要一个不同的类来处理的弊端。
S24、通过分发器解析所述加密子类,从所述加密子类获取分发地址;
本申请实施例中,通过分发器解析所述加密子类,所述加密子类中包含所述加密交易数据集的分发地址。所述分发器是一个包含多种函数和方法的库。
S25、根据所述分发地址定向分发至参与方节点,所述参与方节点用于解密并处理所述加密交易数据集。
进一步地,根据所述分发地址将所述加密交易数据集定向分发至参与方节点,包括:获取预设的URL地址,将所述加密交易数据集通过所述URL地址传输至参与方节点或参与方节点所属的服务器中。
本实施例中,参与方节点所属的服务器即包含参与方节点的服务器。
在本实施例中,通过获取私密交易信息,并将私密交易信息加密,提升了数据处理时交易信息的私密性,对加密交易数据集进行定向分发,提高了数据处理过程中数据传输的准确性和高效性。
请参见图3所示,图3是本申请实施例中用于区块链的数据处理装置的功能模块图。
本申请所述用于区块链的数据处理装置100可以安装于电子设备中。根据实现的功能,所述用于区块链的数据处理装置可以包括数据接收模块101、数据解密模块102、广播计算模块103、第一交易模块104、第二交易模块105和共识处理模块106。本发所述模块也可以称之为单元,是指一种能够被电子设备处理器所执行,并且能够完成固定功能的一系列计算机程序段,其存储在电子设备的存储器中。
在本实施例中,关于各模块/单元的功能如下:
所述数据接收模块101,用于接收由采集节点通过分发器和预构建的加密子类定向分发的加密交易数据集,所述采集节点用于获取私密交易信息并加密所述私密交易信息得到所述加密交易数据集;
所述数据解密模块102,用于对所述加密交易数据集进行解密,生成明文交易数据集;
所述广播计算模块103,用于对所述明文交易数据集进行广播计算,生成广播交易信息;
所述第一交易模块104,用于利用私密合约对所述广播交易信息进行私密交易,生成广播私密信息;
所述第二交易模块105,用于利用智能合约对所述广播私密信息进行合约处理,生成状态数据集;
所述共识处理模块106,用于对所述状态数据集进行共识处理并存储。
详细地,所述用于区块链的数据处理装置各模块的具体实施步骤如下:
所述数据接收模块101接收由采集节点通过分发器和预构建的加密子类定向分发的加密交易数据集,所述采集节点用于获取私密交易信息并加密所述私密交易信息得到所述加密交易数据集。
详细地,本实施例中,采集节点通过分发器解析预构建的加密子类获取待分发地址,进而根据分发地址分发加密交易数据集,参与方节点接收加密交易数据集。
在本实施例中,通过分发器和预构建的加密子类,调用分发函数直接对将所述加密交易数据集进行传输,提高了数据处理的速度。
所述数据解密模块102对所述加密交易数据集进行解密,生成明文交易数据集。
详细地,所述加密交易数据集由第一公钥加密,所述对所述加密交易数据集进行解密,生成明文交易数据集包括:
调用第一秘钥生成器生成与所述第一公钥对应的非对称解密私钥,利用所述私钥对所述加密交易数据集进行密码值反向计算,生成解密字节数组集;
对所述解密字节数组集进行字节转换,生成明文交易数据集。
进一步地,所述利用所述私钥对所述加密交易数据集进行密码值反向计算,包括:
通过散列算法对所述加密交易数据集进行消息填充,所述消息填充包括:先填充一个“1”和若干个“0”,使填充后的所述加密交易数据集长度模1024与896同余,填充位数为0-1023,填充前消息的长度以一个128位的字段附加到填充消息的后面,生成的值为填充前消息的长度。
进一步地,对消息填充后的所述加密交易数据集进行链接变量的初始化,将所述初始化生成的中间结果和最终结果都存储于512位的缓冲区中,将所述缓冲区通过8个64位的寄存器A、B、C、D、E、F、G、H表示,将初始后的所述加密交易数据集中链接变量存储于8个所述64位的寄存器中。
进一步地,对初始化后的所述加密交易数据集进行主循环操作,所述主循环操作包括:通过1024位的分组为单位对所述加密交易数据集进行处理,并进行80步循环操作,将每一次迭代都把512位缓冲区的值A、B、C、D、E、F、G、H作为输入,所述值取自上一次迭代压缩的计算结果,每一步计算中均采用了所述加密交易数据集中不同的消息字和常数,对所述消息的N个1024位的分组都处理完毕之后,第N次迭代压缩输出的512位链接变量即为最终的密码值。
所述广播计算模块103对所述明文交易数据集进行广播计算,生成广播交易信息,利用私密合约对所述广播交易信息进行私密交易,生成广播私密信息。
进一步地,所述对所述明文交易数据集进行广播计算,生成广播交易信息包括:
将明文交易数据集分成n个维度不一致的数组;
将所述n个维度不一致的数组进行补齐计算,生成n个维度一致的数组;
将所述n个维度一致的数组进行组合,生成生成广播交易信息。
所述第一交易模块104利用私密合约对所述广播交易信息进行私密交易,生成广播私密信息。
进一步地,所述利用私密合约对所述广播交易信息进行私密交易,生成广播私密信息包括:
所述广播交易信息的存储结构为目录结构,访问所述目录结构中的根目录;
获取所述根目录以及所述根目录的子目录中存储的交易标志的标志信息和交易状态的状态信息;
判断是否存在与所述私密合约中的标准标志信息和标准状态信息相匹配的标志信息和状态信息;
若存在,获取与所述私密合约中的标准标志信息和标准状态信息相匹配的标志信息和状态信息对应的目标交易信息,确定所述目标交易信息为过滤广播交易信息,将所述过滤广播交易信息进行分词处理,生成广播私密信息,所述广播私密信息中包含广播私密名称信息、广播私密数字信息、广播私密标志信息以及多条交易明文。
所述第二交易模块105利用智能合约对所述广播私密信息进行合约处理,生成状态数据集。
较佳地,所述利用智能合约对所述广播私密信息进行合约处理,生成状态数据集包括:
将所述广播私密信息中所述多条交易明文与所述智能合约中预设交易明文进行匹配,所述预设交易明文包括预设广播状态名称信息、预设广播状态数字信息、预设广播状态标志信息;
从所述多条交易明文中获取与所述智能合约中预设交易明文相匹配的目标交易明文;
确定所述目标交易明文为过滤广播状态信息;
将所述过滤广播状态信息中的至少两项广播状态信息进行组合,生成状态数据集,所述状态数据集包括广播状态名称信息、广播状态数字信息、广播状态标志信息的不同信息组合。
所述共识处理模块106对所述状态数据集进行共识处理并存储。
详细地,所述对所述状态数据集进行共识处理并存储包括:
调用第二秘钥生成器生成非对称加密第二公钥,所述第二公钥和所述第一公钥由所述第二秘钥生成器中不同函数生成,利用解密所述状态数据集得到的签名信息和所述第二公钥验证所述状态数据集的真实性,若验证通过,对所述状态数据集进行共识解析,生成第一共识信息和共识状态数据,将所述第一共识信息和共识状态数据存储至数据库中,将所述第一共识信息替换所述数据库中原有的共识信息。
本申请实施例中,所述参与方节点对所述状态数据进行所述共识处理时,对需要共识的所述状态数据集,所述参与方中的所述监管节点、采购方节点和供货方节点需要先做签名处理,所述参与方中的所述监管节点、采购方节点和供货方节点收到共识请求后,对所述状态数据集中的所述签名进行验证,所述验证过程中只有符合所述条件属性才有效,当所述共识处理后有超过50%的所述状态数据集保持一致时,将所述状态数据集存储至数据库中;否则,将所述状态数据集进行丢弃处理。
本申请实施例中,由于接收到的为采集节点定向分发的加密交易数据集,因此,数据处理时交易信息的私密性提升,由于加密交易数据集是由采集节点定向分发的,因此提高了数据处理过程中数据传输的准确性和高效性;在接收到加密交易数据集之后,进行解密,并将解密生成的明文交易数据集通过私密合约和智能合约进行处理,进一步提高了数据处理过程中数据的验证效率和私密性,因此本申请实施例实现了提升数据的处理速度和提高数据信息私密性的目的。本申请还可应用于智慧医疗、智慧物流等领域,从而推动智慧城市的建设。
请参见图4所示,图4是本申请另一实施例中用于区块链的数据处理装置的功能模块图。
本申请所述用于区块链的数据处理装置200可以安装于电子设备中。根据实现的功能,所述用于区块链的数据处理装置可以包括数据获取模块201、数据加密模块202和数据分发模块203。本发所述模块也可以称之为单元,是指一种能够被电子设备处理器所执行,并且能够完成固定功能的一系列计算机程序段,其存储在电子设备的存储器中。
在本实施例中,关于各模块/单元的功能如下:
所述数据获取模块201,用于获取私密交易信息。
本实施例中,私密交易信息是进行私密交易时的信息。
交易可以有多个参与方参与。例如,供货方、采购方和监管方参与,其中,采购方代表的移动、联通、电信,供货方代表苹果、诺基亚,监管方代表政府,任意一笔采购中,都可以有采购方和供货方、监管方的参与,或者仅存在采购方和供货方的参与。
数据加密模块202,用于对所述私密交易信息进行加密,生成加密交易数据集,获取预构建的加密子类。
详细地,所述对所述私密交易信息进行加密,生成加密交易数据集包括:调用第二秘钥生成器生成非对称加密第一公钥,利用所述第一公钥对所述私密交易信息进行字节转换,生成加密字节数组集,对所述加密字节数组集进行密码值计算,生成密码数组集,对所述密码数组集进行组合,生成加密交易数据集。
本申请实施例中,通过在httpServlet类中进行编码预构建加密子类,解决每次请求和响应都需要一个不同的类来处理的弊端。
数据分发模块203,用于通过分发器解析所述加密子类,从所述加密子类获取分发地址,根据所述分发地址定向分发至参与方节点,所述参与方节点用于解密并处理所述加密交易数据集。
本申请实施例中,通过分发器解析所述加密子类,所述加密子类中包含所述加密交易数据集的分发地址。所述分发器是一个包含多种函数和方法的库。
进一步地,根据所述分发地址将所述加密交易数据集定向分发至参与方节点,包括:获取预设的URL地址,将所述加密交易数据集通过所述URL地址传输至参与方节点或参与方节点所属的服务器中。
本实施例中,参与方节点所属的服务器即包含参与方节点的服务器。
在本实施例中,通过获取私密交易信息,并将私密交易信息加密,提升了数据处理时交易信息的私密性,对加密交易数据集进行定向分发,提高了数据处理过程中数据传输的准确性和高效性。
如图5所示,是本申请实现用于区块链的数据处理方法的电子设备的结构示意图。
所述电子设备1可以包括处理器10、存储器11和总线,还可以包括存储在所述存储器11中并可在所述处理器10上运行的计算机程序,如用于区块链的数据处理程序12。
其中,所述存储器11至少包括一种类型的计算机可读存储介质,所述计算机可读存储介质包括闪存、移动硬盘、多媒体卡、卡型存储器(例如:SD或DX存储器等)、磁性存储器、磁盘、光盘等。进一步地,所述计算机可读存储介质主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储数据区可存储根据区块链节点的使用所创建的数据等。
所述存储器11在一些实施例中可以是电子设备1的内部存储单元,例如该电子设备1的移动硬盘。所述存储器11在另一些实施例中也可以是电子设备1的外部存储设备,例如电子设备1上配备的插接式移动硬盘、智能存储卡(Smart Media Card, SMC)、安全数字(Secure Digital, SD)卡、闪存卡(Flash Card)等。进一步地,所述存储器11还可以既包括电子设备1的内部存储单元也包括外部存储设备。所述存储器11不仅可以用于存储安装于电子设备1的应用软件及各类数据,例如用于区块链的数据处理的代码等,还可以用于暂时地存储已经输出或者将要输出的数据。
所述处理器10在一些实施例中可以由集成电路组成,例如可以由单个封装的集成电路所组成,也可以是由多个相同功能或不同功能封装的集成电路所组成,包括一个或者多个中央处理器(Central Processing unit,CPU)、微处理器、数字处理芯片、图形处理器及各种控制芯片的组合等。所述处理器10是所述电子设备的控制核心(Control Unit),利用各种接口和线路连接整个电子设备的各个部件,通过运行或执行存储在所述存储器11内的程序或者模块(例如执行用于区块链的数据处理等),以及调用存储在所述存储器11内的数据,以执行电子设备1的各种功能和处理数据。
所述总线可以是外设部件互连标准(peripheral component interconnect,简称PCI)总线或扩展工业标准结构(extended industry standard architecture,简称EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。所述总线被设置为实现所述存储器11以及至少一个处理器10等之间的连接通信。
图5仅示出了具有部件的电子设备,本领域技术人员可以理解的是,图5示出的结构并不构成对所述电子设备1的限定,可以包括比图示更少或者更多的部件,或者组合某些部件,或者不同的部件布置。
例如,尽管未示出,所述电子设备1还可以包括给各个部件供电的电源(比如电池),优选地,电源可以通过电源管理装置与所述至少一个处理器10逻辑相连,从而通过电源管理装置实现充电管理、放电管理、以及功耗管理等功能。电源还可以包括一个或一个以上的直流或交流电源、再充电装置、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。所述电子设备1还可以包括多种传感器、蓝牙模块、Wi-Fi模块等,在此不再赘述。
进一步地,所述电子设备1还可以包括网络接口,可选地,所述网络接口可以包括有线接口和/或无线接口(如WI-FI接口、蓝牙接口等),通常用于在该电子设备1与其他电子设备之间建立通信连接。
可选地,该电子设备1还可以包括用户接口,用户接口可以是显示器(Display)、输入单元(比如键盘(Keyboard)),可选地,用户接口还可以是标准的有线接口、无线接口。可选地,在一些实施例中,显示器可以是LED显示器、液晶显示器、触控式液晶显示器以及OLED(Organic Light-Emitting Diode,有机发光二极管)触摸器等。其中,显示器也可以适当的称为显示屏或显示单元,用于显示在电子设备1中处理的信息以及用于显示可视化的用户界面。
应该了解,所述实施例仅为说明之用,在专利申请范围上并不受此结构的限制。
所述电子设备1中的所述存储器11存储的用于区块链的数据处理12是多个指令的组合,在所述处理器10中运行时,可以实现:
接收由采集节点通过分发器和预构建的加密子类定向分发的加密交易数据集,所述采集节点用于获取私密交易信息并加密所述私密交易信息得到所述加密交易数据集;
对所述加密交易数据集进行解密,生成明文交易数据集;
对所述明文交易数据集进行广播计算,生成广播交易信息;
利用私密合约对所述广播交易信息进行私密交易,生成广播私密信息;
利用智能合约对所述广播私密信息进行合约处理,生成状态数据集;
对所述状态数据集进行共识处理并存储。
或者,所述电子设备1中的所述存储器11存储的用于区块链的数据处理12是多个指令的组合,在所述处理器10中运行时,可以实现:
获取私密交易信息;
对所述私密交易信息进行加密,生成加密交易数据集;
将所述加密交易数据集定向分发至参与方节点,以使所述参与方节点解密并处理所述加密交易数据集。
具体地,所述处理器10对上述指令的具体实现方法可参考图1或图2对应实施例中相关步骤的描述,在此不赘述。
进一步地,所述电子设备1集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个非易失性或易失性计算机可读存储介质中。所述计算机可读存储介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)。
本申请所指区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链(Blockchain),本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中包含了一批次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个区块。区块链可以包括区块链底层平台、平台产品服务层以及应用服务层等。
此外,本申请实施例还提出一种计算机可读存储介质,所述计算机可读存储介质中包括数据处理程序,所述数据处理程序被处理器执行时实现如上所述的数据处理方法的步骤。
本申请之计算机可读存储介质的具体实施方式与上述对象推荐方法的具体实施方式大致相同,在此不再赘述。该计算机可读存储介质可以是非易失性,或易失性的存储介质。
在本申请所提供的几个实施例中,应该理解到,所揭露的设备,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。
对于本领域技术人员而言,显然本申请不限于上述示范性实施例的细节,而且在不背离本申请的精神或基本特征的情况下,能够以其他的具体形式实现本申请。
因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本申请的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本申请内。不应将权利要求中的任何附关联图标记视为限制所涉及的权利要求。
此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。系统权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第二等词语用来表示名称,而并不表示任何特定的顺序。
最后应说明的是,以上实施例仅用以说明本申请的技术方案而非限制,尽管参照较佳实施例对本申请进行了详细说明,本领域的普通技术人员应当理解,可以对本申请的技术方案进行修改或等同替换,而不脱离本申请技术方案的精神和范围。

Claims (20)

  1. 一种用于区块链的数据处理方法,其中,应用于参与方节点,所述方法包括:
    接收由采集节点通过分发器和预构建的加密子类定向分发的加密交易数据集,所述采集节点用于获取私密交易信息并加密所述私密交易信息得到所述加密交易数据集;
    对所述加密交易数据集进行解密,生成明文交易数据集;
    对所述明文交易数据集进行广播计算,生成广播交易信息;
    利用私密合约对所述广播交易信息进行私密交易,生成广播私密信息;
    利用智能合约对所述广播私密信息进行合约处理,生成状态数据集;
    对所述状态数据集进行共识处理并存储。
  2. 如权利要求1所述的用于区块链的数据处理方法,其中,所述采集节点通过分发器解析预构建的加密子类获取待分发地址,进而根据分发地址分发加密交易数据集。
  3. 如权利要求1所述的用于区块链的数据处理方法,其中,所述加密交易数据集由第一公钥加密,所述对所述加密交易数据集进行解密,生成明文交易数据集包括:
    调用第一秘钥生成器生成与所述第一公钥对应的非对称解密私钥,利用所述私钥对所述加密交易数据集进行密码值反向计算,生成解密字节数组集;
    对所述解密字节数组集进行字节转换,生成明文交易数据集。
  4. 如权利要求1所述的用于区块链的数据处理方法,其中,所述广播交易信息的存储结构为目录结构,所述利用私密合约对所述广播交易信息进行私密交易,生成广播私密信息包括:
    访问所述目录结构中的根目录;
    获取所述根目录以及所述根目录的子目录中存储的交易标志的标志信息和交易状态的状态信息;
    判断是否存在与所述私密合约中的标准标志信息和标准状态信息相匹配的标志信息和状态信息;
    若存在,获取与所述私密合约中的标准标志信息和标准状态信息相匹配的标志信息和状态信息对应的目标交易信息,确定所述目标交易信息为过滤广播交易信息;
    将所述过滤广播交易信息进行分词处理,生成广播私密信息,所述广播私密信息中包含广播私密名称信息、广播私密数字信息、广播私密标志信息以及多条交易明文。
  5. 如权利要求4所述的用于区块链的数据处理方法,其中,所述利用智能合约对所述广播私密信息进行合约处理,生成状态数据集包括:
    将所述广播私密信息中所述多条交易明文与所述智能合约中预设交易明文进行匹配,所述预设交易明文包括预设广播状态名称信息、预设广播状态数字信息、预设广播状态标志信息;
    从所述多条交易明文中获取与所述智能合约中预设交易明文相匹配的目标交易明文;
    确定所述目标交易明文为过滤广播状态信息;
    将所述过滤广播状态信息中的至少两项广播状态信息进行组合,生成状态数据集,所述状态数据集包括广播状态名称信息、广播状态数字信息、广播状态标志信息的不同信息组合。
  6. 如权利要求1所述的用于区块链的数据处理方法,其中,所述对所述状态数据集进行共识处理并存储,包括:
    调用第二秘钥生成器生成非对称加密第二公钥,所述第二公钥和所述第一公钥由所述第二秘钥生成器中不同函数生成;
    利用解密所述状态数据集得到的签名信息和所述第二公钥验证所述状态数据集的真实性;
    若验证通过,对所述状态数据集进行共识解析,生成第一共识信息和共识状态数据;
    将所述第一共识信息和所述共识状态数据存储至数据库中,以及用所述第一共识信息替换所述数据库中原有的共识信息。
  7. 一种数据处理方法,其中,应用于采集节点,所述数据处理方法包括:
    获取私密交易信息;
    对所述私密交易信息进行加密,生成加密交易数据集;
    获取预构建的加密子类;
    通过分发器解析所述加密子类,从所述加密子类获取分发地址;
    根据所述分发地址定向分发至参与方节点,所述参与方节点用于解密并处理所述加密交易数据集。
  8. 如权利要求7所述的数据处理方法,其中,所述对所述私密交易信息进行加密,生成加密交易数据集包括:
    调用第二秘钥生成器生成非对称加密第一公钥,利用所述第一公钥对所述私密交易信息进行字节转换,生成加密字节数组集;
    对所述加密字节数组集进行密码值计算,生成密码数组集;
    对所述密码数组集进行组合,生成加密交易数据集。
  9. 一种电子设备,其中,所述电子设备包括:
    至少一个处理器;以及,
    与所述至少一个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如下所述的用于区块链的数据处理方法:
    接收由采集节点通过分发器和预构建的加密子类定向分发的加密交易数据集,所述采集节点用于获取私密交易信息并加密所述私密交易信息得到所述加密交易数据集;
    对所述加密交易数据集进行解密,生成明文交易数据集;
    对所述明文交易数据集进行广播计算,生成广播交易信息;
    利用私密合约对所述广播交易信息进行私密交易,生成广播私密信息;
    利用智能合约对所述广播私密信息进行合约处理,生成状态数据集;
    对所述状态数据集进行共识处理并存储。
  10. 如权利要求9所述的电子设备,其中,所述采集节点通过分发器解析预构建的加密子类获取待分发地址,进而根据分发地址分发加密交易数据集。
  11. 如权利要求9所述的电子设备,其中,所述加密交易数据集由第一公钥加密,所述对所述加密交易数据集进行解密,生成明文交易数据集包括:
    调用第一秘钥生成器生成与所述第一公钥对应的非对称解密私钥,利用所述私钥对所述加密交易数据集进行密码值反向计算,生成解密字节数组集;
    对所述解密字节数组集进行字节转换,生成明文交易数据集。
  12. 如权利要求9所述的电子设备,其中,所述广播交易信息的存储结构为目录结构,所述利用私密合约对所述广播交易信息进行私密交易,生成广播私密信息包括:
    访问所述目录结构中的根目录;
    获取所述根目录以及所述根目录的子目录中存储的交易标志的标志信息和交易状态的状态信息;
    判断是否存在与所述私密合约中的标准标志信息和标准状态信息相匹配的标志信息和状态信息;
    若存在,获取与所述私密合约中的标准标志信息和标准状态信息相匹配的标志信息和状态信息对应的目标交易信息,确定所述目标交易信息为过滤广播交易信息;
    将所述过滤广播交易信息进行分词处理,生成广播私密信息,所述广播私密信息中包含广播私密名称信息、广播私密数字信息、广播私密标志信息以及多条交易明文。
  13. 如权利要求12所述的电子设备,其中,所述利用智能合约对所述广播私密信息进行合约处理,生成状态数据集包括:
    将所述广播私密信息中所述多条交易明文与所述智能合约中预设交易明文进行匹配,所述预设交易明文包括预设广播状态名称信息、预设广播状态数字信息、预设广播状态标志信息;
    从所述多条交易明文中获取与所述智能合约中预设交易明文相匹配的目标交易明文;
    确定所述目标交易明文为过滤广播状态信息;
    将所述过滤广播状态信息中的至少两项广播状态信息进行组合,生成状态数据集,所述状态数据集包括广播状态名称信息、广播状态数字信息、广播状态标志信息的不同信息组合。
  14. 如权利要求9所述的电子设备,其中,所述对所述状态数据集进行共识处理并存储,包括:
    调用第二秘钥生成器生成非对称加密第二公钥,所述第二公钥和所述第一公钥由所述第二秘钥生成器中不同函数生成;
    利用解密所述状态数据集得到的签名信息和所述第二公钥验证所述状态数据集的真实性;
    若验证通过,对所述状态数据集进行共识解析,生成第一共识信息和共识状态数据;
    将所述第一共识信息和所述共识状态数据存储至数据库中,以及用所述第一共识信息替换所述数据库中原有的共识信息。
  15. 一种计算机可读存储介质,包括存储数据区和存储程序区,存储数据区存储根据区块链节点的使用所创建的数据,存储程序区存储有计算机程序,其中,所述计算机程序被处理器执行时实现如下所述的用于区块链的数据处理方法:
    接收由采集节点通过分发器和预构建的加密子类定向分发的加密交易数据集,所述采集节点用于获取私密交易信息并加密所述私密交易信息得到所述加密交易数据集;
    对所述加密交易数据集进行解密,生成明文交易数据集;
    对所述明文交易数据集进行广播计算,生成广播交易信息;
    利用私密合约对所述广播交易信息进行私密交易,生成广播私密信息;
    利用智能合约对所述广播私密信息进行合约处理,生成状态数据集;
    对所述状态数据集进行共识处理并存储。
  16. 如权利要求15所述的计算机可读存储介质,其中,所述加密交易数据集由第一公钥加密,所述对所述加密交易数据集进行解密,生成明文交易数据集包括:
    调用第一秘钥生成器生成与所述第一公钥对应的非对称解密私钥,利用所述私钥对所述加密交易数据集进行密码值反向计算,生成解密字节数组集;
    对所述解密字节数组集进行字节转换,生成明文交易数据集。
  17. 如权利要求15所述的计算机可读存储介质,其中,所述广播交易信息的存储结构为目录结构,所述利用私密合约对所述广播交易信息进行私密交易,生成广播私密信息包括:
    访问所述目录结构中的根目录;
    获取所述根目录以及所述根目录的子目录中存储的交易标志的标志信息和交易状态的状态信息;
    判断是否存在与所述私密合约中的标准标志信息和标准状态信息相匹配的标志信息和状态信息;
    若存在,获取与所述私密合约中的标准标志信息和标准状态信息相匹配的标志信息和状态信息对应的目标交易信息,确定所述目标交易信息为过滤广播交易信息;
    将所述过滤广播交易信息进行分词处理,生成广播私密信息,所述广播私密信息中包含广播私密名称信息、广播私密数字信息、广播私密标志信息以及多条交易明文。
  18. 如权利要求17所述的计算机可读存储介质,其中,所述利用智能合约对所述广播私密信息进行合约处理,生成状态数据集包括:
    将所述广播私密信息中所述多条交易明文与所述智能合约中预设交易明文进行匹配,所述预设交易明文包括预设广播状态名称信息、预设广播状态数字信息、预设广播状态标志信息;
    从所述多条交易明文中获取与所述智能合约中预设交易明文相匹配的目标交易明文;
    确定所述目标交易明文为过滤广播状态信息;
    将所述过滤广播状态信息中的至少两项广播状态信息进行组合,生成状态数据集,所述状态数据集包括广播状态名称信息、广播状态数字信息、广播状态标志信息的不同信息组合。
  19. 如权利要求15所述的计算机可读存储介质,其中,所述对所述状态数据集进行共识处理并存储,包括:
    调用第二秘钥生成器生成非对称加密第二公钥,所述第二公钥和所述第一公钥由所述第二秘钥生成器中不同函数生成;
    利用解密所述状态数据集得到的签名信息和所述第二公钥验证所述状态数据集的真实性;
    若验证通过,对所述状态数据集进行共识解析,生成第一共识信息和共识状态数据;
    将所述第一共识信息和所述共识状态数据存储至数据库中,以及用所述第一共识信息替换所述数据库中原有的共识信息。
  20. 一种计算机可读存储介质,包括存储数据区和存储程序区,存储数据区存储根据区块链节点的使用所创建的数据,存储程序区存储有计算机程序,其中,所述计算机程序被处理器执行时实现如下所述的用于区块链的数据处理方法:
    获取私密交易信息;
    对所述私密交易信息进行加密,生成加密交易数据集;
    获取预构建的加密子类;
    通过分发器解析所述加密子类,从所述加密子类获取分发地址;
    根据所述分发地址定向分发至参与方节点,所述参与方节点用于解密并处理所述加密交易数据集。
PCT/CN2020/106024 2020-04-30 2020-07-31 用于区块链数据处理的方法、装置及可读存储介质 WO2021217939A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010360823.0A CN111612458A (zh) 2020-04-30 2020-04-30 用于区块链数据处理的方法、装置及可读存储介质
CN202010360823.0 2020-04-30

Publications (1)

Publication Number Publication Date
WO2021217939A1 true WO2021217939A1 (zh) 2021-11-04

Family

ID=72196181

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/106024 WO2021217939A1 (zh) 2020-04-30 2020-07-31 用于区块链数据处理的方法、装置及可读存储介质

Country Status (2)

Country Link
CN (1) CN111612458A (zh)
WO (1) WO2021217939A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114520726A (zh) * 2022-03-21 2022-05-20 中国工商银行股份有限公司 基于区块链数据的处理方法和装置、处理器及电子设备
CN114978744A (zh) * 2022-06-08 2022-08-30 廖鼎 一种基于区块链的安防信息传输方法及系统

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112118087A (zh) * 2020-09-18 2020-12-22 上海计算机软件技术开发中心 跨链合约压缩加密系统和方法
CN112104747B (zh) * 2020-10-30 2021-02-26 广州市玄武无线科技股份有限公司 一种基于链式处理的请求响应系统

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109547407A (zh) * 2018-10-16 2019-03-29 北京英视睿达科技有限公司 一种环境监测数据的全过程追踪方法及区块链节点
JP2019106612A (ja) * 2017-12-12 2019-06-27 株式会社イーグルツリー 暗号通貨のマイニングシステム
CN110059970A (zh) * 2019-04-23 2019-07-26 南京工程学院 一种基于区块链技术的电网系统交易方法
CN110197082A (zh) * 2019-05-31 2019-09-03 联想(北京)有限公司 数据处理方法、数据处理装置和计算机系统
CN111008385A (zh) * 2019-11-21 2020-04-14 山东爱城市网信息技术有限公司 一种区块链超级账本中隐私交易的构建方法、设备及介质
CN111062716A (zh) * 2019-11-29 2020-04-24 支付宝(杭州)信息技术有限公司 生成区块链签名数据的方法及装置、区块链交易发起系统

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2019106612A (ja) * 2017-12-12 2019-06-27 株式会社イーグルツリー 暗号通貨のマイニングシステム
CN109547407A (zh) * 2018-10-16 2019-03-29 北京英视睿达科技有限公司 一种环境监测数据的全过程追踪方法及区块链节点
CN110059970A (zh) * 2019-04-23 2019-07-26 南京工程学院 一种基于区块链技术的电网系统交易方法
CN110197082A (zh) * 2019-05-31 2019-09-03 联想(北京)有限公司 数据处理方法、数据处理装置和计算机系统
CN111008385A (zh) * 2019-11-21 2020-04-14 山东爱城市网信息技术有限公司 一种区块链超级账本中隐私交易的构建方法、设备及介质
CN111062716A (zh) * 2019-11-29 2020-04-24 支付宝(杭州)信息技术有限公司 生成区块链签名数据的方法及装置、区块链交易发起系统

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114520726A (zh) * 2022-03-21 2022-05-20 中国工商银行股份有限公司 基于区块链数据的处理方法和装置、处理器及电子设备
CN114978744A (zh) * 2022-06-08 2022-08-30 廖鼎 一种基于区块链的安防信息传输方法及系统
CN114978744B (zh) * 2022-06-08 2024-05-17 北京多正科技有限公司 一种基于区块链的安防信息传输方法及系统

Also Published As

Publication number Publication date
CN111612458A (zh) 2020-09-01

Similar Documents

Publication Publication Date Title
WO2022142038A1 (zh) 数据传输方法及相关设备
WO2021217939A1 (zh) 用于区块链数据处理的方法、装置及可读存储介质
US5757913A (en) Method and apparatus for data authentication in a data communication environment
US9614814B2 (en) System and method for cascading token generation and data de-identification
US7546327B2 (en) Platform independent randomness accumulator for network applications
CN113055380B (zh) 报文处理方法、装置、电子设备及介质
JP2003512649A (ja) 暗号アクセラレータ
TWM542178U (zh) 隱藏及還原區塊鏈交易中交易方資訊之裝置
WO2022227317A1 (zh) 基于区块链的资源转移方法、装置、电子设备及存储介质
WO2021151308A1 (zh) 登录检验方法、装置及计算机可读存储介质
TWI637619B (zh) 隱藏還原區塊鏈交易中交易方資訊之裝置及其方法
CN114186264A (zh) 数据随机加密、解密方法、装置及系统
CN113610526A (zh) 一种数据信任方法、装置、电子设备及存储介质
CN113822675A (zh) 基于区块链的报文处理方法、装置、设备及存储介质
CN115048664A (zh) 基于固态硬盘的数据安全存储方法、装置、设备及介质
CN111404892B (zh) 数据监管方法、装置和服务器
CN114785524B (zh) 电子印章生成方法、装置、设备和介质
CN113420049A (zh) 数据流通方法、装置、电子设备及存储介质
CN114884697A (zh) 基于国密算法的数据加解密方法及相关设备
CN102222188A (zh) 一种信息系统用户密码的生成方法
CN114553532A (zh) 数据安全传输方法、装置、电子设备及存储介质
CN111241492A (zh) 一种产品多租户安全授信方法、系统及电子设备
CN112466032B (zh) 电子投票方法、装置及电子设备
US20220345292A1 (en) Method and device for encryption of video stream, communication equipment, and storage medium
CN115766244A (zh) 车联网信息加密方法、装置、计算机设备和存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20933953

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 31.01.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20933953

Country of ref document: EP

Kind code of ref document: A1