CN110990486A - Block link evidence issuing and storing method and device based on network data interaction - Google Patents

Block link evidence issuing and storing method and device based on network data interaction Download PDF

Info

Publication number
CN110990486A
CN110990486A CN201911200945.7A CN201911200945A CN110990486A CN 110990486 A CN110990486 A CN 110990486A CN 201911200945 A CN201911200945 A CN 201911200945A CN 110990486 A CN110990486 A CN 110990486A
Authority
CN
China
Prior art keywords
data interaction
application node
certificate
issuing
node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911200945.7A
Other languages
Chinese (zh)
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.)
Beijing Mingzhixing Technology Co Ltd
Original Assignee
Beijing Mingzhixing Technology 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 Beijing Mingzhixing Technology Co Ltd filed Critical Beijing Mingzhixing Technology Co Ltd
Priority to CN201911200945.7A priority Critical patent/CN110990486A/en
Publication of CN110990486A publication Critical patent/CN110990486A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention provides a block link evidence issuing and storing method and device based on network data interaction. The method comprises the steps of obtaining a node quantization index according to storage information of data interaction of an application node; if the preset certification issuing triggering condition is met, calling a certification issuing contract to the block chain corresponding to the certification issuing triggering condition; the method and the device for distributing the certificates in the block chain system calculate and obtain the number of the certificates which are distributed through the certificate distribution algorithm in the certificate distribution contract, indicate the block chain and send the certificates which are distributed to the user accounts corresponding to the application nodes.

Description

Block link evidence issuing and storing method and device based on network data interaction
Technical Field
The invention relates to the technical field of data processing, in particular to a block link evidence issuing and storing method and device based on network data interaction.
Background
The future society is a digital society, and forms a valuable internet based on a block chain technology. The digital certificate is based on the inherent and intrinsic value medium of the economic system and serves the entity economy. In digital economy, various rights and interests certificates such as tickets, points, contracts, certificates, point cards, securities, rights, qualifications and the like can be certified and put into a block chain for circulation.
E-commerce, internet education, knowledge payment-like applications, including some social applications, are also under or are under consideration for certification. Still some products, the application of just starting to produce is based on the block chain, obtains a certain amount of general evidence through "digging the ore" calculation, attracts the user. For example, the certificate issuing of some block chain applications is through "original force value" as an index of mining capacity, but basic information data such as user personal information collection and the number of invited users are used as input of calculation, so that most of certificate issuing data tend to be homogeneous, and the certificate can be acquired through dishonest means such as long-term startup and repeated bill swiping, so that the certificate acquiring method is not fair enough.
Disclosure of Invention
Because the existing method has the problems, the embodiment of the invention provides a block link voucher issuing and voucher storing method and device based on network data interaction.
In a first aspect, an embodiment of the present invention provides a block chaining credential issuing and depositing method based on network data interaction, including:
obtaining a node quantization index of an application node according to storage information of data interaction of the application node;
if the application node meets the preset certification issuing triggering condition, calling a certification contract to the block chain corresponding to the certification issuing triggering condition;
and calculating to obtain the number of the certificates according to the certificate issuing triggering condition and the node quantization index of the application node and a certificate issuing algorithm in the certificate issuing contract, and indicating the block chain to send the certificates to the user accounts corresponding to the application node according to the number of the certificates.
Further, the node quantization index of the application node is obtained according to the storage information of the data interaction of the application node; the method specifically comprises the following steps:
obtaining a label quantization index of each application node corresponding to a label through a preset quantization index algorithm according to the storage information of the data interaction of each application node and the label corresponding to the storage information of the data interaction;
and obtaining the node quantization index of each application node according to the label quantization index.
Further, the node quantization index of each application node is obtained according to the storage information of the data interaction of each application node; the method specifically comprises the following steps:
according to the data interaction storage information of each application node and the label corresponding to the data interaction storage information, calculating to obtain a label contribution index and a label demand index of each application node corresponding to the label through a preset contribution index algorithm and a preset demand index algorithm; the label contribution index is used for representing the index of the application node as a data interaction output party, and the label demand index is used for representing the index of the application node as a data interaction receiving party;
and obtaining the node quantization index of each application node according to the label contribution index and/or the label demand index.
Further, the block chaining-based certificate issuing and storing method based on network data interaction further comprises the following steps:
and obtaining the labels with the number of the preset labels corresponding to the data interaction storage information by carrying out preset natural language processing on the data content of the data interaction storage information.
Further, the block chaining-based certificate issuing and saving method based on network data interaction further comprises:
if the judgment result meets the preset certificate storing triggering condition, a certificate storing request is sent to the block chain; wherein the certificate storing request comprises certificate storing data;
and the block chain stores the evidence storing data uplink.
Further, if the judgment result meets the preset certificate storage triggering condition, a certificate storage request is sent to the block chain; wherein, the certificate storing request comprises certificate storing data, and specifically comprises:
if the certificate storage triggering condition is judged to be met, uploading certificate storage data needing to be stored to a distributed storage system to obtain a file identifier corresponding to the certificate storage data;
sending a certificate storing request to the block chain; wherein the certificate storing request comprises the file identification.
In a second aspect, an embodiment of the present invention provides a block chaining voucher issuing and depositing apparatus for the block chaining voucher issuing and depositing method based on network data interaction as described above, including:
the index calculation module is used for obtaining the node quantization index of the application node according to the storage information of the data interaction of the application node;
the system comprises a certificate issuing triggering module, a certificate issuing module and a certificate issuing module, wherein the certificate issuing triggering module is used for calling a certificate issuing contract to a block chain corresponding to a preset certificate issuing triggering condition if the application node meets the preset certificate issuing triggering condition;
and the evidence obtaining calculation module is used for calculating the evidence obtaining quantity through a evidence obtaining and issuing algorithm in the evidence obtaining contract according to the evidence obtaining and issuing triggering condition and the node quantization index of the application node, and indicating the block chain to send the evidence to the user account corresponding to the application node according to the evidence obtaining quantity.
Further, the index calculation module is specifically configured to:
obtaining a label quantization index of each application node corresponding to a label through a preset quantization index algorithm according to the storage information of the data interaction of each application node and the label corresponding to the storage information of the data interaction;
and obtaining the node quantization index of each application node according to the label quantization index.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
a processor, a memory, a communication interface, and a communication bus; wherein the content of the first and second substances,
the processor, the memory and the communication interface complete mutual communication through the communication bus;
the communication interface is used for information transmission between communication devices of the electronic equipment;
the memory stores computer program instructions executable by the processor, the processor invoking the program instructions to perform a method comprising:
obtaining a node quantization index of an application node according to storage information of data interaction of the application node;
if the application node meets the preset certification issuing triggering condition, calling a certification contract to the block chain corresponding to the certification issuing triggering condition;
and calculating to obtain the number of the certificates according to the certificate issuing triggering condition and the node quantization index of the application node and a certificate issuing algorithm in the certificate issuing contract, and indicating the block chain to send the certificates to the user accounts corresponding to the application node according to the number of the certificates.
In a fourth aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following method:
obtaining a node quantization index of an application node according to storage information of data interaction of the application node;
if the application node meets the preset certification issuing triggering condition, calling a certification contract to the block chain corresponding to the certification issuing triggering condition;
and calculating to obtain the number of the certificates according to the certificate issuing triggering condition and the node quantization index of the application node and a certificate issuing algorithm in the certificate issuing contract, and indicating the block chain to send the certificates to the user accounts corresponding to the application node according to the number of the certificates.
According to the block chain evidence issuing and storing method and device provided by the embodiment of the invention, the node quantization indexes of each application node are obtained through the storage information of data interaction, and when the application nodes meet the evidence issuing triggering condition, the application evidence is sent to the application nodes according to the evidence passing quantity obtained by calculating the node quantization indexes, so that the evidence passing distribution mechanism is more open and scientific, the method for calculating the working evidence in the traditional block chain evidence generation and calculating a large amount of time to start up and issue the evidence is fundamentally solved, the high energy consumption waste of a block chain system is avoided, and the good digital economic system ecology is favorably constructed.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a flowchart of a block chaining pass certificate issuing and saving method based on network data interaction according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a block chaining certification issuing and depositing system based on network data interaction according to an embodiment of the present invention;
fig. 3 is a flowchart of another block chaining ticket issuing and saving method based on network data interaction according to an embodiment of the present invention;
fig. 4 is a flowchart of a block chaining pass certificate issuing and saving method based on network data interaction according to another embodiment of the present invention;
fig. 5 is a schematic structural diagram of another block chaining certification issuing and depositing system based on network data interaction according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a block chaining credential issuance and storage device for network-based data interaction according to an embodiment of the present invention;
fig. 7 illustrates a physical structure diagram of an electronic device.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. 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 invention.
Fig. 1 is a flowchart of a block chain voucher issuing and depositing method based on network data interaction according to an embodiment of the present invention, and fig. 2 is a schematic structural diagram of a block chain voucher issuing and depositing system based on network data interaction according to an embodiment of the present invention, as shown in fig. 1, the method includes:
and step S01, obtaining the node quantization index of the application node according to the storage information of the data interaction of the application node.
The block chain-based certificate issuing and storing system of the embodiment of the invention mainly comprises: the system comprises a block chain certificate storing and distributing server, a service background for short, at least one block chain and application nodes corresponding to user accounts of the block chains. As shown in fig. 2, the service background is connected to the blockchain 1 and the blockchain 2, and the service background is connected to the n application nodes. Each application node can establish a corresponding user account in each block chain according to actual needs.
The service background monitors each application node, processes the business logic of data interaction of the application nodes, and stores and traces the key information on the block chain. Taking the intellectual property system as an example, the data interaction mainly refers to the authorization or transfer transaction event of the patent right.
And the service background calculates a Proof of Value (POV) and a node quantization index of an active program for representing each application node in a certificate issuing and storing system according to the recorded storage information of the data interaction of the application nodes.
Each application node can be registered and set in each block chain according to actual needs, so that a user account corresponding to the application node in the block chain is created, and an account address is allocated. The user account is a digital key and an address for determining ownership, and plays a role in managing private keys, addresses and blockchain data.
Because the account creation of the user is a time-consuming process, the certificate issuing and storing system can generate accounts in batches in advance, and when the user registers, unused accounts are automatically selected for binding. The previously generated empty account is a blockchain account, which is essentially a pair of public and private keys, the public key generating an account address, and the private key being accessible. Then the system binds with the private key when registering the user, which is equivalent to the account assigned with the block chain. The private key exists, namely a json format keystore file, and is stored on the service background when being generated in batches.
And step S02, if the application node meets the preset trigger condition for issuing the pass certificate, calling a pass certificate contract to the block chain corresponding to the trigger condition for issuing the pass certificate.
The basic characteristics of the application certificate passing issued by the block chain can be preset according to actual needs by the certificate passing issuing and storing system, and the basic characteristics comprise: name, identification, amount issued, credential issuance trigger, etc., and writes these base characteristics to the credential contract. The permit is deployed onto the blockchain at the beginning of the building and running of the blockchain. The block chain may be a federation chain. As shown in fig. 2, the blockchain 1 and the blockchain 2 respectively store corresponding certification contracts.
The specific deployment process can be performed by calling an interface through an administrator account, and a certain bottom-layer certificate needs to be consumed during the period: such as bitcoin, etherhouse, EOS, etc. Parameters of the deployment interface are a block chain server address URL, an account name and an account password, and the interface returns a contract address for use in subsequently calling a contract.
The service background stores the corresponding certificate issuing triggering conditions of each block chain for triggering certificate issuing. Whether the application nodes meet preset pass certificate issuing triggering conditions or not is judged through monitoring of the application nodes, and the pass certificate issuing triggering conditions can be set to be various issuing types according to actual needs of the block chains. And if any application node meets any preset certification-passing issuing triggering condition, calling the stored certification-passing contract from the corresponding block chain.
Step S03, according to the triggering condition of the certificate issuing and the node quantization index of the application node, obtaining the number of certificates issued by calculation through a certificate issuing algorithm in the certificate issuing contract, and indicating the block chain to send the certificates issued to the user account corresponding to the application node according to the number of the certificates issued.
And the service background calculates the pass number T of the application pass issued this time through a pass issuing algorithm in the pass contract. Wherein the passport issuance algorithm may be expressed as follows:
T=F(C,V);
as can be seen, the number T of issued passes depends on the pass issuing trigger condition C currently satisfied by the application node and the node quantization index V corresponding to the application node.
And the service background sends a certification issuing request to the corresponding block chain, so that the block chain issues application certification of a certification amount T to the user account corresponding to the application node, the issuing of the certification is closely related to the value certification and the activity degree of the user account in a certification issuing and storing system, and the certification is not acquired by dishonest evidence acquiring means such as long-term startup or repeated bill swiping.
According to the embodiment of the invention, the node quantization indexes of each application node are obtained through the storage information of data interaction, and when the application nodes meet the triggering condition of issuing the certificates, the application certificates are sent to the application nodes according to the number of the certificates obtained by calculating the node quantization indexes, so that the certificate issuing distribution mechanism is more open and scientific, the high energy consumption waste of a block chain system is avoided, and the good digital economic system ecology is favorably constructed.
Fig. 3 is a flowchart of another block chaining ticket issuing and saving method based on network data interaction according to an embodiment of the present invention, and as shown in fig. 3, the step S01 specifically includes:
step S011, obtaining the label quantization indexes of the application nodes corresponding to the labels through a preset quantization index algorithm according to the storage information of the data interaction of the application nodes and the labels corresponding to the storage information of the data interaction.
When data interaction occurs among the application nodes, the service background performs data preprocessing on data content contained in the data interaction to obtain at least one label corresponding to the data content, and stores the label in the storage information, so as to obtain the label corresponding to the storage information of the data interaction.
And obtaining a relation matrix corresponding to the label according to the storage information of the data interaction containing the same label and the output and receiving relation in the data interaction process. For example, the storage information of the data interaction is that, when the application node a sends a certain data content to the application node B, the application node a is an output side of a label corresponding to the certain data content, and the application node B is a receiving side of the label corresponding to the certain data content. Taking intellectual property as an example, the application node a authorizes or transfers the patent D to the application node B, and the data preprocessing on the content of the patent D can obtain the corresponding label 1 and label 2 corresponding to the patent D, so that the application node a is the output side of the label 1 and label 2, and the application node B is the receiving side of the label 1 and label 2.
And then, obtaining the label quantization indexes of the application nodes corresponding to the labels according to a preset quantization index algorithm, and obtaining the quantization ranking of the application nodes under the labels according to the size of the indexes, wherein the higher the ranking is, the more active the application node corresponding to the label is.
Further, before the step S011, the block chain voucher issuing and saving method based on network data interaction further includes:
and S010, performing preset natural language processing on the data content of the data interaction storage information to obtain the labels with the preset label quantity corresponding to the data interaction storage information.
There are many methods that can be used to pre-process data content, and natural language processing is merely exemplified here. The data content is analyzed by natural language, and keywords are extracted as tags. The specific extraction mode may be obtained by constructing different extraction models according to different fields and performing training, or may be obtained by using a keyword ranking algorithm in natural language processing, and obtaining a preset number of top-ranked keywords, for example, 5 keywords, as tags corresponding to the data content, which is not specifically limited herein.
And step S012, obtaining the node quantization index of each application node according to the label quantization index.
The node quantization index of the application node is obtained by further analyzing the label quantization indexes corresponding to the labels under the application node, for example, the node quantization index of the application node can be obtained by performing weighted average on a plurality of label quantization indexes with the highest numerical values, and the node quantization index can be specifically set according to actual needs.
According to the embodiment of the invention, the label quantization indexes corresponding to the labels are obtained through the labels corresponding to the data interaction storage information which are obtained in advance, and then the node quantization indexes of the application nodes are further obtained, so that the node quantization indexes can be more scientifically and reasonably obtained and used for evidence-based distribution.
Fig. 4 is a flowchart of a block chaining ticket issuing and saving method based on network data interaction according to another embodiment of the present invention, and as shown in fig. 4, the step S01 specifically includes:
step S013, according to the data interaction storage information of each application node and the labels corresponding to the data interaction storage information, calculating the label contribution index and the label demand index of each application node corresponding to the labels through a preset contribution index algorithm and a preset demand index algorithm; the label contribution index is used for representing the index of the application node as a data interaction output party, and the label demand index is used for representing the index of the application node as a data interaction receiving party.
According to the output and receiving relation of data interaction, an output party of the data interaction is considered to contribute to the corresponding landmark, and a receiving party of the data interaction is considered to form a demand for the corresponding landmark, so that when the quantitative index of the label is calculated, the label contribution index for representing the contribution degree of the application node to the label and the label demand index for representing the application node to a label demand program can be calculated according to a contribution index algorithm and a demand index algorithm respectively.
The contribution index algorithm and the demand index algorithm can be set according to actual needs, such as a method for establishing a service index library and a service searching method based on a social network, and the invention patent number is as follows: CN104182483A, a service sequencing and recommending method and system based on social network interaction data, patent number: CN 104199843A. Only one of which is given here by way of example:
applying label contribution index of node i
Figure BDA0002295857500000091
Label demand index for application node i
Figure BDA0002295857500000092
Wherein, δ is a preset damping coefficient, which represents the probability of the application node i sending to the application node j, the value is between 0 and 1, and can be set according to the network characteristics of different block chains, cjThe number of objects externally connected by the application node j in the block chain, and the number of application nodes potentially capable of being used as a receiver when the application node j is used as a data interaction output party, cj' is the number of objects connected by the application node j in the blockchain, and is also the number of potential application nodes that can be used as output sides when the application node j is used as a receiving side.
And step S014, obtaining a node quantization index of each application node according to the label contribution index and/or the label demand index.
And obtaining the node quantization index of each application node according to the obtained label contribution index and label demand index. Specifically, the node quantization index may directly adopt a tag contribution index or a tag demand index, or may be obtained by performing weighted summation or the like on the tag demand index of the tag contribution index, and may be set according to actual needs.
According to the embodiment of the invention, the label contribution index and the label demand index are respectively obtained according to the output and receiving relation in data interaction, and then the node quantization index is further obtained, so that the active program of the application node can be more accurately analyzed, and the more scientific and reasonable node quantization index is obtained and is used for calculating the number of the certificates.
Fig. 5 is a schematic structural diagram of another block chain voucher issuing and depositing system based on network data interaction according to an embodiment of the present invention, and based on the above embodiment, the block chain voucher issuing and depositing method based on network data interaction further includes:
step S04, if the preset certificate storing triggering condition is judged to be met, a certificate storing request is sent to the block chain; wherein the certificate storing request comprises certificate storing data;
and step S05, the block chain stores the chain of the evidence storage data.
The block chain is also pre-deployed with a certificate-storing contract for performing uplink storage on key certificate-storing data on the block chain so as to ensure that all certificate-storing data are stored in a distributed manner on the block chain, and the integrity and the effectiveness of the certificate-storing data are ensured through an asymmetric encryption and signature mechanism. For example, for an intellectual property system, including a patent authorization or transfer transaction event: content of patent rights, parties to the transaction, price of the transaction, time of the transaction, etc.
The evidence storage data covers the related data for calculating the node quantization index, ensures that each piece of related data can be traced, ensures the authenticity and integrity of the data, and technically ensures that the quantization calculation process has the trust characteristic of going to the center.
The specific certificate storage triggering is judged by the service background according to a preset certificate storage triggering condition, and if the judgment meets the certificate storage triggering condition, a certificate storage request is sent to the block chain. And the block chain calls a storage contract and stores the chain storage data in the storage request.
Further, the step S04 specifically includes:
and S041, if the preset certificate storage triggering condition is met, uploading the certificate storage data needing certificate storage to a distributed storage system to obtain a file identifier corresponding to the certificate storage data.
Step S042, sending a certificate storing request to the block chain; wherein the certificate storing request comprises the file identification.
Since the process of performing uplink storage by the blockchain needs to consume the bottom layer certificate and the storage space of the blockchain is limited, in order to save the consumption of the bottom layer certificate and the storage space of the blockchain, for the storage data including the large certificate storing file, the service background may store the certificate storing file to the distributed storage system IPFS shown in fig. 5, and obtain a file identifier corresponding to the certificate storing file, for example, a Hash value, so that the corresponding certificate storing file may be obtained from the distributed storage system according to the file identifier.
At this time, the certificate storing request sent by the service background to the block chain may include the file identifier and characteristic information of the certificate storing file, such as an author, a unit, and publication time of the file.
A specific example of the credentialing process is given below:
1. and deploying the storage and verification contract on the block chain, returning a storage and verification contract address, and deploying and storing the storage and verification contract on the block chain at the beginning of system operation, wherein the storage and verification contract address is the same as the verification contract.
2. The front-end application (e.g., WeChat, APP, browser, etc.) uses the HTML form to collect the relevant information of the certified file entered by the user, such as the file name, file description, file picture, file, etc. Different corresponding related information of different certificate issuing and storing systems. For intellectual property rights such as patents, it shall be the name of the patent, the applicant, the publication number, the classification number, the text of the patent.
3. And the service background uploads the certificate storage file to the IPFS.
4. And receiving a link Hash value corresponding to the returned uploaded content, and storing the link Hash value in a service background.
5. And the service background calls a verification contract through the verification contract address to store the characteristic information of the file and the Hash value which is returned by the IPFS and corresponds to the verification file into the block chain.
6. The service background monitors the block chain event, after the deposit certificate contract successfully stores the deposit certificate into the block chain, an event is triggered, and all relevant information of the deposit certificate can be acquired in the event callback.
7. When the event is triggered, the service background reads the event content and stores the related information into the database of the background service.
8. When a user inquires through the front-end application, the service background reads data and assembles the data according to a certain format. For the file stored in the IPFS, a Hash value corresponding to the file is extracted according to the reading result, and then the file system is accessed through the Hash value positioning.
9. And the query result is displayed in the front-end application.
According to the embodiment of the invention, the key data needing to be certified is subjected to uplink storage on the block chain through the pre-deployed certification contract, so that the integrity, reliability and traceability of the key data are ensured.
Fig. 6 is a schematic structural diagram of a block chaining credential issuing and depositing device for network data interaction according to an embodiment of the present invention, and as shown in fig. 6, the device includes: the system comprises an index calculation module 10, a certificate approval triggering module 11 and a certificate approval calculation module 12; wherein the content of the first and second substances,
the index calculation module 10 is configured to obtain a node quantization index of an application node according to storage information of data interaction of the application node; the certification passing triggering module 11 is configured to, if the application node meets a preset certification passing issuance triggering condition, invoke a certification passing contract to a block chain corresponding to the certification passing issuance triggering condition; the voucher calculation module 12 is configured to calculate, according to the voucher issuance trigger condition and the node quantization index of the application node, a voucher amount through a voucher issuance algorithm in the voucher contract, and instruct the block chain to send a voucher to the user account corresponding to the application node according to the voucher amount.
The index calculation module 10 monitors each application node, processes the service logic of data interaction between the application nodes, and stores and traces the key information on the block chain.
The index calculation module 10 calculates a node quantization index for representing the value proof and the active program of each application node in the certificate issuing and storing system according to the recorded storage information of the data interaction of the application nodes, and sends the node quantization index to the certificate issuing and storing system 12.
Each application node can be registered and set in each block chain according to actual needs, so that a user account corresponding to the application node in the block chain is created, and an account address is allocated. The user account is a digital key and an address for determining ownership, and plays a role in managing private keys, addresses and blockchain data.
Because the account creation of the user is a time-consuming process, the certificate issuing and storing system can generate accounts in batches in advance, and when the user registers, unused accounts are automatically selected for binding. The previously generated empty account is a blockchain account, which is essentially a pair of public and private keys, the public key generating an account address, and the private key being accessible. Then the system binds with the private key when registering the user, which is equivalent to the account assigned with the block chain. The existing private key is a json format keystore file, and is stored in the certification-related triggering module 11 when being generated in batches.
The basic characteristics of the application certificate passing issued by the block chain can be preset according to actual needs by the certificate passing issuing and storing system, and the basic characteristics comprise: name, identification, amount issued, credential issuance trigger, etc., and writes these base characteristics to the credential contract. The permit is deployed onto the blockchain at the beginning of the building and running of the blockchain.
The pass-certificate triggering module 11 stores pass-certificate issuing triggering conditions corresponding to each block chain for triggering pass-certificate issuing, and determines whether the application node meets preset pass-certificate issuing triggering conditions or not by monitoring each application node, wherein the pass-certificate issuing triggering conditions can be set to various issuing types according to actual needs. If any application node meets any preset certification-based issuing triggering condition, the certification-based triggering module 11 calls the stored certification-based contract from the corresponding block chain and sends the contract to the certification-based calculating module 12.
The certification passing calculation module 12 calculates the certification passing amount T of the application certification passing issued this time through a certification passing issuing algorithm in the certification passing contract. Wherein the passport issuance algorithm may be expressed as follows:
T=F(C,V);
as can be seen, the number T of issued passes depends on the pass issuing trigger condition C currently satisfied by the application node 12 and the node quantization index V corresponding to the application node 12.
The evidence-passing calculation module 12 sends a evidence-passing issuing request to the corresponding block chain, so that the block chain issues application evidence of corresponding evidence-passing quantity T to the user account corresponding to the application node, the issuing of the evidence-passing is closely related to the value proof and the activity degree of the user account in the evidence-passing issuing and storing system, and dishonest evidence-obtaining means such as long-term startup or repeated bill-swiping are not required.
The apparatus provided in the embodiment of the present invention is configured to execute the method, and the functions of the apparatus refer to the method embodiment specifically, and detailed method flows thereof are not described herein again.
According to the embodiment of the invention, the node quantization indexes of each application node are obtained through the storage information of data interaction, and when the application nodes meet the triggering condition of issuing the certificates, the application certificates are sent to the application nodes according to the number of the certificates obtained by calculating the node quantization indexes, so that the certificate issuing distribution mechanism is more open and scientific, the high energy consumption waste of a block chain system is avoided, and the good digital economic system ecology is favorably constructed.
Based on the foregoing embodiment, further, the index calculation module is specifically configured to:
obtaining a label quantization index of each application node corresponding to a label through a preset quantization index algorithm according to the storage information of data interaction among the application nodes and the label corresponding to the data interaction storage information;
and obtaining the node quantization index of each application node according to the label quantization index.
When data interaction occurs among the application nodes, the index calculation module performs data preprocessing on data content contained in the data interaction to obtain at least one label corresponding to the data content, and the label is stored in the storage information, so that the label corresponding to the storage information of the data interaction is obtained.
And obtaining a relation matrix corresponding to the label according to the storage information of the data interaction containing the same label and the output and receiving relation in the data interaction process. For example, the storage information of the data interaction is that, when the application node a sends a certain data content to the application node B, the application node a is an output side of a label corresponding to the certain data content, and the application node B is a receiving side of the label corresponding to the certain data content.
And then, obtaining the label quantization indexes of the application nodes corresponding to the labels according to a preset quantization index algorithm, and obtaining the quantization ranking of the application nodes under the labels according to the size of the indexes, wherein the higher the ranking is, the more active the application node corresponding to the label is.
Further, the index calculation module is further configured to:
and obtaining the labels with the number of the preset labels corresponding to the data interaction storage information by carrying out preset natural language processing on the data content of the data interaction storage information.
There are many methods that can be used to pre-process data content, and natural language processing is merely exemplified here. The data content is analyzed by natural language, and keywords are extracted as tags. The specific extraction mode may be obtained by constructing different extraction models according to different fields and performing training, or may be obtained by using a keyword ranking algorithm in natural language processing, and obtaining a preset number of top-ranked keywords, for example, 5 keywords, as tags corresponding to the data content, which is not specifically limited herein.
The node quantization index of the application node is obtained by further analyzing the label quantization indexes corresponding to the labels under the application node, for example, the node quantization index of the application node can be obtained by performing weighted average on a plurality of label quantization indexes with the highest numerical values, and the node quantization index can be specifically set according to actual needs.
The apparatus provided in the embodiment of the present invention is configured to execute the method, and the functions of the apparatus refer to the method embodiment specifically, and detailed method flows thereof are not described herein again.
According to the embodiment of the invention, the label quantization indexes corresponding to the labels are obtained through the labels corresponding to the data interaction storage information which are obtained in advance, and then the node quantization indexes of the application nodes are further obtained, so that the node quantization indexes can be more scientifically and reasonably obtained and used for evidence-based distribution.
Fig. 7 illustrates a physical structure diagram of an electronic device, and as shown in fig. 7, the electronic device may include: a processor (processor)601, a communication Interface (Communications Interface)603, a memory (memory)602 and a communication bus 604, wherein the processor 601, the communication Interface 603 and the memory 602 communicate with each other through the communication bus 604. The processor 601 may call logic instructions in the memory 602 to perform the above-described method.
Further, embodiments of the present invention disclose a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, which, when executed by a computer, enable the computer to perform the methods provided by the above-mentioned method embodiments.
Further, the present invention provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to perform the methods provided by the above method embodiments.
Those of ordinary skill in the art will understand that: furthermore, the logic instructions in the memory 602 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A block link evidence issuing and storing method based on network data interaction is characterized by comprising the following steps:
obtaining a node quantization index of an application node according to storage information of data interaction of the application node;
if the application node meets the preset certification issuing triggering condition, calling a certification contract to the block chain corresponding to the certification issuing triggering condition;
and calculating to obtain the number of the certificates according to the certificate issuing triggering condition and the node quantization index of the application node and a certificate issuing algorithm in the certificate issuing contract, and indicating the block chain to send the certificates to the user accounts corresponding to the application node according to the number of the certificates.
2. The block chaining-based certificate issuing and storing method based on network data interaction as claimed in claim 1, wherein the node quantization index of the application node is obtained according to the storage information of the data interaction of the application node; the method specifically comprises the following steps:
obtaining a label quantization index of each application node corresponding to a label through a preset quantization index algorithm according to the storage information of the data interaction of each application node and the label corresponding to the storage information of the data interaction;
and obtaining the node quantization index of each application node according to the label quantization index.
3. The block chaining pass certificate issuing and saving method based on network data interaction as claimed in claim 1, wherein the node quantization index of each application node is obtained according to the storage information of the data interaction of each application node; the method specifically comprises the following steps:
according to the data interaction storage information of each application node and the label corresponding to the data interaction storage information, calculating to obtain a label contribution index and a label demand index of each application node corresponding to the label through a preset contribution index algorithm and a preset demand index algorithm; the label contribution index is used for representing the index of the application node as a data interaction output party, and the label demand index is used for representing the index of the application node as a data interaction receiving party;
and obtaining the node quantization index of each application node according to the label contribution index and/or the label demand index.
4. The network data interaction-based block chaining ticket issuing and saving method according to claim 3, wherein the network data interaction-based block chaining ticket issuing and saving method further comprises:
and obtaining the labels with the number of the preset labels corresponding to the data interaction storage information by carrying out preset natural language processing on the data content of the data interaction storage information.
5. The network data interaction-based block chaining ticket issuing and saving method according to claim 4, wherein the network data interaction-based block chaining ticket issuing and saving method further comprises:
if the judgment result meets the preset certificate storing triggering condition, a certificate storing request is sent to the block chain; wherein the certificate storing request comprises certificate storing data;
and the block chain stores the evidence storing data uplink.
6. The block chain voucher issuing and voucher storing method based on network data interaction of claim 5, wherein if the block chain voucher issuing and voucher storing method determines that a preset voucher storing triggering condition is met, a voucher storing request is sent to the block chain; wherein, the certificate storing request comprises certificate storing data, and specifically comprises:
if the certificate storage triggering condition is judged to be met, uploading certificate storage data needing to be stored to a distributed storage system to obtain a file identifier corresponding to the certificate storage data;
sending a certificate storing request to the block chain; wherein the certificate storing request comprises the file identification.
7. A blockchain voucher issuance and voucher deposit apparatus for use in the method for blockchain voucher issuance and voucher deposit based on network data interaction as claimed in any one of claims 1 to 6, comprising:
the index calculation module is used for obtaining the node quantization index of the application node according to the storage information of the data interaction of the application node;
the system comprises a certificate issuing triggering module, a certificate issuing module and a certificate issuing module, wherein the certificate issuing triggering module is used for calling a certificate issuing contract to a block chain corresponding to a preset certificate issuing triggering condition if the application node meets the preset certificate issuing triggering condition;
and the evidence obtaining calculation module is used for calculating the evidence obtaining quantity through a evidence obtaining and issuing algorithm in the evidence obtaining contract according to the evidence obtaining and issuing triggering condition and the node quantization index of the application node, and indicating the block chain to send the evidence to the user account corresponding to the application node according to the evidence obtaining quantity.
8. The block chain credential issuance and credential storage device of claim 7, wherein the index calculation module is specifically configured to:
obtaining a label quantization index of each application node corresponding to a label through a preset quantization index algorithm according to the storage information of the data interaction of each application node and the label corresponding to the storage information of the data interaction;
and obtaining the node quantization index of each application node according to the label quantization index.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the steps of the method for block-chaining credential issuance and credential storage based on network data interaction according to any one of claims 1 to 6.
10. A non-transitory computer readable storage medium having stored thereon a computer program, which when executed by a processor, performs the steps of the method for block chaining credential issuance and credentialing based on network data interaction according to any one of claims 1 to 6.
CN201911200945.7A 2019-11-29 2019-11-29 Block link evidence issuing and storing method and device based on network data interaction Pending CN110990486A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911200945.7A CN110990486A (en) 2019-11-29 2019-11-29 Block link evidence issuing and storing method and device based on network data interaction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911200945.7A CN110990486A (en) 2019-11-29 2019-11-29 Block link evidence issuing and storing method and device based on network data interaction

Publications (1)

Publication Number Publication Date
CN110990486A true CN110990486A (en) 2020-04-10

Family

ID=70088319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911200945.7A Pending CN110990486A (en) 2019-11-29 2019-11-29 Block link evidence issuing and storing method and device based on network data interaction

Country Status (1)

Country Link
CN (1) CN110990486A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111541676A (en) * 2020-04-17 2020-08-14 卓尔智联(武汉)研究院有限公司 Data processing method and device
CN112861102A (en) * 2021-03-12 2021-05-28 杭州溪塔科技有限公司 Block chain-based electronic file processing method and system
CN113256423A (en) * 2021-06-11 2021-08-13 武汉龙津科技有限公司 Method and device for setting certificate-passing distribution trigger, electronic equipment and storage medium
CN113810869A (en) * 2020-06-16 2021-12-17 中移物联网有限公司 Upgrade service charging method, device and system
CN114612109A (en) * 2022-05-10 2022-06-10 武汉龙津科技有限公司 Block chain-based digital collection generation method and system and electronic equipment
CN115150149A (en) * 2022-06-28 2022-10-04 北京送好运信息技术有限公司 Method for managing multiple digital certificates of electronic mailbox based on block chain technology

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273410A (en) * 2017-05-03 2017-10-20 上海点融信息科技有限责任公司 Distributed storage based on block chain
CN108712487A (en) * 2018-05-11 2018-10-26 北京奇虎科技有限公司 Logical card distribution method, device and equipment based on block chain
CN109685658A (en) * 2018-12-20 2019-04-26 杭州云象网络技术有限公司 A kind of distribution and operation method based on the logical card of alliance
CN109918445A (en) * 2019-02-01 2019-06-21 立旃(上海)科技有限公司 Digging mine device and method based on block chain
CN109921909A (en) * 2019-02-15 2019-06-21 北京工业大学 The block chain common recognition method and device proved based on contribution
CN110032545A (en) * 2019-03-27 2019-07-19 远光软件股份有限公司 File memory method, system and electronic equipment based on block chain
CN110263035A (en) * 2019-05-31 2019-09-20 阿里巴巴集团控股有限公司 Data storage, querying method and device and electronic equipment based on block chain
JP2019164406A (en) * 2018-03-19 2019-09-26 東京瓦斯株式会社 Rewarding device, method, and program

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273410A (en) * 2017-05-03 2017-10-20 上海点融信息科技有限责任公司 Distributed storage based on block chain
JP2019164406A (en) * 2018-03-19 2019-09-26 東京瓦斯株式会社 Rewarding device, method, and program
CN108712487A (en) * 2018-05-11 2018-10-26 北京奇虎科技有限公司 Logical card distribution method, device and equipment based on block chain
CN109685658A (en) * 2018-12-20 2019-04-26 杭州云象网络技术有限公司 A kind of distribution and operation method based on the logical card of alliance
CN109918445A (en) * 2019-02-01 2019-06-21 立旃(上海)科技有限公司 Digging mine device and method based on block chain
CN109921909A (en) * 2019-02-15 2019-06-21 北京工业大学 The block chain common recognition method and device proved based on contribution
CN110032545A (en) * 2019-03-27 2019-07-19 远光软件股份有限公司 File memory method, system and electronic equipment based on block chain
CN110263035A (en) * 2019-05-31 2019-09-20 阿里巴巴集团控股有限公司 Data storage, querying method and device and electronic equipment based on block chain

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111541676A (en) * 2020-04-17 2020-08-14 卓尔智联(武汉)研究院有限公司 Data processing method and device
CN113810869A (en) * 2020-06-16 2021-12-17 中移物联网有限公司 Upgrade service charging method, device and system
CN112861102A (en) * 2021-03-12 2021-05-28 杭州溪塔科技有限公司 Block chain-based electronic file processing method and system
CN112861102B (en) * 2021-03-12 2024-02-06 杭州溪塔科技有限公司 Method and system for processing electronic file based on block chain
CN113256423A (en) * 2021-06-11 2021-08-13 武汉龙津科技有限公司 Method and device for setting certificate-passing distribution trigger, electronic equipment and storage medium
CN114612109A (en) * 2022-05-10 2022-06-10 武汉龙津科技有限公司 Block chain-based digital collection generation method and system and electronic equipment
CN115150149A (en) * 2022-06-28 2022-10-04 北京送好运信息技术有限公司 Method for managing multiple digital certificates of electronic mailbox based on block chain technology
CN115150149B (en) * 2022-06-28 2024-01-30 北京送好运信息技术有限公司 Method for managing various digital certificates through electronic mailbox based on blockchain technology

Similar Documents

Publication Publication Date Title
CN110990486A (en) Block link evidence issuing and storing method and device based on network data interaction
CN106651303B (en) Intelligent contract processing method and system based on template
CN108805697A (en) Loan transaction processing method and device, computer equipment and readable storage medium
JP2021519488A (en) Systems and methods for using code and images within the blockchain
CN108701309A (en) A kind of distributed user profile authentication system for security of e-commerce transactions
US9325711B2 (en) Apparatus and data processing systems for accessing an object
US11087334B1 (en) Method and system for identifying potential fraud activity in a tax return preparation system, at least partially based on data entry characteristics of tax return content
CN106067134A (en) A kind of network self-service type books are recommended and are purchased and borrow method
CN110622184B (en) Creation, modification and provision of compliance documents
CN112492533B (en) 5G rich media message pushing method and device based on block chain technology
CN108509777A (en) A kind of electric endorsement method, electronic device and computer readable storage medium
CN109949120A (en) It is related to the system and method for digital identity
CN112053271B (en) Public service platform data evidence management method and system based on block chain
CN112862589A (en) Identity verification method, device and system in financial scene
CN113139869A (en) Credit investigation authorization query processing method and device
CN107644263A (en) Method and server are handled in banking reservation
CN108961034A (en) System and method, storage medium based on user behavior certification
CN107291826A (en) File search processing method and processing device
CN112702410B (en) Evaluation system, method and related equipment based on blockchain network
KR20170092516A (en) Cyber bigdata trade system and method
CN110365533B (en) Digital asset transaction method, system and computer readable storage medium
CN116843389A (en) Financial room access control system, method and storage medium
CN108268482A (en) Information-pushing method, device and equipment
CN110417851B (en) Data matching method, hosting platform, storage medium and computer equipment
CN112651820A (en) Case information processing method and device, server 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200410

RJ01 Rejection of invention patent application after publication