CN110083604B - Data right confirming method and device - Google Patents

Data right confirming method and device Download PDF

Info

Publication number
CN110083604B
CN110083604B CN201910309599.XA CN201910309599A CN110083604B CN 110083604 B CN110083604 B CN 110083604B CN 201910309599 A CN201910309599 A CN 201910309599A CN 110083604 B CN110083604 B CN 110083604B
Authority
CN
China
Prior art keywords
information
storage
data
account information
contract
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910309599.XA
Other languages
Chinese (zh)
Other versions
CN110083604A (en
Inventor
曾会
汤松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai yinkun Technology Development Co.,Ltd.
Original Assignee
Shanghai Crispy Network 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 Shanghai Crispy Network Technology Co ltd filed Critical Shanghai Crispy Network Technology Co ltd
Priority to CN201910309599.XA priority Critical patent/CN110083604B/en
Publication of CN110083604A publication Critical patent/CN110083604A/en
Application granted granted Critical
Publication of CN110083604B publication Critical patent/CN110083604B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2255Hash tables
    • 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
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/18Legal services
    • G06Q50/184Intellectual property management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Technology Law (AREA)
  • General Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Software Systems (AREA)
  • Finance (AREA)
  • Data Mining & Analysis (AREA)
  • Tourism & Hospitality (AREA)
  • Health & Medical Sciences (AREA)
  • Accounting & Taxation (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Primary Health Care (AREA)
  • Human Resources & Organizations (AREA)
  • Bioethics (AREA)
  • Computer Hardware Design (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Computing Systems (AREA)
  • Operations Research (AREA)
  • Development Economics (AREA)
  • Storage Device Security (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention provides a data right confirming method and a device, wherein the method comprises the following steps: acquiring account information, and acquiring transaction signature information according to the account information; verifying the transaction signature information and the account information, and if the verification is successful, calling a storage contract through the account information to obtain an index value; and calling a distributed hash table according to the index value and the intelligent contract to determine the right of the stored data. The method comprises the steps of performing distributed storage on stored data through a distributed hash table, using a generated unique hash value of the stored data as an index value, storing the unique hash value into a storage contract, signing a transaction of the storage contract through key information of account information when a user performs data authorization, and obtaining the index value so as to determine that a data owner of the stored data corresponding to the index value is an owner of an account information key, wherein only the owner of the account information key has the authority of accessing the stored data.

Description

Data right confirming method and device
Technical Field
The present invention relates to the field of data encryption technologies, and in particular, to a method and an apparatus for data right determination.
Background
Data becomes more important with the development of internet technology, but at present, a data property right system for standardizing the trading order of the data market is not established. The data right determination is one of core problems of big data application and data transaction, and the data right determination method is used for determining property right attribution of data of different users, promoting data integration, accelerating data sharing and circulation and reducing transaction cost, so that huge data asset value and innovative application are activated, and the data industry is rapidly developed.
The traditional data right certification method is mainly capable of providing a certification material for certifying the attribution of data. For example, the copyright notice means all the proof materials that can prove the copyright ownership. But in practice, the copyright certificate mainly refers to a material such as a copyright registration certificate. Copyright ownership certificates are provided, typically copyright certificates that prove most effective unless explicitly contradicted by evidence. Besides, if the evidence can be fully submitted, the copyright rights can also be proved, but the method for confirming the copyright is very complicated.
Therefore, how to perform data right determination in a more effective and simpler manner has become a problem to be solved in the field.
Disclosure of Invention
Embodiments of the present invention provide a method and an apparatus for data right determination, so as to solve the technical problems mentioned in the foregoing background art, or at least partially solve the technical problems mentioned in the foregoing background art.
In a first aspect, an embodiment of the present invention provides a data right determining method, including:
acquiring account information, and acquiring transaction signature information according to the account information;
verifying the transaction signature information and the account information, and if the verification is successful, calling a storage contract through the account information to obtain an index value;
and calling a distributed hash table according to the index value and the intelligent contract to determine the right of the stored data.
In a second aspect, an embodiment of the present invention provides a data right determining device, including:
the acquisition module is used for acquiring account information and obtaining transaction signature information according to the account information;
the verification module is used for verifying the transaction signature information and the account information, and if the verification is successful, the storage contract is called through the account information to obtain an index value;
and the right confirming module is used for calling a distributed hash table according to the index value and the intelligent contract to access the stored data.
In a third aspect, an embodiment of the present invention provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the data right determining method according to the first aspect when executing the program.
In a fourth aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the data right determining method according to the first aspect.
The data authority confirming method and device provided by the embodiment of the invention perform Distributed storage on stored data through a Distributed Hash Table (DHT), the generated unique Hash value of the stored data is used as an index value and is stored in a storage contract, when a user performs data authority confirmation, the user can perform signature through key information generated by account information so as to acquire the index value, then the stored data corresponding to the index value is called through the index value, namely the unique index value generated during Distributed storage is acquired through a key generated by the account information, so that a data owner of the stored data corresponding to the index value is determined to be an owner of an account information key, and only the owner of the account information key has the authority of accessing the stored data; the embodiment of the invention ensures the ownership of the stored data by the user through the index value in the DHT technology and the property that the distributed storage cannot be tampered.
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 flow chart illustrating a method for data authentication according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating uploading of stored data according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating downloading of stored data according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating a structure of a data right determining apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the invention.
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 data right determination method according to an embodiment of the present invention, as shown in fig. 1, including:
step S1, acquiring account information and obtaining transaction signature information according to the account information;
step S2, the transaction signature information and the account information are verified, if the verification is successful, the storage contract is called through the account information to obtain an index value;
and step S3, invoking a distributed hash table according to the index value and the intelligent contract to determine the right of the stored data.
Specifically, the account information described in the embodiment of the present invention refers to account information controlled by a user using a private key, and any operation of the user on the stored data needs to be signed by using a key generated by the account information, and only a signed transaction can be executed in the distributed storage system and is stored, and a transaction that is not signed cannot be executed.
The account key information described in the embodiments of the present invention refers to account key information obtained through account information.
The storage contract described in the embodiment of the invention refers to a storage contract created by each account information, and the owner of the storage contract is set as the creator of the contract; the Hash value corresponding to the storage data is stored in the storage contract, and the storage contract is created through the account information, so that the storage content in the storage contract can be operated only through the account key information corresponding to the account information or authorized through the account information.
The index value described in the embodiment of the present invention refers to a Hash value corresponding to storage data stored in a storage contract.
The intelligent contracts described in embodiments of the present invention refer to collections of specific functionality and data states stored in a distributed storage system, and only contracts primarily provide a pre-established agreement within the verification and execution contract that allows trusted transactions to be conducted without third parties, which may leave records in the distributed storage system that can be tracked.
Verifying the account information and the transaction signature information, judging whether the account information belongs to the owner of the storage contract, if the account information belongs to the owner of the storage contract, verifying the signature transaction information, if the verification is successful, obtaining the account key information through the account information, signing, and acquiring the index value stored in the storage contract.
And determining the storage data for distributed storage according to the index value according to the pre-established agreement in the intelligent contract, so that the owner of the storage data is determined to be the owner of the account information, and the storage data can be accessed or downloaded only through the account information or after the authorization of the account information.
The data authority confirming method and device provided by the embodiment of the invention have the advantages that the stored data are subjected to distributed storage through the distributed hash table, the generated unique hash value of the stored data is used as an index value and is stored in a storage contract, when a user performs data authority confirmation, whether account information is an owner of the index value or not is verified, and a transaction signature is verified to be legal, the signature can be performed through key information generated by the account information, so that the index value is obtained, then the stored data corresponding to the index value is called through the index value, namely, the unique index value generated during distributed storage is obtained through a key generated by the account information, so that a data owner of the stored data corresponding to the index value is determined to be an owner of the account information key, and only the owner of the account information key has the authority of accessing the stored data; the embodiment of the invention ensures the ownership of the stored data by the user and can also ensure the transaction and circulation of the stored data through the index value and the distributed storage non-falsification characteristic in the DHT technology.
On the basis of the above embodiment, the step of obtaining the transaction signature information according to the account information specifically includes:
obtaining account key information according to the account information;
and signing the intelligent contract transaction according to the account key information to obtain transaction signature information.
Specifically, the account key information described in the embodiments of the present invention refers to account key information obtained through account information, and an account owner may operate the account key information.
When the account owner accesses data, the account owner signs the transaction of the intelligent contract through the account key information of the account information, the transaction signature information is obtained after the signature, the transaction signature information is disclosed in the distributed storage system due to the characteristic of distributed storage, and then the transaction signature information is verified.
The embodiment of the invention utilizes the characteristic of distributed storage, and judges whether the account information for signature has the authority for data access and the like through the transaction signature information generated when the user performs data access and the like, thereby being beneficial to data authentication. On the basis of the above embodiment, before the step of verifying the account key information, the method further includes:
performing data storage of the storage data down-link through a distributed hash table, and generating a unique index value of the storage data on the link,
storing the index value in a storage contract.
Specifically, the block-down data storage of the storage data described in the embodiment of the present invention refers to that the storage data is all stored in the DHT system, and the storage data is not stored in the chain.
The unique index value of the storage data generated on the chain in the embodiment of the present invention refers to that a Hash value generated by the storage data is stored on a block chain as a unique index value.
The index value is then stored in the storage contract.
The embodiment of the invention stores the storage data in a distributed manner through the DHT, stores the unique Hash value of the generated storage data as the index value into the storage contract, obtains the index value by signing through the key information generated by the account information when the user performs data authorization, and calls the storage data corresponding to the index value through the index value, namely obtains the unique index value generated in the distributed storage through the key generated by the account information, and ensures the ownership of the storage data by the user through the index value in the DHT technology and the property that the distributed storage cannot be tampered.
On the basis of the above embodiment, before the step of storing the index value in the storage contract, the method further includes:
adding data identification information to the storage data to obtain identification storage data information;
the identification storage data information comprises public storage data information and private storage data information.
Specifically, the addition data identification information described in the embodiment of the present invention refers to an identification that uses a permission field in the storage data to express the storage data.
The private stored data information described in the embodiment of the present invention means that the stored data is private and cannot be accessed and downloaded by anyone except the user.
The public storage data information described in the embodiment of the invention means that the storage is common and can be accessed and downloaded by anyone; and the identity of the stored data described herein may be altered by the account information key.
The embodiment of the invention is more beneficial to sharing the stored data by distinguishing the public stored data information from the private stored data information, and realizes the transaction and circulation of the stored data on the basis of the technology of data right confirmation.
On the basis of the above embodiment, after the step of generating account key information according to the account information, the method further includes:
verifying the transaction signature information and the account information, and if the verification fails, identifying the identification storage data information;
and if the identification storage data information is public storage data information, calling a storage contract to acquire an index value.
Specifically, the verification failure described in the embodiment of the present invention specifically means that, if the transaction signature information verification fails or the account information verification fails, it is considered that the verification fails, and the account information does not belong to an owner of the storage contract, so that the account information is not authorized to call the storage contract to obtain the index value.
The identification stored data information is identified here, and the identification stored information is judged to be public stored data information or private stored data information.
And before identifying the identification storage data information, the method further comprises the steps of sharing the storage data to obtain a sharing link, and then acquiring an identification field in the identification storage data information according to the sharing link so as to identify the storage data information.
If the identification storage data information is public storage data information, the storage data information is proved to be accessed by all the owners, and although data confirmation can be performed at the moment to determine that the storage data belongs to the account information, all the owners can access or unload the storage data at the moment, so that the storage contract can be continuously called to obtain the index value.
The embodiment of the invention is more beneficial to the sharing of the stored data by judging the identification of the stored data information, and realizes the transaction and circulation of the stored data on the basis of the technology of data authority determination.
On the basis of the above embodiment, after the step of generating account key information according to the account information, the method further includes:
verifying the transaction signature information and the account information, and if the verification fails, identifying the identification storage data information;
and if the identification storage data information is private storage data information, stopping operation.
Specifically, the verification failure described in the embodiment of the present invention specifically means that, if the transaction signature information verification fails or the account information verification fails, it is considered that the verification fails, and the account information does not belong to an owner of the storage contract, so that the account information is not authorized to call the storage contract to obtain the index value.
The identification stored data information is identified here, and the identification stored information is judged to be public stored data information or private stored data information.
And before identifying the identification storage data information, the method further comprises the steps of sharing the storage data to obtain a sharing link, and then acquiring an identification field in the identification storage data information according to the sharing link so as to identify the storage data information.
If the identification storage data information is private storage data information, the identification storage data information proves that the storage data information is private and cannot be accessed by other people, so that the storage contract cannot be called at the moment, and the operation is stopped.
On the basis of the above embodiment, the generating a unique index value of the storage data on the chain specifically includes:
and carrying out hash operation on the stored data to generate a unique index value.
Specifically, the unique index value described in the embodiment of the present invention refers to a displacement index value corresponding to the stored data subjected to the hash calculation, and multiple groups of index values may exist for multiple groups of stored data.
The embodiment of the invention stores the unique hash value of the generated storage data as the index value into the storage contract, and the user can sign through the key information generated by the account information when performing data authorization, thereby acquiring the index value and being beneficial to performing the subsequent data authorization step.
On the basis of the foregoing embodiment, fig. 2 is a flowchart illustrating a stored data uploading process according to an embodiment of the present invention, as shown in fig. 2, including: step 210, entering step 220, uploading the storage file, and calling the DHT to perform distributed storage on the storage file at the moment; entering step 230, generating an index value corresponding to the storage file, entering step 240, verifying the transaction signature generated when the storage file is uploaded through the storage contract, entering step 250 if the verification is successful, recording the index value to the storage contract, and entering step 260 if the verification is failed, wherein the operation is failed.
FIG. 3 is a flowchart illustrating downloading of stored data according to an embodiment of the present invention, as shown in FIG. 3, which includes steps 310, 320, for attempting to download a stored file, 330, for verifying transaction signature information and account information, so as to confirm the right, and if the right is successfully confirmed, 340, for obtaining an index value, and 370, for starting to download the stored file according to the index value; if the authentication in step 330 fails, go to step 350, identify the storage data identifier of the storage file, if the identification is a private identifier, go to step 360, the operation fails, if the identification is a public identifier, go to step 340, obtain the index value, then go to step 370, start downloading the storage file; wherein the storage data identification may be altered by an owner of the storage contract.
Fig. 4 is a schematic structural diagram of a data right determining apparatus according to an embodiment of the present invention, as shown in fig. 4, including: an acquisition module 410, a verification module 420 and an authority confirmation module 430; the obtaining module 40 is configured to obtain account information and obtain transaction signature information according to the account information; the verification module 420 is configured to verify the transaction signature information and the account information, and if the verification is successful, invoke a storage contract to obtain an index value through the account information; the right confirming module 430 is configured to invoke a distributed hash table to access the storage data according to the index value and the intelligent contract.
The apparatus described in the embodiment of the present invention is an apparatus for describing the method described in the above embodiment, and for a specific process, reference is made to the above embodiment, which is not described herein again.
The embodiment of the invention performs distributed storage on the stored data through a distributed hash table, stores the unique hash value of the generated stored data as an index value into a storage contract, and can perform signature through key information generated by account information when a user performs data authorization so as to acquire the index value; the embodiment of the invention ensures the ownership of the stored data by the user through the index value in the DHT technology and the property that the distributed storage cannot be tampered.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 5, the electronic device may include: a processor (processor)510, a communication Interface (Communications Interface)520, a memory (memory)530 and a communication bus 540, wherein the processor 510, the communication Interface 520 and the memory 530 communicate with each other via the communication bus 540. Processor 510 may call logic instructions in memory 530 to perform the following method: acquiring account information, and acquiring transaction signature information according to the account information; verifying the transaction signature information and the account information, and if the verification is successful, calling a storage contract through the account information to obtain an index value; and calling a distributed hash table according to the index value and the intelligent contract to determine the right of the stored data.
Furthermore, the logic instructions in the memory 530 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units 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.
An embodiment of the present invention discloses a computer program product, which includes a computer program stored on a non-transitory computer readable storage medium, the computer program including program instructions, when the program instructions are executed by a computer, the computer can execute the methods provided by the above method embodiments, for example, the method includes: acquiring account information, and acquiring transaction signature information according to the account information; verifying the transaction signature information and the account information, and if the verification is successful, calling a storage contract through the account information to obtain an index value; and calling a distributed hash table according to the index value and the intelligent contract to determine the right of the stored data.
An embodiment of the present invention provides a non-transitory computer-readable storage medium storing server instructions, where the server instructions cause a computer to execute a data right determining method provided in the foregoing embodiment, for example, including: acquiring account information, and acquiring transaction signature information according to the account information; verifying the transaction signature information and the account information, and if the verification is successful, calling a storage contract through the account information to obtain an index value; and calling a distributed hash table according to the index value and the intelligent contract to determine the right of the stored data.
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 (9)

1. A method for data authentication, comprising:
acquiring account information, and acquiring transaction signature information according to the account information;
verifying the transaction signature information and the account information, and if the verification is successful, calling a storage contract through the account information to obtain an index value;
calling a distributed hash table according to the index value and the intelligent contract to determine the right of the stored data;
the index value refers to a Hash value corresponding to storage data stored in a storage contract; the storage contract refers to a storage contract created by each account information, and an owner of the storage contract is set as a creator of the contract;
the step of obtaining the transaction signature information according to the account information specifically includes:
obtaining account key information according to the account information;
signing the intelligent contract transaction according to the account key information to obtain transaction signature information;
the verifying the transaction signature information and the account information, and if the verifying is successful, invoking a storage contract through the account information to obtain an index value specifically include:
and judging whether the account information belongs to the owner of the storage contract, if the account information belongs to the owner of the storage contract, verifying the transaction signature information, and if the verification is successful, obtaining account key information through the account information, signing, and acquiring the index value stored in the storage contract.
2. The method of claim 1, wherein prior to the step of verifying the transaction signature information and the account information, the method further comprises:
performing data storage of the storage data down-link through the DHT, and storing a unique index value of the storage data on-link,
storing the index value in a storage contract.
3. The method of claim 2, wherein prior to the step of storing the index value in the storage contract, the method further comprises:
adding data identification information to the storage data to obtain identification storage data information;
the identification storage data information comprises public storage data information and private storage data information.
4. The method of claim 3, wherein after the step of generating account key information from the account information, the method further comprises:
verifying the transaction signature information and the account information, and if the verification fails, identifying the identification storage data information;
and if the identification storage data information is public storage data information, calling a storage contract to acquire an index value.
5. The method of claim 3, wherein after the step of generating account key information from the account information, the method further comprises:
verifying the transaction signature information and the account information, and if the verification fails, identifying the identification storage data information;
and if the identification storage data information is private storage data information, stopping operation.
6. The method according to claim 2, wherein the generating of the unique index value of the stored data on the chain is specifically:
and carrying out hash operation on the stored data to generate a unique index value.
7. A data right determining apparatus, comprising:
the acquisition module is used for acquiring account information and obtaining transaction signature information according to the account information;
the verification module is used for verifying the transaction signature information and the account information, and if the verification is successful, the storage contract is called through the account information to obtain an index value; the index value refers to a Hash value corresponding to storage data stored in a storage contract; the storage contract refers to a storage contract created by each account information, and an owner of the storage contract is set as a creator of the contract;
the right confirming module is used for calling a distributed hash table according to the index value and the intelligent contract to access the stored data;
the step of obtaining the transaction signature information according to the account information specifically includes:
obtaining account key information according to the account information;
signing the intelligent contract transaction according to the account key information to obtain transaction signature information;
the verifying the transaction signature information and the account information, and if the verifying is successful, invoking a storage contract through the account information to obtain an index value specifically include:
and judging whether the account information belongs to the owner of the storage contract, if the account information belongs to the owner of the storage contract, verifying the transaction signature information, and if the verification is successful, obtaining account key information through the account information, signing, and acquiring the index value stored in the storage contract.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of data authentication of any one of claims 1 to 6 when executing the program.
9. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the data validation method of any one of claims 1 to 6.
CN201910309599.XA 2019-04-17 2019-04-17 Data right confirming method and device Active CN110083604B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910309599.XA CN110083604B (en) 2019-04-17 2019-04-17 Data right confirming method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910309599.XA CN110083604B (en) 2019-04-17 2019-04-17 Data right confirming method and device

Publications (2)

Publication Number Publication Date
CN110083604A CN110083604A (en) 2019-08-02
CN110083604B true CN110083604B (en) 2021-10-08

Family

ID=67415334

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910309599.XA Active CN110083604B (en) 2019-04-17 2019-04-17 Data right confirming method and device

Country Status (1)

Country Link
CN (1) CN110083604B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110716939B (en) * 2019-10-16 2023-05-09 深圳市网心科技有限公司 Data management method, electronic device, system and medium
CN111193730B (en) * 2019-12-25 2022-06-14 上海沄界信息科技有限公司 IoT trusted scene construction method and device
CN111783565B (en) * 2020-06-15 2024-03-22 西北工业大学 Multi-sensor target identification method based on positive and negative evidence credibility structure
CN111625627B (en) * 2020-07-30 2020-10-27 卓尔智联(武汉)研究院有限公司 Data right determining method and device based on block chain and computer equipment
CN113064884B (en) * 2020-12-02 2023-09-05 上海金融期货信息技术有限公司 Double-source quotation duplication removing method and system based on custom hash
CN112765271B (en) * 2020-12-31 2023-02-07 杭州趣链科技有限公司 Block chain transaction index storage method and device, computer equipment and medium
CN113064898A (en) * 2021-04-06 2021-07-02 北京瑞卓喜投科技发展有限公司 Retrieval method and device based on miniature index of contract on chain and electronic equipment
CN113064900A (en) * 2021-04-06 2021-07-02 北京瑞卓喜投科技发展有限公司 Method and device for generating index of transaction data on chain and electronic equipment
CN114328627B (en) * 2021-12-30 2024-06-18 浪潮卓数大数据产业发展有限公司 Data right-determining analysis method, device and medium based on big data
CN114614990B (en) * 2022-02-28 2024-01-02 重庆市先进区块链研究院 Electronic contract signing method based on block chain

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108898389A (en) * 2018-06-26 2018-11-27 阿里巴巴集团控股有限公司 Based on the content verification method and device of block chain, electronic equipment
CN108985089A (en) * 2018-08-01 2018-12-11 清华大学 Internet data shared system
CN109003076A (en) * 2018-06-08 2018-12-14 浙江捷尚人工智能研究发展有限公司 Big data really weighs method, electronic equipment, storage medium and system
CN109087204A (en) * 2018-07-27 2018-12-25 杭州复杂美科技有限公司 Across chain transaction method of calibration, equipment and storage medium
CN109326337A (en) * 2018-09-06 2019-02-12 西安电子科技大学 Electronic medical record storage and shared model and method based on block chain
CN109522735A (en) * 2018-11-29 2019-03-26 上海中信信息发展股份有限公司 A kind of data permission verification method and device based on intelligent contract

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108805573B (en) * 2018-04-21 2022-04-15 深圳市元征科技股份有限公司 Information verification method, server and storage medium
CN109003185B (en) * 2018-06-29 2022-03-22 中国银联股份有限公司 Intelligent contract establishing method and device, computing equipment and storage medium
CN109635521A (en) * 2018-12-06 2019-04-16 中链科技有限公司 A kind of copyright protection based on block chain, verification method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109003076A (en) * 2018-06-08 2018-12-14 浙江捷尚人工智能研究发展有限公司 Big data really weighs method, electronic equipment, storage medium and system
CN108898389A (en) * 2018-06-26 2018-11-27 阿里巴巴集团控股有限公司 Based on the content verification method and device of block chain, electronic equipment
CN109087204A (en) * 2018-07-27 2018-12-25 杭州复杂美科技有限公司 Across chain transaction method of calibration, equipment and storage medium
CN108985089A (en) * 2018-08-01 2018-12-11 清华大学 Internet data shared system
CN109326337A (en) * 2018-09-06 2019-02-12 西安电子科技大学 Electronic medical record storage and shared model and method based on block chain
CN109522735A (en) * 2018-11-29 2019-03-26 上海中信信息发展股份有限公司 A kind of data permission verification method and device based on intelligent contract

Also Published As

Publication number Publication date
CN110083604A (en) 2019-08-02

Similar Documents

Publication Publication Date Title
CN110083604B (en) Data right confirming method and device
CN109819443B (en) Registration authentication method, device and system based on block chain
CN110569658B (en) User information processing method and device based on blockchain network, electronic equipment and storage medium
CN107483509A (en) A kind of auth method, server and readable storage medium storing program for executing
JP6574168B2 (en) Terminal identification method, and method, system, and apparatus for registering machine identification code
CN107645512A (en) The method, apparatus and server of a kind of authentication
CN109257391A (en) A kind of access authority opening method, device, server and storage medium
CN110908786A (en) Intelligent contract calling method, device and medium
CN110674531B (en) Residential information management method, device, server and medium based on block chain
CN111818088A (en) Authorization mode management method and device, computer equipment and readable storage medium
CN112131309A (en) Data evidence storing method and system based on block chain technology
CN111460400A (en) Data processing method and device and computer readable storage medium
CN111698204B (en) Bidirectional identity authentication method and device
CN111881483A (en) Resource account binding method, device, equipment and medium based on block chain
CN114065162A (en) Risk control method and device of business system and computer readable storage medium
CN114398686A (en) Block chain-based file storage method, device, equipment and storage medium
KR20160018554A (en) Roaming internet-accessible application state across trusted and untrusted platforms
CN111046436A (en) System level package management-based signature authentication method and server
CN116991936A (en) Block chain-based rights and interests credential management method, apparatus, electronic device and medium
CN112101945B (en) Method and system for supervising block chain content
CN112862589A (en) Identity verification method, device and system in financial scene
CN114386147B (en) Copyright protection method and system of BIM model based on blockchain and intelligent contract
CN115150178A (en) Cross-platform unified login authentication method and device based on block chain
EP2374084A1 (en) Midlet signing and revocation
CN114978677A (en) Asset access control method, device, electronic equipment and computer readable 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
TA01 Transfer of patent application right

Effective date of registration: 20200114

Address after: 640041 t3-1403, Xiangnian square, hi tech Zone, Chengdu, Sichuan Province

Applicant after: Chengdu Huaneng Technology Co., Ltd

Address before: 200233 41st Building 305, 333 Qinjiang Road, Xuhui District, Shanghai

Applicant before: Shanghai Yuanjie Information Technology Co., Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210707

Address after: 200080 room 1987, 19th floor, main building, 358 Haining Road, Hongkou District, Shanghai

Applicant after: Shanghai crispy Network Technology Co.,Ltd.

Address before: 640041 t3-1403, Xiangnian square, high tech Zone, Chengdu, Sichuan Province

Applicant before: Chengdu Huaneng Technology Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220304

Address after: 200085 11th floor, No. 463, Tanggu Road, Hongkou District, Shanghai (Huahong International Building)

Patentee after: Shanghai yinkun Technology Development Co.,Ltd.

Address before: 200080 room 1987, 19th floor, main building, 358 Haining Road, Hongkou District, Shanghai

Patentee before: Shanghai crispy Network Technology Co.,Ltd.

TR01 Transfer of patent right