A business processing method, device and equipment across blockchains
Through cross-blockchain business processing methods and smart contract verification, the full process control and privacy protection of biometric model are realized, solving the problem of easy breakthrough in the existing technology of biometric model protection methods and enhancing information security.
Patent Information
- Application Number
- CN202210139146.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-15
- Publication Date
- 2025-06-27
- Estimated Expiration
- 2042-02-15
AI Technical Summary
The existing biometric model protection methods can be broken at a certain cost, and cannot be perceived in time and handled in an emergency, resulting in information leakage.
The cross-blockchain business processing method is adopted to process the target business through the cross-chain transmission channel between the first blockchain system and the second blockchain system, and verify the target blockchain nodes based on smart contracts to realize the full process control and privacy protection of the biometric model.
The full process control of biometric model is realized, the security of private information is enhanced, and the entire process can be recorded backwards through the blockchain system to prevent information leakage.
Smart Images

Figure CN114547683B_ABST
Abstract
Description
Technical Field
[0001] This document relates to the field of computer technology, and particularly to a business processing method, device, and equipment across blockchains. Background Art
[0002] In recent years, biometric systems (such as facial recognition systems, etc.) have been integrated into all aspects of production and life. Moreover, with the continuous development of technology, their applications have become increasingly widespread. However, as an artificial intelligence system, the core modules of biometric systems are several biometric models. Once these biometric models are stolen or partially leaked, the biometric system will be at risk of being compromised, and the property safety of users will also be greatly threatened. Therefore, the privacy and security of biometric models have become extremely important, and various organizations have successively deployed and invested a lot of manpower and material resources in related research.
[0003] Although biometric systems have been widely applied, research on the protection of biometric models is still in its infancy. Currently, common biometric model protection methods include model encryption and model obfuscation. However, the above methods can all be cracked at a certain cost, and after being cracked, the providers or service providers of biometric systems cannot perceive and conduct emergency handling in a timely manner, resulting in information leakage. Therefore, it is necessary to provide an effective pre-incident - in-incident - post-incident monitoring and protection system for biometric models, and a privacy protection scheme that can traceably record the entire process of biometric model from deployment to invocation, transmission, and storage. Summary of the Invention
[0004] The purpose of the embodiments of this specification is to provide an effective pre-incident - in-incident - post-incident monitoring and protection system for biometric models, and at the same time, a privacy protection scheme that can traceably record the entire process of biometric model from deployment to invocation, transmission, and storage.
[0005] To achieve the above technical solution, the embodiments of this specification are implemented as follows:
[0006] A cross-blockchain business processing method provided by an embodiment of this specification is applied to a first blockchain system. The first blockchain system is an information storage system for a first recognition model used for biometric recognition. The method includes: receiving a service request for a target service sent by a target blockchain node in a second blockchain system corresponding to a second recognition model for biometric recognition. Based on a smart contract pre-deployed in the first blockchain system, verifying the target blockchain node to obtain a corresponding verification result. The smart contract is generated based on the cross-chain business rules between the first blockchain system and the second blockchain system. Based on the verification result and the service request, processing the target service through the cross-chain transmission channel between the first blockchain system and the second blockchain system.
[0007] A cross-blockchain business processing device provided by an embodiment of this specification is a device in a first blockchain system. The first blockchain system is an information storage system for a first recognition model used for biometric recognition. The device includes: a request receiving module, which receives a service request for a target service sent by a target blockchain node in a second blockchain system corresponding to a second recognition model for biometric recognition. A verification module, which based on a smart contract pre-deployed in the first blockchain system, verifies the target blockchain node to obtain a corresponding verification result. The smart contract is generated based on the cross-chain business rules between the first blockchain system and the second blockchain system. A service processing module, which based on the verification result and the service request, processes the target service through the cross-chain transmission channel between the first blockchain system and the second blockchain system.
[0008] A cross-blockchain business processing device provided by an embodiment of this specification is a device in a first blockchain system. The first blockchain system is an information storage system for a first recognition model used for biometric recognition. The cross-blockchain business processing device includes: a processor; and a memory arranged to store computer-executable instructions. When the executable instructions are executed, the processor: receives a service request for a target service sent by a target blockchain node in a second blockchain system corresponding to a second recognition model for biometric recognition. Based on a smart contract pre-deployed in the first blockchain system, verifies the target blockchain node to obtain a corresponding verification result. The smart contract is generated based on the cross-chain business rules between the first blockchain system and the second blockchain system. Based on the verification result and the service request, processes the target service through the cross-chain transmission channel between the first blockchain system and the second blockchain system.
[0009] An embodiment of this specification also provides a storage medium, where the storage medium is used to store computer-executable instructions, and the executable instructions, when executed by a processor, implement the following process: receiving a service request of a target service sent by a target blockchain node in a second blockchain system corresponding to a second recognition model for biometric recognition. Based on a smart contract pre-deployed in a first blockchain system, verifying the target blockchain node to obtain a corresponding verification result, where the smart contract is generated based on cross-chain business rules between the first blockchain system and the second blockchain system, and the first blockchain system is an information storage system for a first recognition model for biometric recognition. Based on the verification result and the service request, processing the target service through a cross-chain transmission channel between the first blockchain system and the second blockchain system. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] To more clearly illustrate the technical solutions in the embodiments of this specification or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only some embodiments recorded in this specification. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0011] Figure 1 This is an embodiment of a cross-blockchain service processing method in this specification;
[0012] Figure 2 This is a schematic structural diagram of a cross-blockchain service processing system in this specification;
[0013] Figure 3 This is another embodiment of a cross-blockchain service processing method in this specification;
[0014] Figure 4 This is a schematic structural diagram of a cross-blockchain service processing related interface in this specification;
[0015] Figure 5 This is an embodiment of a cross-blockchain service processing device in this specification;
[0016] Figure 6 This is an embodiment of a cross-blockchain service processing device in this specification. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0017] An embodiment of this specification provides a cross-blockchain service processing method, device, and device.
[0018] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of this specification. Obviously, the described embodiments are only a part of the embodiments of 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 efforts shall fall within the scope of protection of this specification.
[0019] Embodiment 1
[0020] As Figure 1 shown, the embodiment of this specification provides a cross-blockchain business processing method. The execution subject of this method can be a terminal device or a server. Among them, the terminal device can be a mobile terminal device such as a mobile phone or a tablet computer, or a device such as a personal computer. The server can be an independent server or a server cluster composed of multiple servers. The server can be a management server for constructing the first blockchain system. The first blockchain system is an information storage system for the first recognition model for biometric recognition. This method can be applied to related scenarios such as information storage of the first recognition model for biometric recognition. In this embodiment, the server is used as the execution subject for detailed description. For the case of the terminal device, reference can be made to the relevant content below and will not be elaborated here. The method specifically may include the following steps:
[0021] In step S102, receive a service request of a target service sent by a target blockchain node in a second blockchain system corresponding to a second recognition model for biometric recognition.
[0022] Among them, the second recognition model can be a model for performing a certain biometric recognition. For example, the second recognition model can be a model for performing face recognition. Correspondingly, the above-mentioned first recognition model can also be a model for performing face recognition. Or, the second recognition model can be a model for performing fingerprint recognition. Correspondingly, the above-mentioned first recognition model can also be a model for performing fingerprint recognition, etc. In addition, the second recognition model can be constructed by a variety of different algorithms. For example, the second recognition model can be constructed by a neural network model. The first recognition model can also be constructed by a variety of different algorithms. The first recognition model and the second recognition model can be constructed by the same algorithm or by different algorithms, which can be specifically set according to the actual situation. The embodiments of this specification do not make any limitations in this regard. Both the first blockchain system and the second blockchain system include a blockchain. The blockchain is composed of multiple blocks. A block is a storage unit that records the communication information between each blockchain node within a certain period of time. Each block is linked through a random hash (i.e., the hash algorithm). The latter block contains the hash value of the previous block. As the information exchange expands, blocks are continuously generated, and the blocks are successively connected to form a blockchain. The system composed of the blockchain can be called a blockchain system. The blockchain system can include blockchain nodes. The functions and uses of different blockchain nodes can be different. For example, some blockchain nodes are used to collect the business data of a certain business, and some blockchain nodes are used to process the business data, etc., which can be specifically set according to the actual situation. The embodiments of this specification do not make any limitations in this regard. The second blockchain system in this embodiment can be an information storage system for the second recognition model for performing biometric recognition. The target blockchain node can be a blockchain node designated in advance among the blockchain nodes in the second blockchain system, or a blockchain node with a designated use preset in the second blockchain system, etc. The target blockchain node can be a physical node composed of physical devices or a virtual node, etc., which can be specifically set according to the actual situation. The embodiments of this specification do not make any limitations in this regard. The target service can be any service, such as a payment service, a risk identification service, etc., which can be specifically set according to the actual situation. The embodiments of this specification do not make any limitations in this regard.
[0023] In practice, in recent years, biometric systems (such as face recognition systems, etc.) have entered all aspects of production and life. Moreover, with the continuous development of technology, their applications are becoming more and more extensive. However, as an artificial intelligence system, the core module of a biometric system is a number of biometric models. Once these biometric models are stolen or partially leaked, the biometric system will be at risk of being breached, and the property safety of users will also be greatly threatened. Therefore, the privacy and security of biometric models have become very important, and various organizations have successively deployed and invested manpower and material resources in relevant research.
[0024] Although biometric systems have been widely used, the research work on the protection of biometric models is still in its infancy. The commonly used biometric model protection methods can be divided into two categories. One is model encryption, and the other is model obfuscation. Among them, the model encryption method is to use an encryption algorithm to encrypt the biometric model, so that the biometric model cannot be used normally even if it is stolen. The model obfuscation method is to adjust the order and quantity of each atomic operation of the biometric model, so that even if the biometric model is stolen, the attacker cannot obtain the effective structure information of the biometric model. The above model encryption method and model obfuscation method can play a role in protecting the biometric model to a certain extent. However, the above methods can be broken at a certain cost, and after being broken, the provider or service provider of the biometric system cannot perceive and handle it in time, resulting in information leakage. Therefore, an effective pre-incident-incident-post-incident monitoring and protection system for biometric models is needed. The embodiments of this specification provide an achievable technical solution, which can specifically include the following content:
[0025] Based on the processes or procedures of the deployment, upgrade, invocation, modification, deletion, etc. of the biometric model, multiple processing devices can be preset in advance. For example, the devices used by the provider of the biometric algorithm, the device manufacturer that carries the biometric algorithm device, the service provider that operates the device, the device that carries the biometric algorithm, etc. The preset processing devices can be used as blockchain nodes. Based on the above content, as Figure 2 shown, the blockchain nodes can include the primary nodes and secondary nodes composed of the above processing devices. Based on the above method, a first blockchain system for the first biometric recognition model and a second blockchain system for the second biometric recognition model can be constructed respectively.
[0026] For a service provider that provides biometric system services to users, it can freely build the corresponding blockchain system and modify and maintain it. However, there will also be situations where different service providers need to communicate and operate with each other through the blockchain system. For example, two service providers belonging to the same organization each create a blockchain system (i.e., the first blockchain system and the second blockchain system), and then need to share the data of the first blockchain system and the second blockchain system and enable data interaction between the first blockchain system and the second blockchain system. Data interaction between different blockchain systems requires defining additional modules and protocols, and when data interaction is carried out between different blockchain systems, modules that are not trusted for the blockchain system will inevitably be introduced. This method realizes data interaction between different blockchain systems by introducing pre-set blockchain nodes (i.e., target blockchain nodes) globally. The target blockchain node can belong to the second blockchain system. When the second blockchain system wants to access the first blockchain system, the target blockchain node will initiate verification. At this time, the first blockchain system can receive a service request for a target service sent by the target blockchain node in the second blockchain system corresponding to the second recognition model for biometric recognition. The service request can include a service identifier for the target service.
[0027] In step S104, based on the smart contract pre-deployed in the first blockchain system, the target blockchain node is verified to obtain the corresponding verification result. The smart contract is generated based on the cross-chain business rules between the first blockchain system and the second blockchain system.
[0028] Among them, the smart contract can be a smart contract constructed by the cross-chain business rules between the first blockchain system and the second blockchain system. The smart contract can be a computer protocol designed to spread, verify, or execute a certain process in an information-based manner. The smart contract allows for trusted interaction without a third party, and the above-mentioned interaction is traceable and irreversible. The smart contract can include an agreement on which the contract participants can execute the rights and obligations agreed by the contract participants. The smart contract can include a trigger condition or rule for triggering the execution of the smart contract, and the result corresponding to the trigger condition or rule. The smart contract can include one or more trigger conditions or rules, and each trigger condition or rule can correspond to a result, etc. The cross-chain business rules can be the rules for executing cross-chain business between the first blockchain system and the second blockchain system. There can be various cross-chain business rules, which can be specifically set according to the actual situation, and the embodiments of this specification do not limit this.
[0029] In implementation, cross-chain business rules between the first blockchain system and the second blockchain system can be preset. These cross-chain business rules can be set according to actual situations. Then, corresponding smart contracts can be generated based on these cross-chain business rules and deployed in the first blockchain system. When a business request for a target business in the second blockchain system is received from a target blockchain node, relevant information of the target blockchain node can be obtained (such as the identifier of the target blockchain node, the identifier of the user or organization it belongs to, the creation time of the target blockchain node, the number of times it has been used, etc.). The smart contract in the first blockchain system can be called, and the target blockchain node can be verified through the cross-chain business rules in the smart contract and the relevant information of the target blockchain node obtained, resulting in a corresponding verification result. Specifically, if the relevant information of the target blockchain node meets the trigger conditions in the cross-chain business rules, the result corresponding to the trigger conditions can be used as the verification result. If the relevant information of the target blockchain node does not meet the trigger conditions in the cross-chain business rules, the result contrary to the result corresponding to the trigger conditions can be used as the verification result.
[0030] In step S106, based on the above verification result and the above business request, the target business is processed through the cross-chain transmission channel between the first blockchain system and the second blockchain system.
[0031] Among them, the cross-chain transmission channel can be the channel required for cross-chain information transmission between the first blockchain and the second blockchain. This cross-chain transmission channel can be set based on preset rules or protocols, and can be specifically set according to actual situations. This specification embodiment does not make any limitations in this regard.
[0032] In implementation, if the above verification result indicates that the verification of the target blockchain node is passed, corresponding data interaction can be carried out based on the above business request through the pre-constructed cross-chain transmission channel between the first blockchain system and the second blockchain system, and then the target business is processed to obtain a corresponding processing result. For example, if cross-blockchain system payment is required, the above business request can be a payment request. If the above verification result indicates that the verification of the target blockchain node is passed, relevant data required for this payment can be obtained through the pre-constructed cross-chain transmission channel between the first blockchain system and the second blockchain system. Then, payment processing can be carried out based on the obtained relevant data. After the payment is completed, the payment result can be sent to the payment user and the merchant receiving the payment resources, etc.
[0033] An embodiment of this specification provides a cross-blockchain business processing method, which is applied to a first blockchain system. The first blockchain system is an information storage system for a first recognition model used for biometric recognition. When receiving a business request for a target business sent by a target blockchain node in a second blockchain system corresponding to a second recognition model for biometric recognition, based on a smart contract pre-deployed in the first blockchain system, the target blockchain node is verified to obtain a corresponding verification result. The smart contract is generated based on the cross-chain business rules between the first blockchain system and the second blockchain system. Finally, based on the verification result and the business request, through the cross-chain transmission channel between the first blockchain system and the second blockchain system, the target business is processed. In this way, by combining blockchain technology, various processing processes of the biometric recognition model are recorded at each blockchain node in the biometric recognition model link, so that the entire process control of the biometric recognition model can be achieved, comprehensively enhancing the security of privacy information. At the same time, through the blockchain system, a traceable record of the entire process of the biometric recognition model from deployment to invocation, transmission, and storage is made, and through the method of cross-blockchain system business processing, data interaction and business processing between different blockchain systems can be realized.
[0034] Embodiment 2
[0035] As Figure 3 As shown, an embodiment of this specification provides a cross-blockchain business processing method. The execution subject of this method can be a terminal device or a server. Among them, the terminal device can be a mobile terminal device such as a mobile phone or a tablet computer, or a device such as a personal computer. The server can be an independent server, or a server cluster composed of multiple servers, etc. The server can be a management server for constructing the first blockchain system, etc. The first blockchain system is an information storage system for a first recognition model used for biometric recognition. This method can be applied to related scenarios such as information storage of a first recognition model for biometric recognition. In this embodiment, the server is used as the execution subject for detailed description. For the case of the terminal device, reference can be made to the following relevant content, which will not be elaborated here. The method can specifically include the following steps:
[0036] In step S302, obtain information of different blockchain nodes required to construct the first blockchain system. The blockchain nodes include a node providing a biometric algorithm for constructing the first recognition model, a node providing a device carrying the first recognition model, and a node providing a preset service for the device carrying the first recognition model.
[0037] Among them, the first recognition model is used to recognize one or more of the following different biometric features: fingerprint feature, facial feature, palmprint feature, and iris feature.
[0038] In implementation, the first blockchain system can be a blockchain system for storing information of the first recognition model used for biometric recognition. It can be a combined blockchain system. In the first blockchain system, it can be pre-set that specific types of blockchain nodes and master nodes can modify the information (i.e., ledger information) in the first blockchain system, while other types of nodes and slave nodes can participate in the first blockchain system (they can view part of the ledger information in the first blockchain system), but cannot modify the ledger information. The first blockchain system can include master nodes and slave nodes. Among them, the node providing the biometric algorithm for constructing the first recognition model, the node providing the device equipped with the first recognition model, and the node providing preset services for the device equipped with the first recognition model can serve as master nodes, and the device equipped with the first recognition model can serve as a slave node. The master node can have higher permissions, be able to modify most of the ledger information in the first blockchain system, and can obtain most of the ledger information in the first blockchain system. The slave node can query part of the ledger information in the first blockchain system. If the slave node needs to modify the ledger information in the first blockchain system, it needs to initiate a corresponding request to the master node through the network to perform corresponding modification operations through the master node.
[0039] In step S304, based on the information of different blockchain nodes and the ledger information of the first blockchain system, the first blockchain system is constructed. The ledger information is generated based on the data obtained by the blockchain nodes during the invocation and / or processing of the first recognition model.
[0040] In implementation, the master node can record the processes of deploying, upgrading, invoking, and deleting the first recognition model as ledger information to construct the first blockchain system. Among them, for model deployment, the first blockchain system can record basic information such as the device type on which the first recognition model is deployed, the computing volume and size of the first recognition model. For model encryption and obfuscation, the first blockchain system can record whether the first recognition model is encrypted or obfuscated, and record the algorithm types used for encryption or obfuscation, etc. For model invocation, if the first recognition model is invoked by a blockchain node, the first blockchain system can record information such as the number, invocation time, and invocation times of the blockchain node that invokes the first recognition model. For model upgrade (including model modification), if the first recognition model needs to be upgraded (or modified), the first blockchain system can record the time point of the upgrade (or modification) and the information of the blockchain node that initiates the upgrade (or modification). For deleting the first recognition model, the first blockchain system can record the time point when the first recognition model is deleted, and the information of the blockchain node that initiates the deletion operation, etc.
[0041] It should be noted that the second blockchain system can also be constructed through the processing of step S302 and step S304 above. For specific details, please refer to the relevant content above and will not be elaborated here.
[0042] In step S306, receive a service request for a target service sent by a target blockchain node in the second blockchain system corresponding to the second recognition model for biometric recognition.
[0043] Among them, the target blockchain node can be a virtual master node.
[0044] In step S308, obtain information related to the target blockchain node from the first blockchain system based on a smart contract, and this smart contract is generated based on the cross-chain business rules between the first blockchain system and the second blockchain system.
[0045] In step S310, if it is determined based on the smart contract that the first blockchain system includes information related to the target blockchain node, and the information related to the target blockchain node includes successful information for processing the target blockchain node, then it is determined that the verification of the target blockchain node passes.
[0046] Among them, the information related to the target blockchain node may include access information from the target blockchain node in the second blockchain system, as well as information on operations such as data modification and data deletion. The successful information for processing the target blockchain node may include, for example, successful information on operations such as data modification and data deletion of the target blockchain node, etc., which can be set according to the actual situation, and the embodiments of this specification do not limit this.
[0047] It should be noted that if the above verification result indicates that the target blockchain node is trustworthy, then the target blockchain node can have the same permissions as the master node in the first blockchain system, so as to operate and modify the information in the first blockchain system.
[0048] In step S312, based on the above verification result and the above service request, process the target service through the cross-chain transmission channel between the first blockchain system and the second blockchain system.
[0049] It should be noted that global virtual master node risk control based on statistics can be set. Specifically, since the generation and verification of target blockchain nodes are relatively simple, there may be security risks. Therefore, a server can be set up to perform risk control on the access behaviors of all target blockchain nodes. Specific risk control rules can be the number of accesses within a unit of time, the number of access chains, etc. Through statistical rules, a certain proportion of target blockchain nodes (such as more than 99.9% of target blockchain nodes) can be controlled to always access successfully. However, the accesses of the remaining target blockchain nodes are subject to risk control processing, which can effectively prevent potential risks.
[0050] In practical applications, the information of blockchain nodes also needs to be updated, which can be specifically achieved through the processing of the following steps S314 and S316.
[0051] In step S314, obtain the information update request of the first blockchain node in the first blockchain system, and the information update request includes the information to be updated of the first blockchain node.
[0052] In implementation, as Figure 4 shown, when the information of a certain blockchain node (i.e., the first blockchain node) in the first blockchain system needs to be updated, the information to be updated can be input. After the input is completed, the corresponding device can obtain the information to be updated to generate an information update request of the first blockchain node, and can send the information update request to the server, and the server can receive the information update request. At this time, the first blockchain node can be locked, and the information to be updated can be locked.
[0053] In step S316, provide the information to be updated to the master node in the first blockchain system, and the information to be updated is used to trigger the master node to update the first blockchain node based on the information to be updated.
[0054] In practical applications, when a new node joins the first blockchain system, it can be processed through the following steps S318 to S322.
[0055] In step S318, receive the node joining request for the first terminal to access the first blockchain system, and the node joining request includes the information of the first terminal.
[0056] Among them, the first terminal can be any terminal, which can be specifically set according to the actual situation, and this embodiment of the specification does not make any limitations in this regard.
[0057] In implementation, if the first terminal needs to join the first blockchain system, it can obtain the information of the first terminal to generate a node joining request, and can send the node joining request to the server, and the server can receive the node joining request for the first terminal to access the blockchain system.
[0058] In step S320, based on the information of the first terminal, determine the node type of the first terminal in the first blockchain system. The node type includes a primary node and a secondary node. The primary node has the permission to modify and query the ledger information in the first blockchain system, and the secondary node has the permission to query the ledger information in the first blockchain system.
[0059] In implementation, based on the information of the first terminal, the node type of the first terminal in the first blockchain system can be determined. If it is determined that the first terminal has the permission to modify and query the ledger information in the first blockchain system, it can be determined that the first terminal is the primary node. Or, based on the functions that the first terminal can implement, it can be determined whether the first terminal is the primary node. If the first terminal is the primary node, the permission to modify and query the ledger information in the first blockchain system can be provided to the first terminal. If it is determined that the first terminal only has the permission to query the ledger information in the first blockchain system, it can be determined that the first terminal is the secondary node. Or, by the functions that the first terminal can implement, if it is determined that the first terminal is the secondary node, only the permission to query the ledger information in the first blockchain system can be provided to the first terminal.
[0060] In step S322, based on the determined node type, connect the first terminal as a blockchain node to the first blockchain system.
[0061] In implementation, if it is determined that the first terminal is the primary node, the first terminal can be connected to the first blockchain system as the primary node. If it is determined that the first terminal is the secondary node, the first terminal can be connected to the first blockchain system as the secondary node. When the first terminal joins the first blockchain system, the information of the first terminal needs to be opened to other blockchain nodes in the first blockchain system and users or other blockchain nodes are allowed to query it. For example, when the first terminal accesses the first blockchain system, the information of the first recognition model, the information related to the first terminal, the identifier of the first terminal, etc. need to be opened to other blockchain nodes in the first blockchain system.
[0062] In addition, users can query or view the relevant information of the first recognition model, which can be specifically implemented through the processing of the following steps S324 and S326.
[0063] In step S324, based on the process information of the call and / or processing based on the first recognition model, connect each blockchain node of the first blockchain system to obtain a connection relationship diagram of the blockchain nodes in the first blockchain system.
[0064] In implementation, the processes of the deployment, encryption, device environment, upgrade, call to deletion of the entire first recognition model can be visualized to obtain a connection relationship diagram of the blockchain nodes in the first blockchain system.
[0065] In step S326, when a query request for the invocation and / or processing process of the first recognition model sent by the user is received, the above connection relationship diagram is sent to the user to display the connection relationship diagram to the user.
[0066] In addition, the master node has the permission to delete the first recognition model and can delete the first recognition model at any time. Specifically, it can be realized through the processing of the following steps S328 to S332.
[0067] In step S328, a deletion request for the first recognition model sent by the user is received, and the deletion request includes the identifier of the blockchain node corresponding to the user.
[0068] In implementation, when there is a risk of privacy leakage (i.e., the first recognition model is leaked) (such as when a blockchain node in the first blockchain system attempts to access the first recognition model), the master node has the permission to promptly delete the first recognition model or perform control operations on the device carrying the first recognition model.
[0069] In step S330, based on the identifier of the blockchain node corresponding to the user, it is determined whether the blockchain node corresponding to the user is the master node.
[0070] In step S332, if so, the first recognition model is searched for and deleted from the first blockchain system.
[0071] In addition, the user has the permission to query their own user privacy information and can query relevant information and usage conditions of their user privacy information at any time. Specifically, refer to the processing of the following steps S334 and S336.
[0072] In step S334, a query request for the first recognition model sent by the user is received, and the query request includes the identifier of the user.
[0073] In step S336, based on the above identifier, the information corresponding to the query request is searched for and displayed from the first blockchain system, and the information corresponding to the query request includes the number of times the first recognition model has been accessed within a preset time period.
[0074] An embodiment of this specification provides a cross-blockchain business processing method, which is applied to a first blockchain system. The first blockchain system is an information storage system for a first recognition model used for biometric recognition. When receiving a business request for a target business sent by a target blockchain node in a second blockchain system corresponding to a second recognition model for biometric recognition, based on a smart contract pre-deployed in the first blockchain system, the target blockchain node is verified to obtain a corresponding verification result. The smart contract is generated based on the cross-chain business rules between the first blockchain system and the second blockchain system. Finally, based on the verification result and the business request, through the cross-chain transmission channel between the first blockchain system and the second blockchain system, the target business is processed. In this way, by combining blockchain technology, various processing processes of the biometric recognition model are recorded at each blockchain node in the biometric recognition model link, so that the entire process control of the biometric recognition model can be achieved, comprehensively enhancing the security of privacy information. At the same time, through the blockchain system, a traceable record of the entire process of the biometric recognition model from deployment to invocation, transmission, and storage is made, and through the method of cross-blockchain system business processing, data interaction and business processing between different blockchain systems can be realized.
[0075] Embodiment III
[0076] The above is the cross-blockchain business processing method provided by the embodiments of this specification. Based on the same idea, the embodiments of this specification also provide a cross-blockchain business processing device, as Figure 5 shown.
[0077] The cross-blockchain business processing device is a device in the first blockchain system. The first blockchain system is an information storage system for a first recognition model used for biometric recognition, and includes: a request receiving module 501, a verification module 502, and a business processing module 503, where:
[0078] The request receiving module 501 receives a business request for a target business sent by a target blockchain node in a second blockchain system corresponding to a second recognition model for biometric recognition;
[0079] The verification module 502 verifies the target blockchain node based on a smart contract pre-deployed in the first blockchain system to obtain a corresponding verification result. The smart contract is generated based on the cross-chain business rules between the first blockchain system and the second blockchain system;
[0080] The business processing module 503 processes the target business based on the verification result and the business request through the cross-chain transmission channel between the first blockchain system and the second blockchain system.
[0081] In the embodiments of this specification, the verification module 502 includes:
[0082] An information acquisition unit, which acquires information related to the target blockchain node from the first blockchain system based on the smart contract;
[0083] A verification unit, if it is determined based on the smart contract that the first blockchain system includes information related to the target blockchain node, and the information related to the target blockchain node includes successful information for processing the target blockchain node, then it is determined that the verification of the target blockchain node passes.
[0084] In the embodiments of this specification, the device further includes:
[0085] An information acquisition module, which acquires information of different blockchain nodes required for constructing the first blockchain system. The blockchain nodes include a node providing a biometric algorithm for constructing the first recognition model, a node providing a device carrying the first recognition model, and a node providing a preset service for the device carrying the first recognition model;
[0086] A blockchain construction module, which constructs the first blockchain system based on the information of different blockchain nodes and the ledger information of the first blockchain system. The ledger information is generated based on the data acquired by the blockchain nodes during the process of calling and / or processing the first recognition model.
[0087] In the embodiments of this specification, the device further includes:
[0088] An update request module, which acquires an information update request of the first blockchain node in the first blockchain system. The information update request includes the information to be updated of the first blockchain node;
[0089] An update module, which provides the information to be updated to the master node in the first blockchain system. The information to be updated is used to trigger the master node to update the first blockchain node based on the information to be updated.
[0090] In the embodiments of this specification, the device further includes:
[0091] An addition request module, which receives a node addition request for the first terminal to access the first blockchain system. The node addition request includes the information of the first terminal;
[0092] A type determination module that determines the node type of the first terminal in the first blockchain system based on the information of the first terminal. The node type includes a primary node and a secondary node. The primary node has the permission to modify and query the ledger information in the first blockchain system, and the secondary node has the permission to query the ledger information in the first blockchain system;
[0093] An access module that, based on the determined node type, accesses the first terminal as a blockchain node into the first blockchain system.
[0094] In an embodiment of this specification, the device further includes:
[0095] A relationship graph determination module that connects each blockchain node of the first blockchain system based on the process information of calling and / or processing by the first recognition model, and obtains a connection relationship graph of the blockchain nodes in the first blockchain system;
[0096] A relationship graph display module that, when receiving a query request for the process of calling and / or processing the first recognition model sent by the user, sends the connection relationship graph to the user to display the connection relationship graph to the user.
[0097] In an embodiment of this specification, the device further includes:
[0098] An operation request module that receives a deletion request for the first recognition model sent by the user, and the deletion request includes the identifier of the blockchain node corresponding to the user;
[0099] A determination module that determines whether the blockchain node corresponding to the user is a primary node based on the identifier of the blockchain node corresponding to the user;
[0100] A deletion module that, if so, searches for and deletes the first recognition model from the first blockchain system.
[0101] In an embodiment of this specification, the device further includes:
[0102] A query request module that receives a query request for the first recognition model sent by the user, and the query request includes the identifier of the user;
[0103] A query module that, based on the identifier, searches for and displays the information corresponding to the query request from the first blockchain system, and the information corresponding to the query request includes the number of times the first recognition model is accessed within a preset time period.
[0104] In an embodiment of this specification, the first recognition model is used to recognize one or more of the following different biometric features: fingerprint feature, facial feature, palmprint feature, and iris feature.
[0105] In the embodiments of the present specification, the target blockchain node is a virtual primary node.
[0106] The embodiments of the present specification provide a cross-blockchain service processing device, which is applied to a first blockchain system. The first blockchain system is an information storage system for a first recognition model for biometric recognition. When receiving a service request for a target service sent by a target blockchain node in a second blockchain system corresponding to a second recognition model for biometric recognition, based on a smart contract pre-deployed in the first blockchain system, the target blockchain node is verified to obtain a corresponding verification result. The smart contract is generated based on the cross-chain service rules between the first blockchain system and the second blockchain system. Finally, based on the verification result and the service request, through the cross-chain transmission channel between the first blockchain system and the second blockchain system, the target service is processed. In this way, combined with blockchain technology, various processing processes of the biometric recognition model are recorded at each blockchain node in the biometric recognition model link, so that the entire process control of the biometric recognition model can be achieved, comprehensively enhancing the security of privacy information. At the same time, through the blockchain system, a traceable record of the entire process of the biometric recognition model from deployment to invocation, transmission, and storage is made, and through the method of cross-blockchain system service processing, data interaction and service processing between different blockchain systems can be realized.
[0107] Embodiment 4
[0108] The above is the cross-blockchain service processing device provided by the embodiments of the present specification. Based on the same idea, the embodiments of the present specification also provide a cross-blockchain service processing device, as Figure 6 shown.
[0109] The cross-blockchain service processing device may be the terminal device or server provided in the above embodiments, etc.
[0110] Business processing devices across blockchains can vary significantly due to differences in configuration or performance. They may include one or more processors 601 and a memory 602. The memory 602 may store one or more application programs or data. Among them, the memory 602 can be transient storage or persistent storage. The application programs stored in the memory 602 may include one or more modules (not shown in the figure), and each module may include a series of computer-executable instructions for the business processing device across blockchains. Further, the processor 601 may be configured to communicate with the memory 602 and execute a series of computer-executable instructions in the memory 602 on the business processing device across blockchains. The business processing device across blockchains may also include one or more power supplies 603, one or more wired or wireless network interfaces 604, one or more input / output interfaces 605, and one or more keyboards 606.
[0111] Specifically, in this embodiment, the business processing device across blockchains includes a memory and one or more programs. One or more of the programs are stored in the memory, and one or more of the programs may include one or more modules. Each module may include a series of computer-executable instructions for the business processing device across blockchains and is configured to be executed by one or more processors. The one or more programs include the following computer-executable instructions for:
[0112] Applied to the first blockchain system, the first blockchain system is an information storage system for the first recognition model for biometric recognition. The method includes:
[0113] Receiving a service request for a target service sent by a target blockchain node in a second blockchain system corresponding to a second recognition model for biometric recognition;
[0114] Based on a smart contract pre-deployed in the first blockchain system, verifying the target blockchain node to obtain a corresponding verification result. The smart contract is generated based on the cross-chain business rules between the first blockchain system and the second blockchain system;
[0115] Based on the verification result and the service request, processing the target service through the cross-chain transmission channel between the first blockchain system and the second blockchain system.
[0116] In the embodiments of this specification, the verifying the target blockchain node based on a smart contract pre-deployed in the first blockchain system to obtain a corresponding verification result includes:
[0117] Obtain information related to the target blockchain node from the first blockchain system based on the smart contract;
[0118] If it is determined based on the smart contract that the first blockchain system includes information related to the target blockchain node, and the information related to the target blockchain node includes successful information for processing the target blockchain node, then determine that the verification of the target blockchain node passes.
[0119] In the embodiments of this specification, it further includes:
[0120] Obtain information of different blockchain nodes required to construct the first blockchain system, where the blockchain nodes include a node providing a biometric algorithm for constructing the first recognition model, a node providing a device carrying the first recognition model, and a node providing a preset service for the device carrying the first recognition model;
[0121] Construct the first blockchain system based on the information of different blockchain nodes and the ledger information of the first blockchain system, where the ledger information is generated based on the data obtained by the blockchain nodes during the process of calling and / or processing the first recognition model.
[0122] In the embodiments of this specification, it further includes:
[0123] Obtain an information update request of a first blockchain node in the first blockchain system, where the information update request includes the information to be updated of the first blockchain node;
[0124] Provide the information to be updated to the master node in the first blockchain system, where the information to be updated is used to trigger the master node to update the first blockchain node based on the information to be updated.
[0125] In the embodiments of this specification, it further includes:
[0126] Receive a node joining request for a first terminal to access the first blockchain system, where the node joining request includes information of the first terminal;
[0127] Based on the information of the first terminal, determine the node type of the first terminal in the first blockchain system, where the node type includes a master node and a secondary node, the master node has the permission to modify and query the ledger information in the first blockchain system, and the secondary node has the permission to query the ledger information in the first blockchain system;
[0128] Based on the determined node type, access the first terminal as a blockchain node into the first blockchain system.
[0129] In the embodiments of this specification, it further includes:
[0130] Based on the process information of calling and / or processing by the first recognition model, connect each blockchain node of the first blockchain system to obtain a connection relationship diagram of the blockchain nodes in the first blockchain system;
[0131] When receiving a query request for the calling and / or processing process of the first recognition model sent by the user, send the connection relationship diagram to the user to display the connection relationship diagram to the user.
[0132] In the embodiments of this specification, it further includes:
[0133] Receive a deletion request for the first recognition model sent by the user, where the deletion request includes an identifier of the blockchain node corresponding to the user;
[0134] Based on the identifier of the blockchain node corresponding to the user, determine whether the blockchain node corresponding to the user is a main node;
[0135] If so, search for and delete the first recognition model from the first blockchain system.
[0136] In the embodiments of this specification, it further includes:
[0137] Receive a query request for the first recognition model sent by the user, where the query request includes an identifier of the user;
[0138] Based on the identifier, search for and display the information corresponding to the query request from the first blockchain system, and the information corresponding to the query request includes the number of times the first recognition model is accessed within a preset time period.
[0139] In the embodiments of this specification, the first recognition model is used to recognize one or more of the following different biometric features: fingerprint feature, facial feature, palmprint feature, and iris feature.
[0140] An embodiment of this specification provides a business processing device across blockchains, which is applied to a first blockchain system. The first blockchain system is an information storage system for a first recognition model used for biometric recognition. When receiving a business request for a target business sent by a target blockchain node in a second blockchain system corresponding to a second recognition model for biometric recognition, based on a smart contract pre-deployed in the first blockchain system, the target blockchain node is verified to obtain a corresponding verification result. The smart contract is generated based on the cross-chain business rules between the first blockchain system and the second blockchain system. Finally, based on the verification result and the business request, the target business can be processed through the cross-chain transmission channel between the first blockchain system and the second blockchain system. In this way, by combining blockchain technology, various processing processes of the biometric recognition model are recorded at each blockchain node in the biometric recognition model link, so that the entire process control of the biometric recognition model can be realized, comprehensively enhancing the security of privacy information. At the same time, through the blockchain system, a traceable record of the entire process of the biometric recognition model from deployment to invocation, transmission, and storage is made. And through the method of business processing across blockchain systems, data interaction and business processing between different blockchain systems can be realized.
[0141] Embodiment 5
[0142] Furthermore, based on the above Figures 1 to 4 shown method, one or more embodiments of this specification also provide a storage medium for storing computer-executable instruction information. In a specific embodiment, the storage medium can be a USB flash drive, an optical disc, a hard disk, etc. When the computer-executable instruction information stored in the storage medium is executed by a processor, the following processes can be realized:
[0143] Receive a business request for a target business sent by a target blockchain node in a second blockchain system corresponding to a second recognition model for biometric recognition;
[0144] Based on a smart contract pre-deployed in the first blockchain system, verify the target blockchain node to obtain a corresponding verification result. The smart contract is generated based on the cross-chain business rules between the first blockchain system and the second blockchain system. The first blockchain system is an information storage system for a first recognition model used for biometric recognition;
[0145] Based on the verification result and the business request, process the target business through the cross-chain transmission channel between the first blockchain system and the second blockchain system.
[0146] In an embodiment of this specification, the step of verifying the target blockchain node based on a smart contract pre-deployed in the first blockchain system to obtain a corresponding verification result includes:
[0147] Obtain information related to the target blockchain node from the first blockchain system based on the smart contract;
[0148] If it is determined based on the smart contract that the first blockchain system includes information related to the target blockchain node, and the information related to the target blockchain node includes successful information for processing the target blockchain node, then determine that the verification of the target blockchain node passes.
[0149] In the embodiments of this specification, it further includes:
[0150] Obtain information of different blockchain nodes required to construct the first blockchain system, where the blockchain nodes include a node providing a biometric algorithm for constructing the first recognition model, a node providing a device carrying the first recognition model, and a node providing a preset service for the device carrying the first recognition model;
[0151] Construct the first blockchain system based on the information of different blockchain nodes and the ledger information of the first blockchain system, where the ledger information is generated based on data obtained by the blockchain nodes during the invocation and / or processing of the first recognition model.
[0152] In the embodiments of this specification, it further includes:
[0153] Obtain an information update request for the first blockchain node in the first blockchain system, where the information update request includes the information to be updated for the first blockchain node;
[0154] Provide the information to be updated to the master node in the first blockchain system, where the information to be updated is used to trigger the master node to update the first blockchain node based on the information to be updated.
[0155] In the embodiments of this specification, it further includes:
[0156] Receive a node joining request for the first terminal to access the first blockchain system, where the node joining request includes information of the first terminal;
[0157] Based on the information of the first terminal, determine the node type of the first terminal in the first blockchain system, where the node type includes a master node and a secondary node, the master node has the permission to modify and query the ledger information in the first blockchain system, and the secondary node has the permission to query the ledger information in the first blockchain system;
[0158] Based on the determined node type, access the first terminal as a blockchain node into the first blockchain system.
[0159] In the embodiments of this specification, it further includes:
[0160] Based on the process information of calling and / or processing by the first recognition model, connect each blockchain node of the first blockchain system to obtain a connection relationship diagram of the blockchain nodes in the first blockchain system;
[0161] When receiving a query request for the calling and / or processing process of the first recognition model sent by the user, send the connection relationship diagram to the user to display the connection relationship diagram to the user.
[0162] In the embodiments of this specification, it further includes:
[0163] Receive a deletion request for the first recognition model sent by the user, where the deletion request includes the identifier of the blockchain node corresponding to the user;
[0164] Based on the identifier of the blockchain node corresponding to the user, determine whether the blockchain node corresponding to the user is the main node;
[0165] If so, search for and delete the first recognition model from the first blockchain system.
[0166] In the embodiments of this specification, it further includes:
[0167] Receive a query request for the first recognition model sent by the user, where the query request includes the identifier of the user;
[0168] Based on the identifier, search for and display the information corresponding to the query request from the first blockchain system, and the information corresponding to the query request includes the number of times the first recognition model is accessed within a preset time period.
[0169] In the embodiments of this specification, the first recognition model is used to recognize one or more of the following different biometric features: fingerprint feature, facial feature, palmprint feature, and iris feature.
[0170] In the embodiments of this specification, the target blockchain node is a virtual main node.
[0171] An embodiment of this specification provides a storage medium, which is applied to a first blockchain system. The first blockchain system is an information storage system for a first recognition model used for biometric recognition. When receiving a service request for a target service sent by a target blockchain node in a second blockchain system corresponding to a second recognition model for biometric recognition, based on a smart contract pre-deployed in the first blockchain system, the target blockchain node is verified to obtain a corresponding verification result. The smart contract is generated based on the cross-chain business rules between the first blockchain system and the second blockchain system. Finally, based on the verification result and the service request, through the cross-chain transmission channel between the first blockchain system and the second blockchain system, the target service can be processed. In this way, by combining blockchain technology, various processing processes of the biometric recognition model are recorded at each blockchain node in the biometric recognition model link, so that the full-process control of the biometric recognition model can be achieved, comprehensively enhancing the security of privacy information. At the same time, through the blockchain system, a traceable record of the entire process of the biometric recognition model from deployment to invocation, transmission, and storage is made, and through the method of business processing across blockchain systems, data interaction and business processing between different blockchain systems can be realized.
[0172] The above describes specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve the desired result. Additionally, the processes depicted in the figures do not necessarily require the particular order or sequential order shown to achieve the desired result. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0173] In the 1990s, it was obvious to distinguish whether an improvement in a technology was a hardware improvement (e.g., improvement in circuit structures such as diodes, transistors, switches, etc.) or a software improvement (improvement in method processes). However, with the development of technology, many improvements in method processes today can be regarded as direct improvements in hardware circuit structures. Almost all designers obtain the corresponding hardware circuit structures by programming the improved method processes into the hardware circuits. Therefore, it cannot be said that an improvement in a method process cannot be implemented with a hardware entity module. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logical function is determined by the user programming the device. Designers can program by themselves to "integrate" a digital system on a piece of PLD without asking a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually fabricating integrated circuit chips, this programming is mostly implemented using "logic compiler" software, which is similar to the software compiler used in program development and writing. The original code before compilation also has to be written in a specific programming language, which is called Hardware Description Language (HDL), and there is not only one kind of HDL, but many kinds, 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 Language), etc. Currently, the most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also be clear that as long as the method process is slightly logically programmed with the above-mentioned several hardware description languages and programmed into the integrated circuit, it is easy to obtain the hardware circuit that implements the logical method process.
[0174] 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 code (such as software or firmware) executable by the (micro)processor, logic gates, switches, an application specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of the controller include, but are not limited to, the following microcontrollers: ARC625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in the form of pure computer-readable program code, it is entirely possible to logically program the method steps to enable the controller to be implemented in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc. to achieve the same function. Therefore, such a controller can be considered a hardware component, and the devices included therein for implementing various functions can also be regarded as the structures within the hardware component. Or even, the devices for implementing various functions can be regarded as either software modules for implementing the method or structures within the hardware component.
[0175] The systems, devices, modules, or units illustrated in the above embodiments can be specifically implemented by computer chips or entities, or 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 cellular 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.
[0176] For the convenience of description, when describing the above devices, they are described separately as various units according to their functions. Of course, when implementing one or more embodiments of this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.
[0177] 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 can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, one or more embodiments of this specification can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memories, CD-ROMs, optical memories, etc.) containing computer-usable program code.
[0178] Embodiments of this specification are described with reference to the flowcharts and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this specification. It should be understood that each flow and / or block in the flowchart and / or block diagram, and the combination of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processors of general-purpose computers, special-purpose computers, embedded processors, or other programmable serial-parallel devices for fraud cases to generate a machine, such that the instructions executed by the processors of the computer or other programmable serial-parallel devices for fraud cases generate means for implementing the functions specified in one flow Figure 1 one flow or multiple flows and / or blocks Figure 1 or means for implementing the functions specified in one block or multiple blocks.
[0179] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable serial-parallel device for fraud cases to work in a specific manner, such that the instructions stored in the computer-readable memory generate a manufactured article including instruction means that implement the functions specified in one flow Figure 1 one flow or multiple flows and / or blocks Figure 1 or means for implementing the functions specified in one block or multiple blocks.
[0180] These computer program instructions can also be loaded onto a computer or other programmable serial-parallel device for fraud cases, such that a series of operational steps are executed on the computer or other programmable device to generate a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one flow Figure 1 one flow or multiple flows and / or blocks Figure 1 or means for implementing the functions specified in one block or multiple blocks.
[0181] In a typical configuration, a computing device includes one or more processors (CPUs), an input / output interface, a network interface, and memory.
[0182] The memory may include non-permanent memory in the form of computer-readable media, random access memory (RAM), and / or non-volatile memory such as read-only memory (ROM) or flash memory (flash RAM). The memory is an example of computer-readable media.
[0183] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. 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, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0184] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0185] It should be understood by those skilled in the art that the embodiments of this specification may be provided as methods, systems or computer program products. Therefore, one or more embodiments of this specification may take 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 take the form of a computer program product 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.
[0186] One or more embodiments of the present 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 the present specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
[0187] Each embodiment in this specification is described in a progressive manner. For the same or similar parts among the embodiments, reference can be made to each other. Each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple. For the relevant parts, reference can be made to the partial description of the method embodiment.
[0188] The above description is only for the embodiments of this specification and is not intended to limit this specification. For those skilled in the art, various changes and modifications can be made to this specification. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this specification shall be included within the scope of the claims of this specification.
Claims
1. A business processing method across blockchains, applied to a first blockchain system, where the first blockchain system is an information storage system for a first recognition model used for biometric recognition. The method includes: Receiving a service request for a target service sent by a target blockchain node in a second blockchain system corresponding to a second recognition model for biometric recognition; Based on a smart contract pre-deployed in the first blockchain system, verifying the target blockchain node to obtain a corresponding verification result, where the smart contract is generated based on cross-chain business rules between the first blockchain system and the second blockchain system; Based on the verification result and the service request, processing the target service through a cross-chain transmission channel between the first blockchain system and the second blockchain system; The method further includes: Obtaining information of different blockchain nodes required to build the first blockchain system, where the blockchain nodes include a provider node of a biometric recognition algorithm for building the first recognition model, a node providing a device carrying the first recognition model, and a node providing a preset service for the device carrying the first recognition model; Based on the information of different blockchain nodes and the ledger information of the first blockchain system, building the first blockchain system, where the ledger information is generated based on data obtained by the blockchain nodes during the call and / or processing of the first recognition model.
2. According to the method of claim 1, the verifying the target blockchain node based on a smart contract pre-deployed in the first blockchain system to obtain a corresponding verification result includes: Obtaining information related to the target blockchain node from the first blockchain system based on the smart contract; If it is determined based on the smart contract that the first blockchain system includes information related to the target blockchain node and the information related to the target blockchain node includes successful information for processing the target blockchain node, then it is determined that the verification of the target blockchain node passes.
3. According to the method of claim 1, the method further includes: Obtaining an information update request of a first blockchain node in the first blockchain system, where the information update request includes information to be updated for the first blockchain node; Providing the information to be updated to a master node in the first blockchain system, where the information to be updated is used to trigger the master node to update the first blockchain node based on the information to be updated.
4. According to the method of claim 1, the method further includes: Receiving a node joining request for a first terminal to access a node in the first blockchain system, where the node joining request includes information of the first terminal; Based on the information of the first terminal, determining the node type of the first terminal in the first blockchain system, where the node type includes a master node and a secondary node. The master node has the permission to modify and query the ledger information in the first blockchain system, and the secondary node has the permission to query the ledger information in the first blockchain system. Based on the determined node type, connect the first terminal as a blockchain node to the first blockchain system.
5. The method according to claim 1, the method further comprising: Based on the process information of calling and / or processing by the first recognition model, connect each blockchain node of the first blockchain system to obtain a connection relationship graph of the blockchain nodes in the first blockchain system; When receiving a query request for the calling and / or processing process of the first recognition model sent by the user, send the connection relationship graph to the user to display the connection relationship graph to the user.
6. The method according to claim 1, the method further comprising: Receive a deletion request for the first recognition model sent by the user, where the deletion request includes an identifier of the blockchain node corresponding to the user; Based on the identifier of the blockchain node corresponding to the user, determine whether the blockchain node corresponding to the user is a primary node; If so, search for and delete the first recognition model from the first blockchain system.
7. The method according to claim 1, the method further comprising: Receive a query request for the first recognition model sent by the user, where the query request includes an identifier of the user; Based on the identifier, search for and display the information corresponding to the query request in the first blockchain system, and the information corresponding to the query request includes the number of times the first recognition model is accessed within a preset time period.
8. The method according to any one of claims 1-7, the first recognition model is used to recognize one or more of the following different biometric features: fingerprint feature, facial feature, palmprint feature, and iris feature.
9. The method according to claim 8, the target blockchain node is a virtual primary node.
10. A cross-blockchain service processing device, the device is a device in the first blockchain system, and the first blockchain system is an information storage system for the first recognition model for biometric recognition. The device includes: A request receiving module, receiving a service request for a target service sent by a target blockchain node in a second blockchain system corresponding to a second recognition model for biometric recognition; A verification module, verifying the target blockchain node based on a smart contract pre-deployed in the first blockchain system to obtain a corresponding verification result, and the smart contract is generated based on the cross-chain service rules between the first blockchain system and the second blockchain system; A service processing module, based on the verification result and the service request, processes the target service through a cross-chain transmission channel between the first blockchain system and the second blockchain system; The device further includes: An information acquisition module, acquiring information of different blockchain nodes required to construct the first blockchain system, and the blockchain nodes include a node providing a biometric recognition algorithm for constructing the first recognition model, a node providing a device carrying the first recognition model, and a node providing a preset service for the device carrying the first recognition model; The blockchain construction module constructs the first blockchain system based on the information of different blockchain nodes and the ledger information of the first blockchain system, where the ledger information is generated based on the data obtained by the blockchain nodes during the invocation and / or processing of the first recognition model.
11. A cross-blockchain service processing device, which is a device in the first blockchain system. The first blockchain system is an information storage system for a first recognition model used for biometric recognition. The cross-blockchain service processing device includes: A processor; And A memory arranged to store computer-executable instructions, and when the executable instructions are executed, the processor is caused to: Receive a service request for a target service from a target blockchain node in a second blockchain system corresponding to a second recognition model for biometric recognition; Based on a smart contract pre-deployed in the first blockchain system, verify the target blockchain node to obtain a corresponding verification result, where the smart contract is generated based on the cross-chain service rules between the first blockchain system and the second blockchain system; Based on the verification result and the service request, process the target service through the cross-chain transmission channel between the first blockchain system and the second blockchain system; It further includes: Obtain information of different blockchain nodes required to construct the first blockchain system. The blockchain nodes include nodes providing biometric algorithms for constructing the first recognition model, nodes providing devices carrying the first recognition model, and nodes providing preset services for devices carrying the first recognition model; Construct the first blockchain system based on the information of different blockchain nodes and the ledger information of the first blockchain system, where the ledger information is generated based on the data obtained by the blockchain nodes during the invocation and / or processing of the first recognition model.
12. A storage medium for storing computer-executable instructions, and when the executable instructions are executed by a processor, the following process is implemented: Receive a service request for a target service from a target blockchain node in a second blockchain system corresponding to a second recognition model for biometric recognition; Based on a smart contract pre-deployed in the first blockchain system, verify the target blockchain node to obtain a corresponding verification result, where the smart contract is generated based on the cross-chain service rules between the first blockchain system and the second blockchain system, and the first blockchain system is an information storage system for a first recognition model used for biometric recognition; Based on the verification result and the service request, process the target service through the cross-chain transmission channel between the first blockchain system and the second blockchain system; It further includes: Obtain information of different blockchain nodes required to construct the first blockchain system. The blockchain nodes include nodes providing biometric algorithms for constructing the first recognition model, nodes providing devices carrying the first recognition model, and nodes providing preset services for devices carrying the first recognition model; The first blockchain system is constructed based on information of different blockchain nodes and ledger information of the first blockchain system, where the ledger information is generated based on data obtained by the blockchain nodes during the process of invoking and / or processing in the first recognition model.
Citation Information
Patent Citations
Business processing method, method, device and equipment based on blockchain
CN111401902A
Block chain cross-chain identity authentication and authority management and control method and device and computer equipment
CN112508560A