CN112231401A - Model management method and device based on block chain - Google Patents

Model management method and device based on block chain Download PDF

Info

Publication number
CN112231401A
CN112231401A CN202011037241.5A CN202011037241A CN112231401A CN 112231401 A CN112231401 A CN 112231401A CN 202011037241 A CN202011037241 A CN 202011037241A CN 112231401 A CN112231401 A CN 112231401A
Authority
CN
China
Prior art keywords
model
node information
node
module
blockchain
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
CN202011037241.5A
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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN202011037241.5A priority Critical patent/CN112231401A/en
Publication of CN112231401A publication Critical patent/CN112231401A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/258Data format conversion from or to a database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Landscapes

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

Abstract

The invention discloses a model management method and device based on a block chain, and relates to the technical field of computers. One embodiment of the method comprises: filling a model form for each of a plurality of nodes of a model to convert the filled model form into a JSON data format; encoding the JSON data format by using a hash algorithm to obtain a hash value of the JSON data format; sending a request for saving node information, wherein the node information comprises the model form; in response to receiving the request for saving the node information, triggering a saving operation through an intelligent contract to save the node information; and sending the node information to a data point in the block chain. The implementation mode realizes decentralized management and storage based on the block chain technology and the intelligent contract technology, effectively reduces the risk of model tampering, and avoids asset loss caused by single point of failure.

Description

Model management method and device based on block chain
Technical Field
The invention relates to the technical field of computers, in particular to a model management method and device based on a block chain.
Background
At present, the model has not formed systematic, normalized and unified management yet. Since all personnel managing the model (such as model developers, model validators, model users, etc.) communicate offline to enter and version update the model. The model management method has the defects of untimely information updating, version synchronization error, model data loss, single point failure and the like.
The following prior art and its drawbacks are now enumerated.
The technical scheme of the prior art I is as follows: and the model manager registers the historical inventory model into the EXCEL in a manual input mode, wherein the model comprises basic attribute information, model file information, model development information, model verification information and the like which are recorded in the EXCEL one by one, and one record is formed for each model.
The drawbacks of the solution according to the first prior art are listed below: registering a model into the EXCEL based on manual entry, the relevant files of the model may be changed at will and the change personnel and their operations cannot be recorded; the problem that model data loss and single-point failure of data storage can not be effectively prevented when the model is registered into the EXCEL based on a manual entry mode; and the technical scheme can not realize effective data sharing and storage between organizations.
The second technical scheme in the prior art is as follows: and the full life cycle management of the model is realized through the automatic driving of the workflow. And covering complete full-life cycle management from model requirement, model development, verification before delivery, model evaluation, delivery online, model monitoring, verification after delivery, post evaluation and offline filing, and forming an enterprise-level model asset directory. The model assets are input and registered in the construction method, and three registration modes including page manual registration of new models, batch import of stock models and automatic capture of development information through an API mode are supported. When a model is registered, acquiring form content from a model form; calling workflow template information to acquire registered node information, node front-back sequence, circulation information and the like; if the development relates to model API interface butt joint, automatically capturing development information through the API; meanwhile, model asset registration is driven by combining workflow instantiation information, and registration tasks are automatically transferred to designated registration users under different organizations and departments to complete information registration of all links of a full life cycle in a matching manner.
The defects of the technical scheme adopting the second prior art are listed as follows: the defect that information is not updated timely exists in a workflow-driven model management mode, for example, when a model is in a workflow swivel section, if information of a certain link needs to be modified urgently, a workflow needs to be terminated first, and the operation flow is complex; the records of the user on the platform can be changed, the model data can be lost, the single point fails and the like; and the operation records are not traceable, and the source end cannot be traced aiming at a certain operation of the model.
The third technical scheme in the prior art is as follows: a model management system and method, the model management system comprising: the interface module is used for displaying a user interface and receiving management operation of a user on the user interface; the management module is used for responding to the management operation and managing the model corresponding to each model composition file in the model management system; the model composition file comprises a model file; the model management system supports multiple model file formats. According to the embodiment of the invention, the model management system supporting various model file formats can facilitate the user to carry out various management on the model, so that the effective management on the model is realized.
The defects of the technical scheme adopting the second prior art are listed as follows: the model corresponding to each model composition file is managed, model management operation can be realized on an interface only through manual work of a user, and the files cannot be stored permanently and are easy to lose; the file operation records are not traceable, and cannot be traced aiming at fine-grained operation of a user or certain operation of a model.
Disclosure of Invention
In view of the above, the embodiments of the present invention adopt the block chaining technique to overcome the above-mentioned drawbacks. The block chain is a decentralized shared database, and information and data stored in the block chain have the characteristics of being not falsifiable, traceable, public and transparent and the like. A federation chain is one particular implementation of a block chain. A federation chain is a blockchain collectively managed by several organizations or enterprises, each organization or enterprise running one or more nodes, with data on the federation chain only allowing participating organizations and enterprises to read and write. An intelligent contract is a set of commitments defined in terms of numbers and code, including agreements on which contract participants can enforce these commitments. The alliance chain uses cryptography technology to enable data on the alliance chain to have the characteristics of being not falsifiable and being traceable in operation. The model management system based on the alliance chain tracks the full life cycle of the model by using an intelligent contract and records the relationship responsibility system of the model from development, verification to the operation of a tie person in each stage. The model management system based on the distributed file storage protocol can effectively prevent the problems of loss of model data and single point failure of data storage.
To achieve the above object, according to an aspect of an embodiment of the present invention, a block chain-based model management method is provided.
The model management method based on the block chain comprises the following steps:
filling a model form for each of a plurality of nodes of a model to convert the filled model form into a JSON data format;
encoding the JSON data format piece by using a hash algorithm to obtain a hash value of the JSON data format;
sending a request for saving node information, wherein the node information comprises the model form;
triggering a node information saving operation through an intelligent contract for saving the node information in response to receiving the request for saving the node information; and
sending the node information to a data point in the blockchain.
Optionally, the method further comprises: and checking the node information.
Optionally, the viewing node information includes:
sending a request for viewing node information;
in response to receiving the request for viewing node information, performing a query operation through an intelligent contract to obtain a query result comprising a hash value on a blockchain in a JSON data format;
comparing the hash value on the blockchain with the hash value under the blockchain to determine whether to display the model form, wherein the hash value under the blockchain is obtained by using a hash algorithm on the JSON data format stored in the local database; and is
Displaying the model form in response to the hash value on the blockchain being the same as the hash value under the blockchain.
Optionally, if the hash value on the blockchain is not the same as the hash value under the blockchain, indicating that the model form has been tampered with.
Optionally, the model form for each of the plurality of nodes is selected from a model requirements form, a model development form, an initiate pre-production verification form, a pre-production verification form, an initiate approval form, a model review form, a model online form, a use feedback form, a model monitoring form, a post-production verification form, and a post-production evaluation form.
Optionally, the model form includes basic information of a writer who fills out the model form, an operation time of the node, and a version of the model.
Optionally, the hash value of the JSON data format is used to identify the node.
Optionally, the hash algorithm is selected from any one of md5, sha1, sha224, sha 384.
Optionally, triggering, by the intelligent contract, a node information saving operation for saving the node information includes verifying the node information by the intelligent contract.
Optionally, the node information is saved if the node information passes the verification of the intelligent contract.
Optionally, the node information is not saved if the node information fails verification of the intelligent contract.
Optionally, the data point is any one of a plurality of departments in the blockchain.
Optionally, the department includes at least an endorsement node, a confirmation node, and a ranking node.
Optionally, the department further includes a CA node, where the CA node is configured to perform rights management on the department.
Optionally, the hash value of the JSON data format is saved at a data point in the blockchain.
Optionally, the intelligent contract uses a hash value of the JSON data format to verify the node information.
To achieve the above object, according to still another aspect of the embodiments of the present invention, there is provided a module management apparatus based on a block chain.
The module management device based on the block chain in the embodiment of the invention comprises: the system comprises a node form filling module, a hash coding module, a request sending module, an intelligent contract module and a node information distribution module; wherein the content of the first and second substances,
the node form filling module is used for filling a model form of each node in a plurality of nodes of the model so as to convert the filled model form into a JSON data format;
the hash encoding module is used for encoding the JSON data format by using a hash algorithm to obtain a hash value of the JSON data format;
the request sending module is used for sending a request for storing node information, wherein the node information comprises the model form;
the intelligent contract module is used for triggering node information saving operation in response to receiving the request for saving the node information so as to save the node information; and
the node information distribution module 306 is configured to distribute the node information to data points in the block chain.
Optionally, the device for managing modules based on a blockchain further comprises a hash verification module and a display module; wherein the content of the first and second substances,
the request sending module is also used for sending a request for checking the node information;
the intelligent contract module is further for performing a query operation in response to receiving the request to view node information to obtain a query result comprising a hash value on a blockchain in JSON data format;
the hash verification module is used for comparing the hash value on the blockchain with the hash value under the blockchain to determine whether to display the model form, wherein the hash value under the blockchain is obtained by using a hash algorithm on a JSON data format stored in a local database; and
the display module is further configured to display the model form in response to the hash value over the blockchain being the same as the hash value under the blockchain.
Optionally, if the hash value on the blockchain is not the same as the hash value under the blockchain, indicating that the model form has been tampered with.
To achieve the above object, according to still another aspect of embodiments of the present invention, there is provided a module management electronic device based on a block chain.
An electronic device for module management based on a block chain according to an embodiment of the present invention includes: one or more processors; a storage device, configured to store one or more programs, which when executed by the one or more processors, cause the one or more processors to implement a block chain-based module management method according to an embodiment of the present invention.
To achieve the above object, according to still another aspect of embodiments of the present invention, there is provided a computer-readable storage medium.
A computer-readable storage medium of an embodiment of the present invention stores thereon a computer program that, when executed by a processor, implements a block chain-based module management method of an embodiment of the present invention.
One embodiment of the above invention has the following advantages or benefits: the method realizes decentralized management and storage based on the block chain technology and the intelligent contract technology, effectively reduces the risk of tampering the model, and avoids asset loss caused by single point failure.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic diagram of the main steps of a block chain based model management method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of the main steps of another block chain based model management method according to the embodiment of the present invention;
FIG. 3 is a schematic diagram of the main modules of a block chain-based model management apparatus according to an embodiment of the present invention;
FIG. 4 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
fig. 5 is a schematic block diagram of a computer system suitable for use in implementing a terminal device or server of an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It should be noted that the embodiments of the present invention and the technical features of the embodiments may be combined with each other without conflict.
Fig. 1 is a schematic diagram of main steps of a block chain-based model management method according to an embodiment of the present invention.
As shown in fig. 1, a block chain-based model management method according to an embodiment of the present invention mainly includes the following steps:
step S101: filling out a model form for each of a plurality of nodes of the model to convert the filled out model form to a JSON data format.
In general, the entire life cycle of a model may consist of N nodes. Each of these nodes may include a node form. The node forms may be, for example, a model requirements form, a model development form, a pre-launch and pre-production verification form, a launch and approval form, a model review form, a model online form, a usage feedback form, a model monitoring form, a post-production verification form, and a post-production evaluation form. The above listed forms are shown for illustrative purposes only and the present invention is not limited thereto.
The model form may typically include basic information of the filling person who fills the model form (various personal information such as name, job title, home address, etc.), the operation time of the node, and the version of the model, among others.
For example, when performing information management on an archive management system of an employee, it may be generally involved in filling out various forms of each employee, such as various forms of information of the employee's basic information form, academic form, work history form, and the like. In this example, the node form may be embodied as an employee basic information form, a scholarly form, a work experience form, and the like.
After completion of the model form for each of the plurality of nodes filling out the model, the filled out model form typically needs to be converted to a JSON data format. JSON is an abbreviation for JavaScript Object notification, which represents a lightweight data exchange format.
Step S102: encoding the JSON data format by using a hash algorithm to obtain a hash value of the JSON data format.
Wherein the hash algorithm is selected from any one of md5, sha1, sha224 and sha 384.
And the hash value of the JSON data format is used for identifying the node.
Step S103: sending a request for saving node information, wherein the node information comprises the model form.
Step S104: and triggering a saving operation through the intelligent contract to save the node information in response to receiving the request for saving the node information.
Wherein triggering a node information saving operation by an intelligent contract for saving the node information comprises verifying the node information by the intelligent contract. And if the node information passes the verification of the intelligent contract, saving the node information. And if the node information is not verified by the intelligent contract, not saving the node information.
Step S105: sending the node information to a data point in the blockchain.
Wherein the data point may be any one of a plurality of departments in the block chain, wherein the departments include at least an endorsement node, a validation node, and a ranking node.
The department also comprises a CA node, wherein the CA node is used for carrying out authority management on the department.
Wherein the hash value of the JSON data format is saved at a data point in the blockchain.
Further, according to the embodiment of the invention, the off-center management and storage are realized based on the block chain technology and the intelligent contract technology, the risk of tampering the model is effectively reduced, and the asset loss caused by single-point failure is avoided.
Fig. 2 is a schematic diagram of main steps of another block chain-based model management method according to an embodiment of the present invention. As shown in fig. 2, the main steps of another block chain-based model management method provided in the embodiment of the present invention may include the following steps:
step S201: filling out a model form for each of a plurality of nodes of the model to convert the filled out model form to a JSON data format.
Step S202: encoding the JSON data format by using a hash algorithm to obtain a hash value of the JSON data format.
And S203, sending a request for saving node information, wherein the node information comprises the model form.
Step S204: and triggering a saving operation through the intelligent contract to save the node information in response to receiving the request for saving the node information.
Step S205: sending the node information to a data point in the blockchain.
Step S206: a request to view node information is sent.
Step S207: and in response to receiving the request for viewing the node information, executing a query operation through the intelligent contract to return corresponding node information.
Step S208: comparing the hash values over the blockchain to the hash values under the blockchain to determine whether to display the model form.
Wherein the hash value under the block chain is obtained by using a hash algorithm on the JSON data format stored in the local database.
Wherein the smart contract uses the hash value of the JSON data format to verify the node information.
Step S209: displaying the model form in response to the hash value on the blockchain being the same as the hash value under the blockchain.
Further, if the hash value on the blockchain is not the same as the hash value under the blockchain, it indicates that the model form has been tampered with.
According to the block chain-based module management method, the block chain technology and the intelligent contract technology are based on to-center management and storage, the risk of model tampering is effectively reduced, and asset loss caused by single-point failure is avoided.
Fig. 3 is a schematic diagram of a block chain-based module management apparatus according to an embodiment of the present invention.
As shown in fig. 3, a block chain-based module management apparatus 300 according to an embodiment of the present invention includes: a node form filling module 301, a hash encoding module 302, a request sending module 303, an intelligent contract module 304 and a node information distribution module 305; wherein the content of the first and second substances,
the node form filling module 301 is configured to fill a model form of each node in a plurality of nodes of a model to convert the filled model form into a JSON data format;
the hash encoding module 302 is configured to encode the JSON data format by using a hash algorithm to obtain a hash value of the JSON data format;
the request sending module 303 is configured to send a request for saving node information, where the node information includes the model form;
the intelligent contract module 304, configured to trigger a node information saving operation for saving the node information in response to receiving the request for saving the node information; and
the node information distribution module 305 is configured to distribute the node information to data points in the block chain.
In an embodiment of the present invention, the module management apparatus further includes a hash verification module 306 and a display module 307, wherein the request sending module 303 is further configured to send a request for viewing node information; the intelligent contract module 304 is further for, in response to receiving the request to view node information, performing a query operation to obtain a query result comprising a hash value on a blockchain in JSON data format; the hash verification module 306 is further configured to compare hash values over the blockchain and hash values under the blockchain to determine whether to display the model form, wherein the hash values under the blockchain are obtained by using a hash algorithm on JSON data formats stored in a local database; and the display module 307 is further configured to display the model form in response to the hash value on the blockchain being the same as the hash value under the blockchain.
Further, if the hash value on the blockchain is not the same as the hash value under the blockchain, it indicates that the model form has been tampered with.
According to the module management device based on the block chain, the block chain technology and the intelligent contract technology are used for realizing the off-center management and storage, effectively reducing the risk of tampering the model and avoiding the asset loss caused by single-point faults.
Fig. 4 shows an exemplary system architecture 400 of a blockchain-based module management method or a blockchain-based module management apparatus to which an embodiment of the present invention may be applied.
As shown in fig. 4, the system architecture 400 may include terminal devices 401, 402, 403, a network 404, and a server 405. The network 404 serves as a medium for providing communication links between the terminal devices 401, 402, 403 and the server 405. Network 404 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
A user may use terminal devices 401, 402, 403 to interact with a server 405 over a network 404 to receive or send messages or the like. The terminal devices 401, 402, 403 may have various communication client applications installed thereon, such as shopping applications, web browser applications, search applications, instant messaging tools, mailbox clients, social platform software, and the like.
The terminal devices 401, 402, 403 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 405 may be a server that provides various services, such as a background management server that supports shopping websites browsed by users using the terminal devices 401, 402, and 403. The background management server may analyze and perform other processing on the received data such as the product information query request, and feed back a processing result (e.g., target push information and product information) to the terminal device.
It should be noted that the method for managing a model based on a blockchain provided in the embodiment of the present invention is generally executed by the server 405, and accordingly, a device for managing a model based on a blockchain is generally disposed in the server 405.
It should be understood that the number of terminal devices, networks, and servers in fig. 4 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 5, shown is a block diagram of a computer system 500 suitable for use with a terminal device implementing an embodiment of the present invention. The terminal device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 5, the computer system 500 includes a Central Processing Unit (CPU)501 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage section 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the system 500 are also stored. The CPU 501, ROM 502, and RAM 503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: an input portion 506 including a keyboard, a mouse, and the like; an output portion 507 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 508 including a hard disk and the like; and a communication section 509 including a network interface card such as a LAN card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet. The driver 510 is also connected to the I/O interface 505 as necessary. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as necessary, so that a computer program read out therefrom is mounted into the storage section 508 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 509, and/or installed from the removable medium 511. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 501.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor comprises a node form filling module, a hash coding module, a request sending module, an intelligent contract module, a node information distribution module, a hash verification module and a display module. The names of these modules do not form a limitation to the module itself in some cases, for example, the node form filling module may also be described as a "module for filling a node form".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: filling a model form for each of a plurality of nodes of a model to convert the filled model form into a JSON data format; encoding the JSON data format by using a hash algorithm to obtain a hash value of the JSON data format; sending a request for saving node information, wherein the node information comprises the model form; in response to receiving the request for saving the node information, triggering a saving operation through an intelligent contract to save the node information; and sending the node information to a data point in the block chain.
According to the technical scheme of the embodiment of the invention, the off-center management and storage are realized based on the block chain technology and the intelligent contract technology, the risk of tampering the model is effectively reduced, and the asset loss caused by single-point failure is avoided.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (20)

1. A block chain-based model management method is characterized by comprising the following steps:
filling a model form for each of a plurality of nodes of a model to convert the filled model form into a JSON data format;
encoding the JSON data format by using a hash algorithm to obtain a hash value of the JSON data format;
sending a request for saving node information, wherein the node information comprises the model form;
triggering a node information saving operation through an intelligent contract for saving the node information in response to receiving the request for saving the node information; and is
Distributing the node information to data points in the blockchain.
2. The method of claim 1, further comprising viewing node information.
3. The method of claim 2, wherein viewing node information comprises:
sending a request for viewing node information;
in response to receiving the request for viewing node information, performing a query operation through an intelligent contract to obtain a query result comprising a hash value on a blockchain in a JSON data format;
comparing the hash value on the blockchain with the hash value under the blockchain to determine whether to display the model form, wherein the hash value under the blockchain is obtained by using a hash algorithm on the JSON data format stored in the local database; and is
Displaying the model form in response to the hash value on the blockchain being the same as the hash value under the blockchain.
4. The method of claim 1, wherein the model form for each node in the plurality of nodes is selected from a model requirements form, a model development form, an initiating pre-production verification form, a pre-production verification form, an initiating approval form, a model review form, a model online form, a usage feedback form, a model monitoring form, a post-production verification form, and a post-production evaluation form.
5. The method of claim 1, wherein the model form includes basic information of a writer who filled the model form, an operation time of the node, and a version of the model.
6. The method of claim 1, wherein a hash value of the JSON data format is used to identify the node.
7. The method of claim 1, wherein the hashing algorithm is selected from any one of md5, sha1, sha224, sha 384.
8. The method of claim 1, wherein triggering a node information saving operation by an intelligent contract for saving the node information comprises verifying the node information by the intelligent contract.
9. The method of claim 8, wherein the node information is saved if the node information passes verification of the intelligent contract.
10. The method of claim 8, wherein the node information is not saved if the node information fails verification of the intelligent contract.
11. The method of claim 3, wherein the data point is any one of a plurality of departments in the blockchain.
12. The method of claim 11, wherein the department comprises at least an endorsement node, a validation node, and a sort node.
13. The method of claim 12, wherein the department further comprises a CA node.
14. The method of claim 13, wherein the CA node is configured to perform rights management for the department.
15. The method of claim 1, wherein the JSON data format hash value is held at a data point in the blockchain.
16. The method of claim 1, wherein the intelligent contract uses a hash value of the JSON data format to verify the node information.
17. A block chain-based module management apparatus, comprising: the system comprises a node form filling module, a hash coding module, a request sending module, an intelligent contract module and a node information distribution module; wherein the content of the first and second substances,
the node form filling module is used for filling a model form of each node in a plurality of nodes of the model so as to convert the filled model form into a JSON data format;
the hash encoding module is used for encoding the JSON data format by using a hash algorithm to obtain a hash value of the JSON data format;
the request sending module is used for sending a request for storing node information, wherein the node information comprises the model form;
the intelligent contract module is used for triggering node information saving operation in response to receiving the request for saving the node information so as to save the node information; and
the node information distribution module is used for distributing the node information to the data points in the block chain.
18. The module management device according to claim 17, further comprising a hash verification module and a display module; wherein the content of the first and second substances,
the request sending module is also used for sending a request for checking the node information;
the intelligent contract module is further for performing a query operation in response to receiving the request to view node information to obtain a query result comprising a hash value on a blockchain in JSON data format;
the hash verification module is used for comparing the hash value on the blockchain with the hash value under the blockchain to determine whether to display the model form, wherein the hash value under the blockchain is obtained by using a hash algorithm on a JSON data format stored in a local database; and
the display module is further configured to display the model form in response to the hash value over the blockchain being the same as the hash value under the blockchain.
19. A blockchain-based module management electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-16.
20. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-16.
CN202011037241.5A 2020-09-27 2020-09-27 Model management method and device based on block chain Pending CN112231401A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011037241.5A CN112231401A (en) 2020-09-27 2020-09-27 Model management method and device based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011037241.5A CN112231401A (en) 2020-09-27 2020-09-27 Model management method and device based on block chain

Publications (1)

Publication Number Publication Date
CN112231401A true CN112231401A (en) 2021-01-15

Family

ID=74120194

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011037241.5A Pending CN112231401A (en) 2020-09-27 2020-09-27 Model management method and device based on block chain

Country Status (1)

Country Link
CN (1) CN112231401A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108305075A (en) * 2018-03-07 2018-07-20 广州建翎电子技术有限公司 A kind of trade document file management system and management method based on block chain
US20190123889A1 (en) * 2017-10-20 2019-04-25 Sap Se Document flow tracking using blockchain
CN109815051A (en) * 2018-12-20 2019-05-28 深圳智乾区块链科技有限公司 The data processing method and system of block chain
CN110175819A (en) * 2019-05-29 2019-08-27 贵州电网有限责任公司 A kind of online multiple person cooperational routine matter individuation service system and operating method
CN111145004A (en) * 2019-12-06 2020-05-12 国网浙江省电力有限公司 Intelligent financial auditing platform based on editable workflow

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190123889A1 (en) * 2017-10-20 2019-04-25 Sap Se Document flow tracking using blockchain
CN108305075A (en) * 2018-03-07 2018-07-20 广州建翎电子技术有限公司 A kind of trade document file management system and management method based on block chain
CN109815051A (en) * 2018-12-20 2019-05-28 深圳智乾区块链科技有限公司 The data processing method and system of block chain
CN110175819A (en) * 2019-05-29 2019-08-27 贵州电网有限责任公司 A kind of online multiple person cooperational routine matter individuation service system and operating method
CN111145004A (en) * 2019-12-06 2020-05-12 国网浙江省电力有限公司 Intelligent financial auditing platform based on editable workflow

Similar Documents

Publication Publication Date Title
US11038948B2 (en) Real time updates and predictive functionality in block chain
US11449478B2 (en) Blockchain implemented data migration audit trail
US20110167114A1 (en) Automatically synchronizing new contacts across multiple social networking sites
Narayanaswami et al. Blockchain anchored supply chain automation
US8170900B2 (en) Supply chain discovery services
CN111327613B (en) Distributed service authority control method and device and computer readable storage medium
KR20130009932A (en) Method, system, and apparatus for process management
US20160294651A1 (en) Method, apparatus, and computer program product for monitoring an electronic data exchange
US20140108073A1 (en) System and method for populating assets to a maintenance management system
WO2023207146A1 (en) Service simulation method and apparatus for esop system, and device and storage medium
CN114020689A (en) Data processing method, data processing device, electronic device, and storage medium
US20110119195A1 (en) Defining infrastructure design in a technical project management system
CN111181833B (en) Enterprise interconnection realization method and device
US20100077025A1 (en) Workflow automation & request processing
CN112231401A (en) Model management method and device based on block chain
US11632375B2 (en) Autonomous data source discovery
CN114693283A (en) Cross-system business process approval processing method and device and computer equipment
CN114138758A (en) Data cleaning and merging method and device based on multi-source system and readable medium
CN114418482A (en) Order information processing method and device, electronic equipment and computer readable medium
WO2020155167A1 (en) Application of cross-organizational transactions to blockchain
Colby et al. Self-service queue and user management in shared clusters
CN115829753B (en) Cross-border securities business exchange method and system based on blockchain
CN110633947A (en) Project management system and working method thereof
CN111131438B (en) Method and apparatus for accessing block chains
CN117520196A (en) Verification method, device and system for flow configuration file based on flow engine

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