CN111047447B - Method, device, computer equipment and storage medium for determining pass issuing amount - Google Patents

Method, device, computer equipment and storage medium for determining pass issuing amount Download PDF

Info

Publication number
CN111047447B
CN111047447B CN201911371452.XA CN201911371452A CN111047447B CN 111047447 B CN111047447 B CN 111047447B CN 201911371452 A CN201911371452 A CN 201911371452A CN 111047447 B CN111047447 B CN 111047447B
Authority
CN
China
Prior art keywords
node
pass
target
issuing
feature set
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911371452.XA
Other languages
Chinese (zh)
Other versions
CN111047447A (en
Inventor
蔡恒进
蔡天琪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuo Erzhi Lian Wuhan Research Institute Co Ltd
Original Assignee
Zhuo Erzhi Lian Wuhan Research Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuo Erzhi Lian Wuhan Research Institute Co Ltd filed Critical Zhuo Erzhi Lian Wuhan Research Institute Co Ltd
Priority to CN201911371452.XA priority Critical patent/CN111047447B/en
Publication of CN111047447A publication Critical patent/CN111047447A/en
Application granted granted Critical
Publication of CN111047447B publication Critical patent/CN111047447B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/36Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
    • G06Q20/367Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3821Electronic credentials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/403Solvency checks

Abstract

The application relates to a method, a device, computer equipment and a storage medium for determining a pass issuing amount, which are used for acquiring a node attribute feature set, a node behavior feature set and a pass issuing condition of a blockchain node, determining a node performance feature set according to the node attribute feature set and the node behavior feature set, and then determining the pass amount by adopting different calculation modes of the pass amount according to two different pass issuing conditions of credit reward records and using target pass on the basis of the node attribute feature set, the node behavior feature set and the node performance feature set, so that the application of the pass in a blockchain system is more flexible and efficient.

Description

Method, device, computer equipment and storage medium for determining pass issuing amount
Technical Field
The present application relates to blockchain technologies, and in particular, to a method, an apparatus, a computer device, and a storage medium for determining a license issuing amount.
Background
Blockchains are called value internets, the nature of which is a trust mechanism. The pass is a token's translation, and the pass is originally meant to be "token, signaling", which is understood to be a "negotiable encrypted digital rights evidence". This proof of equity may be a ticket, point, contract, certificate, point card, security, authority, and the like. A token (hereinafter referred to as a pass) on a blockchain is the only credential for individuals to create relationships with blockchain items, and is also the only pass for individuals in the community to use the underlying resources of the blockchain. The universal certificate is used as a value medium in the community ecological system, so that the problem of excitation among block chain nodes is solved, and the problem of endogenous power of long-term stable operation of the system is guaranteed.
In the current blockchain system, most of the determination of the block chain node evidence amount is in a non-differential mode, for the blockchain system of the evidence of multiple currencies/diversification, the blockchains are different, the characteristics and the grades of the evidence are different, the determination mode of the evidence amount of the blockchain node lacks pertinence, and the effect of the evidence in the blockchain system is difficult to play.
Disclosure of Invention
Based on the above, it is necessary to provide a method, a device, a computer device and a storage medium for determining the amount of the license in a blockchain system, which are aimed at solving the problem that the method for determining the amount of the license in the blockchain node lacks pertinence and is difficult to play the role of the license in the blockchain system.
A method for determining a pass issuing amount includes:
acquiring a node attribute feature set, a node behavior feature set and a certificate issuing condition of a blockchain node;
determining a node performance feature set according to the node attribute feature set and the node behavior feature set;
when the issuing condition of the pass is that the block chain link point has credit rewards record, acquiring the basic data of issuing the pass, and determining a target first pass issuing amount based on the basic data of issuing the pass, the node attribute feature set, the node behavior feature set and the node performance feature set, wherein the target pass refers to the pass used for throwing an anti-vote or counteracting a non-target pass in the process that the block chain node achieves consensus through voting;
and when the issuing condition of the pass is that the target pass is used by the blockchain node, acquiring target pass use data of the blockchain node, and determining a second target pass issuing amount based on the target pass use data.
In one embodiment, determining the node performance feature set from the node attribute feature set and the node behavior feature set includes:
extracting node type data in the node attribute feature set;
screening out corresponding historical operation records from the node behavior feature set according to the node type data;
and determining a node performance characteristic set according to the screened historical operation record.
In one embodiment, determining the first target issuing amount based on the issuing base data, the node attribute feature set, the node behavior feature set, and the node performance feature set includes:
acquiring a preset evidence amount calculation function, wherein the evidence amount calculation function is constructed based on the feature vector of the blockchain node;
and determining a first target issuing amount of the pass according to the issuing basic data of the pass, the node attribute feature set, the node behavior feature set, the node performance feature set and a preset calculating function of the passing amount.
In one embodiment, the target pass use data includes a target pass use evaluation result and a target pass use degree level;
based on the target pass usage data, determining a second target pass issuance amount includes:
selecting a corresponding amount issuing rule from a preset amount issuing rule set according to a target license use evaluation result;
determining an initial issuing amount of the target pass based on the selected amount issuing rule;
detecting whether the target general certificate use degree grade is a preset strong grade or not, and obtaining a target general certificate use degree grade detection result;
and adjusting the initial issuing amount of the target pass according to the detection result of the target pass using degree grade to obtain a second target pass issuing amount.
In one embodiment, the screening the corresponding historical operation records from the node behavior feature set according to the node type data includes:
if the node type of the blockchain node is a common node, the historical operation records screened from the node behavior feature set comprise the model number of the historical access equipment, the historical feedback time, the general ledger update frequency and the offline transaction record;
if the node type of the blockchain node is a verification node, the historical operation records screened from the node behavior feature set comprise verification transaction number per second, packing time, block-out time and block-out record.
In one embodiment, the certification issuing base data includes: the total number of blockchain nodes, the number of blockchain links holding the target pass, the issue quantity and the traffic of the target pass, and historical rewards records of the blockchain nodes.
A device for determining a pass issuance amount, the device comprising:
the data acquisition module is used for acquiring a node attribute feature set, a node behavior feature set and a certificate issuing condition of the blockchain node;
the node performance determining module is used for determining a node performance feature set according to the node attribute feature set and the node behavior feature set;
the first issuing amount determining module is used for acquiring issuing basic data of the pass when the issuing condition of the pass is that the block chain link points have credit rewards records, determining a first target issuing amount based on the issuing basic data of the pass, the node attribute feature set, the node behavior feature set and the node performance feature set, wherein the target pass is the pass for counterchecking the ticket or counteracting the non-target pass in the process that the block chain nodes agree through voting;
a second issuing amount determining module, configured to, when the issuing condition of the pass is that the blockchain node uses the target pass, and acquiring target pass use data of the blockchain node, and determining a second target pass issuing amount based on the target pass use data.
In one embodiment, the node performance determining module is further configured to extract node type data in the node attribute feature set, screen a corresponding historical operation record from the node behavior feature set according to the node type data, and determine the node performance feature set according to the screened historical operation record.
A computer device comprising a memory storing a computer program and a processor which when executing the computer program performs the steps of:
acquiring a node attribute feature set, a node behavior feature set and a certificate issuing condition of a blockchain node;
determining a node performance feature set according to the node attribute feature set and the node behavior feature set;
when the issuing condition of the pass is that the block chain link point is provided with a credit rewarding record, acquiring the issuing basic data of the pass, and determining a first target issuing amount based on the issuing basic data of the pass, the node attribute feature set, the node behavior feature set and the node performance feature set, wherein the target pass refers to the pass used for throwing an anti-vote or counteracting a non-target pass in the process that the block chain node achieves consensus through voting;
and when the issuing condition of the pass is that the target pass is used by the blockchain node, acquiring target pass use data of the blockchain node, and determining a second target pass issuing amount based on the target pass use data.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
acquiring a node attribute feature set, a node behavior feature set and a certificate issuing condition of a blockchain node;
determining a node performance feature set according to the node attribute feature set and the node behavior feature set;
when the issuing condition of the pass is that the block chain link point is provided with a credit rewarding record, acquiring the issuing basic data of the pass, and determining a first target issuing amount based on the issuing basic data of the pass, the node attribute feature set, the node behavior feature set and the node performance feature set, wherein the target pass refers to the pass used for throwing an anti-vote or counteracting a non-target pass in the process that the block chain node achieves consensus through voting;
and when the issuing condition of the pass is that the target pass is used by the blockchain node, acquiring target pass use data of the blockchain node, and determining a second target pass issuing amount based on the target pass use data.
According to the method, the device, the computer equipment and the storage medium for determining the pass issuing amount, the node attribute feature set, the node behavior feature set and the pass issuing condition of the blockchain node are obtained, the node performance feature set is determined according to the node attribute feature set and the node behavior feature set, then the pass amount is determined by adopting different calculation modes of the pass amount according to two different pass issuing conditions of good rewarding records and using target passes based on the node attribute feature set, the node behavior feature set and the node performance feature set, and targeted allocation passes are realized, so that the application of the pass in the blockchain system is more flexible and efficient.
Drawings
FIG. 1 is a diagram of an application environment for a method of issuing a license amount determination in one embodiment;
FIG. 2 is a flow chart of a method for determining a pass issue amount in one embodiment;
FIG. 3 is a flow chart of a method for determining a pass release amount in another embodiment;
FIG. 4 is a flowchart of a step of determining a second target clearance issue amount based on target clearance usage data in one embodiment;
FIG. 5 is a block diagram showing the configuration of a certificate issuing amount determining apparatus in one embodiment;
fig. 6 is an internal structural diagram of a computer device in one embodiment.
Description of the embodiments
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The method for determining the issuing amount of the pass certificate provided by the application can be applied to an application environment shown in figure 1. Wherein the blockchain node 102 communicates with a server 104 (hereinafter referred to as server 104) of a blockchain system of multi-currency/license type through a network. Specifically, there may be a plurality of blockchain nodes 102 to be assigned with a universal certificate in the blockchain system, when the server 104 receives a request for determining the universal certificate amount, the server obtains a node attribute feature set, a node behavior feature set and a universal certificate issuing condition of the blockchain nodes in response to the request, determines a node performance feature set according to the node attribute feature set and the node behavior feature set, obtains universal certificate issuing base data when the universal certificate issuing condition is that a blockchain node has a credit rewards record, and determines a first target universal certificate issuing amount based on the universal certificate issuing base data, the node attribute feature set, the node behavior feature set and the node performance feature set, wherein the target universal certificate refers to a universal certificate for counterchecking or canceling a non-target universal certificate in the process that the blockchain nodes achieve the universal certificate through voting, and obtains target universal certificate usage data of the blockchain nodes when the universal certificate issuing condition is that the blockchain nodes use the target universal certificate, and determines a second target universal certificate issuing amount based on the target universal certificate usage data. The blockchain node 102 may be, but not limited to, various personal computers, notebook computers, smartphones, tablet computers, and portable wearable devices, and the server 104 may be implemented as a stand-alone server or a server cluster composed of multiple servers.
In one embodiment, as shown in fig. 2, a method for determining a license issuance amount is provided, and the method is applied to the server 104 in fig. 1 for illustration, and includes the following steps:
step S200, a node attribute feature set, a node behavior feature set and a certificate issuing condition of the blockchain node are obtained.
Node attribute feature sets include, but are not limited to, node type (e.g., master node, validation node, organization node, and personal node), uplink mode (invited uplink (which can be obtained by link automatic analysis at registration time) and autonomous uplink), uplink time, professional scope, professional level (like advanced, secondary advanced, etc.), and node history interaction record (transaction time, transaction frequency, transaction amount, presence or absence of anomaly record, etc.). The professional scope can be divided by industry profession, and the field with automatic filling of the invited node generally reflects the professional scope, and the node with automatic uplink can be selected or skipped. In this embodiment, the node attribute feature set may be denoted by T1. The node behavior feature set includes, but is not limited to, common operation records (issue, billing, transaction, etc.), target operation records, which refer to records operated with target pass (suppression pass), in this embodiment, the target pass is a pass used to cast an anti-vote or cancel a non-suppression pass in the process that the blockchain node agrees with a vote. Specifically, the common operation record can be further refined into operation time/frequency, transaction objects, whether to trust the transaction, and the targeted operation can be further refined into operation scenes (voting, emergency, etc.), the number of used target passes, operation results, etc. In specific implementation, a plurality of triggering conditions for acquiring the evidence of the chain link points of each block are provided. Specifically, it may include whether the blockchain node has good credit records and whether target passes are used.
Step S400, determining a node performance feature set according to the node attribute feature set and the node behavior feature set.
Node performance feature sets may also be understood as computational power feature sets including, but not limited to, CPU (Central Processing Unit )/GPU (Graphic Processing Unit, graphics processor) model, access time and network latency, etc. After the node attribute feature set and the node behavior feature set are obtained, the record data in the node attribute feature set and the node behavior feature set can be extracted, and the performance feature set of the block chain node is estimated. For example, different evaluations may be performed according to different node types.
And S600, when the pass issuing condition is that the block link points have credit rewards records, obtaining pass issuing basic data, and determining a first target pass issuing amount based on the pass issuing basic data, the node attribute feature set, the node behavior feature set and the node performance feature set.
In this embodiment, the target pass refers to a pass used for countering the vote or canceling the non-target pass in the process that the blockchain node achieves consensus through voting. In a blockchain network, when a node owner voluntarily contributes its own computing resources to store and validate transactions, there is an opportunity to charge the transaction fee and obtain a corresponding reward. The good credit records can obtain the inhibition pass, the node behavior evaluation is carried out by the system at an irregular period, rewards are given to the good credit record maintainer, and the implementation time of rewards and the available rewards are not necessarily required to avoid the moral risks. If the current issuing condition of the pass is good credit record, acquiring issuing basic data of the pass, wherein the issuing basic data of the pass can comprise the total number of block chain links, the number of block chain links with the target pass, good credit rewards data and the like, and then calculating a first target issuing amount of the pass based on the acquired issuing basic data of the pass, the node attribute feature set, the node behavior feature set and the node performance feature set. Specifically, the calculation mode may be to calculate the credit amount through a preset feature function.
Step S800, when the issuing condition of the pass is that the blockchain node uses the target pass, acquiring the target pass use data of the blockchain node, and determining a second target pass issuing amount based on the target pass use data.
In specific implementation, if the issuing condition of the pass is that the blockchain node uses the target pass, obtaining target pass use data of the current blockchain node, wherein the target pass use data comprises an evaluation result of target pass use, a target pass use degree grade and the like, then, based on the target pass use data, using a corresponding target pass amount calculation rule, and then determining a second target pass issuing amount.
According to the method, the device, the computer equipment and the storage medium for determining the pass issuing amount, the node attribute feature set, the node behavior feature set and the pass issuing condition of the blockchain node are obtained, the node performance feature set is determined according to the node attribute feature set and the node behavior feature set, then the pass amount is determined by adopting different calculation modes of the pass amount according to two different pass issuing conditions of good rewarding records and using target passes based on the node attribute feature set, the node behavior feature set and the node performance feature set, and targeted allocation passes are realized, so that the application of the pass in the blockchain system is more flexible and efficient.
In one embodiment, as shown in fig. 3, determining the node performance feature set from the node attribute feature set and the node behavior feature set includes: step S420, extracting node type data in the node attribute feature set, screening out corresponding historical operation records from the node behavior feature set according to the node type data, and determining a node performance feature set according to the screened historical operation records.
The term "blockchain" refers to a computer in a blockchain network, including a cell phone, a server, and the like. The operating node may be a common wallet user and multiple persons, both persons being nodes of the blockchain, cooperate, store and authenticate. The node type data comprises verification nodes, common nodes, organization nodes and the like, the node type data can be extracted after the node attribute feature set is acquired, and then corresponding historical operation records, such as offline transaction records, block-out records, account book update frequency and the like, are screened out from the node behavior feature set according to preset rules according to the node type data. And deducing a computing power feature set, namely a performance feature set, of the current blockchain node based on the screened historical operation record. In another embodiment, if the node type of the blockchain node is a common node, historical operation records including the model number of the historical access device, the historical feedback time, the update frequency of the general ledger book, the offline transaction record and the like are screened out from the node behavior feature set; if the node type of the blockchain node is the verification node, historical operation records including verification transaction number per second, packing time, block-out record and the like are screened out from the node behavior feature set. And then, respectively giving the screened historical operation records to obtain the computational power feature set of the current blockchain node, including but not limited to average access time, network delay, whether the operation is offline or not, and the like. In this embodiment, different historical operation records are screened out according to different node types, and a performance feature set of the node is determined, so that the method has more pertinence.
In one embodiment, determining the first target issuing amount based on the issuing base data, the node attribute feature set, the node behavior feature set, and the node performance feature set includes: obtaining a preset pass amount calculation function, constructing the pass amount calculation function based on the feature vector of the blockchain node, and determining the target pass issuing amount according to the pass issuing basic data, the node attribute feature set, the node behavior feature set, the node performance feature set and the preset pass amount calculation function.
In practical application, a developer builds a corresponding general feature function based on feature vectors in feature sets of the blockchain nodes in advance, specifically, according to the nodesThe attribute feature set T1 is constructed with a feature function f1, the feature function f2 is constructed according to the node behavior feature set T2, and the feature function f3 is constructed by combining and inhibiting the total release quantity (I) of the general evidence with the current traffic or the released quantity (T) according to the node performance feature set. When the issuing condition of the pass is that the block chain link points have credit rewards records, the obtained basic data of the pass issuing comprises the total number N of the block chain link points, the number S of the block chain link points with the target pass, the issuing quantity I and the throughput T of the target pass and the historical rewards records H of all block chain nodes, then, correspondingly obtaining the constructed pass amount calculation characteristic functions comprising f1, f2, f3 and a function A, and based on T1, T2 and T3, combining the basic data of the pass issuing and the characteristic functions, adoptingAnd calculating the amount A of the acquired inhibitive pass. Where F is a function used to calculate the amount of evidence, λ represents a system parameter, λ is variable according to the change in system scale, but is generally relatively stable over a short period of time. In this embodiment, by constructing the license amount calculation function, the amount of the inhibitory license that can be acquired by the current blockchain node can be calculated quickly and accurately.
In one embodiment, as shown in fig. 4, the target clearance usage data includes a target clearance usage evaluation result and a target clearance usage degree level, and determining the second target clearance issuance amount based on the target clearance usage data includes:
step S820, selecting a corresponding amount issuing rule from a preset amount issuing rule set according to the target license use evaluation result;
step S840, determining the initial issuing amount of the target pass based on the selected amount issuing rule;
step S860, detecting whether the target general certificate usage degree grade is a preset strong grade, and obtaining a target general certificate usage degree grade detection result;
in step S880, the initial issuing amount of the target pass is adjusted according to the result of detecting the usage level of the target pass, so as to obtain the second target pass issuing amount.
In practical application, the target pass use data includes a target pass use evaluation result and a target pass use degree level. Result evaluation (correct use, no use, incorrect use), target pass use degree level (strong, general), etc., and then, based on the result evaluation and the target pass use degree level, it is determined whether the condition compensates for the used suppression pass and whether the suppression pass can be additionally rewarded. The evaluation of the system on the use of the target pass is not real-time, and the system waits for the proposal to ferment for a period of time and gives judgment according to the implementation effect of the proposal. For example, serious consequences are caused after the proposal is executed, and the users who throw the rejection pass can be regarded as giving a "correct" result if the pass runs off or there is negative news (NLP (Natural Language Processing, natural language processing) emotion analysis can be performed by accessing external news data to judge whether the negative news is caused) or there is complaint proposal of large-scale users. If properly used, such as in an emergency, all the suppressive pass is used, additional suppressive passes will be returned and rewarded afterwards. Some cases may use an inhibitory pass, not necessarily the best solution, but without malignant consequences, and may consider returning (all or part of) the pass. The judgment of the target pass use degree grade is positively related to the specific use amount and frequency of the inhibitive pass, namely, if the inhibitive pass used for this time accounts for more than 80% of the inhibitive pass held by the node, or 3 or more inhibitive passes are continuously cast on a certain proposal, the target pass use degree grade of the node can be considered as 'strong', otherwise 'general'; the target pass usage level and the evaluation result are superimposed on each other, and if the target pass usage level is correct and strong, it should be possible to return not only the amount of spending suppression passes, but also the amount of extra rewards, which should not exceed 10% of spending, i.e. the nodes get a total of at most 110% of spending suppression passes. If not used incorrectly, a maximum of 100% of the spent suppressive pass is typically obtained. If used incorrectly, a 50% cost-effective suppression pass is typically obtained, and in the case of incorrect and intense grades, there is a possibility that the suppression pass will not be issued temporarily. In this embodiment, according to the target pass use degree grade and the use evaluation result, how to issue the specific amount of the suppression pass is determined, so that the moral risk can be avoided to a certain extent, the professional spirit can be encouraged, and the careful use of the suppression pass can be encouraged.
It should be understood that, although the steps in the flowcharts of fig. 2-4 are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 2-4 may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the sub-steps or stages are performed necessarily occur sequentially, but may be performed alternately or alternately with at least a portion of the sub-steps or stages of other steps or steps.
In one embodiment, as shown in fig. 5, there is provided a certificate issuing amount determining apparatus including: a data acquisition module 410, a node performance determination module 420, a first issue amount determination module 430, and a second issue amount determination module 440, wherein:
the data acquisition module 410 is configured to acquire a node attribute feature set, a node behavior feature set, and a certificate issuing condition of a blockchain node.
The node performance determining module 420 is configured to determine a node performance feature set according to the node attribute feature set and the node behavior feature set.
The first issuing amount determining module 430 is configured to obtain the issuing base data of the pass when the issuing condition is that the link points of the block have credit rewards records, and determine the first target issuing amount of the pass based on the issuing base data of the pass, the node attribute feature set, the node behavior feature set, and the node performance feature set.
A second issue amount determination module 440 for determining, when the certification issue condition is that the blockchain node has used the target certification, and acquiring target pass use data of the blockchain node, and determining a second target pass issuing amount based on the target pass use data.
The node performance determining module 420 is further configured to extract node type data in the node attribute feature set, screen a corresponding historical operation record from the node behavior feature set according to the node type data, and determine a node performance feature set according to the screened historical operation record.
The first issuing amount determining module 430 is further configured to obtain feature functions corresponding to the node attribute feature set, the node behavior feature set, and the node performance feature set, and determine a target issuing amount of the pass according to the pass issuing base data, the node attribute feature set, the node behavior feature set, the node performance feature set, and a preset pass amount calculating function.
In one embodiment, the first issuing amount determining module 430 is further configured to select a corresponding amount issuing rule from the preset amount issuing rule set according to the target issuing amount evaluation result, detect whether the target issuing degree level is a preset strong level, obtain a target issuing degree level detection result, and adjust the selected amount issuing rule according to the target issuing degree level detection result to determine the target issuing amount.
The node performance determining module 420 is further configured to, if the node type of the blockchain node is a common node, screen the historical operation records from the node behavior feature set including a model number of the historical access device, a historical feedback time, a general ledger update frequency, and an offline transaction record, and if the node type of the blockchain node is a verification node, screen the historical operation records from the node behavior feature set including a verification transaction number per second, a packing time, a block-out time, and a block-out record.
The specific limitation of the device for determining the issuing amount of the pass may be referred to as limitation of the method for determining the issuing amount of the pass in the above description, and will not be repeated here. The respective modules in the above-described certificate issuing amount determination apparatus may be implemented in whole or in part by software, hardware, and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, and the internal structure of which may be as shown in fig. 6. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer equipment is used for storing and acquiring node attribute feature sets, node behavior feature set data, and evidence obtaining conditions of the blockchain nodes. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a method of issuing a pass amount determination.
It will be appreciated by those skilled in the art that the structure shown in FIG. 6 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program: acquiring a node attribute feature set, a node behavior feature set and a pass issuing condition of a blockchain node, determining a node performance feature set according to the node attribute feature set and the node behavior feature set, acquiring pass issuing base data when the pass issuing condition is that a blockchain node has a credit rewards record, determining a first target pass issuing amount based on the pass issuing base data, the node attribute feature set, the node behavior feature set and the node performance feature set, wherein the target pass refers to a pass used for throwing an anti-vote or canceling a non-target pass in the process that the blockchain node achieves consensus through voting, acquiring target pass using data of the blockchain node when the pass issuing condition is that the blockchain node uses the target pass, and determining a second target pass issuing amount based on the target pass using data.
In one embodiment, the processor when executing the computer program further performs the steps of: extracting node type data in the node attribute feature set, screening out corresponding historical operation records from the node behavior feature set according to the node type data, and determining a node performance feature set according to the screened historical operation records.
In one embodiment, the processor when executing the computer program further performs the steps of: and acquiring a preset pass amount calculation function, and determining a target pass issuing amount according to the pass issuing basic data, the node attribute feature set, the node behavior feature set, the node performance feature set and the preset pass amount calculation function.
In one embodiment, the processor when executing the computer program further performs the steps of: and selecting a corresponding amount issuing rule from a preset amount issuing rule set according to the target issuing evaluation result, determining the initial issuing amount of the target issuing certificate based on the selected amount issuing rule, detecting whether the target issuing certificate usage degree grade is a preset strong grade, obtaining a target issuing certificate usage degree grade detection result, and adjusting the initial issuing amount of the target issuing certificate according to the target issuing certificate usage degree grade detection result to obtain a second target issuing certificate issuing amount.
In one embodiment, the processor when executing the computer program further performs the steps of: if the node type of the blockchain node is a common node, the historical operation records screened from the node behavior feature set comprise the model number of the historical access equipment, the historical feedback time, the general ledger update frequency and the offline transaction record, and if the node type of the blockchain node is a verification node, the historical operation records screened from the node behavior feature set comprise the verification transaction number per second, the packing time, the block-out time and the block-out record.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of: acquiring a node attribute feature set, a node behavior feature set and a pass issuing condition of a blockchain node, determining a node performance feature set according to the node attribute feature set and the node behavior feature set, acquiring pass issuing base data when the pass issuing condition is that a blockchain node has a credit rewards record, determining a first target pass issuing amount based on the pass issuing base data, the node attribute feature set, the node behavior feature set and the node performance feature set, wherein the target pass refers to a pass used for throwing an anti-vote or canceling a non-target pass in the process that the blockchain node achieves consensus through voting, acquiring target pass using data of the blockchain node when the pass issuing condition is that the blockchain node uses the target pass, and determining a second target pass issuing amount based on the target pass using data.
In one embodiment, the computer program when executed by the processor further performs the steps of: extracting node type data in the node attribute feature set, screening out corresponding historical operation records from the node behavior feature set according to the node type data, and determining a node performance feature set according to the screened historical operation records.
In one embodiment, the computer program when executed by the processor further performs the steps of: and acquiring a preset pass amount calculation function, and determining a target pass issuing amount according to the pass issuing basic data, the node attribute feature set, the node behavior feature set, the node performance feature set and the preset pass amount calculation function.
In one embodiment, the computer program when executed by the processor further performs the steps of: and selecting a corresponding amount issuing rule from a preset amount issuing rule set according to the target issuing evaluation result, determining the initial issuing amount of the target issuing certificate based on the selected amount issuing rule, detecting whether the target issuing certificate usage degree grade is a preset strong grade, obtaining a target issuing certificate usage degree grade detection result, and adjusting the initial issuing amount of the target issuing certificate according to the target issuing certificate usage degree grade detection result to obtain a second target issuing certificate issuing amount.
In one embodiment, the computer program when executed by the processor further performs the steps of: : if the node type of the blockchain node is a common node, the historical operation records screened from the node behavior feature set comprise the model number of the historical access equipment, the historical feedback time, the general ledger update frequency and the offline transaction record, and if the node type of the blockchain node is a verification node, the historical operation records screened from the node behavior feature set comprise the verification transaction number per second, the packing time, the block-out time and the block-out record.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include non-volatile and/or volatile memory. The nonvolatile memory can include Read Only Memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), memory bus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), among others.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (10)

1. A method for determining a pass issuance amount, the method being applied to a server, the method comprising:
acquiring a node attribute feature set, a node behavior feature set and a certificate issuing condition of a blockchain node from a database of the server;
extracting node type data in the node attribute feature set;
screening out corresponding historical operation records from the node behavior feature set according to the node type data;
determining a node performance characteristic set according to the screened historical operation records;
when the issuing conditions of the pass are that the blockchain node is provided with credit rewards records, acquiring the issuing basic data of the pass and a preset passing amount calculating function, and determining a first target issuing amount of the pass according to the issuing basic data of the pass, the node attribute feature set, the node behavior feature set, the node performance feature set and the preset passing amount calculating function; the preset license amount calculation function is constructed based on the feature vector of the blockchain node; the target pass refers to a pass used for countering the vote or canceling the non-target pass in the process that the blockchain node achieves consensus through voting;
and when the issuing condition of the pass is that the blockchain node uses the target pass, acquiring target pass use data of the blockchain node, and determining a second target pass issuing amount based on the target pass use data.
2. The method for determining a pass issuance amount according to claim 1, wherein the target pass usage data includes a target pass usage evaluation result and a target pass usage degree level;
the determining a second target clearance issuance amount based on the target clearance usage data includes:
selecting a corresponding amount issuing rule from a preset amount issuing rule set according to the target license use evaluation result;
determining an initial issuing amount of the target pass based on the selected amount issuing rule;
detecting whether the target general certificate use degree grade is a preset strong grade or not, and obtaining a target general certificate use degree grade detection result;
and adjusting the initial issuing amount of the target pass according to the detection result of the target pass using degree grade to obtain a second target pass issuing amount.
3. The method of claim 1, wherein the screening the corresponding historical operating records from the node behavior feature set according to the node type data includes:
if the node type of the blockchain node is a common node, screening the model number, the historical feedback time, the general ledger update frequency and the offline transaction record of the historical access equipment from the node behavior feature set;
and if the node type of the blockchain node is the verification node, screening the verification transaction number per second, the packing time, the block-out time and the block-out record from the node behavior feature set.
4. The method of claim 1, wherein the issuing base data includes a total number of block link points, a number of block link points holding a target pass, an issue and a throughput of the target pass, and a historical prize record for each block link node.
5. A pass issuance amount determination apparatus, the apparatus comprising:
the data acquisition module is used for acquiring a node attribute feature set, a node behavior feature set and a certificate issuing condition of the blockchain node;
the node performance determining module is used for extracting node type data in the node attribute feature set from a database of the server; wherein; screening out corresponding historical operation records from the node behavior feature set according to the node type data; determining a node performance characteristic set according to the screened historical operation records;
a first issuing amount determining module, configured to obtain issuing base data of a pass and a preset issuing amount calculating function when the issuing condition of the pass is that the blockchain node has a credit rewards record, determining a first target issuing amount of the pass according to the basic issuing data of the pass, the node attribute feature set, the node behavior feature set, the node performance feature set and the preset passing amount calculation function; the preset license amount calculation function is constructed based on the feature vector of the blockchain node; the target pass refers to a pass used for countering the vote or canceling the non-target pass in the process that the blockchain node achieves consensus through voting;
a second issuing amount determination module, configured to, when the issuing condition of the pass is that the blockchain node uses the target pass, and acquiring target license use data of the blockchain node, and determining a second target license issuing amount based on the target license use data.
6. The apparatus of claim 5, wherein the target certification usage data includes a target certification usage assessment and a target certification usage level; the first issuing amount determining module is further configured to select a corresponding amount issuing rule from a preset amount issuing rule set according to the target certificate usage evaluation result; determining an initial issuing amount of the target pass based on the selected amount issuing rule; detecting whether the target general certificate use degree grade is a preset strong grade or not, and obtaining a target general certificate use degree grade detection result; and adjusting the initial issuing amount of the target pass according to the detection result of the target pass using degree grade to obtain a second target pass issuing amount.
7. The device for determining a credit release amount according to claim 5, wherein the node performance determining module is further configured to extract node type data in the node attribute feature set, screen out a corresponding historical operation record from the node behavior feature set according to the node type data, and determine a node performance feature set according to the screened historical operation record.
8. The device for determining the release amount of a pass according to claim 5, wherein the node performance determining module is further configured to screen the model number, the historical feedback time, the general ledger update frequency and the offline transaction record of the historical access device from the node behavior feature set if the node type of the blockchain node is a common node; and if the node type of the blockchain node is the verification node, screening the verification transaction number per second, the packing time, the block-out time and the block-out record from the node behavior feature set.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 4 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 4.
CN201911371452.XA 2019-12-26 2019-12-26 Method, device, computer equipment and storage medium for determining pass issuing amount Active CN111047447B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911371452.XA CN111047447B (en) 2019-12-26 2019-12-26 Method, device, computer equipment and storage medium for determining pass issuing amount

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911371452.XA CN111047447B (en) 2019-12-26 2019-12-26 Method, device, computer equipment and storage medium for determining pass issuing amount

Publications (2)

Publication Number Publication Date
CN111047447A CN111047447A (en) 2020-04-21
CN111047447B true CN111047447B (en) 2023-08-18

Family

ID=70240296

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911371452.XA Active CN111047447B (en) 2019-12-26 2019-12-26 Method, device, computer equipment and storage medium for determining pass issuing amount

Country Status (1)

Country Link
CN (1) CN111047447B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113259127A (en) * 2021-06-11 2021-08-13 武汉龙津科技有限公司 Block chain-based evidence distribution method and device, electronic equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11526893B2 (en) * 2016-12-29 2022-12-13 Capital One Services, Llc System and method for price matching through receipt capture
CN109146545A (en) * 2018-07-18 2019-01-04 阿里巴巴集团控股有限公司 A kind of method and device for providing reward to works user based on block chain

Also Published As

Publication number Publication date
CN111047447A (en) 2020-04-21

Similar Documents

Publication Publication Date Title
CN108062629B (en) Transaction event processing method, terminal device and medium
CN107103471B (en) Method and device for determining transaction validity based on block chain
CN109067791B (en) User identity authentication method and device in network
CN108985644B (en) Rights and interests distribution method and device and electronic equipment
CN108876133A (en) Risk assessment processing method, device, server and medium based on business information
CN105337928B (en) Method for identifying ID, safety protection problem generation method and device
CN108876188B (en) Inter-connected service provider risk assessment method and device
Chen et al. Econometric analysis of a cryptocurrency index for portfolio investment
CN111078797B (en) Method and device for distributing certificates, computer equipment and storage medium
CN113240505A (en) Graph data processing method, device, equipment, storage medium and program product
CN111062486B (en) Method and device for evaluating feature distribution and confidence of data
CN113689218A (en) Risk account identification method and device, computer equipment and storage medium
CN113077331A (en) Personal financial credit evaluation system and method based on big data
CN112819611A (en) Fraud identification method, device, electronic equipment and computer-readable storage medium
CN111047447B (en) Method, device, computer equipment and storage medium for determining pass issuing amount
CN114090985A (en) Method and device for setting user operation permission in block chain and electronic equipment
Maurushat et al. Investigation of cryptocurrency enabled and dependent crimes
CN113919664A (en) API asset risk control method and device, computer equipment and storage medium
US20210232574A1 (en) Multi-dimensional modeling of resource interaction processors
CN111260372B (en) Resource transfer user group determination method, device, computer equipment and storage medium
CN108416662A (en) A kind of data verification method and device
CN107871213B (en) Transaction behavior evaluation method, device, server and storage medium
JP4751744B2 (en) Reliability calculation program, reliability calculation device, and service provision determination program
CN113570373B (en) Responsibility pursuing transaction method and system based on block chain
CN113256422B (en) Method and device for identifying bin account, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant