CN108259622B - Cross-region sharing method for electronic license data - Google Patents

Cross-region sharing method for electronic license data Download PDF

Info

Publication number
CN108259622B
CN108259622B CN201810121861.3A CN201810121861A CN108259622B CN 108259622 B CN108259622 B CN 108259622B CN 201810121861 A CN201810121861 A CN 201810121861A CN 108259622 B CN108259622 B CN 108259622B
Authority
CN
China
Prior art keywords
electronic license
block
electronic
subset
storage node
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
CN201810121861.3A
Other languages
Chinese (zh)
Other versions
CN108259622A (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.)
Linewell Software Co Ltd
Original Assignee
Linewell Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Linewell Software Co Ltd filed Critical Linewell Software Co Ltd
Priority to CN201810121861.3A priority Critical patent/CN108259622B/en
Publication of CN108259622A publication Critical patent/CN108259622A/en
Application granted granted Critical
Publication of CN108259622B publication Critical patent/CN108259622B/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
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/178Techniques for file synchronisation in file systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • 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/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Abstract

The invention discloses a cross-region sharing method of electronic license data. Firstly, writing a first electronic certificate file and first electronic certificate information into accounts corresponding to all subset block chains of a first block storage node subset through an electronic certificate business contract relation, and then writing first routing information and first electronic certificate information into accounts corresponding to all full set block chains of a cross-block storage node full set. According to the embodiment of the invention, based on the sub-set block chain accounting in the region and the full-set block chain accounting in the cross-region, double-layer accounting of the electronic license in the sub-set block chain and the full-set block chain is realized, a centralized data storage mode is not needed, cross-region sharing of electronic license data for data decentralized and synchronous accounting application is realized, the data synchronization requirements among electronic license libraries in different regions are met, the possibility of data tampering is reduced, and cross-region data sharing of the electronic license is realized.

Description

Cross-region sharing method for electronic license data
Technical Field
The invention relates to the technical field of electronic license, in particular to a cross-region sharing method of electronic license data.
Background
With the development of electronic license informatization, electronic license platforms are established in many areas, and a large amount of electronic license data are accumulated, for example, electronic license platforms are respectively established in many cities and provinces. However, the data standards of the electronic certificates of cities and provinces may be different, the system design architecture may also be different, cross-region electronic certificate information sharing is not realized, and the electronic certificate platform of each region is still an 'information isolated island' in fact.
The cross-region sharing can solve the sharing and trust problems of the electronic license among different regions, and is used for processing data collection, routing and query among the regions so as to realize the trusted sharing of the electronic license information. In the prior art, in order to realize cross-regional data collection and sharing, a centralized data resource center is usually established, electronic license data is collected and managed by a centralized database, and once the data is collected in a centralized manner, the central database and a data provider (for example, different provinces) inevitably have the problem of reliable data responsibility. For example, in the data sharing method in the prior art, data is collected to a unified data resource center, and when a network of the data resource center is abnormal or a data provider forgets to update a data state, a data responsibility problem is easily generated.
Therefore, in the electronic license sharing scheme of the centralized architecture adopted in the prior art, the problem of undivided authority easily occurs in the information acquisition and application processes, and the problem of untrustworthy data occurs in the data sharing.
Disclosure of Invention
The invention aims to provide a cross-region sharing method of electronic license data, which is used for realizing trustiness and shareability of data in different regions.
In order to achieve the purpose, the invention adopts the following technical scheme:
the invention provides a cross-region sharing method of electronic license data, which comprises the following steps:
acquiring a first electronic license file to be stored and first electronic license information;
writing the first electronic license file and the first electronic license information into an account book corresponding to a first subset block chain of a first block storage node subset through a pre-configured electronic license service contract relation, and synchronously writing the first electronic license file and the first electronic license information into the account book corresponding to all subset block chains except the first subset block chain in the first block storage node subset, wherein the first block storage node subset comprises N subset block chains including the first subset block chain, and N is a positive integer greater than or equal to 2;
determining first routing information corresponding to the first electronic license file according to the contract relation of the electronic license service;
writing the first routing information and the first electronic license information into an account book corresponding to a first full set block chain of a full set of cross-block storage nodes, and synchronously writing the first routing information and the first electronic license information into the account books corresponding to all full set block chains except the first full set block chain in the full set of cross-block storage nodes, wherein the full set of cross-block storage nodes comprises M full set block chains including the first full set block chain, M is a positive integer greater than or equal to 2, and the first full set block chain corresponds to the first block storage node subset.
After the technical scheme is adopted, the technical scheme provided by the invention has the following advantages:
according to the embodiment of the invention, the first electronic certificate file and the first electronic certificate information can be firstly written into the account book corresponding to all subset block chains of the first block storage node subset through the contract relation of the electronic certificate service, and then the first routing information and the first electronic certificate information are written into the account book corresponding to all full set block chains of the cross-block storage node full set. The method is based on the subset block chain accounting in the region and the full set block chain accounting in the cross-region, so that double-layer accounting of the electronic license in the subset block chain and the full set block chain is realized, a centralized data storage mode is not needed, cross-region sharing of the electronic license data for data decentralized and synchronous accounting application is realized, the data synchronization requirements among electronic license libraries in different regions are met, and the method is different from the electronic license data sharing of a traditional centralized framework.
Drawings
FIG. 1 is a block diagram illustrating a cross-region sharing method for electronic license data according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating an implementation principle of a blockchain of a provincial-level block storage node and a national-level block storage node according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a cross-region sharing method of electronic license data, which is used for realizing trustiness and shareability of data in different regions.
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments that can be derived by one skilled in the art from the embodiments given herein are intended to be within the scope of the invention.
The terms "first," "second," and the like in the description and in the claims, and in the drawings described above, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances and are merely descriptive of the invention in its embodiments for distinguishing between objects of the same nature. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of elements is not necessarily limited to those elements, but may include other elements not expressly listed or inherent to such process, method, article, or apparatus.
The following are detailed below.
The embodiment of the cross-region sharing method of the electronic license data can be applied to a sharing storage scene of the electronic license data. The electronic license data comprises various data formats such as license files, license directory information, license metadata information and the like, and if complete data credibility is to be realized, verifiable sharing mechanisms need to be formed for different types of data formats, so that the problem of authority of credible data is avoided in design. The embodiment of the invention is different from the electronic license data sharing of the traditional centralized architecture, the cross-region data collection and sharing method based on the block chain has better safety, stability and feasibility, the routing information and routing mechanism are designed, the problem that the electronic license sharing of the traditional centralized architecture has no authority in the information acquisition and application processes is solved, the possibility of data tampering is reduced, and the cross-region data sharing of the electronic license is realized.
The embodiment of the invention utilizes the block chain technology, can ensure that different blocks form the block chain in time sequence in a mode of passing through an account book and carry out propagation, can synchronize data in different blocks in a network, and achieves the effect of data decentralization without centralization for verification. Referring to fig. 1, a cross-region sharing method for electronic license data provided by the present invention may include the following steps:
101. and acquiring a first electronic license file to be stored and first electronic license information.
In the embodiment of the invention, each block storage node subset can use the electronic license file and the electronic license information in the block, and then the storage process of the electronic license data in the embodiment of the invention is described by taking the storage process of the first electronic license file and the first electronic license information as an example. The electronic license file refers to electronic license data, and the electronic license data under different service scenes can be different. The electronic license information can be the face information of the electronic license, for example, the face information is the character information displayed on the license, and the electronic license information is the core information of the license, for example, who has what license, what unit issues, when overdue, whether valid or not, and the like. The data volume of the electronic license file in the embodiment of the invention is usually larger than that of the electronic license information.
In some embodiments of the present invention, the step 101 of obtaining a first electronic license file and first electronic license information to be stored includes:
acquiring first electronic license source data from an electronic license system;
converting the first electronic license source data into a first electronic license format file;
acquiring an electronic signature added after a certificate issuing unit confirms a first electronic certificate format file;
and generating a first electronic certificate file and first electronic certificate information according to the first electronic certificate layout file and the corresponding electronic signature, wherein the first electronic certificate file comprises the electronic signature and first electronic certificate data.
The data source end provides the electronic license by the electronic license system of the data providing area, the electronic license is stored on the initialized block chain node after the electronic license is generated, and then the electronic license is broadcasted to other nodes from the initialized node, and other nodes belong to other storage devices, and the description of the storage process of the electronic license in the subsequent embodiment is described in detail.
102. Writing a first electronic license file and first electronic license information into an account book corresponding to a first subset block chain of a first block storage node subset through a pre-configured electronic license service contract relation, and synchronously writing the first electronic license file and the first electronic license information into the account book corresponding to all subset block chains except the first subset block chain in the first block storage node subset, wherein the first block storage node subset comprises N subset block chains including the first subset block chain, and N is a positive integer greater than or equal to 2.
In the embodiment of the invention, the contract relation of the electronic certificate service is completed by pre-configuration, and the contract relation of the electronic certificate service represents the storage path and the storage relation of different electronic certificates and a full-set block chain in a cross-block storage node corresponding to a storage node in a block. In an embodiment of the present invention, the first subset of block storage nodes comprises a plurality of sub-set block chains, for example, N sub-set block chains from subset block chain 1 to subset block chain N. The first subset block chain is a subset block chain corresponding to the first electronic license file, for example, a storage node of a city level a corresponding to the first subset block chain, and a user corresponding to the first electronic license file belongs to the city level a, and at this time, the first electronic license file and the first electronic license information may be written into an account book corresponding to the first subset block chain of the first subset storage node subset. In order to ensure that the information is not tampered, after the first subset blockchain is stored, the first electronic certificate file and the first electronic certificate information are written into the account book corresponding to all the subset blockchains in the first block storage node subset except the first subset blockchain, so that the information is ensured to be not tampered, and the first electronic certificate file and the first electronic certificate information are stored in the first block storage node subset in a full amount, and the information is not easy to lose.
In some embodiments of the present invention, the step 102 writes, through a pre-configured electronic license service contract relationship, the first electronic license file and the first electronic license information into an account book corresponding to a first subset block chain of the first block storage node subset, and synchronously writes the first electronic license file and the first electronic license information into an account book corresponding to all subset block chains in the first block storage node subset except the first subset block chain, including:
inquiring a block storage node subset identifier and a subset block chain identifier corresponding to the first electronic certificate file according to the contract relation of the electronic certificate service;
determining a first block storage node subset from all the block storage node subsets according to the inquired block storage node subset identification;
determining a first subset block chain from all subset block chains of the first block storage node subset according to the inquired subset block chain identification;
writing the first electronic license file and the first electronic license information into an account book corresponding to a first subset block chain of the first block storage node subset;
and broadcasting the first electronic certificate file and the first electronic certificate information to the accounts corresponding to all the subset block chains in the first block storage node subset based on the synchronous accounting mode of the block chain accounts.
In some embodiments of the present invention, further, after synchronously writing the first electronic license file and the first electronic license information into the ledger corresponding to all subset blockchains except the first subset blockchain in the first subset of block storage nodes in step 102, the method for sharing electronic license data across regions further includes the following steps:
and generating a distributed trusted account book in the first block storage node subset according to the first electronic certificate file and the writing result of the first electronic certificate information in the first block storage node subset, and recording the first electronic certificate file and the first electronic certificate information through the distributed trusted account book.
For example, in the embodiment of the present invention, an electronic certificate file and certificate information are written into an account book in a provincial block chain of a local city through a block chain intelligent contract, and based on synchronous accounting of the block chain account book, the electronic certificate file and the certificate information are accounted on all local city block chain nodes in a province, so as to form a distributed trusted account book inside the local city, and record a newly added certificate file and certificate information. The intelligent contract of the block chain is a contract template which is suitable for different business definitions, for example, on the sharing of electronic certificates, the issuing unit civil bureau issues a marriage certificate to zhang san, and at this time, the intelligent contract content includes that the civil bureau issues the marriage certificate to zhang san, and the information of the marriage certificate is … …, and the identity of the civil bureau is used for authenticating the intelligent contract and is recorded on the account. Each province forms a block chain network, and after local city data is updated, the data of other block chain links in the province is updated in time. The new file is preferentially recorded on the block chain nodes in the local city, each intelligent contract has a unique Identifier (ID), the certificate confirms whether to be newly added or changed or not by calculating and comparing the certificate holder code, the certificate number and the issuing unit code, confirms the service state, and can be broadcast to other block chain nodes after the successful recording. According to the embodiment of the invention, the distributed trust account book in the block storage node subset can realize that information is not easy to lose and falsified, and meanwhile, the distributed trust account book is convenient to use to realize quick query and feedback of the electronic certificate.
103. And determining first routing information corresponding to the first electronic license file according to the contract relation of the electronic license service.
In the embodiment of the invention, the routing information corresponding to the electronic license file refers to the storage position of the block storage node subset in which the electronic license file is stored, corresponding to the whole set of the cross-block storage nodes, and the first routing information corresponding to the first electronic license file can be inquired according to the pre-configured contract relation of the electronic license service.
104. The method comprises the steps of writing first routing information and first electronic license information into accounts corresponding to a first full set block chain of a full set of cross-block storage nodes, synchronously writing the first routing information and the first electronic license information into accounts corresponding to all full set block chains except the first full set block chain in the full set of cross-block storage nodes, wherein the full set of cross-block storage nodes comprises M full set block chains including the first full set block chain, M is a positive integer greater than or equal to 2, and the first full set block chain corresponds to a first block storage node subset.
In the embodiment of the invention, the first electronic license file is not put in the block chain of the whole set of the cross-block storage nodes, and the file is too large to be put in the whole set of the cross-block storage nodes in consideration of the storage problem of the electronic license file per se, so that the routing information of each sub-set of the block storage nodes is added in the intelligent contract of the cross-block, for example, the routing information can be the IP address of each sub-set of the block storage nodes. The first routing information and the first electronic certificate information are written into an account book corresponding to a first full set block chain of a full set of cross-block storage nodes, and the first routing information and the first electronic certificate information are synchronously written into the account book corresponding to all full set block chains except the first full set block chain in the full set of cross-block storage nodes, so that the first electronic certificate information and the corresponding first routing information are synchronously stored in the full set of cross-block storage nodes, and the first routing information can be used for searching back a block storage node subset corresponding to the first electronic certificate information.
In some embodiments of the present invention, the step 104 of writing the first routing information and the first electronic certificate information into the account book corresponding to the first full set block chain of the full set of the cross-block storage nodes, and synchronously writing the first routing information and the first electronic certificate information into the account book corresponding to all full set block chains in the full set of the cross-block storage nodes except the first full set block chain includes:
searching a first full-set block chain corresponding to the first block storage node subset from the cross-block storage node full set according to the first block storage node subset;
writing the first routing information and the first electronic license information into an account book corresponding to a first full set block chain of a full set of cross-block storage nodes;
based on the synchronous accounting mode of the block chain account book, the first routing information and the first electronic certificate information are broadcasted to the account book corresponding to all the full-set block chains in the cross-block storage node full set.
In some embodiments of the present invention, further, after synchronously writing the first routing information and the first electronic license information into the ledger corresponding to all the full set block chains except the first full set block chain in the full set of cross-block storage nodes in step 104, the cross-region sharing method for electronic license data provided in the embodiment of the present invention further includes the following steps:
and generating a distributed trust account book in the cross-block storage node complete set according to the writing result of the first routing information and the first electronic certificate information in the cross-block storage node complete set, and recording the first routing information and the first electronic certificate information through the distributed trust account book.
For example, after the electronic certificate file and the electronic certificate information are written into the province-level block storage node, next, the routing information and the certificate information of the province are written into the national-level block chain account book of the province through an intelligent contract, the routing information and the certificate information of the electronic certificate are synchronously accounted on the basis of the block chain account book, the routing information and the certificate information of the province of the electronic certificate are accounted on all the national-level block chain link points, a national-level distributed trust account book is formed, and the newly added routing information and the certificate information are recorded. The intelligent contracts of province-level and country-level block chain nodes are different from the intelligent contracts in the province, and mainly comprise routing IP information of the province, license core information and license files which are not placed in a national block chain, and the files are too large and are not suitable for being placed in a national application in consideration of storage problems, so the routing IP of each province needs to be added in the national-level intelligent contracts, the country firstly inquires, returns routing information after inquiring the information, and a calling party accesses the detailed license information and the files according to the routing information. In the embodiment of the invention, the distributed trust account book in the block-crossing storage node complete set can realize that information is not easy to lose and falsified, and meanwhile, the distributed trust account book is convenient to use to realize quick query and feedback of the electronic certificate.
In some embodiments of the present invention, based on the foregoing implemented dual-layer storage mechanism of the electronic license information, a query scheme for the electronic license is described next, and the cross-region sharing method of the electronic license data provided in the embodiments of the present invention further includes the following steps:
receiving an electronic license data query request sent by a client through a first block storage node subset, wherein the electronic license data query request comprises: the electronic license data identification to be inquired;
inquiring whether electronic license information corresponding to the electronic license data to be inquired exists in the first block storage node subset;
if the requested electronic license information is inquired in the first block storage node subset, an electronic license file corresponding to the electronic license data identifier to be inquired is further acquired;
if the requested electronic license information is not inquired in the first block storage node subset, forwarding an electronic license data inquiry request to the whole cross-block storage node set;
inquiring whether electronic license information corresponding to the electronic license data to be inquired exists in the whole set of the cross-block storage nodes;
if the requested electronic license information is inquired in the whole set of the cross-block storage nodes, further acquiring routing information corresponding to the requested electronic license information;
and accessing the corresponding block storage node subset according to the routing information corresponding to the requested electronic license information, and acquiring an electronic license file corresponding to the electronic license data identifier to be inquired.
For example, the service system provides a certificate data query request according to service requirements, queries and acquires certificate information on a local city provincial block chain book, and solves the query and acquisition of intra-provincial data; meanwhile, license routing information is inquired and obtained on a state-level block chain account book of the province, and license information on other province-level block chain account books is accessed by a service system according to the routing information, so that cross-region license data inquiry and acquisition of other provinces are achieved.
In the embodiment of the invention, the license source data end converts the license data into the format file, and adds the electronic signature to provide the basic credible file and the license data, and the basic credible data is added into the block chain through the intelligent contract and is broadcasted to all the block chains to form the complete credible data of the whole network in one area. On the cross-region, a cross-region block network is established, routing information and license information of each region are added into a block chain and broadcast by taking the region (province) as a basic unit, and data in the cross-region block chain is completely credible. And finally, when the data is shared, accessing the block chains of other areas (provinces) according to the routing information on the basis of the routing information of the cross-area to acquire the cross-area credible data.
Fig. 2 is a schematic diagram illustrating an implementation principle of a blockchain of a provincial-level block storage node and a national-level block storage node according to an embodiment of the present invention. The block chains in the embodiment of the present invention can be divided into two types: the subset block chains and the full set block chains, such as the subset block chains, are mainly stored in a block storage node subset, such as the first provincial block storage node in fig. 2 is a first block storage node subset, the second provincial block storage node may be specifically a second block storage node subset, each block storage node subset includes a plurality of subset block chains, such as a city a, a city B …, and a city N, respectively, each block chain includes a plurality of blocks, such as block 1, block 2, …, and block N. For example, the corpus block chain is mainly stored in a corpus of trans-block storage nodes, for example, the country-level block storage node in fig. 2 is a corpus of trans-block storage nodes, a plurality of corpus block chains are included in the country-level block storage node, for example, for each province, a province a, a province B, …, and a province N, respectively, a block chain is provided, and a plurality of blocks, for example, a block 1, a block 2, a block …, and a block N, are included in each block chain.
The following description is given for the scenario shown in fig. 2, in which a block chain network is established by using a block chain technology, license data is converted into a layout file by a license source data end, an electronic signature is added to the layout file, a basic trusted file and license data are provided, the basic trusted data is added to the block chain through an intelligent contract and broadcast to all block chains, and data of a whole network in a region is completely trusted. On the cross-region, a block network of the cross-region is established, for example, based on the region (province) as a basic unit, the routing information and the license information of each region are added into a block chain and broadcasted, and the data in the cross-region block chain is completely credible. And finally, when the data is shared, accessing the block chains of other areas (provinces) according to the routing information on the basis of the routing information of the cross-area to acquire the cross-area credible data.
The embodiment of the invention generally utilizes a block chain technology to establish a block chain network, and realizes the collection and management, cross-area routing and sharing of electronic license information by means of decentralization, synchronous accounting, transaction identity authentication, data non-tampering, electronic signature and the like. The transaction identity authentication is implemented by using a digital certificate to ensure that the identity of each blockchain node is trusted, and other ways, such as oauth2.0 and the like. The embodiment of the invention can realize that information is not easy to lose, and the distributed account book based on the block chain technology disperses data on all nodes in a networking, and each node has full data, thereby avoiding the problems of unavailable networking and data loss caused by single point failure. The embodiment of the invention can also realize that the information cannot be tampered, once the information is verified by the intelligent contract and added to the block chain, the information can be stored permanently, and the modification of the database on a single node is invalid unless the plurality of nodes in the system can be controlled simultaneously. For example, when data is verified, the blockchain is verified in more than one block, for example, whether marriage certificate information of zhang san is correct is verified through a client application, at this time, broadcast is performed in the provincial node, the provincial node selects 1/3 (the value can be flexibly set) nodes for verification, if the verification is passed, the result is trusted, information tampering of all blockchains needs to control a plurality of nodes at the same time, the information can be guaranteed to be modified after being mutually trusted, and the modified single node cannot be written into the account book through verification. The embodiment of the invention also has great expansibility, and after the block chain sharing network is formed, scenes on the block chain network can be continuously expanded by dynamically issuing the intelligent contract. The mode of accounting in the embodiment of the invention has timeliness, and data can be synchronized to each node in the networking in time through synchronous accounting. In the embodiment of the invention, the data storage authority is clear, the cross-regional data is acquired, the data provider is responsible for service, the provincial level is taken as a unit, different provinces provide the sharing service of the data in the province, and each province only needs to collect necessary routing and license information to the national level block chain node.
It should be noted that the above-described embodiments of the apparatus are merely schematic, where the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. In addition, in the drawings of the embodiment of the apparatus provided by the present invention, the connection relationship between the modules indicates that there is a communication connection between them, and may be specifically implemented as one or more communication buses or signal lines. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention may be implemented by software plus necessary general hardware, and may also be implemented by special hardware including special integrated circuits, special CPUs, special memories, special components and the like. Generally, functions performed by computer programs can be easily implemented by corresponding hardware, and specific hardware structures for implementing the same functions may be various, such as analog circuits, digital circuits, or dedicated circuits. However, the implementation of a software program is a more preferable embodiment for the present invention. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a readable storage medium, such as a floppy disk, a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk of a computer, and includes instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
In summary, the above embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the above embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the above embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (7)

1. A cross-region sharing method of electronic license data is characterized by comprising the following steps:
acquiring a first electronic license file to be stored and first electronic license information;
writing the first electronic license file and the first electronic license information into an account book corresponding to a first subset block chain of a first block storage node subset through a pre-configured electronic license service contract relation, and synchronously writing the first electronic license file and the first electronic license information into the account book corresponding to all subset block chains except the first subset block chain in the first block storage node subset, wherein the first block storage node subset comprises N subset block chains including the first subset block chain, and N is a positive integer greater than or equal to 2; the electronic certificate business contract relation represents storage paths and storage relations of different electronic certificates and a full-set block chain in a cross-block storage node corresponding to a block storage node;
determining first routing information corresponding to the first electronic license file according to the contract relation of the electronic license service;
writing the first routing information and the first electronic license information into an account book corresponding to a first full set block chain of a full set of cross-block storage nodes, and synchronously writing the first routing information and the first electronic license information into the account books corresponding to all full set block chains except the first full set block chain in the full set of cross-block storage nodes, wherein the full set of cross-block storage nodes comprises M full set block chains including the first full set block chain, M is a positive integer greater than or equal to 2, and the first full set block chain corresponds to the first block storage node subset.
2. The method for cross-regional sharing of electronic license data according to claim 1, wherein the obtaining of the first electronic license file and the first electronic license information to be stored comprises:
acquiring first electronic license source data from an electronic license system;
converting the first electronic license source data into a first electronic license layout file;
acquiring an electronic signature added after a certificate issuing unit confirms the first electronic certificate format file;
and generating the first electronic license file and the first electronic license information according to the first electronic license format file and the corresponding electronic signature, wherein the first electronic license file comprises the electronic signature and first electronic license data.
3. The method for cross-regional sharing of electronic license data according to claim 1, wherein the writing of the first electronic license file and the first electronic license information into the book corresponding to the first subset block chain of the first block storage node subset through the preconfigured electronic license service contract relationship, and the synchronous writing of the first electronic license file and the first electronic license information into the book corresponding to all subset block chains except the first subset block chain in the first block storage node subset, comprises:
inquiring a block storage node subset identifier and a subset block chain identifier corresponding to the first electronic certificate file according to the contract relation of the electronic certificate service;
determining a first block storage node subset from all the block storage node subsets according to the inquired block storage node subset identification;
determining the first subset block chain from all the subset block chains of the first block storage node subset according to the inquired subset block chain identifier;
writing the first electronic license file and the first electronic license information into an account book corresponding to a first subset block chain of a first block storage node subset;
and broadcasting the first electronic certificate file and the first electronic certificate information to the account book corresponding to all the subset block chains in the first block storage node subset based on a synchronous accounting mode of the block chain account book.
4. The method for cross-regional sharing of electronic license data according to claim 1, wherein after the synchronously writing the first electronic license file and the first electronic license information into the ledger corresponding to all subset block chains except the first subset block chain in the first block storage node subset, the method further comprises:
and generating a distributed trusted account book in the first block storage node subset according to the writing results of the first electronic certificate file and the first electronic certificate information in the first block storage node subset, and recording the first electronic certificate file and the first electronic certificate information through the distributed trusted account book.
5. The method of claim 1, wherein the writing the first routing information and the first electronic license information into an account book corresponding to a first corpus block chain of a corpus of trans-block storage nodes, and synchronously writing the first routing information and the first electronic license information into an account book corresponding to all corpus block chains in the corpus of trans-block storage nodes except the first corpus block chain comprises:
finding a first full-cluster block chain corresponding to the first block storage node subset from the cross-block storage node full set according to the first block storage node subset;
writing the first routing information and the first electronic license information into an account book corresponding to a first full set block chain of a full set of cross-block storage nodes;
and broadcasting the first routing information and the first electronic certificate information to accounts corresponding to all the full-set block chains in the cross-block storage node full set based on a synchronous accounting mode of a block chain account book.
6. The method for cross-regional sharing of electronic license data according to claim 1, wherein after the synchronously writing the first routing information and the first electronic license information into the ledger corresponding to all the block chains of the block sets of the cross-block storage node except the first block chain of the block sets, the method further comprises:
and generating a distributed trust account book in the cross-block storage node complete set according to the writing results of the first routing information and the first electronic certificate information in the cross-block storage node complete set, and recording the first routing information and the first electronic certificate information through the distributed trust account book.
7. The method for cross-regional sharing of electronic license data according to any one of claims 1 to 6, further comprising:
receiving an electronic license data query request sent by a client through the first block storage node subset, wherein the electronic license data query request comprises: the electronic license data identification to be inquired;
inquiring whether electronic license information corresponding to the electronic license data to be inquired exists in the first block storage node subset;
if the requested electronic license information is inquired in the first block storage node subset, an electronic license file corresponding to the electronic license data identifier to be inquired is further acquired;
if the requested electronic license information is not inquired in the first block storage node subset, forwarding an electronic license data inquiry request to the cross-block storage node complete set;
inquiring whether electronic license information corresponding to the electronic license data to be inquired exists in the cross-block storage node complete set;
if the requested electronic license information is inquired in the whole set of the cross-block storage nodes, further acquiring routing information corresponding to the requested electronic license information;
and accessing a corresponding block storage node subset according to the routing information corresponding to the requested electronic license information, and acquiring an electronic license file corresponding to the to-be-queried electronic license data identifier.
CN201810121861.3A 2018-02-07 2018-02-07 Cross-region sharing method for electronic license data Active CN108259622B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810121861.3A CN108259622B (en) 2018-02-07 2018-02-07 Cross-region sharing method for electronic license data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810121861.3A CN108259622B (en) 2018-02-07 2018-02-07 Cross-region sharing method for electronic license data

Publications (2)

Publication Number Publication Date
CN108259622A CN108259622A (en) 2018-07-06
CN108259622B true CN108259622B (en) 2020-12-22

Family

ID=62744180

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810121861.3A Active CN108259622B (en) 2018-02-07 2018-02-07 Cross-region sharing method for electronic license data

Country Status (1)

Country Link
CN (1) CN108259622B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110825918B (en) * 2018-07-23 2023-01-13 中国移动通信有限公司研究院 Method and device for acquiring and storing digital certificate
CN108881481A (en) * 2018-07-25 2018-11-23 维沃移动通信有限公司 A kind of file recovers method, apparatus and its terminal device
CN109190329A (en) * 2018-08-14 2019-01-11 深圳市元征科技股份有限公司 Certificate information management method, system and block chain node device and storage medium
CN109189962B (en) * 2018-08-17 2021-12-21 福建南威软件有限公司 License service implementation system based on block chain
CN109408595B (en) * 2018-10-26 2020-08-11 全链通有限公司 Block chain accounting method, device and computer readable storage medium
CN109522353A (en) * 2018-11-09 2019-03-26 福建南威软件有限公司 The trans-regional shared implementation method of electronics license based on routing table
CN109474439A (en) * 2019-01-02 2019-03-15 广州市中智软件开发有限公司 A kind of electronics license based on block chain is credible to be signed and issued, is called and application method
CN113966602B (en) * 2019-04-19 2023-10-20 诺基亚技术有限公司 Distributed storage of blocks in a blockchain
CN110110552A (en) * 2019-04-30 2019-08-09 佛山科学技术学院 A kind of electronics license data sharing method and system based on block chain
CN110209742B (en) * 2019-06-17 2021-07-27 国家计算机网络与信息安全管理中心 Block chain based storage system and method classified according to data importance
CN110300171B (en) * 2019-06-28 2022-04-15 深圳市元征科技股份有限公司 Information acquisition method, system, computer readable storage medium and electronic device
CN110852693A (en) * 2019-09-26 2020-02-28 中电万维信息技术有限责任公司 Electronic license management system based on block chain
CN111770175B (en) * 2020-06-29 2022-11-08 中钞信用卡产业发展有限公司杭州区块链技术研究院 Regional sharing method for government affair data based on block chain and related components
CN111539755B (en) * 2020-07-08 2020-10-09 江苏荣泽信息科技股份有限公司 License issuing safety management system based on block chain
CN113259487B (en) * 2021-06-24 2021-09-28 中国电力科学研究院有限公司 Regulation and control data storage and certification sharing method and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105488675A (en) * 2015-11-25 2016-04-13 布比(北京)网络技术有限公司 Distributed shared general ledger construction method of block chain
CN106230592A (en) * 2016-07-15 2016-12-14 海智(天津)大数据服务有限公司 A kind of ELA electronics license node network system and control method
CN106789047A (en) * 2017-03-03 2017-05-31 钱德君 A kind of block chain identification system
CN106997525A (en) * 2017-04-10 2017-08-01 山大地纬软件股份有限公司 Digital license system based on block chain technology
CN107222482A (en) * 2017-06-01 2017-09-29 黑龙江卓亚科技有限公司 A kind of data management system and method based on compound block chain network
CN107231351A (en) * 2017-05-25 2017-10-03 远光软件股份有限公司 The management method and relevant device of electronic certificate

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11232415B2 (en) * 2015-05-28 2022-01-25 OX Labs Inc. Method for cryptographically managing title transactions

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105488675A (en) * 2015-11-25 2016-04-13 布比(北京)网络技术有限公司 Distributed shared general ledger construction method of block chain
CN106230592A (en) * 2016-07-15 2016-12-14 海智(天津)大数据服务有限公司 A kind of ELA electronics license node network system and control method
CN106789047A (en) * 2017-03-03 2017-05-31 钱德君 A kind of block chain identification system
CN106997525A (en) * 2017-04-10 2017-08-01 山大地纬软件股份有限公司 Digital license system based on block chain technology
CN107231351A (en) * 2017-05-25 2017-10-03 远光软件股份有限公司 The management method and relevant device of electronic certificate
CN107222482A (en) * 2017-06-01 2017-09-29 黑龙江卓亚科技有限公司 A kind of data management system and method based on compound block chain network

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于区块链技术的电子证照共享平台设计;闵旭蓉;《指挥信息系统与技术》;20170430;第8卷(第2期);第47-51页 *
智慧政务:区块链电子证照共享平台建设方案(ppt);秀方案;《http://sohu/com/a/193763420_178670》;20170922;全文 *

Also Published As

Publication number Publication date
CN108259622A (en) 2018-07-06

Similar Documents

Publication Publication Date Title
CN108259622B (en) Cross-region sharing method for electronic license data
CN109189962B (en) License service implementation system based on block chain
CN106796688B (en) Permission control method, device and system of block chain and node equipment
WO2020088110A1 (en) Blockchain-based node management method and device
US20230316273A1 (en) Data processing method and apparatus, computer device, and storage medium
CN112235420B (en) Data synchronization method, system and related equipment based on block chain
CN109491996A (en) For the block generation method of block chain network, block data access method, calculate equipment, storage medium
CN109669955B (en) Digital asset query system and method based on block chain
CN108616613B (en) Decentralized root domain name service method and system based on block chain
CN110730081B (en) Block chain network-based certificate revocation method, related equipment and medium
CN104750870B (en) A kind of log storage system and implementation method based on HBase
CN112287033B (en) Data synchronization method, equipment and computer readable storage medium
CN105610780A (en) Interoperation platform among clouds used for education mechanism and method thereof
CN111506589A (en) Block chain data service system based on alliance chain, access method and storage medium
CN113837760A (en) Data processing method, data processing device, computer equipment and storage medium
CN111832001A (en) Identity management method and identity management system based on block chain
CN115563591A (en) Data access method, node and cascade center
CN110071966B (en) Block chain networking and data processing method based on cloud platform
CN117010889A (en) Data processing method, device, equipment, medium and product
CN111831743A (en) Block chain data storage system and method based on cloud storage
CN112328683A (en) Data transmission method, system and storage medium supporting database and library direct
CN115587233B (en) Data identification and catalog management method and system
US20230035317A1 (en) Blockchain managed access system
KR102116318B1 (en) Blockchain access information system for internet access
CN116684425A (en) Block chain data processing method, system, device and computer equipment

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