Advanced methods, systems and devices for registering information in a database
Abstract
A method and system are provided for registering, in a database, a transaction between two parties, and for allowing a third party to cause an action to be performed in relation to the transaction. The method comprise a step of creating (s 2 ) a transaction record, steps of electronically signing (s 4 , s 12 , s 18 , s 26 ) the transaction record, steps of registering (s 6 , s 14 , s 20 , s 28 ) the transaction record in the database, steps of issuing a notification (s 8 , s 16 , s 22 ) that the transaction record has been registered in the database, steps of verifying (s 10 , s 24 ) the transaction record by the third party, and a step of causing (s 30 ), by the third party, an action to be performed based on transaction content information.
Claims
exact text as granted — not AI-modifiedThe invention claimed is:
1. A method for registering, in a database being an immutable blockchain ledger, a transaction between a first party's electronic device and a second party's electronic device, and for causing a third party's electronic device to perform an action in relation to the transaction, wherein the first party's electronic device, the second party's electronic device and the third party's electronic device are capable of communicating with the database over a communication network and capable of transmitting electronically signing data over the communication network, wherein the method comprises:
based on a smart contract template, creating, by the first party's electronic device, a transaction record being a smart contract encoding the transaction, the transaction record comprising:
a transaction identifier, for identifying the transaction,
an identifier for identifying the first party,
an identifier for identifying the second party, and
transaction content information, relating to at least one of the nature of the transaction and a value that the transaction is considered to have;
by the first party's electronic device, modifying a data structure of the transaction record to include an electronic signature of the first party's electronic device to create a first resulting transaction record and transmitting the first resulting transaction record to the database over the communication network, the electronic signature of the first party's electronic device being inputted by using a private key of the first party's electronic device;
upon receipt of the transmitted first resulting transaction by the database, automatically registering the transmitted first resulting transaction record in the database;
automatically transmitting over the communication network a notification to the third party's electronic device notifying that the first resulting transaction record has been registered in the database;
transmitting the first resulting transaction record to the third party's electronic device over the communication network;
determining, by the third party's electronic device, that the first resulting transaction record is in accordance with a rule or set of rules and includes the electronic signature of the first party's electronic device, wherein determining that the first resulting transaction record is in accordance with the rule or set of rules comprises verifying, based on the identifier for identifying the first party, the identifier for identifying the second party, and the transaction content information, transaction conformity with the rule or set of rules;
when the determination that the first resulting transaction record is in accordance with the rule or set of rules and includes the electronic signature of the first party's electronic device succeeds, by the third party's electronic device, modifying a data structure of the first resulting transaction record to include an electronic signature of the third party's electronic device to create a second resulting transaction record and transmitting the second resulting transaction record to the database over the communication network, the electronic signature of the third party's electronic device being inputted by using a private key of the third party's electronic device;
upon modifying the data structure of the first resulting transaction record by the third party's electronic device, automatically debiting an account associated with the first party from an amount representing a tax on an added value that is considered to result from the transaction;
upon receipt of the transmitted second resulting transaction by the database, automatically registering the transmitted second resulting transaction record in the database;
automatically transmitting over the communication network a notification to the second party's electronic device notifying that the second resulting transaction record has been registered in the database;
transmitting the second resulting transaction record to the second party's electronic device over the communication network;
by the second party's electronic device, modifying a data structure of the second resulting transaction record to include an electronic signature of the second party's electronic device to create a third resulting transaction record and transmitting the third resulting transaction record to the database over the communication network, the electronic signature of the second party's electronic device being inputted by using a private key of the second party's electronic device;
upon receipt of the transmitted third resulting transaction by the database, automatically registering the transmitted third resulting transaction record in the database;
automatically notifying the third party's electronic device that the third resulting transaction record has been registered in the database, and
determining, by the third party's electronic device, whether the third resulting transaction record includes the electronic signature of the second party's electronic device;
when the determination that the third resulting transaction record includes the electronic signature of the second party's electronic device succeeds, by the third party's electronic device, modifying a data structure of the third resulting transaction record to include an electronic signature of the second party's electronic device to create a fourth resulting transaction record and transmitting the fourth resulting transaction record to the database over the communication network, the electronic signature of the third party's electronic device being inputted by using a private key of the third party's electronic device;
upon determining, by the third party's electronic device, that the third resulting transaction record includes the electronic signature of the second party's electronic device, automatically crediting an account associated with the second party by the amount;
upon receipt of the transmitted fourth resulting transaction by the database, automatically registering the transmitted fourth resulting transaction record in the database; and
causing the third party's electronic device to perform the action based on the transaction content information of the transaction record,
wherein the transaction relates to an object, and the object is marked with a code representing, or corresponding to, the transaction identifier; or wherein the transaction relates to a service, and a document associated with the service is marked with a code representing, or corresponding to, the transaction identifier.
2. The method of claim 1 , wherein the transaction record further comprises a state variable indicating at least one of:
that the transaction record has been electronically signed by the first party's electronic device;
that the first resulting transaction record has been registered in the database;
that the third party's electronic device has been notified that the first resulting transaction record has been registered in the database;
that the first resulting transaction record has been determined to be in accordance with the rule or set of rules and to have been electronically signed by the first party's electronic device;
that the first resulting transaction record has been electronically signed by the third party's electronic device;
that the second resulting transaction record has been registered in the database;
that the second party's electronic device has been notified that the second resulting transaction record has been registered in the database;
that the second resulting transaction record has been electronically signed by the second party's electronic device;
that the third resulting transaction record has been registered in the database;
that the third party's electronic device has been notified that the third resulting transaction record has been registered in the database; and
that the third resulting transaction record has been determined to have been electronically signed by the second party's electronic device;
that the third resulting transaction record has been electronically signed by the third party's electronic device;
that the fourth resulting transaction record has been registered in the database; and
that the action has been caused to be performed.
3. The method of claim 1 , wherein the transaction relates to the object and the method further comprises marking the object with the code after creating the transaction record.
4. The method of claim 1 , wherein the transaction relates to the object and the method further comprises:
reading the code marked on the object; and
determining, by querying the database, at least one of:
whether the action has been performed for a transaction identified by the transaction identifier represented by, or corresponding to, the read code; and
whether the object's nature matches the transaction content information of the transaction identified by the transaction identifier represented by, or corresponding to, the read code.
5. The method of claim 1 , wherein the transaction relates to the service and the method further comprises marking the document with the code after creating the transaction record.
6. The method of claim 1 , wherein the transaction relates to the service and the method further comprises:
reading the code marked on the document associated with the service; and
determining, by querying the database, at least one of:
whether the action has been performed for a transaction identified by the transaction identifier represented by, or corresponding to, the read code; and
whether the object's nature matches the transaction content information of the transaction identified by the transaction identifier represented by, or corresponding to, the read code.
7. The method according to claim 1 , wherein when the transaction relates to an object, the transaction identifier corresponds to an object signature, generated based on at least one of:
a property of the object; and
a property of a material-based security element apposed on or attached to the object.
8. The method of claim 7 , further comprising:
obtaining the object signature; and
determining, by querying the database, at least one of:
whether the action has been performed for a transaction identified by the transaction identifier corresponding to the obtained object signature; and
whether the object's nature matches the transaction content information of the transaction identified by the transaction identifier corresponding to the obtained object signature.
9. The method according to claim 1 , wherein when the transaction relates to a service, the transaction identifier corresponds to a service-associated document signature, generated based on at least one of:
a property of a document associated with the service; and
a property of a material-based security element apposed on or attached to the document associated with the service.
10. The method of claim 9 , further comprising:
obtaining the service-associated document signature; and
determining, by querying the database, at least one of:
whether the action has been performed for a transaction identified by the transaction identifier corresponding to the obtained service-associated document signature; and
whether the object's nature matches the transaction content information of the transaction identified by the transaction identifier corresponding to the obtained service-associated document signature.
11. A system for registering, in a database being an immutable blockchain ledger, a transaction between a first party's electronic device and a second party's electronic device, and for causing a third party's electronic device to perform an action in relation to the transaction, wherein the first party, the second party and the third party, the electronic devices are capable of communicating with the database over a communication network and capable of transmitting electronically signing data over the communication network, wherein the system is configured for:
based on a smart contract template, creating, by the first party's electronic device, a transaction record being a smart contract encoding a transaction, the transaction record comprising
a transaction identifier, for identifying the transaction,
an identifier for identifying the first party,
an identifier for identifying the second party, and
transaction content information, relating to at least one of the nature of the transaction and a value that the transaction is considered to have;
by the first party's electronic device, modifying a data structure of the transaction record to include an electronic signature of the first party's electronic device to create a first resulting transaction record and transmitting the first resulting transaction record to the database over the communication network, the electronic signature of the first party's electronic device being inputted by using a private key of the first party's electronic device;
upon receipt of the transmitted first resulting transaction by the database, automatically registering the transmitted first resulting transaction record in the database;
automatically transmitting over the communication network a notification to the third party's electronic device notifying that the first resulting transaction record has been registered in the database;
transmitting the first resulting transaction record to the third party's electronic device over the communication network;
determining, by the third party's electronic device, that the first resulting transaction record is in accordance with a rule or set of rules and includes the electronic signature of the first party's electronic device, wherein determining that the first resulting transaction record is in accordance with the rule or set of rules comprises verifying, based on the identifier for identifying the first party, the identifier for identifying the second party, and the transaction content information, the transaction conformity with the rule or set of rules;
when the determination that the first resulting transaction record is in accordance with the rule or set of rules and includes the electronic signature of the first party's electronic device succeeds, by the third party's electronic device, modifying a data structure of the first resulting transaction record to include the electronic signature of the third party's electronic device to create a second resulting transaction record and transmitting the second resulting transaction record to the database over the communication network, the electronic signature of the third party's electronic device being inputted by using a private key of the third party's electronic device;
upon modifying the data structure of the first resulting transaction record by the third party's electronic device, automatically debiting an account associated with the first party from an amount representing a tax on an added value that is considered to result from the transaction;
upon receipt of the transmitted second resulting transaction by the database, automatically registering the transmitted second resulting transaction record in the database;
automatically transmitting over the communication network a notification to the second party's electronic device notifying that the second resulting transaction record has been registered in the database;
transmitting the second resulting transaction record to the second party's electronic device over the communication network;
by the second party's electronic device, modifying a data structure of the second resulting transaction record to include an electronic signature of the second party's electronic device to create a third resulting transaction record and transmitting the third resulting transaction record to the database over the communication network, the electronic signature of the second party's electronic device being inputted by using a private key of the second party's electronic device;
upon receipt of the transmitted third resulting transaction by the database, automatically registering the transmitted third resulting transaction record in the database;
automatically notifying the third party's electronic device that the third resulting transaction record has been registered in the database; and,
determining, by the third party's electronic device, whether the third resulting transaction record includes the electronic signature of the second party's electronic device;
when the determination that the third resulting transaction record includes the electronic signature of the second party's electronic device succeeds, by the third party's electronic device, modifying a data structure of the third resulting transaction record to include an electronic signature of the second party's electronic device to create a fourth resulting transaction record and transmitting the fourth resulting transaction record to the database over the communication network, the electronic signature of the third party's electronic device being inputted by using a private key of the third party's electronic device;
upon determining, by the third party's electronic device, that the third resulting transaction record includes the electronic signature of the second party's electronic device, automatically crediting an account associated with the second party by the amount;
upon receipt of the transmitted fourth resulting transaction by the database, automatically registering the transmitted fourth resulting transaction record in the database, and causing the third party's electronic device to perform the action based on the transaction content information of the transaction record,
wherein the transaction relates to an object, and the object is marked with a code representing, or corresponding to, the transaction identifier; or wherein the transaction relates to a service, and a document associated with the service is marked with a code representing, or corresponding to, the transaction identifier.
12. A computer program product comprising computer-readable instructions included in a non-transitory computer-readable medium configured, when executed on an electronic device or set of electronic devices, to cause the electronic device or set of electronic devices to perform operations comprising of:
based on a smart contract template, creating, by a first party's electronic device, a transaction record being a smart contract encoding a transaction, the transaction record comprising:
a transaction identifier, for identifying the transaction,
an identifier for identifying the first party,
an identifier for identifying the second party, and
transaction content information, relating to at least one of the nature of the transaction and a value that the transaction is considered to have;
by the first party's electronic device, modifying a data structure of the transaction record to include an electronic signature of the first party's electronic device to create a first resulting transaction record and transmitting the first resulting transaction record to the database, the electronic signature of the first party's electronic device being inputted by using a private key of the first party's electronic device;
upon receipt of the transmitted first resulting transaction by the database, automatically registering the transmitted first resulting transaction record in the database;
automatically transmitting over the communication network a notification to the third party's electronic device notifying that the first resulting transaction record has been registered in the database;
transmitting the first resulting transaction record to the third party's electronic device over the communication network;
determining, by the third party's electronic device, that the first resulting transaction record is in accordance with a rule or set of rules and includes the electronic signature of the first party's electronic device, wherein determining that the first resulting transaction record is in accordance with the rule or set of rules comprises verifying, based on the identifier for identifying the first party, the identifier for identifying the second party, and the transaction content information, transaction conformity with the rule or set of rules;
when the determination that the first resulting transaction record is in accordance with the rule or set of rules and includes the electronic signature of the first party's electronic device succeeds, by the third party's electronic device, modifying a data structure of the first resulting transaction record to include an electronic signature of the third party's electronic device to create a second resulting transaction record and transmitting the second resulting transaction record to the database over the communication network, the electronic signature of the third party's electronic device being inputted by using a private key of the third party's electronic device;
upon modifying the data structure of the first resulting transaction record by the third party's electronic device, automatically debiting an account associated with the first party from an amount representing a tax on an added value that is considered to result from the transaction;
upon receipt of the transmitted second resulting transaction by the database, automatically registering the transmitted second resulting transaction record in the database;
automatically transmitting over the communication network a notification to the second party's electronic device notifying that the second transmitting transaction record has been registered in the database;
transmitting the second resulting transaction record to the second party's electronic device over the communication network;
by the second party's electronic device, modifying a data structure of the second resulting transaction record to include an electronic signature of the second party's electronic device to create a third resulting transaction record and transmitting the third resulting transaction record to the database over the communication network, the electronic signature of the second party's electronic device being inputted by using a private key of the second party's electronic device;
upon receipt of the transmitted third resulting transaction by the database, automatically registering the transmitted third resulting transaction record in the database;
automatically notifying the third party's electronic device that the third resulting transaction record has been registered in the database, and
determining, by the third party's electronic device, whether the third resulting transaction record includes the electronic signature of the second party's electronic device;
when the determination that the third resulting transaction record includes the electronic signature of the second party's electronic device succeeds, by the third party's electronic device, modifying a data structure of the third resulting transaction record to include an electronic signature of the second party's electronic device to create a fourth resulting transaction record and transmitting the fourth resulting transaction record to the database over the communication network, the electronic signature of the third party's electronic device being inputted by using a private key of the third party's electronic device;
upon determining, by the third party's electronic device, that the third resulting transaction record includes the electronic signature of the second party's electronic device, automatically crediting an account associated with the second party by the amount;
upon receipt of the transmitted fourth resulting transaction by the database, automatically registering the transmitted fourth resulting transaction record in the database; and
causing the third party's electronic device to perform the action based on the transaction content information of the transaction record,
wherein the transaction relates to an object, and the object is marked with a code representing, or corresponding to, the transaction identifier; or wherein the transaction relates to a service, and a document associated with the service is marked with a code representing, or corresponding to, the transaction identifier.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.