WO2021259149A1 - Procédé, appareil et système de test de pression pour un réseau de chaîne de blocs - Google Patents

Procédé, appareil et système de test de pression pour un réseau de chaîne de blocs Download PDF

Info

Publication number
WO2021259149A1
WO2021259149A1 PCT/CN2021/100779 CN2021100779W WO2021259149A1 WO 2021259149 A1 WO2021259149 A1 WO 2021259149A1 CN 2021100779 W CN2021100779 W CN 2021100779W WO 2021259149 A1 WO2021259149 A1 WO 2021259149A1
Authority
WO
WIPO (PCT)
Prior art keywords
blockchain
transaction
request
stress test
processing request
Prior art date
Application number
PCT/CN2021/100779
Other languages
English (en)
Chinese (zh)
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 WO2021259149A1 publication Critical patent/WO2021259149A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3688Test management for test execution, e.g. scheduling of test suites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • 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

Definitions

  • One or more embodiments of the present disclosure relate to the field of blockchain technology, and in particular to a method, device, and system for stress testing of a blockchain network.
  • Blockchain technology also known as distributed ledger technology
  • distributed ledger technology is a de-neutralized distributed database technology. It has the characteristics of decentralization, openness and transparency, non-tampering, trustworthiness, etc., and is suitable for many In application scenarios that have high requirements for data reliability.
  • various performance indicators such as the load capacity of the blockchain network and the upper limit of data throughput can be obtained, so as to maintain the normal operation of the blockchain network, or carry out the performance of the blockchain network. optimization.
  • one or more embodiments of the present disclosure provide a method, device, and system for stress testing of a blockchain network.
  • a stress testing system for a blockchain network including: a blockchain client, in response to a processing request from a business system, creates a system corresponding to the processing The requested blockchain transaction; in the case that the processing request is a stress test request, generate a stress test record for the blockchain transaction corresponding to the stress test request; and, based on the stress test record and obtained If the information of the blockchain transaction corresponding to the transaction receipt determines that the processing request corresponding to the transaction receipt is a stress test request, add a feature identifier to the transaction receipt; the blockchain network receives and executes the blockchain The blockchain transaction submitted by the client, and a transaction receipt corresponding to the blockchain transaction is generated; the business system sends the processing request to the blockchain client, and receives the return from the blockchain client The transaction receipt; in the case that the transaction receipt is determined to correspond to the stress test request according to the feature identifier, the transaction receipt is stored in the stress test database, and the processing request corresponding to the transaction receipt is
  • a stress testing system for a blockchain network including: a blockchain client, in response to a processing request from a business system, creates a system corresponding to the processing The requested blockchain transaction; in the case that the processing request is a stress test request, generate a stress test record for the blockchain transaction corresponding to the stress test request; and, based on the stress test record and obtained If the information of the blockchain transaction corresponding to the transaction receipt determines that the processing request corresponding to the transaction receipt is a stress test request, add a feature identifier to the transaction receipt; the first blockchain network receives the blockchain The first blockchain transaction submitted by the client corresponding to the stress test request executes and generates a transaction receipt corresponding to the first blockchain transaction; the second blockchain network receives the first blockchain transaction submitted by the blockchain client Two blockchain transactions, the processing request corresponding to the second blockchain transaction is a business request that is different from the stress test request; execute and generate a transaction receipt corresponding to the second blockchain transaction; the business system sends
  • a method for stress testing of a blockchain network is proposed, which is applied to a blockchain client.
  • the method includes: in response to a processing request from a business system, creating The blockchain transaction corresponding to the processing request; in the case that the processing request is a pressure test request, generate a pressure test record for the blockchain transaction corresponding to the pressure test request; and obtain a pressure test record according to the pressure test record
  • the block chain transaction information corresponding to the received transaction receipt determines whether the processing request corresponding to the transaction receipt is a stress test request.
  • a pressure test device for a blockchain network which is applied to a blockchain client.
  • the device includes: a transaction creation unit, which responds to a request from a business system Processing a request, creating a blockchain transaction corresponding to the processing request; a relationship recording unit, in a case where the processing request is a stress testing request, generating a stress testing record for the blockchain transaction corresponding to the stress testing request; The type determining unit determines whether the processing request corresponding to the transaction receipt is a stress test request according to the pressure test record and the acquired transaction receipt information corresponding to the blockchain transaction.
  • an electronic device including: a processor; and a memory for storing executable instructions of the processor.
  • the processor executes the executable instruction to implement the method described in any of the foregoing embodiments.
  • a computer-readable storage medium on which computer instructions are stored.
  • the instructions are executed by a processor, the method described in any of the above-mentioned embodiments is implemented. step.
  • Fig. 1 is a schematic diagram of a network architecture provided by an exemplary embodiment.
  • Fig. 2 is a flowchart of a method for stress testing of a blockchain network provided by an exemplary embodiment.
  • Fig. 3 is a schematic diagram of a pressure test system for a blockchain network provided by an exemplary embodiment.
  • Fig. 4 is a schematic diagram of another block chain network stress testing system provided by an exemplary embodiment.
  • Fig. 5 is a schematic structural diagram of a device provided by an exemplary embodiment.
  • Fig. 6 is a block diagram of a pressure test device for a blockchain network provided by an exemplary embodiment.
  • the steps of the corresponding method may not be executed in the order shown and described in the present disclosure.
  • the method may include more or fewer steps than described in this disclosure.
  • a single step described in this disclosure may be decomposed into multiple steps for description in other embodiments; and multiple steps described in this disclosure may also be combined into a single step in other embodiments. describe.
  • Fig. 1 is a schematic diagram of a network architecture provided by an exemplary embodiment.
  • the business system 11 After the business system 11 generates a processing request, it sends the processing request to the blockchain client 12, and the blockchain client 12 creates a blockchain transaction for the processing request, and performs the blockchain transaction Submit to the blockchain network 13 so that the blockchain nodes on the blockchain network 13 execute the blockchain transaction.
  • the business system 11 can generate a processing request of the stress test request type, and the blockchain client 12 can create a corresponding zone for these stress test requests.
  • Blockchain transactions, and the blockchain network 13 executes these blockchain transactions; and, the blockchain client 12 feeds back the transaction receipt generated by the blockchain network 13 to the business system 11
  • the business system 11 analyzes the transaction receipt, it determines the pressure test result of the blockchain network 13.
  • the interaction process between the business system 11, the blockchain client 12, and the blockchain network 13 is similar to the aforementioned stress testing process: the business system 11 generates a processing request of the business request type, and the blockchain The client 12 creates corresponding blockchain transactions for these business requests, and the blockchain network 13 executes these blockchain transactions; and the blockchain client 12 executes the blockchain transactions on the blockchain network 13 The transaction receipt is fed back to the business system 11.
  • the service system 11 can add a stress test label to the service request to distinguish it from the service request; of course, it can also add a service label to the service request to distinguish it from the stress test. ask.
  • the blockchain client 12 creates a blockchain transaction, due to the need to comply with the existing transaction format and other relevant regulations, it cannot distinguish between the blockchain transactions corresponding to different processing requests, that is, the above-mentioned stress test cannot be distinguished.
  • Feature tags such as tags or business tags are brought into the blockchain network 13, causing the transaction receipt generated by the blockchain network 13 to also fail to carry the aforementioned feature tags, so that the business system 11 cannot effectively distinguish the source of the transaction receipt, and cannot be based on this. Accurately know the pressure test results of the blockchain network 13.
  • Fig. 2 is a flowchart of a method for stress testing of a blockchain network provided by an exemplary embodiment. As shown in Fig. 2, the method is applied to a blockchain client. The method includes: step 202, in response to a processing request from a business system, creating a blockchain transaction corresponding to the processing request.
  • the blockchain client is used to cooperate with the business system and the blockchain network to realize the data interaction between the business system and the blockchain network.
  • the blockchain client can include any electronic device that can realize data interaction, such as a blockchain gateway; of course, the present disclosure does not limit this.
  • the blockchain client receives the processing request initiated by the business system, creates a blockchain transaction corresponding to the processing request, and then submits the blockchain transaction to the block
  • the blockchain network enables all blockchain nodes in the blockchain network to perform operations such as consensus, execution, and chaining on the blockchain transaction; and, in the process of transmitting data from the blockchain network to the business system, the blockchain The client obtains the transaction receipt (receipt) generated by the blockchain network by executing the above-mentioned blockchain transaction, and feeds the transaction receipt to the business system.
  • the blockchain client can create a blockchain transaction corresponding to the above processing request for the target blockchain network in the production state, and the blockchain transaction is sent to the target blockchain network.
  • the blockchain client 32 interacts with the blockchain network 33, which is the aforementioned target blockchain network deployed in the production environment and in the production state.
  • the blockchain network 33 is the aforementioned target blockchain network deployed in the production environment and in the production state.
  • a stress test can be performed on the blockchain network 33 in a production state, without the need to deploy a blockchain network dedicated for stress testing based on additional resources.
  • the blockchain client 32 can create a blockchain transaction corresponding to the above processing request for the blockchain network 33, and send the blockchain transaction to the
  • the blockchain network 33 for example, the blockchain client 32 can send a blockchain transaction to a certain blockchain node 33n in the blockchain network 33, and the blockchain node 33n can further the blockchain
  • the transaction is transmitted to other blockchain nodes in the blockchain network 33, so that all blockchain nodes can perform consensus, execution, and chain operations on the blockchain transaction, and generate corresponding transaction receipts.
  • a corresponding peer-to-peer blockchain network in order to avoid mutual interference between stress testing and production services, can be deployed for the target blockchain network in the production state, so that the target blockchain network is used to realize the production service , Peer-to-peer blockchain network is used to achieve stress testing.
  • the blockchain client can create the first blockchain transaction corresponding to the processing request (ie, the stress test request) for the above-mentioned peer-to-peer blockchain network when the processing request is a stress test request, and Send the first blockchain transaction to the peer-to-peer blockchain network, and in the case that the processing request is a business request different from the above-mentioned stress test request, create a processing request corresponding to the target blockchain network (that is, the business Request) the second blockchain transaction, and send the second blockchain transaction to the target blockchain network.
  • the processing request ie, the stress test request
  • the target blockchain network that is, the business Request
  • the peer-to-peer blockchain network and the target blockchain network can have the same network structure and network configuration (including hardware and software configuration), so that the stress test implemented on the peer-to-peer blockchain network can reflect the target area The true state of the blockchain network.
  • the peer-to-peer blockchain network and the target blockchain network there may be a certain difference between the peer-to-peer blockchain network and the target blockchain network. This difference may be caused by various factors, but the stress test implemented on the peer-to-peer blockchain network can still be To a certain extent, feedback the true status of the target blockchain network.
  • the blockchain client 42 can interact with the blockchain network 43 and the blockchain network 44 respectively, where the blockchain network 43 is the above-mentioned target block deployed in the production environment and in the production state.
  • the blockchain network 44 is a corresponding peer-to-peer blockchain network.
  • the blockchain client 42 After receiving the processing request initiated by the business system 41, the blockchain client 42 needs to identify the type of the processing request to determine whether the processing request is a business request or a stress test request.
  • the blockchain client 42 creates a blockchain transaction corresponding to the business request for the above-mentioned blockchain network 43, and sends the blockchain transaction to the blockchain network 43
  • the blockchain client 42 can send the blockchain transaction to a certain blockchain node 43n in the blockchain network 43, and the blockchain node 43n can further transfer the blockchain transaction to the block
  • Other blockchain nodes in the chain network 43 enable all blockchain nodes to perform operations such as consensus, execution, and chaining for the blockchain transaction, and generate corresponding transaction receipts.
  • the blockchain client 42 creates a blockchain transaction corresponding to the stress test request for the aforementioned blockchain network 44, and sends the blockchain transaction to the blockchain
  • the network 44 for example, the blockchain client 42 can send the blockchain transaction to a certain blockchain node 44n in the blockchain network 44, and the blockchain node 44n can further transfer the blockchain transaction to Other blockchain nodes in the blockchain network 44 enable all blockchain nodes to perform consensus, execution, and chain operations on the blockchain transaction, and generate corresponding transaction receipts.
  • Step 204 When the processing request is a stress test request, generate a stress test record for the blockchain transaction corresponding to the stress test request.
  • the processing request can be a business request or a stress test request.
  • the business system can add a business tag to the business request, so that the blockchain client can recognize a processing request containing the business tag as a business request, and a processing request that does not contain a business tag as a stress test request.
  • the business system can add a stress test label to the stress test request, so that the blockchain client can recognize a processing request containing a stress test label as a stress test request, and a processing request that does not include a stress test request as a business request .
  • the business system can add a business tag to the business request and a pressure test tag to the pressure test request at the same time, so that the blockchain client can recognize the processing request containing the business tag as a business request, and process the processing that contains the pressure test label.
  • the request is identified as a stress test request.
  • the business system can also mark the type of processing request in other ways, and the blockchain client can also use other corresponding methods to accurately identify the type of processing request, which is not limited in the present disclosure.
  • the stress test record By generating a stress test record for the blockchain transaction corresponding to the stress test request, the stress test record can be used to indicate that the corresponding blockchain transaction corresponds to the stress test request instead of corresponding to the business request.
  • a business record can also be generated for the blockchain transaction corresponding to the business request, so that the business record can be used to indicate that the corresponding blockchain transaction corresponds to the business request instead of the stress test request.
  • the pressure test record can have a variety of characterization forms.
  • the stress test record may be the mapping relationship between the information of the stress test request and the information of the blockchain transaction.
  • the information of the stress test request may be the request ID of the stress test request
  • the information of the blockchain transaction may be the This disclosure does not limit the transaction hash or transaction serial number of blockchain transactions.
  • the stress test record may be a block chain transaction list, and the block chain transaction list is dedicated to recording the block chain transaction corresponding to the stress test request.
  • Step 206 Determine whether the processing request corresponding to the transaction receipt is a stress test request according to the pressure test record and the acquired transaction receipt information corresponding to the blockchain transaction.
  • Blockchains are generally divided into three types: Public Blockchain, Private Blockchain and Consortium Blockchain.
  • the public chain is represented by Bitcoin and Ethereum. Participants who join the public chain can read the data records on the chain, participate in transactions, and compete for the accounting rights of new blocks. Moreover, each participant (ie, node) can freely join and exit the network, and perform related operations.
  • the private chain is the opposite.
  • the write permission of the network is controlled by an organization or institution, and the data read permission is regulated by the organization.
  • the private chain can be a weakly centralized system with strict restrictions and few participating nodes.
  • the consortium chain is a block chain between the public chain and the private chain, which can realize "partial decentralization".
  • Each node in the alliance chain usually has a corresponding entity or organization; participants are authorized to join the network and form a stakeholder alliance to jointly maintain the operation of the blockchain.
  • a blockchain client When a blockchain client generates a blockchain transaction, it can process it in the same way as in related technologies, without the need to implement special processing different from related technologies, so that there is no need to implement any hardware architecture or software functional improvements for the blockchain network Therefore, whether it is the above-mentioned public chain, private chain or consortium chain, it can be applied to the technical solution of the present disclosure.
  • the blockchain client can determine the corresponding blockchain transaction based on the transaction receipt, and then combine the above Pressure test records are used to accurately identify whether the transaction receipt or blockchain transaction corresponds to a pressure test request or a business request.
  • the blockchain client can determine the corresponding blockchain transaction after receiving the transaction receipt.
  • the query is based on the transaction hash of the blockchain transaction and the above-mentioned mapping relationship: if a matching mapping relationship is queried, it can be determined that the received transaction receipt corresponds to the stress test request.
  • the corresponding request ID can also be determined based on the matching mapping relationship, and the corresponding processing request can be obtained based on the request ID, and then the processing request can be further determined by reading whether the processing request contains a stress test request or a business request Whether it is really a pressure test request.
  • the block chain client can determine the corresponding block chain transaction after receiving the transaction receipt, and query the above based on the transaction hash of the block chain transaction Block chain transaction list, so that when the transaction hash of the block chain transaction is queried, it is confirmed that the block chain transaction or its transaction receipt corresponds to the stress test request.
  • the blockchain client can establish a connection with a certain blockchain node in the target blockchain network to submit a blockchain transaction to the blockchain node.
  • the blockchain node can be as shown in Figure 3.
  • the illustrated blockchain node 33n may also be the blockchain node 43n or the blockchain node 44n as shown in FIG. 4.
  • the connection established between the block chain client 32 and the block chain node 33n may be a long connection, so that the block chain node 33n executes the above-mentioned block chain transaction and generates a corresponding transaction receipt After that, the corresponding transaction receipt generation event can be generated, and the blockchain client 32 can learn that the transaction receipt has been generated by monitoring the transaction receipt generation event (that is, the event monitoring mechanism), and obtain the transaction receipt based on the aforementioned long connection; of course; , It is also possible for the blockchain node 33n to monitor the transaction receipt generation event through the aforementioned event monitoring mechanism, and feed the transaction receipt to the blockchain client 32 through the aforementioned long connection, so that the blockchain client 32 obtains Transaction receipt.
  • the transaction receipt generation event that is, the event monitoring mechanism
  • the blockchain client 32 needs to initiate an additional query transaction to query the above The transaction receipt corresponding to the blockchain transaction.
  • the query transaction can be a regular blockchain transaction, so that all blockchain nodes in the blockchain network 33 need to perform operations such as obtaining, consensus, execution, and chaining for the query transaction, while the blockchain client
  • the terminal 32 can establish a long connection with a certain blockchain node through the above-mentioned method, and obtain a transaction receipt from the blockchain node based on the above-mentioned event monitoring mechanism; or, the query transaction can be a special transaction, such as a blockchain client
  • the end 32 can only establish a long connection with the blockchain node 33n and send the query transaction, then the query transaction will only be acquired and executed by the blockchain node 33n.
  • the query transaction does not need to participate in consensus and does not need to be chained, or even be Other blockchain nodes obtain it, and then the blockchain client 32
  • the blockchain client can take differentiated processing for the transaction receipt. For example, in the case that the processing request corresponding to the transaction receipt is a stress test request, the blockchain client can add a feature identifier to the transaction receipt and feed it back to the business system, and in the case that the processing request corresponding to the transaction receipt is a business request , The blockchain client can directly feed back the transaction receipt to the business system; accordingly, the business system can determine whether the corresponding transaction receipt corresponds to the stress test request based on the feature identifier, thereby storing the transaction receipt in a different database. For example, as shown in FIG.
  • the blockchain client 32 determines that the transaction receipt corresponds to the stress test request, it generates a stress test response based on the transaction receipt, and the stress test response may include the transaction receipt and the above-mentioned feature identifier, and When the blockchain client 32 determines that the transaction receipt corresponds to the business request, it generates a business response based on the transaction receipt.
  • the business response may only include the transaction receipt without the feature identifier; accordingly, the business system 31 receives After the stress test response or business response returned by the blockchain client 32, the stress test response can be stored in the stress test database, the business response can be stored in the business database, and the transaction receipt corresponding to the stress test request can be subsequently obtained from the stress test database.
  • the blockchain client 42 determines that the transaction receipt corresponds to the stress test request, it generates a stress test response based on the transaction receipt, and the stress test response may include the transaction receipt and the above-mentioned feature identifier. And when the blockchain client 42 determines that the transaction receipt corresponds to the business request, it generates a business response based on the transaction receipt.
  • the business response may only include the transaction receipt without the feature identifier; accordingly, the business system 41 is receiving
  • the stress test response can be stored in the stress test database
  • the business response can be stored in the business database
  • the transaction corresponding to the stress test request can be subsequently obtained from the stress test database. Receipt to analyze and determine the pressure test results for the blockchain network 44.
  • Fig. 5 is a schematic structural diagram of a device provided by an exemplary embodiment. Please refer to FIG. 5.
  • the device includes a processor 502, an internal bus 504, a network interface 506, a memory 508, and a non-volatile memory 510.
  • the processor 502 reads the corresponding computer program from the non-volatile memory 510 to the memory 508 and then runs it to form a stress test device for the blockchain network on a logical level.
  • one or more embodiments of the present disclosure do not exclude other implementations, such as logic devices or a combination of software and hardware, etc. That is to say, the execution body of the following processing flow is not limited to each
  • the logic unit can also be a hardware or a logic device.
  • the stress testing device of the blockchain network may include: a transaction creation unit 61, which creates a blockchain transaction corresponding to the processing request in response to a processing request from the business system;
  • the relationship recording unit 62 when the processing request is a stress test request, generates a stress test record for the blockchain transaction corresponding to the stress test request;
  • the type determination unit 63 based on the stress test record and the obtained
  • the blockchain transaction information corresponding to the transaction receipt determines whether the processing request corresponding to the transaction receipt is a stress test request.
  • the transaction creation unit 61 is specifically configured to: when the processing request is the stress test request, create a peer-to-peer blockchain network corresponding to the target blockchain network in a production state corresponding to The first blockchain transaction of the processing request, and the first blockchain transaction is sent to the peer-to-peer blockchain network; in the case where the processing request is a business request different from the stress test request , A second blockchain transaction corresponding to the processing request is created for the target blockchain network, and the second blockchain transaction is sent to the target blockchain network.
  • the peer-to-peer blockchain network and the target blockchain network have the same network structure and network configuration.
  • the transaction creation unit 61 is specifically configured to: create a blockchain transaction corresponding to the processing request for the target blockchain network in a production state, and the blockchain transaction is sent to the target Blockchain network.
  • the pressure test record includes block chain transaction information; the block chain transaction information includes: the transaction hash of the block chain transaction.
  • the processing request is a stress test request or a service request; wherein the stress test request includes a stress test label, and/or the service request includes a service label.
  • a receipt feedback unit 64 when the processing request corresponding to the transaction receipt is a stress test request, add a feature identifier to the transaction receipt and feed it back to the business system; in the transaction receipt When the corresponding processing request is a business request different from the stress test request, the transaction receipt is directly fed back to the business system.
  • a typical implementation device is a computer.
  • the specific form of the computer can be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email receiving and sending device, and a game control A console, a tablet computer, a wearable device, or a combination of any of these devices.
  • the computer includes one or more processors (CPU), input/output interfaces, network interfaces, and memory.
  • processors CPU
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM).
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash memory
  • Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology.
  • the information can be computer-readable instructions, data structures, program modules, 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, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, disk storage, quantum memory, graphene-based storage media or other magnetic storage devices, or any other non-transmission media, can be used to store information that can be accessed by computing devices.
  • computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
  • first, second, third, etc. may be used to describe various information in one or more embodiments of the present disclosure, the information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other.
  • first information may also be referred to as second information, and similarly, the second information may also be referred to as first information.
  • word “if” as used herein can be interpreted as "when” or “when” or “in response to a certainty”.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Quality & Reliability (AREA)
  • Computer Hardware Design (AREA)
  • Databases & Information Systems (AREA)
  • General Business, Economics & Management (AREA)
  • Technology Law (AREA)
  • Computing Systems (AREA)
  • Strategic Management (AREA)
  • Data Mining & Analysis (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Development Economics (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

L'invention concerne un procédé, un appareil et un système de test de pression pour un réseau de chaîne de blocs. Le procédé peut comprendre les étapes consistant à : créer, en réponse à une demande de traitement provenant d'un système de service, une transaction de chaîne de blocs correspondant à la demande de traitement ; générer, si la demande de traitement est une demande de test de pression, un enregistrement de test de pression pour la transaction de chaîne de blocs correspondant à la demande de test de pression ; et déterminer, en fonction de l'enregistrement de test de pression et des informations acquises d'une transaction de chaîne de blocs correspondant à un reçu de transaction, si une demande de traitement correspondant au reçu de transaction est une demande de test de pression.
PCT/CN2021/100779 2020-06-24 2021-06-18 Procédé, appareil et système de test de pression pour un réseau de chaîne de blocs WO2021259149A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010585455.X 2020-06-24
CN202010585455.XA CN111488291B (zh) 2020-06-24 2020-06-24 区块链网络的压力测试方法及装置、系统

Publications (1)

Publication Number Publication Date
WO2021259149A1 true WO2021259149A1 (fr) 2021-12-30

Family

ID=71813527

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/100779 WO2021259149A1 (fr) 2020-06-24 2021-06-18 Procédé, appareil et système de test de pression pour un réseau de chaîne de blocs

Country Status (2)

Country Link
CN (1) CN111488291B (fr)
WO (1) WO2021259149A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114615171A (zh) * 2022-03-16 2022-06-10 网易(杭州)网络有限公司 云游戏服务器的压测处理方法、设备、介质及程序产品

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111478827B (zh) * 2020-06-24 2020-12-04 支付宝(杭州)信息技术有限公司 区块链网络的压力测试方法及装置、系统
CN111478828B (zh) * 2020-06-24 2020-10-20 支付宝(杭州)信息技术有限公司 区块链网络的压力测试方法及装置、系统
CN111478829B (zh) * 2020-06-24 2020-10-30 支付宝(杭州)信息技术有限公司 区块链网络的压力测试方法及装置、系统
CN111488291B (zh) * 2020-06-24 2020-10-30 支付宝(杭州)信息技术有限公司 区块链网络的压力测试方法及装置、系统
CN114338452A (zh) * 2021-12-31 2022-04-12 支付宝(杭州)信息技术有限公司 区块链子网的压力测试方法及装置、系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165168A (zh) * 2018-09-14 2019-01-08 杭州云创共享网络科技有限公司 一种压力测试方法、装置、设备及介质
CN110598446A (zh) * 2019-09-16 2019-12-20 腾讯科技(深圳)有限公司 基于区块链的测试方法、装置、存储介质和计算机设备
US20200167512A1 (en) * 2018-11-13 2020-05-28 Gauntlet Networks, Inc. Simulation-based testing of blockchain and other distributed ledger systems
CN111290907A (zh) * 2020-01-14 2020-06-16 深圳市网心科技有限公司 分布式存储网络压测方法及装置、计算机装置及存储介质
CN111488291A (zh) * 2020-06-24 2020-08-04 支付宝(杭州)信息技术有限公司 区块链网络的压力测试方法及装置、系统

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9934138B1 (en) * 2016-12-07 2018-04-03 International Business Machines Corporation Application testing on a blockchain
CN109753434A (zh) * 2018-12-26 2019-05-14 中链科技有限公司 基于区块链的性能测试方法、装置、电子设备及存储介质
CN109753418B (zh) * 2018-12-28 2022-07-12 金蝶软件(中国)有限公司 性能测试方法、装置、计算机设备和存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109165168A (zh) * 2018-09-14 2019-01-08 杭州云创共享网络科技有限公司 一种压力测试方法、装置、设备及介质
US20200167512A1 (en) * 2018-11-13 2020-05-28 Gauntlet Networks, Inc. Simulation-based testing of blockchain and other distributed ledger systems
CN110598446A (zh) * 2019-09-16 2019-12-20 腾讯科技(深圳)有限公司 基于区块链的测试方法、装置、存储介质和计算机设备
CN111290907A (zh) * 2020-01-14 2020-06-16 深圳市网心科技有限公司 分布式存储网络压测方法及装置、计算机装置及存储介质
CN111488291A (zh) * 2020-06-24 2020-08-04 支付宝(杭州)信息技术有限公司 区块链网络的压力测试方法及装置、系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114615171A (zh) * 2022-03-16 2022-06-10 网易(杭州)网络有限公司 云游戏服务器的压测处理方法、设备、介质及程序产品
CN114615171B (zh) * 2022-03-16 2024-01-30 网易(上海)网络有限公司 云游戏服务器的压测处理方法、设备、介质及程序产品

Also Published As

Publication number Publication date
CN111488291B (zh) 2020-10-30
CN111488291A (zh) 2020-08-04

Similar Documents

Publication Publication Date Title
WO2021259149A1 (fr) Procédé, appareil et système de test de pression pour un réseau de chaîne de blocs
US10311230B2 (en) Anomaly detection in distributed ledger systems
TWI762818B (zh) 基於區塊鏈的發票創建方法及裝置、電子設備
TWI701617B (zh) 跨區塊鏈的互動方法及裝置、系統、電子設備
US11087372B2 (en) Benefit allocation method, apparatus, and electronic device
US20210248605A1 (en) Cross-chain right usage systems, methods, apparatuses, electronic devices, and storage media
KR101959153B1 (ko) 데이터베이스에서의 계좌와 관련된 거래 요청의 효율적인 처리를 위한 시스템
TW202004633A (zh) 區塊鏈交易的對帳方法及裝置、電子設備
WO2021259126A1 (fr) Procédé et appareil d'essai de pression d'un réseau à chaîne de blocs, et système
US11481775B2 (en) Method, apparatus and electronic device for blockchain transactions
US11233660B2 (en) Confidential blockchain transactions
WO2021259131A1 (fr) Procédé, appareil et système d'essai de pression pour un réseau de chaîne de blocs
WO2022161181A1 (fr) Procédé et appareil de traitement de données fondé sur une chaîne de blocs et dispositif électronique
TWI729345B (zh) 事件預測方法及裝置、電子設備
TWI714414B (zh) 區塊鏈資料的分次獲取方法和裝置
TW202024984A (zh) 資料讀寫方法及裝置、電子設備
TW202025057A (zh) 欄位更新方法及裝置、電子設備
CN111475501B (zh) 区块链网络的数据清理方法及装置
TWI699728B (zh) 區塊發佈方法及裝置、電子設備
WO2021259127A1 (fr) Procédé, appareil et système de test de pression pour un réseau de chaîne de blocs
WO2021208762A1 (fr) Enregistrement et interrogation de données
WO2020019791A1 (fr) Procédé et appareil de prédiction d'événement et dispositif électronique
CN113220717B (zh) 基于区块链的数据核验方法及装置、电子设备
WO2017118318A1 (fr) Procédé et dispositif de traitement de service et de stockage de données
TWI727642B (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: 21828442

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21828442

Country of ref document: EP

Kind code of ref document: A1