CN113259487B - Regulation and control data storage and certification sharing method and system - Google Patents

Regulation and control data storage and certification sharing method and system Download PDF

Info

Publication number
CN113259487B
CN113259487B CN202110703872.4A CN202110703872A CN113259487B CN 113259487 B CN113259487 B CN 113259487B CN 202110703872 A CN202110703872 A CN 202110703872A CN 113259487 B CN113259487 B CN 113259487B
Authority
CN
China
Prior art keywords
data
source end
block chain
storage
character string
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110703872.4A
Other languages
Chinese (zh)
Other versions
CN113259487A (en
Inventor
张周杰
黄宇鹏
崔灿
王佳琪
杨清波
冯琼
李大鹏
黄运豪
狄方春
陶蕾
武书舟
刘�东
夏文岳
马欣欣
刘芳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Electric Power Research Institute Co Ltd CEPRI
Original Assignee
China Electric Power Research Institute Co Ltd CEPRI
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 Electric Power Research Institute Co Ltd CEPRI filed Critical China Electric Power Research Institute Co Ltd CEPRI
Priority to CN202110703872.4A priority Critical patent/CN113259487B/en
Publication of CN113259487A publication Critical patent/CN113259487A/en
Application granted granted Critical
Publication of CN113259487B publication Critical patent/CN113259487B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Signal Processing (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a regulation and control data storage and evidence sharing method and a system, wherein the method comprises the following steps: the data input end block chain nodes in the plurality of block chain nodes acquire and analyze the request information to acquire an analysis result; when the analysis result is a data entry request, the data input end block chain node acquires and analyzes source end data to acquire a source end data analysis result; when the source end data analysis result is that the source end data is structured data, forming distributed account book storage by the data ID and the structured character string based on a consensus algorithm; and when the source end data analysis result is that the source end data is unstructured data, generating an internal structured character string representing a file pointer for the source end data, and forming a distributed account book storage by using the data ID and the internal structured character string based on a consensus algorithm. The method and the device can be suitable for data storage and evidence sharing related to a power grid scene, and can meet the requirements on reliability and interactivity of the control data.

Description

Regulation and control data storage and certification sharing method and system
Technical Field
The invention belongs to the technical field of power automation, relates to the field of block chains and regulation and control data processing, and particularly relates to a regulation and control data storage and evidence sharing method and system.
Background
At present, the regulation and control data volume is increased in an explosive mode, and the related data types are diversified; in the aspect of data use and maintenance, data maintenance processes are increasingly complex, cross-department and cross-scheduling data interaction is increasingly frequent, and higher requirements are put forward on the reliability and interactivity of the control data. For example, the regulation cloud is an innovative application of information communication technologies such as 'cloud large object moving intelligent chain' and the like in the regulation field, and a regulation cloud platform is combined with a regulation business production organization mode and follows the regulation system 'unified scheduling and hierarchical management' principle to construct a two-stage deployment regulation cloud system of a cross-scheduling mechanism. With the continuous promotion of the construction of the regulation cloud, the regulation cloud becomes one of important data collection centers of the regulation business, the data quantity collected on the regulation cloud is increased in an explosive mode, and the related data types are diversified.
The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism and an encryption algorithm. From the application essence, the block chain is a distributed shared account book and a database, and has the characteristics of decentralization, no tampering, trace leaving in the whole process, traceability, collective maintenance, public transparency and the like. With the great success of the block chain technology in the currency and finance field, experts and scholars in various industries such as internet of things, social management, medicine, transportation and the like gradually begin to research and explore the industrial application value of the block chain. The current general block chain system is mostly designed around money and transaction in the financial field, and the general block chain is directly used as a platform for sharing data certificates, so that the service scene is quite limited, and the reason is as follows: the blockchain refers to the data storage structure at the bottom layer in the digital currency system 'bitcoin' system at first, and later along with the development of digital currency, the blockchain is favored by researchers as a technology for solving the 'trust' problem in data storage, so most mature blockchain systems are more suitable for the financial field and not other fields in terms of data storage types and data storage interfaces.
Disclosure of Invention
The invention aims to provide a method and a system for regulating and controlling data storage and evidence sharing so as to solve one or more technical problems. The invention provides a regulation and control data evidence sharing method based on functional improvement of a block chain, is applicable to data evidence sharing involved in a power grid scene, and can meet the requirements on the reliability and the interactivity of the regulation and control data.
In order to achieve the purpose, the invention adopts the following technical scheme:
the invention relates to a regulation and control data storage and evidence sharing method, which comprises the following steps:
acquiring a data entry request by a data input end block chain node;
according to a data entry request, the data input end block chain node acquires source end data and analyzes the data type of the source end data;
writing the source end data of the structured data into a data input end block chain node for local storage according to the data type of the source end data;
converting the storage address of the source end data of the unstructured data into a structured character string according to the data type of the source end data, and writing the structured character string into a data input end block chain node for local storage;
and outputting the data type of the source end data and the source end data based on a preset consensus algorithm among the block chain nodes to perform distributed account book storage.
The further improvement of the present invention is that the step of writing the source end data of the structured data into the data input end block chain node for local storage specifically includes:
and writing the data ID and the structural character string of the source end data of the structural data into a data input end block chain node for local storage.
The further improvement of the present invention lies in that the step of converting the storage address of the source end data of the unstructured data into a structured character string, and writing the structured character string into the data input end block chain node for local storage specifically includes:
and generating an internal structural character string of a source end data pointer representing the unstructured data for the source end data of the unstructured data, and writing the data ID of the source end data of the unstructured data and the internal structural character string into a data input end block chain node for local storage.
The invention further improves the method, after completing the local storage, the method also comprises the following steps:
acquiring a data verification request by a data input end block chain node;
and according to the data verification request, the data input end block chain node acquires the data ID of the source end data and performs local verification to acquire a local verification result.
A further refinement of the invention is that the source data comprises structured data in the format (ID, structured string) and unstructured data in the format (ID, file).
The invention relates to a regulation and control data storage and evidence sharing method, which comprises the following steps:
the data type of the source end data is obtained by the data storage end block chain node, and the data type of the source end data is obtained by analyzing the source end data by the data input end block chain node;
writing source end data of the structured data into a block chain node of a data storage end to perform distributed account book storage;
and converting the storage address of the source end data of the unstructured data into a structured character string, and writing the structured character string into a block chain node of a data storage end to perform distributed account book storage.
The further improvement of the present invention is that the step of writing the source end data of the structured data into the data storage end block chain node for distributed account book storage specifically includes:
and writing the data ID and the structural character string of the source end data of the structural data into the block chain nodes of the data storage end based on a preset consensus algorithm among the block chain nodes for synchronous storage, so as to form distributed account book storage.
The further improvement of the present invention is that the step of converting the storage address of the source end data of the unstructured data into a structured character string, and writing the structured character string into the block chain node of the data storage end to perform distributed ledger storage specifically includes:
and generating an internal structural character string of a source end data pointer representing unstructured data for source end data of the unstructured data, and writing a data ID of the source end data of the unstructured data and the internal structural character string into a block chain node of a data storage end for synchronous storage based on a preset consensus algorithm between the block chain nodes to form distributed account book storage.
The invention is further improved in that after the distributed ledger storage is finished, the method further comprises the following steps:
the data storage end block chain node acquires a local verification result, and the local verification result is obtained by performing local verification on the data input end block chain node;
judging whether the local verification result passes or not; when the local verification result passes, acquiring a data verification request of the local verification, and performing synchronous verification in the block chain node of the data storage terminal based on a consensus algorithm to obtain a verification query result; and when the local verification result is failed, stopping inquiring and outputting the verification failure result.
The invention relates to a regulation and control data storage and evidence sharing method, which comprises the following steps:
acquiring a data entry request by a data input end block chain node; according to a data entry request, the data input end block chain node acquires source end data and analyzes the data type of the source end data; writing the source end data of the structured data into a data input end block chain node for local storage according to the data type of the source end data; converting the storage address of the source end data of the unstructured data into a structured character string according to the data type of the source end data, and writing the structured character string into a data input end block chain node for local storage;
outputting the data type of the source end data and the source end data to the block chain nodes of the data storage end based on a consensus algorithm preset among the block chain nodes; writing source end data of the structured data into a block chain node of a data storage end to perform distributed account book storage; and converting the storage address of the source end data of the unstructured data into a structured character string, and writing the structured character string into a block chain node of a data storage end to perform distributed account book storage.
The invention relates to a regulation and control data storage and certification sharing system, which comprises:
the request acquisition module is used for acquiring a data entry request by the data input end block chain node;
the data analysis module is used for acquiring source end data by the data input end block chain node according to the data entry request and analyzing the data type of the source end data;
the data distribution module is used for writing the source end data of the structured data into a data input end block link node for local storage according to the data type of the source end data; converting the storage address of the source end data of the unstructured data into a structured character string according to the data type of the source end data, and writing the structured character string into a data input end block chain node for local storage; and outputting the data type of the source end data and the source end data based on a preset consensus algorithm among the block chain nodes to perform distributed account book storage.
The invention relates to a regulation and control data storage and certification sharing system, which comprises:
the data type acquisition module is used for acquiring the data type of the source end data by the data storage end block chain node, wherein the data type of the source end data is acquired by analyzing the source end data by the data input end block chain node;
the distributed account book storage control module is used for writing source end data of the structured data into a data storage end block chain node to store the distributed account book; and converting the storage address of the source end data of the unstructured data into a structured character string, and writing the structured character string into a block chain node of a data storage end to perform distributed account book storage.
Compared with the prior art, the invention has the following beneficial effects:
the invention provides a data interaction method suitable for regulation and control data evidence storage and sharing based on a block chain distributed account book technology and considering regulation and control data interaction function requirements, and can realize general storage of structured and unstructured data in regulation and control business and realize on-chain evidence storage and sharing of regulation and control data. The invention solves the problems of storage efficiency and credible sharing under the condition of large-batch regulation and control data sharing, and can meet the requirements on the reliability and interactivity of the regulation and control data.
In the invention, in order to avoid resource waste caused by excessive data volume of the distributed account book, a lightweight node and a common node are further designed for supporting different services such as data writing, data verification and the like.
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 are briefly introduced below; it is obvious that the drawings in the following description are some embodiments of the invention, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
FIG. 1 is a block diagram of a conventional general blockchain architecture;
fig. 2 is a schematic diagram of a regulation and control cloud data evidence sharing system based on a block chain according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a client in an embodiment of the invention;
FIG. 4 is a diagram of a server in an embodiment of the present invention;
fig. 5 is a schematic diagram of distributed billing management in an embodiment of the invention.
Detailed Description
In order to make the purpose, technical effect and technical solution of the embodiments of the present invention clearer, the following clearly and completely describes the technical solution of the embodiments of the present invention with reference to the drawings in the embodiments of the present invention; it is to be understood that the described embodiments are only some of the embodiments of the present invention. Other embodiments, which can be derived by one of ordinary skill in the art from the disclosed embodiments without inventive faculty, are intended to be within the scope of the invention.
The regulation and control data storage sharing method is based on a block chain architecture, and the block chain architecture comprises a plurality of block chain nodes and a consensus algorithm among the plurality of block chain nodes; the regulation and control data storage and sharing method comprises the following steps: one of the block chain nodes acquires and analyzes the request information to acquire an analysis result; when the analysis result is a data entry request, the block chain link point acquires and analyzes source end data to acquire a source end data analysis result; when the source end data analysis result is that the source end data is structured data, writing a data ID and a structured character string into a distributed account book storage based on the consensus algorithm; and when the source end data analysis result is that the source end data is unstructured data, generating an internal structured character string representing a file pointer for the source end data, and writing a data ID and the internal structured character string into a distributed account book storage based on the consensus algorithm.
The invention provides a data interaction method suitable for regulation and control data evidence storage and sharing based on a block chain distributed account book technology and considering regulation and control data interaction function requirements, and can realize general storage of structured and unstructured data in regulation and control business and realize on-chain evidence storage and sharing of regulation and control data. The invention solves the problems of storage efficiency and credible sharing under the condition of large-batch regulation and control data sharing, and can meet the requirements on the reliability and interactivity of the regulation and control data.
Referring to fig. 1, fig. 1 shows a general blockchain architecture derived from the field of digital currency. The blockchain technology is derived from digital currency 'bitcoin', the block chain technology solves the trust that the traditional currency depends on a third party, and the essential characteristic of the blockchain technology is that a decentralized storage structure (in the field of digital currency, the storage structure is called a distributed account book) is constructed, the storage structure is stored on each node in a network, and the 'tamper-proof and traceable' of the blockchain technology can be ensured.
As shown in fig. 1, in a general blockchain architecture, when an arbitrary data initiator needs to perform an operation on a global ledger, a request is initiated by a client. At this time, the block chain link point connected with the client submits the operation to the whole block chain network, and all nodes on the block chain network run a consensus algorithm to start writing the global account book data once. Once global consensus is completed, each node in the blockchain network is equivalent to witness the accounting process of the current account, and therefore the trust problem in a multi-subject accounting scene is fundamentally solved.
The power grid regulation and control system accumulates a large amount of model data, operation data, management data and other data in the long-term operation. With the strategic development of the energy internet of a company, a regulation cloud platform which is centrally constructed by national regulation becomes an important system for bearing various data such as the model, the operation, the management and the like, and with the further construction of the regulation cloud, the data interaction between the regulation cloud leading node and the regulation cloud cooperating node is tighter, so that the requirements on the safe interaction and the sharing of the internal and external data of the regulation cloud are provided. In view of this, the present invention provides an improved technical solution based on the existing general block chain technology, and can implement on-chain evidence sharing of regulation and control service data.
The embodiment of the invention provides a regulation and control data storage and certification sharing method, which comprises the following steps:
one of the block chain nodes acquires and analyzes the request information to acquire a request information analysis result;
when the request information analysis result is a data entry request, the block chain node acquires and analyzes source end data to acquire a source end data analysis result;
when the source end data analysis result shows that the source end data is structured data, writing the data ID and the structured character string of the source end data into one block chain node for local storage; writing a data ID and a structural character string of source end data into the rest blockchain nodes except the blockchain node in the plurality of blockchain nodes based on a preset consensus algorithm among the plurality of blockchain nodes for synchronous storage to form distributed account book storage;
when the source end data analysis result shows that the source end data is unstructured data, generating an internal structured character string representing a file pointer for the source end data, and writing the data ID of the source end data and the internal structured character string into one block chain node for local storage; and writing the data ID of the source data and the internal structural character string into the residual block chain nodes except the block chain node in the plurality of block chain nodes based on the consensus algorithm for synchronous storage, so as to form distributed account book storage.
Preferably, in the embodiment of the present invention, after obtaining the request information parsing result, the method further includes: and when the request information analysis result is a data verification request, the block link point acquires the data ID of the source data and performs local verification, and after the local verification is passed, synchronous verification is performed in the residual block link nodes except the block link node in the plurality of block link nodes based on the consensus algorithm, so that a verification query result is obtained.
Preferably, in the embodiment of the present invention, when the one block link point acquires source data: when the source data is structured data, the format is (ID, structured character string); when the source data is unstructured data, the format is (ID, file).
The embodiment of the invention provides a regulation and control data storage and certification sharing system, which comprises: a plurality of blockchain nodes; each block chain node is provided with a server;
the server side of one of the block chain nodes is used for acquiring and analyzing the request information to acquire a request information analysis result; when the request information analysis result is a data entry request, the server side of the block link node is also used for acquiring and analyzing source data to be stored and verified to obtain a source data analysis result;
when the source end data analysis result shows that the source end data is structured data, writing a data ID and a structured character string of the source end data into one block chain node for local storage; writing a data ID and a structural character string of source end data into the rest blockchain nodes except the blockchain node in the plurality of blockchain nodes based on a preset consensus algorithm among the plurality of blockchain nodes for synchronous storage to form distributed account book storage;
when the source end data analysis result shows that the source end data is unstructured data, generating an internal structured character string representing a file pointer for the source end data, and writing the data ID of the source end data and the internal structured character string into one block chain node for local storage; and writing the data ID of the source data and the internal structural character string into the residual block chain nodes except the block chain node in the plurality of block chain nodes based on the consensus algorithm for synchronous storage, so as to form distributed account book storage.
Preferably, in the embodiment of the present invention, the server side of the block chain node includes: the system comprises a data receiving module, a data analysis module, an account book storage module and a data evidence storage and verification module;
the data receiving module is used for acquiring request information and source end data to be stored;
the data analysis module is used for inputting the request information acquired by the data receiving module, analyzing the request information, acquiring a request information analysis result and outputting the request information analysis result; the system comprises a data storage module, a request information analysis module, a data verification module and a data verification module, wherein the request information analysis module is used for forwarding a request to the account book storage module when the request information analysis result is a data writing request, and is used for forwarding the request to the data verification module when the request information analysis result is a data verification request;
the account book storage module is used for receiving a data writing request from the data analysis module and locally storing source end data to be stored and verified according to the data writing request; the account book storage module is used for transferring the source end data to be stored and verified to global synchronization according to the consensus algorithm;
the data certificate storage and verification module is used for receiving a data verification request from the data analysis module and performing local verification at a server side according to the data verification request; and the data certificate storage and verification module is used for carrying out global verification according to the consensus algorithm.
Preferably, in the embodiment of the present invention, the server side of the remaining blockchain node excluding the one blockchain node from the plurality of blockchain nodes includes:
the account book storage module is used for transferring the source end data to be stored and verified to be locally stored according to the consensus algorithm;
and the data certificate storage and verification module is used for carrying out local verification according to the consensus algorithm.
The preferred embodiment of the present invention further includes: a first client; the first client is used for inputting source end data and a data ID to the server end; when the source data is structured data, the input format is (ID, structured character string); and when the source data is unstructured data, the input format is (ID, file).
The preferred embodiment of the present invention further includes: a second client; the second client is used for inputting a data ID to the server.
The method of the embodiment of the invention is based on the block chain distributed account book technology, considers the requirement of the regulation and control data interaction function, provides the data interaction method suitable for regulation and control data storage and sharing, can realize the general storage of structured and unstructured data in the regulation and control service, and realizes the on-chain storage and sharing of the regulation and control data. The invention solves the problems of storage efficiency and credible sharing under the condition of large-batch regulation and control data sharing, and can meet the requirements on the reliability and interactivity of the regulation and control data.
Referring to fig. 2, a regulation and control cloud data evidence sharing system based on a block chain according to an embodiment of the present invention includes:
referring to fig. 3, the client is used for submitting a data entry and data verification request to the server, and includes modules: the data input module and the data verification module.
(1) The data entry module is responsible for receiving source end data input. The input source can be various data acquisition or generation modules of a regulation and control business system; the data format receivable by the data entry module includes structured data and unstructured data. Structured data is submitted in the form of (ID, structured string) and unstructured data is submitted in the form of (ID, file), where ID must be unique, no ID is provided, and ID will be generated randomly by the client. The data entry module will interact directly with the server data receiving module.
(2) And the data verification module is responsible for inquiring and verifying the data. The client user provides ID as the input of the data verification module, the data verification module directly interacts with the server data deposit and certificate verification module, and the inquiry result of the data in the account book storage module is returned.
(3) The data entry module is an optional function, part of services in the scheduling services only need the data verification module to realize the storage of service data, the client only deployed with the data verification module is called a light client, and the light client only has the data verification function, so that the storage efficiency can be further improved.
Referring to fig. 4, the server is responsible for receiving the data entry and data verification request of the client and returning the result, and simultaneously interacts with the distributed accounting management module, and stores the data in the accounting book storage module after the distributed accounting management is returned. The server side of the embodiment of the invention comprises 4 modules: the system comprises a data receiving module, a data analyzing module, an account book storage module and a data evidence storage and verification module.
(1) The data receiving module is responsible for receiving the client data entry module request and returning to the client result. After receiving the request, the data receiving module firstly transmits the request to the data analysis module; secondly, after receiving the return of the data analysis module, interacting with an account book management module of the distributed accounting management according to the return result; and finally, after returning, writing the data into the account book storage module and returning a client data entry result. The last step is written into the account book storage module, and different functions of the account book storage module need to be called according to a return result (structured character string or file) of the data analysis module.
(2) The data analysis module is responsible for analyzing the data format and returning an analysis result. According to the data provided by the data receiving module, the data analyzing module distinguishes the structured character string from the file, according to the data and the data type parameters provided by the data receiving module, the data analyzing module generates an internal structured string representing a file pointer from the data additionally in a file format, and returns an analysis result to the data receiving module, and the data analyzing module is a key for supporting and controlling business structured and unstructured data storage.
(3) And the account book storage module is responsible for storing the data and returning a storage result. According to the data provided by the data receiving module, the account book storage module comprises two storage functions of a structured string and a file. If the file is a structured string, (ID, structured string) is written into the distributed ledger storage area, if the file is a file, (ID, internal structured string) is written into the distributed ledger storage area, and the file is written into a file pointer pointing to the place.
(4) And the data storage and verification module is responsible for carrying out existence verification on the data and returning a verification result. After receiving the data ID in the client request content, the data evidence storage and verification module inquires the local account book storage module, interacts with other data evidence storage and verification modules on the wide area network through the account book management module of the distributed accounting management, and receives the result of local inquiry of other data evidence storage and verification modules on the wide area network.
Referring to fig. 5, the distributed accounting management module is responsible for interacting with other servers in the wide area network to implement global storage of data, and includes 2 modules: account book management module and account book storage module.
(1) And the account book management module is responsible for receiving the requests of the server data receiving module and the data deposit and verification module and returning the results. After receiving the request, the account book management module firstly interacts with a data receiving module and a data evidence storing and checking module of other service terminals (non-request source service terminals) of the wide area network; secondly, after receiving the returns of all other servers, the account book management module calls the account book storage module and returns the data result to the source server.
(2) And the account book storage module is responsible for storing the data and returning a storage result. And the ledger storage submodule in the distributed accounting management module only receives the request format of the (ID, structured character string) and writes the (ID, structured character string) data into the distributed ledger storage area.
In the embodiment of the invention, the regulation cloud master node and the cooperative node can be used as the block link node in the embodiment of the invention. The bottom layer is based on hardware, storage, network and other resources provided by a regulation cloud base platform; the communication of the wide area network between the cloud nodes is regulated and controlled through regulating and controlling the local network inside the cloud nodes.
The client can be deployed in a personal computer, a mobile terminal or a web browser-based plug-in as exemplified in the embodiment of the present invention.
In the embodiment of the invention, exemplarily, the server is deployed on one or more servers, but only one server is used as a main server to communicate with all the clients at the same time, and data transmitted by the communication between the clients and the main server is synchronized to the servers where other servers are located by the main server in a real-time synchronization manner.
In an exemplary embodiment of the invention, the distributed accounting management module is deployed on a server and communicates with other distributed accounting management modules on the wide area network through the wide area network. The client communicates with the server through a local area network, and the server communicates with the distributed accounting management module through a wide area network.
In summary, the embodiment of the invention designs a regulation and control data evidence sharing method including a client, a server and distributed accounting management based on a block chain technology, and realizes the credible sharing of two types of data of a regulation and control business system structured and unstructured based on a block chain distributed account book; meanwhile, the problem of storage efficiency in a large-batch service data sharing scene is solved by utilizing a light client technology. The reliability and the safety of the data sharing of the regulation and control service system are improved.
Illustratively, the regulation cloud is an innovative application of information communication technologies such as 'cloud big thing moving intelligent chain' and the like in the regulation field. With the continuous promotion of the construction of the regulation cloud, the regulation cloud becomes one of important data collection centers of the regulation business, the data quantity collected on the regulation cloud is increased in an explosive mode, and the related data types are diversified. In the aspect of data use and maintenance, data maintenance processes are increasingly complex, cross-department and cross-scheduling data interaction is increasingly frequent, and higher requirements are put forward on the reliability and interactivity of cloud data regulation and control. The method is based on the block chain distributed account book technology, can be implemented on the basis of the existing regulation and control cloud infrastructure in architecture, and meets the requirements of regulation and control business data interaction safety and reliability in a business layer. Based on the two points, the method can be efficiently and quickly popularized to the existing national cloud and each provincial level regulation cloud system.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art can make modifications and equivalents to the embodiments of the present invention without departing from the spirit and scope of the present invention, which is set forth in the claims of the present application.

Claims (9)

1. A regulation and control data storage and evidence sharing method is characterized by comprising the following steps:
acquiring a data entry request by a data input end block chain node;
the data input end block link node acquires source end data and the data type of the source end data according to the data entry request; writing the source end data of the structured data type into a data input end block chain node according to the data type of the source end data; converting the storage address of the source end data of the unstructured data type into a structured character string, and writing the structured character string into a data input end block chain node;
the data input end block chain node outputs the data type of the source end data, the source end data and the structural character string converted by the storage address to the data storage end block chain node based on a preset consensus algorithm among the block chain nodes;
the source end data comprises structured data with a format (ID, structured character string) and unstructured data with a format (ID, file);
the step of converting the storage address of the source end data of the unstructured data type into a structured character string and writing the structured character string into the block chain node of the data input end specifically includes: and generating an internal structural character string of a source end data pointer representing the unstructured data for the source end data of the unstructured data, and writing the data ID of the source end data of the unstructured data and the internal structural character string into a data input end block chain node for local storage.
2. The method according to claim 1, wherein the step of writing source data of the structured data type to the block chain node of the data input terminal comprises:
and writing the data ID and the structural character string of the source end data of the structural data into a data input end block chain node for local storage.
3. The regulation and control data storage certificate sharing method according to claim 1 or 2, characterized in that after the local storage is completed, the method further comprises:
acquiring a data verification request by a data input end block chain node;
and according to the data verification request, the data input end block chain node acquires the data ID of the source end data and performs local verification to acquire a local verification result.
4. A regulation and control data storage and evidence sharing method is characterized by comprising the following steps:
a data storage end block chain node acquires source end data, a data type of the source end data and a structural character string converted by a storage address;
writing source end data of the structured data type into a data storage end block chain node; writing the structural character string converted from the storage address of the source end data of the unstructured data type into a data storage end block chain node;
the source end data comprises structured data with a format (ID, structured character string) and unstructured data with a format (ID, file);
the step of writing the structured character string converted from the storage address of the source end data of the unstructured data type into the block chain node of the data storage end specifically includes: and generating an internal structural character string of a source end data pointer representing unstructured data for source end data of the unstructured data, and writing a data ID of the source end data of the unstructured data and the internal structural character string into a block chain node of a data storage end for synchronous storage based on a preset consensus algorithm between the block chain nodes to form distributed account book storage.
5. The method according to claim 4, wherein the step of writing source data of the structured data type to the block chain node of the data storage terminal specifically comprises:
and writing the data ID and the structural character string of the source end data of the structural data into the block chain nodes of the data storage end based on a preset consensus algorithm among the block chain nodes for synchronous storage, so as to form distributed account book storage.
6. The method for regulating and controlling data deposit evidence sharing according to claim 4 or 5, wherein after the distributed ledger storage is formed, the method further comprises:
the data storage end block chain node acquires a local verification result, and the local verification result is obtained by performing local verification on the data input end block chain node;
judging whether the local verification result passes or not; when the local verification result passes, acquiring a data verification request of the local verification, and performing synchronous verification in the block chain node of the data storage terminal based on a consensus algorithm to obtain a verification query result; and when the local verification result is failed, stopping inquiring and outputting the verification failure result.
7. A regulation and control data storage and evidence sharing method is characterized by comprising the following steps:
acquiring a data entry request by a data input end block chain node; the data input end block link node acquires source end data and the data type of the source end data according to the data entry request; writing the source end data of the structured data type into a data input end block chain node according to the data type of the source end data; converting the storage address of the source end data of the unstructured data type into a structured character string, and writing the structured character string into a data input end block chain node;
the data storage end block chain nodes acquire the data type of the source end data, the source end data and the structural character string converted by the storage address based on a consensus algorithm preset among the block chain nodes; writing source end data of the structured data type into a data storage end block chain node; writing the structural character string converted from the storage address of the source end data of the unstructured data type into a data storage end block chain node;
the source end data comprises structured data with a format (ID, structured character string) and unstructured data with a format (ID, file);
the step of converting the storage address of the source end data of the unstructured data type into a structured character string and writing the structured character string into the block chain node of the data input end specifically includes: generating an internal structured character string of a source end data pointer representing unstructured data for source end data of the unstructured data, and writing a data ID of the source end data of the unstructured data and the internal structured character string into a block chain node of a data input end for local storage;
the step of writing the structured character string converted from the storage address of the source end data of the unstructured data type into the block chain node of the data storage end specifically includes: and generating an internal structural character string of a source end data pointer representing unstructured data for source end data of the unstructured data, and writing a data ID of the source end data of the unstructured data and the internal structural character string into a block chain node of a data storage end for synchronous storage based on a preset consensus algorithm between the block chain nodes to form distributed account book storage.
8. A regulation and control data storage and evidence sharing system is characterized by comprising:
the request acquisition module is used for acquiring a data entry request by the data input end block chain node;
the data and type acquisition module is used for acquiring the source end data and the data type of the source end data by the data input end block link node according to the data input request;
the data distribution module is used for writing the source end data of the structured data type into the block chain node of the data input end according to the data type of the source end data; converting the storage address of the source end data of the unstructured data type into a structured character string, and writing the structured character string into a data input end block chain node; the block chain node of the data input end outputs the data type of the source end data, the source end data and the structural character string converted by the storage address to the block chain node of the data storage end based on a preset consensus algorithm among the block chain nodes;
the source end data comprises structured data with a format (ID, structured character string) and unstructured data with a format (ID, file);
the step of converting the storage address of the source end data of the unstructured data type into a structured character string and writing the structured character string into the block chain node of the data input end specifically includes: and generating an internal structural character string of a source end data pointer representing the unstructured data for the source end data of the unstructured data, and writing the data ID of the source end data of the unstructured data and the internal structural character string into a data input end block chain node for local storage.
9. A regulation and control data storage and evidence sharing system is characterized by comprising:
the data acquisition module is used for acquiring the source end data, the data type of the source end data and the structural character string converted by the storage address by the data storage end block chain node;
the distributed account book storage control module is used for writing the source end data of the structured data type into the block link node of the data storage end; writing the structural character string converted from the storage address of the source end data of the unstructured data type into a data storage end block chain node;
the source end data comprises structured data with a format (ID, structured character string) and unstructured data with a format (ID, file);
the step of writing the structured character string converted from the storage address of the source end data of the unstructured data type into the block chain node of the data storage end specifically includes: and generating an internal structural character string of a source end data pointer representing unstructured data for source end data of the unstructured data, and writing a data ID of the source end data of the unstructured data and the internal structural character string into a block chain node of a data storage end for synchronous storage based on a preset consensus algorithm between the block chain nodes to form distributed account book storage.
CN202110703872.4A 2021-06-24 2021-06-24 Regulation and control data storage and certification sharing method and system Active CN113259487B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110703872.4A CN113259487B (en) 2021-06-24 2021-06-24 Regulation and control data storage and certification sharing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110703872.4A CN113259487B (en) 2021-06-24 2021-06-24 Regulation and control data storage and certification sharing method and system

Publications (2)

Publication Number Publication Date
CN113259487A CN113259487A (en) 2021-08-13
CN113259487B true CN113259487B (en) 2021-09-28

Family

ID=77189503

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110703872.4A Active CN113259487B (en) 2021-06-24 2021-06-24 Regulation and control data storage and certification sharing method and system

Country Status (1)

Country Link
CN (1) CN113259487B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108259622A (en) * 2018-02-07 2018-07-06 福建南威软件有限公司 A kind of trans-regional sharing method of electronics license data
CN111552676A (en) * 2020-04-26 2020-08-18 北京众享比特科技有限公司 Block chain based evidence storing method, device, equipment and medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111382119B (en) * 2018-12-29 2023-08-22 华为技术有限公司 Block data archiving method and related equipment
US11657062B2 (en) * 2019-01-14 2023-05-23 David Bernard THAW General purpose blockchain
US20210004385A1 (en) * 2019-07-05 2021-01-07 Gangadharan Vijayalakshmi System and method for analysis of one or more unstructured data
CN110912937B (en) * 2019-12-23 2021-09-07 杭州中科先进技术研究院有限公司 Block chain-based digital certificate storage platform and certificate storage method
CN111444262A (en) * 2020-02-13 2020-07-24 江苏荣泽信息科技股份有限公司 Electric power data sharing system based on block chain
CN111416704B (en) * 2020-03-17 2022-10-18 中国建设银行股份有限公司 Data processing method, device and system based on block chain
CN112671840B (en) * 2020-12-11 2022-04-05 同济大学 Cross-department data sharing system and method based on block chain technology

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108259622A (en) * 2018-02-07 2018-07-06 福建南威软件有限公司 A kind of trans-regional sharing method of electronics license data
CN111552676A (en) * 2020-04-26 2020-08-18 北京众享比特科技有限公司 Block chain based evidence storing method, device, equipment and medium

Also Published As

Publication number Publication date
CN113259487A (en) 2021-08-13

Similar Documents

Publication Publication Date Title
Lin et al. A novel architecture combining oracle with decentralized learning for iiot
CN101655943B (en) Enterprise application integrated working flow management method and system
CN112733174B (en) Authentication management method and system of block chain system and electronic equipment
CN112231741B (en) Data processing method, device, medium and electronic equipment based on block chain system
CN110162559B (en) Block chain processing method based on universal JSON synchronous and asynchronous data API (application program interface) interface call
Xin et al. On scaling and accelerating decentralized private blockchains
WO2010148966A1 (en) Method and apparatus for implementing data synchronization in network management
CN112217793B (en) Cross-system trust management system suitable for power Internet of things
CN112287031B (en) Data synchronization method and device of block chain system, readable medium and electronic equipment
CN112270550A (en) New energy electric power source tracing method and system based on block chain
CN113438084A (en) Green power source tracing method and system based on R-PBFT consensus algorithm and timestamp
CN111459461A (en) Energy use right verification and transaction system and method based on Internet of things and block chain technology
CN113821564A (en) Heterogeneous parallel block chain and on-chain data and under-chain contract cooperation method thereof
CN114281790B (en) Multi-type load resource aggregator access system and method
CN112053271B (en) Public service platform data evidence management method and system based on block chain
Ji et al. Cloud Service based intelligent power monitoring and early-warning system
Xu et al. [Retracted] Urban Fruit Quality Traceability Model Based on Smart Contract for Internet of Things
CN113516331A (en) Building data processing method and device
CN112231414B (en) Data synchronization method and device of block chain system, readable medium and electronic equipment
CN113259487B (en) Regulation and control data storage and certification sharing method and system
Qin [Retracted] Information and Data Analysis Based on Big Data and Blockchain Technology in Promoting the Development of Cultural Tourism Industry
CN112306992A (en) Big data platform based on internet
CN113011960A (en) Block chain-based data access method, device, medium and electronic equipment
Mangler et al. On the origin of services using riddl for description, evolution and composition of restful services
Zhang et al. Research on lightweight blockchain technology based on edge computing

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