Block chain resource pool screening method, related device and medium
By analyzing resource interaction transactions on the blockchain, the pool gain of the resource pool is calculated, and the problem that the existing technology cannot effectively screen resource pools with more efficient resource interaction is achieved, achieving the effect of optimizing resource scheduling.
Patent Information
- Application Number
- CN202311443797.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-01
- Publication Date
- 2025-05-06
AI Technical Summary
The existing technology cannot correctly measure the impact of the continuous interaction between resource pools and other resource pools, and cannot filter out resource pools with more efficient resource interaction for subsequent resource scheduling.
By obtaining the target resource interaction transactions associated with the target resource pool on the blockchain, the interaction gain of the target resource in each interactive transaction is determined, the interaction gain is accumulated for each resource type, the pool gain of the target resource pool is calculated, and the resource pool is filtered based on the pool gain.
The screening of a resource pool with more effective resource interaction is realized, which is conducive to optimizing subsequent resource scheduling and improving resource scheduling efficiency.
Smart Images

Figure CN119938232A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of blockchain, and in particular to a blockchain resource pool screening method, related devices and media. Background Art
[0002] Currently, a large number of resources are used on the Internet. Resources are scheduled in resource pools. Resources in different resource pools can interact. For example, resource A1 in resource pool A can be used by resource pool B, and resource B1 in resource pool B can also be used by resource pool A. Each resource pool may generate different interaction gains due to this interaction. Some resource pools may obtain large positive gains due to continuous interaction with other resource pools, and some resource pools may obtain large negative gains due to continuous interaction with other resource pools. The existing technology cannot correctly measure the impact caused by the continuous interaction of resource pools with other resource pools, and cannot screen out resource pools with more effective resource interactions for subsequent scheduling. Summary of the invention
[0003] The disclosed embodiments provide a blockchain resource pool screening method, related devices and media, which can screen out resource pools with more effective resource interactions, which is beneficial to subsequent resource scheduling.
[0004] According to one aspect of the present disclosure, a blockchain resource pool screening method is provided, comprising:
[0005] Obtaining a target resource interaction transaction associated with a target resource pool on a blockchain, wherein the target resource interaction transaction has a target resource;
[0006] Determining the interaction gain of the target resource in each target resource interaction transaction;
[0007] For each resource type, determining a first sum of interaction gains of the target resources of the resource type in a plurality of the target resource interaction transactions;
[0008] Adding the first sums corresponding to the plurality of resource types to obtain a pool gain of the target resource pool;
[0009] Based on the pool gain, a plurality of target resource pools are screened to obtain a screened resource pool.
[0010] According to one aspect of the present disclosure, a blockchain resource pool screening device is provided, comprising:
[0011] An acquisition unit, configured to acquire a target resource interaction transaction associated with a target resource pool on a blockchain, wherein the target resource interaction transaction has a target resource;
[0012] A first determining unit, configured to determine an interaction gain of the target resource in each target resource interaction transaction;
[0013] A second determining unit, configured to determine, for each resource type, a first sum of interaction gains of the target resources of the resource type in a plurality of target resource interaction transactions;
[0014] an adding unit, configured to add the first sums corresponding to the plurality of resource types to obtain a pool gain of the target resource pool;
[0015] The screening unit is used to screen the target resource pools based on the pool gain to obtain a screened resource pool.
[0016] Optionally, after screening in the plurality of target resource pools based on the pool gain to obtain a screened resource pool, the blockchain resource pool screening device further includes:
[0017] A first display unit, used for displaying a plurality of the screened resource pools in the order of the size of the pool gains;
[0018] The second display unit is used for displaying the target resource interaction transaction associated with the triggered filtered resource pool and the interaction gain of each target resource of the target resource interaction transaction in response to triggering the filtered resource pool.
[0019] Optionally, after displaying the plurality of screened resource pools in the order of the pool gains, the blockchain resource pool screening device further comprises:
[0020] A prediction unit, configured to, in response to the triggering of one of the screened resource pools, input the target resource interaction transaction associated with the triggered screened resource pool and the interaction gain of each of the target resources of the target resource interaction transaction into an interaction strategy prediction model to obtain an interaction strategy of the triggered screened resource pool;
[0021] The third display unit is used to display the triggered interaction strategy of the screened resource pool.
[0022] Optionally, before obtaining the target resource interaction transaction associated with the target resource pool on the blockchain, the blockchain resource pool screening device further includes: an inserting unit, configured to obtain the interaction parameters of each resource type relative to the benchmark resource type, and insert the parameters into the interaction parameter library;
[0023] The first determining unit is specifically configured to:
[0024] Determining the interactive resource number and target resource type of the target resource in the target resource interactive transaction;
[0025] Acquire, from the interaction parameter library, a target interaction parameter of the target resource type relative to the reference resource type;
[0026] The interaction gain is determined based on the number of interaction resources and the target interaction parameter.
[0027] Optionally, the first determining unit is further configured to:
[0028] Determining a value of the interaction gain based on the number of interaction resources and the target interaction parameter;
[0029] Determining an interaction direction of the target resource;
[0030] If the interaction direction is inflow, the sign of the interaction gain is determined to be positive; if the interaction direction is outflow, the sign of the interaction gain is determined to be negative.
[0031] Optionally, the target resource interaction transaction further includes an outgoing resource pool identifier and an incoming resource pool identifier;
[0032] The first determining unit is further configured to:
[0033] If the inflow resource pool identifier is the identifier of the target resource pool, the interaction direction is determined to be inflow; if the outflow resource pool identifier is the identifier of the target resource pool, the interaction direction is determined to be outflow.
[0034] Optionally, the placing unit is specifically used to: periodically obtain the interaction parameters of each resource type relative to the reference resource type, and store the interaction parameters and the period of obtaining the interaction parameters in the interaction parameter library in correspondence with each other;
[0035] The first determining unit is further configured to:
[0036] Determine the target period in which the target resource interaction transaction is located;
[0037] The target interaction parameter of the target resource type corresponding to the target period and relative to the reference resource type is obtained from the interaction parameter library.
[0038] Optionally, the placing unit is specifically used for:
[0039] For each resource type, obtaining from the blockchain a plurality of first resource interaction transactions of resources having the resource type;
[0040] Acquire, from a centralized interaction server, a plurality of second resource interaction transactions of resources having the resource type;
[0041] Based on a plurality of the first resource interaction transactions and a plurality of the second resource interaction transactions, the interaction parameters of the resource type relative to the benchmark resource type are obtained and put into the interaction parameter library.
[0042] Optionally, based on the plurality of first resource interaction transactions and the plurality of second resource interaction transactions, the placing unit is further configured to:
[0043] Each resource interaction transaction in the plurality of the first resource interaction transactions and the plurality of the second resource interaction transactions is used as an interaction transaction to be examined, wherein the interaction transaction to be examined includes the number of interactions of the target resource of the resource type and the number of equivalent reference resources;
[0044] Determine a second sum of the numbers of equivalent reference resources of a plurality of the interactive transactions to be examined;
[0045] Determine a third sum of the numbers of interactions of the plurality of interaction transactions to be examined;
[0046] Based on the second sum and the third sum, the interaction parameter of this resource type relative to the benchmark resource type is determined and put into the interaction parameter library.
[0047] Optionally, the interaction transaction to be examined includes a first interaction event and a second interaction event, wherein the first interaction event includes a first interaction number of the target resource of a first resource type and a first equivalent reference resource number, and the second interaction event includes a second interaction number of a second resource type interacting with the first resource type and a second equivalent reference resource number;
[0048] The determining the second sum of the number of equivalent reference resources of the plurality of interaction transactions to be examined comprises: if the resource type is the first resource type, determining the second sum of the number of the first equivalent reference resources in a plurality of the first interaction events; if the resource type is the second resource type, determining the second sum of the number of the second equivalent reference resources in a plurality of the second interaction events;
[0049] The determining of the third sum of the numbers of interactions of the multiple interactive transactions to be examined includes: if the resource type is the first resource type, determining the third sum of the numbers of the first interactions in multiple first interactive events; if the resource type is the second resource type, determining the third sum of the numbers of the second interactions in multiple second interactive events.
[0050] Optionally, the blockchain resource pool screening device further includes an on-chain unit, and the target resource interaction transaction is generated and on-chained by the on-chain unit in the following manner:
[0051] Receive the target object's login identity information;
[0052] Acquire the target resource pool bound to the login identity information;
[0053] receiving an interaction request from the target object to the target resource in the target resource pool;
[0054] In response to the interaction request, the target resource interaction transaction is generated and recorded on the blockchain through a blockchain node.
[0055] Optionally, the blockchain resource pool screening device further includes a registration unit, and the target resource pool is bound to the login identity information by the registration unit in the following manner:
[0056] Receiving a registration request from the target object;
[0057] In response to the registration request, displaying a login identity information input interface;
[0058] In the login identity information input interface, receiving the login identity information input by the target object, and allocating the target resource pool to the target object;
[0059] The target resource pool is bound to the login identity information.
[0060] Optionally, the second determining unit is specifically configured to:
[0061] Get a list of scheduled resource types;
[0062] For each resource type in the predetermined resource type list, filtering out the target resource interaction transactions containing the target resource of the resource type from the plurality of target resource interaction transactions as filtered target resource interaction transactions;
[0063] Determine the first sum of the interaction gains of the target resources of the resource type in a plurality of the filtered target resource interaction transactions.
[0064] Optionally, the predetermined resource type list is generated by the second determining unit in the following manner:
[0065] Obtaining a set of resource interaction transactions to be examined, wherein the set of resource interaction transactions to be examined includes resource interaction transactions to be examined obtained from the blockchain or from a centralized interaction server, and the resource interaction transactions to be examined include the number of equivalent benchmark resources of the target resource;
[0066] Classifying the resource interaction transactions to be examined in the set of resource interaction transactions to be examined according to resource types of the target resources included therein;
[0067] For a category of the resource interaction transactions to be examined, the number of equivalent reference resources of the target resources in the category of the resource interaction transactions to be examined is added to obtain a fourth sum;
[0068] Based on the fourth sum, the predetermined resource type list is determined from the multiple types of resource interaction transactions to be examined.
[0069] Optionally, the adding unit is specifically used for:
[0070] Determine the first sum corresponding to the resource type in the predetermined resource type list;
[0071] The determined first sums are added to obtain the pool gain of the target resource pool.
[0072] Optionally, the resource interaction transaction on the blockchain includes a resource pool identifier, the resource interaction transaction includes the target resource interaction transaction, and the resource pool identifier includes the target resource pool identifier; the acquisition unit is specifically configured to:
[0073] Obtaining the resource pool identifier of each resource interaction transaction on the blockchain;
[0074] The resource interaction transaction with the resource pool identifier as the target resource pool identifier is determined as the target resource interaction transaction associated with the target resource pool.
[0075] According to one aspect of the present disclosure, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the blockchain resource pool screening method as described above is implemented.
[0076] According to one aspect of the present disclosure, a computer-readable storage medium is provided, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the blockchain resource pool screening method as described above is implemented.
[0077] According to one aspect of the present disclosure, a computer program product is provided, which includes a computer program, and the computer program is read and executed by a processor of a computer device, so that the computer device executes the blockchain resource pool screening method as described above.
[0078] The disclosed embodiment obtains the target resource interaction transaction associated with the target resource pool on the blockchain, and determines the interaction gain of the target resource in each target resource interaction transaction. These interaction gains are accumulated according to a single resource type to obtain a first sum, and then the first sums of multiple resource types are accumulated to obtain the pool gain of the target resource pool. This pool gain reflects the effectiveness of the interaction between the target resource pool and other resource pools. Therefore, it is possible to filter according to the pool gain of each target resource pool to obtain a filtered resource pool. The filtered resource pool selected in this way is conducive to optimizing subsequent resource scheduling and improving resource scheduling efficiency.
[0079] Other features and advantages of the present disclosure will be described in the following description, and partly become apparent from the description, or understood by practicing the present disclosure. The purpose and other advantages of the present disclosure can be realized and obtained by the structures particularly pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0080] The accompanying drawings are used to provide further understanding of the technical solution of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the technical solution of the present disclosure and do not constitute a limitation on the technical solution of the present disclosure.
[0081] Figure 1 It is a system architecture diagram of a blockchain resource pool screening method according to an embodiment of the present disclosure;
[0082] Figure 2A-2E It is a schematic diagram of an embodiment of the present disclosure applied to a scenario of screening a resource pool;
[0083] Figure 3 is a flowchart of a blockchain resource pool screening method according to an embodiment of the present disclosure;
[0084] Figure 4 is Figure 3 A specific flow chart of binding the target resource pool with the login identity information before step 310;
[0085] Figure 5A-5C It is a specific implementation diagram of binding the target resource pool with the login identity information;
[0086] Figure 6 is Figure 3 A specific flow chart of the generation and chaining of target resource interaction transactions before step 310;
[0087] Figure 7A-7D It is a schematic diagram of the specific implementation from the target object's login identity information to the generation of an interaction request;
[0088] Figure 8It is a specific implementation diagram of generating target resource interaction transactions based on interaction requests and uploading them to the chain;
[0089] Fig. 9 It is a schematic diagram of putting the interaction parameters corresponding to various resource types into the interaction parameter library;
[0090] Fig.10 It is a schematic diagram of periodically putting the interaction parameters corresponding to various resource types into the interaction parameter library;
[0091] Fig.11 It is a specific flow chart for putting the interaction parameters corresponding to various resource types into the interaction parameter library;
[0092] Fig.12 It is a specific flow chart of obtaining interaction parameters and putting them into the interaction parameter library based on the first resource interaction transaction and the second resource interaction transaction;
[0093] Fig.13 yes Figure 3 Step 310 obtains a specific flow chart of a target resource interaction transaction associated with a target resource pool;
[0094] Fig.14 It is a specific implementation diagram for obtaining a target resource interaction transaction associated with a target resource pool;
[0095] Fig.15 yes Figure 3 A specific flow chart of determining the interaction gain of the target resource in each target resource interaction transaction in step 320;
[0096] Fig.16 yes Fig.15 Step 1520 is a specific flow chart of obtaining target interaction parameters of the target resource type relative to the reference resource type;
[0097] Fig.17 yes Fig.15 A specific flow chart of determining the interaction gain in step 1530;
[0098] Fig.18 It is a specific implementation diagram for determining the interaction gain;
[0099] Fig.19 yes Figure 3 Step 330 determines a specific flow chart of the first sum;
[0100] Fig. 20A yes Fig.19 A schematic diagram of step 1910 regarding a list of predetermined resource types;
[0101] Fig. 20B yes Fig.19 Step 1920 filters to obtain a schematic diagram of the target resource interaction transaction after filtering;
[0102] Fig.21 yes Figure 3 A specific flow chart of determining the pool gain in step 340;
[0103] Fig. 22 yes Figure 3 After step 350, a detailed flow chart of the triggered filtered resource pool is displayed;
[0104] Fig.23A is a schematic diagram showing multiple filtered resource pools;
[0105] Fig. 23B is a schematic diagram showing target resource interaction transactions and interaction gains of a triggered filtered resource pool;
[0106] Fig.24 yes Fig. 22 After step 2210, a specific flow chart of the interaction strategy is displayed;
[0107] Fig.25 It is an implementation detail diagram of a blockchain resource pool screening method according to an embodiment of the present disclosure;
[0108] Fig.26 is an application example diagram of the blockchain resource pool screening method according to an embodiment of the present disclosure;
[0109] Fig. 27 is a module diagram of a blockchain resource pool screening device according to an embodiment of the present disclosure;
[0110] Fig.28 According to the embodiment of the present disclosure, Figure 3 The terminal structure diagram of the blockchain resource pool screening method shown;
[0111] Fig.29 According to the embodiment of the present disclosure, Figure 3 The server structure diagram of the blockchain resource pool screening method shown. DETAILED DESCRIPTION
[0112] In order to make the purpose, technical solution and advantages of the present disclosure more clear, the present disclosure is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present disclosure and are not used to limit the present disclosure.
[0113] It should be noted that in various specific embodiments of the present disclosure, when it comes to the need to perform relevant processing based on data related to the characteristics of the target object such as the target object attribute information or attribute information set, the permission or consent of the target object will be obtained first, and the collection, use and processing of these data will comply with relevant laws, regulations and standards. In addition, when the embodiment of the present disclosure needs to obtain the attribute information of the target object, the separate permission or separate consent of the target object will be obtained through a pop-up window or jump to a confirmation page. After clearly obtaining the separate permission or separate consent of the target object, the necessary target object-related data for the normal operation of the embodiment of the present disclosure will be obtained.
[0114] Before further describing the embodiments of the present disclosure in detail, the nouns and terms involved in the embodiments of the present disclosure are described. The nouns and terms involved in the embodiments of the present disclosure are subject to the following interpretations:
[0115] Blockchain: Blockchain is a new application model of computer technologies such as distributed data storage, consensus mechanism, and encryption algorithm. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of transaction information, which is used to verify the validity of its information (anti-counterfeiting) and associate with the previous block. Currently, many applications have begun to use blockchain networks because the decentralized nature of blockchain networks has the following advantages: strong fault tolerance, not easy to be attacked, and data cannot be tampered with. This makes objects trust applications that deploy blockchains, and the activities of objects outside the chain on the blockchain are increasing. More and more transactions need to be processed on the chain.
[0116] Blockchain node: A blockchain node usually refers to a computer in a blockchain network. It can also be said that any computer connected to a blockchain network is called a node. Generally speaking, a blockchain node has three characteristics: first, it has storage space, which can store block data in devices such as mobile hard disks and computers; second, it is connected to the network, and all devices with storage space must be connected to the network; third, to participate in the blockchain, it is necessary to run the corresponding blockchain program on the storage space and execute transactions on the chain through a visual terminal.
[0117] Resource pool: refers to a way of centralized management and allocation of resources, which stores various resources in a unified place for easy management and allocation. Resource pools can include various types of resources, such as computing resources, storage resources, network resources, etc. The main purpose of resource pools is to improve resource utilization and efficiency. By centrally managing resources, resource scheduling and allocation can be better carried out to avoid waste and idleness of resources. Resource pools can dynamically adjust resource allocation according to demand, and expand or reduce resources according to actual conditions to meet the needs of different applications.
[0118] Resources: In addition to the computing resources, storage resources, and network resources mentioned above, they can also be virtual resources, etc.
[0119] Resource interaction: refers to the process of different entities exchanging and sharing resources to meet their respective needs. In the dynamic adjustment of resource allocation by resource pools, resource interaction is a common behavior, including both the exchange of resources and the unidirectional outflow or inflow of resources. The purpose of resource interaction is to achieve the optimal configuration and utilization of resources. Through resource interaction, different resource pools can complement and collaborate with each other to achieve mutual benefit and win-win results in resources.
[0120] At present, each resource pool may have different interaction gains due to resource interaction. Some resource pools may obtain large positive gains due to continuous interaction with other resource pools, while some resource pools may obtain large negative gains due to continuous interaction with other resource pools. The existing technology cannot correctly measure the impact of continuous interaction between resource pools and other resource pools, and cannot screen out resource pools with more effective resource interaction for subsequent scheduling.
[0121] System architecture and scenario description of the application of the embodiments of the present disclosure
[0122] Figure 1 The system architecture diagram of the blockchain resource pool screening method according to the embodiment of the present disclosure includes: an object terminal 110, the Internet 120, a gateway 130, a resource pool screening server 140, a blockchain node 150, and a centralized interaction server 160.
[0123] The object terminal 110 is a device used by the object to request resource pool screening and view resource pool screening results. It includes desktop computers, laptops, PDAs (personal digital assistants), mobile phones, vehicle-mounted terminals, home theater terminals, dedicated terminals, and other forms. In addition, it can be a single device or a collection of multiple devices. For example, multiple devices are connected through a local area network and share a display device to work together, forming a terminal. The object terminal 110 can also communicate with the Internet 120 in a wired or wireless manner to exchange data.
[0124] The gateway 130 is also called an internetwork connector or a protocol converter. The gateway 130 realizes network interconnection at the transport layer and is a computer system or device that acts as a converter. The gateway 130 is a translator between two systems that use different communication protocols, data formats or languages, or even completely different architectures. At the same time, the gateway 130 can also provide filtering and security functions. The message sent by the object terminal 110 to the resource pool screening server 140, the blockchain node 150, and the centralized interactive server 160 must be sent to the corresponding resource pool screening server 140, the blockchain node 150, and the centralized interactive server 160 through the gateway 130. The message sent by the resource pool screening server 140, the blockchain node 150, and the centralized interactive server 160 to the object terminal 110 must also be sent to the corresponding object terminal 110 through the gateway 130.
[0125] The resource pool screening server 140 refers to a computer system that can provide resource pool screening services to the object terminal 110. Compared with the object terminal 110, the resource pool screening server 140 has higher requirements in terms of stability, security, performance, etc. The resource pool screening server 140 can be a high-performance computer in a network platform, a cluster of multiple high-performance computers, a part of a high-performance computer (such as a virtual machine), a combination of parts of multiple high-performance computers (such as virtual machines), etc. The resource pool screening server 140 can also communicate with the Internet 120 in a wired or wireless manner to exchange data.
[0126] The centralized interactive server 150 is a computer system that can provide resource interaction services for the resource pool corresponding to the object terminal 110. Compared with the object terminal 110, the centralized interactive server 150 has higher requirements in terms of stability, security, performance, etc. The centralized interactive server 150 can be a high-performance computer in the network platform, a cluster of multiple high-performance computers, a part of a high-performance computer (such as a virtual machine), a combination of parts of multiple high-performance computers (such as virtual machines), etc. The centralized interactive server 150 can also communicate with the Internet 120 in a wired or wireless manner to exchange data. While performing resource interaction, the centralized interactive server 150 will record resource interaction transactions for query by the object terminal 110. However, the resource interaction transactions recorded by the centralized interactive server have a certain degree of privacy, and other objects or subjects cannot be obtained at will. To this end, the embodiment of the present disclosure introduces a blockchain node 160 to realize public storage of blockchain.
[0127] Blockchain node 160 is a node of blockchain. Blockchain node 160 refers to a computer in a blockchain network, or any computer connected to a blockchain network is called a node. Generally speaking, blockchain node 160 has three characteristics: first, it has storage space, and can store block data in devices such as mobile hard disks and computers; second, it is connected to the network, and all devices with storage space must be connected to the network; third, to participate in the blockchain, it is necessary to run the corresponding blockchain program on the storage space and execute on-chain transactions through a visual terminal. In the disclosed embodiment, blockchain node 160 packages the resource interaction transactions of each resource pool into blocks, and records the blocks on the blockchain maintained by blockchain node 160 to realize public storage of data.
[0128] The embodiments of the present disclosure can be applied in various scenarios, such as Figure 2A-2E The scenario of filtering resource pools is shown in FIG.
[0129] Resource pool screening refers to screening and selecting suitable resource pools through certain standards and methods in resource interaction. Resource pool screening can help entities find the most suitable resource pool for resource interaction and improve the utilization efficiency and schedulability of resource pools.
[0130] like Figure 2A As shown, the object terminal 110 is a computer terminal. When the object logs in to the resource pool screening platform at the object terminal 110, the computer terminal interface will display the resource pools owned on the resource pool screening platform, wherein the owned resource pools include resource pool A, resource pool B, and resource pool C. The computer terminal interface will also display a selection control, which is used to provide the object with a click and perform resource pool screening. After the object clicks "yes" on the selection control corresponding to the resource pool screening, the object terminal 110 sends a resource pool screening request to the resource pool screening server 140, and the resource pool screening server performs resource pool screening in response to the request. The resource pool screening server can read the resource interaction transactions required for resource pool screening from the centralized interaction server 150 or the blockchain node 160.
[0131] like Figure 2B As shown, the resource pool screening server 140 reads resource interaction transactions from the centralized interaction server 150. The resource interaction transactions read include "January 1, 2023, from resource pool A to resource pool B, interacting 200 resources Z1", "January 2, 2023, from resource pool B to resource pool A, interacting 100 resources Z2", "January 3, 2023, from resource pool B to resource pool C, interacting 200 resources Z2", and "January 4, 2023, from resource pool C to resource pool A, interacting 100 resources Z3".
[0132] like Figure 2CAs shown, the resource pool screening server 140 reads the resource interaction transaction from the blockchain node 160. Unlike the centralized interaction server 150, the blockchain node 160 packages the resource interaction transaction into blocks and stores them on the blockchain. Among them, the blockchain includes block Q1, block Q2, block Q3 and block Q4. Block Q1 includes a block header T1 and a resource interaction transaction L1. The resource interaction transaction L1 includes a resource pool identifier of "A, B" and a transaction content of "January 1, 2023, interacting with 200 resources Z1". A in "A, B" indicates the outflow resource pool identifier, and B indicates the outflow resource pool identifier. Similarly, block Q2 includes a block header T2 and a resource interaction transaction L2. The resource interaction transaction L2 includes a resource pool identifier of "B, A" and a transaction content of "January 2, 2023, interacting with 100 resources Z2". Block Q3 includes block header T3 and resource interaction transaction L3, which includes resource pool identifier "B, C" and transaction content "January 3, 2023, 200 resources Z2 will be exchanged". Block Q4 includes block header T4 and resource interaction transaction L4, which includes resource pool identifier "C, A" and transaction content "January 4, 2023, 100 resources Z3 will be exchanged".
[0133] like Figure 2DAs shown, after the resource pool screening server 140 reads the required resource interaction transaction, the number of interaction resources of resource pool A, resource pool B, and resource pool C for resource Z1, resource Z2, and resource Z3 can be counted based on the resource pool interaction transaction. Among them, the number of interaction resources of resource pool A for resource Z1 is -200, the number of interaction resources for resource Z2 is +100, and the number of interaction resources for resource Z3 is +100. The number of interaction resources of resource pool B for resource Z1 is +200, the number of interaction resources for resource Z2 is -100, and the number of interaction resources for resource Z3 is 0. The number of interaction resources of resource pool C for resource Z1 is 0, the number of interaction resources for resource Z2 is +200, and the number of interaction resources for resource Z3 is -100. After counting the sum of the number of interaction resources corresponding to each resource, it is also necessary to obtain the interaction parameters of each resource type relative to the benchmark resource type. Among them, the interaction parameter corresponding to resource Z1 is 0.7, the interaction parameter corresponding to resource Z2 is 0.6, and the interaction parameter corresponding to resource Z3 is 0.5. After determining the number of interactive resources and the interaction parameters, the pool gain of each resource pool is determined. Among them, the pool gain of resource pool A is (-200*0.7)+(100*0.6)+(100*0.5)=-30. The pool gain of resource pool B is (+200*0.7)+(-100*0.6)+(0*0.5)=+80. The pool gain of resource pool C is (0*0.7)+(+200*0.6)+(-100*0.5)=+70. Then, based on the size of the pool gain of the resource pool, resource pool B and resource pool C are screened out. Finally, the resource pool screening server 140 sends the pool gain of each resource pool and the screened resource pool to the object terminal 110.
[0134] like Figure 2E As shown, the terminal interface of the object terminal 110 will display the pool gains of each pool on the resource pool screening platform and the resource pool after screening. Among them, the pool gain of resource pool A is -30, the pool gain of resource pool B is +80, and the pool gain of resource pool C is +70. The resource pools after screening are resource pool B and resource pool C. In actual applications, resource pool B and resource pool C can be determined as resource pools with valid resource interaction, and then subsequent resource interaction or resource scheduling is performed based on resource pool B and resource pool C.
[0135] It should be emphasized that the embodiments of the present disclosure can be applied in a variety of scenarios. Figure 2A-2E One type of business scenario in the embodiment of the present disclosure is shown. The business scenarios to which the blockchain resource pool screening method in the embodiment of the present disclosure can be applied may include, but are not limited to, the specific embodiments listed above.
[0136] General description of the disclosed embodiments
[0137] According to an embodiment of the present disclosure, a blockchain resource pool screening method is provided. The blockchain resource pool screening method can be executed by the resource pool screening server 140. The blockchain resource pool screening method can also be jointly executed by the resource pool screening server 140 and other devices.
[0138] Reference Figure 3 According to a blockchain resource pool screening method according to an embodiment of the present disclosure, the blockchain resource pool screening method may include, but is not limited to, the following steps 310 to 350.
[0139] Step 310, obtaining a target resource interaction transaction associated with a target resource pool on the blockchain, where the target resource interaction transaction has a target resource;
[0140] Step 320, determining the interaction gain of the target resource in each target resource interaction transaction;
[0141] Step 330, for each resource type, determining a first sum of interaction gains of target resources of the resource type in multiple target resource interaction transactions;
[0142] Step 340, adding the first sums corresponding to the multiple resource types to obtain a pool gain of the target resource pool;
[0143] Step 350 , based on the pool gain, screening is performed among multiple target resource pools to obtain a screened resource pool.
[0144] Steps 310 to 350 are described in detail below.
[0145] Reference Figure 4 According to some embodiments provided by the present disclosure, before step 310, the target resource pool is bound to the login identity information in the following manner:
[0146] Step 410, receiving a registration request from a target object;
[0147] Step 420, in response to the registration request, displaying a login identity information input interface;
[0148] Step 430, receiving the login identity information input by the target object in the login identity information input interface, and allocating a target resource pool for the target object;
[0149] Step 440: Bind the target resource pool to the login identity information.
[0150] In step 410, if the target object is a new object, it needs to register with the resource pool screening server to obtain the target resource pool allocated by the resource pool screening server to the target object. For example, the target object clicks a registration button or link on the login page or homepage of the resource pool screening platform provided by the resource pool screening server to open the registration page, so that the resource pool screening server receives the registration request of the target object.
[0151] In step 420, the login identity information input interface is used to receive the login identity information input by the target object. The login identity information includes the object ID, email address, mobile phone number, etc., which are used to verify the identity and contact information of the target object. In addition, a password needs to be selected on the login identity information input interface. The password is important information for protecting information security. Figure 5A As shown, in response to the registration request, the displayed login identity information input interface includes a login identity information input box and a password input box. The target object enters 01010101 as the login identity information in the login identity information input box.
[0152] In step 430, after receiving the login identity information input by the target object, a target resource pool is allocated to the target object. Figure 5B As shown, resource pool A is allocated to the target object whose login identity information is 01010101, and a pop-up window of successful registration is displayed, and the content of the pop-up window is "Registration successful, resource pool A is allocated to you".
[0153] In step 440, after the target resource pool is allocated to the target object, the target resource pool is bound to the login identity information. Figure 5C As shown, the binding database stores the binding relationship between the login identity information and the target resource pool. The target object with the login identity information of 01010101 is bound to resource pool A. The target object with the login identity information of 01010110 is bound to resource pool B. The target object with the login identity information of 01010111 is bound to resource pool C.
[0154] The benefit of the embodiment of the steps 410-440 is that it is possible to receive a registration request from a target object, which means that the target object can easily register an account. After receiving the registration request, it is possible to respond in time and display the login identity information input interface. In this way, the target object can easily input its login identity information. It is possible to allocate a corresponding target resource pool to it according to the login identity information provided by the target object. In this way, each target object can obtain resources suitable for its needs and permissions. It is possible to bind the target resource pool to the login identity information of the target object to ensure that only users with corresponding login identity information can access and use the resource pool allocated to it. This helps to ensure the security and reasonable allocation of resources. In summary, this embodiment can provide convenient, safe and personalized registration and resource pool allocation services.
[0155] Reference Figure 6 After the target object is bound to the target resource pool through steps 410-440, and before step 310, the target resource interaction transaction is generated and uploaded to the chain in the following way:
[0156] Step 610, receiving the login identity information of the target object;
[0157] Step 620, obtaining the target resource pool bound to the login identity information;
[0158] Step 630, receiving an interaction request from a target object to a target resource in a target resource pool;
[0159] Step 640, in response to the interaction request, a target resource interaction transaction is generated and recorded on the blockchain through the blockchain node.
[0160] In step 610, the resource pool screening server receives the login identity information of the target object, which may be the object ID, email address, mobile phone number, etc. used during registration. Fig. 7A As shown, the target object inputs 01010101 in the login identity output interface, so that the resource pool screening server receives the login identity information 01010101.
[0161] In step 620, since the resource pool screening server has bound the resource pool corresponding to the login identity information when the target object is registered, after receiving the login identity information, the target resource pool bound to the login identity information can be obtained from the binding database or other storage space. For example, for a target object with login identity information of 01010101, the bound target resource pool is resource pool A.
[0162] In step 630, the interaction request refers to a request for a resource to flow into or out of the target resource pool. Figure 7BAs shown, the object terminal 110 displays the relevant resource information of resource pool A on the resource pool screening platform provided by the resource pool screening server. Specifically, the resource types owned by resource pool A include resource Z1, resource Z2 and resource Z3. The total number of resources of resource Z1 is 300, the total number of resources of resource Z2 is 100, and the total number of resources of resource Z3 is 200. Each resource type corresponds to two corresponding selection controls, one is the "inflow" selection control, and the other is the "outflow" selection control. If the "inflow" selection control is clicked, a certain resource will flow into resource pool A. If the "outflow" selection control is clicked, a certain resource will flow out of resource pool A. After clicking the "outflow" selection control corresponding to resource Z1, as shown Figure 7C As shown, a confirm outflow interface is displayed, which shows that the time is January 1, 2023, the resource to be outflowed is resource Z1, the number of outflows is 100, and the object to be outflowed is resource pool B. Then click the "Yes" selection control corresponding to confirm whether to flow out to complete a resource interaction. This resource interaction can generate an interaction request, such as Fig.7D As shown, the interaction request is "January 1, 2023, from resource pool A to resource pool B, interact with 100 resources Z1".
[0163] In step 640, the interaction request includes an outgoing resource pool identifier, an incoming resource pool identifier, a resource type, and an interaction number. The resource pool identifier is obtained according to the outgoing resource pool identifier and the incoming resource pool identifier. The transaction content is obtained according to the outgoing resource pool identifier, the incoming resource pool identifier, the resource type, and the interaction number. A target resource interaction transaction is generated based on the resource pool identifier and the transaction content.
[0164] In one example, if Figure 8 As shown, for the interaction request of "January 1, 2023, from resource pool A to resource pool B, interact with 100 resources Z1", its outflow resource pool identifier is A, the inflow resource pool identifier is B, the resource type is resource Z1, and the number of interactions is 100. According to the outflow resource pool identifier A and the inflow resource pool identifier B, the resource pool identifier in the target resource interaction transaction is "A, B". According to the interaction time of January 1, 2023, the resource type is resource Z1, and the number of interactions is 100, the transaction content in the target resource interaction transaction is "January 1, 2023, interact with 100 resources Z1". Then the target resource interaction transaction is packaged into blocks, and a block includes a block header and multiple transactions. Finally, the block is recorded on the blockchain.
[0165] The specific process of recording the target resource interaction transaction to the blockchain through the blockchain node is as follows:
[0166] Generally, the object terminal generates a target resource interaction transaction based on the object's operation behavior, and sends the target resource interaction transaction and the digital signature of the object terminal to the adjacent blockchain node on the blockchain network, so that the blockchain node can verify the authenticity of the target resource interaction transaction. During the verification, the blockchain node verifies the digital signature using the public key of the object terminal, obtains the first summary value of the target resource interaction transaction, and calculates the summary of the target resource interaction transaction according to the summary algorithm to obtain the second summary value of the target resource interaction transaction, compares the first summary value and the second summary value, and if the first summary value and the second summary value are the same, the verification is passed, and the target resource interaction transaction is a real transaction generated by the object terminal.
[0167] After verification, the target resource interaction transactions and other target resource interaction transactions sent by the target terminal are accumulated. When the accumulation reaches a certain level (for example, the number of accumulated transactions reaches a certain threshold, or the accumulation time reaches a certain threshold), these target resource interaction transactions are packaged into blocks and sent to other blockchain nodes in the blockchain network for consensus. After the consensus is successful, each blockchain node records the block to the blockchain maintained by each blockchain node.
[0168] The advantage of the embodiment of steps 610-640 is that the target resource interaction transaction generated by the target resource pool bound to the target object can be truly uploaded to the blockchain, and the data on the blockchain can be publicly queried. While realizing the security storage of the target resource interaction transaction, a convenient query channel is provided.
[0169] After the target resource interaction transaction is recorded in the blockchain, in step 310, the target resource interaction transaction associated with the target resource pool on the blockchain is obtained, and the target resource interaction transaction has a target resource. The blockchain is maintained by the blockchain node and is used to record and store transaction data and information while ensuring the security and reliability of the data. Based on the characteristics of the blockchain for public storage of data, the target resource interaction transaction can be obtained from the blockchain. The target resource pool refers to the resource pool participating in resource interaction. Generally, one object is bound to one target resource pool. Several target resource interaction transactions are recorded on the blockchain, but the embodiment of the present disclosure obtains the target resource interaction transaction associated with the target resource pool. For example, if the identifier corresponding to the target resource interaction transaction is the same as the identifier of the target resource pool, then the target resource interaction transaction is associated with the target resource pool. The resources contained in the target resource interaction transaction are recorded as target resources. For example, if the transaction content of the target resource interaction transaction includes "100 resources Z1 will be interacted on January 1, 2023", then the target resource is resource Z1.
[0170] In step 320, the interaction gain of the target resource in each target resource interaction transaction is determined. Interaction gain refers to the income or benefit obtained through resource interaction behavior. In different fields and situations, interaction gain can have different meanings and applications. In the embodiment of the present disclosure, different resource types have different resource importance. In order to measure the resource importance of different resource types, the benchmark resource type is introduced as a measurement indicator. Relative to the benchmark resource type, the more equivalent benchmark resources of a certain resource type, the more important the resource type is. The more the flow into this resource type, the positive interaction gain will be obtained, and the more the flow out of this resource type, the reverse interaction gain will be obtained. It should be noted that for each target resource pool, it generally involves the inflow of multiple resource types and the outflow of multiple resource types. But even for the same resource type, the interaction gain generated in different target resource interaction transactions is different. Therefore, it is necessary to first determine the interaction gain of the target resource in each target resource interaction transaction, and then count the first sum in step 330.
[0171] In step 330, for each resource type, the first sum of the interaction gains of the target resources of the resource type in multiple target resource interaction transactions is determined. In one example, the interaction gain of resource Z1 of the target resource pool in one target resource interaction transaction is +40, and the interaction gain in another target resource interaction transaction is -10, then the first sum of the interaction gain of resource Z1 is +30. In another example, the interaction gain of resource Z2 of the target resource pool in one target resource interaction transaction is +70, and the interaction gain in another target resource interaction transaction is -30, then the first sum of the interaction gain of resource Z2 is +40.
[0172] In step 340, the first sums corresponding to the multiple resource types are added together to obtain the pool gain of the target resource pool. Based on the above example, the pool gain of the target resource pool is 30+40=+70.
[0173] In step 350, based on the pool gain, multiple target resource pools are screened to obtain a screened resource pool. In one embodiment, based on the pool gain, multiple target resource pools are sorted from high to low, and a target resource pool whose pool gain is ranked in a preset order is selected from the sorted multiple target resource pools as the screened resource pool. In another embodiment, based on the pool gain, multiple target resource pools are sorted by size, and a target resource pool whose pool gain is greater than a first threshold is selected from the sorted multiple target resource pools as the screened resource pool.
[0174] In one example, there are 6 target resource pools, namely resource pool A, resource pool B, resource pool C, resource pool D, resource pool E, and resource pool F. Among them, the pool gain of resource pool A is -30. The pool gain of resource pool B is +80. The pool gain of resource pool C is +70. The pool gain of resource pool D is -50. The pool gain of resource pool E is +10. The pool gain of resource pool F is +30. Assuming that the first threshold is 20, resource pool B, resource pool C, and resource pool F whose pool gains are greater than 20 are used as the filtered resource pools.
[0175] Through the disclosed embodiment shown in steps 310 to 350, the target resource interaction transaction associated with the target resource pool on the blockchain is obtained, and the interaction gain of the target resource in each target resource interaction transaction is determined. These interaction gains are accumulated according to a single resource type to obtain a first sum, and then the first sums of the various resource types are accumulated to obtain the pool gain of the target resource pool. This pool gain reflects the effectiveness of the interaction between the target resource pool and other resource pools. Therefore, the pool gain of each target resource pool can be screened to obtain a screened resource pool. The selected screened resource pool is conducive to optimizing subsequent resource scheduling and improving resource scheduling efficiency.
[0176] Since step 350 of the embodiment of the present disclosure has been described in detail above, the steps that may be included before step 310, step 310, step 320, step 330, step 340, and the steps that may be included after step 350 will be described in detail below.
[0177] The steps that may be included before step 310 in the embodiment of the present disclosure
[0178] In some embodiments of the present disclosure, before step 310, the blockchain resource pool screening method further includes: obtaining interaction parameters of each resource type relative to the benchmark resource type, and putting them into an interaction parameter library.
[0179] The benchmark resource type refers to a resource type used to measure the importance of various resource types. In one embodiment, one resource type can be selected from multiple resource types as the benchmark resource type. For example, assuming that there are three types of resources, namely resource Z1, resource Z2, and resource Z3, participating in resource interaction, resource Z1, resource Z2, or resource Z3 can be selected as the benchmark resource type. In another embodiment, another resource type other than multiple resource types is selected as the benchmark resource type. For example, assuming that there are three types of resources, namely resource Z1, resource Z2, and resource Z3, participating in resource interaction, resource Z4 can be selected as the benchmark resource type.
[0180] The interaction parameter refers to the ratio of the number of resources of each resource type to the number of benchmark resource types. If the interaction parameter of a resource type is higher, it means that the number of equivalent benchmark resources of this resource type is greater. The interaction parameter library refers to the database that stores the interaction parameters of various resource types. Fig. 9 As shown, the interaction parameter library stores the interaction parameter of resource Z1 as 0.7, the interaction parameter of resource Z2 as 0.6, and the interaction parameter of resource Z3 as 0.5. Assuming that the number of resources Z1, resource Z2, and resource Z3 is 100, the number of equivalent benchmark resources of resource Z1, resource Z2, and resource Z3 is 70, 60, and 50 respectively.
[0181] It should be noted that the interaction parameters actually change periodically. In different periods, the interaction parameters of each resource type may increase or decrease. Therefore, in some embodiments of the present disclosure, the interaction parameters of each resource type relative to the benchmark resource type are periodically obtained, and the interaction parameters are stored in the interaction parameter library corresponding to the period of obtaining the interaction parameters. Fig.10 As shown in the figure, in January 2023, the interaction parameter of the storage resource Z1 is 0.7, the interaction parameter of the storage resource Z2 is 0.6, and the interaction parameter of the storage resource Z3 is 0.5. In February 2023, the interaction parameter of the storage resource Z1 is 0.71, the interaction parameter of the storage resource Z2 is 0.59, and the interaction parameter of the storage resource Z3 is 0.52.
[0182] It is understandable that both the blockchain and the centralized interaction server store resource interaction transactions between resource pools. The resource interaction transactions of a specified resource pool under a specified resource type can be filtered out according to the contract address on the chain corresponding to the specified resource type.
[0183] Reference Fig.11 In some more specific embodiments of the present disclosure, the interaction parameters of each resource type relative to the reference resource type are obtained and put into the interaction parameter library, including:
[0184] Step 1110, for each resource type, obtain multiple first resource interaction transactions of resources having the resource type from the blockchain;
[0185] Step 1120, obtaining a plurality of second resource interaction transactions of resources having the resource type from the centralized interaction server;
[0186] Step 1130: Based on the plurality of first resource interaction transactions and the plurality of second resource interaction transactions, obtain the interaction parameters of the resource type relative to the reference resource type, and store them in an interaction parameter library.
[0187] In step 1110, the blockchain maintained by the blockchain node stores a plurality of resource interaction transactions, each of which contains resources of a certain resource type. For each resource type, a plurality of first resource interaction transactions containing resources of the resource type are screened out from the plurality of resource interaction transactions stored in the blockchain.
[0188] In step 1120, similar to a blockchain node, a centralized interactive server also stores several resource interaction transactions. Unlike the blockchain maintained by a blockchain node, a centralized interactive server does not store resource interaction transactions on the chain, but may store them in a storage area, such as a database. For each resource type, multiple second resource interaction transactions with resources of that resource type are screened out from the several resource interaction transactions stored in the centralized interactive server.
[0189] In step 1130, the multiple first resource interaction transactions obtained from the blockchain are equivalent to decentralized transaction data. The multiple second resource interaction transactions obtained from the centralized interaction server are equivalent to centralized transaction data. Based on the first resource interaction transaction and the second resource interaction transaction, all resource interaction processes between resource pools can be summarized. Therefore, based on the multiple first resource interaction transactions and the multiple second resource interaction transactions, the interaction parameters of each resource type relative to the benchmark resource type can be obtained and put into the interaction parameter library. Taking the ERC-20 interface as an example, the ERC-721 and ERC-1155 types are the same. The resource interaction transaction can be obtained by calling a function, in which the outflow resource pool identifier (address_from), the inflow resource pool identifier (address_to), the resource type (string_type), the number of interactions (uint256_amount), and the number of equivalent benchmark resources (uint256_value) need to be specified. For example, function transferFrom (address_from, address_to, string_type, uint256_amount, uint256_value) returns (bool success). The execution of the function will emit a transfer event. For example, Transfer(address indexed from, address indexed to, uint256amount, uint256 value) event. By analyzing the specified transfer event in the transaction, filtering the parameters of from, to, amount, and value, the interaction parameters are counted.
[0190] The advantage of the embodiment of steps 1110-1130 is that the transaction data is obtained from the blockchain and the centralized interaction server, ensuring the comprehensiveness of the transaction data. The interaction parameters are counted based on the obtained first resource interaction transaction and second resource interaction transaction and put into the interaction parameter library, thereby improving the accuracy of determining the interaction parameters.
[0191] It should be noted that the above steps 1110-1130 may be performed periodically to achieve periodic storage of the interaction parameters and the period for obtaining the interaction parameters in the interaction parameter library in correspondence with each other.
[0192] Reference Fig.12 In some more specific embodiments of the present disclosure, step 1130 includes:
[0193] Step 1210: taking each resource interaction transaction in the plurality of first resource interaction transactions and the plurality of second resource interaction transactions as an interaction transaction to be examined, wherein the interaction transaction to be examined includes the number of interactions of the target resource of the resource type and the number of equivalent reference resources;
[0194] Step 1220, determining a second sum of the numbers of equivalent reference resources of the plurality of interactive transactions to be examined;
[0195] Step 1230, determining a third sum of the numbers of interactions of the plurality of interaction transactions to be examined;
[0196] Step 1240: Based on the second sum and the third sum, determine the interaction parameters of the resource type relative to the benchmark resource type, and put them into the interaction parameter library.
[0197] In step 1210, each first resource interaction transaction is taken as an interaction transaction to be examined. Each second resource interaction transaction is taken as an interaction transaction to be examined. If there are 2 first resource interaction transactions and 1 second resource interaction transaction, there are a total of 3 interaction transactions to be examined. In one example, the interaction transaction d1 to be examined is "from resource pool A to resource pool B, interacting with 100 resources Z1, and the number of equivalent benchmark resources is 70". The interaction transaction d2 to be examined is "from resource pool B to resource pool A, interacting with 200 resources Z2, and the number of equivalent benchmark resources is 120". The interaction transaction d3 to be examined is "from resource pool C to resource pool A, interacting with 100 resources Z3, and the number of equivalent benchmark resources is 50".
[0198] In step 1220, the second sum is obtained by adding the number of equivalent reference resources of multiple interactive transactions to be examined under each resource type. In combination with the above example, under resource Z1, the second sum is 70. Under resource Z2, the second sum is 120. Under resource Z3, the second sum is 50.
[0199] In step 1230, the third sum is obtained by adding the number of interactions of the multiple interaction transactions to be examined under each resource type. In the above example, under resource Z1, the number of interactions is 100. Under resource Z2, the number of interactions is 200. Under resource Z3, the number of interactions is 100.
[0200] In step 1240, the interaction parameter is obtained by comparing the second sum with the third sum under each resource type. In combination with the above example, under resource Z1, the interaction parameter = 70 / 100 = 0.7. Under resource Z2, the interaction parameter = 120 / 200 = 0.6. Under resource Z3, the interaction parameter = 50 / 100 = 0.5. After the interaction parameter is obtained, the interaction parameter is put into the interaction parameter library.
[0201] The advantage of the embodiment of steps 1210-1240 is that by treating both the first resource interaction transaction and the second resource interaction transaction as interaction transactions to be examined, the influence of transaction data stored on the blockchain and the centralized interaction server on the interaction parameters is equally reflected. By separately counting the number of interactions and the number of equivalent benchmark resources of each resource type, and then determining the interaction parameters, the determination efficiency and accuracy are improved.
[0202] In some more specific embodiments of the present disclosure, the interaction transaction to be examined includes a first interaction event and a second interaction event. Among them, the first interaction event includes a first interaction number of a target resource of a first resource type, and a first equivalent benchmark resource number. The second interaction event includes a second interaction number of a second resource type that interacts with the first resource type, and a second equivalent benchmark resource number. For example, the interaction transaction to be examined is "resource pool A uses 100 resources Z1 to exchange 200 resources Z2 from resource pool B". The first interaction event is "from resource pool A to resource pool B, interacting with 100 resources Z1, and the first equivalent benchmark resource number is 70", and the second interaction event is "from resource pool B to resource pool A, interacting with 200 resources Z2, and the second equivalent benchmark resource number is 120".
[0203] In a specific implementation of this embodiment, step 1210 includes: if the resource type is the first resource type, determining a second sum of the number of first equivalent reference resources in a plurality of first interaction events; if the resource type is the second resource type, determining a second sum of the number of second equivalent reference resources in a plurality of second interaction events;
[0204] Step 1230 includes: if the resource type is the first resource type, determining the third sum of the first interaction numbers in the plurality of first interaction events; if the resource type is the second resource type, determining the third sum of the second interaction numbers in the plurality of second interaction events.
[0205] For example, for resource Z1, the second sum is determined to be 70 and the third sum is 100 from the first interaction event "from resource pool A to resource pool B, interacting with 100 resources Z1, and the number of first equivalent reference resources is 70". For resource Z2, the second sum is determined to be 120 and the third sum is 200 from the second interaction event "from resource pool B to resource pool A, interacting with 200 resources Z2, and the number of second equivalent reference resources is 120".
[0206] The advantage of this embodiment is that by dividing the transaction to be examined into a first interactive transaction corresponding to the first resource type and a second interactive transaction corresponding to the second resource type, the process of determining the second sum and the third sum in the subsequent step can be simplified, thereby improving the determination efficiency while ensuring the accuracy.
[0207] Detailed description of step 310
[0208] In some embodiments of the present disclosure, the resource interaction transaction on the blockchain includes a resource pool identifier, and the resource interaction transaction includes a target resource interaction transaction. Fig.13 , step 310 may include, but is not limited to, the following steps 1310 to 1320.
[0209] Step 1310, obtaining a resource pool identifier for each resource interaction transaction on the blockchain;
[0210] Step 1320: Determine the resource interaction transaction with the resource pool identifier as the target resource pool identifier as the target resource interaction transaction associated with the target resource pool.
[0211] In step 1310, referring to the description of resource pool identification above, the resource pool identification includes an outgoing resource pool identification and an incoming resource pool identification. Fig.14 As shown, the blockchain includes blocks Q1, Q2, Q3, and Q4. Block Q1 includes block header T1 and resource interaction transaction L1. Block Q2 includes block header T2 and resource interaction transaction L2. Block Q3 includes block header T3 and resource interaction transaction L3. Block Q4 includes block header T4 and resource interaction transaction L4. The resource pool identifier included in resource interaction transaction L1 is "A, B", that is, the outflow resource pool identifier is A and the inflow resource pool identifier is B. The resource pool identifier included in resource interaction transaction L2 is "B, A", that is, the outflow resource pool identifier is B and the inflow resource pool identifier is A. The resource pool identifier included in resource interaction transaction L3 is "B, C", that is, the outflow resource pool identifier is B and the inflow resource pool identifier is C. The resource pool identifier included in resource interaction transaction L4 is "C, A", that is, the outflow resource pool identifier is C and the inflow resource pool identifier is A.
[0212] In step 1320, the resource pool identifier includes an outgoing resource pool identifier and an incoming resource pool identifier, and the resource interaction transaction with the outgoing resource pool identifier or the incoming resource pool identifier as the target resource pool identifier is determined as a target resource interaction transaction associated with the target resource pool. Fig.14 As shown, assuming that the target resource pool is identified as A, since the outgoing resource pool identifier or the incoming resource pool identifier in the resource interaction transaction L1, the resource interaction transaction L2, and the resource interaction transaction L4 is A, the resource interaction transaction L1, the resource interaction transaction L2, and the resource interaction transaction L4 are all determined as target resource interaction transactions.
[0213] The advantage of the embodiment of steps 1310-1320 is that, based on whether the resource pool identifier is the same as the target resource pool identifier, the target resource interaction transaction associated with the target resource pool can be quickly found from multiple resource interaction transactions of the blockchain, thereby improving the acquisition efficiency.
[0214] Detailed description of step 320
[0215] In some embodiments of the present disclosure, reference Fig.15 , step 320 may include, but is not limited to, the following steps 1510 to 1530.
[0216] Step 1510, determining the interactive resource number and target resource type of the target resource in the target resource interactive transaction;
[0217] Step 1520, obtaining target interaction parameters of the target resource type relative to the reference resource type from the interaction parameter library;
[0218] Step 1530: Determine the interaction gain based on the number of interaction resources and the target interaction parameter.
[0219] In step 1510, the target resource interaction transaction refers to the resource interaction transaction associated with the target resource pool on the blockchain. The target resource interaction transaction includes the inflow resource pool identifier, the outflow resource pool identifier, the target resource, and the number of interacted resources. For example, the target resource interaction transaction includes "from resource pool A to resource pool B, interacting with 100 resources Z1", then the outflow resource pool identifier is A, the inflow resource pool identifier is B, the number of interacted resources is 100, and the target resource type is resource Z1.
[0220] In step 1520, the interaction parameter library stores the interaction parameters corresponding to each resource type. The target resource type is used as an index to search the interaction parameter library, and the interaction parameter of the target resource type relative to the reference resource type is obtained as the target interaction parameter. For example, the interaction parameter library stores that the interaction parameter corresponding to resource Z1 is 0.7, the interaction parameter corresponding to resource Z2 is 0.6, and the interaction parameter corresponding to resource Z3 is 0.5. By searching the interaction parameter library with resource Z1 as an index, the target interaction parameter is obtained as 0.7.
[0221] Considering that the interaction parameter library stores the interaction parameters corresponding to each resource type in different cycles. Fig.16 In some more specific embodiments of the present disclosure, step 1520 includes:
[0222] Step 1610, determining the target period in which the target resource interaction transaction is located;
[0223] Step 1620: Obtain target interaction parameters of the target resource type relative to the reference resource type corresponding to the target period from the interaction parameter library.
[0224] In one example, in January 2023, the interaction parameter library stores the interaction parameter of resource Z1 as 0.7, the interaction parameter of resource Z2 as 0.6, and the interaction parameter of resource Z3 as 0.5. In February 2023, the interaction parameter library stores the interaction parameter of resource Z1 as 0.71, the interaction parameter of resource Z2 as 0.59, and the interaction parameter of resource Z3 as 0.52. Assume that the target resource interaction transaction is "February 10, 2023, from resource pool A to resource pool B, interact with 100 resources Z1". According to the target period of the target resource interaction transaction being February and the target resource type being resource Z1, the target interaction parameter obtained from the interaction parameter library is 0.71.
[0225] The advantage of the embodiment of steps 1610-1620 is that the target interaction parameters corresponding to the target period are obtained from the interaction parameter library through the target period, which reflects the periodic change characteristics of the interaction parameters, improves practicality, and has high universality.
[0226] In step 1530, the interaction gain is obtained by multiplying the number of interaction resources by the target interaction parameter in a specific interaction direction. The value of the interaction gain can be obtained by multiplying the number of interaction resources by the target interaction parameter. The interaction direction determines the sign of the interaction gain. The interaction gain is finally determined based on the value and the sign.
[0227] The advantage of the embodiment of steps 1510-1530 is that the target interaction parameter is determined based on the target resource type, and then the interaction gain is determined together with the number of interaction resources, reflecting that different target resource types have different interaction gains under different target interaction parameters, thereby improving the flexibility and accuracy of determining the interaction gain.
[0228] Reference Fig.17 In some more specific embodiments of the present disclosure, step 1530 includes:
[0229] Step 1710, determining a value of an interaction gain based on the number of interaction resources and the target interaction parameter;
[0230] Step 1720, determining the interaction direction of the target resource;
[0231] Step 1730: If the interaction direction is inflow, the sign of the interaction gain is determined to be positive; if the interaction direction is outflow, the sign of the interaction gain is determined to be negative.
[0232] In step 1710 , the number of interactive resources is multiplied by the target interactive parameter to obtain the value of the interactive gain. For example, if the number of interactive resources of resource Z1 is 100 and the target interactive parameter of resource Z1 is 0.7, the value of the interactive gain is 70.
[0233] In step 1720, the target resource interaction transaction has an interaction direction tag, so the interaction direction tag can be read from the target resource interaction transaction to obtain the interaction direction of the target resource.
[0234] In some more specific embodiments of the present disclosure, the target resource interaction transaction further includes an outgoing resource pool identifier and an incoming resource pool identifier, and step 1720 includes:
[0235] If the inflow resource pool identifier is the identifier of the target resource pool, the interaction direction is determined to be inflow; if the outflow resource pool identifier is the identifier of the target resource pool, the interaction direction is determined to be outflow.
[0236] The advantage of this embodiment is that the interaction direction is determined as inflow or outflow by comparing the identifier of the target resource pool with the process resource pool identifier and the inflow resource pool identifier in the target resource interaction transaction. There is no need to set an interaction direction mark, which saves data storage space and improves the efficiency of determining the interaction direction.
[0237] After determining the value and direction of the interaction gain, if the interaction direction is inflow, the sign of the interaction gain is determined to be positive, and the interaction gain is a positive gain. If the interaction direction is outflow, the sign of the interaction gain is determined to be negative, and the interaction gain is a negative gain.
[0238] In one example, if Fig.18As shown, the target resource interaction transaction is "resource pool identifier: A, B, transaction content: January 1, 2023, interact with 100 resources Z1". From the target resource interaction transaction, it can be determined that the outflow resource pool identifier is A and the outflow resource pool identifier is B. Assuming that the target resource pool identifier is A, the interaction direction of the target resource is determined to be outflow, and the sign of the interaction gain is negative. Assuming that the target resource pool identifier is B, the interaction direction of the target resource is determined to be inflow, and the sign of the interaction gain is positive. Combined with the target interaction parameter of 0.7 in the above example and the number of interactive resources of 100, the value of the interaction gain is 70. For resource pool A, the interaction gain is -70. For resource pool A, the interaction gain is +70.
[0239] The advantage of steps 1710 - 1730 is that the process of determining the interaction gain is separated into two processes of determining the value and sign of the interaction gain, which simplifies the process of determining the interaction gain and improves the determination efficiency and accuracy.
[0240] Detailed description of step 330
[0241] In some embodiments of the present disclosure, reference Fig.19 , step 330 includes:
[0242] Step 1910, obtaining a list of predetermined resource types;
[0243] Step 1920, for each resource type in the predetermined resource type list, filter out the target resource interaction transactions containing the target resource of the resource type from the multiple target resource interaction transactions as filtered target resource interaction transactions;
[0244] Step 1930: determine a first sum of interaction gains of target resources of the resource type in multiple filtered target resource interaction transactions.
[0245] In step 1910, the predetermined resource type list is a collection of pre-set resource types. The predetermined resource type list includes multiple predetermined resource types, which are representative and can reflect the interaction gain of the target resource pool. It is understandable that the target resource pool may involve interactions with multiple resource types, but the interactions of some resource types do not have a certain impact on the interaction gain and can be ignored, so such resource types are not included in the predetermined resource type list. In one example, if Fig. 20A As shown, the predetermined resource type list includes resource Z1 and resource Z2.
[0246] In step 1920, for each resource type in the predetermined resource type list, target resource interaction transactions containing target resources of this resource type are filtered out to obtain filtered target resource interaction transactions. Fig. 20BAs shown, the target resource interaction transaction M1 is "resource pool identifier: A, B, transaction content: January 1, 2023, interact with 100 resources Z1", the target resource interaction transaction M2 is "resource pool identifier: B, C, transaction content: January 2, 2023, interact with 200 resources Z2", and the target resource interaction transaction M3 is "resource pool identifier: C, A, transaction content: January 3, 2023, interact with 100 resources Z3". According to the resources Z1 and Z2 in the predetermined resource type list, the target resource interaction transaction M1 and the target resource interaction transaction M2 are used as the filtered target resource interaction transactions.
[0247] In step 1930, for each resource type, the first sum of interaction gains is determined from multiple filtered target resource interaction transactions. Combined with the above example, it is assumed that the interaction parameter of resource Z1 is 0.7 and the interaction parameter of resource Z2 is 0.6. For resource Z1, combined with the target resource interaction transaction M1, it can be seen that the interaction gain of resource pool A for resource Z1 is -70, and the interaction gain of resource pool B for resource Z1 is +70. For resource Z2, combined with the target resource interaction transaction M2, it can be seen that the interaction gain of resource pool B for resource Z2 is -120, and the interaction gain of resource pool C for resource Z2 is +120. Finally, the first sum of resource pool A for resource Z1 is -70. The first sum of resource pool B for resource Z1 is +70. The first sum of resource pool B for resource Z2 is -120. The first sum of resource pool C for resource Z2 is +120.
[0248] The advantage of the embodiment of steps 1910-1930 is that, by filtering the target resource interaction transactions based on the predetermined resource type list, the processing of some target resource interaction transactions with less impact on the interaction gain is reduced, thereby saving processing overhead and improving processing efficiency while ensuring accuracy.
[0249] In some more specific embodiments of the present disclosure, the list of predetermined resource types is generated in the following manner:
[0250] Obtain a set of resource interaction transactions to be examined, where the set of resource interaction transactions to be examined includes resource interaction transactions to be examined obtained from the blockchain or from a centralized interaction server, and the resource interaction transactions to be examined include the number of equivalent benchmark resources of the target resource;
[0251] Classifying the resource interaction transactions to be examined in the resource interaction transaction set to be examined according to the resource types of the target resources included;
[0252] For a type of resource interaction transactions to be examined, the number of equivalent reference resources of the target resources in the type of resource interaction transactions to be examined is added to obtain a fourth sum;
[0253] Based on the fourth and, a list of predetermined resource types is determined from the multiple types of resource interaction transactions to be examined.
[0254] The resource interaction transaction set to be examined includes multiple resource interaction transactions to be examined. The resource interaction transactions to be examined can be obtained from the blockchain. The resource interaction transactions to be examined can also be obtained from a centralized interaction server. For example, the resource interaction transactions to be examined include "from resource pool A to resource pool B, interacting with 300 resources Z1, the number of equivalent benchmark resources is 210", "from resource pool B to resource pool A, interacting with 400 resources Z2, the number of equivalent benchmark resources is 240", and "from resource pool C to resource pool A, interacting with 100 resources Z3, the number of equivalent benchmark resources is 50". For resource Z1, the fourth sum is 210. For resource Z2, the fourth sum is 240. For resource Z3, the fourth sum is 50. Based on the fourth sum, it can be known that the fourth sum corresponding to resource Z1 and resource Z2 is higher, and the fourth sum corresponding to resource Z3 is lower. Resource Z1 and resource Z2 can be added to the list of predetermined resource types.
[0255] The advantage of this embodiment is that the resource interaction transactions to be examined are first classified according to the resource types of the target resources involved, and then a list of predetermined resource types is determined based on the fourth sum of the number of equivalent benchmark resources corresponding to each type of resource interaction transaction to be examined, which can improve the accuracy of determining the list of predetermined resource types.
[0256] Detailed description of step 340
[0257] In step 340, the first sums corresponding to the various resource types are added together to obtain the pool gain of the target resource pool. For example, the first sum of resource Z1 for resource pool A is -70, the first sum of resource Z2 is 0, and the first sum of resource Z3 is +5, so the pool gain is -65. The first sum of resource Z1 for resource pool B is +70, the first sum of resource Z2 is -120, and the first sum of resource Z3 is +10, so the pool gain is -40. The first sum of resource Z1 for resource pool C is 0, the first sum of resource Z2 is +120, and the first sum of resource Z3 is -15, so the pool gain is 115.
[0258] Reference Fig.21 In some embodiments of the present disclosure, step 340 includes:
[0259] Step 2110, determining a first sum corresponding to a resource type in the predetermined resource type list;
[0260] Step 2120: Add the determined first sums to obtain a pool gain of the target resource pool.
[0261] In one example, the list of predetermined resource types includes resource Z1 and resource Z2. Resource pool A has a first sum of -70 for resource Z1 and a first sum of 0 for resource Z2, so the pool gain is -70. Resource pool B has a first sum of +70 for resource Z1 and a first sum of -120 for resource Z2, so the pool gain is -50. Resource pool C has a first sum of 0 for resource Z1 and a first sum of +120 for resource Z2, so the pool gain is +120. Compared with the above example, the value of the pool gain has changed, but the change is not significant, but it saves the computing resources required to calculate resource Z3.
[0262] The advantage of the embodiment of steps 2110-2120 is that it saves processing resources and improves processing efficiency while ensuring the accuracy of the pool gain.
[0263] The steps that may be included after step 350 in the embodiment of the present disclosure
[0264] Reference Fig. 22 In some embodiments of the present disclosure, after step 350, the blockchain resource pool screening method further includes but is not limited to steps 2210-2220.
[0265] Step 2210, displaying multiple filtered resource pools in order of pool gain;
[0266] Step 2220, in response to triggering a filtered resource pool, displaying the target resource interaction transactions associated with the triggered filtered resource pool and the interaction gains of each target resource of the target resource interaction transactions.
[0267] In one example, combined with the example in step 350, it can be seen that the resource pools after screening include resource pool B, resource pool C, and resource pool F, with a total of 3 target resource pools. The pool gain of resource pool B is +80. The pool gain of resource pool C is +70. The pool gain of resource pool F is +30. Fig.23A As shown, on the display interface of the object terminal 110, resource pool B, resource pool C, and resource pool F are displayed in descending order according to the size of the pool gain. In response to the triggering of resource pool B, the target resource interaction transactions associated with resource pool B and the interaction gains of each target resource are displayed. Fig. 23B As shown, in the target resource interaction transaction L1 associated with resource pool B, the interaction gain of resource Z1 is +140. In the target resource interaction transaction L2 associated with resource pool B, the interaction gain of resource Z2 is -60.
[0268] The advantage of this embodiment is that it can display multiple filtered resource pools to the target object, and can also display information related to the filtered resource pools in response to the trigger of the target object, which can provide rich information for the target object, improve data visualization, and improve the flexibility of interaction with the target object.
[0269] It should be noted that in Fig. 23B In the figure, it is also shown that the resource pool identifier of the target resource interaction transaction L1 is "A, B", and the transaction content is "January 1, 2023, interact with 200 resources Z1", and it is also shown that the resource pool identifier of the target resource interaction transaction L2 is "B, C", and the transaction content is "January 2, 2023, interact with 100 resources Z2". The target object can determine the interaction strategy of resource pool B based on this information. The interaction strategy can be to first flow 200 resources Z1 from resource pool A, and then flow 100 resources Z2 to resource pool C. Then the target resource pool bound to the target object also performs resource interaction according to the interaction strategy to improve the effectiveness of resource interaction.
[0270] Reference Fig.24 In some embodiments of the present disclosure, after step 2210, the blockchain resource pool screening method further includes but is not limited to steps 2410-2420.
[0271] Step 2410, in response to triggering a screened resource pool, inputting the target resource interaction transaction associated with the triggered screened resource pool and the interaction gain of each target resource of the target resource interaction transaction into an interaction strategy prediction model to obtain the interaction strategy of the triggered screened resource pool;
[0272] Step 2420, displaying the interaction strategy of the triggered filtered resource pool.
[0273] An interaction strategy refers to an action or method taken during an interaction process to achieve a specific goal or effect. It involves how to conduct effective resource interaction to meet specific needs or achieve specific goals. In different fields and applications, interaction strategies may have different definitions and forms. In the embodiment of the present disclosure, the interaction strategy refers to the way and rules for target objects to interact with resources between resource pools, including determining when to interact with resources of a certain resource type, and determining the number of interactions. An interaction strategy prediction model is a model or algorithm for predicting an optimized interaction strategy in a specific context. The interaction strategy prediction model is based on existing data and features, and through learning and analysis, it can predict which interaction strategy should be adopted under given conditions to achieve the optimized result or effect. In the embodiment of the present disclosure, the interaction strategy prediction model predicts based on the target resource interaction transaction and the interaction gain of each target resource to obtain an interaction strategy to provide to the target object for reference. Determining the interaction strategy through the interaction strategy prediction model can improve the interaction experience and effect, and provide a more personalized and accurate interaction strategy indication service.
[0274] The benefit of the embodiment of steps 2410-2420 is that, in response to the triggering of a screened resource pool, the target resource associated with the triggered screened resource pool can be interactively traded, and the interactive gain can be input into the interactive strategy prediction model, thereby obtaining the interactive strategy of the triggered screened resource pool. By displaying the interactive strategy of the triggered screened resource pool, reference and guidance can be provided to help the target object make a more informed decision and optimize resource utilization and interactive effects.
[0275] Implementation details of the blockchain resource pool screening method of the disclosed embodiment
[0276] Refer to the following Fig.25 , the implementation details of the blockchain resource pool screening method of the embodiment of the present disclosure are explained in detail and by way of example.
[0277] In step 2510, a registration request from a target object is received; in response to the registration request, a login identity information input interface is displayed; in the login identity information input interface, the login identity information input by the target object is received, and a target resource pool is allocated to the target object; and the target resource pool is bound to the login identity information.
[0278] In step 2520, the login identity information of the target object is received; the target resource pool bound to the login identity information is obtained; the interaction request of the target object for the target resource in the target resource pool is received; in response to the interaction request, a target resource interaction transaction is generated and recorded on the blockchain through the blockchain node.
[0279] In step 2530, for each resource type, multiple first resource interaction transactions with resources of this resource type are obtained from the blockchain; multiple second resource interaction transactions with resources of this resource type are obtained from the centralized interaction server; based on the multiple first resource interaction transactions and the multiple second resource interaction transactions, the interaction parameters of this resource type relative to the benchmark resource type are obtained and placed in the interaction parameter library.
[0280] In step 2540, the resource pool identifier of each resource interaction transaction on the blockchain is obtained, and the resource pool identifier is used as the resource interaction transaction of the target resource pool identifier, and it is determined as a target resource interaction transaction associated with the target resource pool, and the target resource interaction transaction has a target resource.
[0281] In step 2550, determine the number of interactive resources and the target resource type of the target resource in the target resource interaction transaction; obtain the target interaction parameters of the target resource type relative to the benchmark resource type from the interaction parameter library; and determine the interaction gain based on the number of interactive resources and the target interaction parameters.
[0282] In step 2560, for each resource type, determine the first sum of the interaction gains of the target resources of this resource type in multiple target resource interaction transactions; add the first sums corresponding to the multiple resource types to obtain the pool gain of the target resource pool; based on the pool gain, filter among the multiple target resource pools to obtain a filtered resource pool.
[0283] In step 2570, multiple filtered resource pools are displayed in order of pool gain; in response to triggering a filtered resource pool, target resource interaction transactions associated with the triggered filtered resource pool and interaction gains of each target resource of the target resource interaction transactions are displayed.
[0284] In step 2580, in response to the triggering of a screened resource pool, the target resource interaction transaction associated with the triggered screened resource pool and the interaction gain of each target resource of the target resource interaction transaction are input into the interaction strategy prediction model to obtain the interaction strategy of the triggered screened resource pool; and the interaction strategy of the triggered screened resource pool is displayed.
[0285] This embodiment has at least the following benefits: by analyzing the target resource interaction transactions on the specified resource type on the blockchain, recording the resource type and number of interaction resources for each resource interaction, and calculating the interaction gain of each resource interaction of the target resource pool by combining the interaction parameter library, the pool gain of each target resource pool on the blockchain is finally obtained. Through this embodiment, the interaction strategy of the resource pool after screening on the blockchain can be obtained, providing valuable resource interaction reference strategies for other resource pools on the blockchain.
[0286] Application examples of the blockchain resource pool screening method of the disclosed embodiment
[0287] like Fig.26 As shown, the application example involves multiple devices such as object terminals, resource pool screening servers, blockchain nodes, and centralized interactive servers. Among them, the resource pool screening server can be a single device. The resource pool screening server can also be a collection of multiple devices such as a blockchain front-end service module, a blockchain back-end service module, a resource pool analysis service module, and an interactive parameter analysis service module.
[0288] like Fig.26 As shown, the application example details of the blockchain resource pool screening method include:
[0289] (1) First, the target object logs in to the blockchain front-end service module in the resource pool screening server from the object terminal and authorizes the login identity information (mobile phone number or email address). The blockchain back-end service module in the resource pool screening server receives the login request from the target object. If the target object is not registered, the target resource pool is first allocated to the target object. Then the login identity information and the target resource pool are bound to each other, and the private key is managed for the target object. Finally, the login result of the target object is returned, and the target object is successfully logged in.
[0290] (2) For each resource type, the interaction parameter analysis service module in the resource pool screening server continuously obtains multiple first resource interaction transactions of resources with this resource type from the blockchain, and obtains multiple second resource interaction transactions of resources with this resource type from the centralized interaction server.
[0291] (3) The interaction parameter analysis service module obtains the interaction parameters of the resource type relative to the benchmark resource type based on the multiple first resource interaction transactions and the multiple second resource interaction transactions, and stores them in the interaction parameter library.
[0292] (4) The resource pool analysis service module in the resource pool screening server obtains the target resource interaction transactions associated with the target resource pool from the blockchain. Then, the target resource interaction transactions of the resource types in the predetermined resource type list are filtered (generally speaking, the pool gain of the overall resource pool of the address can be obtained by focusing on the top 50 resource types in terms of the number of equivalent benchmark resources). The target interaction parameters of the specified period are queried according to the target period in which the target resource interaction transaction is located.
[0293] (5) The resource pool analysis service module calculates the interaction gain of the outgoing resource pool identifier and the incoming resource pool identifier of a single target resource interaction transaction for the resource type according to the resource type single target resource interaction transaction (from, to, amount, resource type) and the target interaction parameters.
[0294] (6) Summarize the target resource pool's historical target resource interaction transactions and historical interaction gains on the resource types in all the predetermined resource type lists, obtain the target resource pool's historical overall pool gain, and obtain a ranking list of multiple target resource pools sorted by pool gain.
[0295] (7) The target object browses the ranking list on the front-end page of the blockchain front-end service module, sends a query request to the resource pool analysis service module to query the ranking list, and returns the ranking list information to the front-end page.
[0296] (8) The target object views the interaction strategy of a specific target resource pool on the front-end page. The blockchain front-end service module initiates a query of the historical target resource interaction transactions and interaction gains of the viewed target resource pool, and analyzes the historical inflow and outflow summary of each resource type to derive the interaction strategy of the viewed target resource pool.
[0297] (9) The target object performs resource interaction for the target resource pool based on the interaction strategy of the viewed target resource pool.
[0298] Device description of the present disclosure
[0299] It is to be understood that, although the steps in the above-mentioned flowcharts are sequentially displayed according to the characterization of arrows, these steps are not necessarily executed in sequence according to the order of arrow characterization. Unless there is a clear description in the present embodiment, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the above-mentioned flowcharts can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the steps or stages in other steps.
[0300] Reference Fig. 27 , Fig. 27 2 is a block diagram of a blockchain resource pool screening device 2700 according to an embodiment of the present disclosure. The blockchain resource pool screening device 2700 includes:
[0301] An acquisition unit 2710 is used to acquire a target resource interaction transaction associated with a target resource pool on the blockchain, where the target resource interaction transaction has a target resource;
[0302] A first determining unit 2720, configured to determine an interaction gain of a target resource in each target resource interaction transaction;
[0303] A second determining unit 2730 is configured to determine, for each resource type, a first sum of interaction gains of target resources of the resource type in multiple target resource interaction transactions;
[0304] An adding unit 2740, configured to add the first sums corresponding to the multiple resource types to obtain a pool gain of the target resource pool;
[0305] The screening unit 2750 is used to screen multiple target resource pools based on the pool gain to obtain a screened resource pool.
[0306] Optionally, after screening in multiple target resource pools based on the pool gain to obtain a screened resource pool, the blockchain resource pool screening device 2700 further includes:
[0307] A first display unit (not shown) is used to display a plurality of filtered resource pools in order of pool gain;
[0308] The second display unit (not shown) is used to display the target resource interaction transaction associated with the triggered filtered resource pool and the interaction gain of each target resource of the target resource interaction transaction in response to triggering a filtered resource pool.
[0309] Optionally, after displaying a plurality of filtered resource pools in the order of pool gain, the blockchain resource pool screening device 2700 further includes:
[0310] A prediction unit (not shown) is used for, in response to the triggering of a screened resource pool, inputting the target resource interaction transaction associated with the triggered screened resource pool and the interaction gain of each target resource of the target resource interaction transaction into the interaction strategy prediction model to obtain the interaction strategy of the triggered screened resource pool;
[0311] The third display unit (not shown) is used to display the triggered interaction strategy of the resource pool after screening.
[0312] Optionally, before obtaining the target resource interaction transaction associated with the target resource pool on the blockchain, the blockchain resource pool screening device 2700 further includes: an inserting unit (not shown), configured to obtain the interaction parameters of each resource type relative to the benchmark resource type and insert them into the interaction parameter library;
[0313] The first determining unit 2720 is specifically configured to:
[0314] Determine the target resource interaction number and target resource type of the target resource in the target resource interaction transaction;
[0315] Obtaining target interaction parameters of the target resource type relative to the benchmark resource type from the interaction parameter library;
[0316] Based on the number of interaction resources and the target interaction parameters, the interaction gain is determined.
[0317] Optionally, the first determining unit 2720 is further configured to:
[0318] Determine the value of the interaction gain based on the number of interaction resources and the target interaction parameter;
[0319] Determine the interaction direction of the target resource;
[0320] If the interaction direction is inflow, the sign of the interaction gain is determined to be positive; if the interaction direction is outflow, the sign of the interaction gain is determined to be negative.
[0321] Optionally, the target resource interaction transaction further includes an outgoing resource pool identifier and an incoming resource pool identifier;
[0322] The first determining unit 2720 is further specifically configured to:
[0323] If the inflow resource pool identifier is the identifier of the target resource pool, the interaction direction is determined to be inflow; if the outflow resource pool identifier is the identifier of the target resource pool, the interaction direction is determined to be outflow.
[0324] Optionally, the inserting unit (not shown) is specifically used to: periodically obtain the interaction parameters of each resource type relative to the reference resource type, and store the interaction parameters and the period of obtaining the interaction parameters in the interaction parameter library in correspondence;
[0325] The first determining unit 2720 is further specifically configured to:
[0326] Determine the target cycle in which the target resource interaction transaction is located;
[0327] From the interaction parameter library, obtain target interaction parameters corresponding to the target period and the target resource type relative to the benchmark resource type.
[0328] Optionally, the inserting unit (not shown) is specifically used for:
[0329] For each resource type, obtain multiple first resource interaction transactions of resources of the resource type from the blockchain;
[0330] Acquire, from the centralized interaction server, a plurality of second resource interaction transactions of resources having the resource type;
[0331] Based on a plurality of first resource interaction transactions and a plurality of second resource interaction transactions, an interaction parameter of the resource type relative to a reference resource type is obtained and put into an interaction parameter library.
[0332] Optionally, based on the multiple first resource interaction transactions and the multiple second resource interaction transactions, the placing unit (not shown) is further specifically used for:
[0333] Each resource interaction transaction in the plurality of first resource interaction transactions and the plurality of second resource interaction transactions is used as an interaction transaction to be examined, wherein the interaction transaction to be examined includes the number of interactions of the target resource of the resource type and the number of equivalent reference resources;
[0334] Determine a second sum of the number of equivalent reference resources of a plurality of interaction transactions to be examined;
[0335] Determining a third sum of the numbers of interactions of the plurality of interaction transactions to be examined;
[0336] Based on the second sum and the third sum, the interaction parameters of this resource type relative to the benchmark resource type are determined and put into the interaction parameter library.
[0337] Optionally, the interaction transaction to be examined includes a first interaction event and a second interaction event, wherein the first interaction event includes a first interaction number of a target resource of a first resource type and a first equivalent reference resource number, and the second interaction event includes a second interaction number of a second resource type interacting with the first resource type and a second equivalent reference resource number;
[0338] Determining a second sum of the number of equivalent reference resources of the plurality of interaction transactions to be examined, comprising: if the resource type is the first resource type, determining a second sum of the number of first equivalent reference resources in the plurality of first interaction events; if the resource type is the second resource type, determining a second sum of the number of second equivalent reference resources in the plurality of second interaction events;
[0339] Determine the third sum of the numbers of interactions of multiple interactive transactions to be examined, including: if the resource type is the first resource type, determine the third sum of the numbers of first interactions in multiple first interactive events; if the resource type is the second resource type, determine the third sum of the numbers of second interactions in multiple second interactive events.
[0340] Optionally, the blockchain resource pool screening device 2700 further includes an on-chain unit (not shown), and the target resource interaction transaction is generated and on-chain by the on-chain unit (not shown) in the following manner:
[0341] Receive the target object's login identity information;
[0342] Get the target resource pool bound to the login identity information;
[0343] receiving an interaction request from a target object to a target resource in a target resource pool;
[0344] In response to the interaction request, a target resource interaction transaction is generated and recorded on the blockchain through the blockchain node.
[0345] Optionally, the blockchain resource pool screening device 2700 further includes a registration unit (not shown), and the target resource pool is bound to the login identity information by the registration unit (not shown) in the following manner:
[0346] Receive a registration request from a target object;
[0347] In response to the registration request, displaying a login identity information input interface;
[0348] In the login identity information input interface, receiving the login identity information input by the target object, and allocating a target resource pool for the target object;
[0349] Bind the target resource pool to the login identity information.
[0350] Optionally, the second determining unit 2730 is specifically configured to:
[0351] Get a list of scheduled resource types;
[0352] For each resource type in the predetermined resource type list, target resource interaction transactions containing target resources of the resource type from multiple target resource interaction transactions are filtered out as filtered target resource interaction transactions;
[0353] A first sum of interaction gains of target resources of the resource type in a plurality of filtered target resource interaction transactions is determined.
[0354] Optionally, the predetermined resource type list is generated by the second determining unit 2730 in the following manner:
[0355] Obtain a set of resource interaction transactions to be examined, where the set of resource interaction transactions to be examined includes resource interaction transactions to be examined obtained from the blockchain or from a centralized interaction server, and the resource interaction transactions to be examined include the number of equivalent benchmark resources of the target resource;
[0356] Classifying the resource interaction transactions to be examined in the resource interaction transaction set to be examined according to the resource types of the target resources included;
[0357] For a type of resource interaction transactions to be examined, the number of equivalent reference resources of the target resources in the type of resource interaction transactions to be examined is added to obtain a fourth sum;
[0358] Based on the fourth and, a list of predetermined resource types is determined from the multiple types of resource interaction transactions to be examined.
[0359] Optionally, the adding unit 2740 is specifically used for:
[0360] Determine a first sum corresponding to a resource type in the predetermined resource type list;
[0361] The determined first sums are added to obtain a pool gain of the target resource pool.
[0362] Optionally, the resource interaction transaction on the blockchain includes a resource pool identifier, the resource interaction transaction includes a target resource interaction transaction, and the resource pool identifier includes a target resource pool identifier; the acquisition unit 2710 is specifically used to:
[0363] Get the resource pool identifier of each resource interaction transaction on the blockchain;
[0364] The resource interaction transaction whose resource pool identifier is the target resource pool identifier is determined as a target resource interaction transaction associated with the target resource pool.
[0365] Reference Fig.28 , Fig.28The structural block diagram of the terminal part of the blockchain resource pool screening method for implementing the embodiment of the present disclosure includes: a radio frequency (RF) circuit 2810, a memory 2815, an input unit 2830, a display unit 2840, a sensor 2850, an audio circuit 2860, a wireless fidelity (WiFi) module 2870, a processor 2880, and a power supply 2890. Those skilled in the art can understand that Fig.28 The terminal structure shown does not constitute a limitation on the mobile phone or computer, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.
[0366] The RF circuit 2810 may be used for receiving and sending signals during information transmission or calls. In particular, after receiving the downlink information from the base station, it is sent to the processor 2880 for processing; in addition, the designed uplink data is sent to the base station.
[0367] The memory 2815 may be used to store software programs and modules. The processor 2880 executes various functional applications and data processing of the target terminal by running the software programs and modules stored in the memory 2815 .
[0368] The input unit 2830 may be used to receive input digital or character information and generate key signal input related to the setting and function control of the target terminal. Specifically, the input unit 2830 may include a touch panel 2831 and other input devices 2832.
[0369] The display unit 2840 may be used to display input information or provided information and various menus of the target terminal. The display unit 2840 may include a display panel 2841.
[0370] The audio circuit 2860, the speaker 2861, and the microphone 2862 may provide an audio interface.
[0371] In this embodiment, the processor 2880 included in the terminal can execute the blockchain resource pool screening method of the previous embodiment.
[0372] The terminals of the embodiments of the present disclosure include but are not limited to mobile phones, computers, intelligent voice interaction devices, smart home appliances, vehicle terminals, aircraft, etc. The embodiments of the present disclosure can be applied to various fields, including but not limited to alliance chains, structured information processing, security technology, data security, data storage, information technology, etc.
[0373] Reference Fig.29 , Fig.29A block diagram of the structure of a portion of a server for implementing the blockchain resource pool screening method of an embodiment of the present disclosure. The server may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPUs) 2922 (e.g., one or more processors) and memory 2932, and one or more storage media 2930 (e.g., one or more mass storage devices) storing application programs 2942 or data 2944. Among them, the memory 2932 and the storage medium 2930 may be short-term storage or persistent storage. The program stored in the storage medium 2930 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the server. Furthermore, the central processor 2922 may be configured to communicate with the storage medium 2930 and execute a series of instruction operations in the storage medium 2930 on the server.
[0374] The server may also include one or more power supplies 2926, one or more wired or wireless network interfaces 2950, one or more input and output interfaces 2958, and / or, one or more operating systems 2941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
[0375] The central processor 2922 in the server can be used to execute the blockchain resource pool screening method of the embodiment of the present disclosure.
[0376] The embodiments of the present disclosure also provide a computer-readable storage medium, which is used to store program codes, and the program codes are used to execute the blockchain resource pool screening methods of the aforementioned embodiments.
[0377] The present disclosure also provides a computer program product, which includes a computer program. A processor of a computer device reads and executes the computer program, so that the computer device executes and implements the above-mentioned blockchain resource pool screening method.
[0378] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present disclosure described herein can, for example, be implemented in an order other than those illustrated or described herein. In addition, the terms "comprises" and "comprising" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0379] It should be understood that in the present disclosure, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0380] It should be understood that in the description of the embodiments of the present disclosure, the meaning of multiple (or multiple items) is more than two, greater than, less than, exceed, etc. are understood to not include the number, and above, below, within, etc. are understood to include the number.
[0381] In the several embodiments provided in the present disclosure, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0382] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0383] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0384] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present disclosure. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store program codes.
[0385] It should also be understood that the various implementations provided in the embodiments of the present disclosure can be combined arbitrarily to achieve different technical effects.
[0386] The above is a specific description of the implementation methods of the present disclosure, but the present disclosure is not limited to the above implementation methods. Technical personnel familiar with the art can also make various equivalent modifications or substitutions without violating the spirit of the present disclosure. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present disclosure.
Claims
1. A blockchain resource pool screening method, characterized in that: include: Obtaining a target resource interaction transaction associated with a target resource pool on a blockchain, wherein the target resource interaction transaction has a target resource; Determining the interaction gain of the target resource in each target resource interaction transaction; For each resource type, determining a first sum of interaction gains of the target resources of the resource type in a plurality of the target resource interaction transactions; Adding the first sums corresponding to the plurality of resource types to obtain a pool gain of the target resource pool; Based on the pool gain, a plurality of target resource pools are screened to obtain a screened resource pool.
2. The blockchain resource pool screening method according to claim 1, characterized in that: After screening in the plurality of target resource pools based on the pool gain to obtain a screened resource pool, the blockchain resource pool screening method further includes: Displaying the plurality of resource pools after screening in the order of the pool gains; In response to triggering of one of the filtered resource pools, the target resource interaction transactions associated with the triggered filtered resource pool and the interaction gains of the respective target resources of the target resource interaction transactions are displayed.
3. The blockchain resource pool screening method according to claim 2 is characterized in that: After displaying the plurality of filtered resource pools in the order of the pool gains, the blockchain resource pool screening method further includes: In response to the triggering of one of the screened resource pools, the target resource interaction transactions associated with the triggered screened resource pool and the interaction gains of the respective target resources of the target resource interaction transactions are input into an interaction strategy prediction model to obtain an interaction strategy of the triggered screened resource pool; The interaction strategy of the filtered resource pool that is triggered is displayed.
4. The blockchain resource pool screening method according to claim 1, characterized in that: Before obtaining the target resource interaction transaction associated with the target resource pool on the blockchain, the blockchain resource pool screening method further includes: obtaining the interaction parameter of each resource type relative to the benchmark resource type and putting it into the interaction parameter library; The determining the interaction gain of the target resource in each target resource interaction transaction includes: Determining the interactive resource number and target resource type of the target resource in the target resource interactive transaction; Acquire, from the interaction parameter library, a target interaction parameter of the target resource type relative to the reference resource type; The interaction gain is determined based on the number of interaction resources and the target interaction parameter.
5. The blockchain resource pool screening method according to claim 4 is characterized in that: The determining the interaction gain based on the number of interaction resources and the target interaction parameter includes: Determining a value of the interaction gain based on the number of interaction resources and the target interaction parameter; Determining an interaction direction of the target resource; If the interaction direction is inflow, the sign of the interaction gain is determined to be positive; if the interaction direction is outflow, the sign of the interaction gain is determined to be negative.
6. The blockchain resource pool screening method according to claim 5 is characterized in that: The target resource interaction transaction further includes an outgoing resource pool identifier and an incoming resource pool identifier; The determining the interaction direction of the target resource includes: If the inflow resource pool identifier is the identifier of the target resource pool, the interaction direction is determined to be inflow; if the outflow resource pool identifier is the identifier of the target resource pool, the interaction direction is determined to be outflow.
7. The blockchain resource pool screening method according to claim 4 is characterized in that: The obtaining of the interaction parameters of each resource type relative to the reference resource type and storing them in the interaction parameter library comprises: periodically obtaining the interaction parameters of each resource type relative to the reference resource type, and storing the interaction parameters and the period of obtaining the interaction parameters in the interaction parameter library in correspondence with each other; The step of acquiring, from the interaction parameter library, a target interaction parameter of the target resource type relative to the reference resource type comprises: Determine the target period in which the target resource interaction transaction is located; The target interaction parameter of the target resource type corresponding to the target period and relative to the reference resource type is obtained from the interaction parameter library.
8. The blockchain resource pool screening method according to claim 4 is characterized in that: The step of obtaining the interaction parameters of each resource type relative to the reference resource type and storing them in the interaction parameter library includes: For each resource type, obtaining from the blockchain a plurality of first resource interaction transactions of resources having the resource type; Acquire, from a centralized interaction server, a plurality of second resource interaction transactions of resources having the resource type; Based on a plurality of the first resource interaction transactions and a plurality of the second resource interaction transactions, the interaction parameters of the resource type relative to the benchmark resource type are obtained and put into the interaction parameter library.
9. The blockchain resource pool screening method according to claim 8, characterized in that: The acquiring, based on the plurality of the first resource interaction transactions and the plurality of the second resource interaction transactions, the interaction parameters of the resource type relative to the benchmark resource type and storing them in the interaction parameter library comprises: Each resource interaction transaction in the plurality of the first resource interaction transactions and the plurality of the second resource interaction transactions is used as an interaction transaction to be examined, wherein the interaction transaction to be examined includes the number of interactions of the target resource of the resource type and the number of equivalent reference resources; Determine a second sum of the numbers of equivalent reference resources of a plurality of the interactive transactions to be examined; Determining a third sum of the numbers of interactions of a plurality of the interaction transactions to be examined; Based on the second sum and the third sum, the interaction parameter of this resource type relative to the benchmark resource type is determined and put into the interaction parameter library.
10. The blockchain resource pool screening method according to claim 9, characterized in that: The interaction transaction to be examined includes a first interaction event and a second interaction event, wherein the first interaction event includes a first interaction number of the target resource of a first resource type and a first equivalent reference resource number, and the second interaction event includes a second interaction number of a second resource type interacting with the first resource type and a second equivalent reference resource number; The determining the second sum of the number of equivalent reference resources of the plurality of interaction transactions to be examined comprises: if the resource type is the first resource type, determining the second sum of the number of the first equivalent reference resources in a plurality of the first interaction events; if the resource type is the second resource type, determining the second sum of the number of the second equivalent reference resources in a plurality of the second interaction events; The determining of the third sum of the numbers of interactions of the multiple interactive transactions to be examined includes: if the resource type is the first resource type, determining the third sum of the numbers of the first interactions in multiple first interactive events; if the resource type is the second resource type, determining the third sum of the numbers of the second interactions in multiple second interactive events.
11. The blockchain resource pool screening method according to claim 1, characterized in that: The target resource interaction transaction is generated and uploaded to the chain in the following way: Receive the target object's login identity information; Acquire the target resource pool bound to the login identity information; receiving an interaction request from the target object to the target resource in the target resource pool; In response to the interaction request, the target resource interaction transaction is generated and recorded on the blockchain through a blockchain node.
12. The blockchain resource pool screening method according to claim 11, characterized in that: The target resource pool is bound to the login identity information in the following manner: Receiving a registration request from the target object; In response to the registration request, displaying a login identity information input interface; In the login identity information input interface, receiving the login identity information input by the target object, and allocating the target resource pool to the target object; The target resource pool is bound to the login identity information.
13. The blockchain resource pool screening method according to claim 1, characterized in that: The step of determining, for each resource type, a first sum of the interaction gains of the target resources of the resource type in the plurality of target resource interaction transactions comprises: Get a list of scheduled resource types; For each resource type in the predetermined resource type list, filtering out the target resource interaction transactions containing the target resource of the resource type from the plurality of target resource interaction transactions as filtered target resource interaction transactions; Determine the first sum of the interaction gains of the target resources of the resource type in a plurality of the filtered target resource interaction transactions.
14. The blockchain resource pool screening method according to claim 13, characterized in that: The predetermined resource type list is generated in the following manner: Obtaining a set of resource interaction transactions to be examined, wherein the set of resource interaction transactions to be examined includes resource interaction transactions to be examined obtained from the blockchain or from a centralized interaction server, and the resource interaction transactions to be examined include the number of equivalent benchmark resources of the target resource; Classifying the resource interaction transactions to be examined in the set of resource interaction transactions to be examined according to resource types of the target resources included therein; For a category of the resource interaction transactions to be examined, the number of equivalent reference resources of the target resources in the category of the resource interaction transactions to be examined is added to obtain a fourth sum; Based on the fourth sum, the predetermined resource type list is determined from the multiple types of resource interaction transactions to be examined.
15. The blockchain resource pool screening method according to claim 14, characterized in that: The adding the first sums corresponding to the plurality of resource types to obtain a pool gain of the target resource pool includes: Determine the first sum corresponding to the resource type in the predetermined resource type list; The determined first sums are added to obtain the pool gain of the target resource pool.
16. The blockchain resource pool screening method according to claim 1, characterized in that: The resource interaction transaction on the blockchain includes a resource pool identifier, the resource interaction transaction includes the target resource interaction transaction, and the resource pool identifier includes the target resource pool identifier; The step of obtaining a target resource interaction transaction associated with a target resource pool on the blockchain includes: Obtaining the resource pool identifier of each resource interaction transaction on the blockchain; The resource interaction transaction with the resource pool identifier as the target resource pool identifier is determined as the target resource interaction transaction associated with the target resource pool.
17. A blockchain resource pool screening device, characterized in that: include: An acquisition unit, configured to acquire a target resource interaction transaction associated with a target resource pool on a blockchain, wherein the target resource interaction transaction has a target resource; A first determining unit, configured to determine an interaction gain of the target resource in each target resource interaction transaction; A second determining unit, configured to determine, for each resource type, a first sum of interaction gains of the target resources of the resource type in a plurality of target resource interaction transactions; an adding unit, configured to add the first sums corresponding to the plurality of resource types to obtain a pool gain of the target resource pool; The screening unit is used to screen the target resource pools based on the pool gain to obtain a screened resource pool.
18. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, it implements the blockchain resource pool screening method according to any one of claims 1 to 16.
19. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the blockchain resource pool screening method according to any one of claims 1 to 16 is implemented.
20. A computer program product, comprising a computer program, wherein the computer program is read and executed by a processor of a computer device, so that the computer device executes the blockchain resource pool screening method according to any one of claims 1 to 16.