CN106920095B - Optical authentication offline payment method with hidden message abstract - Google Patents
Optical authentication offline payment method with hidden message abstract Download PDFInfo
- Publication number
- CN106920095B CN106920095B CN201710066515.5A CN201710066515A CN106920095B CN 106920095 B CN106920095 B CN 106920095B CN 201710066515 A CN201710066515 A CN 201710066515A CN 106920095 B CN106920095 B CN 106920095B
- Authority
- CN
- China
- Prior art keywords
- code
- payment
- module
- collection
- visible light
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000003287 optical effect Effects 0.000 title claims abstract description 71
- 238000000034 method Methods 0.000 title claims abstract description 64
- 230000008569 process Effects 0.000 claims abstract description 47
- 238000004891 communication Methods 0.000 claims abstract description 22
- 238000005286 illumination Methods 0.000 claims abstract description 6
- 230000004044 response Effects 0.000 claims description 89
- 238000012790 confirmation Methods 0.000 claims description 82
- 101100524550 Arabidopsis thaliana RGI4 gene Proteins 0.000 claims description 15
- 101100428743 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) VPS5 gene Proteins 0.000 claims description 15
- 238000012795 verification Methods 0.000 claims description 14
- 238000013475 authorization Methods 0.000 claims description 12
- 230000000052 comparative effect Effects 0.000 claims description 12
- 238000010200 validation analysis Methods 0.000 claims description 12
- 238000012545 processing Methods 0.000 claims description 11
- 101100256921 Ajellomyces capsulatus SID3 gene Proteins 0.000 claims description 9
- 101000759174 Homo sapiens Zinc finger RNA-binding protein Proteins 0.000 claims description 9
- 101100366400 Schizosaccharomyces pombe (strain 972 / ATCC 24843) spg1 gene Proteins 0.000 claims description 9
- 102100023406 Zinc finger RNA-binding protein Human genes 0.000 claims description 9
- 239000000284 extract Substances 0.000 claims description 9
- 101100365745 Ajellomyces capsulatus SID5 gene Proteins 0.000 claims description 6
- 238000004519 manufacturing process Methods 0.000 claims description 6
- 230000008520 organization Effects 0.000 claims description 6
- 101150096768 sid4 gene Proteins 0.000 claims description 6
- 238000004364 calculation method Methods 0.000 claims description 5
- 101000840469 Arabidopsis thaliana Isochorismate synthase 1, chloroplastic Proteins 0.000 claims description 3
- 230000003993 interaction Effects 0.000 claims description 3
- 238000012423 maintenance Methods 0.000 claims description 3
- 230000006855 networking Effects 0.000 claims description 3
- 238000004321 preservation Methods 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 abstract description 10
- 230000005540 biological transmission Effects 0.000 abstract description 3
- 238000010586 diagram Methods 0.000 description 2
- 239000004973 liquid crystal related substance Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3823—Payment protocols; Details thereof insuring higher security of transaction combining multiple encryption tools for a transaction
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/08—Payment architectures
- G06Q20/16—Payments settled via telecommunication systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/36—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes
- G06Q20/367—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes
- G06Q20/3674—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using electronic wallets or electronic money safes involving electronic purses or money safes involving authentication
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Engineering & Computer Science (AREA)
- Finance (AREA)
- Physics & Mathematics (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
- Cash Registers Or Receiving Machines (AREA)
Abstract
The invention discloses a light authentication offline payment method with a hidden message abstract. Establishing a set of optical authentication fast off-line consumption device with a hidden channel, comprising: electronic purses, consumer machines, and servers; on the premise of combining the visible light communication technology and the bar code scanning and identifying technology, a visible light signal receiving and sending device, a bar code display device and a scanning device which are equipped with a consumer and an electronic wallet are adopted to form an information communication channel, a hidden channel for information transmission is constructed by using the illumination backlight of a bar code and a display device of other prompt information, a message abstract algorithm technology is introduced in the payment process, the hidden channel is used for transmitting a message abstract, the visible light signal and the bar code scanning and identifying mode are used for mutual authentication in the payment process, meanwhile, the integrity and non-repudiation of information are improved by means of the hidden transmitted message abstract, and the off-line payment process is safer and more reliable.
Description
Technical Field
The invention belongs to the technical field of optical payment, and particularly relates to an optical authentication offline payment method with a hidden message digest.
Background
Visible Light Communication (VLC) technology. The VLC technology is a method for realizing wireless communication by utilizing the characteristics that an LED can emit high-frequency flicker and light flicker which cannot be sensed by human eyes, carrying signals by the high-frequency flicker of the LED at a data sending end and collecting the signals by a photosensitive element with the same quick response time at a receiving end.
The traditional cashless transaction means is online transaction, and the original magnetic card system is a typical online transaction system. The off-line payment is a transaction payment means carried out when the communication of network, GPRS, 3G, 4G and the like is interrupted, and RFID and NFC are common off-line payment methods at present.
The code scanning is a popular information acquisition mode at present, and the code scanning payment is an on-line payment mode developed on the basis of a code scanning technology and technologies such as WeChat and Paibao. However, the payment means belonging to the code scanning payment is still an online payment method which cannot be separated from the network, and the method cannot solve the problem that the payment cannot be realized due to the interruption of network communication like offline payment.
The code of the code scanning is usually a dynamically variable code which needs to be displayed on a display screen, and the existing liquid crystal screen and LED screen are required to provide backlight illumination which is a good carrier for visible light communication. The illumination backlight is an information carrier which is easy to ignore, is used as a transmission carrier of a hidden signal, is applied to the field of optical payment, can provide a hidden channel, and improves the safety of a payment link.
Message digest algorithm a branch of cryptographic algorithm is very important, it usually realizes the functions of data signature, data integrity check, etc. by extracting fingerprint information from all data, and sometimes it is used as the encryption of sensitive information because of its irreversibility. The message digest algorithm is an algorithm for generating pseudorandom input with fixed length by softening input with any length, and is mainly characterized in that a secret key is not needed in the encryption process, encrypted data cannot be decrypted, and the same ciphertext can be obtained only by inputting the same plaintext data and passing through the same message digest algorithm. The message digest algorithm does not have the problem of key management and distribution.
The invention is inspired by the technical modes, utilizes the standard configurations of the camera, the flash lamp and the ambient light sensing module which are almost modern smart phones and tablet computers, adds a message summarization algorithm, and jointly constructs a safe and hidden off-line payment method, so that people can easily shop and consume as long as carrying the mobile phones and the tablet computers.
Disclosure of Invention
The invention aims to provide a light authentication offline payment method with a hidden message digest.
The method comprises the following specific steps:
(1) establishing a set of optical authentication fast off-line consumption device with a hidden channel, comprising: electronic purses, consumer machines, and servers.
An electronic wallet, comprising: the wallet comprises a visible light emitting module, a bar code scanning module, a control module, a wallet module, an input module, a display module, a data interface and a wallet light receiving module; the visible light emitting module is used for generating and sending visible light signals according to the information input by the control module; the bar code scanning module is used for scanning and identifying bar codes and outputting an identification result to the control module; a control module to: 1. processing information to be sent to generate a data packet, outputting the data packet to a visible light emitting module, and driving the visible light emitting module to send a visible light signal; 2. receiving the scanning result output of the bar code scanning module, and verifying the scanning result; 3. receiving the result output of the wallet light receiving module, and identifying and authenticating the result output; 4. generating information needing to pass through the visible light emitting module according to the received information and the generated payment information; 5. the wallet module carries out consumption, recharging, balance inquiry and operation log information reading and writing operations; 6. the data interaction can be carried out with the server through the data interface; a wallet module for holding a wallet comprising: user account information, wallet balance, consumption authority, inquiry password, payment password, operation log and information of a production issuing organization; the input password can be verified to be consistent with the password stored in the wallet password module; the input module is used for inputting information including payment amount, inquiry passwords, payment passwords and operation instructions to the control module; the display module is used for displaying payment amount, a password input interface, an operation instruction and prompt information; the data interface is used for providing a networking function of the electronic wallet and providing functions of connecting with the server and performing data exchange, data maintenance and upgrading; and the wallet light receiving module is used for receiving the visible light backlight signal sent by the backlight module.
A consumer machine, comprising: the system comprises a visible light receiving module, a bar code display module, a read-write control module, a cash register module, a keyboard module, a communication module and a backlight module; the visible light receiving module is used for receiving the visible light signals, processing and restoring the visible light signals into corresponding digital signals and restoring the digital signals into data packets; a barcode display module for: 1. generating and displaying a bar code according to the input information of the read-write control module; 2. displaying the transaction amount, a password input interface, an operation instruction and prompt information; a read-write control module for: 1. receiving the output of the visible light receiving module, and identifying and authenticating the output; 2. processing information to be sent and outputting the information to a bar code display module; 3. processing information to be sent in an optical signal form, generating a data packet, outputting the data packet to a backlight module, and driving the backlight module to send a visible light signal; 4. the cash box module is used for performing consumption, recharging, balance inquiry and operation log information reading and writing operations; 5. providing a data interface, and uploading and downloading information with a server through a communication module; receive cash box module for save including: operation log, collection consumption authority, blacklist, cash balance, operation password, validity period and production and issuing organization; the keyboard module is used for inputting transaction amount, transaction password and operation instruction to the read-write control module; the communication module is used for connecting the upper computer or the access network in a wired or wireless mode so as to be connected with the server; the backlight module is used for providing displayed illumination backlight for the bar code display module and sending visible light backlight signals by utilizing the backlight;
a server to: 1. establishing data connection for uploading and downloading with the consumer computer through the communication module; 2. establishing data connection for uploading and downloading with the electronic wallet through a data interface; 3. providing background service support of the offline payment method; 4. providing an interface for the entire offline payment device to flow funds with the financial system; 5. providing for issuing or de-authorizing a consumer machine, e-wallet, comprising: key updating, algorithm updating and upgrading, use authority adjustment, validity period adjustment, electronic wallet recharging, consumer payment, electronic wallet and consumer public information inquiry; 6. the preservation comprises the following steps: information including an authorized user list, a blacklist, an operation log summary and a consumer list.
An authorized user list for maintaining a list comprising: identity of the electronic purse that has been authorized to make offline payments, usage rights, expiration date, identity information of the electronic purse holder; the blacklist is used for storing the identity identification information of the part of the electronic wallets which are refused to pay for the transaction due to arrearage, loss report and illegal use records in the authorized user list; a payment interface for providing an interface for funds flow throughout the offline payment device with the financial system; the operation log summarization is used for storing information including query, recharge, consumption operation time, payment amount and payment process data parameters of all the consumption machines and the electronic wallets; a consumer machine manifest for maintaining a list comprising: identity, usage right, validity period, identity information of the consumer machine holder, which has been authorized to perform offline payment transactions; the server is used for issuing authority to the equipment comprising the module of the consumer machine and the function thereof, so that the equipment has the function of receiving the electronic wallet in the device for payment; the server is used for issuing authority to the equipment comprising the module and the function of the electronic wallet, so that the electronic wallet has the function of paying to a consumption machine in the device; meanwhile, the server issues an authorization to the user, wherein the authorization mode is to issue an authorization entity hardware device or to provide an authorization number for the user of the existing device; and recharging the equipment, and writing the electronic wallet identity, the use authority, the validity period, the payment password and the inquiry password of the electronic wallet and the identity information of the electronic wallet holder.
(2) In the optical authentication fast offline consumption device with the hidden channel established in the step (1), payment is initiated to a consumption machine by an electronic wallet, and the payment process comprises the following steps:
ZF1, the wallet generates a payment request code QQM1, the payment request code QQM1 includes: the electronic wallet identity QID1, the payment random code QRD1 and the payment amount ZFR1, and the visible light emitting module sends the payment request code QQM1 to the consumer machine in a visible light signal mode.
ZF2, the consumer machine receives the payment request code QQM2 in the form of visible light signal through the visible light receiving module, and extracts the electronic wallet identity QID2, the payment random code QRD2 and the payment amount ZFR 2; the consumer computer generates a response random code YDR2 and an optical random code GRD2, obtains a collection response code SKYD2 through calculation according to a payment request code QQM2, the response random code YDR2 and the optical random code GRD2, and generates a collection code SKM2, wherein the collection code SKM2 comprises: the payment amount is SJR2, the consumer identity SID2, the collection response code SKYD2, the payment request code QQM2 and the payment random code QRD 2.
ZF2.1, the consumer computer generates a bar code from the collection code SKM2, and the bar code is displayed through a bar code display module; and the collection code SKM2 is converted into a message digest zySKM2 by adopting a message digest algorithm, a response random code YDR2 and a light random code GRD2, and the light random code GRD2 and the message digest zySKM2 are sent out to the electronic wallet in a visible light signal mode through a backlight module.
ZF3, scanning the bar code displayed by the bar code display module of the consumer by the electronic purse to obtain a collection code SKM3, and receiving the optical random code GRD3 and the message abstract zySKM3 by the electronic purse through a purse optical receiving module; extracting collection amount SJR3, consumer identity identification SID3, collection response code SKYD3 and payment random code QRD3 from collection code SKM 3; calculating according to a collection response code SKYD3, a response random code YDR3 and an optical random code GRD3 to obtain a payment request code QQM3 and a response random code YDR 3; then, the collection code SKM3 is converted into a message digest zySKM30 by using a message digest algorithm, the response random code YDR3 and the optical random code GRD 3.
ZF3.1, the following comparative validation was performed:
1) the message digest zySKM3 is received in the message digests zySKM30 and ZF3 generated by the electronic wallet in ZF3.
2) And the payment amount ZFR1 and ZF3 generated by the electronic wallet in the ZF1 is received and extracted from the collection code to obtain SJR 3.
3) The payment random code QRD3 received and extracted from the payment collection code in the payment random codes QRD1 and ZF3 generated by the electronic purse in ZF 1.
4) Payment request codes QQM1 generated by the electronic wallet in ZF1 and payment request codes QQM3 obtained by operation in ZF3.
If the two are inconsistent, the payment process is quitted, and prompt information of wrong payment request is displayed on the display module; if they are consistent, ZF3.2 is entered.
ZF3.2, the electronic wallet calculates a payment confirmation code FKQR3 and generates a payment code ZFM3 according to a collection amount SJR3, a consumer identity SID3, a collection response code SKYD3, a payment random code QRD3, a collection response code SKYD3, a response random code YDR3 and an optical random code GRD3 extracted from a collection code SKM3, wherein the payment code ZFM3 comprises a collection code SKM3, an electronic wallet identity FID1, a payment amount FJR1 and a payment confirmation code FKQR3, and the payment code ZFM3 is sent out by a visible light emitting module in a form of visible light signals.
ZF4, the consumer machine receives a signal in a visible light signal form through a visible light receiving module to obtain a payment code ZFM4, extracts a collection code SKM4, an electronic wallet identity QID4, a payment amount FJR4 and a payment confirmation code FKQR4 from the payment code ZFM4, and extracts a collection amount SJR4, a consumer machine identity SID4, a collection response code SKYD4, a collection amount SJR3 and a payment random code QRD4 from SKM 4; the payment confirmation code FKQR4 is used for calculating and obtaining a collection response code SKYD4, a response random code YDR4 and an optical random code GRD 4.
ZF4.1, comparative validation was performed with at least the following:
1) and comparing the collected code SKM4 extracted from the collected response code SKM2 and ZF4 obtained by ZF2 operation.
2) The response random code YDR4 extracted from SKM4 out of the response random codes YDR4 and ZF4 generated in ZF2 is compared.
3) The optical random code GRD4 extracted from SKM4 out of the optical random codes GRD2 and ZF4 generated in ZF2 was compared.
4) The wallet identity QID2 extracted from ZFM4 in ZF2 and ZF4 were compared to the wallet identity QID4 extracted from ZFM 4.
5) And comparing the payment amount FJR2 obtained in the ZF2 with the collection amount SJR2 extracted from the ZFM4 in the ZF4 to obtain a collection amount SJR 4.
6) The payment random code QRD4 extracted from ZFM4 in the payment random code QRD2 and ZF4 obtained in ZF2 is compared.
If the 6 contrasts are respectively consistent, entering ZF 4.2; otherwise, the payment process is quitted, and prompt information of error verification is displayed on the bar code display module.
ZF4.2, the consumer generates an optical confirmation code GQR4, and calculates according to the electronic wallet identity QID4, the payment amount FJR4, the consumer identity SID4, the collection response code SKYD4, the response random code YDR4, the optical confirmation code GQR4 and the payment random code QRD4 to obtain the collection confirmation code SKQR 4; and the payment confirmation code SKQR4 is converted into a message digest zySKQR4 by adopting a message digest algorithm, the response random code YDR4 and the light confirmation code GQR 4.
ZF4.3, the consumer machine generates a bar code from the collection confirmation code SKQR4, and the bar code is displayed through a bar code display module; and the light confirmation code GQR4 and the message digest zySKQR4 are sent out to the electronic wallet in a visible light signal mode through a backlight module.
ZF5, the electronic purse scans the bar code displayed by the bar code display module of the consumer computer to obtain the collection confirmation code SKQR5, and the electronic purse utilizes the purse light receiving module to receive the light confirmation code GQR5 and the message abstract zySKQR 5; and calculating according to the optical confirmation code GQR5 and the payment confirmation code SKQR5 to obtain an electronic wallet identity QID5, a payment amount FJR5, a consumer identity SID5, a payment response code SKYD5, a response random code YDR5 and a payment random code QRD 5.
And then the payment confirmation code SKQR5 is converted into a message digest zySKQR50 by applying a message digest algorithm, the response random code YDR4 and the optical confirmation code GQR 4.
ZF5.1, comparative validation was performed with at least the following:
1) the message digest zySKQR50 generated by the electronic wallet in ZF5 and the received message digest zySKQR5 in ZF5 are compared.
2) The payment amount FJR1 generated by ZF1 and the payment amount FJR5 calculated from ZF5 are compared.
3) Comparing the payment random code QRD1 generated by ZF1 with the payment random code QRD5 obtained by operation from ZF5.
4) And comparing the consumer identity SID3 obtained by ZF3 with the consumer identity SID5 obtained by operation from ZF5.
5) Comparing the collection response code SKYD3 generated by ZF3 with the collection response code SKYD5 calculated from ZF5.
6) The response random code YDR3 generated by ZF3 and the response random code YDR5 calculated from ZF5 are compared.
7) The wallet id QID1 is compared with the wallet id QID5 calculated from ZF5.
If the comparison is inconsistent, the payment process is quitted, and prompt information of verification errors is displayed on the display module; if consistent, ZF5.2 is entered.
ZF5.2, the electronic wallet generates a collection completion code SKWC5 according to the optical confirmation code GQR5 and the collection confirmation code SKQR5, and then sends the collection completion code SKWC5 in a visible light signal form to the visible light emitting module.
ZF5.3, updating the wallet balance of the wallet module, generating an operation log by using the operation time SJ, the optical confirmation code GQR5, the money collection confirmation code SKQR5 and the generated money collection completion code SKWC5, and displaying the prompt information of successful payment through the display module.
ZF6, the consumer machine receives the visible light signal sent by the electronic wallet through the visible light receiving module to obtain the collection completion code SKWC6, and then obtains the optical confirmation code GQR6 and the collection confirmation code SKQR6, and then enters ZF6.1 for verification.
ZF6.1, comparative validation was performed with at least the following:
1) the payee confirmation code SKQR4 obtained by ZF4.2 operation and the payee confirmation code SKQR6 obtained by ZF6 are compared.
2) The optical confirmation code GQR4 generated in ZF4.2 and the optical confirmation code GQR6 obtained in ZF6 are compared.
If the 2 contrasts are respectively consistent, entering ZF 6.2; otherwise, the payment process is quitted, the prompt message of error verification is displayed on the bar code display module, and the system enters ZF 6.3.
And ZF6.2, writing the operation time SJ, the electronic wallet identity FID7 and the collection completion code SKWC6 into the collection box module, generating an operation log, updating the balance information of the collection box module, and displaying prompt information of successful collection through the bar code display module.
And ZF6.3, writing the operation time SJ, the electronic wallet identity FID7 and the collection completion code SKWC6 into the collection box module, generating recheck information, uploading the recheck information of the payment when the consumer computer is waited to be connected with the server, and confirming whether the payment is in a problem or not by the server.
(3) In the payment process, the data sent by the consumer machine is received from the electronic wallet, and the data sent by the electronic wallet is received from the consumer machine, so that the possibility that the data cannot be identified exists in the transceiving process, and therefore, in the payment process, for the situation that the data cannot be identified and cannot be identified due to the fact that the data cannot be received, the device unilaterally ends the payment process after a set waiting time is overtime.
In the payment process, the data sent from the electronic wallet to the consumer machine and the data sent from the consumer machine to the electronic wallet may have risks of data loss, tampering and forgery in the transceiving process, so in the payment process, for each received key data, it is assumed that the currently received data is different from the data generated or received in the previous steps of the payment process, and comparison and verification are required, thereby ensuring the authenticity and integrity of the transceiving data.
The invention is based on the premise of combining the visible light communication technology and the bar code scanning identification technology, and utilizes the illumination backlight of a display device of bar codes and other prompt information to construct a hidden channel, introduces the message abstract algorithm technology, and utilizes the hidden channel to transmit the message abstract, thereby further improving the integrity of payment transmission data and the safety of the payment process, and further providing the optical authentication offline payment method with the hidden message abstract.
Drawings
FIG. 1 is a schematic diagram of the structure of the process of the present invention.
Fig. 2 is a block diagram of an apparatus in an embodiment of the present invention.
The labels in the figure are: 1-an electronic wallet; 2-a consumer machine; 3-a server; 11-a control module; 12-an input module; 13-a display module; 14-a data interface; 15-a barcode scanning module; 16-a wallet module; 17-a visible light emitting module; 18-a wallet light receiving module; 21-read-write control module; 22-a barcode display module; 23-cash register box module; 24-a visible light receiving module; 25-a keyboard module; 26-a backlight module; 27-a communication module.
Detailed Description
Example (b):
the invention discloses a light authentication offline payment method with a hidden message abstract, which comprises the following specific implementation steps:
establishing a set of optical authentication offline consumption device with a hidden channel, comprising: an electronic wallet 1, a consumer machine 2 and a server 3.
And the visible light emitting module 17 is used for generating and sending a visible light signal according to the information input by the control module 11.
And the bar code scanning module 15 is used for scanning and identifying a bar code and outputting an identification result to the control module 11.
A control module 11 for: 1. processing information to be sent to generate a data packet, outputting the data packet to the visible light emitting module 17, and driving the visible light emitting module 17 to send a visible light signal; 2. receiving the scanning result output of the bar code scanning module 15, and verifying the scanning result; 3. the wallet module 16 performs consumption, recharging, balance inquiry and operation log information reading and writing operations; 4. generating information to be transmitted through the visible light emitting module 17 according to the received information and the generated payment information; 5. data interaction with the server 3 can be carried out through the data interface 14; 6. and receiving the result output of the wallet light receiving module 18, and identifying and authenticating the result.
A wallet module 16 for holding a wallet comprising: user account information, wallet balance, consumption authority, inquiry password, payment password, operation log and information of a production issuing organization; and can verify whether the input password is consistent with the password stored in the wallet password module; the module is realized by using a sim card of a mobile phone.
And the input module 12 is used for inputting payment amount, inquiry password, payment password and operation instruction to the control module 11.
And the display module 13 is used for displaying payment amount, a password input interface, an operation instruction and prompt information.
And the data interface 14 is used for providing networking functions of the electronic wallet 1, and providing functions of connecting with the server 3 and performing data exchange, data maintenance and upgrading.
The wallet light receiving module 18 is configured to receive the visible light backlight signal sent by the backlight module 26.
The electronic wallet 1 is implemented by a smart phone equipped with a flash, a photoelectric sensor, and a camera.
The wallet module 16 is implemented using a cell phone sim card.
And the visible light receiving module 24 is configured to receive the visible light signal, process and restore the visible light signal to a corresponding digital signal, and restore the digital signal to a data packet.
The bar code display module 22 is used for 1, generating and displaying a bar code according to the input information of the read-write control module 21; 2. and displaying the transaction amount, the password input interface, the operation instruction and the prompt information.
A read-write control module 21, configured to: 1. receiving the output of the visible light receiving module 24 and authenticating the output; 2. processing the information to be sent and outputting the information to the bar code display module 22; 3. the cashier box module 23 is used for consuming, recharging, inquiring balance and reading and writing operation of operation log information; 4. providing a communication interface, and uploading and downloading information with the server 3 through the communication module 27; 5. the information to be transmitted in the form of optical signals is processed to generate a data packet, and the data packet is output to the backlight module 26 to drive the backlight module 26 to transmit visible light signals.
A cash box module 23 for holding including: operation log, collection consumption authority, blacklist, cash balance, operation password, validity period and production and issuing organization.
And the keyboard module 25 is used for inputting the transaction amount, the transaction password and the operation instruction to the read-write control module 21.
And the communication module 27 is used for connecting the upper computer or the access network in a wired or wireless mode so as to be connected with the server.
And the backlight module 26 is used for providing an illuminating backlight for the bar code display module 22 to display, and simultaneously sending a visible light backlight signal by using the backlight.
A server 3 for: 1. establishing data connection for uploading and downloading with the consumption machine 2 through the communication module 27; 2. establishing data connection for uploading and downloading with the electronic wallet 1 through the data interface 14; 3. providing background service support of the offline payment method; 4. providing an interface for the entire offline payment device to flow funds with the financial system; 5. issuing or de-authorizing the consumer machine 2, the electronic wallet 1, the providing comprising: key updating, algorithm updating and upgrading, use authority adjustment, validity period adjustment, electronic wallet recharging, consumer payment, electronic wallet and consumer public information inquiry; 6. the preservation comprises the following steps: information including an authorized user list, a blacklist, an operation log, a list of consumer machines.
An authorized user list for maintaining a list comprising: identification of electronic purse that has been authorized to make off-line payment, usage rights, expiration date, identity information of electronic purse holder.
And the blacklist is used for storing the identification information of the part of the electronic wallets which are refused to pay for the transaction due to arrearage, loss report and illegal use records in the authorized user list.
And the payment interface is used for providing an interface for the whole offline payment device to flow funds with the financial system.
And the operation log collection is used for storing information including inquiry, recharging and consumption operation time, payment amount and payment process data parameters of all the consumption machines and the electronic wallets.
And the consumer machine list is used for storing the information, the use authority and the validity period of the consumer machine terminal which is authorized to carry out the off-line payment transaction.
The issuing process of the electronic wallet comprises the following steps: the server issues an authorization to the user, and the authorization mode can be to issue an authorization entity hardware device or to provide an authorization number for the existing device equipped with the invention; and recharging the equipment, and writing the electronic wallet identity, the use authority, the validity period, the payment password and the inquiry password of the electronic wallet and the identity information of the electronic wallet holder.
In the above arrangement, payment is initiated by the e-wallet 1 to the consumer machine 3, the payment process including the steps of:
ZF1, wallet 1 generates a payment request code QQM1, payment request code QQM1 includes: the electronic purse identity QID1, the payment random code QRD1, the payment amount ZFR1, and the visible light emitting module 17 sends the payment request code QQM1 to the consumer machine 2 by means of a visible light signal.
ZF2, the consumer machine 2 receives the payment request code QQM2 in the form of visible light signal through the visible light receiving module 24, and extracts the electronic wallet identity QID2, the payment random code QRD2 and the payment amount ZFR 2; the consumer machine 2 generates a response random code YDR2 and an optical random code GRD2, obtains a collection response code SKYD2 through calculation according to a payment request code QQM2, the response random code YDR2 and the optical random code GRD2, and generates a collection code SKM2, wherein the collection code SKM2 comprises: the payment amount is SJR2, the consumer identity SID2, the collection response code SKYD2, the payment request code QQM2 and the payment random code QRD 2.
ZF2.1, the consumer machine 2 generates a bar code from the collection code SKM2 and displays the bar code through the bar code display module 22; the collection code SKM2 is converted into a message digest zySKM2 by adopting a message digest algorithm, a response random code YDR2 and a light random code GRD2, and the light random code GRD2 and the message digest zySKM2 are sent out to the electronic wallet 1 in a visible light signal mode through a backlight module 26.
ZF3, scanning the bar code displayed by the bar code display module 22 of the consumer machine 2 by the electronic wallet 1 to obtain a collection code SKM3, and receiving the optical random code GRD3 and the message abstract zySKM3 by the electronic wallet 1 by using a wallet optical receiving module; extracting collection amount SJR3, consumer identity identification SID3, collection response code SKYD3 and payment random code QRD3 from collection code SKM 3; calculating according to a collection response code SKYD3, a response random code YDR3 and an optical random code GRD3 to obtain a payment request code QQM3 and a response random code YDR 3; then, the collection code SKM3 is converted into a message digest zySKM30 by using a message digest algorithm, the response random code YDR3 and the optical random code GRD 3.
ZF3.1, the following comparative validation was performed:
1) the message digest zySKM3 is received in the message digests zySKM30 and ZF3 generated by the electronic wallet 1 in ZF3.
2) And the payment amount ZFR1 and ZF3 generated by the electronic wallet 1 in the ZF1 is received and extracted from the collection code to obtain SJR 3.
3) The payment random code QRD3 received and extracted from the payment random codes QRD1 and ZF3 generated by the electronic purse 1 in ZF 1.
4) The payment request code QQM1 generated by the electronic wallet 1 in ZF1 and the payment request code QQM3 obtained by operation in ZF3.
If the two are inconsistent, the payment process is quitted, and prompt information of wrong payment request is displayed on the display module 13; if they are consistent, ZF3.2 is entered.
ZF3.2, the electronic wallet 1 calculates a payment confirmation code FKQR3 and generates a payment code ZFM3 according to a collection amount SJR3, a consumer identity SID3, a collection response code SKYD3, a payment random code QRD3, a collection response code SKYD3, a response random code YDR3 and an optical random code GRD3 extracted from a collection code SKM3, the payment confirmation code FKQR3 comprises a collection code SKM3, an electronic wallet identity FID1, a payment amount FJR1 and a payment confirmation code QR3, and the payment code ZFM3 is sent out by the visible light emitting module 17 in a visible light signal mode.
ZF4, the consumer machine 2 receives the signal in the form of visible light signal through the visible light receiving module 24 to obtain a payment code ZFM4, extracts a collection code SKM4, an electronic wallet identity QID4, a payment amount FJR4 and a payment confirmation code FKQR4 from the payment code ZFM4, and extracts a collection amount SJR4, a consumer machine identity SID4, a collection response code SKYD4, a collection amount SJR3 and a payment random code QRD4 from SKM 4; the payment confirmation code FKQR4 is used for calculating and obtaining a collection response code SKYD4, a response random code YDR4 and an optical random code GRD 4.
ZF4.1, comparative validation was performed with at least the following:
1) and comparing the collected code SKM4 extracted from the collected response code SKM2 and ZF4 obtained by ZF2 operation.
2) The response random code YDR4 extracted from SKM4 out of the response random codes YDR4 and ZF4 generated in ZF2 is compared.
3) The optical random code GRD4 extracted from SKM4 out of the optical random codes GRD2 and ZF4 generated in ZF2 was compared.
4) The wallet identity QID2 extracted from ZFM4 in ZF2 and ZF4 were compared to the wallet identity QID4 extracted from ZFM 4.
5) And comparing the payment amount FJR2 obtained in the ZF2 with the collection amount SJR2 extracted from the ZFM4 in the ZF4 to obtain a collection amount SJR 4.
6) The payment random code QRD4 extracted from ZFM4 in the payment random code QRD2 and ZF4 obtained in ZF2 is compared.
If the 6 contrasts are respectively consistent, entering ZF 4.2; otherwise, the payment process is quitted, and prompt information of error verification is displayed on the bar code display module.
ZF4.2, the consumer machine 2 generates an optical confirmation code GQR4, and calculates according to the electronic wallet identity QID4, the payment amount FJR4, the consumer machine identity SID4, the collection response code SKYD4, the response random code YDR4, the optical confirmation code GQR4 and the payment random code QRD4 to obtain a collection confirmation code SKQR 4; and the payment confirmation code SKQR4 is converted into a message digest zySKQR4 by adopting a message digest algorithm, the response random code YDR4 and the light confirmation code GQR 4.
ZF4.3, the consumer machine 2 generates a bar code from the collection confirmation code SKQR4 and displays the bar code through the bar code display module 22; and the light confirmation code GQR4 and the message digest zySKQR4 are sent out to the electronic wallet 1 by means of visible light signals through the backlight module 26.
ZF5, the electronic wallet 1 scans the barcode displayed by the barcode display module 22 of the consumer machine 2 to obtain the collection confirmation code SKQR5, and the electronic wallet receives the light confirmation code GQR5 and the message digest zySKQR5 by using the wallet light receiving module 24; and calculating according to the optical confirmation code GQR5 and the payment confirmation code SKQR5 to obtain an electronic wallet identity QID5, a payment amount FJR5, a consumer identity SID5, a payment response code SKYD5, a response random code YDR5 and a payment random code QRD 5.
And then the payment confirmation code SKQR5 is converted into a message digest zySKQR50 by applying a message digest algorithm, the response random code YDR4 and the optical confirmation code GQR 4.
ZF5.1, comparative validation was performed with at least the following:
1) the received message digest zySKQR5 in ZF5 and the message digest zySKQR50 generated by the electronic wallet 1 in ZF5 are compared.
2) The payment amount FJR1 generated by ZF1 and the payment amount FJR5 calculated from ZF5 are compared.
3) Comparing the payment random code QRD1 generated by ZF1 with the payment random code QRD5 obtained by operation from ZF5.
4) And comparing the consumer identity SID3 obtained by ZF3 with the consumer identity SID5 obtained by operation from ZF5.
5) Comparing the collection response code SKYD3 generated by ZF3 with the collection response code SKYD5 calculated from ZF5.
6) The response random code YDR3 generated by ZF3 and the response random code YDR5 calculated from ZF5 are compared.
7) The wallet id QID1 is compared with the wallet id QID5 calculated from ZF5.
If the comparison is inconsistent, the payment process is quitted, and prompt information of verification errors is displayed on the display module 13; if consistent, ZF5.2 is entered.
ZF5.2, the electronic wallet 1 generates a collection completion code SKWC5 according to the optical confirmation code GQR5 and the collection confirmation code SKQR5, and then sends the collection completion code SKWC5 in the form of a visible light signal by the visible light emitting module 17.
ZF5.3, updates the wallet balance of the wallet module 16, generates an operation log using the operation time SJ, the optical confirmation code GQR5, the receipt confirmation code SKQR5, and the generated receipt completion code SKWC5, and displays a prompt message of successful payment through the display module 13.
In ZF6, the consumer apparatus 2 receives the visible light signal from the electronic wallet 1 through the visible light receiving module 24 to obtain the collection completion code SKWC6, and then obtains the optical confirmation code GQR6 and the collection confirmation code SKQR6, and then enters ZF6.1 for verification.
ZF6.1, comparative validation was performed with at least the following:
1) the payee confirmation code SKQR4 obtained by ZF4.2 operation and the payee confirmation code SKQR6 obtained by ZF6 are compared.
2) The optical confirmation code GQR4 generated in ZF4.2 and the optical confirmation code GQR6 obtained in ZF6 are compared.
If the 2 contrasts are respectively consistent, entering ZF 6.2; otherwise, the payment process is quitted, the prompt message of error verification is displayed on the bar code display module, and the system enters ZF 6.3.
And ZF6.2, writing the operation time SJ, the electronic wallet identity FID7 and the money collection completion code SKWC6 into the money collection box module 23, generating an operation log, updating the balance information of the money collection box module 23, and displaying the prompt information of successful money collection through the bar code display module 22.
ZF6.3, writing the operation time SJ, the electronic wallet id FID7, and the collection completion code SKWC6 into the collection box module 23, generating rechecking information, uploading the rechecking information of the payment when the consumer machine 2 is connected to the server 3, and determining whether the payment is in question by the server 3.
In the payment process, the data sent by the consumer machine 2 from the electronic wallet 1 and the data sent by the electronic wallet 1 from the consumer machine 2 may be unidentifiable in the transceiving process, so in the payment process, for the unidentifiable data and the unidentifiable situation caused by the unidentifiable data being unidentifiable, the device may unilaterally end the payment process after a set waiting time is overtime.
Claims (1)
1. A light authentication offline payment method with hidden message abstract is characterized by comprising the following specific steps:
(1) establishing a set of optical authentication fast off-line consumption device with a hidden channel, comprising: electronic purses, consumer machines, and servers;
an electronic wallet, comprising: the wallet comprises a visible light emitting module, a bar code scanning module, a control module, a wallet module, an input module, a display module, a data interface and a wallet light receiving module; the visible light emitting module is used for generating and sending visible light signals according to the information input by the control module; the bar code scanning module is used for scanning and identifying bar codes and outputting an identification result to the control module; a control module to: 1. processing information to be sent to generate a data packet, outputting the data packet to a visible light emitting module, and driving the visible light emitting module to send a visible light signal; 2. receiving the scanning result output of the bar code scanning module, and verifying the scanning result; 3. receiving the result output of the wallet light receiving module, and identifying and authenticating the result output; 4. generating information needing to pass through the visible light emitting module according to the received information and the generated payment information; 5. the wallet module carries out consumption, recharging, balance inquiry and operation log information reading and writing operations; 6. the data interaction can be carried out with the server through the data interface; a wallet module for holding a wallet comprising: user account information, wallet balance, consumption authority, inquiry password, payment password, operation log and information of a production issuing organization; the input password can be verified to be consistent with the password stored in the wallet password module; the input module is used for inputting information including payment amount, inquiry passwords, payment passwords and operation instructions to the control module; the display module is used for displaying payment amount, a password input interface, an operation instruction and prompt information; the data interface is used for providing a networking function of the electronic wallet and providing functions of connecting with the server and performing data exchange, data maintenance and upgrading; the wallet light receiving module is used for receiving the visible light backlight signal sent by the backlight module;
a consumer machine, comprising: the system comprises a visible light receiving module, a bar code display module, a read-write control module, a cash register module, a keyboard module, a communication module and a backlight module; the visible light receiving module is used for receiving the visible light signals, processing and restoring the visible light signals into corresponding digital signals and restoring the digital signals into data packets; a barcode display module for: 1. generating and displaying a bar code according to the input information of the read-write control module; 2. displaying the transaction amount, a password input interface, an operation instruction and prompt information; a read-write control module for: 1. receiving the output of the visible light receiving module, and identifying and authenticating the output; 2. processing information to be sent and outputting the information to a bar code display module; 3. processing information to be sent in an optical signal form, generating a data packet, outputting the data packet to a backlight module, and driving the backlight module to send a visible light signal; 4. the cash box module is used for performing consumption, recharging, balance inquiry and operation log information reading and writing operations; 5. providing a data interface, and uploading and downloading information with a server through a communication module; receive cash box module for save including: operation log, collection consumption authority, blacklist, cash balance, operation password, validity period and production and issuing organization; the keyboard module is used for inputting transaction amount, transaction password and operation instruction to the read-write control module; the communication module is used for connecting the upper computer or the access network in a wired or wireless mode so as to be connected with the server; the backlight module is used for providing displayed illumination backlight for the bar code display module and sending visible light backlight signals by utilizing the backlight;
a server to: 1. establishing data connection for uploading and downloading with the consumer computer through the communication module; 2. establishing data connection for uploading and downloading with the electronic wallet through a data interface; 3. providing background service support of the offline payment method; 4. providing an interface for the entire offline payment device to flow funds with the financial system; 5. providing for issuing or de-authorizing a consumer machine, e-wallet, comprising: key updating, algorithm updating and upgrading, use authority adjustment, validity period adjustment, electronic wallet recharging, consumer payment, electronic wallet and consumer public information inquiry; 6. the preservation comprises the following steps: information including an authorized user list, a blacklist, an operation log summary and a consumer list;
an authorized user list for maintaining a list comprising: identity of the electronic purse that has been authorized to make offline payments, usage rights, expiration date, identity information of the electronic purse holder; the system comprises a blacklist, a payment interface, a payment processing unit and a financial system, wherein the blacklist is used for storing the identification information of the part of the electronic wallet which is refused to pay the transaction due to arrearage, loss report and illegal use record in an authorized user list; the operation log summarization is used for storing information including query, recharge, consumption operation time, payment amount and payment process data parameters of all the consumption machines and the electronic wallets; a consumer machine manifest for maintaining a list comprising: identity, usage right, validity period, identity information of the consumer machine holder, which has been authorized to perform offline payment transactions; the server is used for issuing authority to the equipment comprising the module of the consumer machine and the function thereof, so that the equipment has the function of receiving the electronic wallet in the device for payment; the server is used for issuing authority to the equipment comprising the module and the function of the electronic wallet, so that the electronic wallet has the function of paying to a consumption machine in the device; meanwhile, the server issues an authorization to the user, wherein the authorization mode is to issue an authorization entity hardware device or to provide an authorization number for the user of the existing device; recharging the equipment, and writing the identity identification, the use authority, the validity period, the payment password and the inquiry password of the electronic wallet and the identity information of the electronic wallet holder;
(2) in the optical authentication fast offline consumption device with the hidden channel established in the step (1), payment is initiated to a consumption machine by an electronic wallet, and the payment process comprises the following steps:
ZF1, the wallet generates a payment request code QQM1, the payment request code QQM1 includes: the electronic wallet identity QID1, the payment random code QRD1 and the payment amount ZFR1 are arranged, and the visible light emitting module sends a payment request code QQM1 to the consumer machine in a visible light signal mode;
ZF2, the consumer machine receives the payment request code QQM2 in the form of visible light signal through the visible light receiving module, and extracts the electronic wallet identity QID2, the payment random code QRD2 and the payment amount ZFR 2; the consumer computer generates a response random code YDR2 and an optical random code GRD2, obtains a collection response code SKYD2 through calculation according to a payment request code QQM2, the response random code YDR2 and the optical random code GRD2, and generates a collection code SKM2, wherein the collection code SKM2 comprises: the payment amount is SJR2, the consumer identity SID2, the collection response code SKYD2, the payment request code QQM2 and the payment random code QRD 2;
ZF2.1, the consumer computer generates a bar code from the collection code SKM2, and the bar code is displayed through a bar code display module; the collection code SKM2 is converted into a message abstract zySKM2 by adopting a message abstract algorithm, a response random code YDR2 and a light random code GRD2, and the light random code GRD2 and the message abstract zySKM2 are sent out to the electronic wallet in a visible light signal mode through a backlight module;
ZF3, scanning the bar code displayed by the bar code display module of the consumer by the electronic purse to obtain a collection code SKM3, and receiving the optical random code GRD3 and the message abstract zySKM3 by the electronic purse through a purse optical receiving module; extracting collection amount SJR3, consumer identity identification SID3, collection response code SKYD3 and payment random code QRD3 from collection code SKM 3; calculating according to a collection response code SKYD3, a response random code YDR3 and an optical random code GRD3 to obtain a payment request code QQM3 and a response random code YDR 3; then, a message digest algorithm, a response random code YDR3 and an optical random code GRD3 are used for converting the collection code SKM3 into a message digest zySKM 30;
ZF3.1, the following comparative validation was performed:
1) receiving a message digest zySKM3 in ZF3 from message digests zySKM30 and ZF3 generated by the electronic wallet;
2) the payment amount ZFR1 and ZF3 generated by the electronic wallet in ZF1 is received and extracted from the collection code to obtain SJR 3;
3) a payment random code QRD3 received from payment random codes QRD1 and ZF3 generated by the electronic purse in ZF1 and extracted from a payment collection code;
4) payment request codes QQM1 generated by the electronic wallet in the ZF1 and payment request codes QQM3 obtained by operation in the ZF 3;
if the two are inconsistent, the payment process is quitted, and prompt information of wrong payment request is displayed on the display module; if the two are consistent, entering ZF 3.2;
ZF3.2, the electronic wallet calculates a payment confirmation code FKQR3 and generates a payment code ZFM3 according to a collection amount SJR3, a consumer identity SID3, a collection response code SKYD3, a payment random code QRD3, a collection response code SKYD3, a response random code YDR3 and an optical random code GRD3 extracted from a collection code SKM3, wherein the payment code ZFM3 comprises a collection code SKM3, an electronic wallet identity FID1, a payment amount FJR1 and a payment confirmation code FKQR3, and then the payment code ZFM3 is sent out by a visible light emitting module in a form of visible light signals;
ZF4, the consumer machine receives a signal in a visible light signal form through a visible light receiving module to obtain a payment code ZFM4, extracts a collection code SKM4, an electronic wallet identity QID4, a payment amount FJR4 and a payment confirmation code FKQR4 from the payment code ZFM4, and extracts a collection amount SJR4, a consumer machine identity SID4, a collection response code SKYD4, a collection amount SJR3 and a payment random code QRD4 from SKM 4; calculating a collection response code SKYD4, a response random code YDR4 and an optical random code GRD4 from the payment confirmation code FKQR 4;
ZF4.1, comparative validation was performed with at least the following:
1) comparing the collected code SKM4 extracted from the collected response code SKM2 and the collected response code ZF4 obtained by ZF2 operation;
2) comparing the response random code YDR4 extracted from SKM4 among the response random codes YDR4 and ZF4 generated in ZF 2;
3) comparing the optical random code GRD4 extracted from SKM4 among the optical random codes GRD2 and ZF4 generated in ZF 2;
4) comparing the electronic wallet identity QID2 extracted from ZFM4 with the electronic wallet identity QID4 extracted from ZF2 and ZF 4;
5) comparing the payment amount FJR2 obtained in the ZF2 with the collection amount SJR2 extracted from the ZFM4 in the ZF4 to obtain a collection amount SJR 4;
6) comparing the payment random code QRD4 extracted from ZFM4 in the payment random code QRD2 and ZF4 obtained in ZF 2;
if the 6 contrasts are respectively consistent, entering ZF 4.2; otherwise, quitting the payment process and displaying prompt information of verification error on the bar code display module;
ZF4.2, the consumer generates an optical confirmation code GQR4, and calculates according to the electronic wallet identity QID4, the payment amount FJR4, the consumer identity SID4, the collection response code SKYD4, the response random code YDR4, the optical confirmation code GQR4 and the payment random code QRD4 to obtain the collection confirmation code SKQR 4; the payment confirmation code SKQR4 is converted into a message digest zySKQR4 by adopting a message digest algorithm, the response random code YDR4 and the light confirmation code GQR 4;
ZF4.3, the consumer machine generates a bar code from the collection confirmation code SKQR4, and the bar code is displayed through a bar code display module; the light confirmation code GQR4 and the message abstract zySKQR4 are sent out to the electronic wallet in a visible light signal mode through a backlight module;
ZF5, the electronic purse scans the bar code displayed by the bar code display module of the consumer computer to obtain the collection confirmation code SKQR5, and the electronic purse utilizes the purse light receiving module to receive the light confirmation code GQR5 and the message abstract zySKQR 5; according to the optical confirmation code GQR5 and the payment confirmation code SKQR5, the electronic wallet identity QID5, the payment amount FJR5, the consumer identity SID5, the payment response code SKYD5, the response random code YDR5 and the payment random code QRD5 are obtained through calculation;
then, the payment confirmation code SKQR5 is converted into a message digest zySKQR50 by applying a message digest algorithm, the response random code YDR4 and the light confirmation code GQR 4;
ZF5.1, comparative validation was performed with at least the following:
1) comparing the message digest zySKQR50 generated by the electronic wallet in ZF5 with the received message digest zySKQR5 in ZF 5;
2) comparing the payment amount FJR1 generated by ZF1 with the payment amount FJR5 obtained by calculation from ZF 5;
3) comparing the payment random code QRD1 generated by ZF1 with the payment random code QRD5 obtained by operation in ZF 5;
4) comparing the consumer identity SID3 obtained by ZF3 with the consumer identity SID5 obtained by calculating from ZF 5;
5) comparing a collection response code SKYD3 generated by ZF3 with a collection response code SKYD5 obtained by operation from ZF 5;
6) comparing the response random code YDR3 generated by ZF3 with the response random code YDR5 obtained by operation from ZF 5;
7) comparing the electronic wallet identity QID1 with the electronic wallet identity QID5 obtained by operation in the ZF 5;
if the comparison is inconsistent, the payment process is quitted, and prompt information of verification errors is displayed on the display module; if the two are consistent, entering ZF 5.2;
ZF5.2, the electronic wallet generates a collection completion code SKWC5 according to the optical confirmation code GQR5 and the collection confirmation code SKQR5, and then sends the collection completion code SKWC5 in a visible light signal form out by a visible light emitting module;
ZF5.3, updating the wallet balance of the wallet module, generating an operation log by using the operation time SJ, the optical confirmation code GQR5, the money collection confirmation code SKQR5 and the generated money collection completion code SKWC5, and displaying prompt information of successful payment through a display module;
ZF6, the consumer machine receives the visible light signal sent by the electronic wallet through the visible light receiving module to obtain a collection completion code SKWC6, and obtains an optical confirmation code GQR6 and a collection confirmation code SKQR6 from the collection completion code SKWC6, and then enters ZF6.1 for verification;
ZF6.1, comparative validation was performed with at least the following:
1) comparing the collection confirmation code SKQR4 obtained by ZF4.2 operation with the collection confirmation code SKQR6 obtained in ZF 6;
2) comparing the optical confirmation code GQR4 generated in ZF4.2 with the optical confirmation code GQR6 obtained in ZF 6;
if the 2 contrasts are respectively consistent, entering ZF 6.2; otherwise, the payment process is quitted, prompt information of error verification is displayed on the bar code display module, and the payment process enters ZF 6.3;
ZF6.2, writing the operation time SJ, the electronic wallet identity FID7 and the collection completion code SKWC6 into a collection box module, generating an operation log, updating the balance information of the collection box module, and displaying the prompt information of successful collection through a bar code display module;
ZF6.3, writing the operation time SJ, the electronic wallet identity FID7 and the collection completion code SKWC6 into a collection box module to generate recheck information, uploading the recheck information of the payment when the consumer computer is connected with a server, and confirming whether the payment is in a problem or not by the server;
(3) in the payment process, the data sent by the consumer machine is received from the electronic wallet, and the data sent by the electronic wallet is received from the consumer machine, so that the possibility that the data cannot be identified exists in the transceiving process, and therefore, in the payment process, for the data which cannot be identified and the situation that the data cannot be identified due to the fact that the data cannot be received, the device unilaterally ends the payment process after a set waiting time is overtime;
in the payment process, the data sent from the electronic wallet to the consumer machine and the data sent from the consumer machine to the electronic wallet may have risks of data loss, tampering and forgery in the transceiving process, so in the payment process, for each received key data, it is assumed that the currently received data is different from the data generated or received in the previous steps of the payment process, and comparison and verification are required, thereby ensuring the authenticity and integrity of the transceiving data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710066515.5A CN106920095B (en) | 2017-02-07 | 2017-02-07 | Optical authentication offline payment method with hidden message abstract |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710066515.5A CN106920095B (en) | 2017-02-07 | 2017-02-07 | Optical authentication offline payment method with hidden message abstract |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106920095A CN106920095A (en) | 2017-07-04 |
CN106920095B true CN106920095B (en) | 2020-10-02 |
Family
ID=59453381
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710066515.5A Active CN106920095B (en) | 2017-02-07 | 2017-02-07 | Optical authentication offline payment method with hidden message abstract |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106920095B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107545427A (en) * | 2017-09-19 | 2018-01-05 | 深圳市光域物联科技有限公司 | Light Quick Response Code payment mechanism, system and method |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103116846A (en) * | 2012-12-27 | 2013-05-22 | 重庆濯晖科技有限公司 | Mobile payment based on visible light communications |
CN103490815B (en) * | 2013-09-25 | 2018-05-18 | 中国人民解放军信息工程大学 | Method of payment, intermediate equipment, intelligent terminal and system based on visible light communication |
CN103996116A (en) * | 2014-04-21 | 2014-08-20 | 北京邮电大学 | Mobile payment system and method based on visible light communication technology |
CN104166910B (en) * | 2014-04-30 | 2016-07-06 | 深圳光启智能光子技术有限公司 | Photon method of payment and system based on photon wallet |
-
2017
- 2017-02-07 CN CN201710066515.5A patent/CN106920095B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN106920095A (en) | 2017-07-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9846866B2 (en) | Processing of financial transactions using debit networks | |
RU2648944C2 (en) | Methods, devices, and systems for secure provisioning, transmission and authentication of payment data | |
KR100641824B1 (en) | A payment information input method and mobile commerce system using symmetric cipher system | |
US10607211B2 (en) | Method for authenticating a user to a machine | |
US20150287031A1 (en) | Methods and apparatus for card transactions | |
US8055581B2 (en) | Management of financial transactions using debit networks | |
WO2002039342A1 (en) | Private electronic value bank system | |
WO2013048322A1 (en) | A secure two party matching transaction system | |
US20140316993A1 (en) | Mobile terminal, transaction terminal, and method for carrying out a transaction at a transaction terminal by means of a mobile terminal | |
CN102238193A (en) | Data authentication method and system using same | |
CN106845997B (en) | Double-random code visible light and bar code double-authentication offline payment method with hidden channel | |
CN101223729B (en) | Updating a mobile payment device | |
CN106910069B (en) | Offline payment method with visible light and bar code bidirectional authentication | |
CN106910070A (en) | Exempt from close offline electronic payment method with what visible light communication and barcode scanning were recognized | |
CN106910068B (en) | Multi-algorithm multi-key optical authentication offline payment method | |
CN106920095B (en) | Optical authentication offline payment method with hidden message abstract | |
CN106600274B (en) | Multi-algorithm multi-key optical authentication offline payment device | |
CN105654377B (en) | Cardless withdrawal method, related device and system | |
CN106910059B (en) | Off-line payment method for visible light and bar code bidirectional public key system authentication | |
CN106910058B (en) | Optical authentication rapid off-line payment method with hidden channel | |
CN106651375B (en) | Visible light communication VLC and Barcode public key system dual-medium offline payment device | |
CN106920096B (en) | Double-medium double-authentication rapid off-line payment method under public key system | |
CN106875180B (en) | Online payment method with visible light and bar code bidirectional authentication | |
CN106897881B (en) | Online payment method with visible light and bar code bidirectional public key system authentication | |
CN106910067B (en) | Optical authentication offline payment device with hidden message |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20170704 Assignee: Guangxi Biaoyu Technology Development Co.,Ltd. Assignor: GUILIN University OF TECHNOLOGY Contract record no.: X2023980044270 Denomination of invention: Optical Authentication Offline Payment Method with Hidden Message Digest Granted publication date: 20201002 License type: Common License Record date: 20231026 |
|
EE01 | Entry into force of recordation of patent licensing contract |