CN111709748A - Transaction execution method and device with service attribute and electronic equipment - Google Patents

Transaction execution method and device with service attribute and electronic equipment Download PDF

Info

Publication number
CN111709748A
CN111709748A CN202010527862.5A CN202010527862A CN111709748A CN 111709748 A CN111709748 A CN 111709748A CN 202010527862 A CN202010527862 A CN 202010527862A CN 111709748 A CN111709748 A CN 111709748A
Authority
CN
China
Prior art keywords
transaction
contract
receipt
service
execution
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.)
Granted
Application number
CN202010527862.5A
Other languages
Chinese (zh)
Other versions
CN111709748B (en
Inventor
王晓亮
陈昊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Rivtower Technology Co Ltd
Original Assignee
Hangzhou Rivtower Technology 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 Hangzhou Rivtower Technology Co Ltd filed Critical Hangzhou Rivtower Technology Co Ltd
Priority to CN202010527862.5A priority Critical patent/CN111709748B/en
Publication of CN111709748A publication Critical patent/CN111709748A/en
Application granted granted Critical
Publication of CN111709748B publication Critical patent/CN111709748B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/389Keeping log of transactions for guaranteeing non-repudiation of a transaction
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • 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

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • Databases & Information Systems (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the specification relates to a transaction execution method, a transaction execution device and electronic equipment with service attributes, and the method mainly comprises the following steps: sending at least one contract transaction with service attributes to the intelligent contract to obtain a transaction receipt; creating a service corresponding to the service attribute, and determining contract transaction and transaction receipt related to the service; determining the transaction execution sequence according to the transaction receipt of the related contract transaction; sending the transaction receipt and the transaction execution sequence of the related contract transaction to a transaction pool to obtain a service receipt; executing the associated contract transactions according to the transaction execution order. Therefore, contract transactions with service attributes put into the transaction pool are not randomly packaged, but are associated with specific services by a client sending the transactions, and after the execution sequence of the contract transactions is determined, specific execution steps are carried out, so that a service scene with specific service attributes is supported.

Description

Transaction execution method and device with service attribute and electronic equipment
Technical Field
The embodiment of the specification relates to the technical field of networks, in particular to a transaction execution method and device with service attributes and electronic equipment.
Background
In the existing blockchain system, contract transactions can be packed and executed at any time after being put into a transaction pool, and the packing combination mode is random. In a transaction that is executed in a package together, the order of execution is also uncertain, so its atomicity is a single contract transaction, with no notion associated with actual business. However, in practical application of the blockchain system, a series of corresponding transactions are required to be executed according to a fixed sequence, so that the existing transaction execution mode is not sufficient to support a specific service scenario.
Disclosure of Invention
The embodiment of the specification provides a transaction execution method and device with a service attribute and electronic equipment, and is used for solving the problem that a transaction execution method in the prior art cannot support a specific service scene.
In order to solve the above technical problem, the embodiments of the present specification adopt the following technical solutions:
in a first aspect, a transaction execution method having business attributes is provided, the method comprising:
sending at least one contract transaction with service attributes to the intelligent contract to obtain a transaction receipt;
creating a service corresponding to the service attribute, and determining contract transaction and transaction receipt related to the service;
determining the transaction execution sequence according to the transaction receipt of the related contract transaction;
sending the transaction receipt and the transaction execution sequence of the related contract transaction to a transaction pool to obtain a service receipt;
executing the associated contract transactions according to the transaction execution order.
In a second aspect, there is provided a transaction execution determination method having a business attribute, the method comprising:
sending at least one contract transaction with service attributes to the intelligent contract to obtain a transaction receipt;
creating a service corresponding to the service attribute, and determining contract transaction and transaction receipt related to the service;
determining the transaction execution sequence according to the transaction receipt of the related contract transaction;
and sending the transaction receipt and the transaction execution sequence of the related contract transaction to a transaction pool to obtain a service receipt.
In a third aspect, there is provided a transaction execution apparatus having a service profile, the apparatus comprising:
the transaction sending module: the contract transaction system is used for sending at least one contract transaction with service attributes to an intelligent contract to obtain a transaction receipt;
a service creation module: the system is used for creating a service corresponding to the service attribute and determining contract transaction and transaction receipt related to the service;
a transaction execution order determination module: the system is used for determining the transaction execution sequence according to the transaction receipt of the related contract transaction;
a service sending module: the system comprises a transaction pool, a transaction receipt and a transaction execution sequence, wherein the transaction receipt and the transaction execution sequence are used for sending a transaction receipt and a transaction execution sequence of related contract transactions to the transaction pool to obtain a service receipt;
an execution module: for executing the associated contract transactions according to the transaction execution order.
In a fourth aspect, an electronic device is provided, comprising: a processor; and a memory arranged to store computer executable instructions that, when executed, cause the processor to perform:
sending at least one contract transaction with service attributes to the intelligent contract to obtain a transaction receipt;
creating a service corresponding to the service attribute, and determining contract transaction and transaction receipt related to the service;
determining the transaction execution sequence according to the transaction receipt of the related contract transaction;
sending the transaction receipt and the transaction execution sequence of the related contract transaction to a transaction pool to obtain a service receipt;
executing the associated contract transactions according to the transaction execution order.
In a fifth aspect, the present invention also provides a computer-readable storage medium storing one or more programs which, when executed by an electronic device including a plurality of application programs, cause the electronic device to perform:
sending at least one contract transaction with service attributes to the intelligent contract to obtain a transaction receipt;
creating a service corresponding to the service attribute, and determining contract transaction and transaction receipt related to the service;
determining the transaction execution sequence according to the transaction receipt of the related contract transaction;
sending the transaction receipt and the transaction execution sequence of the related contract transaction to a transaction pool to obtain a service receipt;
executing the associated contract transactions according to the transaction execution order.
The embodiment of the specification adopts at least one technical scheme which can achieve the following beneficial effects: contract transactions placed in the transaction pool are divided into ordinary contract transactions and contract transactions with business attributes. The contract transaction with the service attribute is not randomly packaged, but is associated with a specific service by a client sending the transaction, and after the execution sequence is determined, the specific execution step is carried out, so that the service scene with the specific service attribute is supported.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the embodiments of the present specification, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative efforts.
FIG. 1 is a schematic diagram illustrating one of the steps of a transaction execution method with business attributes provided by an embodiment of the present disclosure;
fig. 2 is a second schematic diagram illustrating steps of a transaction execution method with service attributes according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a transaction execution device with service attributes according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an electronic device provided in an embodiment of this specification.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present disclosure more clear, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the specific embodiments of the present disclosure and the accompanying drawings. It is to be understood that the embodiments described are only a few embodiments of the present disclosure, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present specification without any creative effort belong to the protection scope of the embodiments in the present specification.
The technical solutions provided by the embodiments of the present description are described in detail below with reference to the accompanying drawings.
Example one
Referring to fig. 1, a schematic diagram of steps of a transaction execution method with service attributes provided in an embodiment of the present specification may include the following steps:
step 101: sending at least one contract transaction with service attributes to the intelligent contract to obtain a transaction receipt;
step 102: creating a service corresponding to the service attribute, and determining contract transaction and transaction receipt related to the service;
step 103: determining the transaction execution sequence according to the transaction receipt of the related contract transaction;
step 104: sending the transaction receipt and the transaction execution sequence of the related contract transaction to a transaction pool to obtain a service receipt;
step 105: executing the associated contract transactions according to the transaction execution order.
It should be noted that: the contract transactions placed into the transaction pool include contract transactions having business attributes and may also include ordinary contract transactions without business attribute identification. For the latter, the blockchain system can package and execute normal random transactions. And the service attribute may be identified by a field contained in the transaction
Optionally, the method may further include: when one of the associated contract transactions fails to execute, other unexecuted associated contract transactions terminate execution.
It should be noted that: due to the capacity limitation of the transaction pool, if no specific service is associated with a contract transaction with service attribute already existing in the transaction pool within a certain time or a certain block height, processing is required to ensure the space for effective transaction in the transaction pool. Thus optionally, the method further comprises: the contract transactions having business attributes include a block height threshold or time threshold, and when the block height exceeds the block height threshold or the time exceeds the time threshold, the contract transactions are removed from the transaction pool if the contract transactions have not been associated with the created business.
Optionally, the method may further include: the blockchain system sets a first blockchain asset upper limit (e.g., a quota upper limit threshold) consumed by all contract transactions related to a business;
the client end for creating the business sets the upper limit of the second block chain assets consumed by all contract transactions related to one business;
in the process of executing the related contract transaction, when the consumed blockchain asset reaches the smaller of the first blockchain asset upper limit and the second blockchain asset upper limit, the execution process is terminated.
By setting the upper threshold value of all the blockchain assets consumed by one service, the excessive loss of blockchain resources in the process of executing one service is ensured. The on-line setting of the assets can be realized through the block chain system or through the client.
Optionally, the method may further include:
checking the execution conditions of all contract transactions related to the business receipt according to the business receipt;
and/or
And checking the execution condition of the contract transaction according to the transaction receipt.
When the user side sends a service receipt to check the result, the blockchain system can return all the execution result lists of the related contract transactions; when the execution termination condition occurs, the feedback checking result is empty.
In another alternative embodiment, referring to fig. 2, a schematic diagram of steps of a transaction execution method with service attributes provided for an embodiment of this specification is provided, where an execution subject of the method may be a client sending a contract transaction, and the method may include the following steps:
step 201: sending at least one contract transaction with service attributes to the intelligent contract to obtain a transaction receipt;
step 202: creating a service corresponding to the service attribute, and determining contract transaction and transaction receipt related to the service;
step 203: determining the transaction execution sequence according to the transaction receipt of the related contract transaction;
step 204: and sending the transaction receipt and the transaction execution sequence of the related contract transaction to a transaction pool to obtain a service receipt.
Optionally, the method may further comprise the steps of:
checking the execution conditions of all contract transactions related to the business receipt according to the business receipt;
and/or
And checking the execution condition of the contract transaction according to the transaction receipt.
Through the technical scheme of the specification, contract transactions put into the transaction pool are divided into ordinary contract transactions and contract transactions with service attributes. The contract transaction with the service attribute is not randomly packaged, but is associated with a specific service by a client sending the transaction, and after the execution sequence is determined, the specific execution step is carried out, so that the service scene with the specific service attribute is supported.
Example two
Referring to fig. 3, a schematic structural diagram of a transaction execution device with service attributes provided in an embodiment of the present disclosure is shown, where the transaction execution device mainly includes:
the transaction sending module 301: the contract transaction system is used for sending at least one contract transaction with service attributes to an intelligent contract to obtain a transaction receipt;
the service creation module 302: the system is used for creating a service corresponding to the service attribute and determining contract transaction and transaction receipt related to the service;
the transaction execution order determination module 303: the system is used for determining the transaction execution sequence according to the transaction receipt of the related contract transaction;
the service sending module 304: the system comprises a transaction pool, a transaction receipt and a transaction execution sequence, wherein the transaction receipt and the transaction execution sequence are used for sending a transaction receipt and a transaction execution sequence of related contract transactions to the transaction pool to obtain a service receipt;
the execution module 305: for executing the associated contract transactions according to the transaction execution order.
Through the technical scheme of the specification, contract transactions put into the transaction pool are divided into ordinary contract transactions and contract transactions with service attributes. The contract transaction with the service attribute is not randomly packaged, but is associated with a specific service by a client sending the transaction, and after the execution sequence is determined, the specific execution step is carried out, so that the service scene with the specific service attribute is supported.
It should be understood that the apparatus described in the second embodiment may execute all technical solutions related to the method disclosed in the first embodiment in the form of functional modules, and achieve corresponding technical effects, which are not described herein again.
EXAMPLE III
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. Referring to fig. 4, at a hardware level, the electronic device includes a processor, and optionally further includes an internal bus, a network interface, and a memory. The Memory may include a Memory, such as a Random-Access Memory (RAM), and may further include a non-volatile Memory, such as at least 1 disk Memory. Of course, the electronic device may also include hardware required for other services.
The processor, the network interface, and the memory may be connected to each other via an internal bus, which may be an ISA (Industry Standard Architecture) bus, a PCI (peripheral component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 4, but that does not indicate only one bus or one type of bus.
And the memory is used for storing programs. In particular, the program may include program code comprising computer operating instructions. The memory may include both memory and non-volatile storage and provides instructions and data to the processor.
The processor reads the corresponding computer program from the nonvolatile memory into the memory and then runs the computer program to form the transaction execution device with the service attribute on the logic level. The processor is used for executing the program stored in the memory and is specifically used for executing the following operations:
sending at least one contract transaction with service attributes to the intelligent contract to obtain a transaction receipt;
creating a service corresponding to the service attribute, and determining contract transaction and transaction receipt related to the service;
determining the transaction execution sequence according to the transaction receipt of the related contract transaction;
sending the transaction receipt and the transaction execution sequence of the related contract transaction to a transaction pool to obtain a service receipt;
executing the associated contract transactions according to the transaction execution order.
The method performed by the apparatus according to the embodiments shown in fig. 1 to 3 of the present specification may be implemented in a processor or implemented by a processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps, and logic blocks disclosed in one or more embodiments of the present specification may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with one or more embodiments of the present disclosure may be embodied directly in hardware, in a software module executed by a hardware decoding processor, or in a combination of the hardware and software modules executed by a hardware decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
The electronic device may also execute the method in fig. 1 and fig. 2, and implement the functions of the corresponding apparatus in the embodiments shown in fig. 1 and fig. 2, which are not described herein again in this specification.
Of course, besides the software implementation, the electronic device of the embodiment of the present disclosure does not exclude other implementations, such as a logic device or a combination of software and hardware, and the like, that is, the execution subject of the following processing flow is not limited to each logic unit, and may also be hardware or a logic device.
By dividing the contract transactions placed in the transaction pool into normal contract transactions and contract transactions with business attributes. The contract transaction with the service attribute is not randomly packaged, but is associated with a specific service by a client sending the transaction, and after the execution sequence is determined, the specific execution step is carried out, so that the service scene with the specific service attribute is supported.
Example four
Embodiments of the present specification also propose a computer-readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by an electronic device comprising a plurality of application programs, enable the electronic device to perform the method of the embodiments shown in fig. 1 and 2, and in particular to perform the following method:
sending at least one contract transaction with service attributes to the intelligent contract to obtain a transaction receipt;
creating a service corresponding to the service attribute, and determining contract transaction and transaction receipt related to the service;
determining the transaction execution sequence according to the transaction receipt of the related contract transaction;
sending the transaction receipt and the transaction execution sequence of the related contract transaction to a transaction pool to obtain a service receipt;
executing the associated contract transactions according to the transaction execution order.
The contract transactions put into the transaction pool are divided into ordinary contract transactions and contract transactions with service attributes, wherein the contract transactions with the service attributes are not randomly packaged, but are associated with specific services by a client sending the transactions, and after the execution sequence of the specific services is determined, specific execution steps are carried out, so that the service scene with specific service attributes is supported.
In short, the above description is only a preferred embodiment of the present disclosure, and is not intended to limit the scope of the present disclosure. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present specification shall be included in the protection scope of the present specification.
The system, apparatus, module or unit illustrated in one or more of the above embodiments may be implemented by a computer chip or an entity, or by an article of manufacture with a certain functionality. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include transitory computer readable media (transmyedia) such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.

Claims (10)

1. A transaction execution method having business attributes, the method comprising:
sending at least one contract transaction with service attributes to the intelligent contract to obtain a transaction receipt;
creating a service corresponding to the service attribute, and determining contract transaction and transaction receipt related to the service;
determining the transaction execution sequence according to the transaction receipt of the related contract transaction;
sending the transaction receipt and the transaction execution sequence of the related contract transaction to a transaction pool to obtain a service receipt;
executing the associated contract transactions according to the transaction execution order.
2. The method of claim 1, further comprising: when one of the associated contract transactions fails to execute, other unexecuted associated contract transactions terminate execution.
3. The method of claim 2, further comprising: the contract transactions having business attributes include a block height threshold or time threshold, and when the block height exceeds the block height threshold or the time exceeds the time threshold, the contract transactions are removed from the transaction pool if the contract transactions have not been associated with the created business.
4. The method of claim 3, further comprising:
the blockchain system sets a first blockchain asset upper limit consumed by all contract transactions related to one service;
the client end for creating the business sets the upper limit of the second block chain assets consumed by all contract transactions related to one business;
in the process of executing the related contract transaction, when the consumed blockchain asset reaches the smaller of the first blockchain asset upper limit and the second blockchain asset upper limit, the execution process is terminated.
5. The method of claims 1-4, further comprising:
checking the execution conditions of all contract transactions related to the business receipt according to the business receipt;
and/or
And checking the execution condition of the contract transaction according to the transaction receipt.
6. A transaction execution determination method having business attributes, the method comprising:
sending at least one contract transaction with service attributes to the intelligent contract to obtain a transaction receipt;
creating a service corresponding to the service attribute, and determining contract transaction and transaction receipt related to the service;
determining the transaction execution sequence according to the transaction receipt of the related contract transaction;
and sending the transaction receipt and the transaction execution sequence of the related contract transaction to a transaction pool to obtain a service receipt.
7. The method of claim 6, further comprising:
checking the execution conditions of all contract transactions related to the business receipt according to the business receipt;
and/or
And checking the execution condition of the contract transaction according to the transaction receipt.
8. A transaction execution apparatus having business attributes, the apparatus comprising:
the transaction sending module: the contract transaction system is used for sending at least one contract transaction with service attributes to an intelligent contract to obtain a transaction receipt;
a service creation module: the system is used for creating a service corresponding to the service attribute and determining contract transaction and transaction receipt related to the service;
a transaction execution order determination module: the system is used for determining the transaction execution sequence according to the transaction receipt of the related contract transaction;
a service sending module: the system comprises a transaction pool, a transaction receipt and a transaction execution sequence, wherein the transaction receipt and the transaction execution sequence are used for sending a transaction receipt and a transaction execution sequence of related contract transactions to the transaction pool to obtain a service receipt;
an execution module: for executing the associated contract transactions according to the transaction execution order.
9. An electronic device, comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to perform:
sending at least one contract transaction with service attributes to the intelligent contract to obtain a transaction receipt;
creating a service corresponding to the service attribute, and determining contract transaction and transaction receipt related to the service;
determining the transaction execution sequence according to the transaction receipt of the related contract transaction;
sending the transaction receipt and the transaction execution sequence of the related contract transaction to a transaction pool to obtain a service receipt;
executing the associated contract transactions according to the transaction execution order.
10. A computer-readable storage medium storing one or more programs that, when executed by an electronic device including a plurality of application programs, cause the electronic device to perform:
sending at least one contract transaction with service attributes to the intelligent contract to obtain a transaction receipt;
creating a service corresponding to the service attribute, and determining contract transaction and transaction receipt related to the service;
determining the transaction execution sequence according to the transaction receipt of the related contract transaction;
sending the transaction receipt and the transaction execution sequence of the related contract transaction to a transaction pool to obtain a service receipt;
executing the associated contract transactions according to the transaction execution order.
CN202010527862.5A 2020-06-11 2020-06-11 Transaction execution method and device with business attribute and electronic equipment Active CN111709748B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010527862.5A CN111709748B (en) 2020-06-11 2020-06-11 Transaction execution method and device with business attribute and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010527862.5A CN111709748B (en) 2020-06-11 2020-06-11 Transaction execution method and device with business attribute and electronic equipment

Publications (2)

Publication Number Publication Date
CN111709748A true CN111709748A (en) 2020-09-25
CN111709748B CN111709748B (en) 2023-08-22

Family

ID=72540179

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010527862.5A Active CN111709748B (en) 2020-06-11 2020-06-11 Transaction execution method and device with business attribute and electronic equipment

Country Status (1)

Country Link
CN (1) CN111709748B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113225368A (en) * 2021-02-07 2021-08-06 武汉卓尔信息科技有限公司 Block chain transaction method and device, electronic equipment and storage medium
WO2022171190A1 (en) * 2021-02-10 2022-08-18 中国人民银行数字货币研究所 Fixed execution sequence transaction method, and apparatus

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108764870A (en) * 2018-05-29 2018-11-06 阿里巴巴集团控股有限公司 Transaction processing method and device, electronic equipment based on block chain
CN109063183A (en) * 2018-08-27 2018-12-21 众安信息技术服务有限公司 The method and device of information processing is carried out at block chain node
CN109636395A (en) * 2019-02-15 2019-04-16 上海溢唐数据科技有限公司 A kind of across the chain transaction processing system of multi-tiling chain and method
CN109635036A (en) * 2018-11-16 2019-04-16 播金信息科技(上海)有限公司 A kind of block chain building model and construction method
US20190228409A1 (en) * 2017-09-13 2019-07-25 Vijay Madisetti Transaction Pools Using Smart Contracts and Blockchains
CN110349019A (en) * 2019-06-03 2019-10-18 阿里巴巴集团控股有限公司 Verification method, device and equipment in a kind of piece of chain type account book
US20190378069A1 (en) * 2018-06-11 2019-12-12 International Business Machines Corporation Maximizing retention of transaction results for blockchain block creation
CN111126977A (en) * 2019-12-27 2020-05-08 深圳大学 Transaction processing method of block chain system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190228409A1 (en) * 2017-09-13 2019-07-25 Vijay Madisetti Transaction Pools Using Smart Contracts and Blockchains
CN108764870A (en) * 2018-05-29 2018-11-06 阿里巴巴集团控股有限公司 Transaction processing method and device, electronic equipment based on block chain
US20190378069A1 (en) * 2018-06-11 2019-12-12 International Business Machines Corporation Maximizing retention of transaction results for blockchain block creation
CN109063183A (en) * 2018-08-27 2018-12-21 众安信息技术服务有限公司 The method and device of information processing is carried out at block chain node
CN109635036A (en) * 2018-11-16 2019-04-16 播金信息科技(上海)有限公司 A kind of block chain building model and construction method
CN109636395A (en) * 2019-02-15 2019-04-16 上海溢唐数据科技有限公司 A kind of across the chain transaction processing system of multi-tiling chain and method
CN110349019A (en) * 2019-06-03 2019-10-18 阿里巴巴集团控股有限公司 Verification method, device and equipment in a kind of piece of chain type account book
CN111126977A (en) * 2019-12-27 2020-05-08 深圳大学 Transaction processing method of block chain system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113225368A (en) * 2021-02-07 2021-08-06 武汉卓尔信息科技有限公司 Block chain transaction method and device, electronic equipment and storage medium
CN113225368B (en) * 2021-02-07 2022-04-19 武汉卓尔信息科技有限公司 Block chain transaction method and device, electronic equipment and storage medium
WO2022171190A1 (en) * 2021-02-10 2022-08-18 中国人民银行数字货币研究所 Fixed execution sequence transaction method, and apparatus

Also Published As

Publication number Publication date
CN111709748B (en) 2023-08-22

Similar Documents

Publication Publication Date Title
CN108846749B (en) Partitioned transaction execution system and method based on block chain technology
US10999060B2 (en) Data processing method and apparatus
CN109347787B (en) Identity information identification method and device
CN110020859B (en) Parallel execution block chain consensus method and device and electronic equipment
CN111369358B (en) Block chain consensus method and device and electronic equipment
CN111383031B (en) Intelligent contract execution method and system in block chain and electronic equipment
CN110648125B (en) Packaging transaction method and device, electronic equipment and storage medium
CN111882322A (en) Method and device for packaging transactions in sequence and electronic equipment
CN111709748B (en) Transaction execution method and device with business attribute and electronic equipment
CN110648136A (en) Consensus and transaction synchronous parallel processing method and device and electronic equipment
CN111523887B (en) Authority control method and device for intelligent contract read-only method and electronic equipment
CN111310137A (en) Block chain associated data evidence storing method and device and electronic equipment
CN111949297B (en) Block chain intelligent contract upgrading method and device and electronic equipment
CN108647102B (en) Service request processing method and device of heterogeneous system and electronic equipment
CN109063967B (en) Processing method and device for wind control scene feature tensor and electronic equipment
CN108650150B (en) Data verification method and device
CN113485758A (en) Micro-service issuing method and device, electronic equipment and storage medium
CN111159298A (en) Service request processing method and device, electronic equipment and storage medium
CN110750271B (en) Service aggregation, method and device for executing aggregated service and electronic equipment
CN110599139B (en) Block output method and device in block chain consensus algorithm
CN110704134A (en) Method and device for performing function expansion on block chain
CN110458393B (en) Method and device for determining risk identification scheme and electronic equipment
CN112016915B (en) Method and device for providing service for user
CN111884809B (en) Method and device for preventing branch chain transaction replay and electronic equipment
CN111309495A (en) Batch processing request initiating method and device, risk identification platform and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Room 2339, 2nd Floor, No. 92, Huancheng North Road, Gongshu District, Hangzhou City, Zhejiang Province 310005

Applicant after: Hangzhou Xita Technology Co.,Ltd.

Address before: 310000 No. 1001, floor 10, tower a, Huaxing Times Square, No. 478, Wensan Road, Xihu District, Hangzhou, Zhejiang Province

Applicant before: Hangzhou Xita Technology Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant