CN109583905A - The method and apparatus for realizing data sharing based on the logical card of the utilization of block chain network - Google Patents

The method and apparatus for realizing data sharing based on the logical card of the utilization of block chain network Download PDF

Info

Publication number
CN109583905A
CN109583905A CN201811568797.XA CN201811568797A CN109583905A CN 109583905 A CN109583905 A CN 109583905A CN 201811568797 A CN201811568797 A CN 201811568797A CN 109583905 A CN109583905 A CN 109583905A
Authority
CN
China
Prior art keywords
data record
client device
data
upload
access
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
CN201811568797.XA
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.)
Baibao (Shanghai) Technology Co.,Ltd.
Zhongan Information Technology Service Co Ltd
Original Assignee
Zhongan Information Technology Service 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 Zhongan Information Technology Service Co Ltd filed Critical Zhongan Information Technology Service Co Ltd
Priority to CN201811568797.XA priority Critical patent/CN109583905A/en
Publication of CN109583905A publication Critical patent/CN109583905A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Abstract

The present invention relates to a kind of methods and apparatus for realizing data sharing based on the logical card of the utilization of block chain network.This method comprises: data storing steps comprising: in response to receiving the upload request for one or more data record from the first client device, which is stored in the account book of the block chain network;Data query step, comprising: in response to receiving the access request associated at least one data record in one or more data record from the second client device, at least one data record is inquired from account book;In response to inquiring at least one data record, from in the account of the second client device deduct access at least one data record needed for quantity logical card, and to the account of the first client device distribute access at least one data record needed for quantity logical card;At least one data record is sent to the second client device.

Description

The method and apparatus for realizing data sharing based on the logical card of the utilization of block chain network
Technical field
The present invention relates to block chain technologies, and more particularly to realize that data are total based on the logical card of the utilization of block chain network The method and apparatus enjoyed.
Background technique
Block chain (blockchain) is the series winding transaction record (also known as block) for concatenating and protecting content by cryptography. Each block contains the keyed hash, corresponding time stab and transaction data of previous block (usually with Merkel tree The hashed value that algorithm calculates indicates), such design is so that block content has the characteristic for being difficult to alter.It is concatenated with block chain Distributed account book two sides can be allowed effectively to note down transaction, and can permanently check this transaction.
Block chain shareable value system is imitated by numerous encryption currency first, and enterprising with algorithm on proof of work It has gone improvement, has such as been proved using equity and SCrypt algorithm.Then, the block chain ecosystem is constantly evolved global, is occurred For the first time token sell ICO, intelligent contract block chain ether mill, " light ownership, the weight right to use " the shared economy of assets tokenization And block chain country.It is calculated currently, this shareable value system has been widely used in all trades and professions exploitation decentralization Machine program (Decentralized applications, Dapp), in all parts of the world constructs decentralization autonomous organizations and goes The autonomous community of the heartization (Decentralized autonomous society, DAS).
Ether mill (Ethereum) is the public block platform chain for having intelligent contract function of an open source.It is dedicated by its It encrypts currency ether coin (Ether, also known as " ether coin ") and virtual machine (the Ethereum Virtual of decentralization is provided Machine, i.e. " ether virtual machine ") handle point-to-point contract.
Intelligent contract (Smart contract) is a kind of to be intended to be propagated, verify or executed in terms of contract in information-based mode Calculation machine agreement.Intelligent contract permission carries out credible transaction in no third-party situation, these transaction are traceable and irreversible Turn.The purpose of intelligent contract is to provide the safety method better than traditional contract, and reduces other transaction costs relevant to contract.
Dapp (Decentralized Application, i.e. Distributed Application/decentralization application), which refers to, to be operated in point On cloth network, wherein the information of participant is by safeguard protection (being also likely to be anonymous), is gone by network node The application of heartization operation.Usually, different Dapp can use different bottom block chain development platform and common recognition mechanism, or Person voluntarily issues token (the general token based on same block platform chain also can be used).It is a friendship that ether mill, which defines Dapp, Easy agreement is performed an intelligent contract or one group of intelligence contract according to the condition set on block chain.
Currently, the development of internet is marched toward the Internet of Things stage from the mobile Internet stage, the network terminal (i.e. client Equipment) also the various kinds of equipment such as vehicle, household electrical appliance are extended to from smart phone, wrist-watch, PC, and existing data (for example, vehicle networked data) sharing mode be typically necessary using the background server of centralization carry out data storage and Access control, therefore it is primarily present following problems: the reliability disadvantages of a. data, since these data are typically stored within backstage In server, therefore there are problems that data are artificially distorted;B. thus the problem of data access controls visits the authorization of data Ask that control is controlled by the background program of background server, therefore there are data access safety issues, as manual operation is improper, patrols Collect loophole etc..
Therefore, it is necessary to a kind of data sharing method be provided, so that different client devices can be participated in data It is shared, while can also ensure that the confidence level of data and the credible access to data.
Summary of the invention
Against the above technical problems and other potential technical problems, the embodiment provides one kind to be based on area The method and apparatus for realizing data sharing using logical card of block chain network.
The first aspect of the present invention, which provides, a kind of realizes data sharing based on the logical card of the utilization of block chain network Method, comprising: data storing steps, the data storing steps include: in response to receive come from the first client device The upload request for one or more data record, one or more data record is stored in the block link network In the account book of network, wherein including the quantity of logical card needed for access each data record in the upload request;Data query Step, the data query step include: in response to receiving counting with described one or more from the second client device According to the associated access request of at least one data record in record, at least one data note is inquired from the account book Record;In response to inquiring at least one data record, deducted described in access from the account of second client device The logical card of quantity needed at least one data record, and it is described at least to the distribution access of the account of first client device The logical card of quantity needed for one data record;At least one data record is sent to second client device.
The second aspect of the present invention provides the equipment for realizing data sharing using logical card in a kind of block chain network, It include: data memory module, the data memory module is configured to: in response to receiving the needle from the first client device To the upload request of one or more data record, one or more data record is stored in the block chain network In account book, wherein including the quantity of logical card needed for access each data record in the upload request;Data inquiry module, The data inquiry module is configured to: in response to receive from the second client device be stored in the account book The associated access request of at least one data record in one or more data record, inquires institute from the account book State at least one data record;In response to inquiring at least one data record, from the account of second client device Deduct the logical card of quantity needed for accessing at least one data record in family, and to uploading at least one data record The distribution of the first client device access at least one data record needed for quantity logical card;By at least one number Second client device is sent to according to record
The method that data sharing is realized based on the logical card of the utilization of block chain network through the invention, so that different Client device can participate in sharing data, while can also ensure that the confidence level of data and to the credible of data Access.
Detailed description of the invention
It is shown with reference to attached drawing and illustrates various embodiments of the present invention.These attached drawings are only used for illustrating basic principle, and show For understanding aspect necessary to the basic principle, it is not intended to limit the invention range claimed.In the accompanying drawings, phase Same appended drawing reference indicates similar feature.
Fig. 1 instantiates the schematic diagram that can be used for implementing the framework of block chain network 100 of example embodiments of the present invention.
Fig. 2 instantiates the section that data sharing is realized using logical card in the block chain network of embodiment according to the present invention The block diagram of point device 200.
Fig. 3, which is instantiated, to be demonstrate,proved to realize data sharing being led to based on the utilization of block chain network for embodiment according to the present invention The flow chart of illustrative methods 300.
Specific embodiment
Below in conjunction with attached drawing each exemplary embodiment that the present invention will be described in more detail.Although in attached drawing flow chart and Schematic diagram shows some embodiments of the present invention, it should be understood that, the present invention can be realized by various forms, and And should not be construed as limited to embodiments set forth here, providing these embodiments on the contrary is for more thorough and complete geography The solution present invention.It should be understood that being merely to illustrate property of accompanying drawings and embodiments of the invention acts on, it is not intended to limit the present invention Protection scope.
Fig. 1 instantiates the system for realizing data sharing using logical card that can be used for implementing example embodiments of the present invention The schematic diagram of 100 framework.System 100 may include multiple client equipment (for example, client device 111,112) and block chain Network (hereafter simply referred to as block chain) 120.
In an embodiment of the present invention, client device 111,112 (for example, mobile device or fixed equipment) can be via net Network (for example, cable network or wireless network) is connected to each node of block chain 120.
Block chain network 120 (it can be private chain and is also possible to major network public affairs chain) includes multiple blocks by network connection Chain node device (also referred herein as node), such as node 121,122 and 123.Although block chain shown in Fig. 1 120 only include three nodes and two client devices, but it should be appreciated that in practical applications, block catenary system 120 may include more More or less node and more or fewer client devices.Also, in an embodiment of the present invention, on each client device It is mountable to have corresponding Dapp, it can provide user oriented client end interface, and can realize to corresponding intelligent contract-defined interface Encapsulation call.In an embodiment of the present invention, each node device in these node devices can calculate to calculate equipment Equipment can be server or user equipment (for example, mobile device or fixed equipment).Between these block chain node devices It can be by network come synchrodata, it is thus possible to avoid security risk brought by centralization node and security risk.Network It can be any wired and or wireless network.Optionally, network can include but is not limited to, internet, wide area network, Metropolitan Area Network (MAN), Local area network, Virtual Private Network, cordless communication network etc..Also, in an embodiment of the present invention, in these node devices Logical card issuing module for example described in detail below, registration module, authorization module, data are fitted on each node device Memory module, data inquiry module and Audit Module etc., these modules can be come real in a manner of one or more intelligent contracts It is existing.
Fig. 2 instantiates the section that data sharing is realized using logical card in the block chain network of embodiment according to the present invention The block diagram of point device 200.In an embodiment of the present invention, equipment 200 can be for example appointing for block chain (for example, block chain 120) One node device.Equipment 200 may include logical card issuing module 201, registration module 202, authorization module 203, data memory module 204, data inquiry module 205 and Audit Module 206.These modules can realize by way of intelligent contract, and These modules can be implemented in the same intelligent contract, or can also be implemented in separated intelligent contract.
Logical card issuing module 201 can be configured to the logical card (token) that predetermined quantity is issued in block chain network, wherein The predetermined quantity can be determined according to actual use situation.Logical card can be used as client device to being stored in the account of block chain The authorized certificate that accesses (including checking or downloading) of data record.In one implementation, client device (for example, Chartered client device) it can be obtained in such a way that the either block chain link point into block chain network is bought The logical card of respective numbers.In a further implementation, client device can also by the data record of their own is uploaded (for example, Report) into the account book of block chain network, and in its data record by other client device access (such as check or download) The logical card of quantity corresponding with accessed data record is obtained afterwards.Client device logical card obtained can be placed in its phase In the account answered.In an embodiment of the present invention, data record can refer to any kind of data record, such as vehicle data note Record (data record about car speed, the data record about tire rotational speed, the data note for the pressure born about wheel shaft Record etc.).
Registration module 202 can be configured in response to receiving the registration request from client device, to the client Equipment is registered (for example, distributing the certificate for accessing the modules in block chain network as the client device, and will Corresponding certificate is stored in the account book of block chain network to carry out authentication to client device) so that the visitor Family end equipment obtains the qualification for participating in data sharing.In one implementation, registration module 202 is further configured to come from receiving After the registration request of client device, which is sent to each other chartered client device, and These just receive the client and set in the case that at least the client device of more than half is agreed in chartered client device Standby registration request, and only in the case where receiving the registration request, just the customer equipment is carried out in block chain network Registration.
Authorization module 203 can be configured in response to receiving the authority distribution request from client device, to client End equipment (for example, chartered client device) distributes upload permissions and/or access authority.Wherein, upload permissions may include Allow to upload the permission of data record, and does not allow to upload the permission of data record.Access authority may include for example only allowing The permission checked to data record only allows the permission being downloaded to data record, allows to look into data record The permission etc. seen and downloaded.Data about the upload permissions and access authority distributed to each chartered client device (for example, permissions list in) in account book can be stored in the account book of block chain network, in corresponding client device For the upload permissions and/or visit to corresponding client device when initiating to be directed to the upload request or access request of data record Ask that permission is verified.
Data memory module 204 can be configured to: come from client device (for example, the first client in response to receiving Equipment) the upload request for one or more data record, which is stored in block link network It wherein may include being accessed needed for (for example, check or download) to each data record in upload request in the account book of network Logical card quantity.In one implementation, for identical data record is checked and downloaded, client device can be upper It passes and specifies the quantity of required logical card different in request.It therefore, in this implementation, may include checking each number in upload request The quantity of logical card needed for quantity and each data of downloading according to logical card needed for record.In addition, checking different data The quantity of logical card needed for record can be different, and the quantity for downloading logical card needed for different data records can also be different.Please Note that in an embodiment of the present invention, which can be chartered any customer equipment.For example, for every One data record, by the mark of the data record and the respective client end equipment for uploading the data record (for example, the client The title of equipment) and access the quantity of logical card needed for the data record and be collectively stored in the account book of block chain network.By The account book of block chain network is stored in together with data record in the mark for the respective client end equipment for uploading the data record In, therefore corresponding data record is found in block chain network, so that it may determine the data record be uploaded by whom, thus So that client device can not deny the data record that it is uploaded.On the other hand, when the data record is by other clients When end equipment is checked or downloaded, it is corresponding that block chain node can determine that the data record (will be checked or be downloaded) to needs with access The logical card of quantity which client device distributed to.Data memory module is further configured to receiving from client device The upload request for one or more data record after, to the client device carry out upload permissions verification, with judgement The client device whether have allow upload data record permission, and only determine the client device have allow to upload In the case where the permission of data record, just one or more data record is stored in the account book of block chain network.
In an embodiment of the present invention, data memory module is further configured to one or more each client device The historical record for the upload behavior that data record uploads in the account book of block chain network is stored in the account book of block chain network, So that auditing for Audit Module 206 to these upload behaviors of these client devices, to judge these clients Whether the upload behavior of end equipment has surmounted the upload permissions of these client devices.
Data inquiry module 205 can be configured to: come from client device (for example, second client) in response to receiving With at least one data record (for example, by the first client device upload one or more data record at least one Data record) associated access request, at least one data record is inquired from the account book of block chain network;In response to At least one data record is inquired, is accessed needed at least one data record from deduction in the account of the client device Quantity logical card, and (for example, the first client device, but work as to the client device for uploading at least one data record The second client device data record to be accessed so is depended on, other one or more client devices are also possible to) Account distributes the logical card of respective numbers, and at least one data record is then sent to the client device.Data query mould Block 205 is further configured to (look into receiving the access request associated at least one data record from client device See request or downloading request) after, it accesses the verification of permission to the client device, to judge whether the client device has There is the permission for allowing to carry out data record the access (check and/or download).The data inquiry module is further configured to true In the case that the fixed client device has the permission for allowing to carry out data record the access, which is led to Card verification, to judge it is at least one several to access and (check or download) this whether the client device has sufficient amount of logical card According to record.
In an embodiment of the present invention, data inquiry module is further configured to inquire some client device by other The historical record of the User behavior for the data record that one or more client devices upload is stored in the account book of block chain network In, so that auditing for User behavior of the Audit Module to the client device, to judge the client device Whether access behavior has surmounted the access authority of the client device.
Audit Module 206 can be configured to periodically examine the upload behavior of each client device and User behavior Meter, to judge the client device with the presence or absence of surmounting the upload behavior of its upload permissions and surmount the access of its access authority Behavior.
Fig. 3, which is instantiated, to be demonstrate,proved to realize data sharing being led to based on the utilization of block chain network for embodiment according to the present invention The flow chart of illustrative methods 300.It note that this method 300 can be realized by the either block chain node of block chain network.Out In illustrating brief purpose, this method 300 be for the first client device from registered to block chain network, to uploading number It is write according to recording, arriving its data record again by the angle for the whole flow process that the second client device is inquired, but this method It is applicable to any other client device.Method 300 can for example including registration step (e.g., including the step of being subsequently noted 301-303), authorisation step (e.g., including the step 304-305 being subsequently noted), data storing steps (e.g., including below The step 306-308 mentioned), data query step (e.g., including the step 309- step 314) that is subsequently noted and audit step Suddenly (e.g., including the step 315) being subsequently noted.But specific application is depended on, during use, may only it relate to And the part steps in the multiple steps in this method 300 including are (for example, it may be possible to only relate to registration step, authorisation step, data One or more of storing step, data query step and audit steps).In addition, it is to be appreciated that according to practical application, the party One or more steps in method 300 can be omitted, without departing from scope of the present invention.
In step 301, the registration request from the first client device is received.
In step 302, judge whether to receive the registration request of first customer equipment.For example, in one implementation, it can The registration request is sent to each client device registered to block chain network, and in these other clients In the case that the client device of more than half in equipment receives the registration request, receive the registration request, otherwise refuses the note Volume request.
In step 303, in the case where receiving the registration request, the first client device is registered, is otherwise returned Return error message.For example, register to the first client device may include as the distribution of the first client device for access region The certificate of the modules on each block chain node in block chain network, and corresponding certificate is stored in block chain network For to the progress authentication of the first client device in account book.It, should after the registration to first client device is completed First client device just obtains the qualification that data sharing is participated in the block chain network.
In step 304, the authority distribution request from the first client device is received.
In step 305, upload permissions and/or access authority are distributed to the first client device.Upload permissions may include Allow to upload the permission of data record, or does not allow to upload the permission of data record.Access authority may include for example only allowing to look into See the permission of data record, only allow the permission of downloading data record or allow to check the permission recorded with downloading data etc.. Data about the upload permissions and/or access authority distributed to each chartered client device can be stored in block chain In the account book of network (for example, permissions list in) in account book, for initiating to be directed to data record in corresponding client device Upload request or access request when for corresponding client device upload permissions and access authority verify.
Within step 306, the upload for one or more data record from first client device is received to ask It asks, wherein may include the quantity of logical card needed for accessing each data record in upload request.In one implementation, upload is asked Seek the number of logical card needed for may specify the quantity of logical card needed for checking each data record and each data of downloading Amount.In addition, the quantity for checking logical card needed for different data records specified in upload request can be different, and download not The quantity of logical card needed for same data record can also be different.
In step 307, upload permissions verification is carried out to the first client device, to judge that first client device is It is no that there is the permission for allowing to upload data record.
In step 308, the first client device have allow upload data record permission in the case where, by this one Item or a plurality of data record are stored in the account book of block chain network, otherwise return to error message.For example, for each data Record, should by the mark (for example, title of the first client device) and access of the data record and the first client device The quantity of logical card needed for data record is collectively stored in the account book of block chain network.Due to the mark of the first client device It is stored in together with data record in the account book of block chain network, therefore finds the data record in block chain network, just It can determine that the data record is uploaded by the first client device, so that the first client device can not upload it Data record denied.On the other hand, when the data record is checked or downloaded by other client devices, block chain link Point can determine that the logical card for (checking or downloading) the corresponding quantity of the data record with access is distributed to the first client by needs End equipment, rather than other client devices.Although being recorded in block chain network to data by taking the first client device as an example here Account book in storage be illustrated, but it should be appreciated that for other client devices upload data record for, also need by It corresponding data record and the mark of other client devices and accesses together with the quantity of logical card needed for the data record It is stored in the account book of block chain network.
In an embodiment of the present invention, which is uploaded to block link network by the first client device The historical record of this upload behavior in the account book of network can be stored in the account book of block chain network, so that for examining Meter module 206 audit to this upload behavior of first client device, with judge the first client device this Whether upload behavior has surmounted the upload permissions of first client device.Although here with the first client device upload this one It is illustrated for item or a plurality of data record, but this is equally applicable to other client devices and uploads other data records Situation.
In a step 309, receive from the second client device with uploaded by the first client device one or more The associated access request of at least one data record in data record.
In the step 310, it accesses the verification of permission to the second client device, to judge second client device Whether there is the permission for allowing to carry out data record the access (check and/or download).
In step 311, the second client device have allow to carry out data record the access (check and/or under Carry) permission in the case where, logical card verification is carried out to the second client device, to judge whether second client device has Otherwise sufficient amount of logical card returns to error message to carry out the access (check or download) at least one data record.
In step 312, in the second client device, with sufficient amount of logical card, to access and (check or download), this is extremely In the case where few data record, at least one data record is inquired from the account book of block chain network, is otherwise returned wrong Accidentally message.
In step 313, it in response to inquiring at least one data record, is detained from the account of the second client device Respective numbers are distributed except the logical card of quantity needed for access at least one data record, and to the account of the first client device Logical card.The logical card for including in the account of second client device can be by the second client device via either block chain node The data note that can also be uploaded to due to the second client device in the account book of block chain network to obtain is bought to block chain network Record is obtained by other client device access (check or download).Although it is to be appreciated that here by taking the second client device as an example The method for illustrating how to obtain logical card, but actually any client device can all obtain logical card in this way.
In a step 314, at least one data record inquired is sent to the second client device.
In an embodiment of the present invention, the second client device inquires this or more uploaded by the first client device The historical record of this User behavior of at least one data record in data record can also be stored in block chain network Account book in so that auditing for this User behavior of Audit Module 206 to second client device, to sentence Whether this User behavior of disconnected second client device has surmounted the access authority of second client device.Although here with It is illustrated at least one data record that the inquiry of second client device is uploaded by the first client device, but this is same Sample is suitable for the case where inquiry of third client device uploads other data records by the 4th client device.
In step 315, periodically (for example, weekly, every month etc.) to the upload behavior of the first client device and User behavior is audited, to judge the first client device with the presence or absence of the upload behavior for surmounting its upload permissions and surmount The access behavior of its access authority.And determine the first client device exist surmount its upload permissions upload behavior and In the case where the access behavior for surmounting its access authority, corresponding punitive measures is carried out to the first client device, such as deduct Corresponding logical card etc..
By above method 300, can be implemented as data record (for example, Vehicular data recording) offer can not be distorted and can The trusted storage of retrospect can provide safe and reliable access control for the share and access of data, can be to avoid by for example traditional Centralization background server caused by many adverse effect factors (for example, data access safety issue etc.), also mention The unified access to data is supplied.
The process of method in Fig. 3 also represents machine readable instructions, which includes being executed by processor Program.The program can be by hypostazation in the software for being stored in visible computer readable medium, readable Jie of the tangible computer Matter such as CD-ROM, floppy disk, hard disk, digital versatile disc (DVD), Blu-ray Disc or other forms memory.Substitution, Fig. 3 In exemplary method in some steps or all steps can utilize specific integrated circuit (ASIC), programmable logic device (PLD), any combination of field programmable logic device (EPLD), discrete logic, hardware, firmware etc. is implemented.In addition, though Flow chart shown in Fig. 3 describes the data processing method, but can the step in the processing method be modified, deletes or be closed And.
As described above, using coded command (such as computer-readable instruction) Lai Shixian Fig. 1,3 instantiation procedure, the programming Instruction is stored in visible computer readable medium, such as hard disk, flash memory, read-only memory (ROM), CD (CD), digital universal CD (DVD), Cache, random access storage device (RAM) and/or any other storage medium, on the storage medium Information can store any time (for example, for a long time, for good and all, of short duration situation, the caching of interim buffering and/or information). As used herein, the term visible computer readable medium is expressly defined to include any type of computer-readable storage Information.Additionally or alternatively, the instantiation procedure of Fig. 3, the volume are realized using coded command (such as computer-readable instruction) Code instruction is stored in non-transitory computer-readable medium, such as hard disk, flash memory, read-only memory, CD, digital versatile disc, Cache, random access storage device and/or any other storage medium, when the storage-medium information can store any Between (for example, for a long time, for good and all, of short duration situation, the caching of interim buffering and/or information).It should be understood that the calculating Machine readable instruction can also be stored in network server, on the platform of cloud, in order to user's use.
In addition, although operation is depicted with particular order, this simultaneously should not be construed and require this generic operation to show Particular order is completed with sequential order, or executes the operation of all diagrams to obtain expected result.In some cases, more Task or parallel processing can be beneficial.Similarly, although discussed above contain certain specific implementation details, this is not It should be interpreted that any invention of limitation or the scope of the claims, and should be interpreted that the specific embodiment that can be directed to specific invention Description.Certain features described in the context of separated embodiment can also be with combined implementation single real in this specification It applies in example.Conversely, the various features described in the context of single embodiment can also discretely multiple embodiments or Implement in any appropriate sub-portfolio.
Therefore, although describing the present invention referring to specific example, wherein these specific examples are merely intended to be to show Example property, rather than limit the invention, but it will be apparent to those skilled in the art that not taking off On the basis of spirit and scope of the invention, the disclosed embodiments can be changed, increased or deleted.

Claims (20)

1. a kind of method for realizing data sharing based on the logical card of the utilization of block chain network, comprising:
Data storing steps, the data storing steps include: to be directed to one from the first client device in response to receiving One or more data record is stored in the account book of the block chain network by the upload request of item or a plurality of data record In, wherein including the quantity of logical card needed for access each data record in the upload request;
Data query step, the data query step include: in response to receive from the second client device with it is described The associated access request of at least one data record in one or more data record, inquired from the account book it is described to Few data record;In response to inquiring at least one data record, from the account of second client device The logical card of quantity needed for accessing at least one data record is deducted, and is distributed to the account of first client device The logical card of quantity needed for accessing at least one data record;At least one data record is sent to described second Client device.
2. the method according to claim 1, wherein first client device and second client are set Standby is all the client device registered to the block chain network.
3. the method according to claim 1, wherein first client device and second client are set It is standby that corresponding upload permissions and access authority is assigned, wherein the upload permissions include the power for allowing to upload data record Limit or the permission for not allowing to upload data record, and wherein the access authority includes only allowing to check data record Permission, the permission that only allows the permission being downloaded to data record or allow to check data record and download.
4. the method according to claim 1, wherein further comprising:
Logical card distribution steps, the logical card distribution steps include: that the logical card of predetermined quantity is issued in block chain network.
5. according to the method described in claim 3, it is characterized in that, the data storing steps further comprise:
After receiving the upload request for one or more data record from the first client device, to described first Client device carries out the verification of upload permissions, allows to upload data record to judge whether first client device has Permission.
6. the method according to claim 1, wherein one or more data record is stored in the area It include: that each data record in one or more data record is remembered the data in the account book of block chain network The mark of the respective client end equipment of record with the upload data record and the quantity one for accessing logical card needed for the data record It rises and is stored in the account book of the block chain network.
7. according to the method described in claim 3, it is characterized in that, the data query step further comprises:
Receive from the second client device at least one data record in one or more data record After associated access request, access the verification of permission to second client device, to judge second client Whether end equipment has the permission for allowing that the access is carried out to data record.
8. the method according to the description of claim 7 is characterized in that the data query step further comprises:
In the case where determining second client device with allowing to carry out the permission of the access to data record, to institute It states the second client device and carries out logical card verification, to judge whether second client device there is sufficient amount of logical card to come Access at least one data record.
9. according to the method described in claim 3, it is characterized by further comprising:
Audit steps, the audit steps include periodically to first client device or second client device Upload behavior and User behavior audit, to judge whether are first client device or second client device In the presence of surmounting the upload behavior of its corresponding upload permissions or surmount the access behavior of its corresponding access authority.
10. the node device for realizing data sharing using logical card in a kind of block chain network, comprising:
Data memory module, the data memory module are configured to: in response to receiving the needle from the first client device To the upload request of one or more data record, one or more data record is stored in the block chain network In account book, wherein including the quantity of logical card needed for access each data record in the upload request;
Data inquiry module, the data inquiry module are configured to: in response to receive from the second client device with The associated access request of at least one data record being stored in one or more data record in the account book, At least one data record is inquired from the account book;In response to inquiring at least one data record, from described Deduct the logical card of quantity needed for accessing at least one data record in the account of second client device, and to uploading institute Quantity needed for stating the first client device distribution access at least one data record of at least one data record is led to Card;At least one data record is sent to second client device.
11. node device according to claim 10, which is characterized in that first client device and second visitor Family end equipment is all the client device registered to the block chain network.
12. node device according to claim 10, which is characterized in that first client device and second visitor Corresponding upload permissions and access authority is assigned in family end equipment, wherein the upload permissions include allowing to upload data note The permission of record or do not allow upload data record permission, and wherein the access authority include only allow to data record into Permission that row is checked only allows the permission being downloaded to data record or allows to check data record and download Permission.
13. node device according to claim 10, which is characterized in that further comprise:
Logical card issuing module, the logical card issuing module are configured to: the described logical of predetermined quantity is issued in block chain network Card.
14. node device according to claim 12, which is characterized in that the data memory module is further configured to:
After receiving the upload request for one or more data record from the first client device, to described first Client device carries out the verification of upload permissions, allows to upload data record to judge whether first client device has Permission.
15. node device according to claim 10, which is characterized in that data memory module is counted described one or more It include: for each number in one or more data record in the account book of the block chain network according to record storage According to record, the data memory module by the data record and upload the data record respective client end equipment mark and The quantity for accessing logical card needed for the data record is collectively stored in the account book of the block chain network.
16. node device according to claim 12, which is characterized in that the data inquiry module is further configured to:
After receiving the access request associated at least one data record from the second client device, to institute It states the second client device to access the verification of permission, be allowed with judging whether second client device has to data Record carries out the permission of the access.
17. node device according to claim 16, which is characterized in that the data inquiry module further comprises:
In the case where determining second client device with allowing to carry out the permission of the access to data record, to institute It states the second client device and carries out logical card verification, to judge whether second client device there is sufficient amount of logical card to come Access the one or more data record.
18. node device according to claim 12, which is characterized in that further include:
Audit Module, the Audit Module are configured to periodically to first client device or second client The upload behavior of equipment and User behavior are audited, to judge first client device or second client device With the presence or absence of surmounting the upload behavior of its corresponding upload permissions or surmount the access behavior of its corresponding access authority.
19. node device according to claim 10, which is characterized in that the data memory module and the data query Module is realized by way of the intelligent contract.
20. a kind of computer readable storage medium has the computer executable instructions being stored thereon, the computer can The equipment is made to execute method according to any one of claims 1-9 when executing instruction operation in a device.
CN201811568797.XA 2018-12-21 2018-12-21 The method and apparatus for realizing data sharing based on the logical card of the utilization of block chain network Pending CN109583905A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811568797.XA CN109583905A (en) 2018-12-21 2018-12-21 The method and apparatus for realizing data sharing based on the logical card of the utilization of block chain network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811568797.XA CN109583905A (en) 2018-12-21 2018-12-21 The method and apparatus for realizing data sharing based on the logical card of the utilization of block chain network

Publications (1)

Publication Number Publication Date
CN109583905A true CN109583905A (en) 2019-04-05

Family

ID=65930444

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811568797.XA Pending CN109583905A (en) 2018-12-21 2018-12-21 The method and apparatus for realizing data sharing based on the logical card of the utilization of block chain network

Country Status (1)

Country Link
CN (1) CN109583905A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110266681A (en) * 2019-06-17 2019-09-20 西安纸贵互联网科技有限公司 Data safe processing system and data safety processing method based on block chain
CN110557384A (en) * 2019-08-12 2019-12-10 杭州云象网络技术有限公司 internet of things management control method based on block chain
CN111800410A (en) * 2020-06-30 2020-10-20 远光软件股份有限公司 Block chain-based data access control method, electronic device and storage medium
WO2021175109A1 (en) * 2020-03-04 2021-09-10 徐皓 Blockchain method and system, and computer readable storage medium
EP3961458A1 (en) * 2020-08-24 2022-03-02 Alipay (Hangzhou) Information Technology Co., Ltd. Blockchain-based service processing methods, apparatuses, devices, and storage media
CN114357080A (en) * 2021-12-31 2022-04-15 支付宝(杭州)信息技术有限公司 Account data reading and writing method and device

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150189032A1 (en) * 2013-12-30 2015-07-02 International Business Machines Corporation Pass through sharing of resources
CN106992990A (en) * 2017-05-19 2017-07-28 北京牛链科技有限公司 Data sharing method and system and block catenary system and computing device
CN107180350A (en) * 2017-03-31 2017-09-19 唐晓领 A kind of method of the multi-party shared transaction metadata based on block chain, apparatus and system
CN107733855A (en) * 2017-08-31 2018-02-23 中国科学院信息工程研究所 A kind of block catenary system and application process that can support publicly-owned chain, alliance's chain and privately owned chain simultaneously
US20180068091A1 (en) * 2016-09-06 2018-03-08 Intel Corporation Blockchain-Based Shadow Images to Facilitate Copyright Protection of Digital Content
US20180091524A1 (en) * 2016-09-29 2018-03-29 Microsoft Technology Licensing, Llc. Verifiable outsourced ledgers
CN107979590A (en) * 2017-11-02 2018-05-01 财付通支付科技有限公司 Data sharing method, client, server, computing device and storage medium
CN108462724A (en) * 2018-05-17 2018-08-28 北京京东金融科技控股有限公司 Data sharing method, device, system, member node and readable storage medium storing program for executing
CN108717443A (en) * 2018-05-17 2018-10-30 北京京东金融科技控股有限公司 Data sharing method, block catenary system and computer readable storage medium
CN108989357A (en) * 2018-09-12 2018-12-11 中国人民解放军国防科技大学 User authorization and data sharing access control method based on block chain
CN109040077A (en) * 2018-08-09 2018-12-18 清华大学 The method and system of data sharing and secret protection

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150189032A1 (en) * 2013-12-30 2015-07-02 International Business Machines Corporation Pass through sharing of resources
US20180068091A1 (en) * 2016-09-06 2018-03-08 Intel Corporation Blockchain-Based Shadow Images to Facilitate Copyright Protection of Digital Content
US20180091524A1 (en) * 2016-09-29 2018-03-29 Microsoft Technology Licensing, Llc. Verifiable outsourced ledgers
CN107180350A (en) * 2017-03-31 2017-09-19 唐晓领 A kind of method of the multi-party shared transaction metadata based on block chain, apparatus and system
CN106992990A (en) * 2017-05-19 2017-07-28 北京牛链科技有限公司 Data sharing method and system and block catenary system and computing device
CN107733855A (en) * 2017-08-31 2018-02-23 中国科学院信息工程研究所 A kind of block catenary system and application process that can support publicly-owned chain, alliance's chain and privately owned chain simultaneously
CN107979590A (en) * 2017-11-02 2018-05-01 财付通支付科技有限公司 Data sharing method, client, server, computing device and storage medium
CN108462724A (en) * 2018-05-17 2018-08-28 北京京东金融科技控股有限公司 Data sharing method, device, system, member node and readable storage medium storing program for executing
CN108717443A (en) * 2018-05-17 2018-10-30 北京京东金融科技控股有限公司 Data sharing method, block catenary system and computer readable storage medium
CN109040077A (en) * 2018-08-09 2018-12-18 清华大学 The method and system of data sharing and secret protection
CN108989357A (en) * 2018-09-12 2018-12-11 中国人民解放军国防科技大学 User authorization and data sharing access control method based on block chain

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110266681A (en) * 2019-06-17 2019-09-20 西安纸贵互联网科技有限公司 Data safe processing system and data safety processing method based on block chain
CN110266681B (en) * 2019-06-17 2021-05-07 西安纸贵互联网科技有限公司 Data security processing system and data security processing method based on block chain
CN110557384A (en) * 2019-08-12 2019-12-10 杭州云象网络技术有限公司 internet of things management control method based on block chain
CN110557384B (en) * 2019-08-12 2021-09-03 杭州云象网络技术有限公司 Internet of things management control method based on block chain
WO2021175109A1 (en) * 2020-03-04 2021-09-10 徐皓 Blockchain method and system, and computer readable storage medium
US11954120B2 (en) 2020-03-04 2024-04-09 Hao Xu Blockchain method and system, and computer readable storage medium
CN111800410A (en) * 2020-06-30 2020-10-20 远光软件股份有限公司 Block chain-based data access control method, electronic device and storage medium
EP3961458A1 (en) * 2020-08-24 2022-03-02 Alipay (Hangzhou) Information Technology Co., Ltd. Blockchain-based service processing methods, apparatuses, devices, and storage media
US11546333B2 (en) 2020-08-24 2023-01-03 Alipay (Hangzhou) Information Technology Co., Ltd. Blockchain-based service processing methods, apparatuses, devices, and storage media
CN114357080A (en) * 2021-12-31 2022-04-15 支付宝(杭州)信息技术有限公司 Account data reading and writing method and device

Similar Documents

Publication Publication Date Title
CN109583905A (en) The method and apparatus for realizing data sharing based on the logical card of the utilization of block chain network
JP7436568B2 (en) Methods and systems realized by blockchain
CN108418795B (en) Data access method, device, system and the computer-readable medium of transregional piece of chain
EP3499789B1 (en) Primary and secondary blockchain device
US20220198410A1 (en) Providing data provenance, permissioning, compliance, and access control for data storage systems using an immutable ledger overlay network
US20220092586A1 (en) Off network identity tracking in anonymous cryptocurrency exchange networks
US20210182431A1 (en) System and method for interaction object management in a blockchain environment
CN109819443B (en) Registration authentication method, device and system based on block chain
CN108111585B (en) Distributed storage method based on block chain
US20190375373A1 (en) Systems and methods for networked device security
CN105637915B (en) Method for assigning agent equipment from from the first device registry to the second device registry
CN108632268A (en) The method for authenticating and device, storage medium, electronic device that block chain accesses
KR101986081B1 (en) Method for sharing and verifing a block between specific nodes in a blockchain
CN108256858A (en) The establishment of the mandate of the decentralization of the object of connection and the system and method for management
CN109690539A (en) Self-cleaning token pool
CN110691088B (en) Block chain-based Internet of things equipment authentication method
CN109600366A (en) The method and device of protection user data privacy based on block chain
KR20180117119A (en) Agent-based Turing complete transactions that incorporate feedback within a block-chain system
CN108965299A (en) A kind of data access method, access verifying equipment and data-storage system
CN111213170B (en) Asset hosting method, storage medium, blockchain system and blockchain node
CN104980477A (en) Data access control method and system in cloud storage environment
CN110474865A (en) Block chain user right system and implementation method
US20230004970A1 (en) Distributed Ledgers with Ledger Entries Containing Redactable Payloads
JP2018007049A (en) Information sharing system, computer, and information sharing method
CN110910978A (en) Information processing method applied to block chain network and related device

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
TA01 Transfer of patent application right

Effective date of registration: 20210915

Address after: Room 201, building a, No.1 Qianwan 1st Road, Shenzhen Hong Kong cooperation zone, Qianhai, Shenzhen, Guangdong 518066

Applicant after: ZHONGAN INFORMATION TECHNOLOGY SERVICE Co.,Ltd.

Applicant after: Baibao (Shanghai) Technology Co.,Ltd.

Address before: 518052 Room 201, building A, 1 front Bay Road, Shenzhen Qianhai cooperation zone, Shenzhen, Guangdong

Applicant before: ZHONGAN INFORMATION TECHNOLOGY SERVICE Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190405