Integrating blockchain with off-chain services
AssigneeSap SE
InventorHuijie Zhang
Life of this patent
Estimating the term…
Abstract
A method, a system, and a computer program product for validating a transaction. A received request to validate a transaction in accordance with one or more validation rules in a plurality of validation rules is executed. Based on the executed validation request, a validation certificate associated with the transaction is generated. Validity of the validation certificate is determined. The transaction is stored on a blockchain network upon determining that the validation certificate is valid. Storage of the transaction on the blockchain network is prevented upon determination that the validation certificate is invalid.
Claims20
A computer-implemented method, comprising:
- executing a received request to validate a transaction in accordance with one or more validation rules in a plurality of validation rules;
- generating, based on the executed validation request, a validation certificate associated with the transaction, the validation certificate being generated using one or more validation rules in the plurality of validation rules and including a certificate number, a name of the validation certificate issuer, a timestamp, a signature including encrypted certificate number, name of the validation certificate issuer, and the timestamp, a transaction number, and a hashcode of the transaction, the generating of the validation certificate including generating the validation certificate based on a determination that at least some information associated with the transaction is incorrect, validating the transaction having the at least some incorrect information, and generating at least one application programming interface for modifying the validated transaction;
- determining a validity of the validation certificate, the determining including determining validity of the received request using one or more validation rules in the plurality of validation rules;
- and
- storing the transaction on a blockchain network upon determining that the validation certificate and the received request are valid, and preventing storage of the transaction on the blockchain network upon determination that at least one of the validation certificate and the received request is invalid, wherein the determining of the validity of the validation certificate and the received request includes accessing at least another blockchain network to check information included in the validation certificate and the received request against information stored in the at least another blockchain network, wherein at least one of the storing and the preventing is performed in response to receiving a request to post the transaction to the blockchain network, the request including a type of the transaction, a transaction information, and a payload containing full transaction information, the full transaction information being encoded in the validation certificate, the preventing including requesting a modification of the transaction to generate, using the at least one application programming interface, a modified transaction for executing a validation of the modified transaction.
A system comprising:
- at least one programmable processor;
- and
- a non-transitory machine-readable medium storing instructions that, when executed by the at least one programmable processor, cause the at least one programmable processor to perform operations comprising:
- executing a received request to validate a transaction in accordance with one or more validation rules in a plurality of validation rules;
- generating, based on the executed validation request, a validation certificate associated with the transaction, the validation certificate being generated using one or more validation rules in the plurality of validation rules and including a certificate number, a name of the validation certificate issuer, a timestamp, a signature including encrypted certificate number, name of the validation certificate issuer, and the timestamp, a transaction number, and a hashcode of the transaction, the generating of the validation certificate including generating the validation certificate based on a determination that at least some information associated with the transaction is incorrect, validating the transaction having the at least some incorrect information, and generating at least one application programming interface for modifying the validated transaction;
- determining a validity of the validation certificate, the determining including determining validity of the received request using one or more validation rules in the plurality of validation rules;
- and
- storing the transaction on a blockchain network upon determining that the validation certificate and the received request are valid, and preventing storage of the transaction on the blockchain network upon determination that at least one of the validation certificate and the received request is invalid, wherein the determining of the validity of the validation certificate and the received request includes accessing at least another blockchain network to check information included in the validation certificate and the received request against information stored in the at least another blockchain network, wherein at least one of the storing and the preventing is performed in response to receiving a request to post the transaction to the blockchain network, the request including a type of the transaction, a transaction information, and a payload containing full transaction information, the full transaction information being encoded in the validation certificate, the preventing including requesting a modification of the transaction to generate, using the at least one application programming interface, a modified transaction for executing a validation of the modified transaction.
A computer program product comprising a non-transitory machine-readable medium storing instructions that, when executed by at least one programmable processor, cause the at least one programmable processor to perform operations comprising:
- executing a received request to validate a transaction in accordance with one or more validation rules in a plurality of validation rules;
- generating, based on the executed validation request, a validation certificate associated with the transaction, the validation certificate being generated using one or more validation rules in the plurality of validation rules and including a certificate number, a name of the validation certificate issuer, a timestamp, a signature including encrypted certificate number, name of the validation certificate issuer, and the timestamp, a transaction number, and a hashcode of the transaction, the generating of the validation certificate including generating the validation certificate based on a determination that at least some information associated with the transaction is incorrect, validating the transaction having the at least some incorrect information, and generating at least one application programming interface for modifying the validated transaction;
- determining a validity of the validation certificate, the determining including determining validity of the received request using one or more validation rules in the plurality of validation rules;
- and
- storing the transaction on a blockchain network upon determining that the validation certificate and the received request are valid, and preventing storage of the transaction on the blockchain network upon determination that at least one of the validation certificate and the received request is invalid, wherein the determining of the validity of the validation certificate and the received request includes accessing at least another blockchain network to check information included in the validation certificate and the received request against information stored in the at least another blockchain network, wherein at least one of the storing and the preventing is performed in response to receiving a request to post the transaction to the blockchain network, the request including a type of the transaction, a transaction information, and a payload containing full transaction information, the full transaction information being encoded in the validation certificate, the preventing including requesting a modification of the transaction to generate, using the at least one application programming interface, a modified transaction for executing a validation of the modified transaction.
Dependencies are inferred from the claim text.