Advanced method, system and apparatus for registering information in a database
Creating and signing transaction records in the blockchain database through Alice and Carol's electronic devices solves the problem of waiting time delay in the transaction registration process in the computer database, enables efficient and secure transaction monitoring and tracking, and enhances the security of the transaction process. reliability.
Patent Information
- Application Number
- CN201980059702.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-09-11
- Filing Date
- 2019-08-09
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2039-08-09
AI Technical Summary
In computer-implemented databases, existing technology is difficult to achieve reliable, secure and efficient registration of transactions, especially in the application of blockchain technology, where there is a problem of waiting time delay.
Transaction records are created and signed through Alice's and Carol's electronic devices respectively, registered using a distributed database (such as a blockchain), and allowing a third party (Carol) to perform relevant actions based on transaction content information, reducing waiting time.
It achieves real-time, low-latency transaction registration and monitoring in the database, improves the efficiency of the transaction process, and ensures the security and reliability of transactions through electronic signatures and the immutability of the blockchain.
Smart Images

Figure CN112714920B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of applied computer science. In particular, the present invention relates to registering (ie, recording) information in a computer-implemented database. Background Art
[0002] Blockchain technology is used as a core component of the now well-known digital currency Bitcoin. In the Bitcoin system, the blockchain is used as a public ledger of all transactions (see Satoshi Nakamoto, "Bitcoin: A peer-to-peer electronic cash system" (2008), retrieved from https: / / bitcoin.org / bitcoin.pdf on March 2, 2017).
[0003] Blockchain technology has stimulated research in the fields of applied computer science, particularly databases, cryptography, and computer networks. Some of these research activities focus on solving various technical problems associated with the implementation of reliable, secure, and efficient computer-implemented methods, systems, and devices for registering (i.e., recording) transactions in a computer-implemented database. Summary of the invention
[0004] In order to solve or at least partially address the above problems, a method, a system and an electronic device according to the invention are defined in the independent claims. Specific embodiments are defined in the dependent claims.
[0005] In one embodiment, a method is provided for registering a transaction between a first party, hereinafter referred to as "Alice", and a second party, hereinafter referred to as "Bob", in a database and allowing a third party, hereinafter referred to as "Carol", to cause actions to be performed in relation to the transaction. Alice and Carol each have an electronic device capable of communicating with the database over a communications network and of electronically signing data to be sent over the communications network. The method comprises the following steps.
[0006] Alice's electronic device causes the creation of a record, hereinafter referred to as a "transaction record". The transaction record includes: (i) an identifier for identifying the transaction, hereinafter referred to as the "transaction identifier", (ii) an identifier for identifying Alice, and (iii) information related to at least one of the nature of the transaction and the value that the transaction is believed to have, hereinafter referred to as the "transaction content information". Alice's electronic device then electronically signs the transaction record. The resulting transaction record is hereinafter referred to as the "TRANSACTION RECORD". kA Then register TR in the database kA .
[0007] Then notify TR to Carol's electronic device kA has been registered in the database. kA is judged to comply with the rule or rule set and has been electronically signed by Alice's electronic device. Carol's electronic device then kA The resulting transaction record is hereinafter referred to as "TR kA,kC1 Then register TR in the database kA,kC1 .
[0008] Then, Alice's electronic device is notified of TR kA,kC1 has been registered in the database.
[0009] Carol's electronic device then causes an action to be performed, wherein the action is based on TR kA,kC1 The transaction content information included in it is associated with Carol's taxation.
[0010] One advantage of the method is that it reduces the waiting time (i.e., delay) in the process of recording transactions. Additional advantages of the method will become apparent from the following detailed description.
[0011] In one embodiment, a system is provided for registering a transaction between a first party ("Alice") and a second party ("Bob") in a database and allowing a third party ("Carol") to cause actions to be performed in relation to the transaction, wherein Alice and Carol each have an electronic device capable of communicating with the database over a communications network and capable of electronically signing data to be sent over the communications network. The system is configured to perform the steps as described above.
[0012] In other embodiments, the present invention also relates to a method for participating in registering such a transaction in the database and participating in allowing the third party ("Carol") to cause actions to be performed in connection with the transaction, wherein the method is performed by either Alice's electronic device or Carol's electronic device.
[0013] In other embodiments, the present invention also relates to an electronic device for participating in registering such a transaction in said database and participating in allowing said third party ("Carol") to cause actions to be performed in connection with said transaction, wherein said electronic device is capable of being used as either Alice's electronic device or Carol's electronic device.
[0014] The present invention also relates to a computer program or a set of computer programs, which comprises computer-readable instructions, which are configured to cause an electronic device or a group of electronic devices to perform any of the above methods when executed on the electronic device or a group of electronic devices.
[0015] In some embodiments, such as defined in dependent claim 6, the transaction is associated with an object, and the object is marked with a code representing or corresponding to the transaction identifier. The code marked on the object can then be read, for example, when the object is transported by Alice, and it can then be determined by querying the database whether the nature of the object matches the transaction content information of the transaction identified by the transaction identifier represented by or corresponding to the read code. The nature of the object can be determined, for example, by visual inspection of the object. Thus, transactions can be registered in real time or quasi-real time, and it can be checked later whether the registered transaction correctly corresponds to the actual transaction.
[0016] The present invention will be described more fully hereinafter with reference to the accompanying drawings, in which like reference numerals refer to like elements throughout the different figures, and in which salient aspects and features of the present invention are illustrated. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 is a message sequence chart of a method in one embodiment of the present invention;
[0018] Figures 2 to 5 are four flow charts of methods in four embodiments of the present invention;
[0019] Figure 6a and 6b (to be read together) Message sequence diagram constituting methods in other embodiments of the present invention;
[0020] Figure 7 is a flow chart of a method according to one embodiment of the present invention; and
[0021] Figure 8 is a schematic diagram of a typical implementation of an electronic device in one embodiment of the present invention. DETAILED DESCRIPTION
[0022] The present invention will now be described in conjunction with specific examples. These specific embodiments are intended to provide a better understanding for those skilled in the art, but are not intended to limit the scope of the invention, which is defined by the appended claims. For convenience, a list of abbreviations and their meanings is provided at the end of the specific embodiments.
[0023] Figure 1is a message sequence chart of a method in one embodiment of the present invention. The purpose of the method is to firstly register (i.e., record) a transaction between a first party and a second party in a database, and secondly allow a third party to cause an action to be performed in connection with the transaction. Purely for convenience, the first party, the second party, and the third party (or in other words, the participants) are referred to as Alice, Bob, and Carol, respectively.
[0024] The database is a computer-implemented database. Many forms of computer-implemented databases can be used. In one embodiment, the database is a distributed database. In one embodiment, the database is a distributed ledger (also known as a shared ledger). In one embodiment, the database is a shared permissioned ledger. In one embodiment, the database is a blockchain-based database, such as a public blockchain-based database or a private blockchain-based database (such as a blockchain operated by a private consortium). In one embodiment, the database is a database (or ledger) protected by a blockchain (such as described in US 2017 / 0033932 A1). In one embodiment, the database is immutable to some extent. This means that after the content has been recorded in the database, it is very difficult or computationally very demanding to change the content.
[0025] Alice and Carol each have an electronic device that can communicate with the database via a communication network. Many forms of electronic devices can be used, such as personal computers, laptop computers, mobile phones, smart phones, tablet computers, personal digital assistants, wearable computers, gaming devices, portable media players, set-top boxes, and / or cameras, etc. In one embodiment, Alice and Carol's electronic devices are interconnected via one or more communication networks. Many forms of communication networks can also be used, such as, but not limited to, the Internet and / or any type of wired or wireless communication network.
[0026] Alice and Carol's electronic devices are each capable of electronically signing data on behalf of Alice and Carol, respectively. For example, Alice and Carol each have a key, i.e., a key that can be used to digitally sign data. In one embodiment, Alice and Carol's keys are each private keys, and Alice and Carol each also have a public key, which can be used together in the framework of a public key cryptosystem or an asymmetric cryptosystem.
[0027] In one embodiment, electronically signing the data includes digitally signing the data using a key, such as a private key as described above.
[0028] In another embodiment, electronically signing the data does not involve the use of a key. For example, electronically signing the data may be subject to authentication of a user entering certain user credentials (such as a username and matching password, or biometric data, etc.). After authentication, the data may then be appended with signature data indicating that authentication occurred as a form of electronic signature.
[0029] In one embodiment, the transaction includes the sale of a product or service. For example, Alice may be the seller and Bob may be the buyer. For example, Bob may be a consumer who must pay taxes (e.g., VAT or GST) for the products or services purchased from Alice, and Carol may be the tax authority. Alice's electronic device may be operable and configured to deliver a purchase receipt (preferably listing the tax amount separately thereon) upon receiving payment from Bob for the product or service. In addition, Alice's electronic device may also be operable to perform payment operations of a bank card (i.e., Bob's bank card) as a bank card reader (possibly contactless), or, for example, receive payment from Bob's wireless data transmission portable device via an NFC ("near field communication") protocol such as, for example, a smart phone.
[0030] The method includes the following steps s2, s4, s6, s8, s10, s12, s14, s16 and s18, which can be referred to as follows Figure 1 Step-by-step description. Below, where it is described that an electronic device performs a step, the step may be automatically performed, for example, by one or more computer programs executed on the electronic device, or by one or more integrated circuits included in the electronic device. In some embodiments, for one or more steps of the method, a user may be optionally required to provide some input for the step to be completed.
[0031] Step s2
[0032] In step s2, Alice's electronic device causes the creation of a record referred to herein as a "transaction record." The record is a data structure that can be stored in a database.
[0033] In one embodiment, the transaction record is created by Alice's electronic device.
[0034] In another embodiment ( Figure 1In the embodiment (not shown), the transaction record is not created by Alice's electronic device itself. In this embodiment, Alice's electronic device may, for example, send the parameters required to create the transaction record to a database. The database or a computer program associated with or managing the database then creates the transaction record. For example, the computer program managing the database may contain a set of instructions, i.e., a protocol, for creating the transaction record. The transaction record or a copy thereof is then sent to Alice's electronic device for signing (according to step s4).
[0035] A transaction record is a data structure that includes: (i) an identifier for identifying a transaction, referred to herein as a "transaction identifier", (ii) an identifier for identifying Alice, and (iii) information relating to at least one of the nature of the transaction and the value that the transaction is believed to have, referred to herein as "transaction content information". The identifiers are unique identifiers so that they effectively allow the transaction and Alice, respectively, to be practically identified.
[0036] In one embodiment, the transaction record may be referred to as a so-called "smart contract", and thus creating a transaction record may also be referred to as initiating a smart contract. In one embodiment, the transaction content information includes a description of the product or service, its price, and the value-added tax (VAT) (also known as the goods and services tax (GST)) applicable to the transaction.
[0037] Step s4
[0038] In step s4, Alice's electronic device electronically signs the transaction record using, for example, Alice's key. The resulting transaction record, i.e., the electronically signed transaction record, is referred to herein as a "TR kA When a transaction record is digitally signed, the data structure constituting the transaction record is extended in such a way that the data structure also includes the electronic signature. In other words, the TR kA It includes at least the original transaction record (TR) (while its status may have changed) and the electronic signature of the transaction record made by Alice's electronic device, for example, using Alice's key (kA).
[0039] Step s6
[0040] In step s6 (by Figure 1 In sub-steps s6.1 and s6.2 of FIG. 1 ), TR is registered in the database, i.e., recorded. kA In one embodiment, Alice's electronic device causes TR to be registered in the database kA .
[0041] In one embodiment, as a natural consequence of the signing step s4, the registration of TR in the database is performed by Alice's electronic device, such as by a computer program executed on Alice's electronic device. kA .
[0042] In another embodiment, as a natural consequence of the signing operation s4, the registration of TR in the database is not performed by Alice's electronic device itself. kA , but delegated to another electronic device. For example, register TR in the database kA It can be delegated to a computer program associated with the database.
[0043] Step s8
[0044] In step s8, Carol's electronic device is then notified of TR kA Already registered in the database.
[0045] In one embodiment ( Figure 1 (not shown), TR kA Sent to Carol's electronic device. TR kA The TR may be sent to Carol's electronic device, for example, via Alice's electronic device, or via a database, or via a computer program associated with or managing a database. For example, a computer program managing a database may include a program for sending TR kA However, the present invention is not limited to these implementations. For example, in another implementation, when TR kA Bob may be required to approve the transaction before it is sent to Carol's electronic device.
[0046] TR can be implemented by any type of message kA Transmission to Carol's electronic device.
[0047] In another embodiment, TR kA itself is not sent to Carol's electronic device, but only the information about TR kA Information that is available in the database (i.e., has been registered in the database) is sent to Carol's electronic device. In this way, Carol's electronic device is notified that the transaction record has been created, has been electronically signed by Alice's electronic device, and is ready to be electronically signed by Carol's electronic device. kA The information registered in the database can be accessed, for example, through Alice's electronic device ( Figure 1 ), or through a database (such as Figure 1), or sent to Carol's electronic device by a computer program associated with or managing a database. For example, a computer program managing a database may include an instruction set, i.e., a protocol, for sending the information.
[0048] Notification of TR to Carol's electronic device may be accomplished by any type of message kA Already registered in the database.
[0049] Step s10
[0050] In step s10, TR kA It is judged to comply with the rule or rule set and has been electronically signed by Alice's electronic device.
[0051] Step s10 may be performed by Carol's electronic device (e.g., on a TR kA Get TR from the database if it is not yet available on Carol's electronic device kA Afterwards), or by a database, or by a computer program associated with or managing a database. The performance of step s10 may optionally be delegated to a further network element.
[0052] In one embodiment, once Carol's electronic device has been notified of the TR kA If it has been registered in the database, proceed to step s10.
[0053] In one embodiment, if it is determined that TR kA Does not comply with a rule or rule set and / or TR kA The entire process may for example be interrupted if the electronic signature has not yet been performed by Alice's electronic device.
[0054] Step s12
[0055] Then, in step s12, TR is authenticated, for example, by Carol's electronic device using Carol's key. kA That is, Carol's electronic device signs TR kA The resulting transaction record, i.e. the transaction record after further electronic signature, is referred to herein as “TR kA,kC1 ”.
[0056] TR kA,kC1 At least the original transaction record TR kA (while its state may have changed) and Carol's electronic device uses, for example, Carol's key (kC) to kA Electronic signature.
[0057] Step s14
[0058] In step s14 (by Figure 1 In sub-steps s14.1 and s14.2 of FIG. 14 ), TR is registered or recorded in the database. kA,kC1 In one embodiment, Carol's electronic device causes TR to be registered in the database. kA,kC1 .
[0059] In one embodiment, as a natural consequence of the signing operation s12, the registration of TR in the database is performed by Carol's electronic device itself, such as by a computer program running on Carol's electronic device. kA,kC1 .
[0060] In another embodiment, as a natural consequence of the signing step s12, the registration of TR in the database is performed not by Carol's electronic device itself, but by another electronic device. kA,kC1 .
[0061] Step s16
[0062] In step s16, Alice's electronic device is then notified of TR kA,kC1 Already registered in the database.
[0063] In one embodiment ( Figure 1 (not shown), TR kA,kC1 is sent to Alice's electronic device. kA,kC1 It may be sent to Alice's electronic device, for example, via Carol's electronic device, or via a database, or via a computer program associated with or managing a database. However, the present invention is not limited to these implementations.
[0064] TR can be implemented by any type of message kA,kC1 Transmission to Alice's electronic device.
[0065] In another embodiment, TR kA,kC1 itself is not sent to Alice's electronic device, but only the information about TR kA,kC1 The information that is available in the database (ie, registered) is sent to Alice's electronic device. In this way, Alice's electronic device is notified that a transaction record has been created. kA,kC1 The information registered in the database can be accessed, for example, through Carol's electronic device ( Figure 1 ), or through a database (such as Figure 1), or sent to Alice's electronic device through a computer program associated with or managing a database. However, the present invention is not limited to these implementations.
[0066] Notification of TR to Alice's electronic device may be accomplished by any type of message kA,kC1 Already registered in the database.
[0067] Step s18
[0068] In step s18, an action is caused to be performed by Carol's electronic device. The action is based on the transaction content information, that is, the triggered action depends on the transaction content information. In addition, the action is associated with Carol's taxation.
[0069] Thus, the method reduces the waiting time (i.e., delay) in the process of recording the transaction in the database (steps s2 to s14) so as to perform an action based on the transaction content information (step s18). Thus, the method provides a technical solution for monitoring transactions in real time (i.e., with low waiting time) and on a transaction-by-transaction basis. The monitoring can be performed by a third party (i.e., Carol).
[0070] In one embodiment, electronically signing the transaction record also involves time stamping the transaction record, ie, adding a time stamp to the transaction record data structure.
[0071] In one embodiment, it is determined that (s10) is TR kA Complying with the rule or rule set includes verifying, by Carol's electronic device, compliance with the rule or rule set based on an identifier identifying Alice and transaction content information. This may, for example, involve verifying that all necessary information has been included in the transaction record, that the transaction is authorized, and that the selected VAT rate is correct.
[0072] In one embodiment, the transaction record further includes a state variable for indicating at least one of the following: (a) the transaction record has been electronically signed by Alice's electronic device (step s4); (b) TR kA has been registered (step s6) in the database; (c) Carol's electronic device has been notified (step s8) of the TR kA has been registered in the database; (d) TR kA has been judged (step s10) to comply with the rule or rule set and has been electronically signed by Alice's electronic device; (e) TR kA has been electronically signed by Carol's electronic device (step s12); (f) TR kA,kC1has been registered (step s14) in the database; (g) Alice's electronic device has been notified (step s16) of TR kA,kC1 has been registered in a database; and (n) has caused an action to be performed (step s18). In one embodiment, a state variable indicates whether each of (a) to (h) is true or false.
[0073] Therefore, the state variable allows any authorized party to indicate which of the above operations (a) to (h) has been performed when receiving or consulting the transaction record. In other words, the state of the transaction record is recorded in the database as part of the transaction record.
[0074] In one embodiment, the transaction involves an object, and the object is marked with a code representing or corresponding to a transaction identifier. For example, the object may be marked with the code immediately or shortly after the transaction record is created. The code may be marked on any part of the object, such as on a packaging surrounding the core of the object.
[0075] The object may be of any type, such as, but not limited to, a bottle or can of beer, wine, liquor or soft drink; a pack, bundle or box of cigarettes or cigars; a medicine package; a bottle of perfume; or any other dutiable commodity; a card; a ticket; a label; a banderol; a security foil; or a security thread, etc.
[0076] The code is a machine-readable code, which may, for example, include at least one of a linear barcode and a matrix barcode (e.g., a printed data matrix code or a QR code). The code may represent a transaction identifier, or may correspond to a transaction identifier. The correspondence between the code and the transaction identifier may be a mathematical relationship (a mathematically derivable correspondence), or may be stored in a database (a registered correspondence).
[0077] In one embodiment where the transaction involves an object and the object is marked with a code representing or corresponding to the transaction identifier, the method further comprises: Figure 2 The following steps are shown in the flowchart of . The code marked on the object is read s32a by, for example, a barcode reader or the like. Then, by querying a database, at least one of the following items is determined s34a: (i) whether the action (mentioned in step s18) has been performed for the transaction represented by the read code or identified by the transaction identifier corresponding to the read code; and (ii) whether the property of the object matches the transaction content information of the transaction represented by the read code or identified by the transaction identifier corresponding to the read code.
[0078] In one embodiment, the transaction involves a service, and documents associated with the service are marked with a code representing or corresponding to a transaction identifier. The document may be marked with a code, for example, after the transaction record is created (such as immediately or shortly after the transaction record is created).
[0079] As mentioned above, the code is a machine-readable code, which may, for example, include at least one of a linear barcode and a matrix barcode (eg, a printed data matrix code or a QR code).
[0080] In one embodiment where the transaction involves a service and documents associated with the service are marked with a code representing or corresponding to the transaction identifier, the method further comprises: Figure 3 The following steps are shown in the flowchart of . s32b A code is read which is marked on a document associated with the service. s34b At least one of the following items is then determined by querying a database: (iii) whether the action (mentioned in step s18) has been performed for a transaction identified by a transaction identifier represented by or corresponding to the read code; and (iv) whether the property of the object matches the transaction content information of the transaction identified by the transaction identifier represented by or corresponding to the read code.
[0081] In one embodiment, the transaction involves an object and the transaction identifier corresponds to a signature, referred to below as an "object signature," generated based on at least one of: an attribute of the object and an attribute of a material-based security element disposed or attached to the object.
[0082] The above discussion about typical properties of objects also applies to the present embodiment.
[0083] In this embodiment, the method may also include: Figure 4 The following steps are shown in the flowchart of . Use a suitable reader to obtain s32c the object signature. Then determine s34c at least one of the following by querying the database: (v) whether the action (mentioned in step s18) has been performed for the transaction identified by the transaction identifier corresponding to the obtained object signature; and (vi) whether the property of the object matches the transaction content information of the transaction identified by the transaction identifier corresponding to the obtained object signature.
[0084] In one embodiment, the transaction involves a service and the transaction identifier corresponds to a signature, referred to below as a "service-associated document signature," generated based on at least one of: attributes of a document associated with the service, and attributes of a material-based security element placed in or attached to the document associated with the service.
[0085] In this embodiment, the method may also include: Figure 5 The following steps are shown in the flowchart of . Using a suitable reader, s32d the service-associated document signature is obtained. Then, by querying the database, at least one of the following is determined s34d: (vii) whether the action (mentioned in step s18) has been performed for the transaction identified by the transaction identifier corresponding to the obtained service-associated document signature; and (viii) whether the property of the object matches the transaction content information of the transaction identified by the transaction identifier corresponding to the obtained service-associated document signature.
[0086] Figure 6a and 6b (To be read together) constitutes a message sequence diagram of the method in four embodiments of the present invention. The method and Figure 1 The method shown differs in that it includes the following additional steps.
[0087] In (such as reference Figure 2 In the first embodiment discussed), the object tag s7 associated with the transaction has a code (see Figure 6a , step s7, "(i) Code marking"). After this step of physically marking the object with a code, the code of the object can be read s32 later and a tracking and tracing determination can be made s34 by querying a database (see Figure 6b , steps s32 to s34, “Read and Check”).
[0088] In (such as reference Figure 3 In the second embodiment discussed), the document tag s7 corresponding to the service related to the transaction has a code (see Figure 6a , step s7, "(i) code marking"). After this step of physically marking the document with a code, the code of the s32 document can be read, and then the s34 tracking and tracing judgment can be made by querying the database (see Figure 6b , steps s32 to s34, “Read and Check”).
[0089] In (such as reference Figure 4 In the third embodiment discussed above, an object signature of an object associated with a transaction is generated (see Figure 6a , step s7, "(ii) 'object signature' generation"). After generating the object signature, i.e., the physical signature of the object, the s32 object signature can be obtained, and then the s34 tracking and tracing judgment can be performed by querying the database (see Figure 6b , steps s32 to s34, “Read and check”).
[0090] In (such as reference Figure 5In the fourth embodiment discussed above, a service-associated document signature is generated s7 associated with a document of a service related to a transaction (see Figure 6a , step s7, "(iii) "Service-associated document signature" generation"). After generating the service-associated document signature, i.e., the physical signature of the document, the s32 service-associated document signature can then be obtained, and the s34 tracking and tracing judgment can then be made by querying the database (see Figure 6b , steps s32 to s34, “Read and Check”).
[0091] As shown by the dashed arrow from Alice to the block showing step s7, step s7 is performed or at least controlled by Alice or Alice's operator. Step s7 may be performed at any time after step s2. As shown by the dashed arrow from Carol to the block showing steps s32 to s34, steps s32 to s34 are performed or at least controlled on-site by Carol or Carol's operator.
[0092] In one embodiment, any one of the object signature and the service-associated document signature includes a material-based security element. A material-based security element is an element including a material such as the following, wherein the characteristic attributes of the material related to its specific properties and proportions allow the material authentication of the marked item by detecting only the characteristic attributes. The characteristic attributes of the material constitute the material signature of the mark. For example, the material-based security element can be provided in the form of a luminescent material. Luminescence can be displayed under invisible light (e.g., ultraviolet light or infrared light). Alternatively, luminescence can be displayed when visible light is applied. The luminescent material can be an up-conversion luminescent material or a down-conversion luminescent material. The luminescent material can be a phosphorescent or fluorescent material, particularly when combined with a decay half-life or other decay time material feature. The mark can be printed with an ink including a luminescent material (as a luminescent pigment). A specific reader may be required to detect the material signature of a mark including a given material-based security element: for example, in the case of fluorescent ink, the reader must illuminate the ink with an appropriate excitation light, then detect the luminescence emitted by the ink, and, for example, be able to detect and measure the decay time rate (i.e., physical characteristics) of the luminescence.
[0093] refer to Figure 2 The embodiments shown in 6 to 6 allow for an efficient tracking and tracing solution in combination with a method of registering transactions in a database. In other words, the physical mark on the object and / or the document associated with the service or its material signature significantly enables the status of the transaction to be discovered by querying the database. In particular, it can be identified whether an action has been performed as scheduled and / or it can also be identified whether the object properties match the expected properties of the object according to the information in the database. This can enable the detection of fraud.
[0094] The actions of step s18 above are associated with Carol's taxation (eg VAT or GST).
[0095] As mentioned above, reference Figure 1 The method shown reduces the latency in recording a transaction in a database, resulting in the performance of an action based on the transaction content information. The method thus provides a technical solution for monitoring transactions in real time (i.e. with low latency) and on a transaction-by-transaction basis. This has considerable incidental advantages in the case where the action at step s18 is associated with a tax (e.g. VAT or GST). This can be explained as follows.
[0096] At the time of writing, VAT collection in most countries is largely delegated to all economic actors, assuming that each actor complies with applicable rules on a regular basis. To ensure compliance, tax authorities conduct audits and use fines and penalties to deter fraud, but with limited success. In reality, the VAT collection process involves many actors and millions, if not billions, of transactions, making it nearly impossible for tax authorities to eliminate fraud. Furthermore, traditional VAT collection suffers from inherent waiting times caused by both accounting-driven invoice bundling and legal requirements, where economic actors must issue VAT returns on a regular basis (e.g., monthly, quarterly, or annually).
[0097] In the case where the action at step s18 is associated with taxation, reference Figure 1 The described solution provides technical means to record, track, report, settle and audit VAT transactions between trustless parties (i.e., Alice who may be the seller, Bob who may be the buyer, and Carol who may be the tax authority). This can be achieved by replacing conventional VAT invoices with transaction records in a database to automatically record, track and settle corresponding VAT transactions on a transaction-by-transaction basis and with low latency. VAT transactions can, for example, be encoded into so-called smart contracts for automatically performing settlement of VAT between different parties on a blockchain-based database.
[0098] In one embodiment, Carol's electronic device uses Carol's key pair TR kA When the electronic signature is made (step s12), an account associated with Alice is debited by an amount representing the tax on the value added which is deemed to result from the transaction. In other words, in this embodiment, Carol's signature triggers a debit to Alice's account.
[0099] An advantage of such an embodiment is that taxes such as VAT can be collected (or reimbursed) on a transaction-by-transaction basis, automatically and with low latency in a manner that reduces the chances of committing fraud (such as so-called missing trader fraud, etc.). A company (usually a small company) will not be able to suddenly incur completely abnormal (for its size and type of business) transaction amounts over a period of weeks or months and owe the tax authorities a very large amount of VAT before the next tax self-report is submitted (and then suddenly disappear without paying the amount owed). Using the above-described transaction-by-transaction based method and system, the tax authorities can view the level of VAT owed by each company in real time and be able to detect potential fraudsters and intervene before the company accumulates abnormal VAT debts.
[0100] In another embodiment, according to the representation for the target that is considered to be generated by only TR kA,kC1 The account associated with Alice is debited for the amount of the VAT that has been notified to Alice's electronic device but that was not generated by previous transactions.
[0101] Figure 7 is a flow chart of a method in another embodiment of the present invention. The method comprises the following steps.
[0102] Based on the so-called smart contract template T200 (i.e., a template for creating transaction records) (see Figure 7 Sub-step s2.1) of the above and based on the smart contract identifier T390 (i.e., the transaction identifier) (see Figure 7 Substep s2.2 above) creates a T210 smart contract (i.e., a transaction record). Alice can then enter the parameters into the smart contract in T220 (see Figure 7 (This is similar to the substep s2.3 in reference to Figure 1 corresponding to step s2 discussed above).
[0103] Alice's electronic device then electronically signs T230 the smart contract (becoming TR 240) before submitting T240 it to a database T380 (which may be, for example, an immutable ledger). kA ). (This is similar to, for example, Figure 1 The steps s4 and s6 discussed correspond).
[0104] Carol's electronic device is then notified of the registration of the T250 smart contract in the database. (This is similar to, for example, Figure 1 Corresponding to step s8 discussed above).
[0105] Carol's electronic device then performs a T260 compliance check and verifies that the T260 smart contract has been duly signed by Alice's electronic device. (This is similar to, for example, Figure 1If it is determined that T260 is not signed, the process can return to step T220, for example. If it is determined that T260 is successfully signed, Carol's electronic device electronically signs the smart contract T270 (becoming TR kA,kC1 ) and submits it to database T380 (this is different from, for example, reference Figure 1 Carol's electronic device (tax authority) then debits Alice's tax account T280.
[0106] Alice's electronic device is then notified of the registration of the T290 smart contract in the database. (This is similar to, for example, Figure 1 The transaction is then considered completed T350 / s18.
[0107] The above steps can be considered to form the "digital part" T360 of the method and system. Figure 7 Also shown on the right is a "Physical Marking" section T370. In this section, the code T400 / s7.1 (smart contract identifier) can be marked on the object s7.2, on the invoice T410 / s7.3, and even on the packaging containing the corresponding object s7.4. (This is similar to, for example, the reference Figure 6a Later, as for example with reference to step s7 discussed above, Figure 6b As discussed, s32 / s34 track and trace checks can be carried out on behalf of the tax authorities.
[0108] Thanks to the above method, the tax authorities (i.e., Carol) are able to monitor the tax credit status of any taxpayer (Alice) in real time (i.e., with low latency). To this end, a database (e.g., a blockchain ledger) can be consulted, allowing the connection of all debit operations assigned to Alice as a result of all previous transactions, as well as valid payments from Alice. For any taxpayer (such as Alice) suspected of fraud, the tax authorities can set a maximum limit (such as a threshold) on the tax debt. If Alice reaches this limit and wants to create a new transaction (i.e., invoice for a new sale), the tax authorities can take some actions before allowing further transactions. These actions can, for example, include sending an auditor to Alice's store, requesting a guarantee (e.g., a bank guarantee) from Alice to ensure a higher tax debt, reducing the current debt by paying, etc. It can even be considered to block any further transactions.
[0109] Furthermore, for each transaction, the presence of the seller (Alice) in the official register of the taxpayer can be checked by the tax authorities (Carol). The signature authority of the person who signed electronically on behalf of the legal entity (Alice) can also be checked on the official register of the taxpayer and / or the commercial register.
[0110] In addition, the data entered by Alice in the smart contract can be checked for relevance. For example, this can include: (i) whether the tax class (i.e., the tax rate that will be applied) corresponds to the goods described (e.g., a low tax rate applicable to food may not necessarily be valid for luxury goods); (ii) whether Alice has been registered as a taxpayer; and (iii) whether the transaction value is specified.
[0111] Furthermore, it can be checked whether the electronic signatures are indeed valid (ie whether they correspond to Alice's authorized signatures).
[0112] Furthermore, analyzing the data contained in the database enables the detection of potential fraudulent behavior of the taxpayer (Alice). This can be done by identifying specific patterns or specific combinations of patterns such as:
[0113] a. Small company
[0114] b. Recently acquired companies
[0115] c. Recent changes in the company’s board of directors and / or management
[0116] d. Frequent changes in who signs transactions (relative to the size of the company)
[0117] e. Business outside the normal scope of the company (e.g. a restaurant starts selling electronics)
[0118] f. Sales volume suddenly becomes very important
[0119] g. Purchases from different counties (imports)
[0120] h. Delay in payment of due taxes
[0121] In case of suspicion of fraud, the tax authorities can trigger different types of actions:
[0122] i. Simply ask for an explanation
[0123] j. Physical Inspection of Company Stores
[0124] k. Physical audit of company officers, chairman and board of directors
[0125] l. Physical inspection of the goods in Alice's store
[0126] Figure 8is a schematic diagram of a typical implementation of an electronic device 800 that may be used, for example, as Alice's or Carol's electronic device in a method or system according to the present invention.
[0127] like Figure 8 As shown, the electronic device 800 includes a computing unit, which may include a bus 805, a processing unit 803, a main memory 807, a ROM 808, a storage device 809, an input device 802, an output device 804, and a communication interface 806. The bus 805 may include a path that allows communication between components of the electronic device 800.
[0128] The processing unit 803 may include a processor, microprocessor or processing logic that can interpret and execute instructions. The main memory 807 may include a RAM or other type of dynamic storage device that can store information and instructions for execution by the processing unit 803. The ROM 808 may include a ROM device or other type of static storage device that can store static information and instructions for use by the processing unit 803. The storage device 809 may include a magnetic recording medium and / or an optical recording medium and its corresponding driver.
[0129] The input device 802 may include a mechanism that allows an operator to input information to the processing unit 803, such as a keypad, keyboard, mouse, pen, voice recognition and / or biometric recognition mechanism, etc. The output device 804 may include a mechanism for outputting information to the operator, including a display, printer, speaker, etc. The communication interface 806 may include any transceiver-type mechanism for enabling the electronic device 800 to communicate with other devices and / or systems (such as with a base station, a WLAN access point, etc.). For example, the communication interface 806 may include a mechanism for communicating with another device or system via a network.
[0130] The electronic device 800 can perform certain operations or processes described herein. These operations can be performed in response to the processing unit 803 executing software instructions contained in a computer-readable medium such as a main memory 807, a ROM 808, and / or a storage device 809. A computer-readable medium can be defined as a physical or logical memory device. For example, a logical memory device can include a memory space distributed within a single physical memory device or across multiple physical memory devices. The main memory 807, ROM 808, and the storage device 809 can each include a computer-readable medium. The magnetic recording medium and / or optical recording medium (e.g., a readable CD or DVD) of the storage device 809 can also include a computer-readable medium. The software instructions can be read from another computer-readable medium such as a storage device 809, or from another device via the communication interface 806 to the main memory 807.
[0131] The software instructions contained in the main memory 809 can cause the processing unit 803 to perform the operations or processes shown here, such as decoding the machine-readable code. Optionally, hard-wired circuits can be used instead of software instructions or in combination with software instructions to implement the processing and / or operations described herein. Therefore, the implementation shown here is not limited to any specific combination of hardware and software.
[0132] Any of the above elements may be implemented in hardware, software, field programmable gate array (FPGA), application specific integrated circuit (ASIC), firmware, etc.
[0133] Although the present invention has been described based on detailed examples, the detailed examples are only used to provide a better understanding to the skilled person and are not intended to limit the scope of the present invention, which is more defined by the appended claims.
[0134] abbreviation
[0135] ASIC Application-Specific Integrated Circuit
[0136] FPGA Field Programmable Gate Array
[0137] GST Goods and Services Tax
[0138] kA Alice's secret key
[0139] kC Caro's Key
[0140] TR Transaction Record
[0141] VAT Value Added Tax
[0142] The above disclosed subject matter is considered to be illustrative rather than limiting and is intended to provide a better understanding of the invention as defined by the independent claims.
Claims
1. A method for registering in a database a transaction between a first party, hereinafter referred to as "Alice", and a second party, hereinafter referred to as "Bob", and allowing a third party, hereinafter referred to as "Carol", to cause actions to be performed in relation to said transaction, in, Alice and Carol each have an electronic device capable of communicating with the database via a communication network and capable of electronically signing data to be sent via the communication network, the method comprising: Caused by Alice's electronic device to create a record referred to below as a "transaction record", said transaction record comprising: an identifier for identifying the transaction, hereinafter referred to as the "transaction identifier", an identifier that identifies Alice, and information relating to at least one of the nature of the transaction and the value that the transaction is believed to have, hereinafter referred to as "transaction content information"; Alice electronically signs the transaction record (s4) through her electronic device. The resulting transaction record is hereinafter referred to as "TR kA ”; Register (s6) TR in the database kA ; Notify Carol's electronic device (s8)TR kA has been registered in said database, and Carol's electronic device determines (s10) to be TR kA The rule or rule set is met and has been electronically signed by Alice's electronic device, wherein the judgment (s10) is TR kA Complying with the rule or rule set includes verifying compliance of the transaction with the rule or rule set based on an identifier identifying Alice and the transaction content information; Then, through Carol's electronic device, TR kA The electronic signature (s12) is performed, and the resulting transaction record is hereinafter referred to as "TR kA,kC1 ”; Register (s14) TR in the database kA,kC1 ; Notify Alice's electronic device (s16) TR kA,kC1 has been registered in the said database; and Causing an action (s18) to be performed by Carol's electronic device, wherein the action is based on TR kA,kC1 The transaction information included in the transaction is associated with Carol's tax collection. Among them, through Carol's electronic device to TR kA When the electronic signature is made (s12), an account associated with Alice is automatically debited by an amount representing the tax on the value added deemed to result from the transaction.
2. The method according to claim 1, in, The transaction record also includes a state variable for indicating at least one of the following: The transaction record has been electronically signed by Alice’s electronic device (s4); TR kA has been registered (s6) in said database; TR has been notified to Carol's electronic device (s8) kA has been registered in the said database; TR kA has been judged (s10) to comply with the rule or rule set and has been electronically signed by Alice's electronic device; TR kA has been electronically signed by Carol’s electronic device (s12); TR kA,kC1 has been registered (s14) in said database; Alice's electronic device has been notified (s16) of TR kA,kC1 has been registered in the said database; and The action (s18) has been caused to be performed.
3. The method according to claim 1, in, The transaction is associated with an object, and the object is marked with a code representing or corresponding to the transaction identifier.
4. The method according to claim 3, further comprising marking the object with the code after creating (s2) the transaction record.
5. The method according to claim 3, further comprising: include: reading (s32a) a code marked on the object; as well as By querying the database, at least one of the following items is determined (s34a): whether the action has been taken in relation to the transaction identified by the transaction identifier represented by or corresponding to the read code; and Whether the property of the object matches the transaction content information of the transaction represented by the read code or identified by the transaction identifier corresponding to the read code.
6. The method according to claim 1, in, The transaction is related to a service, and documents associated with the service are marked with a code representing or corresponding to the transaction identifier.
7. The method according to claim 6, further comprising marking the document with the code after creating (s2) the transaction record.
8. The method according to claim 6, further comprising: include: reading (s32b) a code marked on a document associated with the service; as well as By querying the database, at least one of the following items is determined (s34b): whether the action has been taken in relation to the transaction identified by the transaction identifier represented by or corresponding to the read code; and Whether the property of the object matches the transaction content information of the transaction represented by the read code or identified by the transaction identifier corresponding to the read code.
9. The method according to claim 1, in, The transaction is associated with an object, and the transaction identifier corresponds to a signature, referred to below as an "object signature", generated based on at least one of: properties of the object; and and attributes of a material-based security element placed on or attached to the object.
10. The method according to claim 9, further comprising: include: obtaining (s32c) the object signature; and By querying the database, at least one of the following items is determined (s34c): whether the action has been performed for the transaction identified by the transaction identifier corresponding to the obtained object signature; and Whether the property of the object matches the transaction content information of the transaction identified by the transaction identifier corresponding to the obtained object signature.
11. The method according to claim 1, in, The transaction is related to a service, and the transaction identifier corresponds to a signature, hereinafter referred to as a "service-associated document signature", generated based on at least one of the following: properties of documents associated with the service; and and attributes of a material-based security element placed on or attached to a document associated with the service.
12. The method according to claim 11, further comprising: include: obtaining (s32d) a signature of a document associated with the service; as well as By querying the database, at least one of the following items is determined (s34d): whether the action has been performed for the transaction identified by the transaction identifier corresponding to the obtained service-associated document signature; and Whether the property of the object matches the transaction content information of the transaction identified by the transaction identifier corresponding to the obtained service-associated document signature.
13. A system for registering in a database a transaction between a first party, hereinafter referred to as "Alice", and a second party, hereinafter referred to as "Bob", and allowing a third party, hereinafter referred to as "Carol", to cause actions to be performed in relation to said transaction, in, Alice and Carol each have an electronic device capable of communicating with the database via a communication network and capable of electronically signing data to be sent via the communication network, the system being configured to: Causing, by Alice's electronic device, the creation (s2) of a record hereinafter referred to as a "transaction record", said transaction record comprising: an identifier for identifying the transaction, hereinafter referred to as the "transaction identifier", an identifier that identifies Alice, and information relating to at least one of the nature of the transaction and the value that the transaction is believed to have, hereinafter referred to as "transaction content information"; Alice electronically signs the transaction record (s4) through her electronic device. The resulting transaction record is hereinafter referred to as "TR kA ”; Register (s6) TR in the database kA ; Notify Carol's electronic device (s8)TR kA has been registered in said database, and Carol's electronic device determines (s10) to be TR kA The rule or rule set is met and has been electronically signed by Alice's electronic device, wherein the judgment (s10) is TR kA Complying with the rule or rule set includes verifying compliance of the transaction with the rule or rule set based on an identifier identifying Alice and the transaction content information; Then, through Carol's electronic device, TR kA The electronic signature (s12) is performed, and the resulting transaction record is hereinafter referred to as "TR kA,kC1 ”; Register (s14) TR in the database kA,kC1 ; Notify Alice's electronic device (s16) TR kA,kC1 has been registered in the said database; and Causing an action (s18) to be performed by Carol's electronic device, wherein the action is based on TR kA,kC1 The transaction information included in the transaction is associated with Carol's tax collection. Among them, through Carol's electronic device to TR kA When the electronic signature is made (s12), an account associated with Alice is automatically debited by an amount representing the tax on the value added deemed to result from the transaction.
14. An electronic device for participating in registering in a database a transaction between a first party, hereinafter referred to as "Alice", and a second party, hereinafter referred to as "Bob", and participating in allowing a third party, hereinafter referred to as "Carol", to cause an action to be performed in relation to said transaction, in, The electronic device is capable of serving as Carol's electronic device, capable of communicating with the database via a communication network, and capable of electronically signing data to be sent via the communication network, the electronic device being configured to: Notified (s8) hereinafter referred to as "TR kA "The transaction record has been registered in the database, among which TR kA include: an identifier for identifying the transaction, hereinafter referred to as the "transaction identifier", an identifier that identifies Alice, and information relating to at least one of the nature of the transaction and the value that the transaction is believed to have, hereinafter referred to as "transaction content information"; Judge (s10) as TR kA The rule or rule set is met and has been electronically signed by Alice's electronic device, wherein the judgment (s10) is TR kA Complying with the rule or rule set includes verifying compliance of the transaction with the rule or rule set based on an identifier identifying Alice and the transaction content information; TR via Carol's electronic device kA The electronic signature (s12) is performed, and the resulting transaction record is hereinafter referred to as "TR kA,kC1 ”; Causes registration (s14) of TR in said database kA,kC1 ; Causes notification to Alice's electronic device (s16) TR kA,kC1 has been registered in the said database; Causes (s18) an action to be performed, wherein the action is based on TR kA,kC1 The transaction information included in the transaction is associated with Carol's tax collection. The electronic device is configured such that: when TR is accessed by Carol's electronic device kA When the electronic signature is made (s12), an account associated with Alice is automatically debited by an amount representing the tax on the value added deemed to result from the transaction.
15. A computer program product comprising computer readable instructions, the computer readable instructions being configured to, when executed on an electronic device or a set of electronic devices, cause the electronic device or the set of electronic devices to perform the method according to any one of claims 1 to 12.
