CN106940851A - A kind of method of payment and system based on bar code - Google Patents
A kind of method of payment and system based on bar code Download PDFInfo
- Publication number
- CN106940851A CN106940851A CN201610003459.6A CN201610003459A CN106940851A CN 106940851 A CN106940851 A CN 106940851A CN 201610003459 A CN201610003459 A CN 201610003459A CN 106940851 A CN106940851 A CN 106940851A
- Authority
- CN
- China
- Prior art keywords
- payment
- data
- bar code
- businessman
- module
- 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.)
- Pending
Links
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/30—Payment architectures, schemes or protocols characterised by the use of specific devices or networks
- G06Q20/32—Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
- G06Q20/327—Short range or proximity payments by means of M-devices
- G06Q20/3274—Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being displayed on the M-device
-
- 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
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Finance (AREA)
- Computer Networks & Wireless Communication (AREA)
- Cash Registers Or Receiving Machines (AREA)
Abstract
A kind of method of payment and system based on bar code of the present invention, Mobile payment terminal sends broadcast data in the local payment terminal of short distance reception, the businessman's coding included in broadcast data, it is moved easily payment terminal and targetedly sends payment instruction to paying server, makes payment purpose definitely.Paying server is converted to bar code after being encrypted according to the corresponding key of businessman's coded query and by payment data, prevents that other equipment recognition from stealing fund.Local payment terminal reading bar code obtains the decoding data of bar code, and gets paid data by secret key decryption.Businessman's coding is inquired about according to payment data, if businessman's coding coincide, and then points out to consume successfully for the payment data that is stored with.Offline electronic payment can be achieved, and it is stolen to cannot be easily caused fund.
Description
Technical field
The present invention relates to a kind of method of payment and system, a kind of method of payment and system based on bar code are related in particular to.
Background technology
With the popularization of mobile Internet, more and more traditional industries are driven to interconnect the development of networking, particularly traditional retail shop or restaurant unit.The development of Quick Response Code application and the development of Third-party payment, such as wechat are paid, and Alipay is paid, everywhere all among our life.Increasing convenience store, restaurant, supermarket, market all use the means of payment based on bar code.Such as purchase by group, purchase by group in early days and consumption checking is carried out using short message, mobile phone receives the password with string number, verified according to numeral at businessman.Nowadays the consumption validating documents purchased by group have developed into using two-dimensional code scanning checking, and Quick Response Code is big because of its information memory capacity, and can prevent from causing damage because of information leakage using encryption technology.The APP (application program of mobile phone) that existing Third-party payment platform such as wechat, Alipay are required in merchant terminal, consumer's mobile terminal is connectable to the background server of Third-party payment platform, could complete the flow paid.Traditional retail shop or restaurant unit, its existing scanning barcode cash register do not possess the also certain proportion of network savvy.But as the fast development for the business that purchases by group, more and more consumers possess consumption certificate, add-on third party payment platform is faced with scrap build or replacement.Therefore, it is desirable to have a kind of method of payment and system of supporting offline electronic payment to verify, the device end that meeting to network carry out the checking to client's evidence for payment.
Chinese patent literature CN102903045A《A kind of offline electronic payment method of interconnected network mode》, disclose a kind of offline electronic payment method based on bar code.Step 1:Enter system after the registration of logging in system by user door, parameters are set.Step 2:User carries out the payment of Third party system.Step 3:Backstage payment system obtains user's pay status, and user, which pays, successfully then generates virtual electronic evidence for payment, such as Quick Response Code.Step 4:User selects the voucher (Quick Response Code) and downloads or print.Step 5:User is paid the voucher (Quick Response Code).Step 6:The system barcode scanning voucher, reads data therein.Step 7:System validating documents data, think this evidence for payment effectively if good authentication, and the state of the juxtaposition voucher is to have used.Because Quick Response Code is generated by backstage payment system, is issued to user terminal after generation again.More downloading data flow can be so produced, when backstage payment system needs to generate a large amount of Quick Response Codes, data volume is more huge, easily cause download transmission delay and mistake.Meanwhile, user needs to enter system setting parameters before paying, and payment step is relatively complicated.
The content of the invention
For this, the technical problems to be solved by the invention are that the offline electronic payment method Quick Response Code of interconnected network mode in the prior art needs to be generated by backstage payment system, need to expend in downloading process compared with various flow, when backstage payment system needs to generate a large amount of Quick Response Codes, data are larger, easily cause download transmission delay and mistake.User needs to initially enter system in payment process sets parameters manually, and payment step is relatively complicated.
In order to solve the above technical problems, the technical scheme used of the present invention:
A kind of method of payment based on bar code, comprises the following steps:
S1:Mobile payment terminal receives the broadcast data that local payment terminal is sent, and the broadcast data is included:Businessman encodes;
S2:Mobile payment terminal sends payment instruction to paying server, and the payment instruction is included:Represent businessman's coding of businessman, pay request;
S3:Paying server completes fund according to the payment instruction received and paid, and according to the corresponding key of businessman's coded query, the payment data of generation key-encrypted is sent to the Mobile payment terminal, and the payment data is included:O/No., payment, time of payment, the coding information for representing businessman;
S4:Mobile payment terminal is encoded the payment data received, and generates bar code;
S5:Mobile payment terminal shows the bar code;
S6:The bar code that local payment terminal scanning is shown with the Mobile payment terminal, with decoding algorithm corresponding with the bar code, decodes barcode data, and get paid data by the secret key decryption of storage;
S7:Local payment terminal is according to payment data, O/No., payment, time of payment corresponding to inquiry payment data, businessman's coding;
S8:Businessman in local payment terminal inquiry payment data encodes whether the businessman with being stored in local payment terminal encodes unanimously;Unanimously, then next step is continued;Inconsistent, then prompting consumption is unsuccessful;
S9:Local payment terminal is retrieved the consistent payment data of Query Result, if being stored with the payment data, is regarded as Double Spending, if there not being the payment data, the payment data is stored, and point out to consume successfully.
In step S1, the broadcast data that the Mobile payment terminal receives local payment terminal transmission is Bluetooth broadcast data.
Also include step S81 between the step S8 and S9:The time of payment of the local payment terminal payment data, with current time, if the two time interval exceedes setting value, point out consumption failure.
The bar code is QR codes.
A kind of payment system based on bar code, including following component:
Mobile payment terminal, paying server, local payment terminal;
Mobile payment terminal, further comprises:
Wireless communication module, receives the broadcast data that local payment terminal is sent, and the broadcast data is included:Businessman encodes;Payment instruction is sent to paying server, the payment data that paying server is sent is received;
Payment instruction generation module, generates payment instruction, and the payment instruction is included:Represent businessman's coding of businessman, pay request;
Bar code generation module, the payment data of reception is encoded, and generate bar code;
Display module, shows the bar code and consumption result prompt message;
Paying server, further comprises:
Data transmission module, receives the payment instruction that the Mobile payment terminal is sent, payment data is sent to the Mobile payment terminal;
Payment data generation module, fund is completed according to the payment instruction received to pay, and according to the corresponding key of businessman's coded query, the payment data of generation key-encrypted is sent to the Mobile payment terminal by the data transmission module, and the payment data is included:O/No., payment, time of payment, the coding information for representing businessman;
Local payment terminal, further comprises:
Radio receiving transmitting module, transmitting includes the broadcast data that can be received by Mobile payment terminal, and the broadcast data is included:Businessman encodes;
Bar code decoding module, scans the bar code shown with the Mobile payment terminal, with decoding algorithm corresponding with the bar code, decodes barcode data;
Cipher key storage block, be stored with key;
Deciphering module, data are got paid by the secret key decryption of storage;
Enquiry module, according to payment data, O/No., payment, time of payment corresponding to inquiry payment data, businessman's coding;Businessman in inquiry payment data encodes whether the businessman with being stored in local payment terminal encodes unanimously;Unanimously, then next step is continued;Inconsistent, then prompting consumption is unsuccessful;
Module is retrieved, the consistent payment data of Query Result is retrieved, if being stored with the payment data, Double Spending is regarded as, if there not being the payment data, notifies that memory module is stored the payment data, and point out to consume successfully;
Barcode data after memory module, storage successfully decoded.
The broadcast data that the radio receiving transmitting module that the Mobile payment terminal receives local payment terminal is sent is Bluetooth broadcast data.
Also include comparison module between the enquiry module and the retrieval module, the time of payment of relatively more described payment data, with current time, if the two time interval exceedes setting value, point out consumption failure.
The bar code is QR codes.
A kind of local payment terminal paid applied to bar code, including:
Radio receiving transmitting module, launches broadcast data, and the broadcast data is included:Businessman encodes;
Bar code decoding module, for scanning barcode, with decoding algorithm corresponding with the bar code, decodes barcode data;
Cipher key storage block, be stored with key;
Deciphering module, data are got paid by the secret key decryption of storage;
Enquiry module, according to payment data, O/No., payment, time of payment corresponding to inquiry payment data, businessman's coding;Businessman in inquiry payment data encodes whether the businessman with being stored in local payment terminal encodes unanimously;Unanimously, then next step is continued;Inconsistent, then prompting consumption is unsuccessful;
Module is retrieved, the consistent payment data of Query Result is retrieved, if being stored with the payment data, Double Spending is regarded as, if there not being the payment data, notifies that memory module is stored the payment data, and point out to consume successfully;
Barcode data after memory module, storage successfully decoded.
Also include comparison module between the enquiry module and the retrieval module, the time of payment of relatively more described payment data, with current time, if the two time interval exceedes setting value, point out consumption failure.
The above-mentioned technical proposal of the present invention has advantages below compared with prior art:
1. a kind of method of payment and system based on bar code of the present invention, Mobile payment terminal sends broadcast data in the local payment terminal of short distance reception, the businessman's coding included in broadcast data, it is moved easily payment terminal and targetedly sends payment instruction to paying server, makes payment purpose definitely.Paying server is converted to bar code after being encrypted according to the corresponding key of businessman's coded query and by payment data, prevents that other equipment recognition from stealing fund.Local payment terminal reading bar code obtains the decoding data of bar code, and gets paid data by secret key decryption.Businessman's coding is inquired about according to payment data, if businessman's coding coincide, and then points out to consume successfully for the payment data that is stored with.Offline electronic payment can be achieved, and it is stolen to cannot be easily caused fund.
2. a kind of method of payment and system based on bar code of the present invention, in order to improve payment efficiency, by setting the interval of payment verification time, bootable consumer's timely payment.
Brief description of the drawings
In order that present disclosure is more likely to be clearly understood, below according to specific embodiment of the invention and with reference to accompanying drawing, the present invention is further detailed explanation, wherein,
Fig. 1 is a kind of flow chart of the method for payment based on bar code of the present invention;
Fig. 2 is a kind of structured flowchart of the payment system based on bar code of the present invention.
Reference is expressed as in figure:1- Mobile payment terminals;11- wireless communication modules;12- payment instruction generation modules;13- bar code generation modules;14- display modules;2- paying servers;21- data transmission modules;22- payment data generation modules;The local payment terminals of 3-;31- radio receiving transmitting modules;32- bar code decoding modules;33- cipher key storage blocks;34- deciphering modules;35- enquiry modules;36- retrieves module;37- memory modules.
Embodiment
Embodiment 1
A kind of method of payment based on bar code, comprises the following steps:
S1:Mobile payment terminal receives the broadcast data that local payment terminal is sent, and the broadcast data is included:Businessman encodes.Can be user mobile phone or panel computer as Mobile payment terminal at businessman according to the local payment terminal of businessman, local payment terminal can be the cashier terminal with bar code scanner, and local payment terminal carries Wi-Fi or Bluetooth transmission end.Such as mobile terminal is sent businessman's coding to the mobile terminal by local payment terminal described in bluetooth connection, local payment terminal.
S2:Mobile payment terminal sends payment instruction to paying server, and the payment instruction is included:Represent businessman's coding of businessman, pay request.The Mobile payment terminal sends payment instruction to paying server, such as the instruction for asking to pay is sent to the paying server of " Alipay ", and payment instruction is encoded including businessman, the consumption for being positioned at businessman.Businessman's coding can be the MAC codes for the digital code or machine specified.
S3:Paying server completes fund according to the payment instruction received and paid, and according to the corresponding key of businessman's coded query, the payment data of generation key-encrypted is sent to the Mobile payment terminal, and the payment data is included:O/No., payment, time of payment, the coding information for representing businessman.The local payment terminal is stored with the corresponding key of key sent with paying server.Key can be that the dynamic key of encrypted algorithm for encryption can also be static keys.Local payment terminal can be the key of program write-in or the key of hardware access, such as " U-shield ".
S4:Mobile payment terminal is encoded the payment data received, and generates bar code.
S5:Mobile payment terminal shows the bar code.
S6:The bar code that local payment terminal scanning is shown with the Mobile payment terminal, with decoding algorithm corresponding with the bar code, decodes barcode data, and get paid data by the secret key decryption of storage.Payment data can only can just get paid data by corresponding secret key decryption, prevent that other equipment from cracking by encryption.
S7:Local payment terminal is according to payment data, O/No., payment, time of payment corresponding to inquiry payment data, businessman's coding.
S8:Businessman in local payment terminal inquiry payment data encodes whether the businessman with being stored in local payment terminal encodes unanimously;Unanimously, then next step is continued;Inconsistent, then prompting consumption is unsuccessful.
S9:Local payment terminal is retrieved the consistent payment data of Query Result, if being stored with the payment data, is regarded as Double Spending, if there not being the payment data, the payment data is stored, and point out to consume successfully.
In step S1, the broadcast data that the Mobile payment terminal receives local payment terminal transmission is Bluetooth broadcast data.
Also include step S81 between the step S8 and S9:The time of payment of the local payment terminal payment data, with current time, if the two time interval exceedes setting value, point out consumption failure.Consumption is not verified in such as 24 hours, then the consumption fails.
The bar code is QR codes.
A kind of method of payment based on bar code described in the present embodiment, Mobile payment terminal sends broadcast data in the local payment terminal of short distance reception, the businessman's coding included in broadcast data, it is moved easily payment terminal and targetedly sends payment instruction to paying server, makes payment purpose definitely.Paying server is converted to bar code after being encrypted according to the corresponding key of businessman's coded query and by payment data, prevents that other equipment recognition from stealing fund.Local payment terminal reading bar code obtains the decoding data of bar code, and gets paid data by secret key decryption.Businessman's coding is inquired about according to payment data, if businessman's coding coincide, and then points out to consume successfully for the payment data that is stored with.Offline electronic payment can be achieved, and it is stolen to cannot be easily caused fund.In order to improve payment efficiency, by setting the interval of payment verification time, bootable consumer's timely payment.
Embodiment 2
A kind of payment system based on bar code, including following component:
Mobile payment terminal 1, paying server 2, local payment terminal 3;
Mobile payment terminal 1, can be mobile phone or panel computer, further comprise:
Wireless communication module 11, receives the broadcast data that local payment terminal is sent, and the broadcast data is included:Businessman encodes.Payment instruction is sent to paying server, the payment data that paying server is sent is received.Such as mobile terminal is sent businessman's coding to the mobile terminal by local payment terminal described in bluetooth connection, local payment terminal.Businessman's coding can be the MAC codes for the digital code or machine specified.
Payment instruction generation module 12, generates payment instruction, and the payment instruction is included:Represent businessman's coding of businessman, pay request.The instruction for asking to pay such as is sent to the paying server of " Alipay ", payment instruction is encoded including businessman, the consumption for being positioned at businessman.
Bar code generation module 13, the payment data of reception is encoded, and generate bar code.Can realize this function using barcode encoding software is write to the register of process chip.
Display module 14, shows the bar code and consumption result prompt message.Can be using conventional LCD display or LED display.
Paying server 2, further comprises:
Data transmission module 21, receives the payment instruction that the Mobile payment terminal is sent, payment data is sent to the Mobile payment terminal.The Mobile payment terminal is connected by way of the connection of wireless relay.
Payment data generation module 22, fund is completed according to the payment instruction received to pay, and according to the corresponding key of businessman's coded query, the payment data of generation key-encrypted is sent to the Mobile payment terminal by the data transmission module, and the payment data is included:O/No., payment, time of payment, the coding information for representing businessman.
Local payment terminal 3, local payment terminal can be the cashier terminal with bar code scanner, further comprise:
Radio receiving transmitting module 31, can be Wi-Fi module or bluetooth module, and transmitting includes the broadcast data that can be received by Mobile payment terminal, and the broadcast data is included:Businessman encodes.
Bar code decoding module 32, scans the bar code shown with the Mobile payment terminal, with decoding algorithm corresponding with the bar code, decodes barcode data.Can be that to carry out hardware decoding can also carry out software decoding by data-interface (such as USB) external bar code decoding equipment decoding algorithm that can also to be MCU (CPU) be stored by allocating register to hardware decoding chip.
Cipher key storage block 33, be stored with key.Be stored with key corresponding with the key that paying server is sent.Key can be that the dynamic key of encrypted algorithm for encryption can also be static keys.Local payment terminal can be the key of program write-in or the key of hardware access, such as " U-shield ".
Deciphering module 34, data are got paid by the secret key decryption of storage.Payment data can only can just get paid data by corresponding secret key decryption, prevent that other equipment from cracking by encryption.
Enquiry module 35, according to payment data, O/No., payment, time of payment corresponding to inquiry payment data, businessman's coding;Businessman in inquiry payment data encodes whether the businessman with being stored in local payment terminal encodes unanimously;Unanimously, then next step is continued;Inconsistent, then prompting consumption is unsuccessful.
Module 36 is retrieved, the consistent payment data of Query Result is retrieved, if being stored with the payment data, Double Spending is regarded as, if there not being the payment data, notifies that memory module is stored the payment data, and point out to consume successfully.
Barcode data after memory module 37, storage successfully decoded.
The broadcast data that the radio receiving transmitting module 31 that the Mobile payment terminal 1 receives local payment terminal 3 is sent is Bluetooth broadcast data.
Also include comparison module between the enquiry module 35 and the retrieval module, the time of payment of relatively more described payment data, with current time, if the two time interval exceedes setting value, point out consumption failure.
The bar code is QR codes.
A kind of payment system based on bar code described in the present embodiment, Mobile payment terminal sends broadcast data in the local payment terminal of short distance reception, the businessman's coding included in broadcast data, it is moved easily payment terminal and targetedly sends payment instruction to paying server, makes payment purpose definitely.Paying server is converted to bar code after being encrypted according to the corresponding key of businessman's coded query and by payment data, prevents that other equipment recognition from stealing fund.Local payment terminal reading bar code obtains the decoding data of bar code, and gets paid data by secret key decryption.Businessman's coding is inquired about according to payment data, if businessman's coding coincide, and then points out to consume successfully for the payment data that is stored with.Offline electronic payment can be achieved, and it is stolen to cannot be easily caused fund.In order to improve payment efficiency, by setting the interval of payment verification time, bootable consumer's timely payment.
Embodiment 3
A kind of local payment terminal paid applied to bar code, including:
Radio receiving transmitting module, can be Wi-Fi module or bluetooth module, launch broadcast data, the broadcast data is included:Businessman encodes.
Bar code decoding module, for scanning barcode, with decoding algorithm corresponding with the bar code, decodes barcode data.Can be that to carry out hardware decoding can also carry out software decoding by data-interface (such as USB) external bar code decoding equipment decoding algorithm that can also to be MCU (CPU) be stored by allocating register to hardware decoding chip.
Cipher key storage block, be stored with key.Be stored with key corresponding with the key that paying server is sent.Key can be that the dynamic key of encrypted algorithm for encryption can also be static keys.Local payment terminal can be the key of program write-in or the key of hardware access, such as " U-shield ".
Deciphering module, data are got paid by the secret key decryption of storage.Payment data can only can just get paid data by corresponding secret key decryption, prevent that other equipment from cracking by encryption.
Enquiry module, according to payment data, O/No., payment, time of payment corresponding to inquiry payment data, businessman's coding;Businessman in inquiry payment data encodes whether the businessman with being stored in local payment terminal encodes unanimously;Unanimously, then next step is continued;Inconsistent, then prompting consumption is unsuccessful.
Module is retrieved, the consistent payment data of Query Result is retrieved, if being stored with the payment data, Double Spending is regarded as, if there not being the payment data, notifies that memory module is stored the payment data, and point out to consume successfully;
Barcode data after memory module, storage successfully decoded.
Also include comparison module between the enquiry module and the retrieval module, the time of payment of relatively more described payment data, with current time, if the two time interval exceedes setting value, point out consumption failure.
Obviously, above-described embodiment is only intended to clearly illustrate example, and the not restriction to embodiment.For those of ordinary skill in the field, it can also make other changes in different forms on the basis of the above description.There is no necessity and possibility to exhaust all the enbodiments.And among the obvious change or variation thus extended out are still in the protection domain of the invention.
Claims (10)
1. a kind of method of payment based on bar code, it is characterised in that comprise the following steps:
S1:Mobile payment terminal receives the broadcast data that local payment terminal is sent, and the broadcast data is included:Businessman encodes;
S2:Mobile payment terminal sends payment instruction to paying server, and the payment instruction is included:Represent businessman's coding of businessman, pay request;
S3:Paying server completes fund according to the payment instruction received and paid, and according to the corresponding key of businessman's coded query, the payment data of generation key-encrypted is sent to the Mobile payment terminal, and the payment data is included:O/No., payment, time of payment, the coding information for representing businessman;
S4:Mobile payment terminal is encoded the payment data received, and generates bar code;
S5:Mobile payment terminal shows the bar code;
S6:The bar code that local payment terminal scanning is shown with the Mobile payment terminal, with decoding algorithm corresponding with the bar code, decodes barcode data, and get paid data by the secret key decryption of storage;
S7:Local payment terminal is according to payment data, O/No., payment, time of payment corresponding to inquiry payment data, businessman's coding;
S8:Businessman in local payment terminal inquiry payment data encodes whether the businessman with being stored in local payment terminal encodes unanimously;Unanimously, then next step is continued;Inconsistent, then prompting consumption is unsuccessful;
S9:Local payment terminal is retrieved the consistent payment data of Query Result, if being stored with the payment data, is regarded as Double Spending, if there not being the payment data, the payment data is stored, and point out to consume successfully.
2. the method for payment according to claim 1 based on bar code, it is characterised in that:
In step S1, the broadcast data that the Mobile payment terminal receives local payment terminal transmission is Bluetooth broadcast data.
3. the method for payment according to claim 1 or 2 based on bar code, it is characterised in that also include step S81 between the step S8 and S9:The time of payment of the local payment terminal payment data, with current time, if the two time interval exceedes setting value, point out consumption failure.
4. the method for payment based on bar code described according to claim 1-3 is any, it is characterised in that the bar code is QR codes.
5. a kind of payment system based on bar code, it is characterised in that including following component:
Mobile payment terminal, paying server, local payment terminal;
Mobile payment terminal, further comprises:
Wireless communication module, receives the broadcast data that local payment terminal is sent, and the broadcast data is included:Businessman encodes;Payment instruction is sent to paying server, the payment data that paying server is sent is received;
Payment instruction generation module, generates payment instruction, and the payment instruction is included:Represent businessman's coding of businessman, pay request;
Bar code generation module, the payment data of reception is encoded, and generate bar code;
Display module, shows the bar code and consumption result prompt message;
Paying server, further comprises:
Data transmission module, receives the payment instruction that the Mobile payment terminal is sent, payment data is sent to the Mobile payment terminal;
Payment data generation module, fund is completed according to the payment instruction received to pay, and according to the corresponding key of businessman's coded query, the payment data of generation key-encrypted is sent to the Mobile payment terminal by the data transmission module, and the payment data is included:O/No., payment, time of payment, the coding information for representing businessman;Local payment terminal, further comprises:
Radio receiving transmitting module, transmitting includes the broadcast data that can be received by Mobile payment terminal, and the broadcast data is included:Businessman encodes;
Bar code decoding module, scans the bar code shown with the Mobile payment terminal, with decoding algorithm corresponding with the bar code, decodes barcode data;
Cipher key storage block, be stored with key;
Deciphering module, data are got paid by the secret key decryption of storage;
Enquiry module, according to payment data, O/No., payment, time of payment corresponding to inquiry payment data, businessman's coding;Businessman in inquiry payment data encodes whether the businessman with being stored in local payment terminal encodes unanimously;Unanimously, then next step is continued;Inconsistent, then prompting consumption is unsuccessful;
Module is retrieved, the consistent payment data of Query Result is retrieved, if being stored with the payment data, Double Spending is regarded as, if there not being the payment data, notifies that memory module is stored the payment data, and point out to consume successfully;
Barcode data after memory module, storage successfully decoded.
6. a kind of payment system based on bar code according to claim 5, it is characterised in that the broadcast data that the radio receiving transmitting module that the Mobile payment terminal receives local payment terminal is sent is Bluetooth broadcast data.
7. a kind of payment system based on bar code according to claim 6, it is characterised in that also include comparison module between the enquiry module and the retrieval module, compare the time of payment of the payment data, with current time, if the two time interval exceedes setting value, consumption failure is pointed out.
8. a kind of payment system based on bar code according to claim 7, it is characterised in that the bar code is QR codes.
9. a kind of local payment terminal paid applied to bar code, it is characterised in that including:
Radio receiving transmitting module, launches broadcast data, and the broadcast data is included:Businessman encodes;
Bar code decoding module, for scanning barcode, with decoding algorithm corresponding with the bar code, decodes barcode data;
Cipher key storage block, be stored with key;
Deciphering module, data are got paid by the secret key decryption of storage;
Enquiry module, according to payment data, O/No., payment, time of payment corresponding to inquiry payment data, businessman's coding;Businessman in inquiry payment data encodes whether the businessman with being stored in local payment terminal encodes unanimously;Unanimously, then next step is continued;Inconsistent, then prompting consumption is unsuccessful;
Module is retrieved, the consistent payment data of Query Result is retrieved, if being stored with the payment data, Double Spending is regarded as, if there not being the payment data, notifies that memory module is stored the payment data, and point out to consume successfully;
Barcode data after memory module, storage successfully decoded.
10. a kind of local payment terminal paid applied to bar code according to claim 9, it is characterized in that, also include comparison module between the enquiry module and the retrieval module, compare the time of payment of the payment data, with current time, if the two time interval exceedes setting value, consumption failure is pointed out.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610003459.6A CN106940851A (en) | 2016-01-04 | 2016-01-04 | A kind of method of payment and system based on bar code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610003459.6A CN106940851A (en) | 2016-01-04 | 2016-01-04 | A kind of method of payment and system based on bar code |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106940851A true CN106940851A (en) | 2017-07-11 |
Family
ID=59468381
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610003459.6A Pending CN106940851A (en) | 2016-01-04 | 2016-01-04 | A kind of method of payment and system based on bar code |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106940851A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109801085A (en) * | 2019-01-30 | 2019-05-24 | 溯根防伪科技(厦门)有限公司 | A kind of the two dimensional code commodity counterfeit prevention traceability system and source tracing method of anti-copying |
CN112561517A (en) * | 2020-12-10 | 2021-03-26 | 南京航空航天大学 | Two-dimensional code payment method capable of being authenticated based on geographic position |
TWI818758B (en) * | 2022-10-04 | 2023-10-11 | 財金資訊股份有限公司 | Method and system for generating a single barcode using multiple digital coupon for consumption and verifying |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1928907A (en) * | 2006-10-13 | 2007-03-14 | 钟杨 | Method, system and device for transaction payment using mobile terminal equipment |
CN102243739A (en) * | 2011-07-04 | 2011-11-16 | 中国建设银行股份有限公司 | Mobile-phone bank payment method, mobile-phone bank payment system and mobile-phone bank client based on two-dimension code |
CN103903131A (en) * | 2014-04-23 | 2014-07-02 | 王恩惠 | Method and system for achieving electronic transaction based on graphic code |
CN104281948A (en) * | 2013-07-09 | 2015-01-14 | 航天信息股份有限公司 | Mobile payment method and system based on two-dimension codes |
-
2016
- 2016-01-04 CN CN201610003459.6A patent/CN106940851A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1928907A (en) * | 2006-10-13 | 2007-03-14 | 钟杨 | Method, system and device for transaction payment using mobile terminal equipment |
CN102243739A (en) * | 2011-07-04 | 2011-11-16 | 中国建设银行股份有限公司 | Mobile-phone bank payment method, mobile-phone bank payment system and mobile-phone bank client based on two-dimension code |
CN104281948A (en) * | 2013-07-09 | 2015-01-14 | 航天信息股份有限公司 | Mobile payment method and system based on two-dimension codes |
CN103903131A (en) * | 2014-04-23 | 2014-07-02 | 王恩惠 | Method and system for achieving electronic transaction based on graphic code |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109801085A (en) * | 2019-01-30 | 2019-05-24 | 溯根防伪科技(厦门)有限公司 | A kind of the two dimensional code commodity counterfeit prevention traceability system and source tracing method of anti-copying |
CN112561517A (en) * | 2020-12-10 | 2021-03-26 | 南京航空航天大学 | Two-dimensional code payment method capable of being authenticated based on geographic position |
TWI818758B (en) * | 2022-10-04 | 2023-10-11 | 財金資訊股份有限公司 | Method and system for generating a single barcode using multiple digital coupon for consumption and verifying |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105512881B (en) | A kind of method and terminal for completing payment based on two dimensional code | |
CN101038653B (en) | Verification system | |
CN101432980B (en) | Time sync-type otp generation device and method for mobile phones | |
CN105574629B (en) | Electronic ticket checking method and system based on graphic coding | |
US20110185181A1 (en) | Network authentication method and device for implementing the same | |
US9667626B2 (en) | Network authentication method and device for implementing the same | |
CN105515783A (en) | Identity authentication method, server and authentication terminal | |
CN101605325B (en) | Method for identity authentication, mobile terminal, server, and identity authentication system | |
CN102255730A (en) | Digital certificate safety lock device and digital certificate authentication system and method | |
US8789167B2 (en) | Fraud-proof location identification system | |
CN102790767B (en) | Information safety control method, information safety display equipment and electronic trading system | |
CN102930435A (en) | Authentication method and system for mobile payment | |
CN102938117A (en) | Electronic transaction method based on NFC (Near Field Communication) | |
CN101957958A (en) | Method and mobile phone terminal for realizing network payment | |
CN104660401A (en) | Authentication method, authentication system and terminal | |
CN103942685A (en) | Data security interactive system | |
CN105787727A (en) | HCE offline payment system and realization method | |
CN106940851A (en) | A kind of method of payment and system based on bar code | |
KR101607668B1 (en) | System, apparatus, method and computer readable recording medium for paymenting on the mobile terminal by the short message service | |
CN102118685A (en) | Method and system for pushing electronic book, and server | |
CN101841806A (en) | Service card information processing method, device and system and communication terminal | |
CN114697117B (en) | Verification method, device, cipher device and system based on positioning information | |
KR101103634B1 (en) | Method for attestating credit card company server and that server | |
WO2020019291A1 (en) | Information processing method, electronic device, server, and information processing system | |
CN103077457B (en) | A kind of intelligent RFID payment terminal and method |
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 | ||
CB03 | Change of inventor or designer information | ||
CB03 | Change of inventor or designer information |
Inventor after: Liu Qirui Inventor after: Qi Weiyu Inventor after: Liu Zeqing Inventor after: Zhang Yijin Inventor after: Liu Feng Inventor before: Liu Qirui Inventor before: Liu Zeqing Inventor before: Zhang Yijin Inventor before: Liu Feng |
|
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20170711 |