CN109493027A - A kind of method and device realized across chain transactional operation - Google Patents

A kind of method and device realized across chain transactional operation Download PDF

Info

Publication number
CN109493027A
CN109493027A CN201811373031.6A CN201811373031A CN109493027A CN 109493027 A CN109493027 A CN 109493027A CN 201811373031 A CN201811373031 A CN 201811373031A CN 109493027 A CN109493027 A CN 109493027A
Authority
CN
China
Prior art keywords
chain
transaction
address information
public affairs
sender
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811373031.6A
Other languages
Chinese (zh)
Inventor
张春春
曾德强
骆方磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhongan Information Technology Service Co Ltd
Original Assignee
Zhongan Information Technology Service Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhongan Information Technology Service Co Ltd filed Critical Zhongan Information Technology Service Co Ltd
Priority to CN201811373031.6A priority Critical patent/CN109493027A/en
Publication of CN109493027A publication Critical patent/CN109493027A/en
Pending legal-status Critical Current

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/08Payment architectures
    • G06Q20/10Payment architectures specially adapted for electronic funds transfer [EFT] systems; specially adapted for home banking systems
    • G06Q20/102Bill distribution or payments
    • 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/3825Use of electronic signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The present invention provides a kind of methods realized across chain transactional operation, comprising: obtains the account information of sender and recipient in transaction, wherein account information includes the address information of the account of sender and recipient;Parameter transaction is determined based on acquired account information, wherein parameter transaction includes resource consumption and intelligent contract method parameter in execution;Based on determining parameter transaction, the connection protocol and its link address information of target public affairs chain are determined in the connection protocol and its link address information aggregate of multiple public chains;And target public affairs chain is connected to by the connection protocol and its link address information of identified target public affairs chain.The present invention supports Dapp to dock a variety of mainstream public affairs chains by the SDK of building, to realize across chain transactional operation.

Description

A kind of method and device realized across chain transactional operation
Technical field
The present invention relates to block chain technology more particularly to a kind of method and devices realized across chain transactional operation.
Background technique
Block chain technology is verified and storing data using encryption chain type block structure, and distributed node common recognition is utilized to calculate Method generates and more new data, programmed using automatized script (intelligent contract) with one kind of operation data it is completely new go to center Change architecture and distributed computing normal form.Block chain generally has distributed fault-tolerance, can not tamper and Privacy Safeguarding To increasing trustability, reducing cost and enhancing safe diminish crime possibility and various risks.
Current block chain technology is quickly grown, and from 1.0 epoch of block chain using bit coin as the digital cash of representative, arrives block 2.0 epoch of chain to support the ether mill of intelligent contract as the public platform chain of representative, then when to our locating at present block chains 3.0 The intelligent society that generation is connected in series by various Dapp (Decentralized Application, Distributed Application).Increasingly More Dapp is bloomed using landing, but at present in the entire ecodevelopment of Dapp, operation of the Dapp in mobile terminal lacks across chain, peace Entirely, perfect, convenient and fast runtime environment.
Summary of the invention
In view of the above-mentioned problems, the present invention provides a kind of methods realized across chain transactional operation, comprising: obtain and sent out in transaction The account information of the side of sending and recipient, wherein the account information includes the address information of the account of sender and recipient;Base Parameter transaction is determined in acquired account information, wherein the parameter transaction includes that resource consumption and intelligent contract execute In method parameter;Based on determining parameter transaction, in the connection protocol and its link address information aggregate of multiple public chains really Set the goal the connection protocol and its link address information of public chain;And connection protocol and its company by identified target public affairs chain It connects address information and is connected to the target public affairs chain.
In one embodiment, the account information further includes the private key of sender.
In one embodiment, parameter transaction is determined further include: creation trades and signs to transaction.
In one embodiment, the method also includes: call the service on the target public affairs chain.
In one embodiment, the service includes money transfer transactions service, intelligent bond service and query service.
In one embodiment, the money transfer transactions service includes: to be believed by the public key of sender the transaction received Breath carries out sign test;And it is packaged and records the Transaction Information.
Another aspect of the present invention additionally provides a kind of device realized across chain transactional operation, comprising: memory is used to deposit Storage instruction;And processor, it is coupled to the memory, described instruction makes described device when being executed by the processor It executes according to method described in any of the above embodiments.
Another aspect of the present invention additionally provides a kind of computer readable storage medium, and the storage medium includes instruction, institute It states instruction to be performed, so that the processor of the computer executes method described in any of the above embodiments.
The present invention supports Dapp to dock a variety of mainstream public affairs chains by the SDK of building, thus realize across chain transactional operation, this Outside, some steps in SDK as needed can be adjusted the convenience and ease for use for increasing SDK.
Detailed description of the invention
Fig. 1 is flow chart 100 of the realization across the method for chain transactional operation of embodiment according to the present invention;
Fig. 2 is the flow chart 200 according to an embodiment of the invention for realizing the method across chain money transfer transactions;
Fig. 3 is the schematic diagram for realizing the device 300 across chain transactional operation.
Specific embodiment
Below with reference to each exemplary embodiment of the attached drawing detailed description disclosure.Flow chart and block diagram in attached drawing are shown The architecture, function and operation in the cards of method and system according to various embodiments of the present disclosure.It should be noted that Each box in flowchart or block diagram can represent a part of a module, program segment or code, the module, program Section or a part of code may include one or more holding for realizing the logic function of defined in each embodiment Row instruction.It should also be noted that in some alternative implementations, function marked in the box can also be attached according to being different from The sequence marked in figure occurs.For example, two boxes succeedingly indicated can actually be basically executed in parallel or it Can also execute in a reverse order sometimes, this depend on related function.It should also be noted that flow chart And/or the combination of each box in block diagram and the box in flowchart and or block diagram, function as defined in execution can be used Can or the dedicated hardware based system of operation realize, or specialized hardware can be used and the combination of computer instruction comes It realizes.
Term as used herein "include", "comprise" and similar terms are understood to open term, i.e., " including/including but not limited to ", expression can also include other content.Term "based" is " being based at least partially on ".Term " one embodiment " expression " at least one embodiment ";Term " another embodiment " expression " at least one other embodiment ", Etc..
Technology, method and apparatus known to person of ordinary skill in the relevant may be not discussed in detail, but suitable In the case of, the technology, method and apparatus should be considered as part of specification.For between each unit in attached drawing Line, it is only for convenient for explanation, indicate that the unit at least line both ends is in communication with each other, it is not intended that limitation does not connect It can not be communicated between the unit of line.
Below in conjunction with attached drawing, the present invention will be described in detail.
Fig. 1 is flow chart 100 of the realization across the method for chain transactional operation of embodiment according to the present invention.
Step S101: the account information of sender and recipient in transaction are obtained, wherein the account information includes sending The address information of the account of side and recipient.
Step S102: parameter transaction is determined based on acquired account information, wherein the parameter transaction includes resource Consumption and intelligent contract method parameter in execution.
Step S103: based on determining parameter transaction, in the connection protocol and its link address information aggregate of multiple public chains The connection protocol and its link address information of middle determining target public affairs chain.
Step S104: corresponding mesh is connected to by the connection protocol and its link address information of identified target public affairs chain Mark public chain.
Fig. 2 is the flow chart 200 of the method according to an embodiment of the invention for realizing across chain money transfer transactions operation.
By taking the money transfer transactions of ether mill as an example, realize that money transfer transactions operation is needed by following steps:
The interface of transferring accounts for ether mill that step S201:Dapp calls the SDK (Software Development Kit) of building to provide, It should be understood that including the address information in multiple interfaces and interface including the target public affairs chain to be connected, example in the SDK of building Such as, for ether mill realization money transfer transactions the interface A that transfers accounts, for the query interface B etc. of the realization inquiry in ether mill.
Step S202:SDK obtains the address information of transaction sender and recipient and the private key of sender from Dapp.
Step S203:SDK determines parameter transaction based on the address information of acquired sender.Parameter transaction includes example Such as nonce (counting), toAddr (sending address), amount (quantity), gasLimit (resource consumption), gasPrice (resource Price), payload (payload) etc..It should be understood that the parameter transaction that different target public affairs chains requires is different, part is handed over Easy parameter needs self-setting and carries out assignment conversion, and part parameter transaction needs to obtain from target public affairs chain, when sending transaction When information, these parameter transactions are enclosed, the parameter transaction that same target public affairs chain is related to is substantially identical, and only value is different.
Step S204:SDK creates transaction based on determining parameter transaction, is signed and sent transaction letter so as to subsequent Breath.
Step S205:SDK signs to Transaction Information using the private key of sender, to guarantee the transaction really by sending It initiates in person side.Herein, Transaction Information refers to the record of completed transaction, for example, account A transfers accounts 200 pieces to account B Record.
Step S206:SDK is connected to ether by the ether mill connection protocol and its link address information for including in itself The respective nodes in mill.It should be understood that including multiple public connection protocols of chain and its set of link address information in SDK, make Obtaining SDK may be coupled to multiple target public affairs chains, first determine the connection protocol of target public affairs chain before linking objective public affairs chain in the set And its link address information.
Step S207:SDK initiates transaction request.
Step S208: the node in ether mill carries out sign test to the Transaction Information received by the public key of sender, with The authenticity and correctness for verifying the transaction, to reach common understanding.
Step S209: the node in ether mill is packaged Transaction Information and records Transaction Information, is reached common understanding by digging mine, area All nodes in block chain network can all record Transaction Information.
The SDK of building provided by the invention can be passed to parameter by interface by providing multiple interfaces, dapp, thus logical It crosses SDK to be connected to respective objects block chain and carry out it corresponding transactional operation, and some steps in SDK as needed It can be adjusted.
Fig. 3 shows the realization of embodiment according to the present invention across the schematic diagram of the device 300 of chain transactional operation.
Device 300 may include: memory 301 and the processor 302 for being coupled to memory 301.Memory 301 is for depositing Storage instruction, processor 302 are configured as the instruction stored based on memory 301 to realize for method described in Fig. 1 and Fig. 2 The step of in one or more of any step.
As shown in figure 3, device 300 can also include communication interface 303, for carrying out information exchange with other equipment.This Outside, device 300 can also include bus 304, memory 301, processor 302 and communication interface 303 by bus 304 come each other It is communicated.
Memory 301 may include volatile memory, also may include nonvolatile memory.Processor 302 can be with It is central processing unit (CPU), microcontroller, specific integrated circuit (ASIC), digital signal processor (DSP), field-programmable Gate array (FPGA) or other programmable logic device or the one or more collection for being configured as realization the embodiment of the present invention At circuit.
Alternatively, the method that above-mentioned realization is operated across chain can be by computer program product, i.e., tangible computer can Storage medium is read to embody.Computer program product may include computer readable storage medium, containing for executing sheet The computer-readable program instructions of disclosed various aspects.Computer readable storage medium, which can be, can keep and store by referring to Enable the tangible device for executing the instruction that equipment uses.Computer readable storage medium can for example be but not limited to electricity storage and set Standby, magnetic storage apparatus, light storage device, electric magnetic storage apparatus, semiconductor memory apparatus or above-mentioned any appropriate combination. The more specific example (non exhaustive list) of computer readable storage medium includes: portable computer diskette, hard disk, deposits at random Access to memory (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), static random are deposited Access to memory (SRAM), Portable compressed disk read-only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, Mechanical coding equipment, the punch card for being for example stored thereon with instruction or groove internal projection structure and above-mentioned any appropriate Combination.Computer readable storage medium used herein above is not interpreted instantaneous signal itself, such as radio wave or its The electromagnetic wave of its Free propagation, the electromagnetic wave propagated by waveguide or other transmission mediums are (for example, pass through the light arteries and veins of fiber optic cables Punching) or pass through electric wire transmit electric signal.
It should be noted that the above list is only specific embodiments of the present invention, it is clear that the present invention is not limited to above real Example is applied, there are many similar variations therewith.If those skilled in the art directly exported from present disclosure or All deformations associated, are within the scope of protection of the invention.

Claims (8)

1. a kind of method realized across chain transactional operation characterized by comprising
Obtain the account information of sender and recipient in transaction, wherein the account information includes sender and recipient The address information of account;
Parameter transaction is determined based on acquired account information, wherein the parameter transaction includes that resource consumption and intelligence are closed Method parameter about in execution;
Based on determining parameter transaction, target public affairs chain is determined in the connection protocol and its link address information aggregate of multiple public chains Connection protocol and its link address information;And
The target public affairs chain is connected to by the connection protocol and its link address information of identified target public affairs chain.
2. the method according to claim 1, wherein the account information further includes the private key of sender.
3. the method according to claim 1, wherein determining parameter transaction further include: creation trades and to friendship Easily sign.
4. the method according to claim 1, wherein further include: call the service on the target public affairs chain.
5. according to the method described in claim 4, it is characterized in that, the service includes money transfer transactions service, intelligent contract clothes Business and query service.
6. according to the method described in claim 5, it is characterized in that, the money transfer transactions service includes:
Sign test is carried out to the Transaction Information received by the public key of sender;And
It is packaged and records the Transaction Information.
7. a kind of device realized across chain transactional operation characterized by comprising
Memory, for storing instruction;And
Processor, is coupled to the memory, and described instruction makes described device execute root when being executed by the processor According to method of any of claims 1-6.
8. a kind of computer readable storage medium, the storage medium includes instruction, and described instruction is performed, so that the meter The processor of calculation machine executes the method for any of claims 1-6.
CN201811373031.6A 2018-11-19 2018-11-19 A kind of method and device realized across chain transactional operation Pending CN109493027A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811373031.6A CN109493027A (en) 2018-11-19 2018-11-19 A kind of method and device realized across chain transactional operation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811373031.6A CN109493027A (en) 2018-11-19 2018-11-19 A kind of method and device realized across chain transactional operation

Publications (1)

Publication Number Publication Date
CN109493027A true CN109493027A (en) 2019-03-19

Family

ID=65696173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811373031.6A Pending CN109493027A (en) 2018-11-19 2018-11-19 A kind of method and device realized across chain transactional operation

Country Status (1)

Country Link
CN (1) CN109493027A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110135993A (en) * 2019-05-17 2019-08-16 深圳银链科技有限公司 Method, equipment and the storage medium of UTXO model adaptation intelligence contract account model
CN111640017A (en) * 2020-05-06 2020-09-08 深圳前海微众银行股份有限公司 Transaction correctness verification method and device applied to alliance chain cross-chain transfer
CN112148284A (en) * 2020-09-24 2020-12-29 普华云创科技(北京)有限公司 General type block chain software development kit
WO2020258848A1 (en) * 2019-06-28 2020-12-30 创新先进技术有限公司 Method and apparatus for cross-chain transmission of resources
US11336451B2 (en) 2019-06-28 2022-05-17 Advanced New Technologies Co., Ltd. Cross-blockchain resource transmission

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107516184A (en) * 2017-09-06 2017-12-26 合肥维天运通信息科技股份有限公司 A kind of logistics collection on delivery managing and control system based on block chain technology
CN107909369A (en) * 2017-10-13 2018-04-13 布比(北京)网络技术有限公司 Based on the common recognition method, apparatus merchandised across chain and storage medium
CN108270551A (en) * 2018-02-02 2018-07-10 上海二秒科技有限公司 A kind of safety service structure system on block chain
CN108288157A (en) * 2018-01-25 2018-07-17 青岛闪收付信息技术有限公司 A kind of supply chain management method based on financial block chain technology
CN108521426A (en) * 2018-04-13 2018-09-11 中国石油大学(华东) A kind of array honey jar cooperative control method based on block chain
CN108694575A (en) * 2018-06-13 2018-10-23 深圳前海微众银行股份有限公司 Verification method of transferring accounts, device and storage medium based on block chain
CN108763257A (en) * 2018-04-03 2018-11-06 北京欧链科技有限公司 DAPP containers, DAPP and block chain data processing method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107516184A (en) * 2017-09-06 2017-12-26 合肥维天运通信息科技股份有限公司 A kind of logistics collection on delivery managing and control system based on block chain technology
CN107909369A (en) * 2017-10-13 2018-04-13 布比(北京)网络技术有限公司 Based on the common recognition method, apparatus merchandised across chain and storage medium
CN108288157A (en) * 2018-01-25 2018-07-17 青岛闪收付信息技术有限公司 A kind of supply chain management method based on financial block chain technology
CN108270551A (en) * 2018-02-02 2018-07-10 上海二秒科技有限公司 A kind of safety service structure system on block chain
CN108763257A (en) * 2018-04-03 2018-11-06 北京欧链科技有限公司 DAPP containers, DAPP and block chain data processing method
CN108521426A (en) * 2018-04-13 2018-09-11 中国石油大学(华东) A kind of array honey jar cooperative control method based on block chain
CN108694575A (en) * 2018-06-13 2018-10-23 深圳前海微众银行股份有限公司 Verification method of transferring accounts, device and storage medium based on block chain

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
井通区块链: ""【圈链知识】Ethereum(以太坊)"", 《微信公众号》 *
区块链兄弟: ""以太坊交易的学习笔记"", 《微信公众号》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110135993A (en) * 2019-05-17 2019-08-16 深圳银链科技有限公司 Method, equipment and the storage medium of UTXO model adaptation intelligence contract account model
WO2020258848A1 (en) * 2019-06-28 2020-12-30 创新先进技术有限公司 Method and apparatus for cross-chain transmission of resources
US11336451B2 (en) 2019-06-28 2022-05-17 Advanced New Technologies Co., Ltd. Cross-blockchain resource transmission
CN111640017A (en) * 2020-05-06 2020-09-08 深圳前海微众银行股份有限公司 Transaction correctness verification method and device applied to alliance chain cross-chain transfer
CN111640017B (en) * 2020-05-06 2024-05-28 深圳前海微众银行股份有限公司 Transaction correctness verification method and device applied to alliance chain cross-chain transfer
CN112148284A (en) * 2020-09-24 2020-12-29 普华云创科技(北京)有限公司 General type block chain software development kit

Similar Documents

Publication Publication Date Title
CN109493027A (en) A kind of method and device realized across chain transactional operation
CN110363665B (en) Credit right data processing method, device, equipment and medium
CN109559229A (en) The method of the intelligent contract group of update based on block chain
CN109118214A (en) The method and apparatus for running intelligent contract
CN109242685A (en) Common recognition and verification method and device based on block chain
CN110349004A (en) Risk of fraud method for detecting and device based on user node relational network
CN107846278A (en) Intelligent contract processing method and processing device
CN109379429A (en) A kind of multichain management method and system based on block chain
KR20170040079A (en) Block chain supporting multiple one-way functions used for verification of blocks
CN112801658B (en) Cross-border resource transfer authenticity auditing method and device and electronic equipment
CN109064146A (en) A kind of digital cash method of commerce, equipment, system, terminal and client wallet
CN109118230A (en) Information processing method and device based on block chain
CN109447641A (en) To the method and apparatus of block chain browser transport block chain data
KR102455870B1 (en) Clustering method for cryptocurrency wallet addresses
CN108846674A (en) The method and apparatus of signature are verified in block chain
KR20200121114A (en) Block chain-based crytography donation server and donation method without limitation to donation target
CN109547200A (en) Certificate distribution method and corresponding calculating equipment and medium in block chain network
CN110163634A (en) Withdrawing method and device, electronic equipment based on block chain
CN112561510A (en) Payment system, method, device, equipment and storage medium
CN110163691A (en) Invoice creation method and device, electronic equipment based on block chain
CN111937020A (en) Aggregation payment method and system for digital currency and edge server
CN109919588A (en) A kind of method and apparatus for preventing from repeating to pay
CN109784928A (en) Information processing method and information processing unit based on block chain
CN109102268A (en) It is a kind of for polymerize payment reconciliation method and apparatus
KR102042442B1 (en) Regtech platform apparatus for digital compliance and risk management, method for risk management of financial transactions and computer program for the same

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190319

WD01 Invention patent application deemed withdrawn after publication