CN110188570A - Data mask method, equipment and storage medium - Google Patents

Data mask method, equipment and storage medium Download PDF

Info

Publication number
CN110188570A
CN110188570A CN201910469429.8A CN201910469429A CN110188570A CN 110188570 A CN110188570 A CN 110188570A CN 201910469429 A CN201910469429 A CN 201910469429A CN 110188570 A CN110188570 A CN 110188570A
Authority
CN
China
Prior art keywords
data
mark
marked
annotation results
block chain
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
CN201910469429.8A
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.)
Hangzhou Fuzamei Technology Co Ltd
Original Assignee
Hangzhou Fuzamei 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 Hangzhou Fuzamei Technology Co Ltd filed Critical Hangzhou Fuzamei Technology Co Ltd
Priority to CN201910469429.8A priority Critical patent/CN110188570A/en
Publication of CN110188570A publication Critical patent/CN110188570A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6227Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database where protection concerns the structure of data, e.g. records, types, queries
    • 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
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/382Payment protocols; Details thereof insuring higher security of transaction
    • G06Q20/3827Use of message hashing
    • 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

Abstract

The present invention provides a kind of data mask method, equipment and storage medium, this method comprises: receiving and executing data mark requests transaction, the cryptographic Hash of several data to be marked and download address to be recorded on block chain, and reward to be paid is freezed to requesting party's account in contract;It receives and executes mark task and pick up transaction, the several first data to be marked are randomly assigned for mark side, and corresponding cryptographic Hash and download address are recorded on block chain, access download address generates the first annotation results and is packaged generation annotation results and submit transaction after obtaining for second terminal to download the first data to be marked;It receives and executes annotation results and submit transaction, judge whether the first data to be marked mark success: being, then mark completion status and certification annotation results are recorded on block chain, for first terminal acquisition;Reward is provided according to the reward to be paid freezed.The present invention realizes efficient data mark, and avoids the risk of raw data set leakage.

Description

Data mask method, equipment and storage medium
Technical field
This application involves Internet technical fields, and in particular to a kind of data mask method, equipment and storage medium.
Background technique
The artificial intelligence epoch occur more and more based on the application system of big data, for example, personalized recommendation system, Etc..Data model of the core of such system based on the training of history big data, and the accuracy of initial data itself, are to influence The most key factor of model quality.As data volume exponential form rises, accurately and effectively data are carried out to initial data and are marked It is particularly important.
In existing data labelling schemes, following two categories scheme is generallyd use:
One kind is labeled by the employee or user group of enterprise, such scheme has because being limited to employee or number of users Limit, it is difficult to which increasingly huge data set completes mark rapidly and efficiently to data volume;
Another kind of is that initial data is contracted out to service provider to be labeled, such scheme presence service quotient reveals initial data The risk of collection.
Summary of the invention
In view of drawbacks described above in the prior art or deficiency, being intended to provide one kind, efficiently completion data are marked and are avoided original Data mask method, equipment and the storage medium of data set disclosure risk.
In a first aspect, the present invention provides a kind of data mask method, it is suitable for block chain node, this method comprises:
It receives the data mark requests transaction of the first terminal transmission of requesting party and marks contract by data and execute, it will The cryptographic Hash of several data to be marked and the download address of each data to be marked are recorded on block chain, and are marked and closed in data Reward to be paid is freezed to requesting party's account in about;
The mark task for receiving the second terminal transmission of mark side, which picks up transaction and marks contract by data, to be executed, for mark Note side is randomly assigned the several first data to be marked, and the first cryptographic Hash of the first data to be marked and the first download address are remembered Record is on block chain, and for second terminal acquisition, it is to be marked to download first to access the first download address according to the first cryptographic Hash Data generate the first annotation results, and are packaged according to the first annotation results and generate annotation results submission transaction;
Receive and by data mark contract execute annotation results submit transaction, according to pre-configuration rule judge first to Whether labeled data marks success:
It is then to be recorded in the first annotation results, the mark completion status of the first data to be marked and certification annotation results On block chain, so that first terminal obtains certification annotation results;And reward is provided according to the reward to be paid freezed.
Second aspect, the present invention provide another data mask method, are suitable for requesting party's terminal, this method comprises:
Several data to be marked are marked in response to request, generate the cryptographic Hash of each data to be marked, and are each to be marked Data configuration download address;
Data mark requests transaction is generated according to the cryptographic Hash of each data to be marked and download address and is sent to block chain Node will be under the cryptographic Hash and each data to be marked of several data to be marked to execute for use by data mark contract Set address is recorded on block chain, and freezes reward to be paid to requesting party's account in data mark contract, and, receive mark The mark task that the second terminal of note side is sent picks up transaction and marks contract by data and executes, if being randomly assigned for mark side Dry first data to be marked, and the first cryptographic Hash of the first data to be marked and the first download address are recorded on block chain, For second terminal acquisition, the first download address is accessed to download the first data to be marked according to the first cryptographic Hash, generates first Annotation results are packaged and generate annotation results submission transaction and be sent to block chain node, to be executed for use by data mark contract, According to pre-configuration rule judge whether the first data to be marked mark success, and when marking successfully by the first annotation results, The mark completion status and certification annotation results of first data to be marked are recorded on block chain, and to be paid according to what is freezed Reward is provided in reward;
Certification annotation results are obtained from the data of block chain.
The third aspect, the present invention provide another data mask method, are suitable for mark side's terminal, this method comprises:
It generates mark task to pick up transaction and be sent to block chain node, to execute for use by data mark contract, for mark Note side is randomly assigned the several first data to be marked, and the first cryptographic Hash of the first data to be marked and the first download address are remembered Record is on block chain;Wherein, the first cryptographic Hash and the first download address mark contract by data and execute the first of several requesting parties Terminal send data mark requests transaction be recorded on block chain, and data mark contract in requesting party's account freeze to Payment reward;
By the first cryptographic Hash of data acquisition of block chain and the first download address, according under the first cryptographic Hash access first Set address is to download the first data to be marked;
The first data to be marked are labeled in response to mark side, generate the first annotation results;
It is packaged according to the first annotation results and generates annotation results submission transaction and be sent to block chain node, for use by number It is executed according to mark contract, judges whether the first data to be marked mark success according to the rule of pre-configuration: being, then by the first mark As a result, the mark completion status of the first data to be marked and certification annotation results are recorded on block chain, so that first terminal obtains Take certification annotation results;And reward is provided according to the reward to be paid freezed.
Fourth aspect, the present invention also provides a kind of equipment, including one or more processors and memory, wherein memory Comprising can by instruction that the one or more processors execute so that the one or more processors execute it is each according to the present invention The data mask method that embodiment provides.
5th aspect, the present invention also provides a kind of storage medium for being stored with computer program, which makes to count Calculation machine executes the data mask method that each embodiment provides according to the present invention.
Data mask method, equipment and the storage medium that many embodiments of the present invention provide by by requesting party by original number It is published on block chain according to the cryptographic Hash and download address of a plurality of data to be marked of concentration, and freezes in data mark contract Reward to be paid, then by data mark contract be to pick up each mark side of mark task to be randomly assigned data to be marked, in each mark Note side is determined whether to mark success automatically after submitting annotation results by data mark contract, and the record mark knot when marking successfully Fruit provides reward, to realize efficient data mark, while it is any to have ensured that raw data set is also difficult to without disclosure Mark side completely obtains, and avoids the risk of raw data set leakage;
Data mask method, equipment and the storage medium that some embodiments of the invention provide are further by whole in mark side When data to be marked are downloaded at end, mark side's identity is verified, avoids third party from carrying out illegal download, further avoids initial data Collect the risk of leakage.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is the schematic diagram of a scenario of data mark in one embodiment of the invention.
Fig. 2 is a kind of flow chart for data mask method that one embodiment of the invention provides.
Fig. 3 is the flow chart for another data mask method that one embodiment of the invention provides.
Fig. 4 is the flow chart for another data mask method that one embodiment of the invention provides.
Fig. 5 is a kind of structural schematic diagram for equipment that one embodiment of the invention provides.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Convenient for description, part relevant to invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Fig. 1 is the schematic diagram of a scenario of data mark in one embodiment of the invention.It below will be right by taking scene shown in Fig. 1 as an example Items solution provided by the invention is described in detail, in more embodiments, items solution provided by the invention Could be applicable to it will be appreciated by those skilled in the art that different scenes, for example, requesting party's terminal and download service end can be with one Body is integrated, in another example, identical technical effect can be achieved using same download service end, etc. in all requesting party's terminals, and It is not limited to the scene that Fig. 1 is enumerated.
Fig. 2 is a kind of flow chart for data mask method that one embodiment of the invention provides.
As depicted in figs. 1 and 2, in the present embodiment, the present invention provides a kind of data mark suitable for block chain node 101 Injecting method, comprising:
S12: receiving the data mark requests transaction of the first terminal transmission of requesting party and marks contract execution by data, The download address of the cryptographic Hash of several data to be marked and each data to be marked to be recorded on block chain, and in data mark Reward to be paid is freezed to requesting party's account in note contract;
S14: the mark task for receiving the second terminal transmission of mark side, which picks up transaction and marks contract by data, to be executed, The several first data to be marked are randomly assigned for mark side, and by the first cryptographic Hash of the first data to be marked and the first downloading Location is recorded on block chain, for second terminal acquisition, according to the first cryptographic Hash access the first download address with download first to Labeled data generates the first annotation results, and is packaged according to the first annotation results and generates annotation results submission transaction;
S16: receiving simultaneously to mark contract by data and execute annotation results and submit transaction, and regular according to pre-configuration judges the Whether one data to be marked mark success:
It is to then follow the steps S18: the first annotation results, the mark completion status of the first data to be marked and certification is marked Note result is recorded on block chain, so that first terminal obtains certification annotation results;And according to the reward to be paid freezed Provide reward.
Need to mark the first data set set below with enterprise's firstA, enterprise's second need to mark the second data set setB, user The third, several users such as fourth pick up for task is labeled, and are illustratively illustrated the above method:
When enterprise's first is required to the first data set setAWhen being labeled, requesting party's terminal 20 of enterprise's first generates respectively One data set setAMiddle each data set to be markedA-1-setA-100Cryptographic Hash HsetA-1-HsetA-100, by the first data set setA(setA-1-setA-100) store into download service end 30, and be each data set to be markedA-1-setA-100Under configuration Set address addA, further according to each data set to be markedA-1-setA-100Cryptographic Hash HsetA-1-HsetA-100And download address addAIt generates data and marks requests transaction txA, by txAIt is sent to block chain node 101;
Similarly, requesting party's terminal 20 of enterprise's second is the second data set setBEach data set to be markedB-1- setB-150Generate cryptographic Hash HsetB-1-HsetB-150And configure download address addB-1-addB-150, further according to HsetB-1-HsetB-150With addB-1-addB-150It generates data and marks requests transaction txB, by txBIt is sent to block chain node 101.
In step s 12, block chain node 101 receives, broadcast, is packaged and marks contract execution tx by dataA, will breathe out Uncommon value HsetA-1-HsetA-100With corresponding download address addAIt is recorded on block chain, to issue mark on block chain setA-1-setA-100Mark task, while freezing the reward to be paid of enterprise's first account in data mark contract.
Specifically, when Sorry, your ticket has not enough value in enterprise's first account to pay reward (that is, failure is freezed in reward to be paid), txAExecute failure.In the present embodiment, the number of reward to be paid is according to number, the data mark for marking single data to be marked The mark rule that note requests transaction requests the quantity of the data to be marked of mark and data mark contract to be pre-configured calculates It arrives.For example, the number of mark single data to be marked is configured to 5 xxx coin, txARequest 100 datas of mark, mark rule The prewired identical mark side of preceding 4 annotation results that is set to marks successfully jointly, and the annotation results after marking successfully are invalid, then execute txAThe reward to be paid that need to freeze is 2000xxx coin.In more embodiments, it can also configure according to actual needs different Fees policy, for example, the sum of practical reward and service charge are configured by reward to be paid, or, being configured to practical reward and request It is ready the sum of urgent expense of payment, etc. in side.
Similarly, in step s 12, block chain node 101 executes txBAfterwards by cryptographic Hash HsetB-1-HsetB-150Under corresponding Set address addB-1-addB-150It is recorded on block chain, the publication mark set on block chainB-1-setB-150Mark task, together When freeze the reward to be paid of enterprise's second account in data mark contract.
Each mark side, such as user third can be in mark side's terminals 40 after the mark task issued on seeing block chain The middle operation for carrying out picking up task, mark side's terminal 40 of user third generate mark task and pick up transaction tx in response to the operationC It is sent to block chain node 101.
Specifically, in the present embodiment, mark task picks up the data to be marked that transaction can freely specify this to mark Quantity, in more embodiments, be also configurable to mark task pick up in transaction can not specified quantity, and by data mark Note contract distributes the data to be marked of fixed quantity automatically.
Preferably, contract execution mark task is marked by data and pick up transaction further include: whether detection mark side has divided Equipped with the data to be marked for not submitting annotation results: be then mark task pick up transaction execute failure.
Specifically, in order to avoid user attempts to obtain complete initial data by maliciously largely picking up mark task Collection, can limit user can not pick up mark task parallel, and only can just pick up after completing upper primary task and appoint next time Business.
In step S14, block chain node 101 receives, broadcast, is packaged and marks contract execution tx by dataC, for Family third is randomly assigned 4 data set to be markedA-1、setA-5、setB-2、setB-7, and by each item data to be marked distributed Cryptographic Hash and download address are recorded on block chain.At the same time, data mark contract also divides each item data to be marked at random Provisioned user fourth etc. other pick up the user of mark task.
Specifically, in the present embodiment, the mode that is randomly assigned of data mark contract is configured to multiple requestor requests The data to be marked of mark are uniformly random to distribute to multiple mark sides.In more embodiments, it can also match according to actual needs Set it is different be randomly assigned mode, for example, the data to be marked for paying urgent expense are preferentially randomly assigned to multiple mark sides, etc. Deng can be realized as long as all data to be marked of same data set are not distributed to same mark side by the mode being randomly assigned Identical technical effect.
Mark side's terminal 40 of user third is getting data set to be markedA-1Cryptographic Hash HsetA-1And download address addA、setA-5Cryptographic Hash HsetA-5With download address addA、setB-2Cryptographic Hash HsetB-2With download address addB-2、setB-7 Cryptographic Hash HsetB-7With download address addB-7Afterwards, according to HsetA-1And HsetA-5Access addATo download data set to be markedA-1 And setA-5, according to HsetB-2Access addB-2To download data set to be markedB-2, according to HsetB-7Access addB-7To download wait mark Infuse data setB-7
It is preferably, above-mentioned that access the first download address according to the first cryptographic Hash to download the first data to be marked include: the Two terminals access the first download address according to the signature of mark side, the first cryptographic Hash and request the first data to be marked of downloading;Under The downloading that server-side is carried in response to second terminal is requested, according to signature, the data verification mark side of the first cryptographic Hash and block chain Whether it is assigned to the first data to be marked: is then to download success, sends the first data to be marked to second terminal;It is no, then it downloads Failure.
For example, mark side's terminal 40 of user third need to provide the signature of user third when downloading data to be marked, under Server-side 30 is carried after the downloading request for receiving mark side's terminal 40, according to the signature of user third, above-mentioned cryptographic Hash and block chain Data verification user third whether be assigned to request downloading data to be marked: be then to download success, download service end 30 to Mark side's terminal 40 sends the data to be marked for requesting downloading;It is no, then illustrate that user third is unallocated and requests downloading to mark Data to be marked task, and be attempt to illegal download raw data set, failed download.
Mark side's terminal 40 of user third downloads to data set to be markedA-1、setA-5、setB-2、setB-7Later, user Third pair of these data to be marked is labeled, so that annotation results are generated in mark side's terminal 40,40 basis of mark side's terminal Annotation results generated are packaged annotation results and submit transaction txC’, and it is sent to block chain node 101.
In step s 16, block chain node 101 receives, broadcast, is packaged and marks contract execution tx by dataC’, according to The rule of pre-configuration judges data set to be markedA-1、setA-5、setB-2、setB-7Whether mark is successful.
For example, the judging result of step S16 is setA-1It marks successfully, setA-5、setB-2、setB-7Success is not marked, Then by user third to setA-5、setB-2、setB-7Annotation results be recorded on block chain, and step S18 is executed, by setA-1's Mark completion status and certification annotation results are recorded on block chain, so that requesting party's terminal 20 of enterprise's first obtains setA-1's Annotation results are authenticated, and according to the reward to be paid freezed in contract to common mark setA-1Successful user third gradegrade C user Provide reward.
Preferably, above-mentioned to judge whether the first data to be marked mark according to the rule of pre-configuration and successfully include:
Judge whether the first data to be marked have marked success:
It is that then first annotation results are invalid;
The first mark that is no, then submitting transaction to submit according to each first annotation results and annotation results recorded on block chain As a result identical first annotation results of the first quantity are judged whether there is:
No, then the first data to be marked do not mark success;
It is that then the first data to be marked mark successfully.
For example, mark side's terminal 40 of user's fourth submits set by sending transactionA-1、setA-4、setB-12、setB-26Mark Infuse result;
Data mark contract according to the set recorded on block chainA-1Mark completion status judge setA-1It marks into Function, the then set that user's fourth is submittedA-1Annotation results it is invalid;And setA-4、setB-12、setB-26It not yet marks successfully, then root According to the set recorded on block chainA-4、setB-12、setB-26Annotation results and user's fourth submit annotation results judge respectively be It is no to have 4 annotation results identical:
Judge there are 4 setB-12Annotation results it is identical, then setB-12It marks successfully, by setB-12Mark complete shape State and certification annotation results are recorded on block chain, so that requesting party's terminal 20 of enterprise's second obtains setB-12Certification mark knot Fruit;
Also judge that there has been no 4 set simultaneouslyA-4Or setB-26Annotation results it is identical, therefore setA-4With setB-26It does not mark Function is formed, the annotation results that user's fourth is submitted are recorded on block chain.
Above-described embodiment passes through the cryptographic Hash and downloading ground of a plurality of data to be marked for being concentrated initial data by requesting party Location is published on block chain, and freezes reward to be paid in data mark contract, then marking contract by data is to pick up mark Each mark side of task is randomly assigned data to be marked, is sentenced automatically after annotation results are submitted by each mark side by data mark contract It is fixed whether to mark success, and annotation results, granting reward are recorded when marking successfully, so that efficient data mark is realized, It has ensured that raw data set is also difficult to completely be obtained by any mark side without open simultaneously, has avoided raw data set leakage Risk;
And further by mark side's terminal downloads data to be marked, verify mark side's identity, avoid third party into Row illegal download further avoids the risk of raw data set leakage.
Fig. 3 is the flow chart for another data mask method that one embodiment of the invention provides.Method shown in Fig. 3 can match Method shown in Fig. 2 is closed to execute.
As shown in figure 3, in the present embodiment, the present invention also provides another data mark sides for being suitable for requesting party's terminal Method, comprising:
S22: marking several data to be marked in response to request, generates the cryptographic Hash of each data to be marked, and for respectively to Labeled data configures download address;
S24: data mark requests transaction is generated according to the cryptographic Hash of each data to be marked and download address and is sent to area Block chain node, to be executed for use by data mark contract, by the cryptographic Hash and each data to be marked of several data to be marked Download address be recorded on block chain, and data mark contract in reward to be paid is freezed to requesting party's account, and, connect The mark task for receiving the second terminal transmission of mark side, which picks up transaction and marks contract by data, to be executed, and is divided at random for mark side Block chain is recorded in the several first data to be marked, and by the first cryptographic Hash of the first data to be marked and the first download address On, for second terminal acquisition, the first download address is accessed to download the first data to be marked according to the first cryptographic Hash, generates the One annotation results are packaged and generate annotation results submission transaction and be sent to block chain node, to hold for use by data mark contract Row judges whether the first data to be marked mark success according to the rule of pre-configuration, and ties the first mark when marking successfully Fruit, the mark completion status of first data to be marked and certification annotation results are recorded on block chain, and according to freezed to Reward is provided in payment reward;
S26: certification annotation results are obtained from the data of block chain.
Preferably, above-mentioned to be randomly assigned to include the uniformly random distribution of data to be marked for marking multiple requestor requests To multiple mark sides.
Preferably, contract execution mark task is marked by data and pick up transaction further include: whether detection mark side has divided Equipped with the data to be marked for not submitting annotation results: be then mark task pick up transaction execute failure.
Preferably, above-mentioned to judge whether the first data to be marked mark according to the rule of pre-configuration and successfully include:
Judge whether the first data to be marked have marked success:
It is that then the first annotation results are invalid;
The first mark that is no, then submitting transaction to submit according to each first annotation results and annotation results recorded on block chain As a result identical first annotation results of the first quantity are judged whether there is:
No, then the first data to be marked do not mark success;
It is that then the first data to be marked mark successfully.
Preferably, when requesting party's terminal and download service end integrate, the above method further include: eventually in response to second End accesses the first download address according to the signature of mark side, the first cryptographic Hash and requests the first data to be marked of downloading, according to label Whether the data verification mark side of name, the first cryptographic Hash and block chain is assigned to the first data to be marked: it is then to download success, The first data to be marked are sent to second terminal;It is no, then failed download.
The data mark principle of method shown in Fig. 3 can refer to method shown in Fig. 2, and details are not described herein again.
Fig. 4 is the flow chart for another data mask method that one embodiment of the invention provides.Method shown in Fig. 4 can match It closes Fig. 2 and method shown in Fig. 3 executes.
As shown in figure 4, in the present embodiment, the present invention also provides the data mark sides that another is suitable for mark side's terminal Method, comprising:
S32: generating mark task and pick up transaction and be sent to block chain node, to be executed for use by data mark contract, The several first data to be marked are randomly assigned for mark side, and by the first cryptographic Hash of the first data to be marked and the first downloading Location is recorded on block chain;Wherein, the first cryptographic Hash and the first download address mark contract by data and execute several requesting parties' The data mark requests transaction that first terminal is sent is recorded on block chain, and freezes in data mark contract to requesting party's account Tie reward to be paid;
S34: by the first cryptographic Hash of data acquisition of block chain and the first download address, according to the first cryptographic Hash access the The first data to be marked are carried below one download address;
S36: being labeled the first data to be marked in response to mark side, generates the first annotation results;
S38: it is packaged according to the first annotation results and generates annotation results submission transaction and be sent to block chain node, for logical It crosses data mark contract to execute, judges whether the first data to be marked mark success according to the rule of pre-configuration: being, then by first Annotation results, the mark completion status of the first data to be marked and certification annotation results are recorded on block chain, eventually for first End obtains certification annotation results;And reward is provided according to the reward to be paid freezed.
Preferably, above-mentioned to be randomly assigned to include the uniformly random distribution of data to be marked for marking multiple requestor requests To multiple mark sides.
Preferably, contract execution mark task is marked by data and pick up transaction further include: whether detection mark side has divided Equipped with the data to be marked for not submitting annotation results: be then mark task pick up transaction execute failure.
Preferably, above-mentioned to judge whether the first data to be marked mark according to the rule of pre-configuration and successfully include:
Judge whether the first data to be marked have marked success:
It is that then the first annotation results are invalid;
The first mark that is no, then submitting transaction to submit according to each first annotation results and annotation results recorded on block chain As a result identical first annotation results of the first quantity are judged whether there is:
No, then the first data to be marked do not mark success;
It is that then the first data to be marked mark successfully.
Preferably, above-mentioned to include: to download the first data to be marked according to the first cryptographic Hash the first download address of access
The first download address is accessed according to the signature of mark side, the first cryptographic Hash and requests the first data to be marked of downloading, It is to be marked so that whether download service end according to the data verification mark side of signature, the first cryptographic Hash and block chain is assigned to first Data: being, then downloads success;It is no, then failed download;
It receives download service end and determines the first data to be marked sent after downloading successfully.
The data mark principle of method shown in Fig. 4 equally can refer to method shown in Fig. 2, and details are not described herein again.
Fig. 5 is a kind of structural schematic diagram for equipment that one embodiment of the invention provides.
As shown in figure 5, present invention also provides a kind of equipment 500, including one or more centres as on the other hand Unit (CPU) 501 is managed, can be added according to the program being stored in read-only memory (ROM) 502 or from storage section 508 The program that is downloaded in random access storage device (RAM) 503 and execute various movements appropriate and processing.In RAM503, also deposit It contains equipment 500 and operates required various programs and data.CPU501, ROM502 and RAM503 pass through the phase each other of bus 504 Even.Input/output (I/O) interface 505 is also connected to bus 504.
I/O interface 505 is connected to lower component: the importation 506 including keyboard, mouse etc.;It is penetrated including such as cathode The output par, c 507 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 508 including hard disk etc.; And the communications portion 509 of the network interface card including LAN card, modem etc..Communications portion 509 via such as because The network of spy's net executes communication process.Driver 510 is also connected to I/O interface 505 as needed.Detachable media 511, such as Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 510, in order to read from thereon Computer program be mounted into storage section 508 as needed.
Particularly, in accordance with an embodiment of the present disclosure, the data mask method of any of the above-described embodiment description can be implemented For computer software programs.For example, embodiment of the disclosure includes a kind of computer program product comprising be tangibly embodied in Computer program on machine readable media, computer program include the program code for executing data mask method.At this In the embodiment of sample, which can be downloaded and installed from network by communications portion 509, and/or from removable Medium 511 is unloaded to be mounted.
As another aspect, present invention also provides a kind of computer readable storage medium, the computer-readable storage mediums Matter can be computer readable storage medium included in the device of above-described embodiment;It is also possible to individualism, it is unassembled Enter the computer readable storage medium in equipment.Computer-readable recording medium storage has one or more than one program, should Program is used to execute the data mask method for being described in the application by one or more than one processor.
Flow chart and block diagram in attached drawing are illustrated according to the system of various embodiments of the invention, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of the module, program segment or code include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, this is depending on related function.Also it wants It is noted that the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart, Ke Yitong The dedicated hardware based system of functions or operations as defined in executing is crossed to realize, or by specialized hardware and can be calculated The combination of machine instruction is realized.
Being described in the embodiment of the present application involved unit or module can be realized by way of software, can also be with It is realized by way of hardware.Described unit or module also can be set in the processor, for example, each unit can be Software program in computer or intelligent movable equipment is set, the hardware device being separately configured is also possible to.Wherein, these lists The title of member or module does not constitute the restriction to the unit or module itself under certain conditions.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from the application design, appointed by above-mentioned technical characteristic or its equivalent feature Other technical solutions of meaning combination and formation.Such as features described above and (but being not limited to) disclosed herein have similar functions Technical characteristic replaced mutually and the technical solution that is formed.

Claims (17)

1. a kind of data mask method, which is characterized in that the method is suitable for block chain node, which comprises
It receives the data mark requests transaction of the first terminal transmission of requesting party and marks contract by data and execute, it will be several The download address of the cryptographic Hash of item data to be marked and each data to be marked is recorded on block chain, and in the data mark Reward to be paid is freezed to requesting party's account in note contract;
The mark task for receiving the second terminal transmission of mark side, which picks up transaction and marks contract by the data, to be executed, for institute It states mark side and is randomly assigned the several first data to be marked, and will be under the first cryptographic Hash and first of the described first data to be marked Set address is recorded on the block chain, for second terminal acquisition, according to first cryptographic Hash access described first Download address generates the first annotation results to download the described first data to be marked, and is packaged according to first annotation results It generates annotation results and submits transaction;
It receives and marks contract by the data and execute the annotation results submission transaction, institute is judged according to the rule of pre-configuration State whether the first data to be marked mark success:
It is, then by first annotation results, the mark completion status of first data to be marked and certification annotation results note Record is on the block chain, so that the first terminal obtains the certification annotation results;And it is to be paid according to what is freezed Reward is provided in reward.
2. the method according to claim 1, wherein described be randomly assigned to include by multiple requestor requests The data to be marked of mark are uniformly random to distribute to multiple mark sides.
3. the method according to claim 1, wherein marking contract by the data executes the mark task Pick up transaction further include:
It detects whether the mark side has been assigned the data to be marked for not submitting annotation results: being, then the mark task connects Transaction is taken to execute failure.
4. the method according to claim 1, wherein described according under first cryptographic Hash access described first Set address includes: to download the described first data to be marked
The second terminal accesses first download address according to the signature of the mark side, first cryptographic Hash and requests Download the described first data to be marked;
Download service end is requested in response to the downloading of the second terminal, according to the signature, first cryptographic Hash and described Whether mark side described in the data verification of block chain is assigned to the described first data to be marked: it is then to download success, Xiang Suoshu Two terminals send first data to be marked;It is no, then failed download.
5. method according to claim 1-4, which is characterized in that described in the rule judgement according to pre-configuration Whether the first data to be marked, which mark, successfully includes:
Judge whether the described first data to be marked have marked success:
It is that then first annotation results are invalid;
The first mark that is no, then submitting transaction to submit according to each first annotation results recorded on block chain and the annotation results As a result identical first annotation results of the first quantity are judged whether there is:
No, then the described first data to be marked do not mark success;
It is that then the described first data to be marked mark successfully.
6. a kind of data mask method, which is characterized in that the method is suitable for requesting party's terminal, which comprises
Mark several data to be marked in response to request, generate the cryptographic Hash of each data to be marked, and for it is each it is described to Labeled data configures download address;
Data mark requests transaction is generated according to the cryptographic Hash of each data to be marked and download address and is sent to block chain Node, to be executed for use by data mark contract, by the cryptographic Hash and each data to be marked of several data to be marked Download address be recorded on block chain, and the data mark contract in reward to be paid is freezed to requesting party's account, with And the mark task that the second terminal of reception mark side is sent picks up transaction and marks contract execution by the data, for institute It states mark side and is randomly assigned the several first data to be marked, and will be under the first cryptographic Hash and first of the described first data to be marked Set address is recorded on the block chain, for second terminal acquisition, according to first cryptographic Hash access described first Download address generates the first annotation results to download the described first data to be marked, is packaged and generates annotation results submission transaction simultaneously Be sent to block chain node, with for use by the data mark contract execute, according to the rule of pre-configuration judge described first to Whether labeled data marks success, and when marking successfully by the mark of first annotation results, first data to be marked Note completion status and certification annotation results are recorded on the block chain, and provide reward according to the reward to be paid freezed;
The certification annotation results are obtained from the data of the block chain.
7. according to the method described in claim 6, it is characterized in that, described be randomly assigned to include by multiple requestor requests The data to be marked of mark are uniformly random to distribute to multiple mark sides.
8. according to the method described in claim 6, it is characterized in that, marking contract by the data executes the mark task Pick up transaction further include:
It detects whether the mark side has been assigned the data to be marked for not submitting annotation results: being, then the mark task connects Transaction is taken to execute failure.
9. according to the method described in claim 6, it is characterized in that, the rule according to pre-configuration judges described first wait mark Whether note data, which mark, successfully includes:
Judge whether the described first data to be marked have marked success:
It is that then first annotation results are invalid;
The first mark that is no, then submitting transaction to submit according to each first annotation results recorded on block chain and the annotation results As a result identical first annotation results of the first quantity are judged whether there is:
No, then the described first data to be marked do not mark success;
It is that then the described first data to be marked mark successfully.
10. the method according to claim 6, which is characterized in that further include:
First download address is accessed according to the signature of the mark side, first cryptographic Hash in response to the second terminal And request to download the described first data to be marked, it is tested according to the data of the signature, first cryptographic Hash and the block chain It demonstrate,proves whether the mark side is assigned to the described first data to be marked: being then to download success, described in the transmission of Xiang Suoshu second terminal First data to be marked;It is no, then failed download.
11. a kind of data mask method, which is characterized in that the method is suitable for mark side's terminal, which comprises
It generates mark task to pick up transaction and be sent to block chain node, is the mark to be executed for use by data mark contract Note side is randomly assigned the several first data to be marked, and by the first cryptographic Hash of the described first data to be marked and the first downloading Location is recorded on the block chain;Wherein, first cryptographic Hash and first download address are by data mark contract The data mark requests transaction for executing the first terminal transmission of several requesting parties is recorded on the block chain, and in the data Reward to be paid is freezed to requesting party's account in mark contract;
First cryptographic Hash described in data acquisition by the block chain and first download address, according to first Hash Value accesses first download address to download the described first data to be marked;
The described first data to be marked are labeled in response to mark side, generate the first annotation results;
It is packaged according to first annotation results and generates annotation results submission transaction and be sent to block chain node, for use by institute It states data mark contract to execute, judges whether the described first data to be marked mark success according to the rule of pre-configuration: being, then will First annotation results, the mark completion status of first data to be marked and certification annotation results are recorded in the block On chain, so that the first terminal obtains the certification annotation results;And reward is provided according to the reward to be paid freezed Labor.
12. according to the method for claim 11, which is characterized in that described to be randomly assigned to include asking multiple requesting parties Ask the data to be marked of mark are uniformly random to distribute to multiple mark sides.
13. according to the method for claim 11, which is characterized in that mark contract by the data and execute the mark times Business picks up transaction further include:
It detects whether the mark side has been assigned the data to be marked for not submitting annotation results: being, then the mark task connects Transaction is taken to execute failure.
14. according to the method for claim 11, which is characterized in that the rule according to pre-configuration judge described first to Whether labeled data marks
Judge whether the described first data to be marked have marked success:
It is that then first annotation results are invalid;
The first mark that is no, then submitting transaction to submit according to each first annotation results recorded on block chain and the annotation results As a result identical first annotation results of the first quantity are judged whether there is:
No, then the described first data to be marked do not mark success;
It is that then the described first data to be marked mark successfully.
15. the described in any item methods of 1-14 according to claim 1, which is characterized in that described to be visited according to first cryptographic Hash Ask that first download address includes: to download the described first data to be marked
First download address is accessed according to the signature of the mark side, first cryptographic Hash and requests to download described first Data to be marked, so that download service end is according to the signature, the data verification institute of first cryptographic Hash and the block chain It states whether mark side is assigned to the described first data to be marked: being then to download success;It is no, then failed download;
It receives the download service end and determines the described first data to be marked sent after downloading successfully.
16. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Memory, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors Execute the method as described in any one of claim 1-15.
17. a kind of storage medium for being stored with computer program, which is characterized in that realize when the program is executed by processor as weighed Benefit requires method described in any one of 1-15.
CN201910469429.8A 2019-05-31 2019-05-31 Data mask method, equipment and storage medium Pending CN110188570A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910469429.8A CN110188570A (en) 2019-05-31 2019-05-31 Data mask method, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910469429.8A CN110188570A (en) 2019-05-31 2019-05-31 Data mask method, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110188570A true CN110188570A (en) 2019-08-30

Family

ID=67719401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910469429.8A Pending CN110188570A (en) 2019-05-31 2019-05-31 Data mask method, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110188570A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111737343A (en) * 2020-05-11 2020-10-02 广州大学 Information labeling method based on block chain

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150379510A1 (en) * 2012-07-10 2015-12-31 Stanley Benjamin Smith Method and system to use a block chain infrastructure and Smart Contracts to monetize data transactions involving changes to data included into a data supply chain.
CN108509274A (en) * 2018-03-28 2018-09-07 厦门益东智能科技有限公司 A kind of method and system based on block chain data automatic marking and intellectual analysis
CN108734576A (en) * 2018-04-04 2018-11-02 深圳大学 A kind of shared education resources method and system based on block chain
CN109118223A (en) * 2018-08-21 2019-01-01 上海点融信息科技有限责任公司 For managing the method, apparatus and medium of electronic data in block chain
CN109445948A (en) * 2018-11-15 2019-03-08 济南浪潮高新科技投资发展有限公司 A kind of data mark crowdsourcing plateform system and crowdsourcing data mask method based on intelligent contract
CN109740622A (en) * 2018-11-20 2019-05-10 众安信息技术服务有限公司 Image labeling task crowdsourcing method and system based on the logical card award method of block chain

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150379510A1 (en) * 2012-07-10 2015-12-31 Stanley Benjamin Smith Method and system to use a block chain infrastructure and Smart Contracts to monetize data transactions involving changes to data included into a data supply chain.
CN108509274A (en) * 2018-03-28 2018-09-07 厦门益东智能科技有限公司 A kind of method and system based on block chain data automatic marking and intellectual analysis
CN108734576A (en) * 2018-04-04 2018-11-02 深圳大学 A kind of shared education resources method and system based on block chain
CN109118223A (en) * 2018-08-21 2019-01-01 上海点融信息科技有限责任公司 For managing the method, apparatus and medium of electronic data in block chain
CN109445948A (en) * 2018-11-15 2019-03-08 济南浪潮高新科技投资发展有限公司 A kind of data mark crowdsourcing plateform system and crowdsourcing data mask method based on intelligent contract
CN109740622A (en) * 2018-11-20 2019-05-10 众安信息技术服务有限公司 Image labeling task crowdsourcing method and system based on the logical card award method of block chain

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111737343A (en) * 2020-05-11 2020-10-02 广州大学 Information labeling method based on block chain

Similar Documents

Publication Publication Date Title
Ocheja et al. Managing lifelong learning records through blockchain
US20190279240A1 (en) Web content generation and storage via blockchain
CN109447648A (en) The method of recorded data zone block, accounting nodes and medium in block chain network
US11886398B2 (en) Data supply chain
US20190108576A1 (en) Blockchain systems and methods for procurement
CN109190881B (en) Data asset management method, system and equipment
US20220261461A1 (en) Secure resource management to prevent fraudulent resource access
CN107003906A (en) The type of cloud computing technology part is to type analysis
CN105144725A (en) Scalable content delivery network request handling mechanism
US11244311B2 (en) Decentralized smart resource sharing between different resource providers
US20210042748A1 (en) Blockchain-based secure resource management
US11935036B2 (en) Redemption and settlement transactions via smart contracts
US11893598B1 (en) On-chain loyalty program management
WO2020081102A1 (en) System and method for supplier information management
US20230038497A1 (en) Database system public trust ledger contract linkage
US20130174278A1 (en) Digital rights management (drm) service control method, apparatus, and system
CN110213290A (en) Data capture method, API gateway and storage medium
US20230298001A1 (en) Non-fungible token (nft) purchase and transfer system
US20230177496A1 (en) Multi-party computation in a computer sharding environment
US20230206231A1 (en) Laundering detection in second layer networks
US20230073337A1 (en) Universally trusted bridges for heterogenous blockchain networks
US20240061702A1 (en) Method and system for collecting user information according to providing virtual desktop infrastructure service
CN110188570A (en) Data mask method, equipment and storage medium
US9947038B2 (en) Dynamically customizing user quotas
CN116894732A (en) Digital asset management method, device, system and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190830