Background
Under the background of big data era, a large amount of user information is utilized to portray the user, so that the user image is embodied, and further, targeted service is provided for the user, and the method is widely applied. For the credit investigation field, the real and accurate user portrait is obtained, which is more helpful for accurately judging and controlling the credit risk.
Currently, most of user tags or user portrayals provided by the credit investigation institution are single-dimensional or coarse-grained, for example, the user is a blacklisted user or a whitelisted user, and the credit investigation institution performs the user portrayal by using the user tags acquired from the credit investigation institution.
However, the credit investigation platform provides a user tag or a user portrait to the credit investigation institution, which cannot ensure the safety of user information, and the credit investigation platform provides a user tag or portrait with only a single dimension, which results in that the credit investigation institution cannot acquire an accurate user tag or user portrait.
Disclosure of Invention
The application provides a user information processing method and a block chain node, which can obtain accurate user portrait under the condition of ensuring the safety of user information.
In a first aspect, an embodiment of the present application provides a method for processing user information, where the method is applied to a first blockchain node, and the method includes:
sending an inquiry request transaction to at least one second block chain node, wherein the inquiry request transaction is used for requesting inquiry of a first tag value corresponding to a tag name of a target user, the tag name is stored in a block chain in advance, and the first tag value is stored in the corresponding second block chain node in advance;
receiving at least one first tag value sent by at least one second blockchain node;
a user representation of the target user is determined based on the at least one first tag value.
In a second aspect, an embodiment of the present application provides a method for processing user information, where the method is applied to a second blockchain node, and the method includes:
receiving a query request transaction sent by a first blockchain node, wherein the query request transaction is used for requesting to query a first tag value corresponding to a tag name of a target user, the tag name is prestored in a blockchain, and the first tag value is prestored in a corresponding second blockchain node;
determining a first tag value based on the tag name;
the first tag value is sent to the first blockchain node.
In a third aspect, an embodiment of the present application provides a method for processing user information, where the method is applied to a pricing node, and the method includes:
after at least one second block chain node sends a first tag value to a first block chain node, generating a payment request transaction through an intelligent contract, wherein the payment request transaction is used for requesting the first block chain node to pay bill information, and the bill information comprises the number of the first tag values and the value of the first tag values sent by each second block chain node;
sending a payment request transaction to a first block link point;
receiving payment transaction sent by the first block chain node, wherein the payment transaction is used for sending a corresponding monetary value to the pricing node according to the bill information;
and sending a transfer transaction to each second block chain link, wherein the transfer transaction is used for sending a corresponding currency value to the second block chain link according to the quantity of the first label value and the value of the first label value sent by the second block chain link.
In a fourth aspect, an embodiment of the present application provides a method for processing user information, where the method is applied to a user node, and the method includes:
receiving an authorization request transaction sent by a second blockchain node, wherein the authorization request transaction is used for requesting authorization to send a first tag value to a first blockchain node;
in response to an authorization operation by a user, generating an authorization approval transaction for authorizing sending of the first tag value to the first tile link point
And sending an authorization approval transaction to the second block link point.
In a fifth aspect, an embodiment of the present application provides a block link point, including:
the receiving and sending unit is used for sending an inquiry request transaction to at least one second block chain node, the inquiry request transaction is used for requesting to inquire a first tag value corresponding to a tag name of a target user, the tag name is stored in the block chain in advance, and the first tag value is stored in the corresponding second block chain node in advance;
the transceiver unit is further configured to receive at least one first tag value sent by at least one second blockchain node;
a processing unit to determine a user representation of the target user based on the at least one first tag value.
In a sixth aspect, an embodiment of the present application provides a block link point, including:
the receiving and sending unit is used for receiving a query request transaction sent by a first block chain node, the query request transaction is used for requesting to query a first tag value corresponding to a tag name of a target user, the tag name is stored in a block chain in advance, and the first tag value is stored in a corresponding second block chain node in advance;
a processing unit for determining a first tag value based on the tag name;
the transceiver unit is further configured to send the first tag value to the first blockchain node.
In a seventh aspect, an embodiment of the present application provides a block link point, including:
the processing unit is used for generating a payment request transaction through an intelligent contract after the at least one second block chain node sends the first tag value to the first block chain node, wherein the payment request transaction is used for requesting the first block chain node to pay bill information, and the bill information comprises the number of the first tag values and the value of the first tag values sent by each second block chain node;
a transceiver unit for transmitting a payment request transaction to the first block link point;
receiving payment transaction sent by the first block chain node, wherein the payment transaction is used for sending a corresponding monetary value to the pricing node according to the bill information;
the receiving and sending unit is further used for sending transfer transactions to each second block chain link, and the transfer transactions are used for sending corresponding currency values to the second block chain links according to the number of the first label values and the value of the first label values sent by the second block chain links.
In an eighth aspect, an embodiment of the present application provides a block link point, including:
the receiving and sending unit is used for receiving an authorization request transaction sent by the second blockchain node, and the authorization request transaction is used for requesting authorization to send the first label value to the first blockchain node;
a processing unit for generating an authorized permission transaction for authorizing transmission of the first tag value to the first block link point in response to an authorized operation by a user
The transceiver unit is further configured to send an authorization approval transaction to the second block link point.
In a ninth aspect, embodiments of the present application provide a block link point, including: a memory and a processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored by the memory, causing the processor to perform a method as in the first aspect or its implementations.
In a tenth aspect, an embodiment of the present application provides a block link point, including: a memory and a processor;
the memory stores computer-executable instructions;
the processor executes the computer-executable instructions stored by the memory, causing the processor to perform a method as in the second aspect or its implementations.
In an eleventh aspect, embodiments of the present application provide a block link point, including: a memory and a processor;
the memory stores computer-executable instructions;
the processor executes the computer-executable instructions stored by the memory, causing the processor to perform a method as in the third aspect or implementations thereof.
In a twelfth aspect, an embodiment of the present application provides a block link point, including: a memory and a processor;
the memory stores computer-executable instructions;
the processor executes the computer-executable instructions stored by the memory, causing the processor to perform a method as in the fourth aspect or its implementations.
In a thirteenth aspect, an embodiment of the present application provides a storage medium, including: a readable storage medium and a computer program for implementing the method of the first aspect or implementations thereof.
In a fourteenth aspect, an embodiment of the present application provides a storage medium, including: a readable storage medium and a computer program for implementing the method of the second aspect or implementations thereof.
In a fifteenth aspect, an embodiment of the present application provides a storage medium, including: a readable storage medium and a computer program for implementing the method of the third aspect or implementations thereof.
In a sixteenth aspect, an embodiment of the present application provides a storage medium, including: a readable storage medium and a computer program for implementing the method of the fourth aspect or implementations thereof.
According to the embodiment of the application, a first block link point sends a query request transaction to at least one second block link point aiming at a tag name of a target user, the at least one second block link point is requested to provide a first tag value corresponding to the tag name of the target user, the second block link point responds to the request transaction of a first block link node and sends the first tag value to the first block link node, and the first block link point determines a user portrait of the target user according to the received at least one first tag value. The user information is protected by the separated storage of the user tags, multi-dimensional tag names can be provided for the user information demanders based on the separated storage of the user tags, the privacy of users does not need to be leaked, and a foundation is provided for the accurate user portrait determination of the first block chain link points.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The user portrait is used as an effective tool for sketching a target user and establishing user appeal and design direction, on the basis of big data, information of the user is abstracted into tags (including tag names and tag values), the tags are integrated into the user portrait, and the user image is specified.
The user portrait can embody the characteristics of the user and is widely applied to various fields. Taking the credit investigation field as an example, the credit investigation institution collects, sorts and stores the information related to the credit of the target user, including individuals or enterprises, and provides the credit assessment result of the user. In the prior art, a credit investigation institution usually obtains a label or an image of a target user through a credit investigation sharing platform, the credit investigation institution generally protects the privacy of the user and only provides the label or the image with a single dimension or a coarse granularity, for example, the target user is a blacklist user or a whitelist user, but the credit investigation sharing platform as a centralized institution cannot ensure the authenticity of user information, and the label with the single dimension or the coarse granularity cannot accurately reflect the information of the user. In order to improve the authenticity and reliability of user information, the user information can be stored in the blockchain through the blockchain network, but data in the blockchain can be checked by any blockchain node, so that the safety of the user information cannot be guaranteed, and the risk of user privacy disclosure is increased.
Based on the application scenario, in the embodiment of the present application, the tag name is stored in the blockchain, and the corresponding tag value is stored in the local storage space of the second blockchain node (i.e., the provider of the user information), so as to implement separate storage of the tag, and when the first blockchain node (i.e., the requester of the user information) initiates a query request transaction for the tag name, the corresponding tag value is sent to the first blockchain node. On one hand, the label of the user is prevented from being directly stored in the block chain, so that the safety of the user information is improved; on the other hand, based on the separate storage of the tag name and the tag value, fine-grained multi-dimensional user tags can be provided for the first tile link point, and accurate data is provided for finally obtaining a user portrait.
Fig. 1 is a schematic view of an application scenario provided in an embodiment of the present application. As shown in fig. 1, the blockchain network 100 is composed of a plurality of blockchain nodes, which may be any one of terminal devices, such as a personal computer PC, a notebook computer, a mobile phone, an ore machine, a server, and so on.
It should be understood that the block link point is registered with the account of the user for completing the corresponding operation according to the instruction of the user. In this embodiment of the application, the account logged in on the blockchain node may be an account of a user information demand party, an account of a user information provider, an account of a target user, or an account of an intelligent pricing system. Illustratively, the blockchain node where the account of the user information provider is logged in is a first blockchain node 110, the blockchain node where the account of the user information provider is logged in is a second blockchain node 120, the blockchain node where the account of the target user is logged in is a user node 130, and the blockchain node where the account of the intelligent pricing system is logged in is a pricing node 140, where the number of the first blockchain node 110, the number of the second blockchain node 120, the number of the user nodes 130, and the number of the pricing nodes 140 may all be one to multiple, which is not limited in the present application.
For example, operations that a blockchain node can perform include, but are not limited to, invoking an intelligent contract, recording transactions in a blockchain block, determining a sequence of transactions according to a consensus algorithm, and determining whether a transaction is successful.
Optionally, the intelligent contract invoked in the embodiment of the present application may be implemented by any programming language, such as a contract-type programming language identity, a static strongly-type compiled language Go, an object-oriented programming language Java, and the like. The blockchain in the embodiments of the present application may be any type or blockchain applied to any platform, such as a public chain, a federation chain, or a private chain.
In order to obtain an accurate and reliable user tag and further obtain an accurate user image of a user on the basis of ensuring the safety of user information, the embodiment of the application provides an implementation manner as shown in fig. 2.
Fig. 2 is a flowchart illustrating a user information processing method according to an embodiment of the present application. As shown in fig. 2, the method includes:
s201: the first blockchain node sends a query request transaction to at least one second blockchain node.
The query request transaction is used for requesting to query a first tag value corresponding to a tag name of a target user, the tag name is stored in a blockchain in advance, and the first tag value is stored in a corresponding second blockchain node in advance.
For example, the user information demander may find a tag name of a target user to be queried in the blockchain through the first blockchain node, and generate a query request transaction according to the tag name, where the tag name is a definition of a user tag, for example, the tag name may be whether there is a past due payment record, whether there is a debt, whether it is a credit blacklist user, and the like.
It is to be understood that the second blockchain node obtains a plurality of tag names for each user and a first tag value corresponding to each tag name by analyzing the user information, and stores the tag names of the users in the blockchain, and at the same time, stores the first tag value corresponding to the tag name in a storage space of the second blockchain node, for example, in a database of the second blockchain node. The first tag value corresponds to a tag name, which is, for example, yes or no if there is a past due record.
In this step, the first blockchain node sends an inquiry request transaction to each second blockchain node in which the first tag value is stored, so as to request each second blockchain node to provide a reliable first tag value for the tag name of the target user, and correspondingly, each second blockchain node receives the inquiry request transaction sent by the first blockchain node.
Optionally, the tag names of the target users carried in the query request transaction may be one or more, that is, the query request may simultaneously request to query the first tag values corresponding to the multiple tag names; the target users carried in the query request transaction may be one or more, and there may be one or more tag names for each target user.
S202: the second tile link point determines a first tag value based on the tag name.
Each second blockchain node receiving the query request transaction determines a first tag value according to the tag name.
For example, the second tile link point stores a correspondence between a tag name and a tag value, the first tag value may be stored in a database corresponding to the second tile link point, and the second tile link point may perform matching in the database according to the tag name and the correspondence between the tag name and the tag value, so as to obtain the first tag value corresponding to the tag name.
S203: the second blockchain node sends the first tag value to the first blockchain node.
In this step, each second blockchain node sends the respective determined first tag value to the first blockchain node, and correspondingly, the first blockchain node receives at least one first tag value sent by at least one second blockchain node.
For example, in order to protect the security of the user information, in this embodiment, when the second blockchain node sends the first tag value to the first blockchain node, the second blockchain node does not send the first tag value through the blockchain network, and optionally, the second blockchain node may transmit the first tag value through any wired or wireless manner, such as the internet, a local area network, bluetooth, Near Field Communication (NFC), a bus, and the like.
Illustratively, in order to ensure that the first tag value is not leaked in the process of sending the first tag value to the first blockchain node by the second blockchain node, the second blockchain node encrypts the first tag value through the public key of the first blockchain node, and then sends the encrypted first tag value to the first blockchain node, and the first blockchain node decrypts the first tag value through its own private key.
S204: the first tile link point determines a user representation of the target user based on the at least one first tag value.
As one example, the first tile link point obtains a user representation of the target user from at least one first tag value via a representation fusion model.
Optionally, the first block link point may also evaluate the credit of the target user according to the user portrait of the target user by using a Decision Tree CART and/or a Gradient Boost Decision Tree (GBDT) algorithm, so as to obtain a credit evaluation result.
As another example, a first blockchain node may determine a user representation of a target user in conjunction with user information obtained by itself and at least one first tag value sent by at least one second blockchain node. As shown in particular in figure 3. Fig. 3 is a flowchart illustrating a user information processing method according to an embodiment of the present application, where step S204 includes:
s2041: and acquiring user information of the target user.
Illustratively, the first block link point acquires the user information of the target user by receiving any interactive operation performed by the target user, or the first block link point may also receive the user information sent by other devices.
S2042: and determining at least one second label value corresponding to the label name according to the user information.
The first tile link point determines at least one second tag value corresponding to the tag name according to the acquired user information, for example, the number of the tag names may be one or more, and the second tag value corresponding to each tag name may be one or more.
S2043: and fusing the at least one first label value and the at least one second label value through a portrait fusion model to obtain a user portrait of the target user.
In the embodiment of the application, a first block link point sends a query request transaction to at least one second block link point aiming at a tag name of a target user, the at least one second block link point is requested to provide a first tag value corresponding to the tag name of the target user, the second block link point sends the first tag value to a first block link node in response to the request transaction of the first block link node, and the first block link point determines a user portrait of the target user according to the received at least one first tag value. The user information is protected by the separated storage of the user tags, multi-dimensional tag names can be provided for the user information demanders based on the separated storage of the user tags, the privacy of users does not need to be leaked, and a foundation is provided for the accurate user portrait determination of the first block chain link points.
Optionally, the first blockchain node may score each first tag value after receiving the first tag value sent by the second blockchain node, for example, the first blockchain node may determine authenticity and reliability of the first tag value in any manner, for example, set a higher score for the first tag value close to the average value of the first tag value, and set a lower score for the first tag value far from the average value of the first tag value, further, generate an evaluation transaction for each first tag value, where the evaluation transaction is used to represent the score for the first tag value sent by the second blockchain node, and complete the scoring process for the first tag value by synchronizing the evaluation transaction with the blockchain network. The score of the first label value may be used to evaluate the confidence of the corresponding second blockchain node.
On the basis of the above embodiment, in order to further ensure the security of the user information, before the second blockchain node sends the first tag value to the first blockchain node, authorization of the target user needs to be passed.
Fig. 4 is a flowchart illustrating a user information processing method according to an embodiment of the present application. As shown in fig. 4, for each second block chain node, before the second block chain node sends the first tag value to the first block chain node, the method further comprises:
s301: the second blockchain node sends an authorization request transaction to the user node.
Correspondingly, the user node receives an authorization request transaction sent by the second blockchain node, and the authorization request transaction is used for requesting authorization to send the first tag value to the first blockchain node.
S302: the user node generates an authorized license transaction in response to an authorization operation by the user.
In this step, after receiving the authorization request transaction sent by the second blockchain node, the user node receives an authorization operation performed by the target user on the user node, and generates an authorization permission transaction according to the authorization operation of the user, where the authorization operation may be any operation input by the user through a human-computer interaction interface. Wherein the authorization grant transaction is to authorize transmission of the first tag value to the first blockchain node.
S303: the user node sends an authorization grant transaction to the second block link.
Accordingly, the second block link node receives the authorization grant transaction sent by the user node.
Further, after the second blockchain node receives the authorization permission transaction, a first tag value is sent to the first blockchain node; if the second blockchain node does not receive the authorized permission transaction sent by the target user through the user node, the first tag value cannot be sent to the first blockchain node. For example, if the first blockchain node requests to acquire the first tag values corresponding to the tag names of the multiple target users, the first tag value corresponding to the user node that has sent the authorized permission transaction is sent to the first blockchain node, and the first tag value corresponding to the user node that has not sent the authorized permission transaction is not sent.
For example, steps S301 to S303 are executed before step S202, may be executed after step S202, or may be executed simultaneously with step S202, which is not limited in this application. When steps S301 to S303 are performed before step S202, if the user node does not send an authorized permission transaction, it is not necessary to determine the first tag value according to the tag name, which reduces system consumption; when steps S301 to S303 are executed simultaneously with step S202, time for transmitting the first tag value is saved, and efficiency is improved; when steps S301 to S303 are executed after step S202, if the first tag value cannot be obtained according to the tag name, unnecessary authorization request transactions are prevented from being initiated to the user node, and user experience is improved.
In the embodiment of the application, the authorization request transaction is initiated to the user node corresponding to the target user, and after the authorization permission transaction of the user node is received, the first label value is sent to the first block link node, so that the user information is protected.
On the basis of the above embodiment, in order to obtain a reliable user tag, it is necessary to determine whether the second block link point can provide an accurate and reliable tag value, so as to avoid that the second block link point maliciously provides a false user tag value, which affects the accuracy of the user representation.
Fig. 5 is a flowchart illustrating a user information processing method according to an embodiment of the present application. As shown in fig. 5, before the first blockchain node sends the query request transaction to the at least one second blockchain node, the method further comprises:
s401: at least one stored transaction corresponding to the tag name is obtained.
Wherein the store transaction is used to store the tag name to the blockchain.
Illustratively, the tag names are determined for one or more second blockchains based on respective stored user information, and the second blockchain link points store the tag names in the blockchains via a storage transaction.
In this step, the first tile link point obtains all the storage transactions through the tag name, and the number of the storage transactions may be one or more.
S402: for each storage transaction, a transaction sending node for the storage transaction is determined.
In this step, the first block link point determines the transaction sending node that sends each storage transaction, i.e., at least one transaction sending node is obtained.
S403: it is determined whether the credit of the transaction sending node is greater than a preset value.
To ensure that the first tag value is trueThe method is practical and reliable, and firstly, whether the credit degree of a transaction sending node is greater than a preset value needs to be determined. For example, the credit of the transaction sending node may be determined based on at least one of the richness a of the user tag, the average score c of the tag value, the number c of cooperating user information providers, and the number d of transactions with the user information demander, and optionally, the credit of the transaction sending node may be determined by a formula
And (4) calculating.
S404: and determining the transaction sending node with the credit degree larger than the preset value as a second blockchain node.
In this step, the transaction sending node with the credit degree greater than the preset value may be used as the second blockchain node, and the transaction sending node with the credit degree less than or equal to the preset value is not used as the second blockchain node. Further, the first blockchain node only sends an inquiry request transaction request to at least one second blockchain node with the credit degree greater than the preset value to inquire the first label value, and does not need to obtain the label value provided by the transaction sending node with the credit degree less than or equal to the preset value.
In the embodiment of the application, before the query request transaction is sent to at least one second block chain node, the transaction sending node with the credit degree larger than the preset value is selected as the second block chain node from a plurality of transaction sending nodes which store the label names of target users to the block chain, so that the problem that the user information with lower credit degree provides a first label value with low reliability to the first block chain node, and the user portrait is inaccurate is avoided.
On the basis of the above embodiments, the embodiments of the present application provide an implementation manner as shown in fig. 6 for how to perform separate storage of a user tag to ensure information security of a user:
fig. 6 is a flowchart illustrating a user information processing method according to an embodiment of the present application. As shown in fig. 6, before each second blockchain node receives the query request transaction sent by the first blockchain node, the method further includes:
s501: and acquiring user information of the target user.
Illustratively, the second block link point acquires the user information of the target user by receiving any interactive operation performed by the target user, or the second block link point may also receive the user information sent by other devices.
It should be understood that the second blockchain node may simultaneously obtain the user information of a plurality of users, which should include the target user.
S502: according to the user information, a tag name and a corresponding first tag value of the target user are determined.
For example, the second tile chain node obtains the tag names and corresponding tag values of a plurality of users by analyzing the user information, where the plurality of users includes the target user, and the tag values of the plurality of users should also include the first tag value corresponding to the tag name of the target user, optionally, the tag name of each user may be one or more, and accordingly, the tag value of each user may also be one or more.
S503: the tag name is stored in the blockchain and the first tag value is stored in the database.
Illustratively, the second blockchain node sends the obtained tag names of the multiple users to the blockchain through multiple storage transactions, so as to store the tag names to the blockchain, and at the same time, the tag value corresponding to each tag name is stored in the local database of the second blockchain node.
On the basis of the above embodiment, the embodiment of the present application further charges, by the pricing node, the monetary value of the first block chain node according to the first tag value received by the first block chain node, and pays the monetary value to at least one second block chain node.
Fig. 7 is a flowchart illustrating a user information processing method according to an embodiment of the present application. As shown in fig. 7, the method includes:
s601: and the pricing node generates payment request transaction through the intelligent contract after the at least one second blockchain node sends the first label value to the first blockchain node.
For example, the pricing node may detect, via the smart contract, that at least one second blockchain node sends the first tag value to the first blockchain node, and upon completion of the sending, generate a payment request transaction.
The pricing node can be located in the same blockchain network with the first blockchain node and the second blockchain node, or to increase the operation rate, the pricing node can be located in another blockchain network and performs data interaction with the first blockchain node or the second blockchain node through an interaction mode among blockchains.
It should be understood that the payment request transaction is used for requesting the first block chain link node to pay the billing information, where the billing information includes the number of the first tag values and the value of the first tag values sent by each second block chain node, and optionally, the billing information may further include a total billing amount, where the total billing amount is a product of the number of the first tag values and the value of the first tag values, and if there are first tag values with different values, the billing amounts of the first tag values of each value are calculated respectively, and then the billing amounts are added to obtain the total billing amount.
For example, the value of the first tag value of different second blockchain nodes may be different, for example, the value of the first tag value is related to the credit of the second blockchain node, and the higher the credit of the second blockchain node is, the higher the value of the first tag value is, whereas the lower the credit of the second blockchain node is, the lower the value of the first tag value is, and for example, the value of the first tag value may be obtained by multiplying a preset initial pricing by a credit ratio, where the credit ratio is a ratio of the credit of the corresponding second blockchain node to a standard credit.
S602: the pricing node sends a payment request transaction to the first block node.
Accordingly, the first block link node receives the payment request transaction sent by the pricing node.
S603: the first block link point generates a payment transaction based on the billing information.
The payment transaction is used for sending a corresponding monetary value to the pricing node according to the bill information, and illustratively, the first blockchain node generates the payment transaction according to the total amount of the bill in the bill information, and the total amount of the bill can be calculated according to the number of the first tags and the value of the first tags.
For example, before the payment transaction is generated by the first block chain node, the number of the first tag value sent by each second block chain node in the bill information may be confirmed, and after the number of the first tag value is determined, the payment request transaction is sent to the pricing node, so that the corresponding monetary value is sent to the pricing node.
S604: the first blockchain node sends a payment transaction to the pricing node.
Accordingly, the pricing node receives the payment transaction sent by the first blockchain node.
S605: the pricing node sends a transfer transaction to each second block link.
Correspondingly, each second block chain link point receives the transfer transaction sent by the pricing node, and the transfer transaction is used for sending corresponding currency values to the second block chain link points according to the number of the first label values sent by the second block chain nodes and the value of the first label values.
In this step, the pricing node calculates, according to the number of the first tag values sent to the first block chain node by each second block chain node and the value of the corresponding first tag values, a monetary value that each second block chain node should obtain, and sends a corresponding monetary value to each second block chain node.
The method and the device for processing the currency value send the currency value to the second block chain node according to the quantity of the first label value sent by the first block chain node and the quantity of the first label value sent by the second block chain node to the first block chain node through the pricing node, and generate the payment request transaction including the bill information after the payment request transaction is completed.
Fig. 8 is a schematic structural diagram of a blockchain node 800 according to an embodiment of the present application, and as shown in fig. 8, the blockchain node 800 includes:
a transceiving unit 810, configured to send an inquiry request transaction to at least one second blockchain node, where the inquiry request transaction is used to request to inquire a first tag value corresponding to a tag name of a target user, where the tag name is pre-stored in the blockchain, and the first tag value is pre-stored in the corresponding second blockchain node;
the transceiving unit 810 is further configured to receive at least one first tag value transmitted by at least one second blockchain node;
a processing unit 820 for determining a user representation of the target user based on the at least one first tag value.
A tile link point 800 provided in this embodiment includes a transceiver unit 810 and a processing unit 820, where a first tile link point sends, for a tag name of a target user, an inquiry request transaction to at least one second tile link point, and requests the at least one second tile link point to provide a first tag value corresponding to the tag name of the target user, the second tile link point sends, in response to the request transaction of the first tile link node, the first tag value to the first tile link node, and the first tile link point determines a user portrait of the target user according to the received at least one first tag value. The user information is protected by the separated storage of the user tags, multi-dimensional tag names can be provided for the user information demanders based on the separated storage of the user tags, the privacy of users does not need to be leaked, and a foundation is provided for the accurate user portrait determination of the first block chain link points.
In one possible design, processing unit 820 is further configured to:
acquiring user information of a target user;
determining at least one second tag value corresponding to the tag name according to the user information;
and fusing the at least one first label value and the at least one second label value through a portrait fusion model to obtain a user portrait of the target user.
In one possible design, processing unit 820 may also be used for
Obtaining at least one storage transaction corresponding to the tag name, the storage transaction being used to store the tag name to the blockchain;
for each storage transaction, determining a transaction sending node of the storage transaction;
determining whether the credit degree of a transaction sending node is greater than a preset value;
and determining the transaction sending node with the credit degree larger than the preset value as a second blockchain node.
In one possible design, the transceiver unit 810 is further configured to receive a payment request transaction sent by the pricing node, where the payment request transaction is used to request payment for the billing information, and the billing information includes the number of the first tag values and the value of the first tag values sent by each second blockchain node; the processing unit 820 is further configured to generate a payment transaction according to the bill information, where the payment transaction is configured to send a corresponding monetary value to the pricing node according to the bill information; the transceiving unit 810 is further configured to send a payment transaction to the pricing node.
The block link point provided in this embodiment can be used to implement the method on the first block link node side in any of the above embodiments, and the implementation effect is similar to that of the method embodiment, and is not described herein again.
Fig. 9 is a schematic structural diagram of a block link point 900 according to an embodiment of the present application, where as shown in fig. 9, the block link point 900 includes:
a transceiving unit 910, configured to receive an inquiry request transaction sent by a first blockchain node, where the inquiry request transaction is used to request to inquire a first tag value corresponding to a tag name of a target user, where the tag name is pre-stored in a blockchain, and the first tag value is pre-stored in a corresponding second blockchain node;
a processing unit 920 for determining a first tag value based on the tag name;
the transceiving unit 910 is further configured to transmit the first tag value to the first blockchain node.
In a possible design, the processing unit 920 is specifically configured to perform matching in a database according to the tag name and the corresponding relationship between the tag name and the tag value, so as to obtain the first tag value.
In one possible design, processing unit 920 is further configured to:
acquiring user information of the target user;
determining a tag name and a corresponding first tag value of the target user according to the user information;
storing the tag name in a blockchain and storing the first tag value in a database.
In one possible design, the transceiving unit 910 is further configured to send an authorization request transaction to a user node, the authorization request transaction being configured to request authorization to send the first tag value to the first blockchain node; the transceiving unit 910 is further configured to receive an authorization permission transaction sent by the user node; the authorization grant transaction is to authorize sending the first tag value to the first blockchain node.
In a possible design, the transceiving unit 910 is further configured to receive a transfer transaction sent by a pricing node, where the transfer transaction is configured to send a corresponding monetary value to the second blockchain node according to the number of the first tag values sent by the second blockchain node and the value of the first tag values;
the block link point provided in this embodiment can be used to implement the method on the second block link node side in any of the above embodiments, and the implementation effect is similar to that of the method embodiment, and is not described herein again.
Fig. 10 is a schematic structural diagram of a block link point 1000 according to an embodiment of the present application, and as shown in fig. 10, the block link point 1000 further includes:
the processing unit 1010 is configured to generate, through an intelligent contract, a payment request transaction after at least one second blockchain node sends the first tag value to the first blockchain node, where the payment request transaction is used to request the first blockchain node to pay for billing information, and the billing information includes the number of the first tag values sent by each second blockchain node and a value of the first tag values;
a transceiver unit 1020 for sending a payment request transaction to the first block link point;
receiving payment transaction sent by the first block chain node, wherein the payment transaction is used for sending a corresponding monetary value to the pricing node according to the bill information;
the transceiver unit 1020 is further configured to send a transfer transaction to each second block link point, where the transfer transaction is configured to send a corresponding monetary value to the second block link point according to the number of the first tag values and the value of the first tag values sent by the second block link points.
The block link point provided in this embodiment can be used to implement the method on the pricing node side in any of the above embodiments, and its implementation effect is similar to that of the method embodiment, and is not described here again.
Fig. 11 is a schematic structural diagram of a block link point 1100 according to an embodiment of the present disclosure, and as shown in fig. 11, the block link point 1100 further includes:
a transceiving unit 1110, configured to receive an authorization request transaction sent by a second blockchain node, where the authorization request transaction is used to request authorization to send a first tag value to a first blockchain node;
a processing unit 1120 for generating an authorized authorization transaction for authorizing transmission of the first tag value to the first block link point in response to an authorized operation by a user
The transceiver unit 1110 is further configured to send an authorization grant transaction to the second blockchain node.
The block link point provided in this embodiment can be used to implement the method of the user node side in any of the above embodiments, and the implementation effect is similar to that of the method embodiment, and is not described here again.
Fig. 12 is a schematic hardware structure diagram of a node 1200 of a block chain according to an embodiment of the present disclosure. As shown in fig. 12, in general, block link point 1200 includes: a processor 1201 and a memory 1202.
The processor 1201 may include one or more processing cores, such as a 4-core processor, an 8-core processor, or the like. The processor 1201 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 901 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 1201 may be integrated with a GPU (Graphics Processing Unit) that is responsible for rendering and drawing content that the display screen needs to display. In some embodiments, the processor 1201 may further include an AI (Artificial Intelligence) processor for processing a computing operation related to machine learning.
Memory 1202 may include one or more computer-readable storage media, which may be non-transitory. Memory 1202 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 1202 is used to store at least one instruction for execution by processor 1201 to implement a method of any of a first blockchain node side, a second blockchain node side, a pricing node side, or a user node side provided by method embodiments herein.
Optionally, as shown in fig. 12, the block link point 1200 may further include a transceiver 1203, and the processor 1201 may control the transceiver 1203 to communicate with other devices, and specifically, may transmit information or data to the other devices or receive information or data transmitted by the other devices.
The transceiver 1203 may include a transmitter and a receiver, among other things. The transceiver 1203 may further include one or more antennas.
Optionally, the block link point 1200 may implement a corresponding process completed by the information distribution node in each method in the embodiment of the present application, and for brevity, details are not described here again.
Those skilled in the art will appreciate that the architecture shown in fig. 12 does not constitute a limitation of blockchain node 1200, and may include more or fewer components than shown, or combine certain components, or employ a different arrangement of components.
Embodiments of the present application also provide a non-transitory computer-readable storage medium, where instructions in the storage medium, when executed by a processor of a node of a blockchain, enable the blockchain node to perform the method provided by the above embodiments.
The computer-readable storage medium in this embodiment may be any available medium that can be accessed by a computer or a data storage device such as a server, a data center, etc. that is integrated with one or more available media, and the available media may be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., SSDs), etc.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The embodiment of the present application also provides a computer program product containing instructions, which when run on a computer, causes the computer to execute the method provided by the above embodiment.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.