CN111209602B - Block chain based data development method, system, server and storage medium - Google Patents
Block chain based data development method, system, server and storage medium Download PDFInfo
- Publication number
- CN111209602B CN111209602B CN202010042333.6A CN202010042333A CN111209602B CN 111209602 B CN111209602 B CN 111209602B CN 202010042333 A CN202010042333 A CN 202010042333A CN 111209602 B CN111209602 B CN 111209602B
- Authority
- CN
- China
- Prior art keywords
- data
- development
- target data
- block chain
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting 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/6227—Protecting 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/2141—Access rights, e.g. capability lists, access control lists, access tables, access matrices
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Bioethics (AREA)
- Databases & Information Systems (AREA)
- Storage Device Security (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the invention discloses a data development method, a system, a server and a storage medium based on a block chain, which comprises the following steps: receiving a data development request, wherein the data development request carries target data; confirming whether the target data is authorized to be developed; and if the target data is authorized, executing development operation on the target data, and storing the process of the development operation to a block chain. According to the embodiment of the application, by receiving the data development request, when the target data is confirmed to be authorized to be developed, the development operation is executed on the target data, and the process of the development operation is stored to the block chain. By adopting the method, the fairness and the transparency of data development are ensured, the safety of the data is ensured, and the risk that the data is easy to tamper and lose is reduced.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a data development method, system, server, and storage medium based on a block chain.
Background
The blockchain is a distributed account book, and a reliable database is maintained collectively in a decentralized and trust-removing mode.
In the prior art, when an enterprise develops data, links such as data use application, auditing, process archiving and the like are involved. In the process of data development by a data developer, development scripts and execution processes are recorded in a traditional database. Because the traditional database is easy to be tampered or even deleted, the defects that audit cannot be carried out or the audit basis is not credible and the like are easily caused.
Disclosure of Invention
The embodiment of the application provides a data development method, a system, a server and a storage medium based on a block chain, which can monitor the whole link of the whole data development process and effectively ensure the safety of data.
A first aspect of an embodiment of the present application provides a data development method based on a block chain, including:
receiving a data development request, wherein the data development request carries target data;
confirming whether the target data is authorized to be developed;
and if the target data is authorized, executing development operation on the target data, and storing the process of the development operation to a block chain.
Optionally, the data development request further carries identity information, and the determining whether to authorize development of the target data includes:
confirming whether the identity information is in an authorization list or not;
if so, confirming whether the authority for developing the target data is provided;
if the authority for developing the target data is provided, the authorization for developing the target data is confirmed;
and if the target data does not have the authority to develop the target data, the target data is not authorized.
Optionally, before the performing the development operation on the target data, the method further includes:
generating a contract file, an authorization code and a secret key according to the identity information and the target data;
and sending the contract file, the authorization code and the key so as to verify the authorization code and the key after receiving the submitted authorization code and key, and triggering the development operation on the target data after the verification is passed.
Optionally, the executing development operation on the target data includes:
developing the target data to obtain development data;
auditing the development data;
if the verification is passed, performing hash processing on the development data to obtain a hash value of the development data;
and storing the hash value of the development data to the block chain.
Further, the method also comprises the following steps:
calling the development data;
determining whether a hash value of the development data currently being called matches a hash value of the development data stored on the blockchain;
if the development data are matched with the data, scheduling operation is carried out on the development data to obtain scheduling information;
and storing the scheduling information to the block chain.
Further, prior to the receiving the data development request, the method further comprises:
receiving a data search request, wherein the data search request carries the target data;
confirming whether a data cache center stores the target data or not;
and if the target data are stored, displaying the target data.
A second aspect of an embodiment of the present application provides a data development system based on a blockchain, including:
the receiving module is used for receiving a data development request, and the data development request carries target data;
a confirmation module for confirming whether the target data is authorized to be developed;
and the development module is used for executing development operation on the target data and storing the process of the development operation to the block chain if the target data is authorized.
A third aspect of the embodiments of the present application provides a data development server based on a blockchain, including a processor, an input device, an output device, and a memory, where the processor, the input device, the output device, and the memory are connected to each other, where the memory is used to store a computer program, the computer program includes program instructions, and the processor is configured to call the program instructions to execute the method.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium having a computer program stored thereon, the computer program being executable by a processor to implement the method.
The embodiment of the application has at least the following beneficial effects:
according to the embodiment of the application, by receiving the data development request, when the target data is confirmed to be authorized to be developed, the development operation is executed on the target data, and the process of the development operation is stored to the block chain. By adopting the method, the fairness and the transparency of data development are ensured, the safety of the data is ensured, and the risk that the data is easy to tamper and lose is reduced.
On the other hand, the block chain technology realizes the full-link supervision and tracking of data application, data authorization, data development, development results and the like in the data development process, and ensures the safety compliance of the data development process.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Wherein:
fig. 1 is an interaction diagram of a data development method based on a blockchain according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a data development method based on a blockchain according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a data development supervision unit according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of a data development method based on a blockchain according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a data development system based on a block chain according to an embodiment of the present invention;
fig. 6 is a schematic flowchart of a data development method based on a block chain according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a data development server based on a blockchain according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a data development system based on a block chain according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The development data related to the embodiments of the present application may include code and/or code logic for data development, and the like. And is not particularly limited herein.
The target data related to the embodiment of the application can comprise metadata, wherein the metadata is data describing data; the target data may also be any other form of data.
The applicant related to the embodiment of the present application may include a terminal, a server, or any user.
Referring to fig. 1, fig. 1 is an interaction diagram of a data development method based on a block chain according to an embodiment of the present disclosure. As shown in fig. 1, it may include steps 101-103, as follows:
101. receiving a data development request, wherein the data development request carries target data;
optionally, the data development request sent by the server may be received, and the like, which is not limited herein. The data development server based on the block chain receives the data development request, and the data development request can be received through a preset request interface.
The target data may be any metadata. The metadata data about data are data describing data, which mainly describe information of data attributes, and are used to support functions such as indicating storage locations, history data, resource searching, file recording, and the like. Optionally, the target data is data already stored on the blockchain.
102. Confirming whether the target data is authorized to be developed;
after receiving the data development request, the data development server based on the blockchain can perform authority verification on the target data and/or the applicant and the like to confirm whether the target data is authorized to be developed.
Optionally, the data development request further carries identity information, and the determining whether to authorize development of the target data includes:
confirming whether the identity information is in an authorization list or not;
if yes, determining whether the target data has the authority to develop the target data;
if the authority for developing the target data is provided, the target data is determined to be authorized to be developed;
and if the target data does not have the authority of developing the target data, the target data is not authorized.
The identity information may be user identity information. The user identity information may be, for example, identification number information, user name information, or any other information that can represent an identity. The authorization list can be pre-set personnel with specific authority and the like. For example, the authorization list is a list of persons authorized to enter the interface for developing data for viewing.
The determining whether the user has the right to develop the target data may be determining whether the user corresponding to the identity information has the right to develop the target data. The right to develop the target data may be provided only by a developer or a specific person, for example.
103. And if the target data is authorized, executing development operation on the target data, and storing the process of the development operation to a block chain.
The executing development operation on the target data according to the embodiment of the present application may include, for example, writing a code for data development, and performing operations such as code verification and/or scheduling.
Further, the process of storing the development operation, such as from the initiation of the application to the completion of the development, also includes storing the obtained development data to ensure that the process is traceable and supervisoble.
According to the embodiment of the application, by receiving a data development request, when the target data is confirmed to be authorized to be developed, the development operation is executed on the target data, and the whole process of the development operation is stored to a block chain. By adopting the method, the fairness and the transparency of data development are ensured, the safety of the data is ensured, and the risk that the data is easy to tamper and lose is reduced.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating a block chain-based data development method according to an embodiment of the present disclosure. As shown in fig. 2, it may include steps 201-209, which are detailed as follows:
201. receiving a data development request, wherein the data development request carries target data and identity information;
the identity information may be identity card number information, user name information, face information, or any other information that can represent identity.
Optionally, the application may be initiated by reading metadata loaded from the blockchain, searching for the target data, and determining the target data.
202. Confirming whether the target data is authorized to be developed;
203. if the authorization is carried out, generating a contract file, an authorization code and a secret key according to the identity information and the target data, and storing the contract file, the authorization code and the secret key to the block chain;
after the target data is determined to be authorized to be developed, a contract file, an authorization code and a key are generated and stored in a block chain.
204. Sending the contract file, the authorization code and the secret key;
for example, the contract file, the authorization code, and the key may be sent to a user who initiates a data development request, so that the user receives an authorization notification, may view relevant information such as the contract file, the authorization code, and the key, and may further initiate a data use operation, such as data development.
205. Receiving an authorization code and a key, and confirming whether the authorization code and the key are matched with the authorization code and the key stored on the block chain;
after receiving the authorization code and the key sent by the user, the authorization code and the key received are checked against the authorization code and the key stored in the block chain.
206. If the target data are matched with the target data, developing the target data to obtain development data;
the development data may correspond to code developed for the data, and the like.
207. Auditing the development data;
the audit can be an audit of development data, such as in the form of source code, or an audit of code logic, etc.
208. If the verification is passed, performing hash processing on the development data to obtain a hash value of the development data;
if the target task code is submitted to the auditing before being released online, the execution code is subjected to hash encryption and written into the block chain if the auditing is passed.
209. And storing the hash value of the development data to the block chain.
Here, the hash value of the development data is not limited to be stored. The entire course of operations is stored on the blockchain.
As a specific embodiment, the present application may use the application based on the target data sent by the applicant, and the data owner performs an authorization action after receiving the application. After successful authorization, the system generates authorization codes, keys, etc. and stores them on the block chain. And after the data authorization is successful, a data development execution request is initiated, and the application parameters of the data development execution request comprise authorization codes, secret keys and other encryption information. And the server side reads the authorization code and the key stored in the block chain after receiving the data development execution request, and verifies the authorization code and the key stored in the block chain with the authorization code and the key in the application parameter. And when the verification is passed, developing the code. And submitting online audit after the development is completed. And writing the code hash value into the block chain after the verification is passed.
Fig. 3 is a schematic structural diagram of a data development supervision unit according to an embodiment of the present invention. The data development supervision unit comprises a development process supervision module 1001, a data application module 1002, a data authorization module 1003, a metadata search module 1004, a code check module 1005, a blockchain module 1006 and a calculation engine module 1007.
The blockchain module 1006 may be configured to store metadata of uplink data, data operation records, codes, and code execution schedules, so as to ensure the credibility, tamper resistance, and traceability of related data.
The metadata search module 1004 may include a data initialization sub-module, a data service sub-module, and a data synchronization sub-module. The data initialization submodule can load the metadata on the block chain into the memory and provide a high-concurrency search function for the outside. The data service submodule can provide a restful search interface for the outside and save the search record to the blockchain. The restful is a design style and a development mode of a network application program, and can be defined by an xml format or a json format based on http. The restful is suitable for a scene that a mobile internet manufacturer serves as a service enabling interface, the function that a third party OTT calls mobile network resources can be achieved, and the action types are adding, changing and deleting called resources and the like. The data synchronization sub-module can monitor data change on the block chain after data initialization, and merge the changed data into the memory, so that the real-time performance of the search module for inquiring the data of the memory is ensured.
The data application module 1002 provides a channel for data usage application. The system can package the applied target data into the json object, store the request content into the block chain, and send the application message to the data owner, wherein the data owner can audit the application through the audit platform.
The data authorization module 1003 retrieves the corresponding request record from the blockchain by the data owner identity, and displays the record in a web manner. When viewing the application details, the system retrieves the application details data from the blockchain. If authorized, a contract file, authorization code, and key are generated and stored to the blockchain. The applicant can receive the authorization notification, check the relevant information such as the contract, the authorization code, the secret key and the like, and initiate the data use action.
The authorized data and the associated execution code are distributed to the calculation engine module 1007 for scheduling execution. The process of scheduling execution and the result metadata are stored in the blockchain, and after the steps are completed, the calculation engine destroys the calculation example and does not store any data.
The development process supervision module 1001 is used for supervising the whole development process, wherein data applications, data authorizations, data development source codes, code execution scheduling records, execution results and the like involved in the development process are stored in a block chain, so as to ensure that the process is traceable and supervisoble.
Code verification module 1005: and submitting the audit before the task code is released and online, and writing the hash encryption of the execution code into the block chain if the audit is passed. And subsequently, before the task is scheduled by the computing engine, reading the hash code corresponding to the code from the block chain through the task ID, and checking the hash code with the hash code of the currently executed code. If the matching is carried out, scheduling is carried out; if not, the scheduling is stopped and the exception is recorded.
According to the embodiment of the application, by receiving the data development request, when the target data is confirmed to be authorized to be developed, the key and the like are generated, so that the key and the like can be checked before the data is developed, and the use safety of the data is ensured; and executing a development operation on the target data and storing the process of the development operation on the blockchain. By adopting the method, the fairness and the transparency of data development are ensured, the safety of the data is ensured, and the risk that the data is easy to tamper and lose is reduced.
Referring to fig. 4, fig. 4 is a schematic flowchart of a block chain-based data development method according to an embodiment of the present disclosure. As shown in fig. 4, it may include steps 401-413, as follows:
401. receiving a data search request, wherein the data search request carries target data;
for example, a data search request sent by a terminal or a server is received. And is not particularly limited herein.
The embodiment can read the metadata loaded from the blockchain by the applicant, search the target data, and initiate the application after determining the target data.
402. Confirming whether a data cache center stores the target data or not;
403. if the target data are stored, displaying the target data;
404. receiving a data development request, wherein the data development request carries the target data;
405. confirming whether the target data is authorized to be developed;
406. if the target data is authorized, developing the target data to obtain development data;
the development data may correspond to code developed for the data, and the like.
Further, if the authorization is carried out, a contract file, an authorization code and a key can be generated according to target data and/or applicant information and the like, and the contract file, the authorization code and the key are stored on the block chain;
the specific information is not limited herein, for example, the corresponding request record may be retrieved from the blockchain by the data owner identity, and the request record may be displayed in a web manner, and when the application details are viewed, the application details data may be retrieved from the blockchain. Wherein the detail data includes the following information: user information, usage purpose, usage period, and billing mode, etc.
And when the target data is authorized to be developed, generating a contract file, an authorization code and a key, and storing the contract file, the authorization code and the key to a block chain.
Then sending the contract document, the authorization code and the key to the applicant; after receiving the authorization notification, the applicant can view the contract file, the authorization code, the key and other related information, and further initiate data use operations, such as data development and the like.
If receiving the authorization code and the key sent by the applicant, confirming whether the authorization code and the key sent by the applicant are matched with the authorization code and the key stored on the block chain;
and if the target data are matched, developing the target data.
Such as writing code for data development to complete the data development.
407. Auditing the development data;
408. if the verification is passed, performing hash processing on the development data to obtain a hash value of the development data;
409. storing the hash value of the development data onto the blockchain;
410. calling the development data;
411. determining whether a hash value of the development data currently being called matches a hash value of the development data stored on the blockchain;
412. if the development data are matched with the data, scheduling operation is carried out on the development data to obtain scheduling information;
scheduling information including a task dependency graph, a task source code, calculation resources occupied by a task, time length, an execution log and the like can be generated in the scheduling process, and the system writes the scheduling information into a block chain.
413. And storing the scheduling information to the block chain.
Here, it is not limited to only save the scheduling information. The entire course of operations is stored on the blockchain.
Before code scheduling, the hash value stored in the block chain can be read through the task ID, and matching degree check is carried out on the hash value stored in the block chain and the hash value of the currently executed code. And if the verification is passed, executing scheduling. When the code is executed, authorized data are read and calculated, and after the calculation is finished, the calculation result metadata and the calculation process record are written into the block chain. The result metadata and the calculation process data stored in the block chain can be displayed and the statistical result can be presented in a web mode through the system, and the purpose of supervision can be achieved.
Fig. 5 is a schematic structural diagram of a data development system based on a blockchain according to an embodiment of the present invention. The data development system based on the block chain comprises a data middlebox, a block chain operation engine and the block chain.
The data center station comprises a metadata module, a development module, an authorization module, a scheduling module and an auditing module. The metadata module is used to retrieve data that the platform can use. The development module writes codes for data development. The authorization module can be used for auditing the code task which is applied for online. And the scheduling module performs scheduling execution on the task codes. The audit module can audit the task execution process.
The blockchain operations engine includes a metadata management module, a code execution checker, and an execution procedure writer. The metadata management module is used for operating and managing the data metadata. The code execution checker is used for carrying out hash check on the task code to be executed. The execution process writer is used to write data of the execution process into the blockchain.
The block chain is responsible for storing metadata, source codes, scheduling dependency data, task code hash check values and the like.
Fig. 6 is a schematic flow chart of a data development method based on a blockchain according to an embodiment of the present invention. Wherein the developer performs a search of the data metadata in the data. The blockchain operation engine loads data from the blockchain and returns the data to the data staging for presentation. The developer encodes using the data metadata.
After the development is completed, the developer submits a task application, issues and executes the task application. And the administrator audits the developed source code, if the audit is passed, the task execution code is calculated by using a secure hash algorithm, and a hash value is written into the block chain.
When the calculation engine module executes and calls the task code, the hash value corresponding to the block chain can be read through the task ID and matched with the hash value of the current execution code. When the matching is passed, scheduling is executed; if not, recording abnormal information to the block chain. During the scheduling process, a task dependency graph, a task source code, calculation resources occupied by the task, time (cpu, memory and the like) and an execution log can be generated, and the system writes all the information into a block chain.
A user can read the development process data on the block chain through the auditing module so as to audit and trace the calculation process.
According to the embodiment of the application, by receiving the data development request, when the target data is confirmed to be authorized to be developed, the development operation is executed on the target data, and the process of the development operation is stored to the block chain. By adopting the method, the fairness and the transparency of data development are ensured, the safety of the data is ensured, and the risk that the data is easy to tamper and lose is reduced. On the other hand, the block chain technology realizes the full-link supervision and tracking of data application, data authorization, data development, development results and the like in the data development operation process, realizes the effective supervision of the data development process, and ensures the safety compliance of the data development process.
In accordance with the foregoing embodiments, please refer to fig. 7, fig. 7 is a schematic structural diagram of a data development server based on a block chain according to an embodiment of the present application, and as shown in the drawing, the data development server includes a processor, an input device, an output device, and a memory, and the processor, the input device, the output device, and the memory are connected to each other, where the memory is used to store a computer program, the computer program includes program instructions, the processor is configured to call the program instructions, and the program includes instructions for performing the following steps;
receiving a data development request, wherein the data development request carries target data;
confirming whether the target data is authorized to be developed;
and if the target data is authorized, executing development operation on the target data, and storing the process of the development operation to a block chain.
According to the embodiment of the application, by receiving the data development request, when the target data is confirmed to be authorized to be developed, the development operation is executed on the target data, and the process of the development operation is stored to the block chain. By adopting the method, the fairness and the transparency of data development are ensured, the safety of the data is ensured, and the risk that the data is easy to tamper and lose is reduced.
The above description has introduced the solution of the embodiment of the present application mainly from the perspective of the method-side implementation process. It is understood that the terminal includes corresponding hardware structures and/or software modules for performing the respective functions in order to implement the above-described functions. Those of skill in the art will readily appreciate that the present application is capable of hardware or a combination of hardware and computer software implementing the various illustrative elements and algorithm steps described in connection with the embodiments provided herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the terminal may be divided into the functional units according to the above method example, for example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
In accordance with the above, please refer to fig. 8, and fig. 8 is a schematic structural diagram of a data development system based on a block chain according to an embodiment of the present application. The system comprises a receiving module 801, a confirming module 802 and a developing module 803, and the details are as follows:
a receiving module 801, configured to receive a data development request, where the data development request carries target data;
a confirmation module 802 configured to confirm whether the target data is authorized to be developed;
and the development module 803 is configured to, if the authorization is granted, perform development operation on the target data, and store a process of the development operation on the block chain.
Further, the system also comprises an auditing module used for:
auditing the development data; if the verification is passed, performing hash processing on the development data to obtain a hash value of the development data; and storing the hash value of the development data to the block chain.
It can be seen that, according to the embodiment of the present application, by receiving a data development request, when it is confirmed that the target data is authorized to be developed, a development operation is performed on the target data, and a process of the development operation is stored on a blockchain. By adopting the method, the fairness and the transparency of data development are ensured, the safety of the data is ensured, and the risk that the data is easy to tamper and lose is reduced.
Embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the above method embodiments based on block chain data development methods.
Embodiments of the present application also provide a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program enables a computer to execute part or all of the steps of any one of the above method embodiments based on the block chain data development method.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit may be implemented in the form of hardware, or may be implemented in the form of a software program module.
The integrated units, if implemented in the form of software program modules and sold or used as stand-alone products, may be stored in a computer readable memory. Based on such understanding, the technical solutions of the present application, in essence or part of the technical solutions contributing to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product, which is stored in a memory and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned memory comprises: various media that can store program codes, such as a usb disk, a read-only memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash memory disks, read-only memory, random access memory, magnetic or optical disks, and the like.
The foregoing embodiments have been described in detail, and specific examples are used herein to explain the principles and implementations of the present application, where the above description of the embodiments is only intended to help understand the method and its core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, the specific implementation manner and the application scope may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (7)
1. A data development method based on a block chain is characterized by comprising the following steps:
receiving a data development request, wherein the data development request carries target data;
confirming whether the target data is authorized to be developed;
if the target data is authorized, executing development operation on the target data, and storing the process of the development operation to a block chain; the executing a development operation on the target data comprises: developing the target data to obtain development data; auditing the development data; if the verification is passed, performing hash processing on the development data to obtain a hash value of the development data; storing the hash value of the development data onto the blockchain;
calling the development data; determining whether a hash value of the development data currently being called matches a hash value of the development data stored on the blockchain; if the development data are matched with the data, scheduling operation is carried out on the development data to obtain scheduling information; storing the scheduling information onto the block chain; if not, stopping scheduling and recording the abnormity; wherein the scheduling information includes: task dependency graph, task source code, computing resources occupied by the task, duration, and execution log.
2. The method of claim 1, wherein the data development request further carries identity information, and wherein the confirming whether the target data is authorized to be developed comprises:
confirming whether the identity information is in an authorization list or not;
if yes, determining whether the target data has the authority to develop the target data;
if the authority for developing the target data is provided, the authorization for developing the target data is confirmed;
and if the target data does not have the authority to develop the target data, the target data is not authorized.
3. The method of claim 2, wherein prior to performing the development operation on the target data, further comprising:
generating a contract file, an authorization code and a secret key according to the identity information and the target data;
and sending the contract file, the authorization code and the key so as to verify the authorization code and the key after receiving the submitted authorization code and key, and triggering the development operation on the target data after the verification is passed.
4. The method of any of claims 1 to 3, wherein prior to said receiving a data development request, the method further comprises:
receiving a data search request, wherein the data search request carries the target data;
confirming whether a data cache center stores the target data or not;
and if the target data are stored, displaying the target data.
5. A blockchain-based data development system, comprising:
the receiving module is used for receiving a data development request, and the data development request carries target data;
a confirmation module for confirming whether the target data is authorized to be developed;
the development module is used for executing development operation on the target data and storing the process of the development operation to a block chain if the target data is authorized; the executing a development operation on the target data comprises: developing the target data to obtain development data;
the auditing module is used for auditing the development data; if the verification is passed, performing hash processing on the development data to obtain a hash value of the development data; storing the hash value of the development data onto the blockchain;
the scheduling module is used for calling the development data; determining whether a hash value of the development data currently called matches a hash value of the development data stored on the blockchain; if the development data are matched with the data, scheduling operation is carried out on the development data to obtain scheduling information; storing the scheduling information onto the block chain; if not, stopping scheduling and recording the abnormity; wherein the scheduling information comprises: task dependency graph, task source code, computing resources occupied by the task, duration, and execution log.
6. A blockchain-based data development server comprising a processor, an input device, an output device and a memory, the processor, the input device, the output device and the memory being interconnected, wherein the memory is configured to store a computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the method according to any of claims 1 to 4.
7. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which is executed by a processor to implement the method of any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010042333.6A CN111209602B (en) | 2020-01-15 | 2020-01-15 | Block chain based data development method, system, server and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010042333.6A CN111209602B (en) | 2020-01-15 | 2020-01-15 | Block chain based data development method, system, server and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111209602A CN111209602A (en) | 2020-05-29 |
CN111209602B true CN111209602B (en) | 2022-11-11 |
Family
ID=70786087
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010042333.6A Active CN111209602B (en) | 2020-01-15 | 2020-01-15 | Block chain based data development method, system, server and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111209602B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111539042B (en) * | 2020-07-13 | 2020-10-30 | 南京云信达科技有限公司 | Safe operation method based on trusted storage of core data files |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9898704B2 (en) * | 2013-07-08 | 2018-02-20 | Sap Se | Forecast monitor to track transport supply in development environments |
CN110232570B (en) * | 2019-05-29 | 2023-05-30 | 深圳市元征科技股份有限公司 | Information supervision method and device |
CN110473096A (en) * | 2019-07-31 | 2019-11-19 | 阿里巴巴集团控股有限公司 | Data grant method and device based on intelligent contract |
-
2020
- 2020-01-15 CN CN202010042333.6A patent/CN111209602B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN111209602A (en) | 2020-05-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11121872B2 (en) | Trusted verification of cybersecurity remediation | |
JP6783923B2 (en) | Methods and devices for managing service operation risk | |
US9619654B2 (en) | Application monitoring through collective record and replay | |
CN108334436B (en) | Application software optimization method, device, equipment and computer readable storage medium | |
CN110334153B (en) | Authorization method, system, device and equipment in block chain type account book | |
US9235840B2 (en) | Electronic transaction notification system and method | |
CN110932859B (en) | User information processing method, device and equipment and readable storage medium | |
CN111581659B (en) | Method and device for calling electronic evidence | |
CN112651040A (en) | Permission application method, component, device and computer readable storage medium | |
CN112907243A (en) | Block chain transaction auditing method and device | |
CN110347745A (en) | Time service authentication method, device and the equipment of a kind of piece of chain type account book | |
CN115952552A (en) | Remote data destruction method, system and equipment | |
CN111209602B (en) | Block chain based data development method, system, server and storage medium | |
CN114265577A (en) | Service data processing method and device, computer equipment and storage medium | |
US20240127237A1 (en) | Managing customer information and transaction records on a distributed ledger | |
CN111950009A (en) | Block chain-based affiliation data detection method and device | |
CN110059081A (en) | Data output method, device and the computer equipment shown based on data | |
CN115567218A (en) | Data processing method and device of security certificate based on block chain and server | |
US20140089025A1 (en) | Authenticating a response to a change request | |
CN113486409A (en) | Electronic contract tamper-proof method and device, storage medium and electronic equipment | |
CN107392010A (en) | Perform method and device, terminal device, the storage medium of Root operations | |
CN114329567A (en) | Bid file generation method, verification method, electronic device and medium | |
CN112732676A (en) | Data migration method, device, equipment and storage medium based on block chain | |
CN112583770B (en) | Data transmission method, device, storage medium and equipment | |
US20220327239A1 (en) | Securing and managing offline digital evidence with a smart data lease system |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |