CN110795763B - Electronic certificate processing method, query method, device, equipment, platform and medium - Google Patents

Electronic certificate processing method, query method, device, equipment, platform and medium Download PDF

Info

Publication number
CN110795763B
CN110795763B CN201911052253.2A CN201911052253A CN110795763B CN 110795763 B CN110795763 B CN 110795763B CN 201911052253 A CN201911052253 A CN 201911052253A CN 110795763 B CN110795763 B CN 110795763B
Authority
CN
China
Prior art keywords
public
data
electronic license
block chain
transaction request
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
CN201911052253.2A
Other languages
Chinese (zh)
Other versions
CN110795763A (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.)
Baidu Online Network Technology Beijing Co Ltd
Original Assignee
Baidu Online Network Technology Beijing 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 Baidu Online Network Technology Beijing Co Ltd filed Critical Baidu Online Network Technology Beijing Co Ltd
Priority to CN201911052253.2A priority Critical patent/CN110795763B/en
Publication of CN110795763A publication Critical patent/CN110795763A/en
Application granted granted Critical
Publication of CN110795763B publication Critical patent/CN110795763B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6227Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database where protection concerns the structure of data, e.g. records, types, queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Abstract

The embodiment of the application discloses an electronic license processing method, an inquiry method, a device, equipment, a platform and a medium, which relate to the technical field of block chains, wherein the electronic license processing method comprises the following steps: acquiring an electronic license processing transaction request initiated based on an internal block chain; executing the electronic license processing transaction request to generate electronic license processing transaction data, and adding the electronic license processing transaction data into the internal block chain; if the electronic license processing transaction data is determined to have the public attribute, generating a cross-chain storage transaction request of the public data based on the deployment data of the public block chain; based on the deployment data of the public blockchain, a cross-chain storage transaction request is sent to the public blockchain to store the public data in the public blockchain. The method and the device for verifying the electronic certificate can achieve the effect that the verification process of the electronic certificate is transparent to the user.

Description

Electronic certificate processing method, query method, device, equipment, platform and medium
Technical Field
The present application relates to computer technologies, and in particular, to a block chain technology, and in particular, to an electronic license processing method, an electronic license query device, an electronic license query platform, and a computer-readable medium.
Background
The existing electronic certificate service platform is generally set by a specific organization, and provides the transacting and checking services of the electronic certificate for users.
However, electronic certificates are generally managed centrally at the present stage, the certificate auditing process of each certificate handling organization is completely opaque to the masses, and the masses cannot inquire the auditing state of the certificates if not going to the field.
Disclosure of Invention
The embodiment of the application discloses an electronic license processing method, an electronic license query device, electronic license verification equipment, an electronic license verification platform and a medium, so that the verification process of the electronic license is transparent to a user.
In a first aspect, an embodiment of the present application discloses an electronic license processing method, which is executed by a node deployed with data of an internal block chain and a public block chain, and includes:
acquiring an electronic license processing transaction request initiated based on an internal block chain;
executing the electronic license processing transaction request to generate electronic license processing transaction data, and adding the electronic license processing transaction data into an internal block chain;
if the electronic license processing transaction data is determined to have the public attribute, generating a cross-chain storage transaction request of the public data based on the deployment data of the public block chain;
sending the cross-chain storage transaction request to a public blockchain based on deployment data of the public blockchain to store the public data in the public blockchain.
One embodiment in the above application has the following advantages or benefits: by adopting the double-chain architecture based on the internal block chain and the public block chain, the electronic certificate processing transaction data with public attributes in the internal block chain is transferred to the public block chain, so that the transparency of the public data to any user with query requirements in the electronic certificate audit process is realized, and the user can query the electronic certificate audit process more conveniently.
Optionally, the electronic license content in the electronic license processing transaction request is generated based on a preset license content template deployed in an internal block chain system; and processing operation information corresponding to the electronic license processing transaction request is added to a life cycle record field in the preset license content template.
One embodiment in the above application has the following advantages or benefits: the preset license content template is deployed, so that the electronic license content can be stored in a standardized and unified manner, the traceability of the life cycle information of the electronic license is ensured, and the effective supervision of the electronic license service is realized.
Optionally, determining that the electronic license processing transaction data has the public attribute includes:
and determining whether public attributes are possessed according to the identification information in the public field of the electronic license processing transaction data.
Optionally, the electronic license processing transaction data has a transaction disclosure field for identifying disclosure attributes of the whole transaction data;
at least one data field in the electronic license processing transaction data is provided with a data public field for identifying the public attribute of the data field.
One embodiment in the above application has the following advantages or benefits: the public data can be the whole transaction data or a part of the whole transaction data, and the flexibility of a data query mode in the license auditing process is ensured.
Optionally, before determining whether the public attribute is present according to the identification information in the public field of the transaction data of the electronic license, the method further includes:
extracting identification information input by a user in a public field from the electronic license processing transaction request; or
Identifying information in a public field corresponding to a type of processing operation and/or a data field content is obtained from the internal blockchain deployment data.
Optionally, the processing operation types include: material submission, material acceptance, material auditing, auditing circulation, certificate issuing and certificate discharging.
Optionally, the account set of the internal block chain is not overlapped with the account set of the public block chain, and the node of the public block chain includes a lightweight node deployed in a user terminal.
One embodiment in the above application has the following advantages or benefits: the public data and the non-public data in the electronic license transaction data have different access rights aiming at different accounts, and the safety of the non-public data can be ensured on the basis of realizing data disclosure.
Optionally, the method further includes:
acquiring an electronic certificate inquiry transaction request or an electronic certificate inquiry request initiated aiming at a public block chain;
and inquiring and feeding back according to the public data stored in the public block chain.
Optionally, the sending the cross-chain storage transaction request to the public blockchain includes:
and sending the cross-chain storage transaction request to a public block chain in real time or periodically through a preset node or a central service platform in the internal block chain.
Optionally, the generating a cross-chain storage transaction request of the public data based on the deployment data of the public blockchain includes:
and generating a cross-chain storage transaction request of the public data based on the deployment data of the public block chain, and performing digital signature on the cross-chain storage transaction request by utilizing an initiating account private key.
In a second aspect, an embodiment of the present application further discloses an electronic license query method, which is executed by a node deployed with a public block chain, and the method includes:
acquiring a cross-chain storage transaction request comprising public data stored in an internal block chain;
executing the cross-chain store transaction request to store the public data in the public blockchain;
acquiring an electronic license inquiry transaction request or an electronic license inquiry request initiated aiming at a public block chain;
inquiring and feeding back according to public data stored in the public block chain;
the public data is data with public attributes in the electronic license processing transaction data stored in the internal block chain.
In a third aspect, an embodiment of the present application further discloses an electronic license processing apparatus configured at a node where data of an internal block chain and a public block chain are deployed, where the apparatus includes:
the electronic certificate processing transaction request acquisition module is used for acquiring an electronic certificate processing transaction request initiated based on an internal block chain;
the electronic license processing transaction request executing module is used for executing the electronic license processing transaction request to generate electronic license processing transaction data and adding the electronic license processing transaction data into the internal block chain;
the cross-chain storage transaction request generation module is used for generating a cross-chain storage transaction request of the public data based on the deployment data of the public block chain if the electronic license processing transaction data is determined to have the public attribute;
a cross-chain storage transaction request sending module, configured to send the cross-chain storage transaction request to a public blockchain based on deployment data of the public blockchain, so as to store the public data in the public blockchain.
In a fourth aspect, an embodiment of the present application further discloses an electronic license inquiry apparatus configured at a node where a public block chain is deployed, where the apparatus includes:
a cross-chain storage transaction request acquisition module, configured to acquire a cross-chain storage transaction request that includes public data stored in an internal block chain;
a cross-chain storage transaction request execution module for executing the cross-chain storage transaction request to store the public data in the public block chain;
the query module is used for acquiring an electronic license query transaction request or an electronic license query request initiated aiming at a public block chain;
the query feedback module is used for querying and feeding back according to the public data stored in the public block chain;
the public data is data with public attributes in the electronic license processing transaction data stored in the internal block chain.
In a fifth aspect, an embodiment of the present application further discloses an electronic device, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the electronic license processing method according to any embodiment of the application.
In a sixth aspect, an embodiment of the present application further discloses an electronic device, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the electronic certificate query method according to any embodiment of the application.
In a seventh aspect, an embodiment of the present application further discloses an electronic license processing platform, including a block chain node; wherein, part of the nodes adopt electronic equipment for realizing the electronic license processing method disclosed by the embodiment of the application so as to be simultaneously deployed with the data of the internal block chain and the public block chain; and part of the nodes adopt electronic equipment for realizing the electronic license inquiry method disclosed by the embodiment of the application.
In an eighth aspect, an embodiment of the present application further discloses a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the electronic license processing method according to any of the embodiments of the present application, or execute the electronic license inquiry method according to any of the embodiments of the present application.
According to the technical scheme of the embodiment, the electronic license processing transaction data with the public attribute in the internal block chain is transferred to the public block chain through a double-chain architecture based on the internal block chain and the public block chain, so that the transparency of the public data in the electronic license auditing process to any user with an inquiring requirement is realized, the user can inquire the electronic license auditing process more conveniently, particularly for mass users, the inquiry of the electronic license auditing process can be carried out anytime and anywhere by accessing the public block chain, and the problem of inconvenient inquiry caused by the fact that the existing electronic license auditing process only supports field inquiry is solved; moreover, the public data can be the whole transaction data or a part of the whole transaction data, so that the flexibility of a data query mode in the license auditing process is ensured. Other effects of the above-described alternative will be described below with reference to specific embodiments.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
FIG. 1 is a schematic diagram of an interaction architecture between an electronic license platform and a blockchain network suitable for use in embodiments of the present application;
FIG. 2 is a schematic diagram of an interaction between an authorization and authentication platform and a blockchain network suitable for use in embodiments of the present application;
FIG. 3 is a flowchart of an electronic license processing method according to an embodiment of the present disclosure;
fig. 4 is a schematic format diagram of a certificate data message disclosed in an embodiment of the present application;
FIG. 5 is a flowchart of an electronic license processing method disclosed in the second embodiment of the present application;
FIG. 6 is a schematic diagram of cross-chain storage of electronic license processing transaction data disclosed in the second embodiment of the present application;
FIG. 7 is a flowchart of an electronic license inquiry method disclosed in the third embodiment of the present application;
FIG. 8 is a schematic structural diagram of an electronic license processing apparatus according to a fourth embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of an electronic license inquiry apparatus disclosed in the fifth embodiment of the present application;
fig. 10 is a block diagram of an electronic device disclosed in the sixth embodiment of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
For convenience in explaining the embodiment of the present application, fig. 1 shows, as an example, an interaction diagram between an electronic license platform and an electronic license block chain network, which are applicable to the embodiment of the present application, and fig. 2 shows, as an example, an interaction diagram between an authorization and authentication platform and an electronic license block chain network, which are applicable to the embodiment of the present application, but are not to be construed as specifically limiting the embodiment of the present application.
As shown in fig. 1, the electronic license platform may include an electronic license issuing service system, an electronic license management service system, and an electronic license database as a software platform. The electronic certificate issuing service system and the electronic certificate management service system can be arranged on a plurality of light-weight nodes or a plurality of full nodes, and can be arranged on the light-weight nodes generally. The light-weight node is also deployed with regular data of the blockchain, can access the blockchain, but is limited by hardware capability, and is generally only responsible for completing functions of part of the blockchain and storing part of data, while the whole node is responsible for completing all functions of the blockchain and storing all data. The lightweight node and the full node have different functions, and in the embodiment of the present application, the functions are preferably embodied as: the lightweight node is responsible for initiating the transaction request, but may not be responsible for verifying the transaction requests initiated by other nodes; the whole node can initiate the transaction request, can also verify the transaction requests initiated by other nodes, and has the function of packaging out blocks. The lightweight node can select at least one trusted full node to be associated with, and incomplete functions or data which is not stored in the lightweight node can request the trusted full node to complete in an auxiliary mode. The lightweight nodes and the full nodes can form an electronic certificate alliance chain. Each certificate authority may maintain its own node device.
The staff of each certificate authority can write the electronic certificate data generated in the processes, uses and other links related in the whole life cycle of the electronic certificate into an electronic certificate database by using a certificate issuing business system or an electronic certificate management business system, for example, the links of submitting materials, checking materials, passing an approval, discharging certificates, using certificates and the like, and sends the electronic certificate data to an electronic certificate block chain network to realize cochain storage. The electronic license data in the embodiment of the application comprises the electronic license content and the processing operation information related to the electronic license. The electronic certificate database can be arranged on a plurality of full nodes and used for storing electronic certificate data written in by each mechanism, and even if one full node fails, the operation of the whole block chain network cannot be influenced. The electronic license data written into the electronic license database can be stored in a structured data format, so that the requirement data can be efficiently inquired by workers of each organization by using an electronic license management service system, for example, the requirement data is locally inquired based on SQL (structured query language) and other database inquiry languages, or the requirement data is searched by a search acceleration system arranged in the whole node locally, and the search acceleration system can be realized by using any technology supporting structured data search in the prior art.
In this embodiment, in order to facilitate a user to query an audit process of an electronic license, an electronic license block chain is implemented by using a multi-chain architecture, for example, as shown in fig. 6, the electronic license block chain is divided into an internal block chain and a public block chain, for the internal block chain, intra-organization intranet communication is used, so that related data of processes such as application, audit results, certificate handling and the like of the electronic license can be recorded, and a superior organization can track a current handling condition of a specified electronic license on the internal block chain; for the public block chain, internet communication is adopted, and access service is provided for users with query requirements, so that the users can conveniently query relevant data of the electronic license.
As shown in fig. 2, in order to ensure identity validity and authority control of the blockchain link points and blockchain accounts, an authorization and authentication platform or CA platform is introduced to provide identity authorization and authentication services for certificate authorities and masses. Aiming at a certificate handling organization, a worker of the certificate handling organization can send an authorization request to an authorization and authentication platform to request identity authentication and grant authority in the process of registering a login account of an electronic certificate issuing service system or an electronic certificate management service system; similarly, the masses can also send authorization requests to the authorization authentication platform when registering login accounts of related applications of the electronic license audit process query class. And after the authorization authentication platform performs authorization authentication on each login account, an asymmetric key pair is distributed to each login account, and an authorization authentication certificate, an authorization private key and other authorization authentication information are returned together. For example, an authorization certificate and an authorization private key may be stored in the flash disk, wherein the authorization certificate is digitally signed with the authorization private key. The authorized public key can be published by the authorization and authentication platform, and an authorized person can also obtain the public key through private key derivation. Moreover, for the certificate authority, the account authorized by the certificate authority can be operated by one person or any person on the same working post. The authorization authentication platform may perform uplink storage or not perform uplink storage on the authorization authentication information of each login account, such as the authorization certificate and the authorization public key. The blockchain account opened in the blockchain can also be applied for obtaining the authentication authorization of the authorization authentication platform.
For the blockchain node, the authentication authorization of the authorization authentication platform can be requested, so that the node capability of processing any transaction request related to the electronic certificate is provided. For example, for a household electronic certificate, an electronic device of an associated organization of a public security organization may apply for an authentication authorization to process such electronic certificate. On an unauthorized node, even if a transacting operation is performed, it is considered to have no authority.
Example one
Fig. 3 is a flowchart of an electronic license processing method disclosed in an embodiment of the present application, which may be applied to a relevant business scene of an electronic license, where an audit process of the electronic license is disclosed to a user based on a block chain, so that the user may query an audit progress situation anytime and anywhere, where the audit process includes various links involved in a process of handling a new electronic license and various links involved in a process of updating relevant information of an existing electronic license.
The method disclosed in this embodiment may be executed by a node where data of an internal block chain and a public block chain are deployed, and specifically may be executed by an electronic license processing apparatus configured in the block chain node, where the apparatus may be implemented in a software and/or hardware manner, and the block link point may be implemented by any electronic device capable of implementing the electronic license processing method, such as a server, a mobile terminal, a personal computer, and the like.
S101, an electronic license processing transaction request initiated based on an internal block chain is obtained.
The electronic certificate processing transaction request can be a transaction request generated by an internal block chain of the electronic certificate at any time node in an auditing process of newly processing or updating the existing electronic certificate. Taking the data of the certificate handling user needing to be uploaded in the process of handling the electronic certificate as an example, an organization worker can log in the system by using a login account of the electronic certificate issuing service system of the organization worker and input the information provided by the certificate handling user, the local node sends the received user information to the internal block chain, and the internal block chain initiates a data uploading transaction request according to the user information.
Optionally, the electronic license content in the electronic license processing transaction request is generated based on a preset license content template deployed in the internal blockchain system. The preset license content template, as shown in fig. 4, is a normative template with universality, which is pre-deployed in the internal blockchain system, and may be implemented in the form of a template intelligent contract or in the form of a data table, which is not specifically limited in this embodiment. The information fields in the template may include, but are not limited to, standard attribute fields, management information fields, business data fields, collateral file fields, and tag name fields, among others. The management information field comprises a life cycle record field and an identification code field, and the identification code field is used for storing an identification code for uniquely identifying the electronic license; the standard attribute field is used for storing basic information of the electronic certificate, such as a certificate number, a certificate name, a type, holder information, an issuing authority and the like; the digital signature stored in the digital signature field can be used for verifying the validity of the electronic certificate, and the digital signature can be generated based on a private key in a certificate handling organization; the business data field can be a field corresponding to any data supporting query in the electronic license data and is related to a specific electronic license business type; the attached file field may be used to store any type of file associated with the electronic license, such as a document, image, or scanned piece, to increase the integrity of the electronic license data.
Optionally, the obtaining of the electronic license processing transaction request initiated based on the internal block chain may include: displaying a license content acquisition interface through a certificate issuing service system according to an information field of a preset license content template deployed in a block chain system inside the electronic license; receiving license information and license handling instructions submitted through a license content acquisition interface; and according to the license handling instruction, the license information corresponds to each information field and is sent to the internal block chain, so that the internal block chain generates an electronic license handling transaction request. Specifically, after the certificate issuing service system is started, a worker logs in the system by using the system login account, after the login is successful, the node equipment displays the certificate content acquisition interface, and the worker inputs the information of the user into an information frame displayed on the current interface according to the type of the electronic certificate to be transacted. After the license information is input through the license content acquisition interface, a worker can trigger a license handling instruction by clicking the license handling control on the interface, and the license handling instruction can be used for instructing handling of a new electronic license and can also be used for instructing updating of different handling operations such as an existing electronic license.
In the generation process of the electronic license processing transaction request, all information fields or part of information fields in the preset license content template can be used according to the field use limiting conditions to generate the electronic license content. The specific content of the field use limiting condition can be adaptively set according to the type of the electronic certificate and the operation type related to the electronic certificate processing transaction request. Moreover, the certificate issuing service system shows the certificate content acquisition interface, and can show different page contents according to the use requirements of different information fields in a preset certificate content template, so that different certificate information filling templates can be provided for different electronic certificate types. The preset license content template is deployed, so that electronic license content can be stored in a standardized and unified manner, centralized management is realized, and phenomena of data loss, inconvenience in query and the like caused by non-standardized content and scattered storage of the electronic license content are avoided.
S102, executing the electronic license processing transaction request to generate electronic license processing transaction data, and adding the electronic license processing transaction data into the internal block chain.
And if the local node is a full node, directly executing the electronic certificate processing transaction request, and if the local node is a lightweight node, transmitting the electronic certificate processing transaction request to the internal block chain network to request the full node to execute. Before the whole node executes the electronic license processing transaction request sent by the lightweight node, the verification of the electronic license processing transaction request can be realized by verifying authority information carried in the electronic license processing transaction request, and the authority information can be used for representing the legality and validity of the electronic license processing transaction request. And if the full node verifies the authority information, the verification of the electronic license processing transaction request is passed. The authority information is optionally the digital signature information in the preset license content template, and certainly, the authority information is not limited thereto.
By chaining and storing the generated electronic license processing transaction data, the problems that supervision of electronic license data is weak, cross-mechanism inquiry of the electronic license data is difficult and the like due to independent processing of electronic licenses by each mechanism in the prior art can be solved, effective supervision of the electronic license data is realized, and the storage and interaction of the electronic license data are more convenient and reliable; moreover, the phenomena that electronic license data of each organization are stored by using a centralized electronic license database in a traditional business scene, large-scale electronic license service is unavailable due to database collapse, and the database is damaged irreversibly due to illegal attack are avoided.
Optionally, processing operation information corresponding to the electronic license processing transaction request is added to a life cycle record field in a preset license content template deployed in the internal block chain system. Through carrying out electron license processing affair request, the processing operation information that this processing affair request corresponds also links the chain storage in the lump, and along with processing operation's production, the life cycle information of electron license is constantly updated, has guaranteed the traceability of the processing operation information of electron license, has improved the standardization of electron license processing procedure, and then has realized the effective supervision to electron license business to and make electron license processing procedure standardized. For example, after a data upload transaction request is generated in the process of handling the certificate in the above example, by executing the data upload transaction request, the preset certificate content template not only stores the entered user information, but also stores currently executed operation information, namely data upload, so as to indicate that the current life cycle information of the electronic certificate is in a data upload state.
S103, if the electronic license processing transaction data are determined to have the public attribute, generating a cross-chain storage transaction request of the public data based on the deployment data of the public block chain.
The disclosure attribute is used to represent a data object in the electronic license processing transaction data that may be disclosed to the public. The data object with the disclosure attribute may be a default setting in the internal blockchain, or may be a setting selected by a worker in the business system interface, for example, the worker determines that the data can be disclosed by clicking a button or control such as "pass", "confirm" in the business system interface. The data objects with public attributes may be different depending on the type of electronic license.
In the process of determining whether the electronic license processing transaction data has the public attribute, monitoring the generated electronic license processing transaction data by the internal block link point, and if the data with the public attribute, namely the public data, is monitored, sending the public data to the public block chain; or monitoring electronic license processing transaction data generated in the internal block chain by the public block chain link point, and acquiring if the public data is monitored, so that a cross-chain storage transaction request of the public data is generated based on the deployment data of the public block chain, namely the public data is requested to be stored to the public block chain from the internal block chain. Data that does not have public properties is still stored in the internal blockchain. Because some block chain nodes are simultaneously deployed with the rule data and the block data of the electronic certificate internal block chain system and the public block chain system, the data of the internal block chain and the public chain can be simultaneously read, and a transaction request is initiated based on the rules of different block chains, so that the chain crossing operation is completed. The rule data of the blockchain system include, for example: P2P network communication protocol, consensus mechanism, incentive mechanism, intelligent contract, etc. to support the operation of the blockchain system.
Optionally, generating a cross-chain storage transaction request of the public data based on the deployment data of the public blockchain includes: and generating a cross-chain storage transaction request of the public data based on the deployment data of the public block chain, performing digital signature on the cross-chain storage transaction request by using an initiating account private key, and carrying the digital signature and an authorization certificate sent by an authorization authentication platform on the cross-chain storage transaction request of the public data.
The initiating account may refer to a login account of an electronic license issuing service system or an electronic license management service system authorized by the authorization and authentication platform. For each organization, an asymmetric key pair inside the organization can be distributed to each system login account, and staff of each organization logs in an electronic license certification business system or an electronic license management business system by using the login account authorized by an authorization and authentication platform, and can perform digital signature by using an account private key distributed inside the organization in the process of triggering a cross-chain storage transaction request to represent that the cross-chain storage transaction request is initiated by the organization. The digital signature and the authorization certificate are carried in the cross-chain storage transaction request and can be used for verifying the validity of the cross-chain storage transaction request by other nodes.
And S104, sending a cross-chain storage transaction request to the public blockchain based on the deployment data of the public blockchain so as to store the public data in the public blockchain.
The public block chain node receives and executes the cross-chain storage transaction request, and realizes that the public data is stored in the public block chain, namely, the transparency of the electronic certificate auditing process to any user with the query requirement is realized, so that the user can query the data by accessing the public block chain.
Optionally, sending the cross-chain storage transaction request to the public blockchain may include: and sending a cross-chain storage transaction request to the public block chain in real time or periodically through a preset node or a central service platform in the internal block chain. Regarding the preset node or the central service platform, on the basis of ensuring the identity to be reliable, the embodiment is not particularly limited, the preset node may be any trusted node in the internal block chain, and the central service platform may be any trusted third-party service platform.
The cross-chain storage transaction request may be sent in real time or periodically, and may be specifically set according to different service types, and preferably, the cross-chain storage transaction request is sent to the public block chain while uplink storage is performed in the internal block chain. Moreover, the cross-chain storage transaction request may include block identification information corresponding to the current public data in the internal block chain and processing operation information corresponding to the executed electronic license processing transaction request, where the block identification information may be a block ID, the processing operation information may be operation identification information, and the like, and both the block identification information and the operation identification information have uniqueness.
According to the technical scheme of the embodiment, the electronic license processing transaction data with the public attribute in the internal block chain is transferred to the public block chain through a double-chain architecture based on the internal block chain and the public block chain, so that the transparency of the public data in the electronic license auditing process to any user with an inquiring requirement is realized, the user can inquire the electronic license auditing process more conveniently, particularly for mass users, the inquiry of the electronic license auditing process can be carried out anytime and anywhere by accessing the public block chain, and the problem of inconvenient inquiry caused by the fact that the existing electronic license auditing process only supports field inquiry is solved.
Example two
Fig. 5 is a flowchart of an electronic license processing method disclosed in the second embodiment of the present application, which is further optimized and expanded based on the foregoing embodiment, and can be combined with various optional technical solutions in the foregoing embodiment. As shown in fig. 5, the method may include:
s201, acquiring an electronic license processing transaction request initiated based on an internal block chain.
S202, executing the electronic license processing transaction request to generate electronic license processing transaction data, and adding the electronic license processing transaction data into the internal block chain.
S203, extracting identification information input by a user in a public field from the electronic license processing transaction request; alternatively, the identification information in the public field corresponding to the type of processing operation and/or the content of the data field is obtained from the internal blockchain deployment data.
In this embodiment, the electronic license data with the public attribute may be determined by a worker through field selection performed by an operation interface of a business system during a business process, or may be determined according to default settings in an internal block chain, for example, corresponding public fields are set in advance according to different processing operation types, or a specific field is set as a public field in advance, where the processing operation types include, but are not limited to, material submission, material acceptance, material audit, audit flow, certificate issue, and the like, as shown in fig. 6, and may be specifically determined according to operation types related to an actual audit flow of the electronic license.
In this embodiment, whether the public attribute is provided may be determined according to the identification information in the public field of the electronic license processing transaction data. Optionally, the electronic license processing transaction data has a transaction disclosure field for identifying disclosure attributes of the whole transaction data; and/or at least one data field in the electronic license processing transaction data is provided with a data public field for identifying the public attribute of the data field, namely the public data can be the whole electronic license processing transaction data, can also be a part of the whole electronic license processing transaction data, can also simultaneously comprise the whole electronic license processing transaction data and a part of the data, is equivalent to that in the subsequent user query process, a user can be supported to simultaneously query the whole electronic license processing transaction data and a part of the whole electronic license processing transaction data, and the supported query modes are diversified.
S204, if the electronic license processing transaction data is determined to have the public attribute according to the identification information in the public field of the electronic license processing transaction data, generating a cross-chain storage transaction request of the public data based on the deployment data of the public block chain.
S205, sending a cross-chain storage transaction request to the public blockchain based on the deployment data of the public blockchain, so as to store the public data in the public blockchain.
Optionally, in this embodiment, the account set of the internal block chain is not overlapped with the account set of the public block chain, and the node of the public block chain includes a lightweight node deployed in the user terminal. The internal block chain and the public block chain are respectively oriented to different accounts, for example, different login accounts are needed when the internal block chain or the public block chain is accessed through one of an electronic certificate issuing business system and an electronic certificate management business system; further, the internal blockchain is directed to specific official agency staff, and the public blockchain is directed to the upper level official agency staff and the mass users.
The account set of the internal block chain is not overlapped with the account set of the public block chain, so that the public data and the non-public data in the electronic certificate processing transaction data have different access rights aiming at different accounts, and the safety of the non-public data can be ensured on the basis of realizing data disclosure.
The user terminal held by the user facing the public block chain can be used as a lightweight node capable of accessing the public block chain, so that data query is facilitated.
Further, the method disclosed in this embodiment further includes:
acquiring an electronic license inquiry transaction request or an electronic license inquiry request initiated aiming at a public block chain; and inquiring and feeding back according to the public data stored in the public block chain.
The public data supports node local queries as well as online queries initiated in the form of transaction requests. The public data can be queried in the form of structured data, for example, the public data can be stored in a retrieval acceleration system of a public block chain in the form of structured data in the execution process of a cross-chain storage transaction request, and an index relationship is established; or in the execution process of the electronic certificate processing transaction request, the public data in the electronic certificate processing transaction data is stored in the internal block chain in a structured data form, and after the public data is transferred to the public block chain, the structured data form is still maintained, and the retrieval is supported by a retrieval acceleration system of the public block chain. The retrieval acceleration system is usually arranged on all nodes where the public blockchain is deployed, but can also be deployed independently of all nodes to realize the retrieval service for providing the data content of the public blockchain, so that the problem that the public blockchain does not support the complex query requirement, such as the complex query requirement based on the class database query language like SQL language, is solved.
Taking the mass user as an example, the mass user can query the related application of the class through the license auditing process on the mobile terminal to log in the account, after logging in, identity verification can be performed, such as face identification verification or verification of information such as an identity card number and a bank card, after the verification is passed, an electronic license querying transaction request is initiated to the public block chain, and the local node determines the public data required by the mass user through the retrieval acceleration system of the public block chain and then feeds the public data back to the user terminal in the form of a data table.
According to the technical scheme of the embodiment, the electronic certificate processing transaction data with the public attribute in the internal block chain is transferred to the public block chain through a double-chain architecture based on the internal block chain and the public block chain, so that the transparency of the public data to a user in the electronic certificate auditing process is realized, the user can inquire the electronic certificate auditing process more conveniently, the problem of inconvenient inquiry caused by the fact that the existing electronic certificate auditing process only supports field inquiry is solved, the public data can be the whole transaction data or can be a part of the whole transaction data, and the flexibility of a data inquiry mode in the certificate auditing process is ensured.
EXAMPLE III
Fig. 7 is a flowchart of an electronic license query method disclosed in the third embodiment of the present application, which may be applied to a case where a check flow of an electronic license is queried based on a block chain in a related service scene of the electronic license. Moreover, the electronic license inquiry method disclosed in this embodiment is configured and executed with the electronic license processing method disclosed in the above embodiment, and belongs to the same inventive concept, and reference may be made to the description in the above embodiment for the content that is not described in detail in this embodiment.
The method disclosed in this embodiment may be executed by a node deployed with a public blockchain, and specifically may be executed by an electronic license inquiry apparatus configured at the blockchain node. The local node deployed with the public block chain may be a lightweight node or a full node, and may be implemented by any electronic device capable of implementing the electronic query processing method, such as a server, a mobile terminal, a personal computer, and the like.
As shown in fig. 7, the electronic license query method disclosed in this embodiment may include:
s301, acquiring a cross-chain storage transaction request comprising public data stored in the internal block chain.
The public data is data with public attributes in the electronic license processing transaction data stored in the internal block chain.
S302, executing the cross-chain storage transaction request to store the public data in the public block chain.
And if the local node is a full node, directly executing the cross-chain storage transaction request, and if the local node is a lightweight node, transmitting the cross-chain storage transaction request to the public blockchain network to request the full node to execute. Before the whole node executes the cross-chain storage transaction request sent by the lightweight node, an account public key of an initiating node of the cross-chain storage transaction request can be obtained from the public blockchain network, the digital signature in the cross-chain storage transaction request is verified by using the account public key, and if the verification is passed, the cross-chain storage transaction request is executed, so that the public data is stored in the public blockchain. Of course, the verification of the cross-chain storage transaction request is not limited to be realized through the verification of the digital signature, and may also be realized through other authority information which is carried in the cross-chain storage transaction request and can characterize the validity of the cross-chain storage transaction request.
S303, acquiring an electronic license inquiry transaction request or an electronic license inquiry request initiated aiming at the public block chain. I.e. local queries of the public data support node, and online queries initiated in the form of transaction requests.
And S304, inquiring and feeding back according to the public data stored in the public block chain.
According to the technical scheme of the embodiment, the electronic license processing transaction data with the public attribute in the internal block chain is transferred to the public block chain through a double-chain architecture based on the internal block chain and the public block chain, so that the transparency of the public data in the electronic license auditing process to any user with an inquiring requirement is realized, the user can inquire the electronic license auditing process more conveniently, particularly for mass users, the inquiry of the electronic license auditing process can be carried out anytime and anywhere by accessing the public block chain, and the problem of inconvenient inquiry caused by the fact that the existing electronic license auditing process only supports field inquiry is solved.
Example four
Fig. 8 is a schematic structural diagram of an electronic license processing apparatus according to a fourth embodiment of the present application, configured to a node where data of an internal block chain and data of a public block chain are deployed. The embodiment can be suitable for disclosing the auditing process of the electronic license to the user based on the block chain in the relevant business scene of the electronic license, so that the user can inquire the auditing progress condition anytime and anywhere, wherein the auditing process comprises various links involved in the process of handling new electronic licenses and various links involved in the process of updating the relevant information of the existing electronic licenses.
The device can be realized in a software and/or hardware mode, and the block link points can be realized by any electronic equipment capable of realizing the electronic license processing method, such as a server, a mobile terminal, a personal computer and the like.
As shown in fig. 8, the electronic license processing apparatus 400 disclosed in this embodiment may include an electronic license processing transaction request obtaining module 401, an electronic license processing transaction request executing module 402, a cross-chain storage transaction request generating module 403, and a cross-chain storage transaction request sending module 404, where:
an electronic certificate processing transaction request obtaining module 401, configured to obtain an electronic certificate processing transaction request initiated based on an internal block chain;
an electronic license processing transaction request execution module 402, configured to execute an electronic license processing transaction request to generate electronic license processing transaction data, and add the electronic license processing transaction data to the internal block chain;
a cross-chain storage transaction request generating module 403, configured to generate a cross-chain storage transaction request for the public data based on the deployment data of the public block chain if it is determined that the electronic license processing transaction data has the public attribute;
a cross-chain storage transaction request sending module 404, configured to send a cross-chain storage transaction request to the public blockchain based on the deployment data of the public blockchain, so as to store the public data in the public blockchain.
Optionally, the electronic license content in the electronic license processing transaction request is generated based on a preset license content template deployed in the internal block chain system; and processing operation information corresponding to the electronic license processing transaction request is added to a life cycle record field in a preset license content template.
Optionally, the cross-chain storage transaction request generating module 403 includes:
the public attribute determining unit is used for determining whether public attributes are possessed or not according to the identification information in the public fields of the electronic license processing transaction data;
and the cross-chain storage transaction request generation unit is used for generating a cross-chain storage transaction request of the public data based on the deployment data of the public block chain if the electronic license processing transaction data is determined to have the public attribute.
Optionally, the electronic license processing transaction data has a transaction disclosure field for identifying disclosure attributes of the whole transaction data; and/or
At least one data field in the electronic certificate processing transaction data is provided with a data public field for identifying the public attribute of the data field.
Optionally, the cross-chain storage transaction request generating module 403 further includes an identification information obtaining unit, configured to:
the public attribute determining unit is used for extracting the identification information input by the user in the public field from the electronic license processing transaction request before the operation of determining whether the public attribute is available is executed according to the identification information in the public field of the electronic license processing transaction data;
or, before the public attribute determining unit executes the operation of determining whether the transaction data has the public attribute according to the identification information in the public field of the electronic certificate processing transaction data, the identification information in the public field corresponding to the processing operation type and/or the data field content is acquired from the internal blockchain deployment data.
Optionally, the processing operation types include: material submission, material acceptance, material auditing, auditing circulation, certificate issuing and certificate discharging.
Optionally, the account set of the internal blockchain is not overlapped with the account set of the public blockchain, and the node of the public blockchain includes a lightweight node deployed in the user terminal.
Optionally, the apparatus disclosed in this embodiment further includes:
the query module is used for acquiring an electronic certificate query transaction request or an electronic certificate query request initiated aiming at a public block chain;
and the query feedback module is used for querying and feeding back according to the public data stored in the public block chain.
Optionally, the cross-chain storage transaction request sending module 404 is specifically configured to send the cross-chain storage transaction request to the public block chain in real time or periodically through a preset node or a central service platform in the internal block chain based on the deployment data of the public block chain.
Optionally, the cross-chain storage transaction request generating module 403 is specifically configured to:
and generating a cross-chain storage transaction request of the public data based on the deployment data of the public block chain, and digitally signing the cross-chain storage transaction request by utilizing an initiating account private key.
The electronic license processing device 400 disclosed in the embodiment of the present application can execute any electronic license processing method disclosed in the embodiment of the present application, and has functional modules and beneficial effects corresponding to the execution method. Reference may be made to the description of any method embodiment of the present application for details not explicitly described in this embodiment.
EXAMPLE five
Fig. 9 is a schematic structural diagram of an electronic license inquiry apparatus disclosed in the fifth embodiment of the present application, which may be applied to a case where an audit process of an electronic license is inquired based on a block chain in a related service scene of the electronic license. Moreover, the electronic license inquiry apparatus disclosed in this embodiment is configured and executed with the electronic license processing apparatus disclosed in the above embodiment, and belongs to the same inventive concept, and reference may be made to the description in the above embodiment for the content that is not described in detail in this embodiment.
The device disclosed in this embodiment may be configured to a node where a public block chain is deployed, the device may be implemented in a software and/or hardware manner, and the block chain node may be implemented by any electronic device capable of implementing an electronic license inquiry method, such as a server, a mobile terminal, a personal computer, and the like.
As shown in fig. 9, the electronic license inquiry apparatus 500 disclosed in this embodiment may include a cross-chain storage transaction request obtaining module 501, a cross-chain storage transaction request executing module 502, an inquiry module 503, and an inquiry feedback module 504, where:
a cross-chain storage transaction request obtaining module 501, configured to obtain a cross-chain storage transaction request that includes public data stored in an internal block chain;
a cross-chain storage transaction request execution module 502 for executing a cross-chain storage transaction request to store public data in a public blockchain;
the query module 503 is configured to obtain an electronic license query transaction request or an electronic license query request initiated for the public block chain;
a query feedback module 504, configured to perform query and feedback according to public data stored in a public block chain;
the public data is data with public attributes in the electronic license processing transaction data stored in the internal block chain.
The electronic license inquiry apparatus 500 disclosed in the embodiment of the present application can execute any electronic license inquiry method disclosed in the embodiment of the present application, and has functional modules and beneficial effects corresponding to the execution method. Reference may be made to the description of any method embodiment of the present application for details not explicitly described in this embodiment.
EXAMPLE six
According to an embodiment of the application, the application also discloses an electronic device and a readable storage medium.
As shown in fig. 10, fig. 10 is a block diagram of an electronic device for implementing the electronic license processing method in the embodiment of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of embodiments of the present application described and/or claimed herein.
As shown in fig. 10, the electronic apparatus includes: one or more processors 901, memory 902, and interfaces for connecting the various components, including a high-speed interface and a low-speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display Graphical information for a Graphical User Interface (GUI) on an external input/output device, such as a display device coupled to the Interface. In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations, e.g., as a server array, a group of blade servers, or a multi-processor system. Fig. 10 illustrates an example of a processor 901.
The memory 902 is a non-transitory computer readable storage medium provided by the embodiments of the present application. The storage stores instructions executable by at least one processor, so that the at least one processor executes the electronic license processing method provided by the embodiment of the application. The non-transitory computer-readable storage medium of the embodiments of the present application stores computer instructions for causing a computer to execute the electronic license processing method provided by the embodiments of the present application.
The memory 902, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the electronic license processing method in the embodiment of the present application, for example, the electronic license processing transaction request obtaining module 401, the electronic license processing transaction request executing module 402, the cross-chain storage transaction request generating module 403, and the cross-chain storage transaction request sending module 404 shown in fig. 8. The processor 901 executes various functional applications of the server and data processing by running non-transitory software programs, instructions, and modules stored in the memory 902, that is, implements the electronic license processing method in the above method embodiment.
The memory 902 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device of the electronic license processing method, and the like. Further, the memory 902 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 902 may optionally include a memory remotely disposed from the processor 901, and these remote memories may be connected to an electronic device for implementing the electronic license processing method in the present embodiment through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device for implementing the electronic license processing method in the embodiment may further include: an input device 903 and an output device 904. The processor 901, the memory 902, the input device 903, and the output device 904 may be connected by a bus or other means, and fig. 10 illustrates an example of a connection by a bus.
The input device 903 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus for implementing the electronic license processing method in the present embodiment, such as an input device of a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointing stick, one or more mouse buttons, a track ball, a joystick, or the like. The output device 904 may include a display apparatus, an auxiliary lighting device such as a Light Emitting Diode (LED), a tactile feedback device, and the like; the tactile feedback device is, for example, a vibration motor or the like. The Display device may include, but is not limited to, a Liquid Crystal Display (LCD), an LED Display, and a plasma Display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, Integrated circuitry, Application Specific Integrated Circuits (ASICs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs, also known as programs, software applications, or code, include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or Device for providing machine instructions and/or data to a Programmable processor, such as a magnetic disk, optical disk, memory, Programmable Logic Device (PLD), including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device for displaying information to a user, for example, a Cathode Ray Tube (CRT) or an LCD monitor; and a keyboard and a pointing device, such as a mouse or a trackball, by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback, e.g., visual feedback, auditory feedback, or tactile feedback; and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component, e.g., as a data server, or that includes a middleware component, e.g., an application server, or that includes a front-end component, e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here, or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication, e.g., a communication network. Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
In addition, an electronic device for implementing the electronic license inquiry method in the embodiment of the present application and a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the electronic license inquiry method disclosed in the embodiment of the present application are also disclosed in the embodiments of the present application. For the description of the electronic device and the readable storage medium, reference may be made to the foregoing description of the electronic device and the corresponding readable storage medium for implementing the electronic license processing method in the embodiment of the present application, and details are not repeated here.
EXAMPLE seven
The embodiment of the application also discloses an electronic license processing platform, which comprises internal block chain nodes and public block chain node points; wherein, part of the nodes adopt the electronic equipment for realizing the electronic license processing method as disclosed in the embodiment of the application, so as to simultaneously deploy the data of the internal block chain and the public block chain; the disclosed block chain node adopts the electronic equipment for realizing the electronic license inquiry method disclosed in the embodiment of the application. For a detailed description of the related electronic device, reference may be made to the description of the electronic device disclosed in the sixth embodiment of the present application.
According to the technical scheme of the embodiment, the electronic license processing transaction data with the public attribute in the internal block chain is transferred to the public block chain through a double-chain architecture based on the internal block chain and the public block chain, so that the transparency of the public data in the electronic license auditing process to any user with an inquiring requirement is realized, the user can inquire the electronic license auditing process more conveniently, particularly for mass users, the inquiry of the electronic license auditing process can be carried out by using a user terminal at any time and any place, and the problem of inconvenience in inquiry caused by the fact that the existing electronic license auditing process only supports field inquiry is solved.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present application can be achieved, and the present invention is not limited herein.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (16)

1. An electronic license processing method, performed by a node deployed with data of an internal block chain and a public block chain, the method comprising:
acquiring an electronic license processing transaction request initiated based on an internal block chain;
executing the electronic license processing transaction request to generate electronic license processing transaction data, and adding the electronic license processing transaction data into an internal block chain;
determining whether public attributes are possessed according to the identification information in the public field of the electronic license processing transaction data; if yes, generating a cross-chain storage transaction request of the public data based on the deployment data of the public block chain;
the public attribute is used for representing a data object which can be disclosed to the masses in the electronic license processing transaction data;
sending the cross-chain storage transaction request to a public blockchain based on deployment data of the public blockchain to store the public data in the public blockchain; the cross-chain storage transaction request comprises block identification information corresponding to the public data in an internal block chain and processing operation information corresponding to an executed electronic license processing transaction request.
2. The method of claim 1, wherein:
generating electronic license content in the electronic license processing transaction request based on a preset license content template deployed in an internal block chain system; and processing operation information corresponding to the electronic license processing transaction request is added to a life cycle record field in the preset license content template.
3. The method of claim 1, wherein:
the electronic certificate processing transaction data is provided with a transaction public field for identifying the public attribute of the whole transaction data; and/or
At least one data field in the electronic license processing transaction data is provided with a data public field for identifying the public attribute of the data field.
4. The method of claim 1, wherein before determining whether public attributes are available according to the identification information in the public field of the electronic license processing transaction data, further comprising:
extracting identification information input by a user in a public field from the electronic license processing transaction request; or
Identifying information in a public field corresponding to a type of processing operation and/or a data field content is obtained from the internal blockchain deployment data.
5. The method of claim 4, wherein the processing operation type comprises: material submission, material acceptance, material auditing, auditing circulation, certificate issuing and certificate discharging.
6. The method according to claim 1, wherein the set of accounts of the internal blockchain does not overlap with the set of accounts of the public blockchain, and wherein the nodes of the public blockchain comprise lightweight nodes deployed in user terminals.
7. The method of claim 6, further comprising:
acquiring an electronic license inquiry transaction request or an electronic license inquiry request initiated aiming at a public block chain;
and inquiring and feeding back according to the public data stored in the public block chain.
8. The method of claim 1, wherein sending the cross-chain storage transaction request to a public blockchain comprises:
and sending the cross-chain storage transaction request to a public block chain in real time or periodically through a preset node or a central service platform in the internal block chain.
9. The method of claim 1, wherein generating a cross-chain storage transaction request for public data based on deployment data for a public blockchain comprises:
and generating a cross-chain storage transaction request of the public data based on the deployment data of the public block chain, and performing digital signature on the cross-chain storage transaction request by utilizing an initiated account private key.
10. An electronic license inquiry method, characterized in that, the method is executed by a node deployed with a public block chain, the method comprises:
acquiring a cross-chain storage transaction request comprising public data stored in an internal block chain; the cross-chain storage transaction request comprises block identification information corresponding to the public data in an internal block chain and processing operation information corresponding to an executed electronic license processing transaction request;
executing the cross-chain store transaction request to store the public data in the public blockchain;
acquiring an electronic license inquiry transaction request or an electronic license inquiry request initiated aiming at a public block chain;
inquiring and feeding back according to public data stored in the public block chain;
the public data are data with public attributes in the electronic license processing transaction data stored in the internal block chain;
the public attribute is determined according to the identification information in the public field of the electronic license processing transaction data and is used for representing a data object which can be disclosed to the masses in the electronic license processing transaction data.
11. An electronic license processing apparatus configured to be disposed at a node where data of an internal block chain and a public block chain are disposed, the apparatus comprising:
the electronic certificate processing transaction request acquisition module is used for acquiring an electronic certificate processing transaction request initiated based on an internal block chain;
the electronic license processing transaction request executing module is used for executing the electronic license processing transaction request to generate electronic license processing transaction data and adding the electronic license processing transaction data into the internal block chain;
the cross-chain storage transaction request generation module is used for determining whether public attributes are possessed or not according to the identification information in the public field of the electronic license processing transaction data; if yes, generating a cross-chain storage transaction request of the public data based on the deployment data of the public block chain; the public attribute is used for representing a data object which can be disclosed to the masses in the electronic license processing transaction data;
a cross-chain storage transaction request sending module, configured to send the cross-chain storage transaction request to a public blockchain based on deployment data of the public blockchain, so as to store the public data in the public blockchain; the cross-chain storage transaction request comprises block identification information corresponding to the public data in the internal block chain and processing operation information corresponding to the executed electronic license processing transaction request.
12. An electronic certificate inquiry apparatus, configured at a node where a public block chain is deployed, the apparatus comprising:
a cross-chain storage transaction request acquisition module, configured to acquire a cross-chain storage transaction request that includes public data stored in an internal block chain; the cross-chain storage transaction request comprises block identification information corresponding to the public data in an internal block chain and processing operation information corresponding to an executed electronic license processing transaction request;
a cross-chain storage transaction request execution module for executing the cross-chain storage transaction request to store the public data in the public block chain;
the query module is used for acquiring an electronic license query transaction request or an electronic license query request initiated aiming at a public block chain;
the query feedback module is used for querying and feeding back according to the public data stored in the public block chain;
the public data are data with public attributes in the electronic license processing transaction data stored in the internal block chain;
the public attribute is determined according to the identification information in the public field of the electronic license processing transaction data and is used for representing a data object which can be disclosed to the masses in the electronic license processing transaction data.
13. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the electronic license processing method of any of claims 1-9.
14. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of electronic certificate inquiry as set forth in claim 10.
15. An electronic license processing platform is characterized by comprising a block chain node; wherein a portion of the nodes employ the electronic device of claim 13 to deploy data of the internal blockchain and the open blockchain simultaneously; part of the nodes employs the electronic device of claim 14.
16. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the electronic license processing method of any one of claims 1 to 9 or the electronic license inquiry method of claim 10.
CN201911052253.2A 2019-10-31 2019-10-31 Electronic certificate processing method, query method, device, equipment, platform and medium Active CN110795763B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911052253.2A CN110795763B (en) 2019-10-31 2019-10-31 Electronic certificate processing method, query method, device, equipment, platform and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911052253.2A CN110795763B (en) 2019-10-31 2019-10-31 Electronic certificate processing method, query method, device, equipment, platform and medium

Publications (2)

Publication Number Publication Date
CN110795763A CN110795763A (en) 2020-02-14
CN110795763B true CN110795763B (en) 2022-08-05

Family

ID=69440592

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911052253.2A Active CN110795763B (en) 2019-10-31 2019-10-31 Electronic certificate processing method, query method, device, equipment, platform and medium

Country Status (1)

Country Link
CN (1) CN110795763B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111312379B (en) * 2020-02-19 2023-11-03 望海康信(北京)科技股份公司 Method, apparatus, device and computer readable storage medium for data processing
CN111339036A (en) * 2020-02-24 2020-06-26 国网山西省电力公司信息通信分公司 Block chain-based electronic license full life cycle management method and device
CN111339198B (en) * 2020-02-27 2023-09-19 百度在线网络技术(北京)有限公司 Block chain-based water treatment method, device, system, equipment and medium
CN115330087B (en) * 2022-10-11 2023-01-17 联通(广东)产业互联网有限公司 Drainage permission electronic license chain management system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109727044A (en) * 2018-12-29 2019-05-07 百度在线网络技术(北京)有限公司 Brand transaction methods, device, equipment and medium based on block chain
CN109978632A (en) * 2019-04-04 2019-07-05 百度在线网络技术(北京)有限公司 Behavioral data processing method, device, equipment and the medium of terminal applies

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10419225B2 (en) * 2017-01-30 2019-09-17 Factom, Inc. Validating documents via blockchain
CN107463074B (en) * 2017-07-27 2019-08-20 珠海赛纳打印科技股份有限公司 Imaging method and imaging device
CN110019009A (en) * 2017-11-10 2019-07-16 中兴通讯股份有限公司 Electronics license sharing method, server and readable storage medium storing program for executing
US10733176B2 (en) * 2017-12-04 2020-08-04 International Business Machines Corporation Detecting phantom items in distributed replicated database
CN110033262A (en) * 2019-01-08 2019-07-19 睿亚区块链科技(深圳)有限公司 A kind of supply-chain management system based on block chain technology

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109727044A (en) * 2018-12-29 2019-05-07 百度在线网络技术(北京)有限公司 Brand transaction methods, device, equipment and medium based on block chain
CN109978632A (en) * 2019-04-04 2019-07-05 百度在线网络技术(北京)有限公司 Behavioral data processing method, device, equipment and the medium of terminal applies

Also Published As

Publication number Publication date
CN110795763A (en) 2020-02-14

Similar Documents

Publication Publication Date Title
CN110795763B (en) Electronic certificate processing method, query method, device, equipment, platform and medium
CN110958223B (en) Delegation authorization method, device, equipment and medium based on block chain
US11469891B2 (en) Expendable cryptographic key access
CN110765137B (en) Electronic certificate processing method, device, equipment, platform and medium
EP3639465B1 (en) Improved hardware security module management
CN106936817B (en) Operation execution method, board jump machine, cluster authentication server and bastion machine system
US10250594B2 (en) Declarative techniques for transaction-specific authentication
CN111666578B (en) Data management method, device, electronic equipment and computer readable storage medium
EP3365827B1 (en) End user initiated access server authenticity check
CN110826992A (en) Block chain-based government affair information processing method, device, equipment and medium
EP3100432B1 (en) Virtual identity of a user based on disparate identity services
CN111737365B (en) Storage certificate processing method, device, equipment and storage medium
US20170374096A1 (en) Systems and methods for supporting information security and sub-system operational protocol conformance
CN112651011A (en) Login verification method, device and equipment for operation and maintenance system and computer storage medium
CN112583815B (en) Operation instruction management method and device
US10003592B2 (en) Active directory for user authentication in a historization system
CN102103777A (en) Network tax declaration system and tax declaration method thereof for fiscal cash register
CN111274591A (en) Method, device, electronic equipment and medium for accessing Kubernetes cluster
CN111488372A (en) Data processing method, device and storage medium
CN112565225B (en) Method and device for data transmission, electronic equipment and readable storage medium
CN111682945B (en) Block chain authority control method, device, equipment and medium
CN113132304B (en) Rights and interests service processing method and device, electronic equipment and storage medium
Yiu Decentralizing supply chain anti-counterfeiting systems using blockchain technology
CN115955362B (en) Block chain-based data storage and communication method, device, equipment and medium
CN111342972B (en) Transaction realization method, device, equipment and medium of block chain

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