Method and system for performing secure data exchange
Establishing a secure connection between two electronic devices through a dual reader system solves the problem of payment card transaction blocking and cumbersome fund transfers without network conditions, realizes safe financial transactions and file transfers without network conditions, and reduces Eliminates the risk of cash payments and provides a convenient and safe payment solution.
Patent Information
- Application Number
- CN201811308240.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2018-05-02
- Filing Date
- 2018-11-05
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2038-11-05
AI Technical Summary
Existing payment cards are blocked when conducting transactions without a network connection, and the fund transfer process is cumbersome, leading to people tending to pay in cash, but cash payments carry risks of counterfeit currency and loss.
Adopt a dual reader system to perform information exchange between two electronic devices by establishing a secure connection, register and confirm transactions, and even conduct financial transactions and file transfers without a remote server connection, ensuring the safety and convenience of transactions sex.
It enables safe and fast financial transactions and file transfers without a network connection, reduces the risk of cash payments, and provides a more convenient and secure payment solution.
Smart Images

Figure CN110443595B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a method and a system for performing a secure data exchange. Background Art
[0002] Payment cards are extremely widely used today to make secure payments. In the case of contactless communication, a reader into which the card is inserted or brought into proximity can be used to debit or credit a bank account associated with the card. Typically, this reader must communicate with a remote server during the transaction, so if there is no network available, the transaction is sometimes blocked.
[0003] Furthermore, currently, when a certain amount of funds must be debited from an account associated with a payment card for use in the account of another person, said other person often has to wait for the corresponding amount to be effectively transferred in order to be able to use the amount received by his payment card.
[0004] Therefore, in the absence of a network and in many situations where people want to be able to quickly reuse received funds, cash payments are encouraged, which have the disadvantages associated with carrying cash, especially the risk of counterfeit or lost currency. Summary of the invention
[0005] There is a need to correct all or part of the drawbacks and, more generally, to find new means for facilitating financial transactions and, more generally, to securely transmit any computer file or any amount registered in at least one register linked to any computer file or in an independent register.
[0006] The present invention is intended to meet this need and is implemented according to one of its aspects by a method for performing at least one secure exchange within a system comprising a first electronic device and a second electronic device, and a dual reader, and at least one server, wherein the dual reader comprises means for connecting to the respective electronic devices and preferably comprises a human-machine interface, information related to the exchange being able to be transmitted to the at least one server, the method comprising the following steps:
[0007] a) establishing a first secure connection to the first electronic device using the dual reader;
[0008] b) establishing a second secure connection to the second electronic device using the dual reader;
[0009] c) inputting into the dual reader an item of information relating to an exchange to be performed between the first electronic device and the second electronic device using an interface of the dual reader or an external device connected to the dual reader;
[0010] d) registering, in said first electronic device, an item of information relating to said exchange using said dual reader;
[0011] e) in particular, registering in the second electronic device items of information related to the exchange using the dual reader and cancelling the exchange by default;
[0012] f) in particular, using a reader, it is possible to confirm in said first electronic device an item of information related to said exchange;
[0013] g) sending data related to the exchange to the server.
[0014] "Exchange" is understood to mean the transfer or duplication between two devices of a computer file or of one or more amounts registered in one or more registers of said devices, which transfer may then be partial or total. The exchange may correspond not only to the exchange or transfer of documents, but also to payments or any other financial or non-financial transaction.
[0015] Preferably, there are multiple servers. In the following, when there are multiple servers, the content described for one server can also be applied.
[0016] The method preferably comprises step a) and / or step b). The first electronic device and / or the second electronic device may transmit information to the reader, in particular information relating to the list of documents recorded in the device, so that the reader can incorporate them into a menu.
[0017] Steps a) and b) may be omitted, in particular if the reader knows the list of documents and the amounts to be transferred independently of the electronic device, for example if the system is restricted to transferring certain types of documents or amounts, or if the user can infer that the documents or amounts are present on the electronic device.
[0018] If the registration cannot be performed in step e), the dual reader detects this, for example, the dual reader has waited for a time parameterized in the system (such as 1 minute) without presenting it to the second electronic device. The dual reader then cancels the transaction, and the transaction step is sent to the first electronic device if the first electronic device is connected to the dual reader or is brought close to the dual reader again, or if thereafter, after the first dual reader has directly or indirectly transmitted the cancellation information item to the server, through another dual reader and the server, the second electronic device is synchronized with the server, and the transaction step is sent to the first electronic device. In addition to using other electronic devices as information carriers, the dual reader can also register the cancellation information item on other electronic devices without affecting them, and when they are used later, this cancellation information item can be sent to the server. Therefore, the validity of the registration on the first electronic device is conditional on the registration of the information item related to the exchange on the second electronic device; after the registration on the second electronic device, the validity of the registration on the first electronic device can be transmitted to the first electronic device by the dual reader, or subsequently by the server and then by another dual reader.
[0019] The method preferably comprises step f).
[0020] If step f) is omitted when the first electronic device is the recipient of a certain total amount representing a document registered in the register, or part or all of the amount, the first electronic device will credit the document or the total amount when it is subsequently connected to the same dual reader, or the first electronic device by connecting to a server or to the same dual reader or another dual reader. Finally, if the first electronic device is inserted into a dual reader, steps a), d) and f) can be performed automatically without human intervention.
[0021] Step g) may take place only after the transaction, for example within less than 5 minutes after the transaction or longer after the transaction.
[0022] If step g) has not occurred after the transaction, the information related to the exchange can be transmitted to the server by the dual reader, after which the dual reader communicates with the second electronic device, or if step f) has occurred, the dual reader communicates with the first electronic device and the second electronic device, or the dual reader communicates with a file generated by the amount debited from the first electronic device or another electronic device to which the total amount will subsequently be transferred.
[0023] A "dual reader" is understood to mean a reader capable of implementing the invention and which can therefore perform exchanges with two electronic devices according to the invention simultaneously and / or sequentially.
[0024] Whether the secure exchange is a financial transaction or the transfer of a simple document, by virtue of the dual reader according to the present invention, it is not necessary to connect to a remote server when transacting, thereby making the transaction easier while allowing for a secure transaction.
[0025] trade
[0026] A "transaction" is understood to mean the transmission of an electronic document or one or more sums resulting from an amount registered in a register linked to the electronic document or in an independent register.
[0027] A transaction may include a transfer from one electronic device to another electronic device through a server or through another electronic device connected to a reader, including: deleting a file transferred from the electronic device that is the source of the transfer amount, adjusting the amount transferred from the electronic device that is the source of the transfer amount; or simply transmitting a file or a link to the file or an independent amount for reference by a dual reader; the file or amount remains on the electronic device (the file or amount existed on the electronic device at the beginning), and the communication between the electronic device and the second electronic device may have only one purpose, namely to allow the second electronic device to obtain the corresponding information.
[0028] In the case of verification (such as identification, discount cards, or transportation passes), the file or amount may be in the form of several items or documents to be presented in some cases. In this case, at the end of the transaction, the file may or may not be retained on the electronic device for another verification. The file may also be a document with or without an expiration date (such as a discount coupon, a pass for access to a ski lift or other equipment or facility, an audio or video recording, a book, or other item such as borrowed, loaned, or purchased).
[0029] The file or amount may also be a confidential information item, for example, a login name and password associated with a website or user permission that may or may not require a PIN or key required to decrypt a single file, or a biometric authentication file (such as a fingerprint scan), a reading of a physical measurement made by a medical sensor associated with a reader and placed inside or outside the human body, a reading of a physical measurement made by a sensor associated with a reader due to some commodity use (such as electricity, water or gas), a reading of a physical measurement made by a sensor associated with a reader of the state of a vehicle (such as the size, position, speed of the vehicle) and, for example, to be securely sent to another vehicle, an electronic key or a memo requiring biometric authentication or requiring the entry of a code (such as a password) in order to decrypt or transfer. The reader may contain some functions to verify some electronic signatures or encrypt or decrypt documents using such encryption keys using files containing such encryption keys. Such a reader connected to a PC screen can decrypt or verify the signature of some files to be displayed by the display screen based on an encryption key placed as a document on the electronic device, and a reader connected to a keyboard can encrypt or sign some text typed on the reader before and after sending these texts to the screen via the Internet. The document or amount can also be currency, but the invention also covers the exchange for shares of the holder, the exchange for CO2 emission rights or the exchange for any type of reward or penalty (for example, points obtained in an exam, during a competition, or certain attributes of an official document (such as driving license points)).
[0030] Files may also be marked as restricted from display by a reader or from being copied to any device connected to a reader, or as having such actions limited in time or quantity, thereby allowing, for example, secure storage of user information where the system is required by law to store the information but does not allow such information to be transferred out or transferred in bulk.
[0031] Files can be marked as "Allow Copies" with the number of copies allowed being set and can also be marked as whether copies of copies are allowed and the depth of the copies allowed. A copy refers to a copy of a file made within the system. Such a copy can be marked as a copy that can reach a specific depth, or a copy of a copy, and such a copy has the depth of the copy recoded with the specific depth. This will allow, for example, to copy an official document (such as an ID card) and transfer a copy of it to another secure device. When these files are marked as such files and the number attached to these files is equal to the maximum number allowed on the file, these files are editable. This feature will allow, for example, the automatic creation of receipts, or the automatic creation of ordinary storage capacity for files that can then benefit from the security features of the system (e.g., cannot be copied within the system or cannot be displayed outside the system).
[0032] These files can be associated together into a group so that the transfer of a file can only be processed by the transfer of other files associated therewith. In this case, if the transfer makes the number associated with these files too small for all transferable file groups to which such files belong, the reader of other devices may not allow the transfer of the device of the file member from the group. This function will, for example, allow the user to prepare the file group so that the user can quickly transfer the file group to another device. The joining of files in the group can also be marked as "strong", so that if two files are marked as allowing removal and if the removal occurs on the same device where the files joining the group are located, the files in the group that are strongly joined on a specific device can only be removed from the group. The first file joining the group can also be set to not be able to leave the group, so that any file joining the group starting with this file will be linked to the first file and will not be assigned to any file that can join the group later. This function will, for example, allow the signing of some documents, wherein, for example, a user adds a copy of his ID to the group containing the document he wants to sign, and does not allow other users to remove copies of his ID.
[0033] Further functionality can allow sealing of such a file group, removing the ability of the disassembled file group by removing some elements of the file group, even on the device where the file joins the group from the device. This function can be achieved, for example, by marking the first file added to the group as "sealable", and allowing the user of the device where the file is marked as sealable to seal the file group of which the file becomes a part, not allowing such a file group to lose some of its members, or not allowing such a file group to eventually gain new members. This function will, for example, allow the endorsement of a document to be safely maintained, which has been agreed to, potentially irreversibly put their ID copies on the file group containing the document. Some files can be marked as not being sealed into a group, or marked as not being allowed to leave the group no matter what happens to the group, so that, for example, if a file representing funds is permanently attached to the group, the file representing funds is allowed to be freely exchanged. The file attached to the sealed group can also be used to prevent the transfer of such a file group, unless the original of the file derived from the template contained in the sealed group or the copy of the document placed in the sealed group exists on the device to be transferred to. This will allow, for example, the movement or distribution of some documents to be restricted to, for example, devices with valid membership cards.
[0034] Each electronic device is associated with an account managed by one or more servers external to the dual reader.
[0035] The server (one or more) records not only all transactions associated with the account, but also the files and amounts registered in the registers of the electronic devices. These transactions are reported to the server at the time of the transaction or subsequently. The operation of allocating files or amounts is confirmed by the server, and once the server knows all transactions associated with files or amounts transferred to the electronic device containing the "initial" file or amount, the server registers these transactions on the server, and these transactions themselves are pre-registered and confirmed by the server after other transactions, or modified by external applications authorized to do so; this makes it possible to ensure firstly that each transaction only debits or credits the account once, and secondly, if the transaction corresponds to a transfer rather than a consultation, any amount of account credit can be compensated by debiting the amount from another account. For example, if electronic device A transfers a file or amount to electronic device B, and electronic device B transfers the file or amount to electronic device C, the server will not confirm the existence of the file registered on electronic device C or the value of the amount until the server is notified of these two transactions (from A to B and from B to C (chain)). Information processing is achieved when the electronic device carrying the last transaction is synchronized, and the intermediate transaction is registered on the electronic device during the last transaction. The file or amount can also be updated by intervention of a computer system external to the system and authorized to perform this operation. For example, the computer system of a company that issues discount cards can be connected to the server in order to deposit a file corresponding to one of its discount cards on the account of an electronic device. When the server is connected to the electronic device, the server transmits the file to the electronic device through a dual reader that is itself connected to the server.
[0036] The transaction may be subject to certain restrictions, for example depending on the nature of the transfer, and therefore the amount may be restricted so as to vary within a predefined range of values and, where applicable, by predefined increments. Typically, the balance of a currency account will vary by increments that are multiples of one hundredth of a unit, with a minimum value of 0 and a maximum value of a set value. Thus, the dual reader may perform a transfer of an amount registered in the register of the other electronic device to the register of the first electronic device, or perform a transfer of an amount registered in the register of the first electronic device to the register of the other electronic device, while ensuring that at the end of each transfer, for each initial value of the register of the first electronic device and the register of the other electronic device (increasing the value of the amount received or deducting the value of the amount sent), certain rules present in the dual reader are followed at the time of the transfer, which rules may in particular be those that remain above or equal to zero and below a maximum value. The system may be designed to associate an amount with any file that otherwise may not be associated with any amount, assigning an increment of 1 to the amount, with a minimum value of zero and a maximum value of 1; thus, the system may allow the transfer of files while using a confirmation procedure designed for the transfer of amounts to ensure that the file only appears at any time on one electronic device of the system.
[0037] The authenticity of the document or amount constituting the subject of the transaction on an electronic device is preferably ensured by the fact that the document or amount becomes unavailable on another electronic device once it is transferred to that electronic device, or once, if the transaction is partial, the total amount of the transfer (which is the total amount transferred from the amount of the first electronic device to the amount of the second electronic device) is deducted from the amount of the first electronic device before or at the same time as it is added to the amount registered in the register of the second electronic device; in addition, verification can be installed so that the total amount of the transfer is not greater than the amount initially registered in the register of the first electronic device.
[0038] For example, it can be ensured that the subject of the transfer is formed by a virtual note with value, and the total amount of the virtual note passing through the system corresponds to the balance in the bank account. The file can represent virtual currency, and the amount can represent the value of the note. Transactions can be performed on these virtual notes. The holder of the bank account that issues these virtual notes can authorize the system through its external application to increase the amount associated with the file of the electronic device by the same total amount relative to the credit line of a specific total amount, but in the real currency in the bank account, the holder of the electronic device increases the amount associated with the file of the electronic device by the same total amount relative to the credit line of a specific total amount; and in contrast, the holder of the bank account will credit the bank account of the third party and reduce the debit of the amount associated with the virtual note registered on the electronic device held by the third party. In order to transfer a sum of money from a first electronic device to a second electronic device, the user can transfer all or part of the amount associated with the virtual note present on his electronic device, and the computer file associated with the virtual note to the second electronic device (if the file is not yet on the second electronic device). Preferably, the issuer of the virtual note will credit the bank account of the third party only when the amount to be debited has been confirmed by the server.
[0039] The same electronic device can be configured to perform transactions involving different documents and amounts simultaneously and conditionally. For example, the electronic device may have a document and amount storing a number of transport documents available on the device, while another document and another amount storing a sum of money available on the device.
[0040] The documents and the amounts (electronic documents and / or the related amounts registered in the register) can come from and be updated via the server from an external third party application, for example belonging to a company that issued the documents or registered amounts (such as a transport pass seller or a bank).
[0041] The issuer can assign to the documents or amounts it issues information that allows a certain interchangeability with virtual notes issued by other banks; the dual reader is then authorized to display the total amount of amounts associated with the same currency and receive overall transfer instructions regarding that currency, so that the user does not have to mention the issuing bank linked to the virtual note, the dual reader being responsible for breaking down each overall transfer into multiple transfers corresponding to the various virtual notes present on the electronic device being debited.
[0042] Transactions between two electronic devices via a dual reader can be carried out without connecting to a remote server. However, in particular, it is possible to ensure immediate synchronization with a server that performs operations and / or verifications to connect the dual reader to the server during the transaction. In this case, the dual reader can be connected to a cellular data network (such as 3G), or to an external device connected to the Internet (such as a microcomputer, a telephone or a dedicated terminal). In order to perform transactions with external third-party applications, the user can therefore use an external device connected to the dual reader, and with this external device the user can select one of the two electronic devices linked to the dual reader with which he wishes to interact, and can also select the file and / or reasonable amount that the user wishes to send or receive.
[0043] Prior to each transaction, an "available" amount may be calculated equal to the recorded amount plus the credit transaction and minus the previous debit transaction, and any transaction intended to debit the account in excess of this available balance may be rejected. An "absolutely available" amount may also be calculated, corresponding to the amount of the previous debit transaction minus that same amount. This calculated amount may be referred to as firm because it does not take into account credit transactions that have not yet been confirmed by the server.
[0044] The dual reader may generate a transaction by recording the transaction on each debited or credited electronic device and, where applicable, copying the document that is the subject of the transfer to the credited device (if the document does not already exist on the credited device).
[0045] A dual reader for performing an amount transfer may decompose the transfer into sub-transfers associated with:
[0046] ●The amount of money stored on the electronic device;
[0047] ● Or, a credit written to an electronic device and from a previous transaction;
[0048] At the same time, for each sub-element of the debit (amount or previous transactions), verify that the total debit amount does not exceed the absolute available amount, or, for previous transactions, the total amount of the initial credit transaction minus the total amount of past debit transactions that can be related to it.
[0049] Features may be provided that are designed to restrict transactions, for example, by imposing a maximum limit on the amount or amount transferred.
[0050] Once each server is connected to the electronic device via the Internet for a sufficient period of time, the transactions, files, and amounts registered on the electronic device can be transmitted to the server via the Internet.
[0051] The dual reader may act as a repeater, notifying the server to list transactions originating from the electronic device with which it communicates but not necessarily generating said transactions.
[0052] During or after the electronic device is connected to the server, the server may confirm the transaction and calculate the new file and amount for the electronic device in a one-time manner, as well as confirm:
[0053] – A list of transactions that can be deleted the next time the device is connected;
[0054] – List of transactions that must be added or must be removed when updating the balance;
[0055] – a list of transactions reported to the server by other electronic devices and readers, but which have not yet appeared on the electronic device under consideration, in particular if a transaction has created a debit on the electronic device, but the corresponding credit transaction has not yet been transmitted to the credited device, for example if the user neglected to place his card next to the reader at the last moment during the operation, or if a debit transaction with an unknown counterpart indicated on the card cannot be replaced by an identical transaction including the identifier of the counterpart.
[0056] For a new connection of the device or during the same connection, if such connection lasts long enough, actions linked to each of these lists mentioned above can be performed and possible updates of files and amounts can also be performed.
[0057] The system can be configured so that updates to certain transactions, certain amounts, and files are simultaneous, if necessary. For example, if an update involves merging a transaction representing the addition of 1 into an amount, the transaction is deleted from the device while the register containing the amount is incremented by 1.
[0058] Electronic devices
[0059] The electronic device according to the invention is preferably compatible with existing payment terminals.
[0060] Preferably, the electronic device adopts the standard format of a credit card, as defined by standard ISO 7810. As a variant, the electronic device may be a mobile phone or a SIM card capable of being inserted into a mobile phone.
[0061] When the electronic device is in the form of a card, the device advantageously has a chip equipped with a connector allowing the device to be inserted into a dual reader and communicate with it.
[0062] The electronic device may also be equipped with a system for communicating with a dual reader via a contactless link (eg an RFID system).
[0063] The electronic device may contain a protected private key and memory (e.g., flash memory encrypted with the device's private key), and may contain a processor. The memory containing the private key is preferably physically protected so that physical access to the memory causes the information contained in the memory to be destroyed before it is extracted from the memory. The holder of the device can no longer use the memory and must contact an operator of the central server, who, if he can identify the electronic device and has appropriate programming for using the system, can then recover the files and amounts present on the electronic device from the server and place the files and amounts on a new electronic device.
[0064] The electronic device may include a power source, such as a battery, an inductive system or a capacitor, a supercapacitor or an accumulator, which is recharged when connected to a reader or other device. The device may also include some sensors (such as temperature sensors, pressure sensors, positioning sensors) and may have the ability to create some documents that will use these sensors.
[0065] The electronic device may have an interface that allows direct one-way or two-way communication with a remote server, for example, by using a low-energy wireless network such as BLE (Bluetooth Low Energy), Sigfox, Lora, 4G LTE, etc. When the server is available, such communication with the server can be used to speed up the synchronization of data between the electronic device and the server.
[0066] The electronic device may be configured to perform all or part of the following operations:
[0067] - before any communication with the reader, verify that the reader is part of the authorized readers;
[0068] – Only receive encrypted messages where the electronic device is the intended recipient;
[0069] – Encrypt and sign any outgoing information item from the reader or server.
[0070] The information recorded on the electronic device may be all or part of the following:
[0071] ● Copies of computer files and amounts;
[0072] ● A log of the most recent transactions that have not yet been validated by the server(s);
[0073] ● a list of transactions performed by the device with other electronic devices that have not yet been recorded on the remote server(s), allowing the server to link each transaction on the device to an amount or file on another electronic device, even if those transactions have not yet been transmitted to the server;
[0074] A PIN code, which can be used to authorize a transaction when the electronic device is inserted into a dual reader or when the electronic device communicates with the reader in another manner;
[0075] ●The identification code of the electronic device;
[0076] ● a private key of an electronic device that is not available outside the electronic device;
[0077] - A list of public keys of dual readers and servers, and a potentially unique private key associated with each individual server or dual reader, with which it can communicate with and identify itself to such server or dual reader.
[0078] The minimum value, maximum value, and authorized increment for each file and amount, or the type of file and amount, and reasonable rules for restricting its transmission may also be recorded in the electronic device.
[0079] Dual Reader
[0080] The dual reader, which may also be referred to as a "reader", is configured to establish a secure connection with the electronic devices according to the invention in order to perform transactions. Thus, the dual reader has components for communicating with these electronic devices.
[0081] The connection may involve physical contact between each electronic device and the dual reader. As a variant, the connection may be contactless via a wireless link, in particular a wireless link of the NFC type. The dual reader may be configured to allow secure exchanges with electronic devices in different locations by two dual readers linked by a computer connection. This type of use may then be limited to situations in which one of the electronic devices has an owner whose identity is displayed to the holder of the second electronic device before the second electronic device carries out a transaction.
[0082] The dual reader can be controlled by a computer, phone, or electronic system designed for this purpose. If the computer or phone performs the functions of a cash register, ATM, or train ticket seller, this can be particularly useful. The dual reader can include some sensors, the readings of which are used to create documents. The dual reader can also be connected to some peripheral devices, which can be, for example, sensors, the readings of which are used when creating documents, or biometric devices, the readings of which can be used to perform biometric authentication for the reader. The dual reader can include some automatic document generation and the ability to place the document on one of the electronic devices connected to it, such automatically generated documents can be, for example, physical measurements (such as, for example, measurements of molecular concentrations in positions, temperatures, or liquids). The dual reader can also merge one of the electronic devices, and when the function of the "dual reader" is turned off, the function of the merged electronic device can keep running.
[0083] In one exemplary implementation of the invention, one of the electronic devices is a card inserted into a card reader corresponding to a dual reader; the connection with the other electronic device (which may also be a card) can be made contactlessly while the first card is held in the reader. Thus, in this example, the first connection is contact-based and the second connection is contactless.
[0084] The dual reader may be configured to allow information to be exchanged simultaneously with two electronic devices when the two electronic devices are connected to the dual reader in a contact manner or a contactless manner.
[0085] As a variant, the exchange of information is asynchronous and the dual reader is configured to exchange information with only a single electronic device at a time; in this case, the electronic devices are connected sequentially in order to perform the transaction.
[0086] The dual reader may be configured to connect to an external server to perform a transaction simultaneously with, or in addition to, a transaction between two electronic devices.
[0087] The dual reader may take the form of a payment terminal (such as those used today to make payments in shops using bank cards), or a reader with a keypad similar to a personal card reader used to authorize a connection to a bank interface but allowing information related to the exchange to be entered. The dual reader may have a contact-based reader, and a contactless reader (in particular a reader of the NFC type).
[0088] The dual card reader may have an interface allowing it to connect to a computer network (e.g. the Internet) via a 3G, 4G, 5G or Wi-Fi network (via a computer or phone where applicable). The man-machine interface of the dual reader may include a keyboard, preferably with buttons, and at least one screen; the system may then display two messages for the bearers of the first and second electronic devices, respectively.
[0089] As a variant, the man-machine interface of the dual reader comprises a voice interface. The interface of the dual reader may also comprise means for identifying the owner of the electronic device (such as the option to enter a PIN code or a biometric system), which means may confirm the credentials of the electronic device and its owner after taking into account a document identifying said owner and carried by said electronic device.
[0090] The dual reader human-machine interface allows:
[0091] – confirming connectivity with an electronic device that is plugged into or otherwise connected to a reader;
[0092] – You can choose files or amount to transfer;
[0093] – it is possible to enter an amount relating to the transaction, for example a sum of money to be transferred, and to indicate whether this involves a transmission or a reception to a corresponding electronic device;
[0094] - Information can be displayed back-to-back for each user of two electronic devices;
[0095] – Allows the user to display the balance of his electronic device and / or one or more amounts associated or not associated with a document;
[0096] – Allow changing PIN code;
[0097] – If authorized for a file, changes to the file's contents may be allowed;
[0098] – Creation of documents and related amounts may be permitted.
[0099] The human-machine interface may enable one or more amounts associated with the transfer to be displayed before the transaction is confirmed; files associated with the transaction may also be displayed or read, particularly if the files are audio or video files; and user instructions may also be displayed or read.
[0100] Where applicable, the human-machine interface is provided on another device (such as, for example, a computer, cash register, electronic lock or mobile phone) with which the dual reader communicates via a wired or wireless link.
[0101] The dual reader preferably has the necessary components for performing the above-mentioned transactions and therefore has components for signing messages using a computer key that identifies the dual reader, the dual reader has the ability to calculate the available amount (in particular the absolute available amount), has components for creating messages representing transactions or instructions to be registered in an electronic device, for example, and the dual reader has components that allow the server to arbitrarily write to, read from and delete the amounts, transactions and authorized reader lists registered in the register to the electronic device.
[0102] The dual reader preferably has all or some of the following elements:
[0103] A connection for a wired link to a microcomputer or other terminal, such as a USB type connection;
[0104] A wireless connection to a microcomputer or telephone, such as a Bluetooth type connection;
[0105] a wireless connection, for example of the Bluetooth type or of the RFID type, for establishing a link with the electronic device according to the invention;
[0106] a contact-based connector for communicating with an electronic device according to the invention if the electronic device is plugged into a reader;
[0107] An internal clock that is synchronised on each connection to the server and allows transactions and balances to be timestamped, the clock is preferably accurate, e.g. to within + / - 5 seconds per month.
[0108] a physically protected memory containing a private key of a dual reader and physically accessing the memory preferably causes information contained in the physically protected memory to be destroyed before being copied from the physically protected memory;
[0109] At least one memory, the contents of which are encrypted by its own private key and in which all or part of the following information may be stored:
[0110] Identify the code for dual readers;
[0111] a list of the most recent transactions performed via the dual reader, and a list of corresponding documents;
[0112] a buffered list of transactions performed by other readers, a buffered list of fraudulent transactions, or balances, or any other data items that a server wishes to communicate with an electronic device or an electronic device wishes to communicate with a server;
[0113] A list of shared or public keys of servers and electronic devices and may also have a list of private keys, each private key being associated with a server or electronic device and used to communicate with and identify itself to such server or electronic device.
[0114] The dual reader can be configured to perform all or some of the following operations:
[0115] reading a PIN code and an identifier of an electronic device connected to the PIN code;
[0116] Calculate the amount available;
[0117] Delete, write or keep transactions;
[0118] causing an electronic device connected to the dual reader to sign the message;
[0119] updating a list of authorized readers and servers on the electronic device according to the security system employed;
[0120] A further subject of the invention is considered to be such a dual reader.
[0121] server
[0122] The server is a remote computer system that contains accounts and dual readers associated with various electronic devices, either based on transactions performed by the relevant electronic devices or based on instructions from an authorized external application that can add or remove files and modify amounts.
[0123] The server(s) include at least one memory in which all or part of the following information may be stored:
[0124] 1. For each electronic device
[0125] A copy of the transaction on the electronic device that has not caused a change in the amount or documents related to the transaction, and the documents associated with the copy, and another copy recorded on the corresponding electronic device; each transaction that has been confirmed by the server will be marked as:
[0126] ●Amounts and documents recorded on electronic devices;
[0127] ●Information for identifying a list of keys present on the electronic device;
[0128] 2. For each dual reader
[0129] ● Information for identifying the key list present on the dual reader;
[0130] 3. The server's private key, preferably a physically protected private key, or a list of private keys, preferably a physically protected list of private keys, each of which is used to identify itself by some individual device or individual dual reader or group thereof, together with the public keys associated with them;
[0131] 4. List of public keys of dual readers;
[0132] 5. List of public keys of electronic devices;
[0133] 6. List of other servers' public keys.
[0134] The servers communicate with each other and can distribute information between them, for example, through electronic devices and dual readers; this can make it possible to keep information related to a specific dual reader or a specific electronic device on a specific server; this can also allow a server connected to any dual reader to read and change or modify the information when necessary. The system can include only one server, thereby reducing the complexity of the system.
[0135] The server may be configured to reject any transaction intended to debit an amount greater than an amount and mark such transaction as fraudulent; this item of information may be transmitted to the electronic device at the next connection, and then transactions marked as fraudulent will no longer be considered. Transactions relying on fraudulent transactions may also be cancelled or marked as fraudulent.
[0136] In particular, the server can mark a transaction as valid once the following verifications have been made:
[0137] The server is associated with the electronic device and dual reader active during the transaction;
[0138] The transaction debits an amount from a transaction already determined by the server before the verification; or the transaction debits an amount or a file pre-registered by the server on the electronic device; or the transaction debits a file created from scratch using a dual reader and not yet transmitted;
[0139] The transaction is subject to the rules imposed on such transactions at the time of the transaction, such as the following:
[0140] ○ If the rule applies to that amount, the amount registered in the register cannot be debited by a total amount greater than that amount;
[0141] ○ If this rule applies to this amount, it is not possible to debit an amount greater than the amount registered in the register of the electronic device, adjusted by the total amount of other transactions, and to deduct from this total amount before the transaction is verified;
[0142] o The transaction cannot be conducted without simultaneously executing other related transactions, one of which could, for example, require biometric authentication, and these transactions have not all been executed.
[0143] Information about the transaction may include information related to the amount present in the credit electronic device, which may be necessary for the server to confirm the transaction.
[0144] The server can be configured to calculate and update the amount only when it knows all transactions marked as confirmed from device to device and each credit is linked to the debit of the confirmed amount. In this way, any transaction originating from a reader not registered in the server or from an electronic device not registered in the server cannot cause the change of the amount. In addition, this will allow the server to credit the amount to the electronic device based on the same transaction associated with the debit on other electronic devices, thereby ensuring the continuity of the total value of the amount of all electronic devices, by all transactions confirmed but not yet considered with the amount registered on the electronic device to adjust the total value. The server can also be configured to calculate and update the amount counted in the debit and credit by the same transaction at the same time. Then, the server will first retain the amount registered on the electronic device in the memory, and secondly be updated by the server but the amount not yet registered on the electronic device, and what will be linked to the amount will be the transaction for updating and when the newly calculated amount is copied to the electronic device, the transaction must be deleted from the electronic device.
[0145] To facilitate such linking, the electronic device may contain copies of other transactions that have been performed prior to the debit of the amount or file, which transactions make it possible to link the debit to the initial file or amount that has been confirmed by the server, as long as these transactions have not been reported to the server in another way.
[0146] During a transaction with an external entity, the server may first consider all transactions applying said amount present on the electronic device by calculating the amounts involved.
[0147] In order to modify a document represented by a file or amount registered in a register of an electronic device, if the electronic device contains a transaction regarding the document that has not yet been confirmed by the server, the dual reader can follow the process of transactions with external entities provided below, and therefore needs to synchronize with the server, and then authorize and implement the modification of the amount or file on the electronic device. The device can also limit the modification of the file to files with only one register in which the amount can be registered and in which the amount will be limited to only 0 or 1.
[0148] These servers allow data synchronization between at least one electronic device and said server via a computer or a phone, since the server can be accessed via a connection to a data network. Figure 4 An exemplary synchronization process is further described.
[0149] A system for implementing the present invention may include multiple private keys for each server, which will be used indiscriminately if necessary, allowing each server to quickly respond to dual readers and electronic devices.
[0150] In an exemplary implementation of the invention, an electronic device includes a SIM chip card and an RFID connection, and the system is configured to allow transactions involving two dual readers that are remote from each other. The system can then record the identifier of each of the two readers in the transaction record. A mechanism for pairing the two readers can be organized. The mechanism can include a component for displaying the identity of the holder of the remote electronic device, and can also limit transactions to transactions in which at least one of the electronic devices involved has an identifiable holder. The pairing mechanism can also include a component for one or both of the two paired readers to indicate the location of the other reader.
[0151] Security of documents and amounts
[0152] "Secure" is intended to mean that information cannot flow or be modified in the system outside of the programs dedicated to the system, and that information cannot leave or enter the system without user authorization according to the system's programs, which may depend on the type of individual document.
[0153] The data present in the electronic device and reader, or in the server, according to the invention are preferably secure: these data registered in the memory are only interpreted in the presence of the electronic device or dual reader that hosts them, for example by being encrypted using a key resident in that electronic device or dual reader.
[0154] Preferably, there is a mechanism for protecting the software carried by the electronic device and the dual reader to avoid the introduction of fraudulent software into the electronic device and the dual reader. The software can be signed and its signature verified when the software is loaded. These signatures can also be verified before any transaction. The software can also be different from each specific element of the system, for example, by adding a reference to the ID of the element of the system intended to run on the system to the code of the software, so that a hacking attack or compromise of a software will not damage many or all elements of the system, but only one or more elements intended to run. Through hacking or compromise of software, it is intended to be able to replace such software with different software without the element of the system intended to run on the system being able to notice such replacement. For example, the technology used to protect files has always used a method called "hashing", and some such methods (such as MD5) have been reported as not being completely safe in some cases.
[0155] Preferably, all communications between the various elements of the system are performed so that they are understandable only to the elements of the system and cannot originate from third party elements outside the system approved for this purpose and linked to a server, or controlling dual readers instead of users.
[0156] Each element of the system, i.e., each server, dual reader, or electronic device, may have a private key known only to that element, but the public key of that element is associated with its identifier. Each element of the system may also have a private key specific to each other element of the system, with the hacking of any such private key compromising only the security of communications with the device associated with it, rather than compromising the security of communications with all devices of the same class.
[0157] Advantageously, none of these private keys of the server, of the respective dual reader or of the respective electronic device ever leaves its carrier and is advantageously physically protected by appropriate electronic techniques.
[0158] A mechanism may be provided to allow updating of keys for the server and individual dual readers.
[0159] Detecting Fraud
[0160] Since the dual reader includes a clock, the information registered in the first electronic device and the second electronic device is time-stamped with the time of exchange.
[0161] The server may cancel a transaction recorded on an electronic device if linking that transaction to any transaction would result in non-compliance with any rules associated with the transaction and parameterized in the server(s).
[0162] Preferably, only after these transactions are reported to the server, will these transactions be deleted from the dual reader. Advantageously, the dual reader will have a light or other indicator that indicates that if the entire memory of the dual reader is being used, the dual reader cannot handle new transactions.
[0163] Any anomalies, such as link, signature or date anomalies, are preferably flagged as fraudulent.
[0164] Any balance, any transaction, any listing detected as fraudulent (e.g. with a fraudulent signature) is reported to the server and marked as invalid.
[0165] Dealing with fraud
[0166] The server may be configured to detect fraud and flag any transaction, listing, balance, or electronic device as fraudulent.
[0167] Their invalidity and possible correction are communicated to the electronic device.
[0168] An electronic device or reader can be marked as fraudulent, non-functional, can be removed from a list of authorized electronic devices or dual readers, and can be so marked. A list of fraudulent electronic devices can be transmitted to a dual reader so that the reader disables fraudulent electronic devices that may be connected to the reader.
[0169] Transactions made using known fraudulent readers and not yet verified may not be verified by the server until a reasonable time set in the server from this moment has expired; such transactions may also be marked as suspicious on the device and prevented from being affected by the transactions themselves until the reasonable time has expired or until they are validly verified by the server.
[0170] Data Integrity
[0171] Certain operations of registering the amount and the transaction must be consistent with each other, or other multiple operations must be consistent with each other. If the two elements are not updated or deleted together, that is, the transaction and the amount or file, the conversion transaction cannot be achieved by modifying the amount or file. Methods can be used to ensure that the updated information blocks of the electronic device are only confirmed when these information blocks have been completely and correctly registered. For example, an index can be assigned to the information written in these blocks, and the index will only be marked as valid when all elements of the block have been correctly written. In order to delete redundant information, a delete instruction for the index can be registered in the same way, and the program will actually delete this redundant information thereafter.
[0172] Communication security
[0173] Various techniques can ensure the security of communications between the various servers, electronic devices, and dual readers. The following description is not intended to be exhaustive, but merely exemplary of techniques for such security.
[0174] Security of the list
[0175] Each element of the system, i.e. each server, each dual reader, and each electronic device, may have one or more private keys that are not repeated anywhere, but whose corresponding public keys are known to the system and compiled in a list. If a server, dual reader has multiple private keys, some or all of these private keys may be associated with a specific item or group of other servers, readers, or devices, and the specific item or group of other such servers, readers, or devices associated with some or all of these private keys will know their corresponding public keys. This public key may be the same or different in any case from the private key associated with any element of the system (servers, electronic devices, and dual readers), and is used to update the system's software, update the system itself, and encrypt data within the system's memory.
[0176] These lists are therefore lists of public keys associated with the various elements. Thus, there is a list of public keys for servers, a list of public keys for readers, and a list of public keys for electronic devices. In the case of multiple private keys, such lists have information on other specific items or groups of other servers, readers, or devices associated with them.
[0177] The server keeps each of these lists, as does the dual reader. The electronic device has a list of the server's public keys and a list of the dual reader's public keys.
[0178] When an element of the system is connected (dual reader to server connection, electronic device to reader connection, or electronic device to server connection) for a sufficient period of time, the list is updated.
[0179] Any transmission of data is performed only to elements listed in one of these lists, and the transmission of this data is encrypted so that only the intended recipient element can read it, and is signed so that the intended recipient can verify the authenticity of the sender of the message.
[0180] The system can allow the update of private keys and related public keys upon request from the server.
[0181] Using this system, it can be ensured that each electronic device communicates with only one reader or one server in the same system. Likewise, it can be ensured that each reader communicates with only one server or one electronic device in the system, and communicates in an encrypted manner.
[0182] The disadvantage of list security is that a large number of lists need to be saved and updated on each electronic device and reader, but it has the following advantages: first, it makes it possible to prevent the theft of private keys, which are physically located on each hardware carrier rather than being designed to leave the carrier, thus involving less technical security, and second, in order to ensure the diversity of private keys, the theft of a key that affects a reader or electronic device only damages the reader and the electronic device. The use of multiple private keys can mitigate the impact of hacker attacks on such private keys, and the compromise of a key affects a smaller number of servers, readers and devices. For example, a compromised server key, part of a multiple private key system, will only make other elements of the system associated with such compromised private key insecure. The private key can also be updated from time to time or when it is suspected that the private key is under hacker attack, so that the element in the system that knows the latest corresponding public key can not communicate with the element that forged it as part of the system, but in fact it is not because the element will not process the new private key, but only one of the old keys.
[0183] Security of shared keys
[0184] The list of keys of an electronic device, or the list of keys of a dual reader, or the list of keys of a server can each be replaced by a small list of shared keys of a dual reader, a small list of shared keys of an electronic device, or a small list of shared keys of a server. These keys can be said to be shared, even if they are secret and cannot leave the system, and they can be found on multiple elements of the system. This replacement can be partial, for example, affecting only the list of electronic devices, or only the list of readers, or only the list of electronic devices and the list of readers, or only the list of some readers, electronic devices and servers. In these cases, the list of electronic devices, for example, no longer exists but is replaced by the shared key of the electronic device; then, the elements of the system will have to communicate using this shared key, thereby avoiding communication with elements outside the system. These keys can be asymmetric: a private key / public key system, a private key of an element of the list found on each element registered on the list and a public key on each element of the system that can communicate with the elements of the list; or these keys are symmetric: the same key found on the elements registered on the list and on the elements of the system that can communicate with the elements registered on the list. These keys may be updated regularly to avoid that two recently updated elements communicate with a key that may have been stolen. The update will be performed by a server to which the new shared key will be transmitted confidentially, knowing the public keys of the various electronic devices and of the various dual readers. Whether using security by list or by shared keys, two elements of a system can thus be authorized to communicate with each other if they each have a public key corresponding to a private key located on the other element, which private key is either unique and only on the element, or shared by the various elements of the system and then located on multiple elements of the system. The elements of the system can also communicate with each other if they each know the same key shared between them or between them and other elements of the system.
[0185] In one exemplary implementation, the electronic device and reader no longer contain a list of public keys of the electronic device and its ID and a list of public keys of the dual readers, but only one key shared by the dual readers and another key shared by the electronic device. Each electronic device and each dual reader also has a private key, but only the server has its associated list of public keys. The server can then change and update the shared key.
[0186] In another exemplary implementation, the presence of a shared key for dual readers makes it possible to avoid the need for a list of public keys of readers and their IDs on each electronic device.
[0187] In another exemplary implementation, the presence of a shared key for the electronic device makes it possible to avoid the need for a list of public keys for the electronic device on each dual reader.
[0188] Peripheral device security
[0189] Preferably, peripheral devices attached to and used by the reader are secure so that information provided to the peripheral device is authentic or so that information provided to the peripheral device by the reader can remain secure. Therefore, the peripheral devices can preferably be registered collectively or individually to a server, which will be able to determine to the reader that such connected devices are authentic. The authentication process can include verification that the peripheral device contains a private key associated with a public key known to the server, and allows the creation of a shared key for subsequent communications between the reader and the peripheral device.
[0190] Additional security
[0191] Other safety measures may be introduced, including:
[0192] ● Associating the electronic device with a user provided in the electronic device or with a server;
[0193] requiring the holder of the electronic device(s) to identify themselves in order to confirm the transaction, for example by entering a PIN code or using a biometric device before placing the electronic device near the dual reader. These identification components may be located arbitrarily on the dual reader or electronic device, or may even be accessible to the dual reader by means capable of connecting to the identification components. Thus, the dual reader or electronic device may include components for identifying the user, which components are capable of biometric identification;
[0194] ● Adding buttons or biometric devices to electronic devices for confirming transactions or entering PINs;
[0195] ●Add a screen to an electronic device for displaying messages, documents, or amounts.
[0196] =Add attributes to files (such as expiration dates). BRIEF DESCRIPTION OF THE DRAWINGS
[0197] The present invention will be better understood by reading the following detailed description of exemplary but non-limiting implementations and referring to the accompanying drawings, in which:
[0198] – Figure 1 An exemplary system for implementing the present invention is schematically shown;
[0199] – Figure 2 A block diagram showing various steps of an exemplary data exchange method according to the present invention;
[0200] – Figure 3 For similar Figure 2A view of a variant implementation of the present invention;
[0201] – Figure 4 is an example of the timing of data flow between the electronic device according to the present invention and third-party software connected to the server;
[0202] – Figure 5 Various steps that can be implemented for synchronizing data between an electronic device and a server according to the present invention are shown;
[0203] – Figure 6 Various steps that can be implemented for updating lists and keys of an electronic device or reader are shown;
[0204] – Figure 7 shows various steps that can be implemented for updating the software of an electronic device or reader;
[0205] – Figure 8 shows various steps that can be implemented for synchronizing a reader with a server; and
[0206] – Fig. 9 Various steps are shown that can be carried out by a user to create or modify a file on a secure device. DETAILED DESCRIPTION
[0207] Figure 1 An exemplary system for implementing the method according to the present invention is shown.
[0208] The system comprises a dual reader 10 according to the invention, configured to exchange information with an electronic device 20A and an electronic device 20B according to the invention in the form of credit cards, in the example shown.
[0209] The dual reader 10, the electronic device 20A and the electronic device 20B can exchange information with at least one remote server 30, for example via the Internet or a radio link, and where applicable, can exchange information with at least one remote server 30 by means of an auxiliary device (such as a microcomputer 40 or a mobile phone 41).
[0210] Now refer to Figure 2 A description is given of the steps of an exemplary method for performing a transaction between an electronic device 20A and an electronic device 20B according to the present invention. In this example, the transaction is considered to be synchronous because the electronic device 20A and the electronic device 20B must be connected to the dual reader 10 at the same time in order for the transaction to occur; the first secure connection and the second secure connection overlap in time; the first connection can be contact-based, and the second connection can be contactless.
[0211] Thus, a transaction takes place between a first user A having a first electronic device 20A according to the present invention and a second user B having a second electronic device 20B according to the present invention.
[0212] In step 201, user A first inserts his electronic device 20A into the dual reader. In step 201bis, user B can place his electronic device near the reader in order to inform the reader of the nature and amount of the documents contained therein.
[0213] In step 202, user A selects the operation he wishes to perform, for example: conduct a transaction / settlement or balance settlement; the selection of balance settlement corresponds to displaying the balances of the two devices 20A and 20B.
[0214] Next, in step 203, user A selects the indication (send or receive), the document or the amount of the transaction; and provides the amount where applicable, that is to say the quantity in the case of a financial transaction.
[0215] Step 203 may be repeated if multiple transactions are associated, that is, the exchange must include multiple files or amounts sent or received simultaneously.
[0216] In step 204, if the initially selected transaction requires it, some additional transactions can also be automatically generated, for example, the transferred document can be associated with a price and a payment matching its value can be required to be generated at the time of transfer, or conversely, a payment amount can be set on the receiving device to generate a receipt; such automatically generated transactions are displayed to the user, and user A can enter his PIN (personal identification number) code to confirm the operation, or simply verify the automatically generated transaction (if any).
[0217] In step 205, user B can read on the screen of the dual reader 10 an item of information providing him with a transaction or check his balance.
[0218] If the operation requires, in step 206 user B may enter a PIN code and then, in step 207, user B places his electronic device 20B on the dual reader 10 to perform the transaction. If some transactions were reported on device B to require some automatically generated transactions to be implemented and these transactions are not already in the list of transactions to be verified, such automatic transactions are generated and the process is repeated in step 204.
[0219] In step 208, the dual reader indicates that the transaction has been completed.
[0220] Then, in step 209, user B may remove his card, and in step 210, user A may do the same.
[0221] In step 211, the reader sends information related to the exchange to the server.
[0222] In the case of grouped transactions, the same code can be assigned to each transaction. These transactions are first registered on the first electronic device, but are identified as "conditional" and associated with said code. The restriction allows the system to consider debits instead of credits written to the electronic device, and will only consider credits if the restriction is removed. Then, these transactions are also conditionally registered on the second electronic device and associated with the same code; but in this case, as long as the restriction is not removed, no transactions or only debit transactions will be considered. The restriction can be removed at the end of writing by writing a new line called the restriction removal line to the second electronic device within a reasonable time parameterized in the system. This latest line, once transmitted to the reader, will be transmitted to the first electronic device, and this single line registered on the first electronic device will remove the condition of the transactions associated with the same code on this device. Afterwards, the instruction will be sent to the server. If the removal of the condition is not registered on the second electronic device within a reasonable time, the reader will create a write operation to cancel the grouped transaction during the reading of the second card, or during the re-reading of the first card, or afterwards. If the first electronic device has not received the write operation, the write operation is sent to the first electronic device, or if the second electronic device has not received the write operation, the write operation is sent to the second electronic device; and the write operation is sent to the server. Then, all debit transactions or credit transactions related to the code will be cancelled. Thereafter, the server can be responsible for preparing instructions to delete these transactions written to the two electronic devices.
[0223] The transfer of documents or amounts present in the system may also be subject to other rules attached to the documents and amounts, such as making the transfer of the documents and amounts conditional on the transfer of a copy of the identity document, which itself may be conditional on the biometric identification of the holder of the electronic device. For example, for an invoice issued by a trader, the transfer constraint may also be the reciprocal transfer of currency corresponding to the invoice amount, or the transfer of carbon emission credits required by law when purchasing an item.
[0224] Now refer to Figure 3 A description is given of a variant embodiment of the present invention in the case of asynchronous transactions.
[0225] In step 301, user A first brings his electronic device 20A close to the dual reader 10; in step 301bis, user B performs the same operations. These operations are used to transmit the list of files and amounts contained in each electronic device placed near the dual reader to the dual reader; if the reader does not need to know the files and amounts that can be transferred on the electronic device according to its configuration, these operations can be omitted.
[0226] In step 302, user A selects the operation he wishes to perform, for example: conduct a transaction / settlement or balance settlement; the selection of balance settlement corresponds to displaying the available amounts on the two devices 20A and 20B.
[0227] Next, in step 303, user A selects an instruction (send or receive), a file or an amount of the transaction.
[0228] If multiple transactions are associated, step 303 may be repeated.
[0229] In step 304, user A may enter his PIN code to confirm the operation.
[0230] The transaction is then prepared by the dual reader 10 using the "unknown" copy.
[0231] In step 305, the dual reader displays the initiated transaction and invites User A to close his card.
[0232] In step 306, user A turns off his device (for example in the form of a card). All debit transactions are verified so that each available amount debited on the electronic device is at least equal to the amount to be debited and any credited amount does not exceed the maximum amount on the electronic device. The reader creates a copy of the previous transaction linking the file and amount to be debited from the electronic device to the file and amount already registered on the electronic device by the server. If one or more available amounts are insufficient, the operation is canceled, otherwise, in step 307, user B may be invited to enter his PIN code and turn off his device.
[0233] In step 308, user B enters his PIN code.
[0234] In step 309, user B turns off his device 20B (for example in the form of a card). All debit transactions are verified so that each available amount debited on the electronic device is at least equal to the amount to be debited. If one or more available amounts are insufficient, a write operation to cancel the transaction is generated and registered on the device. Otherwise, the transaction is registered on the device. The previous transactions collected on the device 20A in step 306 are copied to the electronic device 20B. Therefore, the information items related to the exchange include information related to the previous exchanges related to the same register or the same file. The reader creates a copy of the previous transaction linking the file and amount to be debited from the electronic device 20B to the file and amount already registered on the electronic device by the server. Registration and copying are permitted by writing instructions confirming the transaction, which makes these transactions valid on the device 20B.
[0235] In step 310, user B will be invited to remove his device and user A will be asked to shut down his device.
[0236] In step 311, user A turns off his device. A confirmation instruction or an invalidation instruction is transmitted to the electronic device 20A. The transactions written to the electronic device 20A are updated simultaneously with the final known identity of the electronic device 20B. The previous transactions collected in step 309 are copied to the electronic device 20A. If this step 311 is omitted, these operations will be performed during another subsequent synchronization with the servers, after these servers have received a confirmation instruction transmitted to them by the same reader or another reader with which the electronic device 20B will subsequently communicate.
[0237] In step 312, the reader indicates that the transaction is complete and invites User A to remove his device.
[0238] In step 313 , the transactions and confirmation instructions generated during this exchange are sent to the server along with the transactions copied from device 20A and device 20B in steps 306 and 309 .
[0239] Figure 4 An example of data exchange between a user, an associated electronic device, and an external website that controls the insertion (credit) or removal (debit) of a file or controls changes in an amount allocated to the electronic device is shown.
[0240] The electronic device 20A or 20B is, for example, in the form of a credit card. The electronic device 20A or 20B can communicate with the server by means of a dual reader 10 or a computer or a telephone. The user can communicate with the website, and the website itself can communicate with the server 30.
[0241] In step 401, a user opens a session with a third-party website.
[0242] In step 402, the user may place the electronic device 20A near the reader. The reader connected to the server synchronizes the device 20A with the server 30. Figure 5 The amount is updated based on the latest transaction as shown in . If the transfer does not involve transferring documents or amounts from an electronic device to a third-party website, this step may not be required.
[0243] In step 403, the user selects a file or amount and a direction of the transaction on the third party website to transfer the file or amount to or from the website. An instruction to update the balance of the electronic device is prepared.
[0244] In step 404, the third party website verifies that the third party website can conduct the transaction. For example, the user's bank account may be temporarily debited, and then possible documents are sent to the server and the transaction is finally displayed, and the user is provided with the opportunity to confirm the transaction by holding his electronic device 20A close to the reader, or by clicking an icon if the electronic device 20A is already in communication with the server.
[0245] In step 405, the user brings his electronic device 20A close to the reader 10 or presses an icon. Then, an instruction to update the amount is written to the electronic device 20A. The file transferred from the third-party website in step 404 can be copied to the electronic device 20A and can be copied to the server of the system. If this step does not occur within a reasonable time, the transaction is canceled and the third-party website is notified, and the file transferred in step 404 can be deleted from the server and from the electronic device 20A. Otherwise, the third-party website is notified that the operation was successful. The file transferred from the electronic device 20A to the third-party website is effectively transferred from the server to the third-party website, and the file can be deleted from the server; then, an instruction to delete the file from the electronic device 20A is generated.
[0246] In step 406, the reader indicates that the transaction is complete and invites user A to remove his electronic device 20A.
[0247] In step 407, the user removes his electronic device 20A.
[0248] Figure 5 An example of a synchronous exchange that can occur between an electronic device (e.g., in credit card format) and a server is shown. The exchange occurs when the electronic device communicates with a reader and the reader communicates with a server. Therefore, it is only necessary to insert the card 20A into the reader or place the card next to the reader for a necessary period of time. The following steps describe the exchange between the electronic device 20A and the server 30 through the reader 10.
[0249] In step 501, a user brings his electronic device 20A close to a reader.
[0250] In step 502, the server 30 may send the prepared transaction deletion instruction to the electronic device 20A.
[0251] In step 503, all transaction deletion instructions existing on the electronic device 20A are executed.
[0252] In step 504 , all instructions, transactions, and files that exist on the electronic device 20A but not on the server are copied to the server via the reader 10 .
[0253] In step 505, the server calculates a new amount or the server obtains a new amount calculated by one of the servers of the system, and the server prepares a transaction list to be copied to the electronic device 20A or a transaction list to be deleted from the electronic device 20A.
[0254] In step 506, all deletion instructions, transactions, and new amounts that exist on the server 30 but do not exist on the electronic device 20A but should exist on the electronic device 20A, or the new amounts calculated in step 505, are copied to the electronic device 20A.
[0255] In step 507, all transaction deletion instructions existing on the electronic device 20A are executed.
[0256] In step 508, the user is invited to remove his electronic device.
[0257] Figure 6 An exemplary structure for updating keys and key lists present on a reader or electronic device is shown.
[0258] The figure assumes that both the electronic device (DE) and the reader are present, but the following steps also apply only to the synchronization of the reader.
[0259] In step 601, the electronic device or reader sends its identification to a server.
[0260] Server prepares, encrypts and signs:
[0261] a. Update the key;
[0262] b. Update the key list;
[0263] So that only the electronic device or reader can read them. The electronic device or reader signs the encrypted file with one of the keys, one of which knows that the private key exists on the electronic device or reader. These updated files contain information about elements to be deleted, replaced, and added. These updated files can be divided into multiple files to allow gradual updates.
[0264] In step 602, the encrypted and signed file is sent to an electronic device or reader.
[0265] In step 603, the electronic device or reader verifies the signature of the file and decrypts it.
[0266] In step 604 , the electronic device or reader installs in its internal memory the keys and key lists provided for this purpose and then triggers consideration of the update.
[0267] In step 605, the electronic device or reader notifies the server to consider updating the file.
[0268] In step 606, the electronic device or reader deletes the outdated information from its memory.
[0269] Figure 7 An exemplary implementation of updating the software of a reader or electronic device is shown.
[0270] The figure assumes that both the electronic device (DE) and the reader are present, but the following steps also apply only to the synchronization of the reader.
[0271] In step 701, the electronic device or reader sends its identification to a server.
[0272] In step 702, the server encrypts the software to be installed so that only the electronic device or reader can read it. The server can then also sign the encrypted file using one of the keys, where it knows that the public key exists in the electronic device or reader.
[0273] In step 703, the encrypted and signed file is sent to an electronic device or reader.
[0274] In step 704, the electronic device or reader verifies the signature of the file and decrypts it.
[0275] In step 705, the electronic device or reader installs the software provided for this purpose in its internal memory without deleting the installed software.
[0276] In step 706, the electronic device or reader verifies that the new software has indeed been copied and changes the startup instructions of the electronic device (or reader) so that the electronic device starts up again using the new software.
[0277] In step 707, the electronic device or reader is started again.
[0278] Once started, in step 708, if old software of the electronic device or reader still exists, the old software is deleted.
[0279] Figure 8 An exemplary synchronization of a reader with a server is described.
[0280] In step 801, the certificates and lists are updated.
[0281] In step 802, the transactions performed by the reader and stored thereon are sent to the server and then deleted.
[0282] In step 803, a list of electronic devices to be marked as fraudulent or to be disabled may be received.
[0283] Fig. 9 Various steps are shown that can be carried out by a user to create or modify a file on a secure device.
[0284] In step 901, the user brings his security device next to a reader.
[0285] In step 902, the user selects the file he wants to modify or chooses "Create New File" from the reader's menu.
[0286] In step 903, if the number associated with the file is equal to the maximum number allowed to be associated with the file, and the file has been marked as "modifiable", the file is displayed on the reader and the function that allows it to be edited is activated. If the user selects "create a new file", a blank file is displayed on the reader and the function that allows it to be edited is activated.
[0287] In step 904, the user edits the file.
[0288] In step 905, the user can edit some characteristics of the file (such as the minimum number, maximum number, increment or other characteristics of the file) that affect the operations that can be performed on the file in the system (such as "can be transferred" or "requires a biometric device to view"). Then, the number of attachments to the file is set to the maximum number allowed for the file.
[0289] In step 906, the user again approaches the device next to the reader.
[0290] In step 907, the file is copied to the device.
[0291] In step 908, if the reader is connected to the server, or subsequently connected to the server, the file is copied to the server.
[0292] In step 909, the card may also place a copy of the file on the server through the server's connection to another reader.
Claims
1. A method for performing at least one secure exchange within a system, the system comprising a first electronic device (20A) and a second electronic device (20B), a dual reader (10), and at least one server (30), wherein: The dual reader (10) comprises means for connecting to respective electronic devices, information relating to the exchange being capable of being transmitted to the at least one server (30), the method comprising: a) inputting information items related to an exchange to be performed between the first electronic device (20A) and the second electronic device (20B) into the dual reader (10) using an interface of the dual reader (10) or an external device connected to the dual reader (10); b) registering, in the first electronic device (20A), information items related to the exchange using the dual reader (10); c) registering information items related to the exchange in the second electronic device (20B), and cancelling the exchange by default; d) transmitting data related to said exchange to said server (30), In which, the information items related to the exchange include information related to previous exchanges, which allow the server to link each transaction on the electronic device to an amount or a file of another electronic device and are related to the same register or the same file, the electronic device (20A, 20B) containing copies of other transactions that have been performed before the debit amount or file, which transactions make it possible to link the debit to an initial file or amount that has been confirmed by the server, as long as these transactions have not been reported to the server in another way.
2. The method according to claim 1, wherein: The validity of the registration on the first electronic device (20A) is conditional on the registration on the second electronic device (20B) of the information item related to the exchange; After registration on the second electronic device (20B), the validity of the registration on the first electronic device (20A) is transmitted to the first electronic device (20A) via the dual reader, or subsequently via the server and then via another dual reader.
3. The method according to claim 1, wherein: The server (30) cancels a transaction recorded on the electronic device (20A, 20B) if linking the transaction with any transaction would result in non-compliance with at least one rule associated with the transaction and parameterized in the server.
4. The method according to claim 1, wherein: If two elements of the system selected from the electronic device, the server and the dual reader each have a public key corresponding to a private key located on the other element, and the private key is unique and only located on the element, or the private key is shared by other elements of the system, or the two elements each know the same key shared between them or between them and other elements of the system, then the two elements are authorized to communicate with each other.
5. The method according to claim 1, wherein: The dual reader (10) includes a clock, and information registered in the first electronic device and the second electronic device is time-stamped with the time of the exchange.
6. The method according to claim 1, wherein: The dual reader performs a transfer of an amount registered in the register of the first electronic device from the register of the other electronic device to the register of the first electronic device, or performs a transfer of an amount registered in the register of the first electronic device to the register of the other electronic device, while ensuring that at the end of each transfer, certain rules present in the dual reader are followed during the transfer, and for each initial value of the register of the first electronic device and the register of the other electronic device, the amount received is increased or the amount sent is deducted from the initial value.
7. The method according to claim 1, wherein: The first secure connection and the second secure connection overlap in time.
8. The method according to claim 1, wherein: In a step prior to step a), the first electronic device (20A) and / or the second electronic device (20B) transmits information to the reader.
9. The method according to claim 8, wherein: The information transmitted to the reader is related to a list of documents recorded in the first electronic device and the second electronic device, so that the reader can incorporate the documents into a menu.
10. The method according to claim 1, wherein: The first connection is contact-based and the second connection is contactless.
11. The method according to claim 1, wherein: The man-machine interface of the dual reader (10) comprises a keyboard for inputting the information items related to the exchange.
12. The method according to claim 1, wherein: The man-machine interface of the dual reader (10) comprises a screen, and the system is configured to display two messages for the holders of the first electronic device and the second electronic device, respectively.
13. The method according to claim 1, wherein: The electronic device (20A, 20B) is in the format of a credit card or a SIM card.
14. The method according to claim 1, wherein: A secure exchange with the electronic device (20A, 20B) is performed at different locations by two dual readers linked by a computer connection.
15. A system for implementing the method according to claim 1, comprising: - at least one dual reader (10); - at least two electronic devices (20A, 20B); - at least one computer server (30); The dual reader is configured to establish a first secure connection with a first electronic device (20A), establish a second secure connection with a second electronic device (20B), allow input of information items related to an exchange performed between the first electronic device (20A) and the second electronic device (20B), register the information items related to the exchange in the first electronic device (20A), register the information items related to the exchange in the second electronic device (20B), and then transmit the information related to the exchange to the server (30), The items of information relating to the exchange comprise information relating to previous exchanges allowing the server to link each transaction on the electronic device to an amount or a file of another electronic device and relating to the same register or the same file, the electronic device (20A, 20B) containing copies of other transactions already carried out before the debit of an amount or a file, these transactions making it possible to link the debit to an initial file or an amount already confirmed by the server, as long as these transactions have not been reported to the server in another way.
16. The system of claim 15, wherein: The server (30) is accessible via a connection to a data network and allows data synchronization with at least one of the electronic devices (20A, 20B) via a computer or a telephone.
17. The system of claim 15, wherein: The dual reader is configured to simultaneously allow contact-based communication with one of the electronic devices and contactless communication with another of the electronic devices.
18. The system of claim 15, wherein: The dual reader (10) or the electronic device (20A, 20B) includes a biometric identification component for identifying a user.
