CN112052250A - Performance measurement method, broadcast performance adjustment method, device and storage medium - Google Patents
Performance measurement method, broadcast performance adjustment method, device and storage medium Download PDFInfo
- Publication number
- CN112052250A CN112052250A CN202010910702.9A CN202010910702A CN112052250A CN 112052250 A CN112052250 A CN 112052250A CN 202010910702 A CN202010910702 A CN 202010910702A CN 112052250 A CN112052250 A CN 112052250A
- Authority
- CN
- China
- Prior art keywords
- data set
- block chain
- performance
- value
- message
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 58
- 238000000691 measurement method Methods 0.000 title claims abstract description 24
- 238000004590 computer program Methods 0.000 claims description 8
- 238000010586 diagram Methods 0.000 description 9
- 238000004891 communication Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000005259 measurement Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000007812 deficiency Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/06—Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
- G06Q10/063—Operations research, analysis or management
- G06Q10/0639—Performance analysis of employees; Performance analysis of enterprise or organisation operations
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3827—Use of message hashing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Theoretical Computer Science (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Economics (AREA)
- Entrepreneurship & Innovation (AREA)
- Accounting & Taxation (AREA)
- General Business, Economics & Management (AREA)
- Development Economics (AREA)
- Educational Administration (AREA)
- Tourism & Hospitality (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Game Theory and Decision Science (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Finance (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention provides a performance measurement method, a broadcast performance adjusting method, equipment and a storage medium, which relate to the technical field of block chains and the like, and the method comprises the following steps: receiving a first data set comprising a first message and a first sequence number; determining whether a second data set comprising the first message is locally stored: if not, storing the first data set, adding one to the first sequence number to update the first data set, and broadcasting the updated first data set to other block chain nodes; and receiving first summary request information sent by the scanning program server, and sending the stored first data set to the scanning program server so as to determine the data broadcasting performance of the block chain network according to the first sequence numbers respectively sent by the block chain link points. The method is used for measuring the performance of the block chain network.
Description
Technical Field
The present application relates to the field of block chaining technologies, and in particular, to a performance measurement method, a broadcast performance adjustment method, a device, and a storage medium.
Background
The performance of the blockchain network directly determines the robustness of the blockchain, optimizes the performance of the blockchain network and preferably measures the performance of the blockchain network.
Disclosure of Invention
In view of the above-mentioned deficiencies or inadequacies in the prior art, it is desirable to provide a performance measurement method, a broadcast performance adjustment method, an apparatus, and a storage medium for measuring performance of a blockchain network.
In a first aspect, the present invention provides a performance measurement method for a blockchain node, where the method includes:
receiving a first data set comprising a first message and a first sequence number;
determining whether a second data set comprising the first message is locally stored:
if not, storing the first data set, adding one to the first sequence number to update the first data set, and broadcasting the updated first data set to other block chain nodes;
and receiving first summary request information sent by the scanning program server, and sending the stored first data set to the scanning program server so as to determine the data broadcasting performance of the block chain network according to the first sequence numbers respectively sent by the block chain link points.
In a second aspect, the present invention provides a performance measurement method for a scanner server, the method comprising:
sending first scanning request information to a first blockchain node, so that the first blockchain node generates a first data set comprising a first message and a first sequence number according to the first scanning request information, and broadcasts the first data set to other blockchain nodes, so as to:
receiving a first data set;
determining whether a second data set comprising the first message is locally stored:
if not, storing the first data set, adding one to the first sequence number to update the first data set, and broadcasting the updated first data set to other block chain nodes for other block chain nodes to return to receive the first data set;
sending first summary request information to each block link point for returning the stored first data set;
and determining the data broadcasting performance of the block chain network according to the first sequence numbers respectively sent by the block chain link points.
In a third aspect, the present invention provides a broadcast performance adjusting method applied to a scanning program server, where the method includes:
calculating a first value according to a first formula and a second formula; wherein the first formula is: (1+ n1+ n2+. + nx) ≧ M × C, the second formula: (1+ n1+ n2+. + n (x-1)) < M × C; n1, n2, a.. times.n (x-1), nx are the number of first sequence numbers with a value of 1, the number of first sequence numbers with a value of 2, the number of first sequence numbers with a value of x-1, and the number of first sequence numbers with a value of x, counted according to the performance measurement method of the second aspect, M is the total number of received first sequence numbers counted according to the performance measurement method of any one of the weights 3-5 plus one, C is a preconfigured first constant, and the first numerical value is a value corresponding to x;
broadcasting the first value to each blockchain node for adjusting broadcasting performance according to the first value.
In a fourth aspect, the present invention provides a broadcast performance adjusting method for a blockchain node, where the method includes:
receiving a first numerical value broadcast by a scanning program server; wherein the first value is calculated by the scanning program server according to the broadcast performance adjusting method of the third aspect;
broadcast performance is adjusted based on the first value.
In a fifth aspect, the present invention also provides an apparatus comprising one or more processors and a memory, wherein the memory contains instructions executable by the one or more processors to cause the one or more processors to perform a performance metric method and a broadcast performance adjustment method provided according to embodiments of the present invention.
In a sixth aspect, the present invention also provides a storage medium storing a computer program that causes a computer to execute the performance metric method and the broadcast performance adjustment method provided according to the embodiments of the present invention.
The performance measurement method, the broadcast performance adjustment method, the device and the storage medium provided by the embodiments of the present invention receive a first data set including a first message and a first sequence number; determining whether a second data set comprising the first message is locally stored: if not, storing the first data set, adding one to the first sequence number to update the first data set, and broadcasting the updated first data set to other block chain nodes; and receiving first summary request information sent by the scanning program server, and sending the stored first data set to the scanning program server so as to measure the performance of the block chain network by a method for determining the data broadcasting performance of the block chain network according to the first sequence numbers respectively sent by the block chain link points.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a scene schematic diagram of a performance measurement method according to an embodiment of the present invention.
Fig. 2 is a flowchart of a performance measurement method according to an embodiment of the present invention.
Fig. 3 is a flowchart of another performance measurement method according to an embodiment of the present invention.
Fig. 4 is a flowchart of a broadcast performance adjusting method according to an embodiment of the present invention.
Fig. 5 is a flowchart of another broadcast performance adjusting method according to an embodiment of the present invention.
Fig. 6 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 is a scene schematic diagram of a performance measurement method according to an embodiment of the present invention. As shown in fig. 1, in the present embodiment, there are 36 nodes (a, B, C, D …) in the blockchain network, where a receives the scan request information sent by the scanner server and generates a data set { m,1} including the message and the sequence number; the parallel chain common identification scheme of the present invention is described in detail by taking an example that n1 of the nodes receiving the data set in the first batch is 3 (B, C, D), n2 of the nodes receiving the data set in the second batch is 7 (E, F, G … K), n3 of the nodes receiving the data set in the third batch is 13, n4 of the nodes receiving the data set in the fourth batch is 7, n5 of the nodes receiving the data set in the fifth batch is 4, and n6 of the nodes receiving the data set in the sixth batch is 1.
Fig. 2 is a flowchart of a performance measurement method according to an embodiment of the present invention. As shown in fig. 2, in this embodiment, the present invention provides a performance measurement method for a blockchain node, where the method includes:
s12: receiving a first data set comprising a first message and a first sequence number;
s141: determining whether a second data set comprising the first message is locally stored:
otherwise, step S142 is executed: saving the first data set, adding one to the first sequence number to update the first data set, and broadcasting the updated first data set to other block chain nodes;
s16: and receiving first summary request information sent by the scanning program server, and sending the stored first data set to the scanning program server so as to determine the data broadcasting performance of the block chain network according to the first sequence numbers respectively sent by the block chain link points.
Take the scene diagram shown in fig. 1 as an example; assuming that all the nodes perform the step S141, the obtained judgment is no;
the scanning program server sends scanning request information to A, and A generates a message m and a data set { m,1} with a sequence number of 1 according to the scanning request information;
a sends { m,1} to other blockchain nodes;
B. c, D executes step S12, receiving { m,1 };
B. c, D executing step S141, judging whether there is data set including m;
since B, C, D has no data set including m locally stored, step S142 is executed to store { m,1}, update the sequence number to update the data set, where the updated data set is { m,2}, and B, C, D broadcasts { m,2} to other blockchain nodes.
The method for other nodes to execute steps S12-S142 is the same as B, C, D, and is not described again.
The scanner server sends the summary request information to each block link point, and each block link point executes step S16 to send the stored data set to the scanner server.
The stored data set comprises sequence numbers, and the scanning program server determines the data broadcasting performance of the block chain network according to the sequence numbers respectively sent by the link points of each block.
The above embodiments may measure the performance of a blockchain network.
It should be noted that, as will be understood by those skilled in the art, the scanning program server may also be a blockchain node, and when the scanning program server is configured as a blockchain node, the blockchain node where the scanning program server is located does not need to determine the blockchain node a, and sends the scanning request information to the blockchain node, but directly generates the data set and sends the data set to other blockchain nodes.
Preferably, before receiving the first data set including the first message and the first sequence number, the method further includes:
receiving first scanning request information sent by a scanning program server, and generating a third data set comprising a second message and a second sequence number according to the first scanning request information; wherein the second serial number is 1;
the third data set is broadcast to other blockchain nodes.
The performance measurement principle of the above embodiment can refer to the method shown in fig. 2, and is not described herein again.
Fig. 3 is a flowchart of another performance measurement method according to an embodiment of the present invention. As shown in fig. 3, in this embodiment, the present invention provides a performance measurement method suitable for a scanner server, where the method includes:
s22: sending first scanning request information to a first blockchain node, so that the first blockchain node generates a first data set comprising a first message and a first sequence number according to the first scanning request information, and broadcasts the first data set to other blockchain nodes, so as to:
receiving a first data set;
determining whether a second data set comprising the first message is locally stored:
if not, storing the first data set, adding one to the first sequence number to update the first data set, and broadcasting the updated first data set to other block chain nodes for other block chain nodes to return to receive the first data set;
s24: sending first summary request information to each block link point for returning the stored first data set;
s26: and determining the data broadcasting performance of the block chain network according to the first sequence numbers respectively sent by the block chain link points.
The performance measurement principle of the above embodiment can refer to the method shown in fig. 2, and is not described herein again.
Preferably, the sending the first scan request information to the first blockchain node includes:
generating a first message, and determining a first block chain node according to the first message and the node ID of the block chain node;
transmitting first scan request information including a first message to a first tile link point.
In further embodiments, the method for determining the first blockchain node may further be configured according to actual requirements, for example, configured to find a blockchain node closer to the geographical location of the scanner server according to the node ID of the blockchain node, and determine the found blockchain node as the first blockchain node, so that the same technical effect may be achieved.
Preferably, generating the first message comprises:
and generating a first message when the current time is a pre-configured time.
In further embodiments, the mechanism for triggering the performance metric method may be further configured according to actual requirements, for example, configured to achieve the same technical effect when the current block height is the preconfigured block height.
Fig. 4 is a flowchart of a broadcast performance adjusting method according to an embodiment of the present invention. As shown in fig. 4, in this embodiment, the present invention provides a broadcast performance adjusting method suitable for a scan program server, where the method includes:
s32: calculating a first value according to a first formula and a second formula; wherein the first formula is: (1+ n1+ n2+. + nx) ≧ M × C, the second formula: (1+ n1+ n2+. + n (x-1)) < M × C; n1, n2, a.. times.n (x-1), nx are the number of first sequence numbers with a value of 1, the number of first sequence numbers with a value of 2, the number of first sequence numbers with a value of x-1, and the number of first sequence numbers with a value of x counted according to the performance measurement method shown in fig. 2, M is the total number of received first sequence numbers counted according to the performance measurement method of any one of the weights 3-5 plus one, C is a preconfigured first constant, and the first numerical value is a value corresponding to x;
s34: broadcasting the first value to each blockchain node for adjusting broadcasting performance according to the first value.
Specifically, assume C is 0.75;
the scanner server executes step S32, and the total number of serial numbers received by the scanner server is 35, so that M is 35+1 is 36; m × C ═ 27; according to the performance metric method shown in fig. 2, the number of sequence numbers with a value of 1 (i.e., the node that received the data set in the first batch) is 3, the number of sequence numbers with a value of 2 (i.e., the node that received the data set in the second batch) is 7, the number of sequence numbers with a value of 3 (i.e., the node that received the data set in the third batch) is 13, the number of sequence numbers with a value of 4 (i.e., the node that received the data set in the fourth batch) is 7, the number of sequence numbers with a value of 5 (i.e., the node that received the data set in the fifth batch) is 4, and the number of sequence numbers with a value of 6 (i.e., the node that received the data set in the sixth; calculating a value corresponding to x to be 4 according to (1+3+7+. + nx) ≥ 27 and (1+3+7+. + n (x-1)) < 27;
the scan program server performs step S34 to broadcast 4 to each blockchain node, and each blockchain node adjusts broadcast performance according to 4.
In further embodiments, C may also be configured according to actual requirements, for example, configured to be 0.8, and the same technical effect may be achieved.
The above-described embodiments enable the broadcast performance of a blockchain network to be dynamically adjusted.
It should be noted that, as one skilled in the art would appreciate, the first value may be obtained by other methods, for example, the scan program server generates a transaction including the first value and sends the transaction to the blockchain node for recording onto the blockchain, and the blockchain node obtains the first value from the blockchain.
Fig. 5 is a flowchart of another broadcast performance adjusting method according to an embodiment of the present invention. As shown in fig. 5, in this embodiment, the present invention provides a broadcast performance adjusting method suitable for a blockchain node, where the method includes:
s42: receiving a first numerical value broadcast by a scanning program server; wherein, the first value is calculated by the scanning program server according to the broadcast performance adjusting method shown in fig. 4;
s44: broadcast performance is adjusted based on the first value.
The performance measurement principle of the above embodiment can refer to the method shown in fig. 4, and is not described herein again.
Preferably, adjusting the broadcasting performance according to the first value includes:
determining a first critical value of a transaction broadcasting turn according to the first numerical value;
receiving a first transaction, and judging whether a first round of the first transaction is smaller than a first critical value:
if yes, the first round is added with one to update the first round, and the second transaction is broadcasted to other blockchain nodes;
and if not, the transaction hash of the second transaction is broadcast to other blockchain nodes.
Specifically, the block link node takes 4 as the threshold value of the transaction broadcast turn;
the blockchain node receives the transaction tx1, adds one to the round to update the round if the round of tx1 is less than 4, and broadcasts tx1 to other blockchain nodes; if tx1 is not less than 4, then a hash (tx1) is broadcast to the other blockchain nodes.
In the prior art, the threshold value is usually a fixed value, and in the above embodiment, the threshold value may be adjusted according to the actual situation of the blockchain network, so as to better adapt to the blockchain network, so that the performance of the blockchain network becomes better.
Fig. 6 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
As shown in fig. 6, as another aspect, the present application also provides an apparatus 600 including one or more Central Processing Units (CPUs) 601 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM603, various programs and data necessary for the operation of the apparatus 600 are also stored. The CPU601, ROM602, and RAM603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
In particular, according to an embodiment of the present disclosure, the method described in any of the above embodiments may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program comprising program code for performing any of the methods described above. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611.
As yet another aspect, the present application also provides a computer-readable storage medium, which may be the computer-readable storage medium included in the apparatus of the above-described embodiment; or it may be a separate computer readable storage medium not incorporated into the device. The computer readable storage medium stores one or more programs for use by one or more processors in performing the methods described in the present application.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present application may be implemented by software or hardware. The described units or modules may also be provided in a processor, for example, each of the described units may be a software program provided in a computer or a mobile intelligent device, or may be a separately configured hardware device. Wherein the designation of a unit or module does not in some way constitute a limitation of the unit or module itself.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the present application. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.
Claims (10)
1. A performance measurement method applicable to a blockchain node, the method comprising:
receiving a first data set comprising a first message and a first sequence number;
judging whether a second data set comprising the first message is stored locally:
if not, storing the first data set, adding one to the first sequence number to update the first data set, and broadcasting the updated first data set to other block chain nodes;
and receiving first summary request information sent by a scanning program server, and sending the stored first data set to the scanning program server so as to determine the data broadcasting performance of the block chain network according to the first sequence numbers respectively sent by the block chain link points.
2. The method of claim 1, wherein prior to receiving the first data set comprising the first message and the first sequence number, further comprising:
receiving first scanning request information sent by the scanning program server, and generating a third data set comprising a second message and a second sequence number according to the first scanning request information; wherein the second sequence number is 1;
broadcasting the third data set to other blockchain nodes.
3. A performance measurement method, adapted for use with a scanning program server, the method comprising:
sending first scanning request information to a first block chain node, so that the first block chain node generates a first data set comprising a first message and a first sequence number according to the first scanning request information, and broadcasts the first data set to other block chain nodes, so as to:
receiving the first data set;
judging whether a second data set comprising the first message is stored locally:
if not, storing the first data set, adding one to the first sequence number to update the first data set, and broadcasting the updated first data set to other block chain nodes for other block chain nodes to return to receive the first data set;
sending first summary request information to each block link point for returning the stored first data set;
and determining the data broadcasting performance of the block chain network according to the first sequence numbers respectively sent by the block chain link points.
4. The method of claim 3, wherein sending the first scan request information to the first blockchain node comprises:
generating a first message, and determining a first block chain node according to the first message and the node ID of the block chain node;
transmitting first scan request information including the first message to the first tile link point.
5. The method of claim 4, wherein generating the first message comprises:
and generating a first message when the current time is a pre-configured time.
6. A broadcast performance adjustment method, adapted to a scanning program server, the method comprising:
calculating a first value according to a first formula and a second formula; wherein the first formula is: (1+ n1+ n2+. + nx) ≧ M C, the second formula: (1+ n1+ n2+. + n (x-1)) < M × C; n1, n2, a.. times.n (x-1), nx are the number of first sequence numbers with a value of 1, the number of first sequence numbers with a value of 2, the number of first sequence numbers with a value of x-1, the number of first sequence numbers with a value of x, counted according to the performance measurement method of any one of claims 3-5, M is the total number of received first sequence numbers counted according to the performance measurement method of any one of claims 3-5 plus one, C is a preconfigured first constant, and the first numerical value is a value corresponding to x;
and broadcasting the first numerical value to each block chain node so as to adjust the broadcasting performance according to the first numerical value.
7. A broadcast performance adjustment method, adapted to a blockchain node, the method comprising:
receiving a first numerical value broadcast by a scanning program server; wherein the first value is calculated by the scanning program server according to the broadcast performance adjusting method of claim 6;
broadcast performance is adjusted based on the first value.
8. The method of claim 7, wherein said adjusting broadcast performance based on said first value comprises:
determining a first critical value of a transaction broadcasting turn according to the first numerical value;
receiving a first transaction, and judging whether a first round of the first transaction is smaller than the first critical value:
if yes, adding one to the first round to update the first round, and broadcasting the second transaction to other blockchain nodes;
and if not, the transaction hash of the second transaction is broadcast to other blockchain nodes.
9. A computer device, the device comprising:
one or more processors;
a memory for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method recited in any of claims 1-8.
10. A storage medium storing a computer program, characterized in that the program, when executed by a processor, implements the method according to any one of claims 1-8.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010910702.9A CN112052250A (en) | 2020-09-02 | 2020-09-02 | Performance measurement method, broadcast performance adjustment method, device and storage medium |
PCT/CN2021/111857 WO2022048409A1 (en) | 2020-09-02 | 2021-08-10 | Performance measurement method, broadcast performance adjustment method, device, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010910702.9A CN112052250A (en) | 2020-09-02 | 2020-09-02 | Performance measurement method, broadcast performance adjustment method, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112052250A true CN112052250A (en) | 2020-12-08 |
Family
ID=73608419
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010910702.9A Pending CN112052250A (en) | 2020-09-02 | 2020-09-02 | Performance measurement method, broadcast performance adjustment method, device and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112052250A (en) |
WO (1) | WO2022048409A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022048409A1 (en) * | 2020-09-02 | 2022-03-10 | 杭州复杂美科技有限公司 | Performance measurement method, broadcast performance adjustment method, device, and storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3388994A1 (en) * | 2017-04-12 | 2018-10-17 | Siemens Aktiengesellschaft | Method and apparatus for computer-assisted testing of a blockchain |
US20190279107A1 (en) * | 2018-03-09 | 2019-09-12 | Lenovo (Beijing) Co., Ltd. | Blockchain-based data processing method, apparatus, and electronic device thereof |
CN110336676A (en) * | 2019-07-15 | 2019-10-15 | 杭州复杂美科技有限公司 | A kind of block chain transaction broadcasting method and system, equipment and storage medium |
CN110659903A (en) * | 2019-09-04 | 2020-01-07 | 华东江苏大数据交易中心股份有限公司 | Data transaction method based on block chain |
CN111181803A (en) * | 2019-12-16 | 2020-05-19 | 杭州复杂美科技有限公司 | Block chain performance measurement method, system, equipment and storage medium |
CN111355630A (en) * | 2020-02-18 | 2020-06-30 | 杭州复杂美科技有限公司 | Block chain performance quantitative analysis method, system, equipment and storage medium |
WO2020135436A1 (en) * | 2018-12-25 | 2020-07-02 | 杭州复杂美科技有限公司 | Block delayed broadcasting method, device and storage medium |
CN111371801A (en) * | 2020-03-13 | 2020-07-03 | 杭州复杂美科技有限公司 | Block chain node scanning method, equipment and storage medium |
CN111464630A (en) * | 2020-03-31 | 2020-07-28 | 杭州复杂美科技有限公司 | Transaction broadcasting method, apparatus and storage medium |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108667614B (en) * | 2018-04-19 | 2021-02-02 | 上海分布信息科技有限公司 | Byzantine fault-tolerant method and implementation system thereof |
CN112052250A (en) * | 2020-09-02 | 2020-12-08 | 杭州复杂美科技有限公司 | Performance measurement method, broadcast performance adjustment method, device and storage medium |
-
2020
- 2020-09-02 CN CN202010910702.9A patent/CN112052250A/en active Pending
-
2021
- 2021-08-10 WO PCT/CN2021/111857 patent/WO2022048409A1/en active Application Filing
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3388994A1 (en) * | 2017-04-12 | 2018-10-17 | Siemens Aktiengesellschaft | Method and apparatus for computer-assisted testing of a blockchain |
US20190279107A1 (en) * | 2018-03-09 | 2019-09-12 | Lenovo (Beijing) Co., Ltd. | Blockchain-based data processing method, apparatus, and electronic device thereof |
WO2020135436A1 (en) * | 2018-12-25 | 2020-07-02 | 杭州复杂美科技有限公司 | Block delayed broadcasting method, device and storage medium |
CN110336676A (en) * | 2019-07-15 | 2019-10-15 | 杭州复杂美科技有限公司 | A kind of block chain transaction broadcasting method and system, equipment and storage medium |
CN110659903A (en) * | 2019-09-04 | 2020-01-07 | 华东江苏大数据交易中心股份有限公司 | Data transaction method based on block chain |
CN111181803A (en) * | 2019-12-16 | 2020-05-19 | 杭州复杂美科技有限公司 | Block chain performance measurement method, system, equipment and storage medium |
CN111355630A (en) * | 2020-02-18 | 2020-06-30 | 杭州复杂美科技有限公司 | Block chain performance quantitative analysis method, system, equipment and storage medium |
CN111371801A (en) * | 2020-03-13 | 2020-07-03 | 杭州复杂美科技有限公司 | Block chain node scanning method, equipment and storage medium |
CN111464630A (en) * | 2020-03-31 | 2020-07-28 | 杭州复杂美科技有限公司 | Transaction broadcasting method, apparatus and storage medium |
Non-Patent Citations (1)
Title |
---|
毛志来 等: "区块链性能扩展与安全研究", 《信息网络安全》, vol. 20, no. 03, pages 56 - 64 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022048409A1 (en) * | 2020-09-02 | 2022-03-10 | 杭州复杂美科技有限公司 | Performance measurement method, broadcast performance adjustment method, device, and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2022048409A1 (en) | 2022-03-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108984662B (en) | Block chain data synchronization method | |
KR101517090B1 (en) | Methods and apparatus for mobile device location determination | |
US20080155552A1 (en) | Server, client, load balancing system and load balancing method thereof | |
US20220121495A1 (en) | Memory reclamation method, electronic device and storage medium | |
US7890764B2 (en) | System, apparatus, program and method for obtaining time stamp | |
CN113076192B (en) | Load balancing method and device, equipment and storage medium | |
CN113194146B (en) | Leader node determination method, computer device, and storage medium | |
CN110601978B (en) | Flow distribution control method and device | |
CN113452808B (en) | Domain name resolution method, device, equipment and storage medium | |
CN109743127B (en) | Information code processing method, electronic equipment and storage medium | |
CN110213759B (en) | Broadcast-based anti-loss detection method, storage medium and electronic device | |
CN112052250A (en) | Performance measurement method, broadcast performance adjustment method, device and storage medium | |
CN110659863B (en) | Object monitoring method and device, electronic equipment and computer readable storage medium | |
CN110490734B (en) | Transaction group construction and broadcasting method and system, equipment and storage medium | |
CN112055077B (en) | Block link access method, device and storage medium | |
CN112600905B (en) | Transaction broadcasting and block generating method, apparatus and storage medium | |
CN110322350B (en) | Method, device, equipment and storage medium for cutting hollow block in consensus network | |
JP2018190108A (en) | Control program, control method, and control device | |
CN110972071A (en) | Multi-mode positioning method, positioning server, terminal and storage medium | |
CN112053154B (en) | Transaction broadcasting method, apparatus and storage medium | |
CN116861397A (en) | Request processing method, device, electronic equipment and computer readable medium | |
CN110535922B (en) | State data storage method and parallel chain block generation method | |
CN107707383B (en) | Put-through processing method and device, first network element and second network element | |
CN111858772A (en) | Parallel chain transaction group execution method, device and storage medium | |
CN113206882B (en) | Consensus method, computer device 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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20201208 |