WO2021114937A1 - Blockchain-based service processing method, apparatus and device - Google Patents

Blockchain-based service processing method, apparatus and device Download PDF

Info

Publication number
WO2021114937A1
WO2021114937A1 PCT/CN2020/124818 CN2020124818W WO2021114937A1 WO 2021114937 A1 WO2021114937 A1 WO 2021114937A1 CN 2020124818 W CN2020124818 W CN 2020124818W WO 2021114937 A1 WO2021114937 A1 WO 2021114937A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
certificate information
electronic
blockchain
electronic certificate
Prior art date
Application number
PCT/CN2020/124818
Other languages
French (fr)
Chinese (zh)
Inventor
吴方
Original Assignee
支付宝(杭州)信息技术有限公司
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 支付宝(杭州)信息技术有限公司 filed Critical 支付宝(杭州)信息技术有限公司
Publication of WO2021114937A1 publication Critical patent/WO2021114937A1/en

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
    • 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Definitions

  • This specification relates to the field of computer technology, in particular to a blockchain-based business processing method, device and equipment.
  • Electronic certificate data can be stored in the business application system. Because all kinds of data are composed of basic data units in the computer and network transmission process and are easily tampered with and forged, the current various authentication methods cannot fully identify effectively. The authenticity and integrity of data messages. Therefore, it is necessary to take corresponding measures to ensure the legality and content integrity of the license data used in the electronic license business application system. For this reason, it is necessary to provide a method that can ensure the legality and content of the license data use in the electronic license business application system. Complete technical solution.
  • the purpose of the embodiments of this specification is to provide a blockchain-based business processing method, device and equipment to provide a technical solution that can ensure the legality of the use of license data and the integrity of the content in the electronic license business application system.
  • the embodiment of this specification provides a blockchain-based service processing method, the method includes: determining the target user's electronic credential information required for the service to be processed according to the service to be processed of the target user. Obtain the authorization certificate information of the electronic certificate information provided by the target user, where the authorization certificate information is used to grant the business processor of the service to be processed the right to obtain the electronic certificate information. According to the authorization certificate information, the electronic certificate information is obtained from a predetermined certificate database. The verification information of the electronic certificate information is acquired from the blockchain, and the acquired electronic certificate information is verified according to the verification information. If the verification is passed, business processing is performed on the to-be-processed business according to the electronic certificate information.
  • the embodiment of this specification provides a blockchain-based business processing method.
  • the method includes: providing the electronic credential information required by the business to be processed for authorized use of certificate information, so that the business processor can use the authorized use of certificate information according to the Obtain the electronic certificate information from a predetermined certificate database, obtain the verification information of the electronic certificate information from the blockchain, and verify the acquired electronic certificate information according to the verification information.
  • execute business processing corresponding to the business to be processed according to the electronic credential information and the authorized credential information is used to grant the business processor the right to obtain the electronic credential information.
  • the embodiment of this specification provides a blockchain-based business processing method, which is applied to a blockchain node, and the method includes: obtaining the relevant behavior of the authorization information of the electronic certificate information required by the target user to provide the business to be processed
  • the data is stored in the blockchain; wherein the authorization certificate information is used to grant the business processor of the service to be processed the right to obtain the electronic certificate information.
  • the behavior data related to the electronic certificate information is used in the process.
  • Obtain the relevant behavioral data of the license data management party to change the electronic certificate information, and store it in the blockchain, where the relevant behavioral data for changing the electronic certificate information is detected when the electronic certificate information in the predetermined license database is detected Produced when there is a change.
  • the embodiment of this specification provides a blockchain-based business processing device, the device includes: a credential determination module, which determines the electronic credential of the target user required for the business to be processed according to the business to be processed of the target user information.
  • the authorization obtaining module obtains the authorization certificate information of the electronic certificate information provided by the target user, and the authorization certificate information is used to grant the business processor of the service to be processed the right to obtain the electronic certificate information.
  • the credential information acquiring module acquires the electronic credential information from a predetermined credential database according to the authorized credential information.
  • the verification module obtains the verification information of the electronic credential information from the blockchain, and verifies the acquired electronic credential information according to the verification information.
  • the business processing module if the verification is passed, performs business processing on the to-be-processed business according to the electronic certificate information.
  • the embodiment of this specification provides a blockchain-based business processing device, the device includes: an authorization providing module, which provides the authorization information of the electronic certificate information required by the business to be processed, so that the business processor can follow the said
  • the authorization certificate information obtains the electronic certificate information from a predetermined license database, obtains the verification information of the electronic certificate information from the blockchain, and verifies the acquired electronic certificate information according to the verification information
  • the business processing corresponding to the business to be processed is executed according to the electronic credential information, and the authorized credential information is used to grant the business processing party the right to obtain the electronic credential information.
  • the data upload module uploads the relevant behavioral data that provides the authorization certificate information to the blockchain.
  • the embodiment of this specification provides a blockchain-based business processing device, the device includes: a first data acquisition module that acquires behavioral data related to the authorization information of the electronic certificate information required by the target user to provide the business to be processed , Stored in the blockchain; wherein the authorization certificate information is used to grant the business processor of the service to be processed the right to obtain the electronic certificate information.
  • the second data acquisition module acquires the relevant behavioral data in the electronic certificate information used by the business processor, and stores it in the blockchain, wherein the relevant behavioral data in the electronic certificate information is used for the The behavior data related to the electronic certificate information is used in the process of business processing of the business to be processed.
  • the third data acquisition module acquires the relevant behavioral data of the license data management party for changing the electronic certificate information, and stores it in the blockchain, where the relevant behavioral data for changing the electronic certificate information is detected in the predetermined license database When the said electronic certificate information changes.
  • the embodiment of this specification provides a blockchain-based business processing device, the blockchain-based business processing device includes: a processor; and a memory arranged to store computer-executable instructions, the executable instructions being When executed, the processor is caused to determine the electronic credential information of the target user required by the service to be processed according to the service to be processed of the target user.
  • the processor is caused to determine the electronic credential information of the target user required by the service to be processed according to the service to be processed of the target user.
  • Obtain the authorization certificate information of the electronic certificate information provided by the target user where the authorization certificate information is used to grant the business processor of the service to be processed the right to obtain the electronic certificate information.
  • the electronic certificate information is obtained from a predetermined certificate database.
  • the verification information of the electronic certificate information is acquired from the blockchain, and the acquired electronic certificate information is verified according to the verification information. If the verification is passed, business processing is performed on the to-be-processed business according to the electronic certificate information.
  • the embodiment of this specification provides a blockchain-based business processing device
  • the blockchain-based business processing device includes: a processor; and a memory arranged to store computer-executable instructions, the executable instructions being When executed, the processor is caused to: provide the authorization certificate information of the electronic certificate information required by the service to be processed, so that the business processor can obtain the electronic certificate information from the predetermined certificate database according to the authorization certificate information, and then Obtain the verification information of the electronic credential information in the blockchain, and verify the acquired electronic credential information according to the verification information. When the verification is passed, execute the waiting according to the electronic credential information. Processing business processing corresponding to the business, and the authorization certificate information is used to grant the business processing party the right to obtain the electronic certificate information. Upload the relevant behavioral data that provides the authorization certificate information to the blockchain.
  • the embodiment of this specification provides a blockchain-based business processing device
  • the blockchain-based business processing device includes: a processor; and a memory arranged to store computer-executable instructions, the executable instructions being When executed, the processor is caused to: obtain the relevant behavioral data of the authorization certificate information of the electronic certificate information required by the target user to provide the service to be processed, and store it in the blockchain; wherein the authorization certificate information is used for the The business processor of the business to be processed grants the right to obtain the electronic credential information.
  • the behavior data related to the electronic certificate information is used in the process.
  • Obtain the relevant behavioral data of the license data management party to change the electronic certificate information, and store it in the blockchain, where the relevant behavioral data for changing the electronic certificate information is detected when the electronic certificate information in the predetermined license database is detected Produced when there is a change.
  • Figure 1 is an embodiment of a business processing method based on blockchain in this specification
  • Figure 2 is another embodiment of a blockchain-based business processing method in this specification
  • Figure 3 is another embodiment of a blockchain-based business processing method in this specification.
  • Figure 4 is another embodiment of a blockchain-based business processing method in this specification.
  • Fig. 5 is another embodiment of a blockchain-based business processing method in this specification.
  • Figure 6 is an embodiment of a business processing device based on blockchain in this specification
  • Fig. 7 is another embodiment of a business processing device based on blockchain in this specification.
  • FIG. 8 is another embodiment of a business processing device based on blockchain in this specification.
  • Figure 9 is an embodiment of a business processing device based on blockchain in this specification.
  • Fig. 10 is another embodiment of a blockchain-based business processing device in this specification.
  • the embodiments of this specification provide a business processing method, device and equipment based on blockchain.
  • the embodiment of this specification provides a blockchain-based business processing method.
  • the execution subject of the method can be a terminal device, where the terminal device can be a computer device such as a laptop or a desktop computer, or It is a server, etc.
  • the server can be an independent server or a server cluster composed of multiple servers.
  • the terminal device can be a device of a party that processes a certain one or more businesses based on the blockchain, such as a terminal device of a government service platform (which may include, for example, a network communication platform, a power operation platform, a government service website, etc.) ,
  • the terminal device can provide a variety of services, and can handle services corresponding to each service for users, such as education services, housing construction services, civil affairs services, and practicing qualification services.
  • the method may specifically include the following steps S102 to S110.
  • step S102 the electronic credential information of the target user required for the service to be processed is determined according to the service to be processed of the target user.
  • the target user can be any user.
  • the business to be processed may be a business requested (or required) by a target user, such as a business to query bank account information, a business to handle one or more insurances, and so on.
  • Electronic certificate information may include electronic identity certificate information, electronic company guarantee certificate information, electronic marriage certificate information, electronic provident fund certificate information, electronic driver's license information, electronic driving license information, and electronic passport information, etc.
  • An electronic license is a digital license that complies with relevant technical specifications. It is a record of license information formed, processed, transmitted, and stored by computers and other electronic equipment. Electronic licenses are not only the electronic form of traditional paper licenses, but the characteristics of their own electronic data require the use of reliable technical measures to ensure their authenticity and effectiveness, and to achieve credible electronic license issuance and application management.
  • Electronic certificate data can be stored in the business application system. Because all kinds of data are composed of basic data units in the computer and network transmission process and are easily tampered with and forged, the current various authentication methods cannot fully identify effectively. The authenticity and integrity of data messages. Therefore, it is necessary to take corresponding measures to ensure the authenticity of the source and the integrity of the content of the license data in the electronic license business application system during the transmission process. Among them, the integrity of the content is to ensure that the electronic certificate data is not accidentally or deliberately modified or forged during the transfer process between the sender and the receiver.
  • the embodiment of this specification provides a technical solution, which may specifically include the following content.
  • the service processor (or service provider) can The actual needs of the one or more services set the processing mechanism of the above-mentioned services, that is, the business processor can set to perform business processing based on the user’s electronic certificate information, and the user requesting a certain business service (that is, the target user) can request the business processor Request pending services.
  • the target user Before the target user needs to process a certain business, the target user can explain the pending business that needs to be processed to the business processor.
  • the terminal device of the business processor can be installed with an application for business processing of the business to be processed.
  • the business The processor can start the application through the terminal device, and the application can be set with relevant information of different services.
  • the service processor selects the service to be processed
  • the terminal device can obtain the relevant information of the service to be processed (such as the identifier of the service). Etc.), and can determine the business processing requirements of the to-be-processed business and so on based on the relevant information of the to-be-processed business.
  • the corresponding relationship between different services (or business requirements) and the electronic credential information identification can be preset in the terminal device.
  • the terminal device can find the electronic credential information identifier corresponding to the business to be processed from the above-mentioned corresponding relationship based on the business to be processed of the target user, and can determine the electronic credential information identified as the electronic credential of the target user required by the business to be processed Information, or, you can also input the relevant information of the target user's pending business into a predetermined model (such as a classification model, etc.) for analysis to output the corresponding result (ie, electronic certificate information identification), for example, the target user's pending transaction
  • a predetermined model such as a classification model, etc.
  • the target user's social security certificate information needs to be used for the service to be processed
  • step S104 the authorization certificate information of the electronic certificate information provided by the target user is obtained, and the authorization certificate information is used to grant the business processor of the service to be processed the right to obtain the electronic certificate information.
  • the authorization information can be presented in a variety of ways, for example, in the form of image codes (including barcodes or QR codes, etc.) or in the form of notification messages, etc., which can be set according to actual conditions.
  • image codes including barcodes or QR codes, etc.
  • notification messages etc.
  • the target user’s electronic certificate information includes the target user’s personal privacy data.
  • the acquisition can be set for different electronic certificate information. For example, when other users obtain the electronic certificate information of a certain user, they need to be authorized by the user, so as to ensure the security of the user's electronic certificate information being obtained or used.
  • the terminal device of the business processor After the terminal device of the business processor determines the electronic credential information of the target user required by the business to be processed, it can display the prompt information that the electronic credential information is needed to the business processor.
  • the business processor can explain to the target user that the electronic certificate information of the target user is needed, or the business processor can provide the aforementioned prompt information to the target user.
  • the target user can obtain the authorization certificate information of the electronic certificate information through its terminal device.
  • the target user's terminal device can pre-store the authorization certificate information of different electronic certificate information. At this time, the target user can download the authorization certificate information from the pre-stored electronic certificate information.
  • the authorization certificate information of the electronic certificate information can be obtained, and the obtained authorization certificate information can be provided to the business processor, or the terminal device of the target user can be installed with the generator The application program of the authorization certificate information of different electronic certificate information.
  • the target user can start the application program through his terminal device, and can generate the authorization certificate information of the electronic certificate information through the application program, and the target user can generate The authorized license information is provided to the business processor.
  • the terminal equipment of the service processor may include a mechanism or equipment for obtaining the authorization information of the target user.
  • the terminal equipment of the service processor may A scanning device including a graphic code, so that the service processor can scan the authorization certificate information of the target user through the scanning device of the graphic code, thereby obtaining the authorization certificate information of the target user.
  • the terminal device of the service processor can be provided with a processing mechanism for the notification message, so that the service processor can receive the authorization certificate information carrying the target user The notification message to obtain the authorization information of the target user.
  • step S106 the corresponding electronic certificate information is obtained from the predetermined certificate database according to the above-mentioned authorization certificate information.
  • the predetermined license database may include multiple electronic certificate information of different users, and the predetermined license database may also include multiple different electronic certificate information of the same user, and the data in the predetermined license database may be stored in the form of a table. , Can be as shown in Table 1.
  • the predetermined certificate database can also be specific to a certain type of electronic certificate information.
  • the predetermined certificate database only contains the ID information of multiple different users, etc., which can be set according to the actual situation. This is not limited.
  • the predetermined license database can be stored in the business processor, or in the storage device of an organization or institution other than the business processor.
  • the terminal device of the business processor After the terminal device of the business processor obtains the authorization certificate information of the target user, it can use the authorization certificate information to obtain the electronic certificate information corresponding to the authorization certificate information from the predetermined certificate database, for example, the target user's authorization certificate information
  • the terminal device For obtaining the identity document information 1 of the user A, the terminal device can obtain the identity document information 1 of the user A corresponding to the authorization certificate information from the corresponding relationship in Table 1 above.
  • step S108 the verification information of the above-mentioned electronic certificate information is obtained from the blockchain, and the obtained electronic certificate information is verified according to the verification information.
  • the verification information can be information used to verify the authenticity of the electronic credential information, and the verification information can be determined in many different ways.
  • the verification can be obtained by processing the electronic credential information through a specified algorithm.
  • the specified algorithm may be a specified encryption algorithm, hash algorithm, etc., which can be specifically set according to actual conditions, which is not limited in the embodiment of this specification.
  • the blockchain has been well applied in the direction of anti-tampering, anti-counterfeiting and traceability of online data. If the relevant behavioral data in the use, management and identification of electronic certificate information is added to the blockchain , Then the electronic certificate information will not be able to be changed and denied. Therefore, the relevant data of the electronic certificate information in the above process can be maintained through the blockchain, so that all parties can verify certain data based on the relevant data in the blockchain to ensure the accuracy of the electronic certificate information.
  • the organization or institution that plans to build the license database can build an electronic license storage industry platform based on the blockchain basic platform, and build a trust and credit system for electronic license application sharing.
  • the application sharing process, management process and audit records of electronic certificates need to generate corresponding deposit certificates, which can be stored in the electronic certificate deposit industry platform and then uploaded to the blockchain.
  • Blockchain can provide basic service support for the tamper-proof data of electronic certificates, cross-regional mutual recognition and sharing of electronic certificates and certificates, and the credible storage and traceability verification of certificate applications, and build a complete trust and credit system for electronic certificates and certificates.
  • the application specifications of electronic certificates can be set in the blockchain, and specifications such as management deposits, application deposits, shared deposits, on-chain services, verification services, etc. can be defined, which are the application and sharing services of electronic certificates and certificates, and are unified trust Mechanisms, application deposits on the chain, unified deposit specifications, data anti-tampering, and process traceability provide guarantees.
  • Application systems in various regions and fields can quickly verify the authenticity of electronic certificates and trace the entire process of electronic certificate generation, management, and application through a centralized blockchain network.
  • the blockchain can be a blockchain jointly established by license data managers and business processors (such as government service platforms, etc.), or it can be composed of license data managers' blockchains and business processors' blockchains, etc.
  • the built blockchain The verification information of the electronic certificate information of the target user may be stored in the blockchain.
  • the hash value of the electronic certificate information may be stored in the blockchain.
  • the terminal device of the business processor can obtain the verification information of the target user’s electronic credential information from the blockchain based on the relevant information of the target user, and then can calculate the verification information of the acquired electronic credential information, which can be based on the block chain
  • the verification information obtained in the chain and the verification information calculated above are verified. If the verification information obtained from the blockchain is the same as the verification information calculated above, the verification can be determined Pass, if the verification information obtained from the blockchain is not the same as the verification information calculated above, it can be determined that the verification has not passed.
  • step S110 if the verification is passed, the business to be processed is processed according to the above-mentioned electronic certificate information.
  • the terminal of the business processor can determine the true identity of the target user based on the acquired ID information, and then can modify one or more of the target user’s ID information based on the target user’s requirements, and can change the changed ID information Upload to the blockchain.
  • the foregoing is only a feasible business processing method. In practical applications, the specific method for performing business processing corresponding to the target business can be set according to the actual situation, which is not limited in the embodiment of this specification.
  • the embodiment of this specification provides a business processing method based on blockchain.
  • the business processing party obtains the corresponding electronic certificate information from the predetermined certificate database through the authorized certificate information of the electronic certificate information provided by the target user, so as to ensure the target user
  • the electronic certificate information of the target user can only be obtained after the authorization of the target user, to prevent the target user's electronic certificate information from being stolen, and after obtaining the electronic certificate information, the electronic certificate information is also obtained from the blockchain
  • the verification information of the obtained electronic certificate information is verified, and the corresponding business processing is performed only after the verification is passed, thereby ensuring the authenticity of the electronic certificate information and the integrity of the information used in the business processing.
  • the embodiment of this specification provides a blockchain-based business processing method.
  • the execution subject of the method may be a terminal device, where the terminal device may be a mobile phone, a tablet computer, a notebook computer, or a desktop computer, etc. Computer equipment.
  • the terminal device may be a terminal device of a user requesting to process one or more services.
  • the method may specifically include the following steps S202 to S204.
  • step S202 the authorization certificate information of the electronic certificate information required for the business to be processed is provided, so that the business processor obtains the electronic certificate information from the predetermined certificate database according to the authorization certificate information, and obtains the electronic certificate information from the blockchain.
  • the verification information of the electronic credential information and verify the acquired electronic credential information according to the verification information.
  • the business processing corresponding to the pending business is executed according to the electronic credential information, and the authorized credential information It is used to grant the business processor of the pending business the right to obtain the electronic certificate information.
  • the authorization certificate information can be presented in the form of image codes (including, for example, barcodes or two-dimensional codes, etc.) or in the form of notification messages.
  • the terminal device of the business processor determines the electronic credential information of the target user required for the business to be processed, it can display the prompt information that the electronic credential information is needed to the business processor.
  • the business processor may explain to the target user that the electronic certificate information of the target user is needed, or provide the above-mentioned prompt information to the target user.
  • the terminal device of the target user can be installed with an application program that generates the authorization certificate information of different electronic certificate information. At this time, the target user can start the application program through his terminal device, and can generate the electronic certificate information through the application program.
  • Authorization certificate information (such as barcode or two-dimensional code, etc.), the target user can provide the generated authorization certificate information to the business processor.
  • step S204 the relevant behavioral data that provides the above-mentioned authorization certificate information is uploaded to the blockchain.
  • the relevant behavioral data for providing the above-mentioned authorization information can include multiple types, such as the time and location information when the target user provides the authorization information, and the relevant information provided to the business processor (such as the name or the name of the business processor). Organization code, etc.) and related data of the business to be processed (such as the name or code of the business to be processed), etc.
  • it can also include the operation behavior data of the target user in the process of obtaining or generating the authorization certificate information, as well as the provision of authorization.
  • the above-mentioned related behavior data may also include other data besides the above-mentioned data, which can be specifically determined according to actual conditions, which is not limited in the embodiment of this specification.
  • the target user’s terminal device in order to retain the corresponding certificate or evidence for each user’s authorization, so as to verify the use and processing of the corresponding electronic certificate information, can record the process of providing the above authorization information Such as time, location information and relevant information provided to the business processor and relevant data of the business to be processed, operation behavior data in the process of obtaining or generating authorization information by target users, and goals in the process of providing authorization information
  • the user's operation behavior data, etc., and the recorded related behavior data can be sent to the blockchain node.
  • the relevant behavioral data in the above process can not only send the above information to the blockchain node, but also other related information can be sent to the blockchain node, which can be set according to the actual situation.
  • the embodiment of this specification There is no restriction on this.
  • the embodiment of this specification provides a business processing method based on blockchain.
  • the business processing party obtains the corresponding electronic certificate information from the predetermined certificate database through the authorized certificate information of the electronic certificate information provided by the target user, so as to ensure the target user
  • the electronic certificate information of the target user can only be obtained after the authorization of the target user, to prevent the target user's electronic certificate information from being stolen, and after obtaining the electronic certificate information, the electronic certificate information is also obtained from the blockchain
  • the verification information of the obtained electronic certificate information is verified, and the corresponding business processing is performed only after the verification is passed, thereby ensuring the authenticity of the electronic certificate information and the integrity of the information used in the business processing.
  • the target user also needs to upload the relevant behavioral data that provides the above-mentioned authorization certificate information to the blockchain, so as to record the authorization behavior of the target user, and prevent the uploaded data from being tampered through the blockchain to ensure the storage of the certificate data Credibility.
  • the embodiment of this specification provides a blockchain-based business processing method.
  • the execution subject of the method can be a blockchain node, where the blockchain node can be a computer such as a laptop or a desktop computer.
  • the device may also be a server.
  • the server may be an independent server or a server cluster composed of multiple servers.
  • the method may specifically include the following steps S302 to S306.
  • step S302 obtain the relevant behavioral data of the authorization certificate information of the electronic certificate information required by the target user to provide the service to be processed, and store it in the blockchain; where the authorization certificate information is used to process the service to be processed The party grants the right to obtain the electronic certificate information.
  • the target user after the target user provides the authorization information of the electronic certificate information required by the service to be processed, it can actively upload the authorization use of the target user to provide the electronic certificate information required by the service to be processed to the blockchain node through its terminal device.
  • the relevant behavior data of the certificate information the blockchain node can store the relevant behavior data corresponding to the relevant information of the target user’s electronic certificate information or the target user’s identification, so that the relevant behavior data is stored in the blockchain .
  • the blockchain node after detecting the authorization information of the electronic certificate information required by the target user to provide the service to be processed, the blockchain node requests the terminal device of the target user to upload the relevant behavior data to store the relevant behavior data in the block Chain.
  • step S304 obtain the relevant behavioral data in the electronic credential information used by the business processor and store it in the blockchain, where the related behavioral data in the electronic credential information is used in the process of business processing of the business to be processed Behavioral data related to the electronic certificate information.
  • the relevant behavioral data in the use of the above electronic credential information by the business processor can include multiple types, such as the time and location information of the above electronic credential information used by the business processor, and related information of the business processor (such as the name or name of the business processor). Institution code, etc.) and related data of the business to be processed (such as the name or code of the business to be processed, etc.).
  • the operational behavior data of the business processor in the process of using the above-mentioned electronic credential information.
  • the above-mentioned related behavior data may also include other data besides the above-mentioned data, which can be specifically determined according to actual conditions, which is not limited in the embodiment of this specification.
  • the terminal equipment of the business processor can record the behavioral data related to the electronic certificate information during the business processing of the business to be processed during the business processing of the business to be processed, and then it can associate the electronic certificate information with the The relevant behavior data is uploaded to the blockchain node, and the blockchain node can store the behavior data related to the electronic credential information and the related information of the electronic credential information of the target user or the identification of the target user correspondingly, so that the Related behavioral data is stored in the blockchain.
  • the blockchain node requests the terminal device of the business processor to upload the relevant behavior data, so as to store the relevant behavior data in the blockchain.
  • step S306 obtain the relevant behavioral data of the license data management party to change the above-mentioned electronic certificate information, and store it in the blockchain, where the relevant behavioral data of changing the electronic certificate information is detected in the predetermined certificate database. Produced when there is a change.
  • the relevant behavioral data of the license data management party to change the above-mentioned electronic certificate information may include multiple types, such as the time and location information of the license data management party to change the above-mentioned electronic certificate information, and related information about the business processor that initiated the request to change the above-mentioned electronic certificate information.
  • Information such as the name or organization code of the business processor, etc.
  • relevant data of the business to be processed such as the name or code of the business to be processed
  • it can also include the process of the license data manager changing the above electronic certificate information Operational behavior data of business processors and license data managers, etc.
  • the above-mentioned related behavior data may also include other data besides the above-mentioned data, which can be specifically determined according to actual conditions, which is not limited in the embodiment of this specification.
  • the license data manager after the license data manager changes the above electronic credential information, it can actively upload the related behavior data of the license data manager to the blockchain node to change the above electronic credential information, and the blockchain node can associate the related behavior data with the target.
  • the relevant information of the user's electronic certificate information or the target user's identification, etc. are correspondingly stored, so that the relevant behavior data is stored in the blockchain.
  • the blockchain node after detecting that the business processor uses the above electronic certificate information, the blockchain node requests the terminal device of the business processor to upload the relevant behavior data, so as to store the relevant behavior data in the blockchain.
  • steps S302 to S306 above is described in this embodiment in the order of before and after, but in actual applications, the processing of steps S302 to S306 above can be executed in any order, or can also be executed at the same time The embodiments of this specification will not be repeated here.
  • the embodiment of this specification provides a business processing method based on blockchain.
  • the business processing party obtains the corresponding electronic certificate information from the predetermined certificate database through the authorized certificate information of the electronic certificate information provided by the target user, so as to ensure the target user Only after obtaining the authorization of the target user, can the electronic certificate information of the target user be authorized to use the target user’s electronic certificate information to prevent the target user’s electronic certificate information from being embezzled.
  • the blockchain also provides the electronic certificate Information verification information to verify the acquired electronic credential information, and the business processing will only proceed with the corresponding business processing after the verification is passed, so as to ensure the authenticity and completeness of the electronic credential information used in the business processing Sex.
  • the blockchain node also needs to obtain the relevant behavioral data of the target user to provide the above-mentioned authorized certificate information, the relevant behavioral data of the business processor using the electronic certificate information, and the relevant behavioral data of the license data manager to change the electronic certificate information, etc.
  • the authorization behavior of the target user and the behavior data during the use of electronic credential information are recorded, and the recorded data is prevented from being tampered through the blockchain, and the credibility of the recorded data is guaranteed.
  • the embodiment of this specification provides a blockchain-based business processing method, which can be implemented by the terminal device of the business processor, the terminal device of the target user, and the blockchain node.
  • the terminal device may be a computer device such as a notebook computer or a desktop computer, or a server.
  • the server may be an independent server or a server cluster composed of multiple servers.
  • the terminal equipment of the business processing party can be the equipment of the party that processes one or more businesses based on the blockchain, such as government service platforms (which can include, for example, a network communication platform, power operation platform, government service website, etc.
  • Terminal equipment the terminal equipment can provide a variety of services, and can provide users with services corresponding to each service, such as education services, housing construction services, civil affairs services, qualification services, etc.
  • the blockchain node can be a computer device such as a laptop or a desktop computer, or a server.
  • the server can be an independent server or a server cluster composed of multiple servers. The method may specifically include the following steps S402 to S426.
  • step S402 the blockchain node obtains the electronic certificate information encrypted by the license data manager and stores it in the blockchain.
  • the electronic certificate information may include one or more of electronic identity certificate information, electronic agency guarantee certificate information, and electronic marriage certificate information.
  • the user's electronic certificate information can be uploaded to the blockchain.
  • the license data manager can change the user's electronic credential information
  • the license data manager can upload the encrypted electronic credential information to the blockchain.
  • there are many ways to encrypt the electronic credential information which can be implemented by setting a corresponding encryption algorithm.
  • the license data manager can encrypt the electronic credential information through a hash algorithm to obtain the electronic credential information.
  • the corresponding hash value can be uploaded to the blockchain node, and the blockchain node can store the hash value of the electronic certificate information in the blockchain.
  • the blockchain node can obtain the target provided by the license data manager
  • the verification information of the user's file data is stored in the blockchain.
  • the verification information may be information used to verify the authenticity of the file data, and the verification information may be determined in a variety of different ways.
  • the verification information can be obtained by processing the file data through a specified algorithm.
  • the specified algorithm may be a specified encryption algorithm, hash algorithm, etc., which can be specifically set according to actual conditions, which is not limited in the embodiment of this specification.
  • step S404 to step S426 After processing the user’s electronic credential information and related file data in the above manner and uploading to the blockchain through encryption, etc., the target user’s use of electronic credential information, the identification and management of electronic credential information, etc. can be recorded. For details, please refer to The processing from step S404 to step S426 is described below.
  • step S404 the terminal device of the service processor determines the electronic certificate information of the target user required for the service to be processed according to the service to be processed of the target user.
  • step S406 the terminal device of the target user provides the electronic credential information required by the service to be processed for authorized use of credential information, and the authorized credential information is used to grant the business processor of the to be processed business the right to obtain the electronic credential information.
  • the authorization certificate information may include the index information of the electronic certificate information in the predetermined license database, and the index information may indicate that the business processor has the authority to obtain the corresponding electronic certificate information, and facilitate the business processor to quickly obtain the corresponding electronic certificate information.
  • the authorization certificate information can be presented in a variety of ways, for example, in the form of an image code (including barcodes or two-dimensional codes, etc.), the image code can be based on the index information of the electronic certificate information in the predetermined license database.
  • the generation, etc. can be specifically set according to the actual situation, which is not limited in the embodiment of this specification.
  • step S408 the terminal device of the target user uploads the relevant behavioral data that provides the above-mentioned authorization certificate information to the blockchain.
  • step S408 can be implemented in a variety of ways in addition to the above processing methods.
  • An optional processing method is provided below, which specifically may include the following processing of step A2 to step A4.
  • step A2 the terminal device of the target user obtains the digital identity information of the target user.
  • digital identity information can refer to information that identifiably portrays users through digital information, that is, to condense real identity information into digital codes, so as to bind and query personal real-time behavior information of users. And verification.
  • Digital identity information can not only contain the user's birth information, individual description, biometrics and other identity coding information, but also involve multiple attributes of personal behavior information (such as transaction information or entertainment information, etc.).
  • Digital identity information can be displayed in a variety of ways, such as DID (Decentralized Identity) and so on.
  • corresponding digital identity information can be constructed for different users.
  • the terminal device of the target user obtains the relevant behavioral data that provides the above-mentioned authorization certificate information
  • the relevant information of the target user can be obtained from Obtain the digital identity information of the target user in the blockchain, such as the DID of the target user.
  • step A4 the terminal device of the target user uploads the relevant behavioral data providing the above-mentioned authorization certificate information to the digital identity information of the target user in the blockchain.
  • the target user’s terminal device obtains the target user’s digital identity information, it can upload the relevant behavioral data and the target user’s digital identity information that provide the above authorization certificate information to the blockchain, and the blockchain node receives it.
  • the relevant behavior data can be stored under the digital identity information of the target user.
  • digital identity information can be established for different users, but also digital identity information (such as DID, etc.) can be established for different electronic certificate information of different users.
  • digital identity information such as DID, etc.
  • the processing under the digital identity information of the target user may also be to store the relevant behavior data under the digital identity information of the target user and the digital identity information of the aforementioned electronic certificate information.
  • the digital identity information of the target user in addition to obtaining the digital identity information of the target user from the blockchain, it can also be obtained in a variety of ways. For example, it can also be obtained from a pre-set digital identity information issuing node. Not limited.
  • step S410 the terminal device of the business processor obtains the authorization information of the above-mentioned electronic certificate information provided by the target user.
  • step S412 the terminal device of the business processor obtains the above-mentioned electronic certificate information from the predetermined certificate database according to the above-mentioned authorization certificate information.
  • the business processor since the authorization information of the electronic certificate information provided by the target user includes the index information of the electronic certificate information in the predetermined certificate database, the business processor not only obtains the electronic certificate information granted by the target user You can also use the index information to quickly obtain the above-mentioned electronic certificate information from the predetermined certificate database.
  • step S414 the terminal device of the service processor obtains the digital identity information of the target user.
  • the blockchain can construct corresponding digital identity information for different users. Therefore, the terminal equipment of the business processor can also obtain the relevant information of the target user, and can use the obtained relevant information from the district Obtain the digital identity information of the target user in the block chain.
  • the digital identity information of the target user can also be obtained in a variety of ways. For example, it can also be obtained from a pre-set digital identity information issuing node, etc. The implementation of this manual The example does not limit this.
  • step S416 the terminal device of the service processor obtains the hash value of the electronic certificate information corresponding to the digital identity information of the target user from the blockchain.
  • the license data manager can encrypt the electronic certificate information of different users and upload it to the blockchain.
  • the electronic certificate information is encrypted to obtain the electronic certificate information.
  • the hash value of the certificate information is illustrated as an example, that is, the blockchain node can store the hash value of the received electronic certificate information and the digital identity information of the target user in the blockchain.
  • the terminal device of the business processor can obtain the hash value of the electronic credential information corresponding to the digital identity information of the target user from the blockchain through related information such as the digital identity information of the target user and the identification of the electronic credential information.
  • step S4108 the terminal device of the service processor compares the obtained hash value with the hash value corresponding to the obtained electronic certificate information.
  • step S420 if the obtained hash value is the same as the hash value corresponding to the obtained electronic certificate information, the verification is passed.
  • step S422 if the verification is passed, the terminal device of the service processor performs service processing on the service to be processed according to the above-mentioned electronic certificate information.
  • step S424 the blockchain node obtains the relevant behavioral data of the business processor using the above-mentioned electronic certificate information, and stores it in the blockchain, where the use of the relevant behavioral data in the electronic certificate information is for business processing of the business to be processed Use behavioral data related to the electronic certificate information in the process.
  • step S424 described above can be implemented in a variety of ways in addition to the above processing methods.
  • An optional processing method is provided below, which may specifically include the following content: in the business processing of the business to be processed, Based on the pre-deployed smart contract, the blockchain node triggers the license data management party to upload the business processor to use the relevant behavior data in the electronic credential information.
  • the processing rules of the license data manager in the business processing of the business to be processed can be preset, and the corresponding smart contract can be generated based on the processing rules, and the smart contract can be deployed in the blockchain.
  • the blockchain node determines that the business to be processed is currently being processed, the blockchain node can trigger the license data manager to upload the relevant behavioral data in the electronic certificate information by the business processor based on the above-mentioned smart contract.
  • the above-mentioned processing by the uploading service processor using the relevant behavioral data in the electronic certificate information is uploaded by the license data manager.
  • the service processor can also be triggered by the service processor to upload the service.
  • the processor uses the relevant behavioral data in the electronic certificate information to the blockchain.
  • step S426 the blockchain node obtains the relevant behavioral data of the license data manager to change the above-mentioned electronic certificate information, and stores it in the blockchain, where the relevant behavioral data for changing the electronic certificate information is detected in the predetermined license database. Generated when the information of the electronic certificate changes.
  • step S426 can be achieved in addition to the above processing methods, and can also be achieved in various ways.
  • the following provides an optional processing method, which may specifically include the following content: change the relevant behavioral data of the electronic certificate information It is generated when the electronic certificate information in the predetermined certificate database is changed based on the pre-deployed smart contract.
  • the processing rules for changing the electronic certificate information can be preset, and the corresponding smart contract can be generated based on the processing rules, and the smart contract can be deployed to the blockchain.
  • the blockchain node determines that the electronic certificate information in the predetermined license database has changed based on the above smart contract, the blockchain node can trigger the license data manager so that the license data manager uploads the relevant behavioral data that changes the above electronic certificate information .
  • the above-mentioned processing of uploading and changing the relevant behavioral data of the above-mentioned electronic certificate information is uploaded by the license data management party.
  • the business processor can also upload the relevant behavioral data of changing the above-mentioned electronic certificate information to the district Block chain.
  • the embodiment of this specification provides a business processing method based on blockchain.
  • the business processing party obtains the corresponding electronic certificate information from the predetermined certificate database through the authorized certificate information of the electronic certificate information provided by the target user, so as to ensure the target user
  • the electronic certificate information of the target user can only be obtained after the authorization of the target user, to prevent the target user's electronic certificate information from being stolen, and after obtaining the electronic certificate information, the electronic certificate information is also obtained from the blockchain
  • the verification information of the obtained electronic certificate information is verified, and the corresponding business processing is performed after the verification is passed, so as to ensure the authenticity of the electronic certificate information and the integrity of the information used in the business processing.
  • the blockchain node also needs to obtain the relevant behavioral data of the target user to provide the above-mentioned authorized certificate information, the relevant behavioral data of the business processor using the electronic certificate information, and the relevant behavioral data of the license data manager to change the electronic certificate information, etc.
  • the authorization behavior of the target user and the behavior data during the use of electronic certificate information are recorded, and the stored data is prevented from being tampered through the blockchain, and the credibility of the stored data is guaranteed.
  • the embodiment of this specification provides a blockchain-based business processing method, which can be implemented by the terminal device of the business processor, the terminal device of the target user, and the blockchain node.
  • the terminal device may be a computer device such as a notebook computer or a desktop computer, or a server.
  • the server may be an independent server or a server cluster composed of multiple servers.
  • the terminal equipment of the business processing party can be the equipment of the party that processes one or more businesses based on the blockchain, such as government service platforms (which can include, for example, a network communication platform, power operation platform, government service website, etc.
  • Terminal equipment the terminal equipment can provide a variety of services, and can provide users with services corresponding to each service, such as education services, housing construction services, civil affairs services, qualification services, etc.
  • the blockchain node can be a computer device such as a laptop or a desktop computer, or a server.
  • the server can be an independent server or a server cluster composed of multiple servers. The method may specifically include the following steps S502 to S528.
  • step S502 the blockchain node obtains the electronic certificate information encrypted by the license data manager and stores it in the blockchain.
  • the electronic certificate information may include one or more of electronic identity certificate information, electronic company guarantee certificate information, and electronic marriage certificate information.
  • the blockchain node can obtain the verification information of the target user's file data provided by the license data manager and store it in the blockchain.
  • step S504 the terminal device of the service processor determines the electronic certificate information of the target user required for the service to be processed according to the service to be processed of the target user.
  • step S506 the terminal device of the service processor sends a request for authorization of the electronic certificate information to the target user.
  • the terminal device of the business processor determines the electronic credential information of the target user required for the service to be processed, it can send a request for authorization of the electronic credential information to the target user’s terminal device to request the target user to process the business.
  • the party grants the right to obtain the electronic certificate information.
  • step S508 the terminal device of the target user sends an authorization response corresponding to the above-mentioned authorization request.
  • the authorization response includes the authorization certificate information of the electronic certificate information, and the authorization certificate information is used to process the business to be processed. The party grants the right to obtain the electronic certificate information.
  • the authorization certificate information may include the index information of the electronic certificate information in the predetermined certificate database.
  • the target user can obtain the authorization certificate information of the electronic certificate information through its terminal device.
  • the target user’s terminal device may pre-store different The authorization certificate information of the electronic certificate information.
  • the terminal device of the target user can obtain the authorization certificate information of the electronic certificate information from the authorization certificate information of different electronic certificate information stored in advance, and can be based on the obtained authorization Use the certificate information to generate the authorization response corresponding to the authorization use certificate request and send it to the business processor, or the target user’s terminal device can be installed with an application program that generates the authorization use certificate information of different electronic certificate information.
  • the target user The application can be started through its terminal device, and the authorization information of the electronic certificate information can be generated through the application.
  • the terminal device of the target user can further generate the authorization response corresponding to the authorization request based on the generated authorization information. , And send it to the business processor.
  • step S510 the terminal device of the target user uploads the relevant behavioral data that provides the above-mentioned authorization certificate information to the blockchain.
  • step S510 above can also be implemented in the following ways: the terminal device of the target user obtains the digital identity information of the target user; the terminal device of the target user uploads the relevant behavioral data that provides the above-mentioned authorization certificate information to the blockchain Under the digital identity information of the target user.
  • step S512 the terminal device of the service processor obtains the authorization information of the above-mentioned electronic certificate information provided by the target user.
  • step S514 the terminal device of the business processor obtains the above-mentioned electronic certificate information from the predetermined certificate database according to the above-mentioned authorized certificate information.
  • step S5166 the terminal device of the service processor obtains the digital identity information of the target user.
  • step S5128 the terminal device of the business processor obtains the hash value of the electronic certificate information corresponding to the digital identity information of the target user from the blockchain.
  • step S520 the terminal device of the service processor compares the obtained hash value with the hash value corresponding to the obtained electronic certificate information.
  • step S522 if the obtained hash value is the same as the hash value corresponding to the obtained electronic certificate information, the verification is passed.
  • step S524 if the verification is passed, the terminal device of the service processor performs service processing on the service to be processed according to the above-mentioned electronic certificate information.
  • step S526 the blockchain node obtains the relevant behavior data of the business processor using the above electronic certificate information, and stores it in the blockchain, where the use of the relevant behavior data in the electronic certificate information is for business processing of the business to be processed Use behavioral data related to the electronic certificate information in the process.
  • step S526 can also be implemented in the following manner: in the business processing of the business to be processed, the blockchain node triggers the license data management party to upload the business processing party to use the electronic certificate information based on the pre-deployed smart contract Related behavioral data.
  • step S528 the blockchain node obtains the relevant behavioral data of the license data management party to change the above-mentioned electronic certificate information, and stores it in the blockchain, where the relevant behavioral data for changing the electronic certificate information is detected in the predetermined license database. Generated when the information of the electronic certificate changes.
  • the related behavior data of changing the electronic certificate information may be generated when the electronic certificate information in the predetermined certificate database is changed based on a pre-deployed smart contract.
  • the embodiment of this specification provides a business processing method based on blockchain.
  • the business processing party obtains the corresponding electronic certificate information from the predetermined certificate database through the authorized certificate information of the electronic certificate information provided by the target user, so as to ensure the target user
  • the electronic certificate information of the target user can only be obtained after the authorization of the target user, to prevent the target user's electronic certificate information from being stolen, and after obtaining the electronic certificate information, the electronic certificate information is also obtained from the blockchain
  • the verification information of the obtained electronic certificate information is verified, and the corresponding business processing is performed after the verification is passed, so as to ensure the authenticity of the electronic certificate information and the integrity of the information used in the business processing.
  • the blockchain node also needs to obtain the relevant behavioral data of the target user providing the above-mentioned authorization certificate information, the relevant behavioral data of the business processor using the electronic certificate information, and the relevant behavioral data of the certificate data manager changing the electronic certificate information, etc.
  • the authorization behavior of the target user and the behavior data during the use of electronic credential information are recorded, and the recorded data is prevented from being tampered through the blockchain, and the credibility of the recorded data is guaranteed.
  • the embodiment of this specification also provides a blockchain-based business processing device, as shown in FIG. 6.
  • the blockchain-based business processing device includes: a credential determination module 601, an authorization acquisition module 602, a credential information acquisition module 603, a verification module 604, and a business processing module 605.
  • the credential determination module 601 is based on the target user’s pending processing Business, determine the electronic certificate information of the target user required by the service to be processed; authorization acquisition module 602, acquire the authorization certificate information of the electronic certificate information provided by the target user, and the authorization certificate information is used To grant the authority to obtain the electronic certificate information for the business processor of the pending business; the certificate information acquisition module 603 obtains the electronic certificate information from a predetermined certificate database according to the authorization certificate information; verification module 604. Obtain the verification information of the electronic certificate information from the blockchain, and verify the acquired electronic certificate information according to the verification information; the business processing module 605, if the verification is passed, then according to the The electronic certificate information performs business processing on the to-be-processed business.
  • the authorization acquisition module 602 includes: an authorization request unit, which sends an authorization request for the electronic certificate information to the target user; an authorization acquisition unit, which receives the authorization sent by the target user An authorization response corresponding to the certificate request, where the authorization response includes the authorization certificate information of the electronic certificate information.
  • the verification module 604 includes: a digital identity acquisition unit, which acquires the digital identity information of the target user; a hash value acquisition unit, which acquires the target user’s number from the blockchain The hash value of the electronic credential information corresponding to the identity information; a comparing unit, which compares the obtained hash value with the hash value corresponding to the obtained electronic credential information; the verification unit, if it is obtained If the hash value is the same as the hash value corresponding to the acquired electronic certificate information, the verification is passed.
  • the device further includes: a data recording module, which records behavioral data related to the electronic certificate information in the process of business processing of the service to be processed; a data upload module, which communicates with the electronic certificate Information-related behavior data is uploaded to the blockchain.
  • the electronic certificate information includes one or more of electronic identity certificate information, electronic company guarantee certificate information, and electronic marriage certificate information.
  • the authorization certificate information includes index information of the electronic certificate information in a predetermined certificate database.
  • the embodiment of this specification provides a business processing device based on blockchain.
  • the business processing party obtains the corresponding electronic certificate information from the predetermined certificate database through the authorized certificate information of the electronic certificate information provided by the target user, so as to ensure the target user
  • the electronic certificate information of the target user can only be obtained after the authorization of the target user, to prevent the target user's electronic certificate information from being stolen, and after obtaining the electronic certificate information, the electronic certificate information is also obtained from the blockchain
  • the verification information of the obtained electronic certificate information is verified, and the corresponding business processing is performed only after the verification is passed, thereby ensuring the authenticity of the electronic certificate information and the integrity of the information used in the business processing.
  • the embodiment of this specification also provides a block chain-based business processing device, as shown in FIG. 7.
  • the blockchain-based service processing device includes: an authorization providing module 701 and a data uploading module 702.
  • the authorization providing module 701 provides the authorization information of the electronic credential information required for the business to be processed, so that the business processor can follow
  • the authorization certificate information obtains the electronic certificate information from a predetermined certificate database, obtains the verification information of the electronic certificate information from the blockchain, and performs the verification on the acquired electronic certificate information according to the verification information. Verification, when the verification is passed, execute the business processing corresponding to the business to be processed according to the electronic credential information, and the authorized credential information is used to grant the business processor the right to obtain the electronic credential information;
  • the data upload module 702 uploads the relevant behavioral data that provides the authorization certificate information to the blockchain.
  • the data upload module 702 includes: a digital identity acquisition unit, which acquires the digital identity information of the target user; a data upload unit, which uploads the relevant behavioral data that provides the authorization certificate information to the Under the digital identity information of the target user mentioned in the blockchain.
  • the authorization providing module 701 includes: an authorization request receiving unit, which receives an authorization request for electronic certificate information required by the business to be processed; an authorization response unit, which sends the authorization corresponding to the authorization request In response, the authorization response includes the authorization certificate information of the electronic certificate information.
  • the embodiment of this specification provides a business processing device based on blockchain.
  • the business processing party obtains the corresponding electronic certificate information from the predetermined certificate database through the authorized certificate information of the electronic certificate information provided by the target user, so as to ensure the target user
  • the electronic certificate information of the target user can only be obtained after the authorization of the target user, to prevent the target user's electronic certificate information from being stolen, and after obtaining the electronic certificate information, the electronic certificate information is also obtained from the blockchain
  • the verification information of the obtained electronic certificate information is verified, and the corresponding business processing is performed only after the verification is passed, thereby ensuring the authenticity of the electronic certificate information and the integrity of the information used in the business processing.
  • the target user also needs to upload the relevant behavioral data that provides the above-mentioned authorization certificate information to the blockchain, so as to record the authorization behavior of the target user, and prevent the uploaded data from being tampered through the blockchain to ensure the storage of the certificate data Credibility.
  • the embodiment of this specification also provides a block chain-based business processing device, as shown in FIG. 8.
  • the blockchain-based business processing device includes: a first data acquisition module 801, a second data acquisition module 802, and a third data acquisition module 803. Among them: the first data acquisition module 801 acquires the target user's needs to provide services to be processed The relevant behavioral data of the electronic credential information authorized to use the credential information is stored in the blockchain; wherein the authorized credential information is used to grant the business processor of the pending business the right to obtain the electronic credential information; 2.
  • the data acquisition module 802 which acquires the relevant behavioral data in the electronic credential information used by the business processor, and stores it in the blockchain, wherein the related behavioral data in the electronic credential information is used for the processing of the The behavioral data related to the electronic credential information is used in the process of business processing; the third data acquisition module 803 obtains the related behavioral data of the license data management party to change the electronic credential information, and stores it in the blockchain, where: The related behavioral data of changing the electronic certificate information is generated when it is detected that the electronic certificate information in the predetermined certificate database has changed.
  • the device further includes: a fourth data acquisition module, which acquires the electronic certificate information encrypted by the license data manager and stores it in the blockchain; and/or, the fifth data acquisition The module obtains the verification information of the target user's file data provided by the license data management party, and stores it in the blockchain.
  • the second data acquisition module 802 triggers the license data management party to upload the business processing party to use the business processing party based on a pre-deployed smart contract in the business processing of the business to be processed Relevant behavioral data in the electronic certificate information.
  • the relevant behavioral data for changing the electronic certificate information is generated when the electronic certificate information in the predetermined certificate database is changed based on a pre-deployed smart contract.
  • the embodiment of this specification provides a business processing device based on blockchain.
  • the business processing party obtains the corresponding electronic certificate information from the predetermined certificate database through the authorized certificate information of the electronic certificate information provided by the target user, so as to ensure the target user Only after obtaining the authorization of the target user, can the electronic certificate information of the target user be authorized to use the target user’s electronic certificate information to prevent the target user’s electronic certificate information from being embezzled.
  • the blockchain also provides the electronic certificate Information verification information to verify the acquired electronic credential information, and the business processing will only proceed with the corresponding business processing after the verification is passed, so as to ensure the authenticity and completeness of the electronic credential information used in the business processing Sex.
  • the blockchain node also needs to obtain the relevant behavioral data of the target user to provide the above-mentioned authorized certificate information, the relevant behavioral data of the business processor using the electronic certificate information, and the relevant behavioral data of the license data manager to change the electronic certificate information, etc.
  • the authorization behavior of the target user and the behavior data during the use of electronic certificate information are recorded, and the stored data is prevented from being tampered through the blockchain, and the credibility of the stored data is guaranteed.
  • the embodiment of this specification also provides a blockchain-based business processing device, as shown in FIG. 9.
  • the blockchain-based business processing device may be the terminal device of the business processor provided in the above embodiment, and the terminal device of the business processor may be the device of the party that processes one or more services based on the blockchain Etc., such as the terminal equipment of government service platform (which can include such as a network communication platform, power operation platform, government service website, etc.), which can provide a variety of services, and can handle services corresponding to each service for users, such as Educational services, housing construction services, civil affairs services, qualification services, etc.
  • government service platform which can include such as a network communication platform, power operation platform, government service website, etc.
  • Blockchain-based business processing equipment may have relatively large differences due to different configurations or performances, and may include one or more processors 901 and memory 902.
  • the memory 902 may store one or more storage applications or data . Among them, the memory 902 may be short-term storage or persistent storage.
  • the application program stored in the memory 902 may include one or more modules (not shown in the figure), and each module may include a series of computer-executable instructions for a blockchain-based business processing device.
  • the processor 901 may be configured to communicate with the memory 902, and execute a series of computer-executable instructions in the memory 902 on a blockchain-based business processing device.
  • the blockchain-based business processing equipment may also include one or more power supplies 903, one or more wired or wireless network interfaces 904, one or more input and output interfaces 905, and one or more keyboards 906.
  • the blockchain-based business processing equipment includes a memory and one or more programs.
  • One or more programs are stored in the memory, and one or more programs may include one or more programs.
  • Modules, and each module may include a series of computer-executable instructions for a blockchain-based business processing device, and is configured to be executed by one or more processors.
  • the one or more programs include a computer for performing the following Executable instructions: determine the electronic credential information of the target user required for the business to be processed according to the business to be processed of the target user; obtain the authorization certificate information of the electronic credential information provided by the target user, the The authorization certificate information is used to grant the business processor of the pending business the right to obtain the electronic certificate information; according to the authorization certificate information, the electronic certificate information is obtained from a predetermined certificate database; from the blockchain The verification information of the electronic certificate information is obtained in the, and the obtained electronic certificate information is verified according to the verification information; if the verification is passed, the pending business is performed according to the electronic certificate information Business processing.
  • the obtaining the authorization certificate information of the electronic certificate information provided by the target user includes: sending the authorization certificate request of the electronic certificate information to the target user; receiving the target user
  • the sent authorization response corresponding to the authorization use certificate request includes the authorization use certificate information of the electronic certificate information.
  • acquiring the verification information of the electronic certificate information from the blockchain and verifying the acquired electronic certificate information according to the verification information includes: acquiring the target user ⁇ digital identity information; obtain the hash value of the electronic certificate information corresponding to the digital identity information of the target user from the blockchain;
  • the obtained hash value is compared with the hash value corresponding to the obtained electronic certificate information; if the obtained hash value is the same as the hash value corresponding to the obtained electronic certificate information, check Passed the test.
  • it further includes: recording the behavioral data related to the electronic credential information in the process of business processing of the to-be-processed business; uploading the behavioral data related to the electronic credential information to the block chain.
  • the electronic certificate information includes one or more of electronic identity certificate information, electronic company guarantee certificate information, and electronic marriage certificate information.
  • the authorization certificate information includes index information of the electronic certificate information in a predetermined certificate database.
  • block chain-based service processing device may also be the terminal device of the target user provided in the foregoing embodiment.
  • the blockchain-based business processing equipment includes a memory and one or more programs.
  • One or more programs are stored in the memory, and one or more programs may include one or more programs.
  • Modules, and each module may include a series of computer-executable instructions for a blockchain-based business processing device, and is configured to be executed by one or more processors.
  • the one or more programs include a computer for performing the following Executable instructions: provide the authorization certificate information of the electronic certificate information required for the business to be processed, so that the business processor can obtain the electronic certificate information from the predetermined certificate database according to the authorization certificate information, and obtain it from the blockchain
  • the verification information of the electronic credential information and verify the acquired electronic credential information according to the verification information, and when the verification is passed, execute the business corresponding to the to-be-processed business based on the electronic credential information
  • the authorization certificate information is used to grant the business processor of the service to be processed the right to obtain the electronic certificate information; upload the relevant behavioral data that provides the authorization certificate information to the blockchain.
  • uploading relevant behavioral data of providing the authorization certificate information to the blockchain includes: obtaining the digital identity information of the target user; and providing relevant information about the authorization certificate information The behavior data is uploaded to the digital identity information of the target user in the blockchain.
  • the authorization certificate information that provides the electronic certificate information required by the service to be processed includes: receiving the authorization certificate request for the electronic certificate information required by the service to be processed; sending the corresponding authorization certificate request
  • the authorization response includes the authorization certificate information of the electronic certificate information.
  • the embodiment of this specification provides a business processing device based on blockchain.
  • the business processing party obtains the corresponding electronic certificate information from the predetermined certificate database through the authorized certificate information of the electronic certificate information provided by the target user, so as to ensure the target user
  • the electronic certificate information of the target user can only be obtained after the authorization of the target user, to prevent the target user's electronic certificate information from being stolen, and after obtaining the electronic certificate information, the electronic certificate information is also obtained from the blockchain
  • the verification information of the obtained electronic certificate information is verified, and the corresponding business processing is performed only after the verification is passed, thereby ensuring the authenticity of the electronic certificate information and the integrity of the information used in the business processing.
  • the target user also needs to upload the relevant behavioral data that provides the above-mentioned authorization certificate information to the blockchain, so as to record the authorization behavior of the target user, and prevent the uploaded data from being tampered through the blockchain to ensure the storage of the certificate data Credibility.
  • the embodiment of this specification also provides a blockchain-based business processing device, as shown in FIG. 10.
  • the block chain-based business processing device may be the block chain node provided in the foregoing embodiment.
  • Blockchain-based business processing equipment may have relatively large differences due to different configurations or performances, and may include one or more processors 1001 and memory 1002, and the memory 1002 may store one or more storage applications or data .
  • the memory 1002 may be short-term storage or persistent storage.
  • the application program stored in the memory 1002 may include one or more modules (not shown in the figure), and each module may include a series of computer-executable instructions for the blockchain-based business processing equipment.
  • the processor 1001 may be configured to communicate with the memory 1002, and execute a series of computer-executable instructions in the memory 1002 on a business processing device based on the blockchain.
  • the blockchain-based business processing equipment may also include one or more power supplies 1003, one or more wired or wireless network interfaces 1004, one or more input and output interfaces 1005, and one or more keyboards 1006.
  • the blockchain-based business processing equipment includes a memory and one or more programs.
  • One or more programs are stored in the memory, and one or more programs may include one or more programs.
  • Modules, and each module may include a series of computer-executable instructions for a blockchain-based business processing device, and is configured to be executed by one or more processors.
  • the one or more programs include a computer for performing the following Executable instructions: Obtain the relevant behavioral data of the authorization certificate information of the electronic certificate information required by the target user to provide the service to be processed, and store it in the blockchain; wherein the authorization certificate information is used for the service of the service to be processed
  • the processing party grants the authority to obtain the electronic certificate information; obtains the relevant behavior data in the use of the electronic certificate information by the business processor, and stores it in the blockchain, where the relevant behavior in the use of the electronic certificate information
  • the data is the behavioral data related to the electronic certificate information used in the business processing of the pending business; the behavioral data related to the change of the electronic certificate information by the license data manager is obtained and stored in the blockchain, where ,
  • the behavior data related to changing the electronic certificate information is generated when the electronic certificate information in the predetermined certificate database is changed.
  • it further includes: obtaining the electronic certificate information encrypted by the license data manager and storing it in the blockchain; and/or, obtaining the target user provided by the license data manager
  • the verification information of the file data is stored in the blockchain.
  • the obtaining the relevant behavioral data in the electronic certificate information used by the service processor includes: in the service processing of the service to be processed, triggering the certificate data based on a pre-deployed smart contract
  • the management party uploads the relevant behavioral data in the use of the electronic certificate information by the business processor.
  • the relevant behavioral data for changing the electronic certificate information is generated when the electronic certificate information in the predetermined certificate database is changed based on a pre-deployed smart contract.
  • the embodiment of this specification provides a business processing device based on blockchain.
  • the business processing party obtains the corresponding electronic certificate information from the predetermined certificate database through the authorized certificate information of the electronic certificate information provided by the target user, so as to ensure the target user Only after obtaining the authorization of the target user, can the electronic certificate information of the target user be authorized to use the target user’s electronic certificate information to prevent the target user’s electronic certificate information from being embezzled.
  • the blockchain also provides the electronic certificate Information verification information to verify the acquired electronic credential information, and the business processing will only proceed with the corresponding business processing after the verification is passed, so as to ensure the authenticity and completeness of the electronic credential information used in the business processing Sex.
  • the blockchain node also needs to obtain the relevant behavioral data of the target user to provide the above-mentioned authorized certificate information, the relevant behavioral data of the business processor using the electronic certificate information, and the relevant behavioral data of the license data manager to change the electronic certificate information, etc.
  • the authorization behavior of the target user and the behavior data during the use of electronic certificate information are recorded, and the stored data is prevented from being tampered through the blockchain, and the credibility of the stored data is guaranteed.
  • the improvement of a technology can be clearly distinguished between hardware improvements (for example, improvements in circuit structures such as diodes, transistors, switches, etc.) or software improvements (improvements in method flow).
  • hardware improvements for example, improvements in circuit structures such as diodes, transistors, switches, etc.
  • software improvements improvements in method flow.
  • the improvement of many methods and processes of today can be regarded as a direct improvement of the hardware circuit structure.
  • Designers almost always get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be realized by the hardware entity module.
  • a programmable logic device Programmable Logic Device, PLD
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • HDL Hardware Description Language
  • ABEL Advanced Boolean Expression Language
  • AHDL Altera Hardware Description Language
  • HDCal JHDL
  • Lava Lava
  • Lola MyHDL
  • PALASM RHDL
  • VHDL Very-High-Speed Integrated Circuit Hardware Description Language
  • Verilog Verilog
  • the controller can be implemented in any suitable manner.
  • the controller can take the form of, for example, a microprocessor or a processor and a computer-readable medium storing computer-readable program codes (such as software or firmware) executable by the (micro)processor. , Logic gates, switches, application specific integrated circuits (ASICs), programmable logic controllers and embedded microcontrollers. Examples of controllers include but are not limited to the following microcontrollers: ARC625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicon Labs C8051F320, the memory controller can also be implemented as part of the memory control logic.
  • controller in addition to implementing the controller in a purely computer-readable program code manner, it is entirely possible to program the method steps to make the controller use logic gates, switches, application specific integrated circuits, programmable logic controllers and embedded
  • the same function can be realized in the form of a microcontroller, etc. Therefore, such a controller can be regarded as a hardware component, and the devices included in it for realizing various functions can also be regarded as a structure within the hardware component. Or even, the device for realizing various functions can be regarded as both a software module for realizing the method and a structure within a hardware component.
  • a typical implementation device is a computer.
  • the computer can be, for example, a personal computer, a laptop computer, a cell phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or Any combination of these devices.
  • embodiments of this specification can be provided as a method, a system, or a computer program product. Therefore, one or more embodiments of this specification may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, one or more embodiments of this specification may adopt computer programs implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. The form of the product.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable blockchain-based business processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory generate instructions that include the instruction device.
  • the instruction device realizes the functions specified in one or more processes in the flowchart and/or one or more blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable blockchain-based business processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so that the computer or other programmable
  • the instructions executed on the programming device provide steps for implementing functions specified in one or more processes in the flowchart and/or one block or more in the block diagram.
  • the computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-permanent memory in computer readable media, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer readable media.
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash memory
  • Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology.
  • the information can be computer-readable instructions, data structures, program modules, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
  • one or more embodiments of this specification can be provided as a method, a system or a computer program product. Therefore, one or more embodiments of this specification may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, one or more embodiments of this specification may adopt computer programs implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. The form of the product.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • One or more embodiments of this specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules.
  • program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types.
  • One or more embodiments of this specification can also be practiced in distributed computing environments. In these distributed computing environments, tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

Landscapes

  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Engineering & Computer Science (AREA)
  • Tourism & Hospitality (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Theoretical Computer Science (AREA)
  • Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Data Mining & Analysis (AREA)
  • Operations Research (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A blockchain-based service processing method, apparatus and device. The method comprises: determining, according to a service to be processed of a target user, electronic certificate information of the target user required by said service (S102); acquiring authorized certificate use information of the electronic certificate information provided by the target user, the authorized certificate use information being used for granting acquisition authority of the electronic certificate information to a service processing party of said service (S104); acquiring the electronic certificate information from a predetermined certificate database according to the authorized certificate use information (S106); acquiring verification information of the electronic certificate information from the blockchain, and verifying the acquired electronic certificate information according to the verification information (S108); and if verification is passed, performing service processing on said service according to the electronic certificate information (S110).

Description

一种基于区块链的业务处理方法、装置及设备A business processing method, device and equipment based on blockchain 技术领域Technical field
本说明书涉及计算机技术领域,尤其涉及一种基于区块链的业务处理方法、装置及设备。This specification relates to the field of computer technology, in particular to a blockchain-based business processing method, device and equipment.
背景技术Background technique
随着互联网、移动互联网的发展,以计算机、网络、通讯为主的信息技术,正在深刻地影响着社会生活和政务运作的方式。为创新政务工作模式,提高行政效率和服务水平,政务机构正在普遍推行电子证照和全流程电子化登记管理改革,推进公众在线应用电子证照办理行政审批业务,推进各级政务机构开展全流程电子化、网络化应用等。With the development of the Internet and mobile Internet, information technology based on computers, networks, and communications is profoundly affecting social life and the way government affairs operate. In order to innovate government work models and improve administrative efficiency and service levels, government agencies are generally implementing electronic certificates and full-process electronic registration management reforms, promoting the online application of electronic certificates to the public for administrative approval services, and promoting government agencies at all levels to carry out full-process digitalization , Networked applications, etc.
电子证照数据可以存储于业务应用系统中,由于在计算机内部和网络传输过程中,各类数据均由基本的数据单元组成且容易被篡改和伪造,而当前的各种鉴别手段不能完全有效的识别数据电文的真实性和完整性。因此,需要采取相应的措施确保电子证照业务应用系统中证照数据使用的合法性和内容的完整性,为此,需要提供一种能够确保电子证照业务应用系统中证照数据使用的合法性和内容的完整性的技术方案。Electronic certificate data can be stored in the business application system. Because all kinds of data are composed of basic data units in the computer and network transmission process and are easily tampered with and forged, the current various authentication methods cannot fully identify effectively. The authenticity and integrity of data messages. Therefore, it is necessary to take corresponding measures to ensure the legality and content integrity of the license data used in the electronic license business application system. For this reason, it is necessary to provide a method that can ensure the legality and content of the license data use in the electronic license business application system. Complete technical solution.
发明内容Summary of the invention
本说明书实施例的目的是提供一种基于区块链的业务处理方法、装置及设备,以提供一种能够确保电子证照业务应用系统中证照数据使用的合法性和内容的完整性的技术方案。The purpose of the embodiments of this specification is to provide a blockchain-based business processing method, device and equipment to provide a technical solution that can ensure the legality of the use of license data and the integrity of the content in the electronic license business application system.
为了实现上述技术方案,本说明书实施例是这样实现的。In order to implement the above technical solutions, the embodiments of this specification are implemented in this way.
本说明书实施例提供的一种基于区块链的业务处理方法,所述方法包括:根据目标用户的待处理业务,确定所述待处理业务所需的所述目标用户的电子证件信息。获取所述目标用户提供的所述电子证件信息的授权用证信息,所述授权用证信息用于为所述待处理业务的业务处理方授予所述电子证件信息的获取权限。根据所述授权用证信息,从预定证照数据库中获取所述电子证件信息。从区块链中获取所述电子证件信息的校验信息,并根据所述校验信息对获取的所述电子证件信息进行校验。如果校验通过,则根据所述电子证件信息对所述待处理业务进行业务处理。The embodiment of this specification provides a blockchain-based service processing method, the method includes: determining the target user's electronic credential information required for the service to be processed according to the service to be processed of the target user. Obtain the authorization certificate information of the electronic certificate information provided by the target user, where the authorization certificate information is used to grant the business processor of the service to be processed the right to obtain the electronic certificate information. According to the authorization certificate information, the electronic certificate information is obtained from a predetermined certificate database. The verification information of the electronic certificate information is acquired from the blockchain, and the acquired electronic certificate information is verified according to the verification information. If the verification is passed, business processing is performed on the to-be-processed business according to the electronic certificate information.
本说明书实施例提供的一种基于区块链的业务处理方法,所述方法包括:提供待处理业务所需的电子证件信息的授权用证信息,以使业务处理方根据所述授权用证信息从预定证 照数据库中获取所述电子证件信息,从区块链中获取所述电子证件信息的校验信息,并根据所述校验信息对获取的所述电子证件信息进行校验,在校验通过时,根据所述电子证件信息执行所述待处理业务对应的业务处理,所述授权用证信息用于为所述业务处理方授予所述电子证件信息的获取权限。将提供所述授权用证信息的相关行为数据上传至所述区块链。The embodiment of this specification provides a blockchain-based business processing method. The method includes: providing the electronic credential information required by the business to be processed for authorized use of certificate information, so that the business processor can use the authorized use of certificate information according to the Obtain the electronic certificate information from a predetermined certificate database, obtain the verification information of the electronic certificate information from the blockchain, and verify the acquired electronic certificate information according to the verification information. When passing, execute business processing corresponding to the business to be processed according to the electronic credential information, and the authorized credential information is used to grant the business processor the right to obtain the electronic credential information. Upload the relevant behavioral data that provides the authorization certificate information to the blockchain.
本说明书实施例提供的一种基于区块链的业务处理方法,应用于区块链节点,所述方法包括:获取目标用户提供待处理业务所需的电子证件信息的授权用证信息的相关行为数据,存储于区块链;其中所述授权用证信息用于为所述待处理业务的业务处理方授予所述电子证件信息的获取权限。获取所述业务处理方使用所述电子证件信息中的相关行为数据,存储于区块链,其中,所述使用所述电子证件信息中的相关行为数据是在对所述待处理业务进行业务处理的过程中使用与所述电子证件信息相关的行为数据。获取证照数据管理方变更所述电子证件信息的相关行为数据,存储于区块链,其中,变更所述电子证件信息的相关行为数据是在检测到所述预定证照数据库中的所述电子证件信息发生变化时产生。The embodiment of this specification provides a blockchain-based business processing method, which is applied to a blockchain node, and the method includes: obtaining the relevant behavior of the authorization information of the electronic certificate information required by the target user to provide the business to be processed The data is stored in the blockchain; wherein the authorization certificate information is used to grant the business processor of the service to be processed the right to obtain the electronic certificate information. Obtain the relevant behavioral data in the use of the electronic certificate information by the business processor and store it in the blockchain, where the use of the relevant behavioral data in the electronic certificate information is for business processing of the pending business The behavior data related to the electronic certificate information is used in the process. Obtain the relevant behavioral data of the license data management party to change the electronic certificate information, and store it in the blockchain, where the relevant behavioral data for changing the electronic certificate information is detected when the electronic certificate information in the predetermined license database is detected Produced when there is a change.
本说明书实施例提供的一种基于区块链的业务处理装置,所述装置包括:证件确定模块,根据目标用户的待处理业务,确定所述待处理业务所需的所述目标用户的电子证件信息。授权获取模块,获取所述目标用户提供的所述电子证件信息的授权用证信息,所述授权用证信息用于为所述待处理业务的业务处理方授予所述电子证件信息的获取权限。证件信息获取模块,根据所述授权用证信息,从预定证照数据库中获取所述电子证件信息。校验模块,从区块链中获取所述电子证件信息的校验信息,并根据所述校验信息对获取的所述电子证件信息进行校验。业务处理模块,如果校验通过,则根据所述电子证件信息对所述待处理业务进行业务处理。The embodiment of this specification provides a blockchain-based business processing device, the device includes: a credential determination module, which determines the electronic credential of the target user required for the business to be processed according to the business to be processed of the target user information. The authorization obtaining module obtains the authorization certificate information of the electronic certificate information provided by the target user, and the authorization certificate information is used to grant the business processor of the service to be processed the right to obtain the electronic certificate information. The credential information acquiring module acquires the electronic credential information from a predetermined credential database according to the authorized credential information. The verification module obtains the verification information of the electronic credential information from the blockchain, and verifies the acquired electronic credential information according to the verification information. The business processing module, if the verification is passed, performs business processing on the to-be-processed business according to the electronic certificate information.
本说明书实施例提供的一种基于区块链的业务处理装置,所述装置包括:授权提供模块,提供待处理业务所需的电子证件信息的授权用证信息,以使业务处理方根据所述授权用证信息从预定证照数据库中获取所述电子证件信息,从区块链中获取所述电子证件信息的校验信息,并根据所述校验信息对获取的所述电子证件信息进行校验,在校验通过时,根据所述电子证件信息执行所述待处理业务对应的业务处理,所述授权用证信息用于为所述业务处理方授予所述电子证件信息的获取权限。数据上传模块,将提供所述授权用证信息的相关行为数据上传至所述区块链。The embodiment of this specification provides a blockchain-based business processing device, the device includes: an authorization providing module, which provides the authorization information of the electronic certificate information required by the business to be processed, so that the business processor can follow the said The authorization certificate information obtains the electronic certificate information from a predetermined license database, obtains the verification information of the electronic certificate information from the blockchain, and verifies the acquired electronic certificate information according to the verification information When the verification is passed, the business processing corresponding to the business to be processed is executed according to the electronic credential information, and the authorized credential information is used to grant the business processing party the right to obtain the electronic credential information. The data upload module uploads the relevant behavioral data that provides the authorization certificate information to the blockchain.
本说明书实施例提供的一种基于区块链的业务处理装置,所述装置包括:第一数据获取 模块,获取目标用户提供待处理业务所需的电子证件信息的授权用证信息的相关行为数据,存储于区块链;其中所述授权用证信息用于为所述待处理业务的业务处理方授予所述电子证件信息的获取权限。第二数据获取模块,获取所述业务处理方使用所述电子证件信息中的相关行为数据,存储于区块链,其中,所述使用所述电子证件信息中的相关行为数据是在对所述待处理业务进行业务处理的过程中使用与所述电子证件信息相关的行为数据。第三数据获取模块,获取证照数据管理方变更所述电子证件信息的相关行为数据,存储于区块链,其中,变更所述电子证件信息的相关行为数据是在检测到所述预定证照数据库中的所述电子证件信息发生变化时产生。The embodiment of this specification provides a blockchain-based business processing device, the device includes: a first data acquisition module that acquires behavioral data related to the authorization information of the electronic certificate information required by the target user to provide the business to be processed , Stored in the blockchain; wherein the authorization certificate information is used to grant the business processor of the service to be processed the right to obtain the electronic certificate information. The second data acquisition module acquires the relevant behavioral data in the electronic certificate information used by the business processor, and stores it in the blockchain, wherein the relevant behavioral data in the electronic certificate information is used for the The behavior data related to the electronic certificate information is used in the process of business processing of the business to be processed. The third data acquisition module acquires the relevant behavioral data of the license data management party for changing the electronic certificate information, and stores it in the blockchain, where the relevant behavioral data for changing the electronic certificate information is detected in the predetermined license database When the said electronic certificate information changes.
本说明书实施例提供的一种基于区块链的业务处理设备,所述基于区块链的业务处理设备包括:处理器;以及被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:根据目标用户的待处理业务,确定所述待处理业务所需的所述目标用户的电子证件信息。获取所述目标用户提供的所述电子证件信息的授权用证信息,所述授权用证信息用于为所述待处理业务的业务处理方授予所述电子证件信息的获取权限。根据所述授权用证信息,从预定证照数据库中获取所述电子证件信息。从区块链中获取所述电子证件信息的校验信息,并根据所述校验信息对获取的所述电子证件信息进行校验。如果校验通过,则根据所述电子证件信息对所述待处理业务进行业务处理。The embodiment of this specification provides a blockchain-based business processing device, the blockchain-based business processing device includes: a processor; and a memory arranged to store computer-executable instructions, the executable instructions being When executed, the processor is caused to determine the electronic credential information of the target user required by the service to be processed according to the service to be processed of the target user. Obtain the authorization certificate information of the electronic certificate information provided by the target user, where the authorization certificate information is used to grant the business processor of the service to be processed the right to obtain the electronic certificate information. According to the authorization certificate information, the electronic certificate information is obtained from a predetermined certificate database. The verification information of the electronic certificate information is acquired from the blockchain, and the acquired electronic certificate information is verified according to the verification information. If the verification is passed, business processing is performed on the to-be-processed business according to the electronic certificate information.
本说明书实施例提供的一种基于区块链的业务处理设备,所述基于区块链的业务处理设备包括:处理器;以及被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:提供待处理业务所需的电子证件信息的授权用证信息,以使业务处理方根据所述授权用证信息从预定证照数据库中获取所述电子证件信息,从区块链中获取所述电子证件信息的校验信息,并根据所述校验信息对获取的所述电子证件信息进行校验,在校验通过时,根据所述电子证件信息执行所述待处理业务对应的业务处理,所述授权用证信息用于为所述业务处理方授予所述电子证件信息的获取权限。将提供所述授权用证信息的相关行为数据上传至所述区块链。The embodiment of this specification provides a blockchain-based business processing device, the blockchain-based business processing device includes: a processor; and a memory arranged to store computer-executable instructions, the executable instructions being When executed, the processor is caused to: provide the authorization certificate information of the electronic certificate information required by the service to be processed, so that the business processor can obtain the electronic certificate information from the predetermined certificate database according to the authorization certificate information, and then Obtain the verification information of the electronic credential information in the blockchain, and verify the acquired electronic credential information according to the verification information. When the verification is passed, execute the waiting according to the electronic credential information. Processing business processing corresponding to the business, and the authorization certificate information is used to grant the business processing party the right to obtain the electronic certificate information. Upload the relevant behavioral data that provides the authorization certificate information to the blockchain.
本说明书实施例提供的一种基于区块链的业务处理设备,所述基于区块链的业务处理设备包括:处理器;以及被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:获取目标用户提供待处理业务所需的电子证件信息的授权用证信息的相关行为数据,存储于区块链;其中所述授权用证信息用于为所述待处理业务的业务处理方授予所述电子证件信息的获取权限。获取所述业务处理方使用所述电子证件信息中的相关行为数据,存储于区块链,其中,所述使用所述电子证件信息中的相关行为数据是在对 所述待处理业务进行业务处理的过程中使用与所述电子证件信息相关的行为数据。获取证照数据管理方变更所述电子证件信息的相关行为数据,存储于区块链,其中,变更所述电子证件信息的相关行为数据是在检测到所述预定证照数据库中的所述电子证件信息发生变化时产生。The embodiment of this specification provides a blockchain-based business processing device, the blockchain-based business processing device includes: a processor; and a memory arranged to store computer-executable instructions, the executable instructions being When executed, the processor is caused to: obtain the relevant behavioral data of the authorization certificate information of the electronic certificate information required by the target user to provide the service to be processed, and store it in the blockchain; wherein the authorization certificate information is used for the The business processor of the business to be processed grants the right to obtain the electronic credential information. Obtain the relevant behavioral data in the use of the electronic certificate information by the business processor and store it in the blockchain, where the use of the relevant behavioral data in the electronic certificate information is for business processing of the pending business The behavior data related to the electronic certificate information is used in the process. Obtain the relevant behavioral data of the license data management party to change the electronic certificate information, and store it in the blockchain, where the relevant behavioral data for changing the electronic certificate information is detected when the electronic certificate information in the predetermined license database is detected Produced when there is a change.
附图说明Description of the drawings
为了更清楚地说明本说明书实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本说明书中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of this specification, the following will briefly introduce the drawings needed in the embodiments. Obviously, the drawings in the following description are only some of the embodiments recorded in this specification. For those of ordinary skill in the art, without creative work, other drawings can be obtained based on these drawings.
图1为本说明书一种基于区块链的业务处理方法实施例;Figure 1 is an embodiment of a business processing method based on blockchain in this specification;
图2为本说明书另一种基于区块链的业务处理方法实施例;Figure 2 is another embodiment of a blockchain-based business processing method in this specification;
图3为本说明书又一种基于区块链的业务处理方法实施例;Figure 3 is another embodiment of a blockchain-based business processing method in this specification;
图4为本说明书又一种基于区块链的业务处理方法实施例;Figure 4 is another embodiment of a blockchain-based business processing method in this specification;
图5为本说明书又一种基于区块链的业务处理方法实施例;Fig. 5 is another embodiment of a blockchain-based business processing method in this specification;
图6为本说明书一种基于区块链的业务处理装置实施例;Figure 6 is an embodiment of a business processing device based on blockchain in this specification;
图7为本说明书另一种基于区块链的业务处理装置实施例;Fig. 7 is another embodiment of a business processing device based on blockchain in this specification;
图8为本说明书又一种基于区块链的业务处理装置实施例;FIG. 8 is another embodiment of a business processing device based on blockchain in this specification;
图9为本说明书一种基于区块链的业务处理设备实施例;Figure 9 is an embodiment of a business processing device based on blockchain in this specification;
图10为本说明书另一种基于区块链的业务处理设备实施例。Fig. 10 is another embodiment of a blockchain-based business processing device in this specification.
具体实施方式Detailed ways
本说明书实施例提供一种基于区块链的业务处理方法、装置及设备。The embodiments of this specification provide a business processing method, device and equipment based on blockchain.
为了使本技术领域的人员更好地理解本说明书中的技术方案,下面将结合本说明书实施例中的附图,对本说明书实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本说明书一部分实施例,而不是全部的实施例。基于本说明书中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本 说明书保护的范围。In order to enable those skilled in the art to better understand the technical solutions in this specification, the following will clearly and completely describe the technical solutions in the embodiments of this specification in conjunction with the drawings in the embodiments of this specification. Obviously, the described The embodiments are only a part of the embodiments in this specification, rather than all the embodiments. Based on the embodiments in this specification, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this specification.
实施例一Example one
如图1所示,本说明书实施例提供一种基于区块链的业务处理方法,该方法的执行主体可以为终端设备,其中,该终端设备可以如笔记本电脑或台式电脑等计算机设备,还可以是服务器等,该服务器可以是一个独立的服务器,还可以是由多个服务器构成的服务器集群等。该终端设备可以是基于区块链对某一项或多项业务进行处理的一方的设备等,具体如政务服务平台(可以包括如一网通办平台、权力运行平台、政务服务网站等)的终端设备,该终端设备可以提供多种服务,并可以为用户办理与各个服务相应的业务,如教育服务、住建服务、民政服务、执业资格服务等。该方法具体可以包括以下步骤S102至步骤S110。As shown in Figure 1, the embodiment of this specification provides a blockchain-based business processing method. The execution subject of the method can be a terminal device, where the terminal device can be a computer device such as a laptop or a desktop computer, or It is a server, etc. The server can be an independent server or a server cluster composed of multiple servers. The terminal device can be a device of a party that processes a certain one or more businesses based on the blockchain, such as a terminal device of a government service platform (which may include, for example, a network communication platform, a power operation platform, a government service website, etc.) , The terminal device can provide a variety of services, and can handle services corresponding to each service for users, such as education services, housing construction services, civil affairs services, and practicing qualification services. The method may specifically include the following steps S102 to S110.
在步骤S102中,根据目标用户的待处理业务,确定待处理业务所需的目标用户的电子证件信息。In step S102, the electronic credential information of the target user required for the service to be processed is determined according to the service to be processed of the target user.
其中,目标用户可以是任意用户。待处理业务可以是目标用户请求(或需求)的业务,具体如查询银行账户信息的业务、办理某一项或多项保险的业务、等。电子证件信息可以包括电子身份证件信息、电子社保证件信息、电子结婚证件信息、电子公积金证件信息、电子驾驶证信息、电子行驶证信息和电子护照信息等。Among them, the target user can be any user. The business to be processed may be a business requested (or required) by a target user, such as a business to query bank account information, a business to handle one or more insurances, and so on. Electronic certificate information may include electronic identity certificate information, electronic company guarantee certificate information, electronic marriage certificate information, electronic provident fund certificate information, electronic driver's license information, electronic driving license information, and electronic passport information, etc.
在实施中,随着互联网、移动互联网的发展,以计算机、网络、通讯为主的信息技术,正在深刻地影响着社会生活和政务运作的方式。为创新政务工作模式,提高行政效率和服务水平,政务机构正在普遍推行电子证照和全流程电子化登记管理改革,推进公众在线应用电子证照办理行政审批业务,推进各级政务机构开展全流程电子化、网络化应用等。In the implementation, with the development of the Internet and mobile Internet, information technology based on computers, networks, and communications is profoundly affecting social life and the way government affairs operate. In order to innovate government work models and improve administrative efficiency and service levels, government agencies are generally implementing electronic certificates and full-process electronic registration management reforms, promoting the online application of electronic certificates to the public for administrative approval services, and promoting government agencies at all levels to carry out full-process digitalization , Networked applications, etc.
电子证照是遵循相关技术规范的数字形态的证照,是由计算机等电子设备形成、办理、传输和存储的证照信息记录。电子证照不仅仅是传统纸质证照的电子化形态,其自身电子数据的特性更要求采用可靠的技术措施保障其真实有效性,实现可信的电子证照发放与应用管理。An electronic license is a digital license that complies with relevant technical specifications. It is a record of license information formed, processed, transmitted, and stored by computers and other electronic equipment. Electronic licenses are not only the electronic form of traditional paper licenses, but the characteristics of their own electronic data require the use of reliable technical measures to ensure their authenticity and effectiveness, and to achieve credible electronic license issuance and application management.
电子证照数据可以存储于业务应用系统中,由于在计算机内部和网络传输过程中,各类数据均由基本的数据单元组成且容易被篡改和伪造,而当前的各种鉴别手段不能完全有效的识别数据电文的真实性和完整性。因此,需要采取相应的措施确保电子证照业务应用系统中证照数据在传输过程中来源的真实性和内容的完整性。其中,内容的完整性即确保电子证照数据在发送方与接收方之间传递的过程中没有被偶然或蓄意地修改、伪造等行为造成破坏。Electronic certificate data can be stored in the business application system. Because all kinds of data are composed of basic data units in the computer and network transmission process and are easily tampered with and forged, the current various authentication methods cannot fully identify effectively. The authenticity and integrity of data messages. Therefore, it is necessary to take corresponding measures to ensure the authenticity of the source and the integrity of the content of the license data in the electronic license business application system during the transmission process. Among them, the integrity of the content is to ensure that the electronic certificate data is not accidentally or deliberately modified or forged during the transfer process between the sender and the receiver.
为了确保电子证照业务应用系统中证照数据在传输过程中来源的真实性和内容的完整性,本说明书实施例提供一种技术方案,具体可以包括以下内容。In order to ensure the authenticity of the source of the license data in the transmission process and the integrity of the content in the electronic license business application system, the embodiment of this specification provides a technical solution, which may specifically include the following content.
在日常生活中,很多场景都需要使用用户的个人证件信息,以确定用户的身份或办理相关的业务,具体地,对于某一项或多项业务,业务处理方(或业务提供方)可以根据该一项或多项业务的实际需求设置上述业务的处理机制,即业务处理方可以设定基于用户的电子证件信息执行业务处理,请求某业务服务的用户(即目标用户)可以向业务处理方请求待处理业务。在目标用户需要进行某项业务处理之前,目标用户可以向业务处理方说明需要处理的待处理业务,业务处理方的终端设备中可以安装有对待处理业务进行业务处理的应用程序,此时,业务处理方可以通过终端设备启动该应用程序,该应用程序中可以设置有不同业务的相关信息,当业务处理方选择待处理业务后,终端设备可以获取待处理业务的相关信息(如该业务的标识等),并可以根据待处理业务的相关信息确定待处理业务的业务处理的需求等。In daily life, many scenarios need to use the user’s personal certificate information to determine the user’s identity or handle related services. Specifically, for one or more services, the service processor (or service provider) can The actual needs of the one or more services set the processing mechanism of the above-mentioned services, that is, the business processor can set to perform business processing based on the user’s electronic certificate information, and the user requesting a certain business service (that is, the target user) can request the business processor Request pending services. Before the target user needs to process a certain business, the target user can explain the pending business that needs to be processed to the business processor. The terminal device of the business processor can be installed with an application for business processing of the business to be processed. At this time, the business The processor can start the application through the terminal device, and the application can be set with relevant information of different services. When the service processor selects the service to be processed, the terminal device can obtain the relevant information of the service to be processed (such as the identifier of the service). Etc.), and can determine the business processing requirements of the to-be-processed business and so on based on the relevant information of the to-be-processed business.
针对不同的业务,可以具有不同的需求,而不同的需求可能会需要目标用户的不同电子证件信息,终端设备中可以预先设置有不同业务(或业务的需求)与电子证件信息标识的对应关系,终端设备可以基于目标用户的待处理业务,从上述对应关系中查找待处理业务对应的电子证件信息标识,并可以将查找到的电子证件信息标识确定为待处理业务所需的目标用户的电子证件信息,或者,也可以将目标用户的待处理业务的相关信息输入到预定模型(如分类模型等)中进行分析,以输出相应的结果(即电子证件信息标识),例如,目标用户的待处理业务需要使用目标用户的身份证件信息,则可以基于预定的分类模型确定上述待处理业务对应的电子证件信息标识为身份证件信息,再例如,目标用户的待处理业务需要使用目标用户的社保证件信息,则基于预定的分类模型确定上述待处理业务对应的电子证件信息标识为社保卡等。Different services may have different requirements, and different requirements may require different electronic credential information of the target user. The corresponding relationship between different services (or business requirements) and the electronic credential information identification can be preset in the terminal device. The terminal device can find the electronic credential information identifier corresponding to the business to be processed from the above-mentioned corresponding relationship based on the business to be processed of the target user, and can determine the electronic credential information identified as the electronic credential of the target user required by the business to be processed Information, or, you can also input the relevant information of the target user's pending business into a predetermined model (such as a classification model, etc.) for analysis to output the corresponding result (ie, electronic certificate information identification), for example, the target user's pending transaction If the business needs to use the ID information of the target user, it can be determined based on the predetermined classification model that the electronic credential information corresponding to the service to be processed is identified as ID information. For another example, the target user’s social security certificate information needs to be used for the service to be processed , It is determined based on a predetermined classification model that the electronic certificate information corresponding to the business to be processed is identified as a social security card, etc.
在步骤S104中,获取目标用户提供的电子证件信息的授权用证信息,该授权用证信息用于为待处理业务的业务处理方授予该电子证件信息的获取权限。In step S104, the authorization certificate information of the electronic certificate information provided by the target user is obtained, and the authorization certificate information is used to grant the business processor of the service to be processed the right to obtain the electronic certificate information.
其中,授权用证信息可以通过多种方式呈现,例如,以图像码(包括如条形码或二维码等)的方式呈现或以通知消息的方式呈现等,具体可以根据实际情况设定,本说明书实施例对此不做限定。Among them, the authorization information can be presented in a variety of ways, for example, in the form of image codes (including barcodes or QR codes, etc.) or in the form of notification messages, etc., which can be set according to actual conditions. The embodiment does not limit this.
在实施中,对于目标用户来说,目标用户的电子证件信息中包括目标用户的个人隐私数据,为了防止任意用户都可以随意获取其他用户的电子证件信息,可以为不同的电子证件 信息分别设置获取的规则,例如,其他用户在获取某户的电子证件信息时,需要经过该用户的授权,从而保证用户的电子证件信息被获取或被使用的安全性。In the implementation, for the target user, the target user’s electronic certificate information includes the target user’s personal privacy data. In order to prevent any user from being able to obtain other users’ electronic certificate information at will, the acquisition can be set for different electronic certificate information. For example, when other users obtain the electronic certificate information of a certain user, they need to be authorized by the user, so as to ensure the security of the user's electronic certificate information being obtained or used.
业务处理方的终端设备确定待处理业务所需的目标用户的电子证件信息后,可以向业务处理方显示需要电子证件信息的提示信息。业务处理方可以向目标用户说明需要目标用户的电子证件信息,或者,业务处理方可以将上述提示信息提供给目标用户。目标用户可以通过其终端设备获取该电子证件信息的授权用证信息,具体如,目标用户的终端设备中可以预先存储有不同电子证件信息的授权用证信息,此时,目标用户可以从预先存储的不同电子证件信息的授权用证信息中,获取该电子证件信息的授权用证信息,并可以将获取的授权用证信息提供给业务处理方,或者,目标用户的终端设备中可以安装有生成不同电子证件信息的授权用证信息的应用程序,此时,目标用户可以通过其终端设备启动该应用程序,并可以通过该应用程序生成该电子证件信息的授权用证信息,目标用户可以将生成的授权用证信息提供给业务处理方。After the terminal device of the business processor determines the electronic credential information of the target user required by the business to be processed, it can display the prompt information that the electronic credential information is needed to the business processor. The business processor can explain to the target user that the electronic certificate information of the target user is needed, or the business processor can provide the aforementioned prompt information to the target user. The target user can obtain the authorization certificate information of the electronic certificate information through its terminal device. For example, the target user's terminal device can pre-store the authorization certificate information of different electronic certificate information. At this time, the target user can download the authorization certificate information from the pre-stored electronic certificate information. In the authorization certificate information of different electronic certificate information, the authorization certificate information of the electronic certificate information can be obtained, and the obtained authorization certificate information can be provided to the business processor, or the terminal device of the target user can be installed with the generator The application program of the authorization certificate information of different electronic certificate information. At this time, the target user can start the application program through his terminal device, and can generate the authorization certificate information of the electronic certificate information through the application program, and the target user can generate The authorized license information is provided to the business processor.
业务处理方的终端设备中可以包括获取目标用户的授权用证信息的机制或设备等,例如,如果目标用户的授权用证信息是以图像码的形式呈现,则业务处理方的终端设备中可以包括图形码的扫描设备,这样,业务处理方可以通过该图形码的扫描设备扫描目标用户的授权用证信息,从而获取到目标用户的授权用证信息。如果目标用户的授权用证信息是以通知消息的形式呈现,则业务处理方的终端设备中可以设置有该通知消息的处理机制,这样,业务处理方可以接收携带有目标用户的授权用证信息的通知消息,从而获取到目标用户的授权用证信息。The terminal equipment of the service processor may include a mechanism or equipment for obtaining the authorization information of the target user. For example, if the authorization information of the target user is presented in the form of an image code, the terminal equipment of the service processor may A scanning device including a graphic code, so that the service processor can scan the authorization certificate information of the target user through the scanning device of the graphic code, thereby obtaining the authorization certificate information of the target user. If the authorization certificate information of the target user is presented in the form of a notification message, the terminal device of the service processor can be provided with a processing mechanism for the notification message, so that the service processor can receive the authorization certificate information carrying the target user The notification message to obtain the authorization information of the target user.
在步骤S106中,根据上述授权用证信息,从预定证照数据库中获取相应的电子证件信息。In step S106, the corresponding electronic certificate information is obtained from the predetermined certificate database according to the above-mentioned authorization certificate information.
其中,预定证照数据库中可以包括多个不同用户的电子证件信息,而且,预定证照数据库中还可以包括同一用户的多个不同的电子证件信息,该预定证照数据库中的数据可以以表格的形式存储,可以如表1所示。Among them, the predetermined license database may include multiple electronic certificate information of different users, and the predetermined license database may also include multiple different electronic certificate information of the same user, and the data in the predetermined license database may be stored in the form of a table. , Can be as shown in Table 1.
表1Table 1
Figure PCTCN2020124818-appb-000001
Figure PCTCN2020124818-appb-000001
在实际应用中,预定证照数据库还可以针对某一类型的电子证件信息,例如,预定证照数据库中只包含多个不同用户的身份证件信息等,具体可以根据实际情况设定,本说明书实施例对此不做限定。In practical applications, the predetermined certificate database can also be specific to a certain type of electronic certificate information. For example, the predetermined certificate database only contains the ID information of multiple different users, etc., which can be set according to the actual situation. This is not limited.
在实施中,预定证照数据库可以存储于业务处理方,也可以存储于业务处理方之外的组织或机构的存储设备中。业务处理方的终端设备得到目标用户的授权用证信息后,可以使用授权用证信息,从预定证照数据库中获取与该授权用证信息相应的电子证件信息,例如,目标用户的授权用证信息用于获取用户A的身份证件信息1,终端设备可以从如上述表1的对应关系中获取与授权用证信息相应的用户A的身份证件信息1。In implementation, the predetermined license database can be stored in the business processor, or in the storage device of an organization or institution other than the business processor. After the terminal device of the business processor obtains the authorization certificate information of the target user, it can use the authorization certificate information to obtain the electronic certificate information corresponding to the authorization certificate information from the predetermined certificate database, for example, the target user's authorization certificate information For obtaining the identity document information 1 of the user A, the terminal device can obtain the identity document information 1 of the user A corresponding to the authorization certificate information from the corresponding relationship in Table 1 above.
在步骤S108中,从区块链中获取上述电子证件信息的校验信息,并根据该校验信息对获取的电子证件信息进行校验。In step S108, the verification information of the above-mentioned electronic certificate information is obtained from the blockchain, and the obtained electronic certificate information is verified according to the verification information.
其中,校验信息可以是用于验证该电子证件信息的真实性的信息,校验信息可以通过多种不同的方式确定,例如,可以通过指定的算法对该电子证件信息进行处理得到的校验信息,其中的指定的算法可以是指定的加密算法、哈希算法等,具体可以根据实际情况设定,本说明书实施例对此不做限定。Wherein, the verification information can be information used to verify the authenticity of the electronic credential information, and the verification information can be determined in many different ways. For example, the verification can be obtained by processing the electronic credential information through a specified algorithm. Information, the specified algorithm may be a specified encryption algorithm, hash algorithm, etc., which can be specifically set according to actual conditions, which is not limited in the embodiment of this specification.
在实施中,区块链已经在线上数据的防篡改、防伪和可追溯方向得到了较好的应用,如果将电子证件信息的使用、管理和鉴别等处理中的相关行为数据添加到区块链中,则电子证件信息将无法更改和抵赖。因此,可以通过区块链来维护电子证件信息在上述过程中的 相关数据,这样,各方均可以基于区块链中的相关数据对某数据进行核验,从而保证电子证件信息的准确性。In the implementation, the blockchain has been well applied in the direction of anti-tampering, anti-counterfeiting and traceability of online data. If the relevant behavioral data in the use, management and identification of electronic certificate information is added to the blockchain , Then the electronic certificate information will not be able to be changed and denied. Therefore, the relevant data of the electronic certificate information in the above process can be maintained through the blockchain, so that all parties can verify certain data based on the relevant data in the blockchain to ensure the accuracy of the electronic certificate information.
为此,预定证照数据库的构建组织或机构可以基于区块链基础平台,建设电子证照存证行业平台,构筑电子证照应用共享的信任、信用体系。电子证照的应用共享过程、管理过程和审计记录均需要生成相应的存证,并可以存储于电子证照存证行业平台中,然后上传至区块链中。To this end, the organization or institution that plans to build the license database can build an electronic license storage industry platform based on the blockchain basic platform, and build a trust and credit system for electronic license application sharing. The application sharing process, management process and audit records of electronic certificates need to generate corresponding deposit certificates, which can be stored in the electronic certificate deposit industry platform and then uploaded to the blockchain.
区块链可以为电子证照的数据防篡改、跨区域的电子证照互认共享与证照应用的可信存证、溯源验证提供基础服务支撑,构筑完整的电子证照应用的信任、信用体系。可以在区块链中设置电子证照的应用规范,并可以定义如管理存证、应用存证、共享存证、上链服务、验证服务等规范,为电子证照的应用、共享服务,为统一信任机制、应用存证上链、统一存证规范、数据防篡改、过程可追溯提供保障。各区域、各领域应用系统通过中心化的区块链网络能够快速核验电子证照的真实性、追溯电子证照生成、管理、应用的全过程。Blockchain can provide basic service support for the tamper-proof data of electronic certificates, cross-regional mutual recognition and sharing of electronic certificates and certificates, and the credible storage and traceability verification of certificate applications, and build a complete trust and credit system for electronic certificates and certificates. The application specifications of electronic certificates can be set in the blockchain, and specifications such as management deposits, application deposits, shared deposits, on-chain services, verification services, etc. can be defined, which are the application and sharing services of electronic certificates and certificates, and are unified trust Mechanisms, application deposits on the chain, unified deposit specifications, data anti-tampering, and process traceability provide guarantees. Application systems in various regions and fields can quickly verify the authenticity of electronic certificates and trace the entire process of electronic certificate generation, management, and application through a centralized blockchain network.
区块链可以由证照数据管理方、业务处理方(如政务服务平台等)等共同组建的区块链,或者,也可以由证照数据管理方的区块链和业务处理方的区块链等组建的区块链。区块链中可以存储有目标用户的电子证件信息的校验信息,例如,区块链中可以存储有该电子证件信息的哈希值等。业务处理方的终端设备可以基于目标用户的相关信息,从区块链中获取目标用户的电子证件信息的校验信息,然后,可以计算获取的电子证件信息的校验信息,可以基于从区块链中获取的校验信息和上述计算的校验信息,对获取的电子证件信息进行校验,如果从区块链中获取的校验信息与上述计算的校验信息相同,则可以确定校验通过,如果从区块链中获取的校验信息与上述计算的校验信息不相同,则可以确定校验未通过。The blockchain can be a blockchain jointly established by license data managers and business processors (such as government service platforms, etc.), or it can be composed of license data managers' blockchains and business processors' blockchains, etc. The built blockchain. The verification information of the electronic certificate information of the target user may be stored in the blockchain. For example, the hash value of the electronic certificate information may be stored in the blockchain. The terminal device of the business processor can obtain the verification information of the target user’s electronic credential information from the blockchain based on the relevant information of the target user, and then can calculate the verification information of the acquired electronic credential information, which can be based on the block chain The verification information obtained in the chain and the verification information calculated above are verified. If the verification information obtained from the blockchain is the same as the verification information calculated above, the verification can be determined Pass, if the verification information obtained from the blockchain is not the same as the verification information calculated above, it can be determined that the verification has not passed.
在步骤S110中,如果校验通过,则根据上述电子证件信息对待处理业务进行业务处理。In step S110, if the verification is passed, the business to be processed is processed according to the above-mentioned electronic certificate information.
在实施中,可以通过多种方式实现基于上述电子证件信息,进行待处理业务对应的业务处理,例如,待处理业务为更改身份证件信息中的一项或多项信息,则业务处理方的终端设备可以根据获取的身份证件信息确定目标用户的真实身份,然后,可以基于目标用户的要求对目标用户的身份证件信息中的一项或多项信息进行更改,并可以将更改后的身份证件信息上传至区块链。上述仅是一种可行的业务处理方式,在实际应用中,具体通过何种方式进行目标业务对应的业务处理可以根据实际情况设定,本说明书实施例对此不做限定。In implementation, it is possible to implement business processing corresponding to the business to be processed based on the above-mentioned electronic certificate information in a variety of ways. For example, if the business to be processed is to change one or more pieces of information in the identity document information, the terminal of the business processor The device can determine the true identity of the target user based on the acquired ID information, and then can modify one or more of the target user’s ID information based on the target user’s requirements, and can change the changed ID information Upload to the blockchain. The foregoing is only a feasible business processing method. In practical applications, the specific method for performing business processing corresponding to the target business can be set according to the actual situation, which is not limited in the embodiment of this specification.
本说明书实施例提供一种基于区块链的业务处理方法,在业务处理方通过目标用户提供的电子证件信息的授权用证信息,在预定证照数据库中获取相应的电子证件信息,从而保 证目标用户的电子证件信息只有在得到目标用户的授权后才能够获取其使用权限,防止目标用户的电子证件信息被盗用,而且,在获取到电子证件信息后,还从区块链中获取该电子证件信息的校验信息对获取的电子证件信息进行校验,并在校验通过才进行相应的业务处理,从而保证进行业务处理中使用的电子证件信息的真实性和信息的完整性。The embodiment of this specification provides a business processing method based on blockchain. The business processing party obtains the corresponding electronic certificate information from the predetermined certificate database through the authorized certificate information of the electronic certificate information provided by the target user, so as to ensure the target user The electronic certificate information of the target user can only be obtained after the authorization of the target user, to prevent the target user's electronic certificate information from being stolen, and after obtaining the electronic certificate information, the electronic certificate information is also obtained from the blockchain The verification information of the obtained electronic certificate information is verified, and the corresponding business processing is performed only after the verification is passed, thereby ensuring the authenticity of the electronic certificate information and the integrity of the information used in the business processing.
实施例二Example two
如图2所示,本说明书实施例提供一种基于区块链的业务处理方法,该方法的执行主体可以为终端设备,其中,该终端设备可以如手机、平板电脑、笔记本电脑或台式电脑等计算机设备。该终端设备可以是请求对某一项或多项业务进行处理的用户的终端设备等。该方法具体可以包括以下步骤S202至步骤S204。As shown in Figure 2, the embodiment of this specification provides a blockchain-based business processing method. The execution subject of the method may be a terminal device, where the terminal device may be a mobile phone, a tablet computer, a notebook computer, or a desktop computer, etc. Computer equipment. The terminal device may be a terminal device of a user requesting to process one or more services. The method may specifically include the following steps S202 to S204.
在步骤S202中,提供待处理业务所需的电子证件信息的授权用证信息,以使业务处理方根据该授权用证信息从预定证照数据库中获取该电子证件信息,从区块链中获取该电子证件信息的校验信息,并根据该校验信息对获取的该电子证件信息进行校验,在校验通过时,根据该电子证件信息执行待处理业务对应的业务处理,该授权用证信息用于为待处理业务的业务处理方授予该电子证件信息的获取权限。In step S202, the authorization certificate information of the electronic certificate information required for the business to be processed is provided, so that the business processor obtains the electronic certificate information from the predetermined certificate database according to the authorization certificate information, and obtains the electronic certificate information from the blockchain. The verification information of the electronic credential information, and verify the acquired electronic credential information according to the verification information. When the verification is passed, the business processing corresponding to the pending business is executed according to the electronic credential information, and the authorized credential information It is used to grant the business processor of the pending business the right to obtain the electronic certificate information.
其中,授权用证信息可以以图像码(包括如条形码或二维码等)的方式呈现或以通知消息的方式呈现等。Among them, the authorization certificate information can be presented in the form of image codes (including, for example, barcodes or two-dimensional codes, etc.) or in the form of notification messages.
在实施中,业务处理方的终端设备确定待处理业务所需的目标用户的电子证件信息后,可以向业务处理方显示需要电子证件信息的提示信息。业务处理方可以向目标用户说明需要目标用户的电子证件信息,或者,将上述提示信息提供给目标用户。目标用户的终端设备中可以安装有生成不同电子证件信息的授权用证信息的应用程序,此时,目标用户可以通过其终端设备启动该应用程序,并可以通过该应用程序生成该电子证件信息的授权用证信息(如条形码或二维码等),目标用户可以将生成的授权用证信息提供给业务处理方。In implementation, after the terminal device of the business processor determines the electronic credential information of the target user required for the business to be processed, it can display the prompt information that the electronic credential information is needed to the business processor. The business processor may explain to the target user that the electronic certificate information of the target user is needed, or provide the above-mentioned prompt information to the target user. The terminal device of the target user can be installed with an application program that generates the authorization certificate information of different electronic certificate information. At this time, the target user can start the application program through his terminal device, and can generate the electronic certificate information through the application program. Authorization certificate information (such as barcode or two-dimensional code, etc.), the target user can provide the generated authorization certificate information to the business processor.
在步骤S204中,将提供上述授权用证信息的相关行为数据上传至区块链。In step S204, the relevant behavioral data that provides the above-mentioned authorization certificate information is uploaded to the blockchain.
其中,提供上述授权用证信息的相关行为数据可以包括多种,例如目标用户提供该授权用证信息的时间、位置信息,以及提供给的业务处理方的相关信息(如业务处理方的名称或机构代码等)和待处理业务的相关数据(如待处理业务的名称或代码等)等,此外,还可以包括获取或生成授权用证信息的过程中目标用户的操作行为数据,以及提供授权用证信息的过程中目标用户的操作行为数据等。在实际应用中,上述相关行为数据还可以包括除上述数据外的其它数据,具体可以根据实际情况确定,本说明书实施例对此不做限定。Among them, the relevant behavioral data for providing the above-mentioned authorization information can include multiple types, such as the time and location information when the target user provides the authorization information, and the relevant information provided to the business processor (such as the name or the name of the business processor). Organization code, etc.) and related data of the business to be processed (such as the name or code of the business to be processed), etc. In addition, it can also include the operation behavior data of the target user in the process of obtaining or generating the authorization certificate information, as well as the provision of authorization. The operation behavior data of the target user in the process of verifying information. In practical applications, the above-mentioned related behavior data may also include other data besides the above-mentioned data, which can be specifically determined according to actual conditions, which is not limited in the embodiment of this specification.
在实施中,为了为用户每次的授权用证保留相应的证明或证据,以便后续对相应的电子证件信息的使用和处理进行核验,目标用户的终端设备可以记录提供上述授权用证信息过程中如时间、位置信息及提供给的业务处理方的相关信息和待处理业务的相关数据、目标用户获取或生成授权用证信息的过程中的操作行为数据,以及提供授权用证信息的过程中目标用户的操作行为数据等,并可以将记录的上述相关行为数据发送至区块链节点。在实际应用中,上述过程中的相关行为数据除了可以将上述信息发送至区块链节点外,还可以将其它相关信息发送至区块链节点,具体可以根据实际情况设定,本说明书实施例对此不做限定。In the implementation, in order to retain the corresponding certificate or evidence for each user’s authorization, so as to verify the use and processing of the corresponding electronic certificate information, the target user’s terminal device can record the process of providing the above authorization information Such as time, location information and relevant information provided to the business processor and relevant data of the business to be processed, operation behavior data in the process of obtaining or generating authorization information by target users, and goals in the process of providing authorization information The user's operation behavior data, etc., and the recorded related behavior data can be sent to the blockchain node. In practical applications, the relevant behavioral data in the above process can not only send the above information to the blockchain node, but also other related information can be sent to the blockchain node, which can be set according to the actual situation. The embodiment of this specification There is no restriction on this.
本说明书实施例提供一种基于区块链的业务处理方法,在业务处理方通过目标用户提供的电子证件信息的授权用证信息,在预定证照数据库中获取相应的电子证件信息,从而保证目标用户的电子证件信息只有在得到目标用户的授权后才能够获取其使用权限,防止目标用户的电子证件信息被盗用,而且,在获取到电子证件信息后,还从区块链中获取该电子证件信息的校验信息对获取的电子证件信息进行校验,并在校验通过才进行相应的业务处理,从而保证进行业务处理中使用的电子证件信息的真实性和信息的完整性。此外,目标用户还需要将提供上述授权用证信息的相关行为数据上传至区块链,从而对目标用户的授权行为进行存证,并通过区块链防止上传的数据被篡改,保证存证数据的可信性。The embodiment of this specification provides a business processing method based on blockchain. The business processing party obtains the corresponding electronic certificate information from the predetermined certificate database through the authorized certificate information of the electronic certificate information provided by the target user, so as to ensure the target user The electronic certificate information of the target user can only be obtained after the authorization of the target user, to prevent the target user's electronic certificate information from being stolen, and after obtaining the electronic certificate information, the electronic certificate information is also obtained from the blockchain The verification information of the obtained electronic certificate information is verified, and the corresponding business processing is performed only after the verification is passed, thereby ensuring the authenticity of the electronic certificate information and the integrity of the information used in the business processing. In addition, the target user also needs to upload the relevant behavioral data that provides the above-mentioned authorization certificate information to the blockchain, so as to record the authorization behavior of the target user, and prevent the uploaded data from being tampered through the blockchain to ensure the storage of the certificate data Credibility.
实施例三Example three
如图3所示,本说明书实施例提供一种基于区块链的业务处理方法,该方法的执行主体可以为区块链节点,其中,该区块链节点可以如笔记本电脑或台式电脑等计算机设备,还可以是服务器等,该服务器可以是一个独立的服务器,还可以是由多个服务器构成的服务器集群等。该方法具体可以包括以下步骤S302至步骤S306。As shown in Figure 3, the embodiment of this specification provides a blockchain-based business processing method. The execution subject of the method can be a blockchain node, where the blockchain node can be a computer such as a laptop or a desktop computer. The device may also be a server. The server may be an independent server or a server cluster composed of multiple servers. The method may specifically include the following steps S302 to S306.
在步骤S302中,获取目标用户提供待处理业务所需的电子证件信息的授权用证信息的相关行为数据,存储于区块链;其中,该授权用证信息用于为待处理业务的业务处理方授予该电子证件信息的获取权限。In step S302, obtain the relevant behavioral data of the authorization certificate information of the electronic certificate information required by the target user to provide the service to be processed, and store it in the blockchain; where the authorization certificate information is used to process the service to be processed The party grants the right to obtain the electronic certificate information.
在实施中,目标用户提供待处理业务所需的电子证件信息的授权用证信息后,可以通过其终端设备主动向区块链节点上传目标用户提供待处理业务所需的电子证件信息的授权用证信息的相关行为数据,该区块链节点可以将该相关行为数据与目标用户的该电子证件信息的相关信息或目标用户的标识等对应存储,以使得该相关行为数据存储于区块链中。或者,区块链节点在检测到目标用户提供待处理业务所需的电子证件信息的授权用证信息后, 请求目标用户的终端设备上传该相关行为数据,以将该相关行为数据存储于区块链中。In the implementation, after the target user provides the authorization information of the electronic certificate information required by the service to be processed, it can actively upload the authorization use of the target user to provide the electronic certificate information required by the service to be processed to the blockchain node through its terminal device. The relevant behavior data of the certificate information, the blockchain node can store the relevant behavior data corresponding to the relevant information of the target user’s electronic certificate information or the target user’s identification, so that the relevant behavior data is stored in the blockchain . Alternatively, after detecting the authorization information of the electronic certificate information required by the target user to provide the service to be processed, the blockchain node requests the terminal device of the target user to upload the relevant behavior data to store the relevant behavior data in the block Chain.
在步骤S304中,获取业务处理方使用上述电子证件信息中的相关行为数据,存储于区块链,其中,使用该电子证件信息中的相关行为数据是在对待处理业务进行业务处理的过程中使用与该电子证件信息相关的行为数据。In step S304, obtain the relevant behavioral data in the electronic credential information used by the business processor and store it in the blockchain, where the related behavioral data in the electronic credential information is used in the process of business processing of the business to be processed Behavioral data related to the electronic certificate information.
其中,业务处理方使用上述电子证件信息中的相关行为数据可以包括多种,例如业务处理方使用上述电子证件信息的时间、位置信息,以及业务处理方的相关信息(如业务处理方的名称或机构代码等)和待处理业务的相关数据(如待处理业务的名称或代码等)等,此外,还可以包括使用上述电子证件信息的过程中业务处理方的操作行为数据等。在实际应用中,上述相关行为数据还可以包括除上述数据外的其它数据,具体可以根据实际情况确定,本说明书实施例对此不做限定。Among them, the relevant behavioral data in the use of the above electronic credential information by the business processor can include multiple types, such as the time and location information of the above electronic credential information used by the business processor, and related information of the business processor (such as the name or name of the business processor). Institution code, etc.) and related data of the business to be processed (such as the name or code of the business to be processed, etc.). In addition, it may also include the operational behavior data of the business processor in the process of using the above-mentioned electronic credential information. In practical applications, the above-mentioned related behavior data may also include other data besides the above-mentioned data, which can be specifically determined according to actual conditions, which is not limited in the embodiment of this specification.
在实施中,业务处理方的终端设备对待处理业务进行业务处理的过程中,可以记录对待处理业务进行业务处理的过程中与该电子证件信息相关的行为数据,然后,可以将与该电子证件信息相关的行为数据上传至区块链节点,该区块链节点可以将与该电子证件信息相关的行为数据与目标用户的该电子证件信息的相关信息或目标用户的标识等对应存储,以使得该相关的行为数据存储于区块链中。或者,区块链节点在检测到业务处理方使用上述电子证件信息后,请求业务处理方的终端设备上传该相关的行为数据,以将该相关的行为数据存储于区块链中。In implementation, the terminal equipment of the business processor can record the behavioral data related to the electronic certificate information during the business processing of the business to be processed during the business processing of the business to be processed, and then it can associate the electronic certificate information with the The relevant behavior data is uploaded to the blockchain node, and the blockchain node can store the behavior data related to the electronic credential information and the related information of the electronic credential information of the target user or the identification of the target user correspondingly, so that the Related behavioral data is stored in the blockchain. Alternatively, after detecting that the business processor uses the above electronic certificate information, the blockchain node requests the terminal device of the business processor to upload the relevant behavior data, so as to store the relevant behavior data in the blockchain.
在步骤S306中,获取证照数据管理方变更上述电子证件信息的相关行为数据,存储于区块链,其中,变更该电子证件信息的相关行为数据是在检测到预定证照数据库中的该电子证件信息发生变化时产生。In step S306, obtain the relevant behavioral data of the license data management party to change the above-mentioned electronic certificate information, and store it in the blockchain, where the relevant behavioral data of changing the electronic certificate information is detected in the predetermined certificate database. Produced when there is a change.
其中,证照数据管理方变更上述电子证件信息的相关行为数据可以包括多种,例如证照数据管理方变更上述电子证件信息的时间、位置信息,以及发起变更上述电子证件信息请求的业务处理方的相关信息(如业务处理方的名称或机构代码等)和待处理业务的相关数据(如待处理业务的名称或代码等)等,此外,还可以包括证照数据管理方变更上述电子证件信息的过程中业务处理方和证照数据管理方的操作行为数据等。在实际应用中,上述相关行为数据还可以包括除上述数据外的其它数据,具体可以根据实际情况确定,本说明书实施例对此不做限定。Among them, the relevant behavioral data of the license data management party to change the above-mentioned electronic certificate information may include multiple types, such as the time and location information of the license data management party to change the above-mentioned electronic certificate information, and related information about the business processor that initiated the request to change the above-mentioned electronic certificate information. Information (such as the name or organization code of the business processor, etc.) and relevant data of the business to be processed (such as the name or code of the business to be processed), etc., in addition, it can also include the process of the license data manager changing the above electronic certificate information Operational behavior data of business processors and license data managers, etc. In practical applications, the above-mentioned related behavior data may also include other data besides the above-mentioned data, which can be specifically determined according to actual conditions, which is not limited in the embodiment of this specification.
在实施中,证照数据管理方变更上述电子证件信息后,可以主动向区块链节点上传证照数据管理方变更上述电子证件信息的相关行为数据,该区块链节点可以将该相关行为数据 与目标用户的该电子证件信息的相关信息或目标用户的标识等对应存储,以使得该相关行为数据存储于区块链中。或者,区块链节点在检测到业务处理方使用上述电子证件信息后,请求业务处理方的终端设备上传该相关行为数据,以将该相关行为数据存储于区块链中。In implementation, after the license data manager changes the above electronic credential information, it can actively upload the related behavior data of the license data manager to the blockchain node to change the above electronic credential information, and the blockchain node can associate the related behavior data with the target. The relevant information of the user's electronic certificate information or the target user's identification, etc. are correspondingly stored, so that the relevant behavior data is stored in the blockchain. Alternatively, after detecting that the business processor uses the above electronic certificate information, the blockchain node requests the terminal device of the business processor to upload the relevant behavior data, so as to store the relevant behavior data in the blockchain.
需要说明的是,上述步骤S302~步骤S306的处理在本实施例中是以前后顺序说明的,而在实际应用中,上述步骤S302~步骤S306的处理可以以任意顺序执行,或者还可以同时执行,本说明书实施例在此不再赘述。It should be noted that the processing of steps S302 to S306 above is described in this embodiment in the order of before and after, but in actual applications, the processing of steps S302 to S306 above can be executed in any order, or can also be executed at the same time The embodiments of this specification will not be repeated here.
本说明书实施例提供一种基于区块链的业务处理方法,在业务处理方通过目标用户提供的电子证件信息的授权用证信息,在预定证照数据库中获取相应的电子证件信息,从而保证目标用户的电子证件信息只有在得到目标用户的授权后才能够获取其使用权限,防止目标用户的电子证件信息被盗用,而且,在业务处理方获取到电子证件信息后,区块链还提供该电子证件信息的校验信息,以对获取的电子证件信息进行校验,并在校验通过后业务处理方才进行相应的业务处理,从而保证进行业务处理中使用的电子证件信息的真实性和信息的完整性。此外,区块链节点还需要获取目标用户提供上述授权用证信息的相关行为数据、业务处理方使用该电子证件信息中的相关行为数据和证照数据管理方变更该电子证件信息的相关行为数据等,从而对目标用户的授权行为、电子证件信息使用过程中的行为数据进行存证,并通过区块链防止存证的数据被篡改,保证存证数据的可信性。The embodiment of this specification provides a business processing method based on blockchain. The business processing party obtains the corresponding electronic certificate information from the predetermined certificate database through the authorized certificate information of the electronic certificate information provided by the target user, so as to ensure the target user Only after obtaining the authorization of the target user, can the electronic certificate information of the target user be authorized to use the target user’s electronic certificate information to prevent the target user’s electronic certificate information from being embezzled. Moreover, after the business processor obtains the electronic certificate information, the blockchain also provides the electronic certificate Information verification information to verify the acquired electronic credential information, and the business processing will only proceed with the corresponding business processing after the verification is passed, so as to ensure the authenticity and completeness of the electronic credential information used in the business processing Sex. In addition, the blockchain node also needs to obtain the relevant behavioral data of the target user to provide the above-mentioned authorized certificate information, the relevant behavioral data of the business processor using the electronic certificate information, and the relevant behavioral data of the license data manager to change the electronic certificate information, etc. In this way, the authorization behavior of the target user and the behavior data during the use of electronic credential information are recorded, and the recorded data is prevented from being tampered through the blockchain, and the credibility of the recorded data is guaranteed.
实施例四Example four
如图4所示,本说明书实施例提供一种基于区块链的业务处理方法,该方法可以由业务处理方的终端设备、目标用户的终端设备和区块链节点共同实现,其中,其中,该终端设备可以如笔记本电脑或台式电脑等计算机设备,还可以是服务器等,该服务器可以是一个独立的服务器,还可以是由多个服务器构成的服务器集群等。该业务处理方的终端设备可以是基于区块链对某一项或多项业务进行处理的一方的设备等,具体如政务服务平台(可以包括如一网通办平台、权力运行平台、政务服务网站等)的终端设备,该终端设备可以提供多种服务,并可以为用户办理与各个服务相应的业务,如教育服务、住建服务、民政服务、执业资格服务等。该区块链节点可以如笔记本电脑或台式电脑等计算机设备,还可以是服务器等,该服务器可以是一个独立的服务器,还可以是由多个服务器构成的服务器集群等。该方法具体可以包括以下步骤S402至步骤S426。As shown in Figure 4, the embodiment of this specification provides a blockchain-based business processing method, which can be implemented by the terminal device of the business processor, the terminal device of the target user, and the blockchain node. Among them, The terminal device may be a computer device such as a notebook computer or a desktop computer, or a server. The server may be an independent server or a server cluster composed of multiple servers. The terminal equipment of the business processing party can be the equipment of the party that processes one or more businesses based on the blockchain, such as government service platforms (which can include, for example, a network communication platform, power operation platform, government service website, etc. ) Terminal equipment, the terminal equipment can provide a variety of services, and can provide users with services corresponding to each service, such as education services, housing construction services, civil affairs services, qualification services, etc. The blockchain node can be a computer device such as a laptop or a desktop computer, or a server. The server can be an independent server or a server cluster composed of multiple servers. The method may specifically include the following steps S402 to S426.
在步骤S402中,区块链节点获取经证照数据管理方加密处理的电子证件信息,存储于区块链中。In step S402, the blockchain node obtains the electronic certificate information encrypted by the license data manager and stores it in the blockchain.
其中,该电子证件信息可以包括电子身份证件信息、电子社保证件信息、电子结婚证件信息中的一种或多种。Wherein, the electronic certificate information may include one or more of electronic identity certificate information, electronic agency guarantee certificate information, and electronic marriage certificate information.
在实施中,为了后续验证获取的电子证件信息的真实性,或者,保证电子证件信息在传输过程中的安全性,可以将用户的电子证件信息上传至区块链中。此外,考虑到证照数据管理方可以对用户的电子证件信息进行变更,因此,证照数据管理方可以将经过加密处理的电子证件信息上传至区块链。其中,对电子证件信息进行加密处理的方式可以包括多种,具体可以通过设置相应的加密算法实现,例如证照数据管理方可以通过哈希算法对该电子证件信息进行加密处理,得到该电子证件信息对应的哈希值。可以将计算得到的哈希值上传至区块链节点,区块链节点可以将该电子证件信息的哈希值存储于区块链中。In implementation, in order to subsequently verify the authenticity of the acquired electronic certificate information, or to ensure the security of the electronic certificate information during the transmission process, the user's electronic certificate information can be uploaded to the blockchain. In addition, considering that the license data manager can change the user's electronic credential information, the license data manager can upload the encrypted electronic credential information to the blockchain. Among them, there are many ways to encrypt the electronic credential information, which can be implemented by setting a corresponding encryption algorithm. For example, the license data manager can encrypt the electronic credential information through a hash algorithm to obtain the electronic credential information. The corresponding hash value. The calculated hash value can be uploaded to the blockchain node, and the blockchain node can store the hash value of the electronic certificate information in the blockchain.
此外,考虑到针对不同的用户,可能会有不同的文件数据,例如,某用户的身份证的图像文件或扫描文件等,对于上述文件数据,区块链节点可以获取证照数据管理方提供的目标用户的文件数据的校验信息,存储于区块链中。In addition, considering that for different users, there may be different file data, such as an image file or scanned file of a user’s ID card, etc. For the above file data, the blockchain node can obtain the target provided by the license data manager The verification information of the user's file data is stored in the blockchain.
其中,校验信息可以是用于验证该文件数据的真实性的信息,校验信息可以通过多种不同的方式确定,例如,可以通过指定的算法对该文件数据进行处理得到的校验信息,其中的指定的算法可以是指定的加密算法、哈希算法等,具体可以根据实际情况设定,本说明书实施例对此不做限定。Wherein, the verification information may be information used to verify the authenticity of the file data, and the verification information may be determined in a variety of different ways. For example, the verification information can be obtained by processing the file data through a specified algorithm. The specified algorithm may be a specified encryption algorithm, hash algorithm, etc., which can be specifically set according to actual conditions, which is not limited in the embodiment of this specification.
通过上述方式的处理用户的电子证件信息和相关的文件数据经过加密等方式上传区块链后,可以对目标用户的使用电子证件信息、电子证件信息的鉴别和管理等进行存证,具体可以参见下述步骤S404~步骤S426的处理。After processing the user’s electronic credential information and related file data in the above manner and uploading to the blockchain through encryption, etc., the target user’s use of electronic credential information, the identification and management of electronic credential information, etc. can be recorded. For details, please refer to The processing from step S404 to step S426 is described below.
在步骤S404中,业务处理方的终端设备根据目标用户的待处理业务,确定待处理业务所需的目标用户的电子证件信息。In step S404, the terminal device of the service processor determines the electronic certificate information of the target user required for the service to be processed according to the service to be processed of the target user.
在步骤S406中,目标用户的终端设备提供待处理业务所需的电子证件信息的授权用证信息,该授权用证信息用于为待处理业务的业务处理方授予该电子证件信息的获取权限。In step S406, the terminal device of the target user provides the electronic credential information required by the service to be processed for authorized use of credential information, and the authorized credential information is used to grant the business processor of the to be processed business the right to obtain the electronic credential information.
其中,授权用证信息可以包括该电子证件信息在预定证照数据库中的索引信息,该索引信息可以指示业务处理方具有获取相应电子证件信息的权限,并便于业务处理方快速获取到相应的电子证件信息。授权用证信息可以通过多种方式呈现,例如,以图像码(包括如条形码或二维码等)的方式呈现,则该图像码可以是基于该电子证件信息在预定证照数据库中的索引信息而生成等,具体可以根据实际情况设定,本说明书实施例对此不做限定。Among them, the authorization certificate information may include the index information of the electronic certificate information in the predetermined license database, and the index information may indicate that the business processor has the authority to obtain the corresponding electronic certificate information, and facilitate the business processor to quickly obtain the corresponding electronic certificate information. The authorization certificate information can be presented in a variety of ways, for example, in the form of an image code (including barcodes or two-dimensional codes, etc.), the image code can be based on the index information of the electronic certificate information in the predetermined license database. The generation, etc., can be specifically set according to the actual situation, which is not limited in the embodiment of this specification.
上述步骤S406的处理过程可以参见上述实施例中的相关内容,在此不再赘述。For the processing process of the foregoing step S406, reference may be made to the relevant content in the foregoing embodiment, and details are not described herein again.
在步骤S408中,目标用户的终端设备将提供上述授权用证信息的相关行为数据上传至区块链。In step S408, the terminal device of the target user uploads the relevant behavioral data that provides the above-mentioned authorization certificate information to the blockchain.
上述步骤S408的处理过程可以参见上述实施例中的相关内容,在此不再赘述。For the processing process of the foregoing step S408, reference may be made to the relevant content in the foregoing embodiment, and details are not described herein again.
此外,上述步骤S408的处理除了可以通过上述处理方式实现外,还可以通过多种方式实现,以下再提供一种可选的处理方式,具体可以包括以下步骤A2~步骤A4的处理。In addition, the processing of step S408 described above can be implemented in a variety of ways in addition to the above processing methods. An optional processing method is provided below, which specifically may include the following processing of step A2 to step A4.
在步骤A2中,目标用户的终端设备获取目标用户的数字身份信息。In step A2, the terminal device of the target user obtains the digital identity information of the target user.
其中,数字身份信息可以是指通过数字化信息将用户可识别地进行刻画的信息,也即为将真实的身份信息浓缩为数字代码的形式表现,以便对用户个人的实时行为信息进行绑定、查询和验证。数字身份信息中不仅可以包含用户的出生信息、个体描述、生物特征等身份编码信息,也涉及多种属性的个人行为信息(如交易信息或娱乐信息等)等。数字身份信息可以通过多种方式展现,如DID(Decentralized Identity,去中心化身份)等。Among them, digital identity information can refer to information that identifiably portrays users through digital information, that is, to condense real identity information into digital codes, so as to bind and query personal real-time behavior information of users. And verification. Digital identity information can not only contain the user's birth information, individual description, biometrics and other identity coding information, but also involve multiple attributes of personal behavior information (such as transaction information or entertainment information, etc.). Digital identity information can be displayed in a variety of ways, such as DID (Decentralized Identity) and so on.
在实施中,区块链中,可以为不同的用户构建相应的数字身份信息,当目标用户的终端设备获取到提供上述授权用证信息的相关行为数据后,可以通过目标用户的相关信息,从区块链中获取目标用户的数字身份信息,如目标用户的DID等。In implementation, in the blockchain, corresponding digital identity information can be constructed for different users. After the terminal device of the target user obtains the relevant behavioral data that provides the above-mentioned authorization certificate information, the relevant information of the target user can be obtained from Obtain the digital identity information of the target user in the blockchain, such as the DID of the target user.
在步骤A4中,目标用户的终端设备将提供上述授权用证信息的相关行为数据上传至区块链中目标用户的数字身份信息下。In step A4, the terminal device of the target user uploads the relevant behavioral data providing the above-mentioned authorization certificate information to the digital identity information of the target user in the blockchain.
在实施中,目标用户的终端设备获取到目标用户的数字身份信息后,可以将提供上述授权用证信息的相关行为数据和目标用户的数字身份信息上传至区块链,区块链节点接收到该相关行为数据和数字身份信息后,可以将该相关行为数据存储于目标用户的数字身份信息下。In implementation, after the target user’s terminal device obtains the target user’s digital identity information, it can upload the relevant behavioral data and the target user’s digital identity information that provide the above authorization certificate information to the blockchain, and the blockchain node receives it. After the relevant behavior data and digital identity information, the relevant behavior data can be stored under the digital identity information of the target user.
需要说明的是,区块链中,不仅可以为不同用户建立数字身份信息,还可以为不同的用户的不同电子证件信息建立数字身份信息(如DID等),这样,上述将该相关行为数据存储于目标用户的数字身份信息下的处理,还可以是将该相关行为数据存储于目标用户的数字身份信息和上述电子证件信息的数字身份信息下。It should be noted that in the blockchain, not only digital identity information can be established for different users, but also digital identity information (such as DID, etc.) can be established for different electronic certificate information of different users. In this way, the above-mentioned related behavior data is stored The processing under the digital identity information of the target user may also be to store the relevant behavior data under the digital identity information of the target user and the digital identity information of the aforementioned electronic certificate information.
此外,目标用户的数字身份信息除了可以从区块链中获取外,还可以通过多种方式获取,例如,还可以从预先设定的数字身份信息的颁发节点获取等,本说明书实施例对此不做限定。In addition, in addition to obtaining the digital identity information of the target user from the blockchain, it can also be obtained in a variety of ways. For example, it can also be obtained from a pre-set digital identity information issuing node. Not limited.
在步骤S410中,业务处理方的终端设备获取目标用户提供的上述电子证件信息的授权用证信息。In step S410, the terminal device of the business processor obtains the authorization information of the above-mentioned electronic certificate information provided by the target user.
在步骤S412中,业务处理方的终端设备根据上述授权用证信息,从预定证照数据库中获取上述电子证件信息。In step S412, the terminal device of the business processor obtains the above-mentioned electronic certificate information from the predetermined certificate database according to the above-mentioned authorization certificate information.
在实施中,由于目标用户提供的上述电子证件信息的授权用证信息中包含该电子证件信息在预定证照数据库中的索引信息,因此,业务处理方不仅获得了目标用户授予的获取该电子证件信息的权限,还可以通过该索引信息,快速的从预定证照数据库中获取到上述电子证件信息。In the implementation, since the authorization information of the electronic certificate information provided by the target user includes the index information of the electronic certificate information in the predetermined certificate database, the business processor not only obtains the electronic certificate information granted by the target user You can also use the index information to quickly obtain the above-mentioned electronic certificate information from the predetermined certificate database.
在步骤S414中,业务处理方的终端设备获取目标用户的数字身份信息。In step S414, the terminal device of the service processor obtains the digital identity information of the target user.
在实施中,基于上述内容,区块链中可以为不同的用户构建相应的数字身份信息,因此,业务处理方的终端设备也可以获取目标用户的相关信息,并可以通过获取的相关信息从区块链中获取目标用户的数字身份信息。In implementation, based on the above content, the blockchain can construct corresponding digital identity information for different users. Therefore, the terminal equipment of the business processor can also obtain the relevant information of the target user, and can use the obtained relevant information from the district Obtain the digital identity information of the target user in the block chain.
需要说明的是,目标用户的数字身份信息除了可以从区块链中获取外,还可以通过多种方式获取,例如,还可以从预先设定的数字身份信息的颁发节点获取等,本说明书实施例对此不做限定。It should be noted that in addition to obtaining the digital identity information of the target user from the blockchain, it can also be obtained in a variety of ways. For example, it can also be obtained from a pre-set digital identity information issuing node, etc. The implementation of this manual The example does not limit this.
在步骤S416中,业务处理方的终端设备从区块链中获取目标用户的数字身份信息对应的电子证件信息的哈希值。In step S416, the terminal device of the service processor obtains the hash value of the electronic certificate information corresponding to the digital identity information of the target user from the blockchain.
在实施中,基于上述相关内容,证照数据管理方可以将不同用户的电子证件信息进行加密处理后上传至区块链,本实施例中,以对电子证件信息进行加密处理后得到的是该电子证件信息的哈希值为例进行说明,即区块链节点可以将接收到的电子证件信息的哈希值与目标用户的数字身份信息对应存储于区块链中。业务处理方的终端设备可以通过目标用户的数字身份信息和该电子证件信息的标识等相关信息,从区块链中获取目标用户的数字身份信息对应的电子证件信息的哈希值。In implementation, based on the above related content, the license data manager can encrypt the electronic certificate information of different users and upload it to the blockchain. In this embodiment, the electronic certificate information is encrypted to obtain the electronic certificate information. The hash value of the certificate information is illustrated as an example, that is, the blockchain node can store the hash value of the received electronic certificate information and the digital identity information of the target user in the blockchain. The terminal device of the business processor can obtain the hash value of the electronic credential information corresponding to the digital identity information of the target user from the blockchain through related information such as the digital identity information of the target user and the identification of the electronic credential information.
在步骤S418中,业务处理方的终端设备将获取的哈希值与获取的电子证件信息对应的哈希值进行比对。In step S418, the terminal device of the service processor compares the obtained hash value with the hash value corresponding to the obtained electronic certificate information.
在步骤S420中,如果获取的哈希值与获取的电子证件信息对应的哈希值相同,则校验通过。In step S420, if the obtained hash value is the same as the hash value corresponding to the obtained electronic certificate information, the verification is passed.
在步骤S422中,如果校验通过,则业务处理方的终端设备根据上述电子证件信息 对所述待处理业务进行业务处理。In step S422, if the verification is passed, the terminal device of the service processor performs service processing on the service to be processed according to the above-mentioned electronic certificate information.
在步骤S424中,区块链节点获取业务处理方使用上述电子证件信息中的相关行为数据,存储于区块链,其中,使用该电子证件信息中的相关行为数据是在对待处理业务进行业务处理的过程中使用与该电子证件信息相关的行为数据。In step S424, the blockchain node obtains the relevant behavioral data of the business processor using the above-mentioned electronic certificate information, and stores it in the blockchain, where the use of the relevant behavioral data in the electronic certificate information is for business processing of the business to be processed Use behavioral data related to the electronic certificate information in the process.
上述步骤S424的处理过程可以参见上述实施例中的相关内容,在此不再赘述。For the processing process of the foregoing step S424, reference may be made to the related content in the foregoing embodiment, and details are not described herein again.
此外,上述步骤S424的处理除了可以通过上述处理方式实现外,还可以通过多种方式实现,以下再提供一种可选的处理方式,具体可以包括以下内容:在对待处理业务进行业务处理中,区块链节点基于预先部署的智能合约,触发证照数据管理方上传业务处理方使用该电子证件信息中的相关行为数据。In addition, the processing of step S424 described above can be implemented in a variety of ways in addition to the above processing methods. An optional processing method is provided below, which may specifically include the following content: in the business processing of the business to be processed, Based on the pre-deployed smart contract, the blockchain node triggers the license data management party to upload the business processor to use the relevant behavior data in the electronic credential information.
在实施中,可以预先设置在对待处理业务进行业务处理中证照数据管理方的处理规则,并可以基于该处理规则生成相应的智能合约,并可以将该智能合约部署到区块链中。在区块链节点确定当前开始对待处理业务进行业务处理时,区块链节点可以基于上述智能合约,触发证照数据管理方上传业务处理方使用该电子证件信息中的相关行为数据。In implementation, the processing rules of the license data manager in the business processing of the business to be processed can be preset, and the corresponding smart contract can be generated based on the processing rules, and the smart contract can be deployed in the blockchain. When the blockchain node determines that the business to be processed is currently being processed, the blockchain node can trigger the license data manager to upload the relevant behavioral data in the electronic certificate information by the business processor based on the above-mentioned smart contract.
需要说明的是,上述上传业务处理方使用该电子证件信息中的相关行为数据的处理是由证照数据管理方上传的,在实际应用中,还可以通过触发业务处理方,由业务处理方上传业务处理方使用该电子证件信息中的相关行为数据至区块链中。It should be noted that the above-mentioned processing by the uploading service processor using the relevant behavioral data in the electronic certificate information is uploaded by the license data manager. In practical applications, the service processor can also be triggered by the service processor to upload the service. The processor uses the relevant behavioral data in the electronic certificate information to the blockchain.
在步骤S426中,区块链节点获取证照数据管理方变更上述电子证件信息的相关行为数据,存储于区块链,其中,变更该电子证件信息的相关行为数据是在检测到预定证照数据库中的该电子证件信息发生变化时产生。In step S426, the blockchain node obtains the relevant behavioral data of the license data manager to change the above-mentioned electronic certificate information, and stores it in the blockchain, where the relevant behavioral data for changing the electronic certificate information is detected in the predetermined license database. Generated when the information of the electronic certificate changes.
上述步骤S426的处理过程可以参见上述实施例中的相关内容,在此不再赘述。For the processing process of the foregoing step S426, reference may be made to the related content in the foregoing embodiment, and details are not described herein again.
此外,上述步骤S426的处理除了可以通过上述处理方式实现外,还可以通过多种方式实现,以下再提供一种可选的处理方式,具体可以包括以下内容:变更该电子证件信息的相关行为数据是基于预先部署的智能合约确定预定证照数据库中的该电子证件信息发生变化时产生。In addition, the processing of step S426 described above can be achieved in addition to the above processing methods, and can also be achieved in various ways. The following provides an optional processing method, which may specifically include the following content: change the relevant behavioral data of the electronic certificate information It is generated when the electronic certificate information in the predetermined certificate database is changed based on the pre-deployed smart contract.
在实施中,可以预先设置变更该电子证件信息的处理规则,并可以基于该处理规则生成相应的智能合约,并可以将该智能合约部署到区块链中。在区块链节点基于上述智能合约确定预定证照数据库中的该电子证件信息发生变化时,区块链节点可以触发证照数据管理方,以使证照数据管理方上传变更上述电子证件信息的相关行为数据。In implementation, the processing rules for changing the electronic certificate information can be preset, and the corresponding smart contract can be generated based on the processing rules, and the smart contract can be deployed to the blockchain. When the blockchain node determines that the electronic certificate information in the predetermined license database has changed based on the above smart contract, the blockchain node can trigger the license data manager so that the license data manager uploads the relevant behavioral data that changes the above electronic certificate information .
需要说明的是,上述上传变更上述电子证件信息的相关行为数据的处理是由证照数据管理方上传的,在实际应用中,业务处理方也可以将变更上述电子证件信息的相关行为数据上传至区块链中。It should be noted that the above-mentioned processing of uploading and changing the relevant behavioral data of the above-mentioned electronic certificate information is uploaded by the license data management party. In practical applications, the business processor can also upload the relevant behavioral data of changing the above-mentioned electronic certificate information to the district Block chain.
本说明书实施例提供一种基于区块链的业务处理方法,在业务处理方通过目标用户提供的电子证件信息的授权用证信息,在预定证照数据库中获取相应的电子证件信息,从而保证目标用户的电子证件信息只有在得到目标用户的授权后才能够获取其使用权限,防止目标用户的电子证件信息被盗用,而且,在获取到电子证件信息后,还从区块链中获取该电子证件信息的校验信息对获取的电子证件信息进行校验,并在校验通过才进行相应的业务处理,从而保证进行业务处理中使用的电子证件信息的真实性和信息的完整性。此外,区块链节点还需要获取目标用户提供上述授权用证信息的相关行为数据、业务处理方使用该电子证件信息中的相关行为数据和证照数据管理方变更该电子证件信息的相关行为数据等,从而对目标用户的授权行为、电子证件信息使用过程中的行为数据进行存证,并通过区块链防止存证的数据被篡改,保证存证数据的可信性。The embodiment of this specification provides a business processing method based on blockchain. The business processing party obtains the corresponding electronic certificate information from the predetermined certificate database through the authorized certificate information of the electronic certificate information provided by the target user, so as to ensure the target user The electronic certificate information of the target user can only be obtained after the authorization of the target user, to prevent the target user's electronic certificate information from being stolen, and after obtaining the electronic certificate information, the electronic certificate information is also obtained from the blockchain The verification information of the obtained electronic certificate information is verified, and the corresponding business processing is performed after the verification is passed, so as to ensure the authenticity of the electronic certificate information and the integrity of the information used in the business processing. In addition, the blockchain node also needs to obtain the relevant behavioral data of the target user to provide the above-mentioned authorized certificate information, the relevant behavioral data of the business processor using the electronic certificate information, and the relevant behavioral data of the license data manager to change the electronic certificate information, etc. In this way, the authorization behavior of the target user and the behavior data during the use of electronic certificate information are recorded, and the stored data is prevented from being tampered through the blockchain, and the credibility of the stored data is guaranteed.
实施例五Example five
如图5所示,本说明书实施例提供一种基于区块链的业务处理方法,该方法可以由业务处理方的终端设备、目标用户的终端设备和区块链节点共同实现,其中,其中,该终端设备可以如笔记本电脑或台式电脑等计算机设备,还可以是服务器等,该服务器可以是一个独立的服务器,还可以是由多个服务器构成的服务器集群等。该业务处理方的终端设备可以是基于区块链对某一项或多项业务进行处理的一方的设备等,具体如政务服务平台(可以包括如一网通办平台、权力运行平台、政务服务网站等)的终端设备,该终端设备可以提供多种服务,并可以为用户办理与各个服务相应的业务,如教育服务、住建服务、民政服务、执业资格服务等。该区块链节点可以如笔记本电脑或台式电脑等计算机设备,还可以是服务器等,该服务器可以是一个独立的服务器,还可以是由多个服务器构成的服务器集群等。该方法具体可以包括以下步骤S502至步骤S528。As shown in Figure 5, the embodiment of this specification provides a blockchain-based business processing method, which can be implemented by the terminal device of the business processor, the terminal device of the target user, and the blockchain node. Among them, The terminal device may be a computer device such as a notebook computer or a desktop computer, or a server. The server may be an independent server or a server cluster composed of multiple servers. The terminal equipment of the business processing party can be the equipment of the party that processes one or more businesses based on the blockchain, such as government service platforms (which can include, for example, a network communication platform, power operation platform, government service website, etc. ) Terminal equipment, the terminal equipment can provide a variety of services, and can provide users with services corresponding to each service, such as education services, housing construction services, civil affairs services, qualification services, etc. The blockchain node can be a computer device such as a laptop or a desktop computer, or a server. The server can be an independent server or a server cluster composed of multiple servers. The method may specifically include the following steps S502 to S528.
在步骤S502中,区块链节点获取经证照数据管理方加密处理的电子证件信息,存储于区块链中。In step S502, the blockchain node obtains the electronic certificate information encrypted by the license data manager and stores it in the blockchain.
其中,电子证件信息可以包括电子身份证件信息、电子社保证件信息、电子结婚证件信息中的一种或多种。Among them, the electronic certificate information may include one or more of electronic identity certificate information, electronic company guarantee certificate information, and electronic marriage certificate information.
此外,考虑到针对不同的用户,可能会有不同的文件数据,区块链节点可以获取证 照数据管理方提供的目标用户的文件数据的校验信息,存储于区块链中。In addition, considering that there may be different file data for different users, the blockchain node can obtain the verification information of the target user's file data provided by the license data manager and store it in the blockchain.
在步骤S504中,业务处理方的终端设备根据目标用户的待处理业务,确定待处理业务所需的目标用户的电子证件信息。In step S504, the terminal device of the service processor determines the electronic certificate information of the target user required for the service to be processed according to the service to be processed of the target user.
在步骤S506中,业务处理方的终端设备向目标用户发送该电子证件信息的授权用证请求。In step S506, the terminal device of the service processor sends a request for authorization of the electronic certificate information to the target user.
在实施中,业务处理方的终端设备确定待处理业务所需的目标用户的电子证件信息后,可以向目标用户的终端设备发送该电子证件信息的授权用证请求,以请求目标用户为业务处理方授予该电子证件信息的获取权限。In implementation, after the terminal device of the business processor determines the electronic credential information of the target user required for the service to be processed, it can send a request for authorization of the electronic credential information to the target user’s terminal device to request the target user to process the business. The party grants the right to obtain the electronic certificate information.
在步骤S508中,目标用户的终端设备发送上述授权用证请求对应的授权响应,该授权响应中包括该电子证件信息的授权用证信息,该授权用证信息用于为待处理业务的业务处理方授予该电子证件信息的获取权限。In step S508, the terminal device of the target user sends an authorization response corresponding to the above-mentioned authorization request. The authorization response includes the authorization certificate information of the electronic certificate information, and the authorization certificate information is used to process the business to be processed. The party grants the right to obtain the electronic certificate information.
其中,授权用证信息可以包括该电子证件信息在预定证照数据库中的索引信息。Wherein, the authorization certificate information may include the index information of the electronic certificate information in the predetermined certificate database.
在实施中,目标用户的终端设备接收到上述授权用证请求后,目标用户可以通过其终端设备获取该电子证件信息的授权用证信息,具体如,目标用户的终端设备中可以预先存储有不同电子证件信息的授权用证信息,此时,目标用户的终端设备可以从预先存储的不同电子证件信息的授权用证信息中,获取该电子证件信息的授权用证信息,并可以基于获取的授权用证信息生成授权用证请求对应的授权响应,并发送给业务处理方,或者,目标用户的终端设备中可以安装有生成不同电子证件信息的授权用证信息的应用程序,此时,目标用户可以通过其终端设备启动该应用程序,并可以通过该应用程序生成该电子证件信息的授权用证信息,目标用户的终端设备可以基于生成的授权用证信息进一步生成授权用证请求对应的授权响应,并发送给业务处理方。In implementation, after the target user’s terminal device receives the above authorization request, the target user can obtain the authorization certificate information of the electronic certificate information through its terminal device. For example, the target user’s terminal device may pre-store different The authorization certificate information of the electronic certificate information. At this time, the terminal device of the target user can obtain the authorization certificate information of the electronic certificate information from the authorization certificate information of different electronic certificate information stored in advance, and can be based on the obtained authorization Use the certificate information to generate the authorization response corresponding to the authorization use certificate request and send it to the business processor, or the target user’s terminal device can be installed with an application program that generates the authorization use certificate information of different electronic certificate information. At this time, the target user The application can be started through its terminal device, and the authorization information of the electronic certificate information can be generated through the application. The terminal device of the target user can further generate the authorization response corresponding to the authorization request based on the generated authorization information. , And send it to the business processor.
在步骤S510中,目标用户的终端设备将提供上述授权用证信息的相关行为数据上传至区块链。In step S510, the terminal device of the target user uploads the relevant behavioral data that provides the above-mentioned authorization certificate information to the blockchain.
此外,上述步骤S510的处理还可以通过下述方式实现:目标用户的终端设备获取目标用户的数字身份信息;目标用户的终端设备将提供上述授权用证信息的相关行为数据上传至区块链中目标用户的数字身份信息下。In addition, the processing of step S510 above can also be implemented in the following ways: the terminal device of the target user obtains the digital identity information of the target user; the terminal device of the target user uploads the relevant behavioral data that provides the above-mentioned authorization certificate information to the blockchain Under the digital identity information of the target user.
在步骤S512中,业务处理方的终端设备获取目标用户提供的上述电子证件信息的授权用证信息。In step S512, the terminal device of the service processor obtains the authorization information of the above-mentioned electronic certificate information provided by the target user.
在步骤S514中,业务处理方的终端设备根据上述授权用证信息,从预定证照数据库中获取上述电子证件信息。In step S514, the terminal device of the business processor obtains the above-mentioned electronic certificate information from the predetermined certificate database according to the above-mentioned authorized certificate information.
在步骤S516中,业务处理方的终端设备获取目标用户的数字身份信息。In step S516, the terminal device of the service processor obtains the digital identity information of the target user.
在步骤S518中,业务处理方的终端设备从区块链中获取目标用户的数字身份信息对应的电子证件信息的哈希值。In step S518, the terminal device of the business processor obtains the hash value of the electronic certificate information corresponding to the digital identity information of the target user from the blockchain.
在步骤S520中,业务处理方的终端设备将获取的哈希值与获取的电子证件信息对应的哈希值进行比对。In step S520, the terminal device of the service processor compares the obtained hash value with the hash value corresponding to the obtained electronic certificate information.
在步骤S522中,如果获取的哈希值与获取的电子证件信息对应的哈希值相同,则校验通过。In step S522, if the obtained hash value is the same as the hash value corresponding to the obtained electronic certificate information, the verification is passed.
在步骤S524中,如果校验通过,则业务处理方的终端设备根据上述电子证件信息对所述待处理业务进行业务处理。In step S524, if the verification is passed, the terminal device of the service processor performs service processing on the service to be processed according to the above-mentioned electronic certificate information.
在步骤S526中,区块链节点获取业务处理方使用上述电子证件信息中的相关行为数据,存储于区块链,其中,使用该电子证件信息中的相关行为数据是在对待处理业务进行业务处理的过程中使用与该电子证件信息相关的行为数据。In step S526, the blockchain node obtains the relevant behavior data of the business processor using the above electronic certificate information, and stores it in the blockchain, where the use of the relevant behavior data in the electronic certificate information is for business processing of the business to be processed Use behavioral data related to the electronic certificate information in the process.
此外,上述步骤S526的处理还可以通过下述方式实现:在对待处理业务进行业务处理中,区块链节点基于预先部署的智能合约,触发证照数据管理方上传业务处理方使用该电子证件信息中的相关行为数据。In addition, the processing of the above step S526 can also be implemented in the following manner: in the business processing of the business to be processed, the blockchain node triggers the license data management party to upload the business processing party to use the electronic certificate information based on the pre-deployed smart contract Related behavioral data.
在步骤S528中,区块链节点获取证照数据管理方变更上述电子证件信息的相关行为数据,存储于区块链,其中,变更该电子证件信息的相关行为数据是在检测到预定证照数据库中的该电子证件信息发生变化时产生。In step S528, the blockchain node obtains the relevant behavioral data of the license data management party to change the above-mentioned electronic certificate information, and stores it in the blockchain, where the relevant behavioral data for changing the electronic certificate information is detected in the predetermined license database. Generated when the information of the electronic certificate changes.
其中,变更该电子证件信息的相关行为数据可以是基于预先部署的智能合约确定预定证照数据库中的该电子证件信息发生变化时产生。Wherein, the related behavior data of changing the electronic certificate information may be generated when the electronic certificate information in the predetermined certificate database is changed based on a pre-deployed smart contract.
本说明书实施例提供一种基于区块链的业务处理方法,在业务处理方通过目标用户提供的电子证件信息的授权用证信息,在预定证照数据库中获取相应的电子证件信息,从而保证目标用户的电子证件信息只有在得到目标用户的授权后才能够获取其使用权限,防止目标用户的电子证件信息被盗用,而且,在获取到电子证件信息后,还从区块链中获取该电子证件信息的校验信息对获取的电子证件信息进行校验,并在校验通过才进行相应的业务处理,从而保证进行业务处理中使用的电子证件信息的真实性和信息的完整性。此外, 区块链节点还需要获取目标用户提供上述授权用证信息的相关行为数据、业务处理方使用该电子证件信息中的相关行为数据和证照数据管理方变更该电子证件信息的相关行为数据等,从而对目标用户的授权行为、电子证件信息使用过程中的行为数据进行存证,并通过区块链防止存证的数据被篡改,保证存证数据的可信性。The embodiment of this specification provides a business processing method based on blockchain. The business processing party obtains the corresponding electronic certificate information from the predetermined certificate database through the authorized certificate information of the electronic certificate information provided by the target user, so as to ensure the target user The electronic certificate information of the target user can only be obtained after the authorization of the target user, to prevent the target user's electronic certificate information from being stolen, and after obtaining the electronic certificate information, the electronic certificate information is also obtained from the blockchain The verification information of the obtained electronic certificate information is verified, and the corresponding business processing is performed after the verification is passed, so as to ensure the authenticity of the electronic certificate information and the integrity of the information used in the business processing. In addition, the blockchain node also needs to obtain the relevant behavioral data of the target user providing the above-mentioned authorization certificate information, the relevant behavioral data of the business processor using the electronic certificate information, and the relevant behavioral data of the certificate data manager changing the electronic certificate information, etc. In this way, the authorization behavior of the target user and the behavior data during the use of electronic credential information are recorded, and the recorded data is prevented from being tampered through the blockchain, and the credibility of the recorded data is guaranteed.
实施例六Example Six
以上为本说明书实施例提供的基于区块链的业务处理方法,基于同样的思路,本说明书实施例还提供一种基于区块链的业务处理装置,如图6所示。The above is the blockchain-based business processing method provided by the embodiment of this specification. Based on the same idea, the embodiment of this specification also provides a blockchain-based business processing device, as shown in FIG. 6.
该基于区块链的业务处理装置包括:证件确定模块601、授权获取模块602、证件信息获取模块603、校验模块604和业务处理模块605,其中:证件确定模块601,根据目标用户的待处理业务,确定所述待处理业务所需的所述目标用户的电子证件信息;授权获取模块602,获取所述目标用户提供的所述电子证件信息的授权用证信息,所述授权用证信息用于为所述待处理业务的业务处理方授予所述电子证件信息的获取权限;证件信息获取模块603,根据所述授权用证信息,从预定证照数据库中获取所述电子证件信息;校验模块604,从区块链中获取所述电子证件信息的校验信息,并根据所述校验信息对获取的所述电子证件信息进行校验;业务处理模块605,如果校验通过,则根据所述电子证件信息对所述待处理业务进行业务处理。The blockchain-based business processing device includes: a credential determination module 601, an authorization acquisition module 602, a credential information acquisition module 603, a verification module 604, and a business processing module 605. The credential determination module 601 is based on the target user’s pending processing Business, determine the electronic certificate information of the target user required by the service to be processed; authorization acquisition module 602, acquire the authorization certificate information of the electronic certificate information provided by the target user, and the authorization certificate information is used To grant the authority to obtain the electronic certificate information for the business processor of the pending business; the certificate information acquisition module 603 obtains the electronic certificate information from a predetermined certificate database according to the authorization certificate information; verification module 604. Obtain the verification information of the electronic certificate information from the blockchain, and verify the acquired electronic certificate information according to the verification information; the business processing module 605, if the verification is passed, then according to the The electronic certificate information performs business processing on the to-be-processed business.
本说明书实施例中,所述授权获取模块602,包括:授权请求单元,向所述目标用户发送所述电子证件信息的授权用证请求;授权获取单元,接收所述目标用户发送的所述授权用证请求对应的授权响应,所述授权响应中包括所述电子证件信息的授权用证信息。In the embodiment of this specification, the authorization acquisition module 602 includes: an authorization request unit, which sends an authorization request for the electronic certificate information to the target user; an authorization acquisition unit, which receives the authorization sent by the target user An authorization response corresponding to the certificate request, where the authorization response includes the authorization certificate information of the electronic certificate information.
本说明书实施例中,所述校验模块604,包括:数字身份获取单元,获取所述目标用户的数字身份信息;哈希值获取单元,从所述区块链中获取所述目标用户的数字身份信息对应的所述电子证件信息的哈希值;比对单元,将获取的所述哈希值与获取的所述电子证件信息对应的哈希值进行比对;校验单元,如果获取的所述哈希值与获取的所述电子证件信息对应的哈希值相同,则校验通过。In the embodiment of this specification, the verification module 604 includes: a digital identity acquisition unit, which acquires the digital identity information of the target user; a hash value acquisition unit, which acquires the target user’s number from the blockchain The hash value of the electronic credential information corresponding to the identity information; a comparing unit, which compares the obtained hash value with the hash value corresponding to the obtained electronic credential information; the verification unit, if it is obtained If the hash value is the same as the hash value corresponding to the acquired electronic certificate information, the verification is passed.
本说明书实施例中,所述装置还包括:数据记录模块,记录对所述待处理业务进行业务处理的过程中与所述电子证件信息相关的行为数据;数据上传模块,将与所述电子证件信息相关的行为数据上传至所述区块链。In the embodiment of this specification, the device further includes: a data recording module, which records behavioral data related to the electronic certificate information in the process of business processing of the service to be processed; a data upload module, which communicates with the electronic certificate Information-related behavior data is uploaded to the blockchain.
本说明书实施例中,所述电子证件信息包括电子身份证件信息、电子社保证件信息、电子结婚证件信息中的一种或多种。In the embodiment of this specification, the electronic certificate information includes one or more of electronic identity certificate information, electronic company guarantee certificate information, and electronic marriage certificate information.
本说明书实施例中,所述授权用证信息包括所述电子证件信息在预定证照数据库中的索引信息。In the embodiment of this specification, the authorization certificate information includes index information of the electronic certificate information in a predetermined certificate database.
本说明书实施例提供一种基于区块链的业务处理装置,在业务处理方通过目标用户提供的电子证件信息的授权用证信息,在预定证照数据库中获取相应的电子证件信息,从而保证目标用户的电子证件信息只有在得到目标用户的授权后才能够获取其使用权限,防止目标用户的电子证件信息被盗用,而且,在获取到电子证件信息后,还从区块链中获取该电子证件信息的校验信息对获取的电子证件信息进行校验,并在校验通过才进行相应的业务处理,从而保证进行业务处理中使用的电子证件信息的真实性和信息的完整性。The embodiment of this specification provides a business processing device based on blockchain. The business processing party obtains the corresponding electronic certificate information from the predetermined certificate database through the authorized certificate information of the electronic certificate information provided by the target user, so as to ensure the target user The electronic certificate information of the target user can only be obtained after the authorization of the target user, to prevent the target user's electronic certificate information from being stolen, and after obtaining the electronic certificate information, the electronic certificate information is also obtained from the blockchain The verification information of the obtained electronic certificate information is verified, and the corresponding business processing is performed only after the verification is passed, thereby ensuring the authenticity of the electronic certificate information and the integrity of the information used in the business processing.
实施例七Example Seven
基于同样的思路,本说明书实施例还提供一种基于区块链的业务处理装置,如图7所示。Based on the same idea, the embodiment of this specification also provides a block chain-based business processing device, as shown in FIG. 7.
该基于区块链的业务处理装置包括:授权提供模块701和数据上传模块702,其中:授权提供模块701,提供待处理业务所需的电子证件信息的授权用证信息,以使业务处理方根据所述授权用证信息从预定证照数据库中获取所述电子证件信息,从区块链中获取所述电子证件信息的校验信息,并根据所述校验信息对获取的所述电子证件信息进行校验,在校验通过时,根据所述电子证件信息执行所述待处理业务对应的业务处理,所述授权用证信息用于为所述业务处理方授予所述电子证件信息的获取权限;数据上传模块702,将提供所述授权用证信息的相关行为数据上传至所述区块链。The blockchain-based service processing device includes: an authorization providing module 701 and a data uploading module 702. The authorization providing module 701 provides the authorization information of the electronic credential information required for the business to be processed, so that the business processor can follow The authorization certificate information obtains the electronic certificate information from a predetermined certificate database, obtains the verification information of the electronic certificate information from the blockchain, and performs the verification on the acquired electronic certificate information according to the verification information. Verification, when the verification is passed, execute the business processing corresponding to the business to be processed according to the electronic credential information, and the authorized credential information is used to grant the business processor the right to obtain the electronic credential information; The data upload module 702 uploads the relevant behavioral data that provides the authorization certificate information to the blockchain.
本说明书实施例中,所述数据上传模块702,包括:数字身份获取单元,获取所述目标用户的数字身份信息;数据上传单元,将提供所述授权用证信息的相关行为数据上传至所述区块链中所述目标用户的数字身份信息下。In the embodiment of this specification, the data upload module 702 includes: a digital identity acquisition unit, which acquires the digital identity information of the target user; a data upload unit, which uploads the relevant behavioral data that provides the authorization certificate information to the Under the digital identity information of the target user mentioned in the blockchain.
本说明书实施例中,所述授权提供模块701,包括:授权请求接收单元,接收待处理业务所需的电子证件信息的授权用证请求;授权响应单元,发送所述授权用证请求对应的授权响应,所述授权响应中包括所述电子证件信息的授权用证信息。In the embodiment of this specification, the authorization providing module 701 includes: an authorization request receiving unit, which receives an authorization request for electronic certificate information required by the business to be processed; an authorization response unit, which sends the authorization corresponding to the authorization request In response, the authorization response includes the authorization certificate information of the electronic certificate information.
本说明书实施例提供一种基于区块链的业务处理装置,在业务处理方通过目标用户提供的电子证件信息的授权用证信息,在预定证照数据库中获取相应的电子证件信息,从而保证目标用户的电子证件信息只有在得到目标用户的授权后才能够获取其使用权限,防止目标用户的电子证件信息被盗用,而且,在获取到电子证件信息后,还从区块链中获取 该电子证件信息的校验信息对获取的电子证件信息进行校验,并在校验通过才进行相应的业务处理,从而保证进行业务处理中使用的电子证件信息的真实性和信息的完整性。此外,目标用户还需要将提供上述授权用证信息的相关行为数据上传至区块链,从而对目标用户的授权行为进行存证,并通过区块链防止上传的数据被篡改,保证存证数据的可信性。The embodiment of this specification provides a business processing device based on blockchain. The business processing party obtains the corresponding electronic certificate information from the predetermined certificate database through the authorized certificate information of the electronic certificate information provided by the target user, so as to ensure the target user The electronic certificate information of the target user can only be obtained after the authorization of the target user, to prevent the target user's electronic certificate information from being stolen, and after obtaining the electronic certificate information, the electronic certificate information is also obtained from the blockchain The verification information of the obtained electronic certificate information is verified, and the corresponding business processing is performed only after the verification is passed, thereby ensuring the authenticity of the electronic certificate information and the integrity of the information used in the business processing. In addition, the target user also needs to upload the relevant behavioral data that provides the above-mentioned authorization certificate information to the blockchain, so as to record the authorization behavior of the target user, and prevent the uploaded data from being tampered through the blockchain to ensure the storage of the certificate data Credibility.
实施例八Example eight
基于同样的思路,本说明书实施例还提供一种基于区块链的业务处理装置,如图8所示。Based on the same idea, the embodiment of this specification also provides a block chain-based business processing device, as shown in FIG. 8.
该基于区块链的业务处理装置包括:第一数据获取模块801、第二数据获取模块802和第三数据获取模块803,其中:第一数据获取模块801,获取目标用户提供待处理业务所需的电子证件信息的授权用证信息的相关行为数据,存储于区块链;其中所述授权用证信息用于为所述待处理业务的业务处理方授予所述电子证件信息的获取权限;第二数据获取模块802,获取业务处理方使用所述电子证件信息中的相关行为数据,存储于区块链,其中,所述使用所述电子证件信息中的相关行为数据是在对所述待处理业务进行业务处理的过程中使用与所述电子证件信息相关的行为数据;第三数据获取模块803,获取证照数据管理方变更所述电子证件信息的相关行为数据,存储于区块链,其中,变更所述电子证件信息的相关行为数据是在检测到所述预定证照数据库中的所述电子证件信息发生变化时产生。The blockchain-based business processing device includes: a first data acquisition module 801, a second data acquisition module 802, and a third data acquisition module 803. Among them: the first data acquisition module 801 acquires the target user's needs to provide services to be processed The relevant behavioral data of the electronic credential information authorized to use the credential information is stored in the blockchain; wherein the authorized credential information is used to grant the business processor of the pending business the right to obtain the electronic credential information; 2. The data acquisition module 802, which acquires the relevant behavioral data in the electronic credential information used by the business processor, and stores it in the blockchain, wherein the related behavioral data in the electronic credential information is used for the processing of the The behavioral data related to the electronic credential information is used in the process of business processing; the third data acquisition module 803 obtains the related behavioral data of the license data management party to change the electronic credential information, and stores it in the blockchain, where: The related behavioral data of changing the electronic certificate information is generated when it is detected that the electronic certificate information in the predetermined certificate database has changed.
本说明书实施例中,所述装置还包括:第四数据获取模块,获取经所述证照数据管理方加密处理的所述电子证件信息,存储于区块链中;和/或,第五数据获取模块,获取所述证照数据管理方提供的所述目标用户的文件数据的校验信息,存储于区块链中。In the embodiment of this specification, the device further includes: a fourth data acquisition module, which acquires the electronic certificate information encrypted by the license data manager and stores it in the blockchain; and/or, the fifth data acquisition The module obtains the verification information of the target user's file data provided by the license data management party, and stores it in the blockchain.
本说明书实施例中,所述第二数据获取模块802,在对所述待处理业务进行业务处理中,基于预先部署的智能合约,触发所述证照数据管理方上传所述业务处理方使用所述电子证件信息中的相关行为数据。In the embodiment of this specification, the second data acquisition module 802 triggers the license data management party to upload the business processing party to use the business processing party based on a pre-deployed smart contract in the business processing of the business to be processed Relevant behavioral data in the electronic certificate information.
本说明书实施例中,所述变更所述电子证件信息的相关行为数据是基于预先部署的智能合约确定预定证照数据库中的所述电子证件信息发生变化时产生。In the embodiment of this specification, the relevant behavioral data for changing the electronic certificate information is generated when the electronic certificate information in the predetermined certificate database is changed based on a pre-deployed smart contract.
本说明书实施例提供一种基于区块链的业务处理装置,在业务处理方通过目标用户提供的电子证件信息的授权用证信息,在预定证照数据库中获取相应的电子证件信息,从而保证目标用户的电子证件信息只有在得到目标用户的授权后才能够获取其使用权限,防止目标用户的电子证件信息被盗用,而且,在业务处理方获取到电子证件信息后,区块链还提供该电子证件信息的校验信息,以对获取的电子证件信息进行校验,并在校验通过后 业务处理方才进行相应的业务处理,从而保证进行业务处理中使用的电子证件信息的真实性和信息的完整性。此外,区块链节点还需要获取目标用户提供上述授权用证信息的相关行为数据、业务处理方使用该电子证件信息中的相关行为数据和证照数据管理方变更该电子证件信息的相关行为数据等,从而对目标用户的授权行为、电子证件信息使用过程中的行为数据进行存证,并通过区块链防止存证的数据被篡改,保证存证数据的可信性。The embodiment of this specification provides a business processing device based on blockchain. The business processing party obtains the corresponding electronic certificate information from the predetermined certificate database through the authorized certificate information of the electronic certificate information provided by the target user, so as to ensure the target user Only after obtaining the authorization of the target user, can the electronic certificate information of the target user be authorized to use the target user’s electronic certificate information to prevent the target user’s electronic certificate information from being embezzled. Moreover, after the business processor obtains the electronic certificate information, the blockchain also provides the electronic certificate Information verification information to verify the acquired electronic credential information, and the business processing will only proceed with the corresponding business processing after the verification is passed, so as to ensure the authenticity and completeness of the electronic credential information used in the business processing Sex. In addition, the blockchain node also needs to obtain the relevant behavioral data of the target user to provide the above-mentioned authorized certificate information, the relevant behavioral data of the business processor using the electronic certificate information, and the relevant behavioral data of the license data manager to change the electronic certificate information, etc. In this way, the authorization behavior of the target user and the behavior data during the use of electronic certificate information are recorded, and the stored data is prevented from being tampered through the blockchain, and the credibility of the stored data is guaranteed.
实施例九Example 9
以上为本说明书实施例提供的基于区块链的业务处理装置,基于同样的思路,本说明书实施例还提供一种基于区块链的业务处理设备,如图9所示。The above is the blockchain-based business processing device provided by the embodiment of this specification. Based on the same idea, the embodiment of this specification also provides a blockchain-based business processing device, as shown in FIG. 9.
所述基于区块链的业务处理设备可以为上述实施例提供的业务处理方的终端设备,业务处理方的终端设备可以是基于区块链对某一项或多项业务进行处理的一方的设备等,具体如政务服务平台(可以包括如一网通办平台、权力运行平台、政务服务网站等)的终端设备,该终端设备可以提供多种服务,并可以为用户办理与各个服务相应的业务,如教育服务、住建服务、民政服务、执业资格服务等。The blockchain-based business processing device may be the terminal device of the business processor provided in the above embodiment, and the terminal device of the business processor may be the device of the party that processes one or more services based on the blockchain Etc., such as the terminal equipment of government service platform (which can include such as a network communication platform, power operation platform, government service website, etc.), which can provide a variety of services, and can handle services corresponding to each service for users, such as Educational services, housing construction services, civil affairs services, qualification services, etc.
基于区块链的业务处理设备可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上的处理器901和存储器902,存储器902中可以存储有一个或一个以上存储应用程序或数据。其中,存储器902可以是短暂存储或持久存储。存储在存储器902的应用程序可以包括一个或一个以上模块(图示未示出),每个模块可以包括对基于区块链的业务处理设备中的一系列计算机可执行指令。更进一步地,处理器901可以设置为与存储器902通信,在基于区块链的业务处理设备上执行存储器902中的一系列计算机可执行指令。基于区块链的业务处理设备还可以包括一个或一个以上电源903,一个或一个以上有线或无线网络接口904,一个或一个以上输入输出接口905,一个或一个以上键盘906。Blockchain-based business processing equipment may have relatively large differences due to different configurations or performances, and may include one or more processors 901 and memory 902. The memory 902 may store one or more storage applications or data . Among them, the memory 902 may be short-term storage or persistent storage. The application program stored in the memory 902 may include one or more modules (not shown in the figure), and each module may include a series of computer-executable instructions for a blockchain-based business processing device. Furthermore, the processor 901 may be configured to communicate with the memory 902, and execute a series of computer-executable instructions in the memory 902 on a blockchain-based business processing device. The blockchain-based business processing equipment may also include one or more power supplies 903, one or more wired or wireless network interfaces 904, one or more input and output interfaces 905, and one or more keyboards 906.
具体在本实施例中,基于区块链的业务处理设备包括有存储器,以及一个或一个以上的程序,其中一个或者一个以上程序存储于存储器中,且一个或者一个以上程序可以包括一个或一个以上模块,且每个模块可以包括对基于区块链的业务处理设备中的一系列计算机可执行指令,且经配置以由一个或者一个以上处理器执行该一个或者一个以上程序包含用于进行以下计算机可执行指令:根据目标用户的待处理业务,确定所述待处理业务所需的所述目标用户的电子证件信息;获取所述目标用户提供的所述电子证件信息的授权用证信息,所述授权用证信息用于为所述待处理业务的业务处理方授予所述电子证件信息的获取权限;根据所述授权用证信息,从预定证照数据库中获取所述电子证件信息;从区块 链中获取所述电子证件信息的校验信息,并根据所述校验信息对获取的所述电子证件信息进行校验;如果校验通过,则根据所述电子证件信息对所述待处理业务进行业务处理。Specifically, in this embodiment, the blockchain-based business processing equipment includes a memory and one or more programs. One or more programs are stored in the memory, and one or more programs may include one or more programs. Modules, and each module may include a series of computer-executable instructions for a blockchain-based business processing device, and is configured to be executed by one or more processors. The one or more programs include a computer for performing the following Executable instructions: determine the electronic credential information of the target user required for the business to be processed according to the business to be processed of the target user; obtain the authorization certificate information of the electronic credential information provided by the target user, the The authorization certificate information is used to grant the business processor of the pending business the right to obtain the electronic certificate information; according to the authorization certificate information, the electronic certificate information is obtained from a predetermined certificate database; from the blockchain The verification information of the electronic certificate information is obtained in the, and the obtained electronic certificate information is verified according to the verification information; if the verification is passed, the pending business is performed according to the electronic certificate information Business processing.
本说明书实施例中,所述获取所述目标用户提供的所述电子证件信息的授权用证信息,包括:向所述目标用户发送所述电子证件信息的授权用证请求;接收所述目标用户发送的所述授权用证请求对应的授权响应,所述授权响应中包括所述电子证件信息的授权用证信息。In the embodiment of this specification, the obtaining the authorization certificate information of the electronic certificate information provided by the target user includes: sending the authorization certificate request of the electronic certificate information to the target user; receiving the target user The sent authorization response corresponding to the authorization use certificate request includes the authorization use certificate information of the electronic certificate information.
本说明书实施例中,所述从区块链中获取所述电子证件信息的校验信息,并根据所述校验信息对获取的所述电子证件信息进行校验,包括:获取所述目标用户的数字身份信息;从所述区块链中获取所述目标用户的数字身份信息对应的所述电子证件信息的哈希值;In the embodiment of this specification, acquiring the verification information of the electronic certificate information from the blockchain and verifying the acquired electronic certificate information according to the verification information includes: acquiring the target user的 digital identity information; obtain the hash value of the electronic certificate information corresponding to the digital identity information of the target user from the blockchain;
将获取的所述哈希值与获取的所述电子证件信息对应的哈希值进行比对;如果获取的所述哈希值与获取的所述电子证件信息对应的哈希值相同,则校验通过。The obtained hash value is compared with the hash value corresponding to the obtained electronic certificate information; if the obtained hash value is the same as the hash value corresponding to the obtained electronic certificate information, check Passed the test.
本说明书实施例中,还包括:记录对所述待处理业务进行业务处理的过程中与所述电子证件信息相关的行为数据;将与所述电子证件信息相关的行为数据上传至所述区块链。In the embodiment of this specification, it further includes: recording the behavioral data related to the electronic credential information in the process of business processing of the to-be-processed business; uploading the behavioral data related to the electronic credential information to the block chain.
本说明书实施例中,所述电子证件信息包括电子身份证件信息、电子社保证件信息、电子结婚证件信息中的一种或多种。In the embodiment of this specification, the electronic certificate information includes one or more of electronic identity certificate information, electronic company guarantee certificate information, and electronic marriage certificate information.
本说明书实施例中,所述授权用证信息包括所述电子证件信息在预定证照数据库中的索引信息。In the embodiment of this specification, the authorization certificate information includes index information of the electronic certificate information in a predetermined certificate database.
此外,所述基于区块链的业务处理设备还可以为上述实施例提供的目标用户的终端设备。In addition, the block chain-based service processing device may also be the terminal device of the target user provided in the foregoing embodiment.
具体在本实施例中,基于区块链的业务处理设备包括有存储器,以及一个或一个以上的程序,其中一个或者一个以上程序存储于存储器中,且一个或者一个以上程序可以包括一个或一个以上模块,且每个模块可以包括对基于区块链的业务处理设备中的一系列计算机可执行指令,且经配置以由一个或者一个以上处理器执行该一个或者一个以上程序包含用于进行以下计算机可执行指令:提供待处理业务所需的电子证件信息的授权用证信息,以使业务处理方根据所述授权用证信息从预定证照数据库中获取所述电子证件信息,从区块链中获取所述电子证件信息的校验信息,并根据所述校验信息对获取的所述电子证件信息进行校验,在校验通过时,根据所述电子证件信息执行所述待处理业务对应的业务处理,所述授权用证信息用于为所述待处理业务的业务处理方授予所述电子证件信息的获取权限; 将提供所述授权用证信息的相关行为数据上传至所述区块链。Specifically, in this embodiment, the blockchain-based business processing equipment includes a memory and one or more programs. One or more programs are stored in the memory, and one or more programs may include one or more programs. Modules, and each module may include a series of computer-executable instructions for a blockchain-based business processing device, and is configured to be executed by one or more processors. The one or more programs include a computer for performing the following Executable instructions: provide the authorization certificate information of the electronic certificate information required for the business to be processed, so that the business processor can obtain the electronic certificate information from the predetermined certificate database according to the authorization certificate information, and obtain it from the blockchain The verification information of the electronic credential information, and verify the acquired electronic credential information according to the verification information, and when the verification is passed, execute the business corresponding to the to-be-processed business based on the electronic credential information Processing, the authorization certificate information is used to grant the business processor of the service to be processed the right to obtain the electronic certificate information; upload the relevant behavioral data that provides the authorization certificate information to the blockchain.
本说明书实施例中,所述将提供所述授权用证信息的相关行为数据上传至所述区块链,包括:获取所述目标用户的数字身份信息;将提供所述授权用证信息的相关行为数据上传至所述区块链中所述目标用户的数字身份信息下。In the embodiment of this specification, uploading relevant behavioral data of providing the authorization certificate information to the blockchain includes: obtaining the digital identity information of the target user; and providing relevant information about the authorization certificate information The behavior data is uploaded to the digital identity information of the target user in the blockchain.
本说明书实施例中,所述提供待处理业务所需的电子证件信息的授权用证信息,包括:接收待处理业务所需的电子证件信息的授权用证请求;发送所述授权用证请求对应的授权响应,所述授权响应中包括所述电子证件信息的授权用证信息。In the embodiment of this specification, the authorization certificate information that provides the electronic certificate information required by the service to be processed includes: receiving the authorization certificate request for the electronic certificate information required by the service to be processed; sending the corresponding authorization certificate request The authorization response includes the authorization certificate information of the electronic certificate information.
本说明书实施例提供一种基于区块链的业务处理设备,在业务处理方通过目标用户提供的电子证件信息的授权用证信息,在预定证照数据库中获取相应的电子证件信息,从而保证目标用户的电子证件信息只有在得到目标用户的授权后才能够获取其使用权限,防止目标用户的电子证件信息被盗用,而且,在获取到电子证件信息后,还从区块链中获取该电子证件信息的校验信息对获取的电子证件信息进行校验,并在校验通过才进行相应的业务处理,从而保证进行业务处理中使用的电子证件信息的真实性和信息的完整性。此外,目标用户还需要将提供上述授权用证信息的相关行为数据上传至区块链,从而对目标用户的授权行为进行存证,并通过区块链防止上传的数据被篡改,保证存证数据的可信性。The embodiment of this specification provides a business processing device based on blockchain. The business processing party obtains the corresponding electronic certificate information from the predetermined certificate database through the authorized certificate information of the electronic certificate information provided by the target user, so as to ensure the target user The electronic certificate information of the target user can only be obtained after the authorization of the target user, to prevent the target user's electronic certificate information from being stolen, and after obtaining the electronic certificate information, the electronic certificate information is also obtained from the blockchain The verification information of the obtained electronic certificate information is verified, and the corresponding business processing is performed only after the verification is passed, thereby ensuring the authenticity of the electronic certificate information and the integrity of the information used in the business processing. In addition, the target user also needs to upload the relevant behavioral data that provides the above-mentioned authorization certificate information to the blockchain, so as to record the authorization behavior of the target user, and prevent the uploaded data from being tampered through the blockchain to ensure the storage of the certificate data Credibility.
实施例十Example ten
基于同样的思路,本说明书实施例还提供一种基于区块链的业务处理设备,如图10所示。Based on the same idea, the embodiment of this specification also provides a blockchain-based business processing device, as shown in FIG. 10.
所述基于区块链的业务处理设备可以为上述实施例提供的区块链节点。The block chain-based business processing device may be the block chain node provided in the foregoing embodiment.
基于区块链的业务处理设备可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上的处理器1001和存储器1002,存储器1002中可以存储有一个或一个以上存储应用程序或数据。其中,存储器1002可以是短暂存储或持久存储。存储在存储器1002的应用程序可以包括一个或一个以上模块(图示未示出),每个模块可以包括对基于区块链的业务处理设备中的一系列计算机可执行指令。更进一步地,处理器1001可以设置为与存储器1002通信,在基于区块链的业务处理设备上执行存储器1002中的一系列计算机可执行指令。基于区块链的业务处理设备还可以包括一个或一个以上电源1003,一个或一个以上有线或无线网络接口1004,一个或一个以上输入输出接口1005,一个或一个以上键盘1006。Blockchain-based business processing equipment may have relatively large differences due to different configurations or performances, and may include one or more processors 1001 and memory 1002, and the memory 1002 may store one or more storage applications or data . Among them, the memory 1002 may be short-term storage or persistent storage. The application program stored in the memory 1002 may include one or more modules (not shown in the figure), and each module may include a series of computer-executable instructions for the blockchain-based business processing equipment. Furthermore, the processor 1001 may be configured to communicate with the memory 1002, and execute a series of computer-executable instructions in the memory 1002 on a business processing device based on the blockchain. The blockchain-based business processing equipment may also include one or more power supplies 1003, one or more wired or wireless network interfaces 1004, one or more input and output interfaces 1005, and one or more keyboards 1006.
具体在本实施例中,基于区块链的业务处理设备包括有存储器,以及一个或一个以上的程序,其中一个或者一个以上程序存储于存储器中,且一个或者一个以上程序可以包括一个或一个以上模块,且每个模块可以包括对基于区块链的业务处理设备中的一系列计算机可执行指令,且经配置以由一个或者一个以上处理器执行该一个或者一个以上程序包含用于进行以下计算机可执行指令:获取目标用户提供待处理业务所需的电子证件信息的授权用证信息的相关行为数据,存储于区块链;其中所述授权用证信息用于为所述待处理业务的业务处理方授予所述电子证件信息的获取权限;获取所述业务处理方使用所述电子证件信息中的相关行为数据,存储于区块链,其中,所述使用所述电子证件信息中的相关行为数据是在对所述待处理业务进行业务处理的过程中使用与所述电子证件信息相关的行为数据;获取证照数据管理方变更所述电子证件信息的相关行为数据,存储于区块链,其中,变更所述电子证件信息的相关行为数据是在检测到所述预定证照数据库中的所述电子证件信息发生变化时产生。Specifically, in this embodiment, the blockchain-based business processing equipment includes a memory and one or more programs. One or more programs are stored in the memory, and one or more programs may include one or more programs. Modules, and each module may include a series of computer-executable instructions for a blockchain-based business processing device, and is configured to be executed by one or more processors. The one or more programs include a computer for performing the following Executable instructions: Obtain the relevant behavioral data of the authorization certificate information of the electronic certificate information required by the target user to provide the service to be processed, and store it in the blockchain; wherein the authorization certificate information is used for the service of the service to be processed The processing party grants the authority to obtain the electronic certificate information; obtains the relevant behavior data in the use of the electronic certificate information by the business processor, and stores it in the blockchain, where the relevant behavior in the use of the electronic certificate information The data is the behavioral data related to the electronic certificate information used in the business processing of the pending business; the behavioral data related to the change of the electronic certificate information by the license data manager is obtained and stored in the blockchain, where , The behavior data related to changing the electronic certificate information is generated when the electronic certificate information in the predetermined certificate database is changed.
本说明书实施例中,还包括:获取经所述证照数据管理方加密处理的所述电子证件信息,存储于区块链中;和/或,获取所述证照数据管理方提供的所述目标用户的文件数据的校验信息,存储于区块链中。In the embodiment of this specification, it further includes: obtaining the electronic certificate information encrypted by the license data manager and storing it in the blockchain; and/or, obtaining the target user provided by the license data manager The verification information of the file data is stored in the blockchain.
本说明书实施例中,所述获取业务处理方使用所述电子证件信息中的相关行为数据,包括:在对所述待处理业务进行业务处理中,基于预先部署的智能合约,触发所述证照数据管理方上传所述业务处理方使用所述电子证件信息中的相关行为数据。In the embodiment of this specification, the obtaining the relevant behavioral data in the electronic certificate information used by the service processor includes: in the service processing of the service to be processed, triggering the certificate data based on a pre-deployed smart contract The management party uploads the relevant behavioral data in the use of the electronic certificate information by the business processor.
本说明书实施例中,所述变更所述电子证件信息的相关行为数据是基于预先部署的智能合约确定预定证照数据库中的所述电子证件信息发生变化时产生。In the embodiment of this specification, the relevant behavioral data for changing the electronic certificate information is generated when the electronic certificate information in the predetermined certificate database is changed based on a pre-deployed smart contract.
本说明书实施例提供一种基于区块链的业务处理设备,在业务处理方通过目标用户提供的电子证件信息的授权用证信息,在预定证照数据库中获取相应的电子证件信息,从而保证目标用户的电子证件信息只有在得到目标用户的授权后才能够获取其使用权限,防止目标用户的电子证件信息被盗用,而且,在业务处理方获取到电子证件信息后,区块链还提供该电子证件信息的校验信息,以对获取的电子证件信息进行校验,并在校验通过后业务处理方才进行相应的业务处理,从而保证进行业务处理中使用的电子证件信息的真实性和信息的完整性。此外,区块链节点还需要获取目标用户提供上述授权用证信息的相关行为数据、业务处理方使用该电子证件信息中的相关行为数据和证照数据管理方变更该电子证件信息的相关行为数据等,从而对目标用户的授权行为、电子证件信息使用过程中的 行为数据进行存证,并通过区块链防止存证的数据被篡改,保证存证数据的可信性。The embodiment of this specification provides a business processing device based on blockchain. The business processing party obtains the corresponding electronic certificate information from the predetermined certificate database through the authorized certificate information of the electronic certificate information provided by the target user, so as to ensure the target user Only after obtaining the authorization of the target user, can the electronic certificate information of the target user be authorized to use the target user’s electronic certificate information to prevent the target user’s electronic certificate information from being embezzled. Moreover, after the business processor obtains the electronic certificate information, the blockchain also provides the electronic certificate Information verification information to verify the acquired electronic credential information, and the business processing will only proceed with the corresponding business processing after the verification is passed, so as to ensure the authenticity and completeness of the electronic credential information used in the business processing Sex. In addition, the blockchain node also needs to obtain the relevant behavioral data of the target user to provide the above-mentioned authorized certificate information, the relevant behavioral data of the business processor using the electronic certificate information, and the relevant behavioral data of the license data manager to change the electronic certificate information, etc. In this way, the authorization behavior of the target user and the behavior data during the use of electronic certificate information are recorded, and the stored data is prevented from being tampered through the blockchain, and the credibility of the stored data is guaranteed.
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing describes specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps described in the claims can be performed in a different order than in the embodiments and still achieve desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or sequential order shown in order to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable Gate Array,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。In the 1990s, the improvement of a technology can be clearly distinguished between hardware improvements (for example, improvements in circuit structures such as diodes, transistors, switches, etc.) or software improvements (improvements in method flow). However, with the development of technology, the improvement of many methods and processes of today can be regarded as a direct improvement of the hardware circuit structure. Designers almost always get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be realized by the hardware entity module. For example, a programmable logic device (Programmable Logic Device, PLD) (such as a Field Programmable Gate Array (Field Programmable Gate Array, FPGA)) is such an integrated circuit whose logic function is determined by the user's programming of the device. It is programmed by the designer to "integrate" a digital system on a piece of PLD, without requiring chip manufacturers to design and manufacture dedicated integrated circuit chips. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly realized with "logic compiler" software, which is similar to the software compiler used in program development and writing, but before compilation The original code must also be written in a specific programming language, which is called Hardware Description Language (HDL), and there is not only one type of HDL, but many types, such as ABEL (Advanced Boolean Expression Language) , AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description), etc., currently most commonly used It is VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. It should also be clear to those skilled in the art that just a little bit of logic programming of the method flow in the above-mentioned hardware description languages and programming into an integrated circuit can easily obtain the hardware circuit that implements the logic method flow.
控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控 制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。The controller can be implemented in any suitable manner. For example, the controller can take the form of, for example, a microprocessor or a processor and a computer-readable medium storing computer-readable program codes (such as software or firmware) executable by the (micro)processor. , Logic gates, switches, application specific integrated circuits (ASICs), programmable logic controllers and embedded microcontrollers. Examples of controllers include but are not limited to the following microcontrollers: ARC625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicon Labs C8051F320, the memory controller can also be implemented as part of the memory control logic. Those skilled in the art also know that, in addition to implementing the controller in a purely computer-readable program code manner, it is entirely possible to program the method steps to make the controller use logic gates, switches, application specific integrated circuits, programmable logic controllers and embedded The same function can be realized in the form of a microcontroller, etc. Therefore, such a controller can be regarded as a hardware component, and the devices included in it for realizing various functions can also be regarded as a structure within the hardware component. Or even, the device for realizing various functions can be regarded as both a software module for realizing the method and a structure within a hardware component.
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。The systems, devices, modules, or units illustrated in the above embodiments may be specifically implemented by computer chips or entities, or implemented by products with certain functions. A typical implementation device is a computer. Specifically, the computer can be, for example, a personal computer, a laptop computer, a cell phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or Any combination of these devices.
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本说明书一个或多个实施例时可以把各单元的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, when describing the above device, the functions are divided into various units and described separately. Of course, when implementing one or more embodiments of this specification, the functions of each unit may be implemented in the same one or more software and/or hardware.
本领域内的技术人员应明白,本说明书的实施例可提供为方法、系统、或计算机程序产品。因此,本说明书一个或多个实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本说明书一个或多个实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of this specification can be provided as a method, a system, or a computer program product. Therefore, one or more embodiments of this specification may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, one or more embodiments of this specification may adopt computer programs implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. The form of the product.
本说明书的实施例是参照根据本说明书实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程基于区块链的业务处理设备的处理器以产生一个机器,使得通过计算机或其他可编程基于区块链的业务处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The embodiments of this specification are described with reference to flowcharts and/or block diagrams of methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and/or block in the flowchart and/or block diagram, and the combination of processes and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions can be provided to general-purpose computers, special-purpose computers, embedded processors or other programmable blockchain-based business processing equipment processors to generate a machine, so that the computer or other programmable blockchain-based business The instructions executed by the processor of the processing device generate means for implementing the functions specified in one or more processes in the flowchart and/or one or more blocks in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程基于区块链的业务处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable blockchain-based business processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory generate instructions that include the instruction device. For manufactured products, the instruction device realizes the functions specified in one or more processes in the flowchart and/or one or more blocks in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程基于区块链的业务处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable blockchain-based business processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so that the computer or other programmable The instructions executed on the programming device provide steps for implementing functions specified in one or more processes in the flowchart and/or one block or more in the block diagram.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, the computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。The memory may include non-permanent memory in computer readable media, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of computer readable media.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media include permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or equipment including a series of elements not only includes those elements, but also includes Other elements that are not explicitly listed, or also include elements inherent to such processes, methods, commodities, or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, commodity, or equipment that includes the element.
本领域技术人员应明白,本说明书的实施例可提供为方法、系统或计算机程序产品。因此,本说明书一个或多个实施例可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本说明书一个或多个实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of this specification can be provided as a method, a system or a computer program product. Therefore, one or more embodiments of this specification may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, one or more embodiments of this specification may adopt computer programs implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. The form of the product.
本说明书一个或多个实施例可以在由计算机执行的计算机可执行指令的一般上下 文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本说明书一个或多个实施例,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。One or more embodiments of this specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. One or more embodiments of this specification can also be practiced in distributed computing environments. In these distributed computing environments, tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.
以上所述仅为本说明书的实施例而已,并不用于限制本说明书。对于本领域技术人员来说,本说明书可以有各种更改和变化。凡在本说明书的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本说明书的权利要求范围之内。The above descriptions are only examples of this specification, and are not intended to limit this specification. For those skilled in the art, this specification can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this specification shall be included in the scope of the claims of this specification.

Claims (19)

  1. 一种基于区块链的业务处理方法,所述方法包括:A business processing method based on blockchain, the method comprising:
    根据目标用户的待处理业务,确定所述待处理业务所需的所述目标用户的电子证件信息;Determine the electronic credential information of the target user required by the service to be processed according to the service to be processed of the target user;
    获取所述目标用户提供的所述电子证件信息的授权用证信息,所述授权用证信息用于为所述待处理业务的业务处理方授予所述电子证件信息的获取权限;Obtaining the authorization certificate information of the electronic certificate information provided by the target user, where the authorization certificate information is used to grant the business processor of the service to be processed the right to obtain the electronic certificate information;
    根据所述授权用证信息,从预定证照数据库中获取所述电子证件信息;Acquire the electronic certificate information from a predetermined certificate database according to the authorization certificate information;
    从区块链中获取所述电子证件信息的校验信息,并根据所述校验信息对获取的所述电子证件信息进行校验;Acquiring the verification information of the electronic certificate information from the blockchain, and verifying the acquired electronic certificate information according to the verification information;
    如果校验通过,则根据所述电子证件信息对所述待处理业务进行业务处理。If the verification is passed, business processing is performed on the to-be-processed business according to the electronic certificate information.
  2. 根据权利要求1所述的方法,所述获取所述目标用户提供的所述电子证件信息的授权用证信息,包括:The method according to claim 1, wherein said obtaining the authorization certificate information of the electronic certificate information provided by the target user comprises:
    向所述目标用户发送所述电子证件信息的授权用证请求;Sending the authorization request for the electronic certificate information to the target user;
    接收所述目标用户发送的所述授权用证请求对应的授权响应,所述授权响应中包括所述电子证件信息的授权用证信息。Receiving an authorization response corresponding to the authorization certificate request sent by the target user, where the authorization response includes the authorization certificate information of the electronic certificate information.
  3. 根据权利要求1或2所述的方法,所述从区块链中获取所述电子证件信息的校验信息,并根据所述校验信息对获取的所述电子证件信息进行校验,包括:The method according to claim 1 or 2, wherein the obtaining verification information of the electronic certificate information from the blockchain, and verifying the obtained electronic certificate information according to the verification information, comprises:
    获取所述目标用户的数字身份信息;Acquiring the digital identity information of the target user;
    从所述区块链中获取所述目标用户的数字身份信息对应的所述电子证件信息的哈希值;Obtaining the hash value of the electronic certificate information corresponding to the digital identity information of the target user from the blockchain;
    将获取的所述哈希值与获取的所述电子证件信息对应的哈希值进行比对;Comparing the obtained hash value with the obtained hash value corresponding to the electronic certificate information;
    如果获取的所述哈希值与获取的所述电子证件信息对应的哈希值相同,则校验通过。If the obtained hash value is the same as the hash value corresponding to the obtained electronic certificate information, the verification is passed.
  4. 根据权利要求3所述的方法,所述方法还包括:The method according to claim 3, further comprising:
    记录对所述待处理业务进行业务处理的过程中与所述电子证件信息相关的行为数据;Record the behavioral data related to the electronic certificate information in the process of business processing of the business to be processed;
    将与所述电子证件信息相关的行为数据上传至所述区块链。Upload the behavior data related to the electronic certificate information to the blockchain.
  5. 根据权利要求4所述的方法,所述电子证件信息包括电子身份证件信息、电子社保证件信息、电子结婚证件信息中的一种或多种。The method according to claim 4, wherein the electronic certificate information includes one or more of electronic identity certificate information, electronic corporate guarantee certificate information, and electronic marriage certificate information.
  6. 根据权利要求5所述的方法,所述授权用证信息包括所述电子证件信息在预定证照数据库中的索引信息。The method according to claim 5, wherein the authorization certificate information includes index information of the electronic certificate information in a predetermined certificate database.
  7. 一种基于区块链的业务处理方法,所述方法包括:A business processing method based on blockchain, the method comprising:
    提供待处理业务所需的电子证件信息的授权用证信息,以使业务处理方根据所述授权用证信息从预定证照数据库中获取所述电子证件信息,从区块链中获取所述电子证件信息的校验信息,并根据所述校验信息对获取的所述电子证件信息进行校验,在校验通过时,根据所述电子证件信息执行所述待处理业务对应的业务处理,所述授权用证信息用于为所述业务处理方授予所述电子证件信息的获取权限;Provide the authorization certificate information of the electronic certificate information required by the business to be processed, so that the business processor can obtain the electronic certificate information from a predetermined certificate database according to the authorization certificate information, and obtain the electronic certificate from the blockchain And verify the acquired electronic credential information according to the verification information, and when the verification is passed, execute the business processing corresponding to the pending business according to the electronic credential information, the The authorization certificate information is used to grant the business processor the right to obtain the electronic certificate information;
    将提供所述授权用证信息的相关行为数据上传至所述区块链。Upload the relevant behavioral data that provides the authorization certificate information to the blockchain.
  8. 根据权利要求7所述的方法,所述将提供所述授权用证信息的相关行为数据上传至所述区块链,包括:The method according to claim 7, wherein the uploading of relevant behavioral data for providing the authorization certificate information to the blockchain includes:
    获取所述目标用户的数字身份信息;Acquiring the digital identity information of the target user;
    将提供所述授权用证信息的相关行为数据上传至所述区块链中所述目标用户的数字身份信息下。Upload the relevant behavioral data that provides the authorization certificate information to the digital identity information of the target user in the blockchain.
  9. 根据权利要求7所述的方法,所述提供待处理业务所需的电子证件信息的授权用证信息,包括:The method according to claim 7, wherein said providing the electronic certificate information required by the service to be processed includes:
    接收待处理业务所需的电子证件信息的授权用证请求;Receive the authorization request for the electronic certificate information required for the business to be processed;
    发送所述授权用证请求对应的授权响应,所述授权响应中包括所述电子证件信息的授权用证信息。Send the authorization response corresponding to the authorization request, where the authorization response includes the authorization certificate information of the electronic certificate information.
  10. 一种基于区块链的业务处理方法,应用于区块链节点,所述方法包括:A business processing method based on blockchain, applied to blockchain nodes, and the method includes:
    获取目标用户提供待处理业务所需的电子证件信息的授权用证信息的相关行为数据,存储于区块链;其中所述授权用证信息用于为所述待处理业务的业务处理方授予所述电子证件信息的获取权限;Obtain the relevant behavioral data of the authorization certificate information of the electronic certificate information required by the target user to provide the service to be processed, and store it in the blockchain; wherein the authorization certificate information is used to grant the company to the business processor of the service to be processed State the authority to obtain electronic certificate information;
    获取所述业务处理方使用所述电子证件信息中的相关行为数据,存储于区块链,其中,所述使用所述电子证件信息中的相关行为数据是对所述待处理业务进行业务处理的过程中与所述电子证件信息相关的行为数据;Obtain the relevant behavioral data in the use of the electronic credential information by the business processor, and store it in the blockchain, where the relevant behavioral data in the use of the electronic credential information is used to process the business to be processed Behavioral data related to the electronic certificate information in the process;
    获取证照数据管理方变更所述电子证件信息的相关行为数据,存储于区块链,其中,变更所述电子证件信息的相关行为数据是在检测到所述预定证照数据库中的所述电子证件信息发生变化时产生。Obtain the relevant behavioral data of the license data management party to change the electronic certificate information, and store it in the blockchain, where the relevant behavioral data for changing the electronic certificate information is detected when the electronic certificate information in the predetermined license database is detected Produced when there is a change.
  11. 根据权利要求10所述的方法,所述方法还包括:The method according to claim 10, further comprising:
    获取经所述证照数据管理方加密处理的所述电子证件信息,存储于区块链中;和/或,Obtain the electronic certificate information encrypted by the license data manager and store it in the blockchain; and/or,
    获取所述证照数据管理方提供的所述目标用户的文件数据的校验信息,存储于区块链中。Obtain the verification information of the target user's file data provided by the license data manager, and store it in the blockchain.
  12. 根据权利要求10所述的方法,所述获取业务处理方使用所述电子证件信息中的相关行为数据,包括:The method according to claim 10, said obtaining the relevant behavioral data in the use of the electronic credential information by the service processor comprises:
    在对所述待处理业务进行业务处理中,基于预先部署的智能合约,触发所述证照数据管理方上传所述业务处理方使用所述电子证件信息中的相关行为数据。In the business processing of the to-be-processed business, based on a pre-deployed smart contract, the license data manager is triggered to upload the relevant behavior data in the electronic credential information used by the business processor.
  13. 根据权利要求10所述的方法,所述变更所述电子证件信息的相关行为数据是基于预先部署的智能合约确定预定证照数据库中的所述电子证件信息发生变化时产生。The method according to claim 10, wherein the related behavioral data for changing the electronic certificate information is generated when the electronic certificate information in the predetermined certificate database is changed based on a pre-deployed smart contract.
  14. 一种基于区块链的业务处理装置,所述装置包括:A business processing device based on blockchain, the device comprising:
    证件确定模块,根据目标用户的待处理业务,确定所述待处理业务所需的所述目标用户的电子证件信息;The credential determination module determines the electronic credential information of the target user required by the business to be processed according to the business to be processed of the target user;
    授权获取模块,获取所述目标用户提供的所述电子证件信息的授权用证信息,所述授权用证信息用于为所述待处理业务的业务处理方授予所述电子证件信息的获取权限;An authorization obtaining module, which obtains the authorization certificate information of the electronic certificate information provided by the target user, and the authorization certificate information is used to grant the business processor of the service to be processed the right to obtain the electronic certificate information;
    证件信息获取模块,根据所述授权用证信息,从预定证照数据库中获取所述电子证件信息;A credential information acquiring module, which acquires the electronic credential information from a predetermined credential database according to the authorized credential information;
    校验模块,从区块链中获取所述电子证件信息的校验信息,并根据所述校验信息对获取的所述电子证件信息进行校验;A verification module, which obtains the verification information of the electronic certificate information from the blockchain, and verifies the acquired electronic certificate information according to the verification information;
    业务处理模块,如果校验通过,则根据所述电子证件信息对所述待处理业务进行业务处理。The business processing module, if the verification is passed, performs business processing on the to-be-processed business according to the electronic certificate information.
  15. 一种基于区块链的业务处理装置,所述装置包括:A business processing device based on blockchain, the device comprising:
    授权提供模块,提供待处理业务所需的电子证件信息的授权用证信息,以使业务处理方根据所述授权用证信息从预定证照数据库中获取所述电子证件信息,从区块链中获取所述电子证件信息的校验信息,并根据所述校验信息对获取的所述电子证件信息进行校验,在校验通过时,根据所述电子证件信息执行所述待处理业务对应的业务处理,所述授权用证信息用于为所述业务处理方授予所述电子证件信息的获取权限;The authorization providing module provides the authorization certificate information of the electronic certificate information required by the business to be processed, so that the business processor can obtain the electronic certificate information from the predetermined certificate database according to the authorization certificate information, and obtain it from the blockchain The verification information of the electronic credential information, and the acquired electronic credential information is verified according to the verification information, and when the verification is passed, the business corresponding to the to-be-processed business is executed according to the electronic credential information Processing, the authorization certificate information is used to grant the business processor the right to obtain the electronic certificate information;
    数据上传模块,将提供所述授权用证信息的相关行为数据上传至所述区块链。The data upload module uploads the relevant behavioral data that provides the authorization certificate information to the blockchain.
  16. 一种基于区块链的业务处理装置,所述装置包括:A business processing device based on blockchain, the device comprising:
    第一数据获取模块,获取目标用户提供待处理业务所需的电子证件信息的授权用证信息的相关行为数据,存储于区块链;其中所述授权用证信息用于为所述待处理业务的业务处理方授予所述电子证件信息的获取权限;The first data acquisition module acquires the relevant behavioral data of the authorization certificate information of the electronic certificate information required by the target user to provide the service to be processed, and stores it in the blockchain; wherein the authorization certificate information is used for the service to be processed The business processing party grants the authority to obtain the electronic certificate information;
    第二数据获取模块,获取所述业务处理方使用所述电子证件信息中的相关行为数据,存储于区块链,其中,所述使用所述电子证件信息中的相关行为数据是在对所述待处理业务进行业务处理的过程中使用与所述电子证件信息相关的行为数据;The second data acquisition module acquires the relevant behavioral data in the electronic credential information used by the business processor and stores it in the blockchain, wherein the related behavioral data in the electronic credential information is used for the The use of behavioral data related to the electronic certificate information in the process of business processing of the business to be processed;
    第三数据获取模块,获取证照数据管理方变更所述电子证件信息的相关行为数据,存储于区块链,其中,变更所述电子证件信息的相关行为数据是在检测到所述预定证照数据库中的所述电子证件信息发生变化时产生。The third data acquisition module acquires the relevant behavioral data of the license data management party for changing the electronic certificate information, and stores it in the blockchain, where the relevant behavioral data for changing the electronic certificate information is detected in the predetermined license database When the said electronic certificate information changes.
  17. 一种基于区块链的业务处理设备,所述基于区块链的业务处理设备包括:A blockchain-based business processing equipment, the blockchain-based business processing equipment includes:
    处理器;以及Processor; and
    被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:A memory arranged to store computer-executable instructions which, when executed, cause the processor to:
    根据目标用户的待处理业务,确定所述待处理业务所需的所述目标用户的电子证件信息;Determine the electronic credential information of the target user required by the service to be processed according to the service to be processed of the target user;
    获取所述目标用户提供的所述电子证件信息的授权用证信息,所述授权用证信息用于为所述待处理业务的业务处理方授予所述电子证件信息的获取权限;Obtaining the authorization certificate information of the electronic certificate information provided by the target user, where the authorization certificate information is used to grant the business processor of the service to be processed the right to obtain the electronic certificate information;
    根据所述授权用证信息,从预定证照数据库中获取所述电子证件信息;Acquire the electronic certificate information from a predetermined certificate database according to the authorization certificate information;
    从区块链中获取所述电子证件信息的校验信息,并根据所述校验信息对获取的所述电子证件信息进行校验;Acquiring the verification information of the electronic certificate information from the blockchain, and verifying the acquired electronic certificate information according to the verification information;
    如果校验通过,则根据所述电子证件信息对所述待处理业务进行业务处理。If the verification is passed, business processing is performed on the to-be-processed business according to the electronic certificate information.
  18. 一种基于区块链的业务处理设备,所述基于区块链的业务处理设备包括:A blockchain-based business processing equipment, the blockchain-based business processing equipment includes:
    处理器;以及Processor; and
    被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:A memory arranged to store computer-executable instructions which, when executed, cause the processor to:
    提供待处理业务所需的电子证件信息的授权用证信息,以使业务处理方根据所述授权用证信息从预定证照数据库中获取所述电子证件信息,从区块链中获取所述电子证件信息的校验信息,并根据所述校验信息对获取的所述电子证件信息进行校验,在校验通过时,根据所述电子证件信息执行所述待处理业务对应的业务处理,所述授权用证信息用于为所述业务处理方授予所述电子证件信息的获取权限;Provide the authorization certificate information of the electronic certificate information required by the business to be processed, so that the business processor can obtain the electronic certificate information from a predetermined certificate database according to the authorization certificate information, and obtain the electronic certificate from the blockchain And verify the acquired electronic credential information according to the verification information, and when the verification is passed, execute the business processing corresponding to the pending business according to the electronic credential information, the The authorization certificate information is used to grant the business processor the right to obtain the electronic certificate information;
    将提供所述授权用证信息的相关行为数据上传至所述区块链。Upload the relevant behavioral data that provides the authorization certificate information to the blockchain.
  19. 一种基于区块链的业务处理设备,所述基于区块链的业务处理设备包括:A blockchain-based business processing equipment, the blockchain-based business processing equipment includes:
    处理器;以及Processor; and
    被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:A memory arranged to store computer-executable instructions which, when executed, cause the processor to:
    获取目标用户提供待处理业务所需的电子证件信息的授权用证信息的相关行为数据,存储于区块链;其中所述授权用证信息用于为所述待处理业务的业务处理方授予所述电子证件信息的获取权限;Obtain the relevant behavioral data of the authorization certificate information of the electronic certificate information required by the target user to provide the service to be processed, and store it in the blockchain; wherein the authorization certificate information is used to grant the company to the business processor of the service to be processed State the authority to obtain electronic certificate information;
    获取所述业务处理方使用所述电子证件信息中的相关行为数据,存储于区块链,其中,所述使用所述电子证件信息中的相关行为数据是在对所述待处理业务进行业务处理的过程中使用与所述电子证件信息相关的行为数据;Obtain the relevant behavioral data in the use of the electronic credential information by the business processor and store it in the blockchain, where the use of the relevant behavioral data in the electronic credential information is for business processing of the pending business Use behavioral data related to the electronic certificate information in the process;
    获取证照数据管理方变更所述电子证件信息的相关行为数据,存储于区块链,其中,变更所述电子证件信息的相关行为数据是在检测到所述预定证照数据库中的所述电子证件信息发生变化时产生。Obtain the relevant behavioral data of the license data management party to change the electronic certificate information, and store it in the blockchain, where the relevant behavioral data for changing the electronic certificate information is detected when the electronic certificate information in the predetermined license database is detected Produced when there is a change.
PCT/CN2020/124818 2019-12-10 2020-10-29 Blockchain-based service processing method, apparatus and device WO2021114937A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911257313.4 2019-12-10
CN201911257313.4A CN111126950A (en) 2019-12-10 2019-12-10 Service processing method, device and equipment based on block chain

Publications (1)

Publication Number Publication Date
WO2021114937A1 true WO2021114937A1 (en) 2021-06-17

Family

ID=70498008

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/124818 WO2021114937A1 (en) 2019-12-10 2020-10-29 Blockchain-based service processing method, apparatus and device

Country Status (2)

Country Link
CN (1) CN111126950A (en)
WO (1) WO2021114937A1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111126950A (en) * 2019-12-10 2020-05-08 支付宝(杭州)信息技术有限公司 Service processing method, device and equipment based on block chain
CN111342966B (en) * 2020-05-22 2020-08-25 支付宝(杭州)信息技术有限公司 Data storage method, data recovery method, device and equipment
CN112215601B (en) * 2020-05-29 2022-09-30 支付宝(杭州)信息技术有限公司 Service processing method, device and equipment based on block chain
CN111770175B (en) * 2020-06-29 2022-11-08 中钞信用卡产业发展有限公司杭州区块链技术研究院 Regional sharing method for government affair data based on block chain and related components
CN111783157B (en) * 2020-07-03 2023-05-16 福建正孚软件有限公司 Trusted two-dimensional code electronic certificate processing method and system
CN111783154B (en) * 2020-07-03 2023-05-16 福建正孚软件有限公司 Old people electronic license generation method and system
CN112288385A (en) * 2020-09-28 2021-01-29 珠海大横琴科技发展有限公司 Electronic certificate processing method and device
CN112291305B (en) * 2020-10-09 2024-05-14 全球码链科技合作中心有限公司 Code chain construction method and device based on unified identification
CN113298532A (en) * 2020-10-10 2021-08-24 阿里巴巴集团控股有限公司 Communication authorization, communication dispute handling and communication method, device and communication system
CN112215575A (en) * 2020-10-19 2021-01-12 平安国际智慧城市科技股份有限公司 Intelligent service processing method, device, system, equipment and storage medium
CN112766900A (en) * 2021-01-15 2021-05-07 恒瑞通(福建)信息技术有限公司 Credible electronic material sharing method and device based on block chain
CN113379574A (en) * 2021-05-21 2021-09-10 海南师范大学 Certificate management system and method for online education management platform

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989337A (en) * 2018-08-19 2018-12-11 北京元链科技有限公司 A kind of electronics license shared platform design method based on block chain technology
CN109189962A (en) * 2018-08-17 2019-01-11 福建南威软件有限公司 A kind of license service realization system based on block chain
CN109309573A (en) * 2018-09-21 2019-02-05 福建南威软件有限公司 A kind of electronics license based on two dimensional code authorizes sharing application method
CN109840394A (en) * 2019-01-31 2019-06-04 广州商景网络科技有限公司 Photographic intelligence authorization method, device, system, server and storage medium
CN110019009A (en) * 2017-11-10 2019-07-16 中兴通讯股份有限公司 Electronics license sharing method, server and readable storage medium storing program for executing
CN110209675A (en) * 2019-06-18 2019-09-06 北京艾摩瑞策科技有限公司 Credit data querying method and its device on block chain
CN110222063A (en) * 2019-06-18 2019-09-10 北京艾摩瑞策科技有限公司 It is related to the Knowledge Sharing data query method and its equipment of block chain
US20190303540A1 (en) * 2018-03-30 2019-10-03 Goldip Inc. Information processing apparatus, information processing method, and information processing program
CN111126950A (en) * 2019-12-10 2020-05-08 支付宝(杭州)信息技术有限公司 Service processing method, device and equipment based on block chain

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107257340B (en) * 2017-06-19 2019-10-01 阿里巴巴集团控股有限公司 A kind of authentication method, authentication data processing method and equipment based on block chain

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110019009A (en) * 2017-11-10 2019-07-16 中兴通讯股份有限公司 Electronics license sharing method, server and readable storage medium storing program for executing
US20190303540A1 (en) * 2018-03-30 2019-10-03 Goldip Inc. Information processing apparatus, information processing method, and information processing program
CN109189962A (en) * 2018-08-17 2019-01-11 福建南威软件有限公司 A kind of license service realization system based on block chain
CN108989337A (en) * 2018-08-19 2018-12-11 北京元链科技有限公司 A kind of electronics license shared platform design method based on block chain technology
CN109309573A (en) * 2018-09-21 2019-02-05 福建南威软件有限公司 A kind of electronics license based on two dimensional code authorizes sharing application method
CN109840394A (en) * 2019-01-31 2019-06-04 广州商景网络科技有限公司 Photographic intelligence authorization method, device, system, server and storage medium
CN110209675A (en) * 2019-06-18 2019-09-06 北京艾摩瑞策科技有限公司 Credit data querying method and its device on block chain
CN110222063A (en) * 2019-06-18 2019-09-10 北京艾摩瑞策科技有限公司 It is related to the Knowledge Sharing data query method and its equipment of block chain
CN111126950A (en) * 2019-12-10 2020-05-08 支付宝(杭州)信息技术有限公司 Service processing method, device and equipment based on block chain

Also Published As

Publication number Publication date
CN111126950A (en) 2020-05-08

Similar Documents

Publication Publication Date Title
WO2021114937A1 (en) Blockchain-based service processing method, apparatus and device
WO2021068636A1 (en) Block chain-based creation method, apparatus, device and system for verifiable claim
WO2021239104A1 (en) Blockchain-based service processing
TWI728678B (en) Block chain-based enterprise certification and certification tracing method, device and equipment
CN110768968B (en) Authorization method, device, equipment and system based on verifiable statement
CN112100594B (en) Service processing method, device and equipment based on block chain
WO2021169455A1 (en) Blockchain-based material inventory data providing method, apparatus and system
CN113542288A (en) Service authorization method, device, equipment and system
CN110046156A (en) Content Management System and method, apparatus, electronic equipment based on block chain
US11799873B2 (en) System and method for verification of reliability and validity of crowd sourcing users
CN111709860A (en) Homote advice processing method, device, equipment and storage medium
CN111147248A (en) Encrypted transmission method, device and system of face feature library and storage medium
US20220337435A1 (en) Secure identity card using unclonable functions
CN113127516B (en) Method, device and equipment for processing blockchain data
US11968526B2 (en) Identity management on a mobile device
Satybaldy et al. A Taxonomy of Challenges for Self-Sovereign Identity Systems
CN114240399A (en) Government affair data processing method and system based on block chain platform
Veeresh et al. Data Privacy in Cloud Computing, An Implementation by Django, A Python-Based Free and Open-Source Web Framework
Jaafar et al. Educational Certificate Verification System: Enhancing Security and Authenticity using Ethereum Blockchain and IPFS
CN116962061A (en) User identity verification method, device and equipment based on blockchain
CN116226289A (en) Electronic certificate management method, device, equipment and storage medium based on blockchain
WO2019145452A1 (en) Method and apparatus for improving website security

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20900220

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20900220

Country of ref document: EP

Kind code of ref document: A1