CN109636374B - Two-dimensional code secure payment method and device - Google Patents
Two-dimensional code secure payment method and device Download PDFInfo
- Publication number
- CN109636374B CN109636374B CN201811510614.9A CN201811510614A CN109636374B CN 109636374 B CN109636374 B CN 109636374B CN 201811510614 A CN201811510614 A CN 201811510614A CN 109636374 B CN109636374 B CN 109636374B
- Authority
- CN
- China
- Prior art keywords
- payment
- information
- vehicle
- dimensional code
- toll station
- 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
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/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/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/3276—Short range or proximity payments by means of M-devices using a pictured code, e.g. barcode or QR-code, being read by 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
- G06Q20/3829—Payment protocols; Details thereof insuring higher security of transaction involving key management
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 Networks & Wireless Communication (AREA)
- Computer Security & Cryptography (AREA)
- Finance (AREA)
- Devices For Checking Fares Or Tickets At Control Points (AREA)
Abstract
The invention discloses a method and a device for two-dimension code secure payment. Wherein the method comprises the following steps: performing short-distance wireless communication with entrance toll station equipment to acquire entrance toll station information; encrypting the payment information of the vehicle owner according to the entrance toll station information to generate an encrypted payment two-dimensional code; and projecting the encrypted payment two-dimensional code onto a front windshield of the vehicle so that the exit toll station device can scan and charge the encrypted payment two-dimensional code. The embodiment of the invention provides a method and a device for two-dimension code secure payment, which are used for charging in a mode of scanning encrypted payment two-dimension codes, solving the problem of low queuing payment passing efficiency of a highway and providing a convenient and safe payment mode for the highway.
Description
Technical Field
The embodiment of the invention relates to a highway toll collection technology, in particular to a method and a device for two-dimensional code secure payment.
Background
With the increasing popularity of mobile payment means, more and more people tend to use the payment means, and the habit of going out without cash is gradually developed.
At present, the conventional manual charging in the expressway toll station needs cash for payment, change and queuing for payment, so that the passing speed of automobiles is greatly reduced. Compare in traditional charging mode, ETC electronic toll collection system has improved the efficiency of passing of vehicle to a great extent, but the use of present ETC is not yet popularized, still is difficult to satisfy most people's requirement at present.
Therefore, a convenient high-speed payment method is still lacking.
Disclosure of Invention
The invention provides a method and a device for two-dimensional code secure payment, which are used for realizing convenient and secure payment on a highway and simultaneously improving traffic efficiency.
In a first aspect, an embodiment of the present invention provides a two-dimensional code secure payment method, including:
performing short-distance wireless communication with entrance toll station equipment to acquire entrance toll station information;
encrypting the payment information of the vehicle owner according to the entrance toll station information to generate an encrypted payment two-dimensional code;
and projecting the encrypted payment two-dimensional code onto a front windshield of a vehicle so that the encrypted payment two-dimensional code is scanned and charged by an exit toll station device.
In a second aspect, an embodiment of the present invention further provides a two-dimensional code secure payment method, where the method includes:
acquiring an incidence relation between vehicle information which is sent by entrance toll station equipment and identified by the entrance toll station equipment and an encryption key, wherein the encryption key is obtained by processing the entrance toll station information acquired from the entrance toll station equipment by adopting an encryption algorithm at the entrance toll station through vehicle-mounted projection equipment, the encryption key is used for encrypting payment information of a vehicle owner to generate an encrypted payment two-dimensional code, and the encrypted payment two-dimensional code is projected onto a front windshield of a vehicle through the vehicle-mounted projection equipment;
acquiring current vehicle information identified by the equipment of the exit toll station and a scanned current encrypted payment two-dimensional code;
acquiring a target encryption key corresponding to the current vehicle information according to the incidence relation between the encryption key and the vehicle information, and decrypting the current encrypted payment two-dimensional code according to the target encryption key to obtain target payment information;
and charging according to the target payment information.
In a third aspect, an embodiment of the present invention further provides a device for two-dimensional code secure payment, where the method includes:
the entrance information acquisition module is used for carrying out short-distance wireless communication with entrance toll station equipment to acquire entrance toll station information;
the payment information encryption module is used for encrypting the payment information of the vehicle owner according to the entrance toll station information to generate an encrypted payment two-dimensional code;
and the two-dimension code projection module is used for projecting the encrypted payment two-dimension code onto the front windshield of the vehicle so as to enable the exit toll station equipment to scan and charge the encrypted payment two-dimension code.
In a fourth aspect, an embodiment of the present invention further provides a device for two-dimensional code secure payment, where the method includes:
the system comprises a key acquisition module, a key acquisition module and a key management module, wherein the key acquisition module is used for acquiring the incidence relation between vehicle information and an encryption key, the vehicle information is sent by entrance toll station equipment and identified by the entrance toll station, the encryption key is obtained by processing the entrance toll station information acquired from the entrance toll station equipment by adopting an encryption algorithm at the entrance toll station through vehicle-mounted projection equipment, the encryption key is used for encrypting payment information of a vehicle owner to generate an encrypted payment two-dimensional code, and the encrypted payment two-dimensional code is projected onto a front windshield of a vehicle through the vehicle-mounted projection equipment;
the two-dimension code information acquisition module is used for acquiring current vehicle information identified by the equipment of the exit toll station and a scanned current encrypted payment two-dimension code;
the two-dimension code decryption module is used for acquiring a target encryption key corresponding to the current vehicle information according to the incidence relation between the encryption key and the vehicle information, and decrypting the current encrypted payment two-dimension code according to the target encryption key to obtain target payment information;
and the payment module is used for charging according to the target payment information.
The embodiment of the invention acquires the toll station information by performing short-distance wireless communication with the entrance toll station equipment, encrypts the payment information of a vehicle owner according to the entrance toll station information to generate the encrypted payment two-dimensional code, projects the encrypted payment two-dimensional code onto the front windshield of the vehicle, can expand a scanning target, realizes non-stop toll collection, solves the problem of low queuing payment passing efficiency of a highway, and ensures the toll collection safety by scanning the encrypted payment two-dimensional code.
Drawings
Fig. 1 is a flowchart of a method for two-dimensional code secure payment according to an embodiment of the present invention;
fig. 2 is a flowchart of a two-dimensional code secure payment method according to a second embodiment of the present invention;
fig. 3 is a flowchart of a two-dimensional code secure payment method according to a third embodiment of the present invention;
fig. 4 is a structural diagram of a two-dimensional code secure payment apparatus according to a fourth embodiment of the present invention;
fig. 5 is a structural diagram of a two-dimensional code secure payment apparatus according to a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a two-dimensional code secure payment method according to an embodiment of the present invention, where the embodiment is applicable to a case where a vehicle pays on an expressway, and the method may be executed by a two-dimensional code secure payment apparatus, and specifically includes the following steps:
s101, performing short-distance wireless communication with entrance toll station equipment to acquire entrance toll station information.
The corresponding entrance toll station equipment and the vehicle-mounted projection equipment can realize a near field communication function, the near field communication mode comprises Bluetooth, Wi-Fi, ZIGBEE and the like, and further the communication between the vehicle-mounted mobile terminal and the entrance toll station equipment is realized. Specifically, when the vehicle enters a certain distance from the toll station, the vehicle-mounted mobile terminal automatically searches and is connected with the toll station device through wireless communication, so that entrance toll station information is acquired. Further, when the vehicle enters a certain distance from the entrance toll station, the vehicle-mounted projection device can automatically access to a Wi-Fi network of entrance toll station equipment, the Wi-Fi network carries corresponding entrance toll station equipment information, and after the vehicle is accessed to the Wi-Fi network, the vehicle can directly acquire information such as entrance toll station site names through the information in the Wi-Fi network.
S102, encrypting the payment information of the vehicle owner according to the entrance toll station information to generate an encrypted payment two-dimensional code.
The payment information of the vehicle owner comprises a payment two-dimensional code generated by a personal payment account such as WeChat and Payment treasured, the vehicle-mounted projection equipment encrypts the payment information of the vehicle owner by adopting a cryptographic algorithm according to the acquired entrance toll station information, and therefore the encrypted payment two-dimensional code is generated.
S103, projecting the encrypted payment two-dimensional code onto a front windshield of the vehicle so that the outlet toll station device can scan and charge the encrypted payment two-dimensional code.
The vehicle-mounted projection equipment projects the encrypted payment two-dimensional code onto a front windshield of a vehicle, the exit toll station is provided with a scanning device, the scanning device is a scanning gun with a certain rotation function and can scan in a large range, the scanning device scans the encrypted payment two-dimensional code and transmits scanning information to the toll collection system to perform toll collection operation on a target vehicle. The payment two-dimensional code is projected, the payment target is enlarged, the toll station equipment can more easily scan the target two-dimensional code, the non-stop toll collection is realized, and the passing efficiency is further improved.
The technical scheme of this embodiment, carry out near field communication through equipment with entry toll station and acquire toll station information, encrypt the payment information of car owner according to entry toll station information, generate and encrypt the payment two-dimensional code, will encrypt the payment two-dimensional code and project on the front windshield of vehicle, can enlarge the scanning target on projecting the front windshield of vehicle to the payment two-dimensional code that will encrypt, realize the toll collection without stopping, solve the problem that highway is queued to collect fee and passes the inefficiency, in addition, carry out the charge through the mode of scanning to encrypting the payment two-dimensional code, the security of charging has been ensured.
Further, before the entrance toll station information encrypts the payment information of the vehicle owner, the method further comprises the following steps: and establishing communication connection with the vehicle-mounted mobile terminal, and acquiring the payment two-dimensional code of the vehicle owner from the mobile payment application logged in by the vehicle-mounted mobile terminal.
Optionally, the vehicle-mounted projection device can be a projection device with a mobile data function, and is connected with the vehicle-mounted mobile terminal device through accessing a mobile internet, and logs in the mobile payment application to obtain the payment two-dimensional code of the vehicle owner, wherein the payment two-dimensional code of the vehicle owner comprises the payment two-dimensional code generated by personal payment accounts such as WeChat and Payment treasured, and specifically, the vehicle-mounted mobile terminal is a mobile phone and a tablet which can log in the mobile payment account.
Further optionally, the vehicle-mounted projection device can be a smart phone with a projection function, the payment two-dimensional code is obtained by logging in a mobile payment application, the method does not need to additionally configure the vehicle-mounted projection device, the use cost of a user is reduced, and the portability of the device is improved.
Example two
Fig. 2 is a flowchart of a two-dimensional code secure payment method according to a second embodiment of the present invention, and in this embodiment, on the basis of the second embodiment, the step of encrypting the payment information of the vehicle owner according to the entrance toll station information to generate the encrypted payment two-dimensional code is refined. As shown in fig. 2, the method specifically includes the following steps:
s201, performing short-distance wireless communication with entrance toll station equipment to acquire entrance toll station information.
S202, processing the entrance toll station information by adopting an encryption algorithm to generate an encryption key.
The encryption algorithm is preset in the vehicle-mounted projection device, and the generated encryption key is obtained by processing the entrance toll station information by using the encryption algorithm, which can be implemented by using a common symmetric encryption algorithm, such as DES, 3DES, RC2, and the like. The same key is used for encryption and decryption of the encryption algorithm, the computation amount of encryption and decryption is small, the speed is high, the safety degree is high, and the passing efficiency of vehicles and the safety of two-dimensional code payment can be further improved. The vehicle-mounted projection equipment sends the generated encryption key to entrance toll station equipment, the entrance toll station equipment scans to obtain current vehicle information, an association relation is established between the current vehicle information and the encryption key, and the association relation is sent to a toll collection system for storage.
S203, the encryption key is sent to the entrance toll station device, so that the entrance toll station device establishes an association relationship between the identified vehicle information and the encryption key, and the association relationship is sent to the toll collection system for storage.
Specifically, the vehicle information includes license plate information, and is identified and obtained by the entrance toll station device. The vehicle-mounted mobile terminal sends the generated encryption key to the entrance toll station equipment, the entrance toll station equipment binds the encryption key and the license plate information of the corresponding vehicle, and the association relationship established between the encryption key and the license plate information is stored in the toll collection system, so that the subsequent toll collection system at the exit toll station can obtain the associated encryption key according to the license plate information, and the associated encryption key is used for decrypting the encrypted payment two-dimensional code on the vehicle to obtain the target payment information.
S204, encrypting the payment information of the vehicle owner by adopting the encryption key to generate an encrypted payment two-dimensional code.
Specifically, taking the DES encryption algorithm in the above symmetric encryption algorithm as an example, the encryption key is obtained by using a transform function for the original input information, that is, the information of the entrance toll station, and the payment information of the vehicle owner, that is, the payment two-dimensional code of the vehicle owner is encrypted by using the encryption key, so as to generate a new payment two-dimensional code, that is, an encrypted payment two-dimensional code, where the encrypted payment two-dimensional code is an unidentifiable ciphertext generated after encryption, and the encrypted payment two-dimensional code is identified to be decrypted, and only a charging system storing the encryption key can identify and charge the encrypted payment two-dimensional code, thereby improving the security of two-dimensional code payment.
S205, projecting the encrypted payment two-dimensional code onto a front windshield of the vehicle so that the exit toll station device can scan and charge the encrypted payment two-dimensional code.
Illustratively, a scanning gun is arranged at the exit toll station, optionally, before the vehicle reaches the exit toll station, the vehicle projects the generated encrypted payment two-dimensional code onto a front windshield of the vehicle through a vehicle-mounted projection device in advance, when the vehicle enters a certain distance from the station, the scanning gun of the exit toll station scans the payment two-dimensional code, transmits the scanned current encrypted payment two-dimensional code and the identified current vehicle information to a toll collection system, and the toll collection system acquires a target encryption key corresponding to the current vehicle information according to the stored association relationship between the encryption key and the vehicle information, decrypts the current encrypted payment two-dimensional code according to the target encryption key to obtain target payment information, and charges according to the target payment information.
In the embodiment, the incidence relation between the encryption key and the vehicle acquired by the entrance toll station device is stored in the toll collection system, the toll collection system acquires the target encryption key corresponding to the current vehicle information according to the current encrypted payment two-dimensional code and the current vehicle information acquired by the exit toll station, and the target encryption key is used for decrypting the current encrypted payment two-dimensional code to acquire the target payment information for charging.
EXAMPLE III
Fig. 3 is a flowchart of a two-dimensional code secure payment method according to a third embodiment of the present invention, where this embodiment is applicable to a case where a vehicle pays on an expressway, and the method may be executed by a two-dimensional code secure payment apparatus, and specifically includes the following steps:
s301, acquiring the association relationship between the vehicle information identified by the entrance toll station device and the encryption key, wherein the vehicle information is sent by the entrance toll station device.
The encryption key is obtained by processing entrance toll station information acquired from entrance toll station equipment by the vehicle-mounted projection equipment by adopting an encryption algorithm. The encryption key is used for encrypting the payment information of the vehicle owner to generate an encrypted payment two-dimensional code, and the encrypted payment two-dimensional code is projected onto the front windshield of the vehicle by the vehicle-mounted projection equipment.
S302, obtaining the current vehicle information identified by the exit toll station equipment and the scanned current encrypted payment two-dimensional code.
Specifically, a scanning device is arranged at the entrance toll station, scans the current encrypted payment two-dimensional code projected on the front windshield of the vehicle, and sends the current vehicle information and the current encrypted payment two-dimensional code information obtained through identification to a toll collection system.
And S303, acquiring a target encryption key corresponding to the current vehicle information according to the incidence relation between the encryption key and the vehicle information, and decrypting the current encrypted payment two-dimensional code according to the target encryption key to obtain the target payment information.
Specifically, the charging system obtains a target encryption key corresponding to the current vehicle information according to the obtained current vehicle information and the incidence relation between the encryption key and the vehicle information stored in the charging system, so that the obtained current encrypted payment two-dimensional code is decrypted by using the target encryption key, and the target payment information of the current vehicle is further obtained.
And S304, charging according to the target payment information.
And the charging system charges the target payment information after the current vehicle information is decrypted.
According to the technical scheme of the embodiment of the invention, the incidence relation between the encryption key and the vehicle information is obtained through the entrance toll station equipment, the current encrypted payment two-dimensional code and the current vehicle information are obtained through the exit toll station equipment, the target encryption key corresponding to the current vehicle information is obtained in the toll collection system, and the target payment information is obtained by decrypting the current encrypted payment two-dimensional code through the target encryption key, so that the toll collection is carried out, the security of the two-dimensional code payment is improved, and the passing efficiency of the vehicle is improved.
Example four
Fig. 4 is a block diagram of a four-dimensional code secure payment apparatus according to an embodiment of the present invention. Referring to fig. 4, the two-dimensional code secure payment apparatus provided in the embodiment of the present invention includes: an entrance information acquisition module 401, a payment information encryption module 402 and a two-dimensional code projection module 403.
The entrance information acquiring module 401 is configured to perform short-range wireless communication with an entrance toll station device to acquire entrance toll station information.
And the payment information encryption module 402 is configured to encrypt payment information of the vehicle owner according to the entrance toll station information, and generate an encrypted payment two-dimensional code.
And a two-dimensional code projection module 403, configured to project the encrypted payment two-dimensional code onto a front windshield of a vehicle, so that the exit toll station device scans and charges the encrypted payment two-dimensional code.
According to the technical scheme of the embodiment of the invention, the toll station information is obtained through the short-distance wireless communication with the entrance toll station equipment, the payment information of a vehicle owner is encrypted according to the entrance toll station information to generate the encrypted payment two-dimensional code, the encrypted payment two-dimensional code is projected onto the front windshield of the vehicle, and the payment is carried out in a mode of scanning the encrypted payment two-dimensional code through the exit toll station equipment, so that the problem of low queuing payment passing efficiency of the expressway is solved, and the convenient and safe payment mode of the expressway is provided.
In this embodiment, the payment information encryption module 402 is specifically configured to process the entrance toll station information by using an encryption algorithm to generate an encryption key, and encrypt the payment information of the vehicle owner by using the encryption key to generate an encrypted payment two-dimensional code.
In this embodiment, the device for two-dimensional code secure payment further includes: two-dimensional code acquisition module.
And the two-dimension code acquisition module is used for establishing communication connection with the vehicle-mounted mobile terminal before encrypting the payment information of the vehicle owner according to the entrance toll station information, and acquiring the payment two-dimension code of the vehicle owner from the mobile payment application logged in by the vehicle-mounted mobile terminal or acquiring the payment two-dimension code of the vehicle owner from the mobile payment application logged in the local terminal.
In this embodiment, the device for two-dimensional code secure payment further includes: and a key sending module.
And the key sending module is used for sending the encryption key to the entrance toll station equipment so that the entrance toll station equipment establishes an association relationship between the identified vehicle information and the encryption key and sends the association relationship to the toll collection system for storage.
Correspondingly, the two-dimensional code projection module 403 is configured to project the encrypted payment two-dimensional code onto a front windshield of a vehicle, so that the exit toll station device transmits the identified current vehicle information and the scanned current encrypted payment two-dimensional code to a toll collection system, so as to obtain, by the toll collection system, a target encryption key corresponding to the current vehicle information according to the association relationship between the stored encryption key and the vehicle information, decrypt, according to the target encryption key, the current encrypted payment two-dimensional code to obtain target payment information, and perform toll collection according to the target payment information.
The device for two-dimension code secure payment provided by the embodiment of the invention can execute the method for two-dimension code secure payment provided by any embodiment of the invention, and has the corresponding functional module and beneficial effect of the execution method.
EXAMPLE five
Fig. 5 is a structural diagram of a five-dimensional code secure payment apparatus according to an embodiment of the present invention. Referring to fig. 5, the two-dimensional code secure payment apparatus provided in the embodiment of the present invention includes: a key obtaining module 501, a two-dimensional code information obtaining module 502, a two-dimensional code decryption module 503 and a payment module 504.
The key obtaining module 501 is configured to obtain an association relationship between vehicle information, which is sent by an entrance toll station device and identified by the entrance toll station, and an encryption key, where the encryption key is obtained by processing the entrance toll station information obtained from the entrance toll station device by using an encryption algorithm through a vehicle-mounted projection device, the encryption key is used to encrypt payment information of a vehicle owner to generate an encrypted payment two-dimensional code, and the encrypted payment two-dimensional code is projected onto a front windshield of a vehicle through the vehicle-mounted mobile terminal.
The two-dimensional code information obtaining module 502 obtains the current vehicle information identified by the exit toll station device and the scanned current encrypted payment two-dimensional code.
The two-dimensional code decryption module 503 obtains a target encryption key corresponding to the current vehicle information according to the association relationship between the encryption key and the vehicle information, and decrypts the current encrypted payment two-dimensional code according to the target encryption key to obtain the target payment information.
And a payment module 504, configured to perform charging according to the target payment information.
According to the technical scheme of the embodiment of the invention, the incidence relation between the encryption key and the vehicle information is obtained through the entrance toll station equipment, the current vehicle information and the corresponding current encrypted payment two-dimensional code are obtained through the exit toll station equipment, the target encryption key corresponding to the current vehicle information is obtained according to the incidence relation between the encryption key and the vehicle information, and the target encryption key is used for decrypting the current encrypted payment two-dimensional code to obtain the target payment information, so that charging is carried out, the safety of two-dimensional code payment is improved, and the passing efficiency of vehicles is improved.
The device for two-dimension code secure payment provided by the embodiment of the invention can execute the method for two-dimension code secure payment provided by any embodiment of the invention, and has the corresponding functional module and beneficial effect of the execution method.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (6)
1. A two-dimensional code secure payment method is applied to a vehicle-mounted projection device, and comprises the following steps:
performing short-distance wireless communication with entrance toll station equipment to acquire entrance toll station information;
encrypting the payment information of the vehicle owner according to the entrance toll station information to generate an encrypted payment two-dimensional code;
wherein, encrypt the payment information of car owner according to entry toll station information generates the two-dimensional code of encrypted payment, includes:
processing the entrance toll station information by adopting an encryption algorithm to generate an encryption key;
encrypting the payment information of the vehicle owner by adopting the encryption key to generate an encrypted payment two-dimensional code;
sending the encryption key to the entrance toll station equipment so that the entrance toll station equipment establishes an association relationship between the identified vehicle information and the encryption key and sends the association relationship to a toll collection system for storage;
projecting the encrypted payment two-dimensional code onto a front windshield of a vehicle so that an exit toll station device can scan and charge the encrypted payment two-dimensional code;
the projecting the encrypted payment two-dimensional code onto a front windshield of a vehicle to enable an exit toll station device to scan and charge the encrypted payment two-dimensional code comprises:
and projecting the encrypted payment two-dimensional code on a front windshield of a vehicle, so that the exit toll station equipment transmits the identified current vehicle information and the scanned current encrypted payment two-dimensional code to the toll collection system, so as to obtain a target encryption key corresponding to the current vehicle information through the toll collection system according to the stored incidence relation between the encryption key and the vehicle information, decrypt the current encrypted payment two-dimensional code according to the target encryption key to obtain target payment information, and charge according to the target payment information.
2. The method of claim 1, wherein before encrypting the payment information of the vehicle owner according to the entrance tollgate information, further comprising:
and establishing communication connection with the vehicle-mounted mobile terminal, and acquiring the payment information of the vehicle owner from the mobile payment application logged in by the vehicle-mounted mobile terminal or acquiring the payment two-dimensional code of the vehicle owner from the mobile payment application logged in by the local terminal.
3. A two-dimension code secure payment method is applied to a charging system, and comprises the following steps:
acquiring an incidence relation between vehicle information which is sent by entrance toll station equipment and identified by the entrance toll station equipment and an encryption key, wherein the encryption key is obtained by processing the entrance toll station information acquired from the entrance toll station equipment by adopting an encryption algorithm at the entrance toll station through vehicle-mounted projection equipment, the encryption key is used for encrypting payment information of a vehicle owner to generate an encrypted payment two-dimensional code, and the encrypted payment two-dimensional code is projected onto a front windshield of a vehicle through the vehicle-mounted projection equipment;
acquiring current vehicle information identified by the equipment of the exit toll station and a scanned current encrypted payment two-dimensional code;
acquiring a target encryption key corresponding to the current vehicle information according to the incidence relation between the encryption key and the vehicle information, and decrypting the current encrypted payment two-dimensional code according to the target encryption key to obtain target payment information;
and charging according to the target payment information.
4. The device for two-dimensional code secure payment is applied to vehicle-mounted projection equipment and comprises:
the entrance information acquisition module is used for carrying out short-distance wireless communication with entrance toll station equipment to acquire entrance toll station information;
the payment information encryption module is used for encrypting the payment information of the vehicle owner according to the entrance toll station information to generate an encrypted payment two-dimensional code;
wherein the payment information encryption module is configured to:
processing the entrance toll station information by adopting an encryption algorithm to generate an encryption key;
encrypting the payment information of the vehicle owner by adopting the encryption key to generate an encrypted payment two-dimensional code;
the key sending module is used for sending the encryption key to the entrance toll station equipment so as to enable the entrance toll station equipment to establish an association relationship between the identified vehicle information and the encryption key and send the association relationship to a toll collection system for storage;
the two-dimensional code projection module is used for projecting the encrypted payment two-dimensional code onto a front windshield of a vehicle so as to enable the exit toll station equipment to scan and charge the encrypted payment two-dimensional code;
the two-dimensional code projection module is specifically configured to project an encrypted payment two-dimensional code onto a front windshield of a vehicle, so that the exit toll station device transmits the identified current vehicle information and the scanned current encrypted payment two-dimensional code to the toll collection system, and the toll collection system obtains a target encryption key corresponding to the current vehicle information according to the stored association relationship between the encryption key and the vehicle information, decrypts the current encrypted payment two-dimensional code according to the target encryption key to obtain target payment information, and charges according to the target payment information.
5. The apparatus of claim 4, further comprising:
and the two-dimension code acquisition module is used for establishing communication connection with the vehicle-mounted mobile terminal before encrypting the payment information of the vehicle owner according to the entrance toll station information, and acquiring the payment two-dimension code of the vehicle owner from the mobile payment application logged in by the vehicle-mounted mobile terminal or acquiring the payment two-dimension code of the vehicle owner from the mobile payment application logged in the local terminal.
6. A two-dimensional code secure payment device is applied to a charging system, and comprises the following components:
the system comprises a key acquisition module, a key acquisition module and a vehicle-mounted projection device, wherein the key acquisition module is used for acquiring the incidence relation between vehicle information identified by the entrance toll station device and an encryption key, the vehicle-mounted projection device is arranged at the entrance toll station, the encryption key is obtained by processing the entrance toll station information acquired from the entrance toll station device by adopting an encryption algorithm, the encryption key is used for encrypting the payment information of a vehicle owner to generate an encrypted payment two-dimensional code, and the encrypted payment two-dimensional code is projected onto the front windshield of the vehicle by the vehicle-mounted projection device;
the two-dimension code information acquisition module is used for acquiring current vehicle information identified by the equipment of the exit toll station and a scanned current encrypted payment two-dimension code;
the two-dimension code decryption module is used for acquiring a target encryption key corresponding to the current vehicle information according to the incidence relation between the encryption key and the vehicle information, and decrypting the current encrypted payment two-dimension code according to the target encryption key to obtain target payment information;
and the payment module is used for charging according to the target payment information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811510614.9A CN109636374B (en) | 2018-12-11 | 2018-12-11 | Two-dimensional code secure payment method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811510614.9A CN109636374B (en) | 2018-12-11 | 2018-12-11 | Two-dimensional code secure payment method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109636374A CN109636374A (en) | 2019-04-16 |
CN109636374B true CN109636374B (en) | 2021-10-26 |
Family
ID=66072767
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811510614.9A Active CN109636374B (en) | 2018-12-11 | 2018-12-11 | Two-dimensional code secure payment method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109636374B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112990910A (en) * | 2020-12-25 | 2021-06-18 | 深圳酷派技术有限公司 | Two-dimensional code generation method, related device and computer storage medium |
CN113421350B (en) * | 2021-06-16 | 2022-11-11 | 和皓自控技术(上海)有限公司 | Code scanning charging device for intelligent parking lot |
CN113379935A (en) * | 2021-06-25 | 2021-09-10 | 中国工商银行股份有限公司 | Vehicle code scanning payment system and method |
CN113470283A (en) * | 2021-06-29 | 2021-10-01 | 山东派盟网络科技有限公司 | Intelligent payment equipment |
CN113409476B (en) * | 2021-08-20 | 2021-11-05 | 深圳市修远文化创意有限公司 | Interaction method and system combining 5G and big data platform |
CN114155617A (en) * | 2021-11-22 | 2022-03-08 | 支付宝(杭州)信息技术有限公司 | Parking payment method and collection equipment |
CN114613022A (en) * | 2022-01-28 | 2022-06-10 | 中国第一汽车股份有限公司 | Vehicle-mounted payment system and method |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104809766A (en) * | 2015-05-22 | 2015-07-29 | 蒋君伟 | Metered parking and payment method and parking timing board |
US20180330361A1 (en) * | 2017-05-09 | 2018-11-15 | Mastercard International Incorporated | Payment account system transaction notification and reporting methods and apparatus |
CN107610252A (en) * | 2017-08-16 | 2018-01-19 | 齐鲁交通信息有限公司 | Freeway toll mobile-payment system and method with Car license recognition is applied based on mobile terminal |
CN108230469A (en) * | 2018-01-09 | 2018-06-29 | 佛山科学技术学院 | A kind of novel high speed road mobile-payment system and its method |
-
2018
- 2018-12-11 CN CN201811510614.9A patent/CN109636374B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN109636374A (en) | 2019-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109636374B (en) | Two-dimensional code secure payment method and device | |
CN105847282B (en) | Vehicle control method, server and system | |
CN108171430B (en) | Data processing method, vehicle-mounted equipment and UBI analysis center server | |
WO2021027686A1 (en) | Bluetooth device mutual identification or mutual trust method | |
CN107169826B (en) | Tourist attraction ticketing method and system based on block chain | |
CN107493561B (en) | Shared device unlocking method, device and system and storage medium | |
JP7072651B2 (en) | Inter-vehicle wireless payment method and its system based on 5G communication network | |
CN107016741A (en) | ETC system and ETC service authentication methods | |
CN107430793B (en) | System, method and computer program for an access control system | |
KR102077659B1 (en) | Wireless lan apparatus and vehicle authentiction method using the wireless lan apparatus | |
CN111325917B (en) | Using method and device of sharing equipment, storage medium and equipment | |
US20140316992A1 (en) | Method for charging an onboard-unit with an electronic ticket | |
JP2018160821A (en) | Utilization-of-service authentication system and utilization-of-service authentication method | |
CN108883711A (en) | passenger counting system | |
KR20170115932A (en) | System and method for parking fee payment cooperated with external service | |
US20180261018A1 (en) | Motorway toll system and method for granting access of a user vehicle to a motorway | |
CN110266498B (en) | Safe payment system and method for non-stop automobile | |
JP2017097788A (en) | Toll collection system and toll collection method | |
JP2003030702A (en) | On-vehicle equipment, roadside device and toll collecting device | |
CN103906025B (en) | A kind of processing method of third party charging business, apparatus and system | |
KR20160049768A (en) | Terminal for vehicle, and high-pass system and payment method using the same | |
CN112041897A (en) | Control method, ticket selling rule server, ticket checking rule server and device | |
JP6580868B2 (en) | Information providing system, information providing method, and computer program | |
CN211047238U (en) | Publishing equipment at desktop type V2X terminal | |
CN108416857B (en) | Highway toll collection system and working method thereof |
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 |